|
From: amiteshuni <ami...@ho...> - 2009-09-29 09:27:46
|
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. |
|
From: Konstantin P. <kpr...@ya...> - 2009-09-29 10:32:00
|
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 <ami...@ho...> wrote: > From: amiteshuni <ami...@ho...> > Subject: [Xdoclet-user] Support for bundle attribute using xdoclet > To: xdo...@li... > 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 > xdo...@li... > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > |
|
From: amiteshuni <ami...@ho...> - 2009-09-30 05:46:42
|
Konstantin Priblouda wrote: > > As XDoclet-1 is no more developed actively, > you shall look for xdoclet-2 instead. > > --- On Tue, 9/29/09, amiteshuni <ami...@ho...> 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. |
|
From: Konstantin P. <kpr...@ya...> - 2009-09-30 06:11:34
|
> > 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/ |
|
From: amiteshuni <ami...@ho...> - 2009-09-30 07:03:34
|
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. -- View this message in context: http://www.nabble.com/Support-for-bundle-attribute-using-xdoclet-tp25657100p25676004.html Sent from the xdoclet-user mailing list archive at Nabble.com. |
|
From: Konstantin P. <kpr...@ya...> - 2009-09-30 11:57:48
|
> 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/ |