Konstantin Priblouda wrote:
> 
> As XDoclet-1 is no more developed actively,
> you shall look for xdoclet-2 instead. 
> 
> --- On Tue, 9/29/09, amiteshuni <amitesh...@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.

-- 
View this message in context: 
http://www.nabble.com/Support-for-bundle-attribute-using-xdoclet-tp25657100p25675250.html
Sent from the xdoclet-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to