Support for bundle attribute using xdoclet

View: New views
6 Messages — Rating Filter:   Alert me  

Support for bundle attribute using xdoclet

by amiteshuni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In my application there are multiple resource bundles. I've to use bundle key to refer to respective bundles in validation.xml. I'm using xdoclet to generate validation.xml. But i'm not able to generate bundle attribute through  xdoclet. Please help me if there is any way to get out of this problem. Suggest some solution to make xdoclet generate bundle attribute in msg & arg tags. Or if I can continue supporting multiple resource bundle even without adding the bundle attribute then that will also be equally acceptable.


Need immediate help.

Thanks in advance

~ Amitesh

Re: Support for bundle attribute using xdoclet

by Konstantin Priblouda :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As XDoclet-1 is no more developed actively,
you shall look for xdoclet-2 instead.

Regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/


--- On Tue, 9/29/09, amiteshuni <amiteshuni@...> wrote:

> From: amiteshuni <amiteshuni@...>
> Subject: [Xdoclet-user]  Support for bundle attribute using xdoclet
> To: xdoclet-user@...
> Date: Tuesday, September 29, 2009, 12:27 PM
>
> In my application there are multiple resource bundles. I've
> to use bundle key
> to refer to respective bundles in validation.xml. I'm using
> xdoclet to
> generate validation.xml. But i'm not able to generate
> bundle attribute
> through  xdoclet. Please help me if there is any way
> to get out of this
> problem. Suggest some solution to make xdoclet generate
> bundle attribute in
> msg & arg tags. Or if I can continue supporting
> multiple resource bundle
> even without adding the bundle attribute then that will
> also be equally
> acceptable.
>
>
> Need immediate help.
>
> Thanks in advance
>
> ~ Amitesh
> --
> View this message in context: http://www.nabble.com/Support-for-bundle-attribute-using-xdoclet-tp25657100p25657100.html
> Sent from the xdoclet-user mailing list archive at
> Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer
> Conference in SF, CA
> is the only developer event you need to attend this year.
> Jumpstart your
> developing skills, take BlackBerry mobile applications to
> market and stay
> ahead of the curve. Join us from November 9-12, 2009.
> Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> xdoclet-user mailing list
> xdoclet-user@...
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>


     

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
xdoclet-user mailing list
xdoclet-user@...
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Re: Support for bundle attribute using xdoclet

by amiteshuni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Konstantin Priblouda wrote:
As XDoclet-1 is no more developed actively,
you shall look for xdoclet-2 instead.

--- On Tue, 9/29/09, amiteshuni <amiteshuni@hotmail.com> wrote:

> In my application there are multiple resource bundles. I've
> to use bundle key
> to refer to respective bundles in validation.xml. I'm using
> xdoclet to
> generate validation.xml. But i'm not able to generate
> bundle attribute
> through  xdoclet. Please help me if there is any way
> to get out of this
> problem. Suggest some solution to make xdoclet generate
> bundle attribute in
> msg & arg tags. Or if I can continue supporting
> multiple resource bundle
> even without adding the bundle attribute then that will
> also be equally
> acceptable.
>
I double checked the end requirement with my head. It comes out that we need to support two different resource bundles simultaneously. Lets take an example, Login page-> user name field. For Role1, the validation rule is: username cannot have numbers, i.e. only alphabets are allowed. For Role2,  username can have numbers, i.e. only alphanumeric chars are allowed.
I believe using the bundle attribute, I'll hard-bound a field to any one resource bundle. I cannot do that as per the requirement. Please provide alternate solution based on my requirement.

Re: Support for bundle attribute using xdoclet

by Konstantin Priblouda :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>
> I double checked the end requirement with my head. It comes
> out that we need
> to support two different resource bundles simultaneously.
> Lets take an
> example, Login page-> user name field. For Role1, the
> validation rule is:
> username cannot have numbers, i.e. only alphabets are
> allowed. For Role2,
> username can have numbers, i.e. only alphanumeric chars are
> allowed.
> I believe using the bundle attribute, I'll hard-bound a
> field to any one
> resource bundle. I cannot do that as per the requirement.
> Please provide
> alternate solution based on my requirement.
>

If you provide the patch (with testcases, in jira),  
I will find a time to apply it and redeploy snapshots
(and eventually cut a fresh release).  Otherwise I lack
a time and personal use case (at the moment) to do this.

regards,
----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/




     

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
xdoclet-user mailing list
xdoclet-user@...
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Re: Support for bundle attribute using xdoclet

by amiteshuni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Konstantin Priblouda wrote:
If you provide the patch (with testcases, in jira)
I have never used jira. I can share with you some sample code, even files with you to take help. If you can guide me how can I provide necessary information to you; using jira or without using it; that would be very helpful.

Re: Support for bundle attribute using xdoclet

by Konstantin Priblouda :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Konstantin Priblouda wrote:
> >
> > If you provide the patch (with testcases, in jira)
> >
> I have never used jira. I can share with you some sample
> code, even files
> with you to take help. If you can guide me how can I
> provide necessary
> information to you; using jira or without using it; that
> would be very
> helpful.
> --

I'm sorry,  but you will have to put some effort yourself.
There are a lot of tutorials on web how to use jira,  there
are xdoclet sources for 1&2 in repositories...

regards,
----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/




     

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
xdoclet-user mailing list
xdoclet-user@...
https://lists.sourceforge.net/lists/listinfo/xdoclet-user