Re: [OS-webwork] releasing a component
I don't think that will necessarily solve the problem. Disposable will allow it to tidy up when XWork ends that session, but it doesn't allow me to explicitly ask XWork to ditch that component now. After I get rid of it, I want the next action that is Aware of it to instantiate a new one, even in the same session. Anoop On Dec 8, 2003, at 12:35 AM, Patrick Lightbody wrote: Have your component implement Disposable. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anoop Ranganath Sent: Thursday, December 04, 2003 2:27 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] releasing a component How do I go about telling the IoC container to release a component? For example, I have a List I am maintaining on the session. In a particular action, I process the list and then I am done with it. Right now, it seems the only option is to take the List and remove each item. If I set the instance in the action to null, the ComponentManager still has a handle to the original object. I'd like it to release the instance, and then if that component is ever needed again, instantiate a new one. Thanks, Anoop --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
RE: [OS-webwork] releasing a component
Have your component implement Disposable. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anoop Ranganath Sent: Thursday, December 04, 2003 2:27 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] releasing a component How do I go about telling the IoC container to release a component? For example, I have a List I am maintaining on the session. In a particular action, I process the list and then I am done with it. Right now, it seems the only option is to take the List and remove each item. If I set the instance in the action to null, the ComponentManager still has a handle to the original object. I'd like it to release the instance, and then if that component is ever needed again, instantiate a new one. Thanks, Anoop --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
RE: Spam:Re: Spam:[OS-webwork] WebWork 1.4 and indexed properties
I thought that's how the Introspector finds indexed properties? Doesn't BeanUtils use the Introspector? > -Original Message- > From: Hani Suleiman [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 07, 2003 7:37 PM > To: [EMAIL PROTECTED] > Subject: Spam:Re: Spam:[OS-webwork] WebWork 1.4 and indexed properties > > > Well, of course not. You'd have to call it yourself, there is > no magic > to figure out that that's the method you want. > > Secondly, even if you do call it, it's a pretty stupid idea and won't > work anyway, since you'd have to write the impl for it yourself, and > last I knew, it's not possible to index into Sets. Did you > try changing > your Set to a List and seeing if that works? > > I'd recommend AGAINST adding junk accessor methods like this. > They just > add clutter and code for absolutely no gain. > > On Dec 7, 2003, at 7:30 PM, Frank Febbraro wrote: > > > I have tried exposing the setAllocation(int index. Allocation alloc) > > method > > too. It never gets called and the same error message is generated. > > > > - Original Message - > > From: "Jason Carreira" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Sunday, December 07, 2003 1:49 PM > > Subject: RE: Spam:[OS-webwork] WebWork 1.4 and indexed properties > > > > > > You might want to expose getters and setters like this: > > > > void setAllocation(int index, Allocation alloc) > > Allocation getAllocation(int index) > > > > > >> -Original Message- > >> From: Frank Febbraro [mailto:[EMAIL PROTECTED] > >> Sent: Sunday, December 07, 2003 12:10 PM > >> To: [EMAIL PROTECTED] > >> Subject: Spam:[OS-webwork] WebWork 1.4 and indexed properties > >> > >> > >> I am trying to set some indexed properties on an object, Payment, > >> using the WW1.4 BeanUtil class. > >> > >> class Payment > >> { > >> public Set getAllocations() > >> public void setAllocations(Set set) > >> public Allocation getAllocation(int index) > >> } > >> > >> I have the following properties set in the request > >> allocation[0]/comments > >> > >> I have also tried (with similar error) > >> > >> allocation[0].comments > >> > >> When I call: > >> > >> BeanUtil.setProperties(ActionContext.getContext().getParameter > >> s(), payment); > >> > >> on a Payment with 1 Allocation in its set, I get the > following error. > >> > >> java.lang.IllegalArgumentException: Could not set parameter > >> "allocation[0]/comments":java.lang.IllegalArgumentException: > >> Attempting to set a indexed field allocation as an > non-indexed field > >> at > webwork.util.BeanUtil.setProperties(Ljava.util.Map;Ljava.lang. > >> Object;)V(Bean > >> Util.java:193) > >> at > >> xxx.action.PaymentAction.doCreateAllocations()Ljava.lang.Strin > >> g;(PaymentActi > >> on.java:126) > >> ... > >> > >> > >> Can WW 1.4 handle the indexed properties? or am I doing > >> something wrong or missing something? > >> > >> Thanks in advance, > >> Frank > >> > >> > >> > >> > >> --- > >> This SF.net email is sponsored by: SF.net Giveback Program. > >> Does SourceForge.net help you be more productive? Does it > >> help you create better code? SHARE THE LOVE, and help us > >> help YOU! Click Here: http://sourceforge.net/donate/ > >> ___ > >> Opensymphony-webwork mailing list > >> [EMAIL PROTECTED] > >> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > >> > > > > > > --- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > ___ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > > > > > --- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > ___ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > --- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > ___ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > -
Re: Spam:[OS-webwork] WebWork 1.4 and indexed properties
Well, of course not. You'd have to call it yourself, there is no magic to figure out that that's the method you want. Secondly, even if you do call it, it's a pretty stupid idea and won't work anyway, since you'd have to write the impl for it yourself, and last I knew, it's not possible to index into Sets. Did you try changing your Set to a List and seeing if that works? I'd recommend AGAINST adding junk accessor methods like this. They just add clutter and code for absolutely no gain. On Dec 7, 2003, at 7:30 PM, Frank Febbraro wrote: I have tried exposing the setAllocation(int index. Allocation alloc) method too. It never gets called and the same error message is generated. - Original Message - From: "Jason Carreira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 07, 2003 1:49 PM Subject: RE: Spam:[OS-webwork] WebWork 1.4 and indexed properties You might want to expose getters and setters like this: void setAllocation(int index, Allocation alloc) Allocation getAllocation(int index) -Original Message- From: Frank Febbraro [mailto:[EMAIL PROTECTED] Sent: Sunday, December 07, 2003 12:10 PM To: [EMAIL PROTECTED] Subject: Spam:[OS-webwork] WebWork 1.4 and indexed properties I am trying to set some indexed properties on an object, Payment, using the WW1.4 BeanUtil class. class Payment { public Set getAllocations() public void setAllocations(Set set) public Allocation getAllocation(int index) } I have the following properties set in the request allocation[0]/comments I have also tried (with similar error) allocation[0].comments When I call: BeanUtil.setProperties(ActionContext.getContext().getParameter s(), payment); on a Payment with 1 Allocation in its set, I get the following error. java.lang.IllegalArgumentException: Could not set parameter "allocation[0]/comments":java.lang.IllegalArgumentException: Attempting to set a indexed field allocation as an non-indexed field at webwork.util.BeanUtil.setProperties(Ljava.util.Map;Ljava.lang. Object;)V(Bean Util.java:193) at xxx.action.PaymentAction.doCreateAllocations()Ljava.lang.Strin g;(PaymentActi on.java:126) ... Can WW 1.4 handle the indexed properties? or am I doing something wrong or missing something? Thanks in advance, Frank --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
Re: Spam:[OS-webwork] WebWork 1.4 and indexed properties
I have tried exposing the setAllocation(int index. Allocation alloc) method too. It never gets called and the same error message is generated. - Original Message - From: "Jason Carreira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 07, 2003 1:49 PM Subject: RE: Spam:[OS-webwork] WebWork 1.4 and indexed properties You might want to expose getters and setters like this: void setAllocation(int index, Allocation alloc) Allocation getAllocation(int index) > -Original Message- > From: Frank Febbraro [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 07, 2003 12:10 PM > To: [EMAIL PROTECTED] > Subject: Spam:[OS-webwork] WebWork 1.4 and indexed properties > > > I am trying to set some indexed properties on an object, > Payment, using the WW1.4 BeanUtil class. > > class Payment > { > public Set getAllocations() > public void setAllocations(Set set) > public Allocation getAllocation(int index) > } > > I have the following properties set in the request > allocation[0]/comments > > I have also tried (with similar error) > > allocation[0].comments > > When I call: > > BeanUtil.setProperties(ActionContext.getContext().getParameter > s(), payment); > > on a Payment with 1 Allocation in its set, I get the following error. > > java.lang.IllegalArgumentException: Could not set parameter > "allocation[0]/comments":java.lang.IllegalArgumentException: > Attempting to set a indexed field allocation as an non-indexed field > at > webwork.util.BeanUtil.setProperties(Ljava.util.Map;Ljava.lang. > Object;)V(Bean > Util.java:193) > at > xxx.action.PaymentAction.doCreateAllocations()Ljava.lang.Strin > g;(PaymentActi > on.java:126) > ... > > > Can WW 1.4 handle the indexed properties? or am I doing > something wrong or missing something? > > Thanks in advance, > Frank > > > > > --- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us > help YOU! Click Here: http://sourceforge.net/donate/ > ___ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
Re: [OS-webwork] NEWBIE: addError - Webwork 1.3
Thanks Hani, Just figured out the controlheader.jsp. Also shouldnt the stylesheet associated with the template pages be included automatically when the controls are present in a page? Maybe a webwork:style taglib that would place the styles.css file in the page. This would make it one less thing to do for the Webwork user. --- Hani Suleiman <[EMAIL PROTECTED]> wrote: > There are two kinds of error messages, general ones > and field specific > ones. > > The field ones go alongside the field, as used by > controlheader.jsp > which is included in every template: > > class="errorMessage"> value="."/> > > To show other error messages, you have to > specifically do so in your > own pages, by adding something like this at the top: > > > ERROR: > > COLOR=red> > > > > On Dec 7, 2003, at 2:53 PM, Rajagopal. V wrote: > > > Hello All, > > If we do an addError("FieldName", "error message") > , > > is this supposed to display the error message next > to > > the field in the UI? Can someone explain the > > difference between doing a addError Vs. > > addErrorMessage. I looked at > > templates/xhtml/text.jsp(and other control jsps) > and > > couldnt find anything that looks for the > errormessage > > collection and display it? Am i missing something? > > > > Thanks > > Raj > > > > __ > > Do you Yahoo!? > > New Yahoo! Photos - easier uploading and sharing. > > http://photos.yahoo.com/ > > > > > > > --- > > This SF.net email is sponsored by: SF.net Giveback > Program. > > Does SourceForge.net help you be more productive? > Does it > > help you create better code? SHARE THE LOVE, and > help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > ___ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > --- > This SF.net email is sponsored by: SF.net Giveback > Program. > Does SourceForge.net help you be more productive? > Does it > help you create better code? SHARE THE LOVE, and > help us help > YOU! Click Here: http://sourceforge.net/donate/ > ___ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
Re: [OS-webwork] NEWBIE: addError - Webwork 1.3
There are two kinds of error messages, general ones and field specific ones. The field ones go alongside the field, as used by controlheader.jsp which is included in every template: To show other error messages, you have to specifically do so in your own pages, by adding something like this at the top: ERROR: On Dec 7, 2003, at 2:53 PM, Rajagopal. V wrote: Hello All, If we do an addError("FieldName", "error message") , is this supposed to display the error message next to the field in the UI? Can someone explain the difference between doing a addError Vs. addErrorMessage. I looked at templates/xhtml/text.jsp(and other control jsps) and couldnt find anything that looks for the errormessage collection and display it? Am i missing something? Thanks Raj __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
[OS-webwork] NEWBIE: addError - Webwork 1.3
Hello All, If we do an addError("FieldName", "error message") , is this supposed to display the error message next to the field in the UI? Can someone explain the difference between doing a addError Vs. addErrorMessage. I looked at templates/xhtml/text.jsp(and other control jsps) and couldnt find anything that looks for the errormessage collection and display it? Am i missing something? Thanks Raj __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
RE: Spam:[OS-webwork] WebWork 1.4 and indexed properties
You might want to expose getters and setters like this: void setAllocation(int index, Allocation alloc) Allocation getAllocation(int index) > -Original Message- > From: Frank Febbraro [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 07, 2003 12:10 PM > To: [EMAIL PROTECTED] > Subject: Spam:[OS-webwork] WebWork 1.4 and indexed properties > > > I am trying to set some indexed properties on an object, > Payment, using the WW1.4 BeanUtil class. > > class Payment > { > public Set getAllocations() > public void setAllocations(Set set) > public Allocation getAllocation(int index) > } > > I have the following properties set in the request > allocation[0]/comments > > I have also tried (with similar error) > > allocation[0].comments > > When I call: > > BeanUtil.setProperties(ActionContext.getContext().getParameter > s(), payment); > > on a Payment with 1 Allocation in its set, I get the following error. > > java.lang.IllegalArgumentException: Could not set parameter > "allocation[0]/comments":java.lang.IllegalArgumentException: > Attempting to set a indexed field allocation as an non-indexed field > at > webwork.util.BeanUtil.setProperties(Ljava.util.Map;Ljava.lang. > Object;)V(Bean > Util.java:193) > at > xxx.action.PaymentAction.doCreateAllocations()Ljava.lang.Strin > g;(PaymentActi > on.java:126) > ... > > > Can WW 1.4 handle the indexed properties? or am I doing > something wrong or missing something? > > Thanks in advance, > Frank > > > > > --- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us > help YOU! Click Here: http://sourceforge.net/donate/ > ___ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
Re: [OS-webwork] WebWork 1.4 and indexed properties
I haven't dug through the source, but I'm fairly sure you can't index into a Set. See if changing it to a List helps. On Dec 7, 2003, at 12:10 PM, Frank Febbraro wrote: I am trying to set some indexed properties on an object, Payment, using the WW1.4 BeanUtil class. class Payment { public Set getAllocations() public void setAllocations(Set set) public Allocation getAllocation(int index) } I have the following properties set in the request allocation[0]/comments I have also tried (with similar error) allocation[0].comments When I call: BeanUtil.setProperties(ActionContext.getContext().getParameters(), payment); on a Payment with 1 Allocation in its set, I get the following error. java.lang.IllegalArgumentException: Could not set parameter "allocation[0]/comments":java.lang.IllegalArgumentException: Attempting to set a indexed field allocation as an non-indexed field at webwork.util.BeanUtil.setProperties(Ljava.util.Map; Ljava.lang.Object;)V(Bean Util.java:193) at xxx.action.PaymentAction.doCreateAllocations()Ljava.lang.String; (PaymentActi on.java:126) ... Can WW 1.4 handle the indexed properties? or am I doing something wrong or missing something? Thanks in advance, Frank --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
[OS-webwork] WebWork 1.4 and indexed properties
I am trying to set some indexed properties on an object, Payment, using the WW1.4 BeanUtil class. class Payment { public Set getAllocations() public void setAllocations(Set set) public Allocation getAllocation(int index) } I have the following properties set in the request allocation[0]/comments I have also tried (with similar error) allocation[0].comments When I call: BeanUtil.setProperties(ActionContext.getContext().getParameters(), payment); on a Payment with 1 Allocation in its set, I get the following error. java.lang.IllegalArgumentException: Could not set parameter "allocation[0]/comments":java.lang.IllegalArgumentException: Attempting to set a indexed field allocation as an non-indexed field at webwork.util.BeanUtil.setProperties(Ljava.util.Map;Ljava.lang.Object;)V(Bean Util.java:193) at xxx.action.PaymentAction.doCreateAllocations()Ljava.lang.String;(PaymentActi on.java:126) ... Can WW 1.4 handle the indexed properties? or am I doing something wrong or missing something? Thanks in advance, Frank --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
Re: Spam:[OS-webwork] Xwork and hot redeploy
On Friday 05 December 2003 17:53, Jason Carreira wrote: > As far as being able to have the one Xwork.jar and have multiple > configurations, that's a good idea... Please add a Jira issue. I've > always hated that Singleton, so we can look at how to get rid of it. In > the meantime, is it possible to have the one xwork.jar file and have > Jboss load it individually in the classloader of each web app (instead > of just once in the server classloader)? Actually, there is a way to do that. With JBoss 3.2.x, if you package your war inside an .ear and place the following as jboss-app.xml in the ear META-INF directory, JBoss will use a separate classloader for the application (instead of the default flat classloader). :loader=xxx.ear The "xxx.ear" can be anything as far as I know, as long as each ear has a different string - afaik it's just an id for the classloader. I usually just use the same name as the .ear file. Works fine for me :). //Petri --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
Re: [OS-webwork] can change the way validators use messages?
exactly Jason Carreira wrote: Create a Jira... You just want another level of defaulting, right? If there's a message for the key, it's used. Otherwise, if there's a default message, it's used. If there's no default message and the key is provided then use the key, right? -Original Message- From: Francisco Hernandez [mailto:[EMAIL PROTECTED] Sent: Saturday, December 06, 2003 6:44 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] can change the way validators use messages? for example if I use: and the key doesnt exist ill just get blank error, I know i could put a message in there myself to display if the key is not valid but can we change it so that if the message is blank like it is now it just displays 'user.name.errors.required'? this would be consistent with the way getText() works.. just displaying the key if the message is not present. --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
RE: [OS-webwork] can change the way validators use messages?
Create a Jira... You just want another level of defaulting, right? If there's a message for the key, it's used. Otherwise, if there's a default message, it's used. If there's no default message and the key is provided then use the key, right? > -Original Message- > From: Francisco Hernandez [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 06, 2003 6:44 PM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] can change the way validators use messages? > > > for example if I use: > > > > and the key doesnt exist ill just get blank error, I know i > could put a message in there myself to display if the key is > not valid but can we change it so that if the message is > blank like it is now it just displays 'user.name.errors.required'? > > this would be consistent with the way getText() works.. just > displaying the key if the message is not present. > > > > > --- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us > help YOU! Click Here: http://sourceforge.net/donate/ > ___ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork