Re: How to use pattern matching wild-card in action names?
To answer my own question - wildcards do not seem to work if the namespace is "/". I tried adding a namespace and it works. Can someone explain why this is so? {1} /index.jsp Thanks, Binil Binil Thomas wrote: > > Hi all, > > I am trying to make my URLs more readable, and was hoping that I could use > pattern-matching wildcards in action declarations. I have not been able to > get it working so far. > > In my struts.xml, I have: > > > > > > index.jsp > > > > > Now, /widgets get routed to be my action. /widgets1 also get routed to the > action as one would expect. But /widgets/1 does not get routed to my > action. Why is this so? I tried the pattern "widgets/*" also, but that > does not work either. I think I have not been able to coax Struts to have > slashes in the name of action. Any help is appreciated. > > Thanks, > Binil > -- View this message in context: http://www.nabble.com/How-to-use-pattern-matching-wild-card-in-action-names--tp19910768p19912812.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Loading Action dynamically
> > Take a look on Convention Plugin [1] or Zero Configuration Plugin [2] > depends on which Struts2 version you are using > > [1] http://cwiki.apache.org/S2PLUGINS/convention-plugin.html > [2] http://struts.apache.org/2.0.11.2/docs/zero-configuration.html but i think the REST plugins need to be stabilize and those plugins is not a cool one, you all will replace it i want to make struts app as modular as struts2 plugins F - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
move items between two listboxes and update DB ??
Hi, I want to create a jsp page that has users populated from a database, when I click in a user two listboxes appear: listAssignedRoles with assigned roles listNoAssignedRoles the rest of roles not assigned yet These two lists are populated from a the database. I want when I move items between listboxes and hit submit button the database get updated too. Please your help is appreciated. thanks "A. Lotfi" <[EMAIL PROTECTED]> wrote: I did not start it yet, struts version is 1.2.8 thanks Dave Newton wrote: --- On Thu, 10/9/08, A. Lotfi wrote: > a list of users when you click in a user it show two > other lists : > Roles assigned > Roles notassigned > > so we can remove and assign roles to the current user You should probably mention which version of Struts you're using. How far have you gotten on your own? Do you have any specific questions? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts2 Data Transfer
thats true but the probelm is when i am trying to return my custom bean from the getModel() method.. and i am unable to find out the exact cause why it is occuring there On Thu, Oct 9, 2008 at 11:25 PM, Jim Kiley <[EMAIL PROTECTED]> wrote: > The error is complaining that you have no result defined for the result > named "input". That probably means that the Action is encountering a > validation error or the like, causing it to return "input". > > On Thu, Oct 9, 2008 at 1:21 PM, aum strut <[EMAIL PROTECTED]> wrote: > > > Hi All, > > > > i tried to follow the the way suggested by Laurie i followed the below > > mentioned practice. > > > > 1) I have two beans which i want to fill at the same time when the user > hit > > the registration button after filling the form. > > > > 2) in my action calss i am using the model driven approach to fill the > two > > beans using getMOdel() method > > > > 3) For this i creaded another beans with the getter and setter for thse > two > > above mentioed beans > > > > below is the code i have written in my REgister Action class > > > > > > * > > > > public* *class* UserRegistrationAction *extends* ActionSupport > > *implements*ModelDriven { > > > > /** > > > > * > > > > */ > > > > *private* *static* *final* *long* *serialVersionUID* = 1L; > > > > *public* String execute() *throws* Exception{ > > > > *return* *SUCCESS*; > > > > } > > > > *private* RegisterBean registerBean=*new* RegisterBean(); > > > > > > > > *public* RegisterBean getModel() { > > > > *return* registerBean; > > > > } > > > > > > > > } > > but i am getting the below mentoed exception in the console which is > saying > > that i have not configured the system if the resulkt type is input > > > > *but if i will remove* "*return* registerBean;" line from my > > *getModel()*and " > > *return* registerBean;""*return* null;"* the exception will no longer be > > there* > > > > > > can anybody suggest me where i am wrong??? > > > > SEVERE: Could not find action or result > > > > No result defined for action > > com.dograpress.raisonne.registration.UserRegistrationAction and result > > input > > - action - > > > > > file:/F:/EclipseProjects/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/DograPress/WEB-INF/classes/struts-UserRegistration.xml:6:105 > > > > at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(* > > DefaultActionInvocation.java:350*) > > > > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(* > > DefaultActionInvocation.java:253*) > > > > at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(* > > ValidationInterceptor.java:150*) > > > > at > > > > > org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept( > > *AnnotationValidationInterceptor.java:48*) > > > > at > com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(* > > MethodFilterInterceptor.java:86*) > > > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > > DefaultActionInvocation.java:224*) > > > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > > DefaultActionInvocation.java:223*) > > > > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(* > > UtilTimerStack.java:455*) > > > > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(* > > DefaultActionInvocation.java:221*) > > > > at > > com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept( > > *ConversionErrorInterceptor.java:123*) > > > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > > DefaultActionInvocation.java:224*) > > > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > > DefaultActionInvocation.java:223*) > > > > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(* > > UtilTimerStack.java:455*) > > > > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(* > > DefaultActionInvocation.java:221*) > > > > at > com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(* > > ParametersInterceptor.java:186*) > > > > at > com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(* > > MethodFilterInterceptor.java:86*) > > > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > > DefaultActionInvocation.java:224*) > > > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > > DefaultActionInvocation.java:223*) > > > > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(* > > UtilTimerStack.java:455*) > > > > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(* > > DefaultActionInvocation.java:221*) > > > > at > > > com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(* > > StaticParametersInterceptor.java:105*) > > > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > > DefaultActionInvocation.java:224*) > > > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > > DefaultActionInvocation.java:223*) > > > > at
How to use pattern matching wild-card in action names?
Hi all, I am trying to make my URLs more readable, and was hoping that I could use pattern-matching wildcards in action declarations. I have not been able to get it working so far. In my struts.xml, I have: index.jsp Now, /widgets get routed to be my action. /widgets1 also get routed to the action as one would expect. But /widgets/1 does not get routed to my action. Why is this so? I tried the pattern "widgets/*" also, but that does not work either. I think I have not been able to coax Struts to have slashes in the name of action. Any help is appreciated. Thanks, Binil -- View this message in context: http://www.nabble.com/How-to-use-pattern-matching-wild-card-in-action-names--tp19910768p19910768.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
struts 2.1.2 form topic problem
Hi, The following worked fine in struts 2.0.11.2, but does not work in 2.1.2 and I'm wondering if there is a bug or a new way to do it. I have a form that upon submission needs to update two divs; each of which calls a specific action to get its information. Below is an example of what I'm trying to do (its not my exact code): more textfields here... Submit is definitely publishing the refresh topics, and my two divs are calling the right actions, however, my action is not getting the value of all the textfields in the form. This definitely worked in 2.0.11.2...am I doing something wrong? -- Frank Maritato - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts users assign remove roles
I did not start it yet, struts version is 1.2.8 thanks Dave Newton <[EMAIL PROTECTED]> wrote: --- On Thu, 10/9/08, A. Lotfi wrote: > a list of users when you click in a user it show two > other lists : > Roles assigned > Roles notassigned > > so we can remove and assign roles to the current user You should probably mention which version of Struts you're using. How far have you gotten on your own? Do you have any specific questions? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts users assign remove roles
--- On Thu, 10/9/08, A. Lotfi wrote: > a list of users when you click in a user it show two > other lists : > Roles assigned > Roles notassigned > > so we can remove and assign roles to the current user You should probably mention which version of Struts you're using. How far have you gotten on your own? Do you have any specific questions? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
struts users assign remove roles
Hi, I need to create a web application that has a jsp page showing : a list of users when you click in a user it show two other lists : Roles assigned Roles notassigned so we can remove and assign roles to the current user (clicked on) , Please any idea or a hint or an example on how to do it. thanks, your help is appreciated. Kaml.
Re: Loading Action dynamically
2008/10/9 Frans Thamura <[EMAIL PROTECTED]>: > I want to make my actionsupport implementation automatically loaded by > container, so we dont have to register in struts.xml Take a look on Convention Plugin [1] or Zero Configuration Plugin [2] depends on which Struts2 version you are using [1] http://cwiki.apache.org/S2PLUGINS/convention-plugin.html [2] http://struts.apache.org/2.0.11.2/docs/zero-configuration.html Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: html tags in a struts label
--- On Thu, 10/9/08, Allen Lee wrote: > Is there a way to embed HTML in the label attribute of a struts tag? I think you'd need to modify the template (controlheader-core.ftl, IIRC?) Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
html tags in a struts label
Hey there, Is there a way to embed HTML in the label attribute of a struts tag? Right now it looks like it escapes everything and leaves everything there verbatim. I'd like to be able to embed hrefs and apply formatting to the labels in my struts forms (and get the benefit of the contextual validation instead of lumping errors all at the top of the form..). I can always recreate the ... to adhoc my way to a solution most of the time but I was hoping there'd be a cleaner way. Thanks! Allen
Re: Session problem unidentified
--- On Thu, 10/9/08, MyAshok wrote: > 1) When user A logged in and add a new user x (which sets > the selectedUser (gettersettervariable) to Null). > 2) At the same time, user B logged in and edit a existing > user (which sets the selectedUser to some value). > 3) Now, the user A save the entries, this row is updated to > the table for the existing user( which was selected by userB) It's unclear to me what the problem is. Is it that the actions are editing the same instance? Or that you're not doing any sort of locking on the table? Or...? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Loading Action dynamically
hi all I want to make my actionsupport implementation automatically loaded by container, so we dont have to register in struts.xml anyone know how to implement this -- -- Frans Thamura Meruvian One Stop Java and Enterprise OSS Provider Technopreneurship, Training, Internship, Outsourcing and Corporate Competency Center Mobile: +62 855 7888 699 Blog & Profile: http://frans.thamura.info Training JENI, Medallion (Alfresco, Liferay dan Compiere).. buruan... URL: http://nagasakti.mervpolis.com/roller/mervnews/entry/jeni_training_compiere_dan_alfresco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Session problem unidentified
Hi all, I got a critical problem. My Application Environment - Struts 2 Application, Spring injection for dao, Hiberanate3 Scenerio 1) When user A logged in and add a new user x (which sets the selectedUser (gettersettervariable) to Null). 2) At the same time, user B logged in and edit a existing user (which sets the selectedUser to some value). 3) Now, the user A save the entries, this row is updated to the table for the existing user( which was selected by userB) I cant find where i went wrong. I can guess that there is a problem with session management. I cant find whether the problem with the HibernateSession or HttpSession. Can u please give me solutions. Waiting for the helpful solution with hope. With Regards, Ashok -- View this message in context: http://www.nabble.com/Session-problem-unidentified-tp19906321p19906321.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Validation of field with dynamic name
Hi, validation is easy when you know how your field is named: http://struts.apache.org/2.x/docs/validation.html But how its done if you don't know it exactly. E.g. this one: You get something like: ruleSets[0].rules[0].points I tried http://www.opensymphony.com/xwork/wikidocs/Validation Annotation.html and annotated my Entity Class with @Validation and the setPoints method with a IntRangeValidator - but nothing happend. The xml File needs the fieldName which i don't have. I've got no more ideas (i can implement the validate() method and parse all my parameters there, but i hope this can be done via framework). Any help appreciated. -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." -- Linus Torvalds smime.p7s Description: S/MIME cryptographic signature
Global-exceptiion handler
I have a global exception handler registered, which is itself an action mapping. I am trying to ascertain what happened by accessing ActionContext.getContext().getActionInvocation().getProxy() inside this action class, but the invocation has now moved on to that of the exception action! Is there any way to get the previous invocation so as to discover what happened? I see a previous ActionContext in StrutsActionProxy but it's local to the execute method. -- View this message in context: http://www.nabble.com/Global-exceptiion-handler-tp19904923p19904923.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts2 Data Transfer
The error is complaining that you have no result defined for the result named "input". That probably means that the Action is encountering a validation error or the like, causing it to return "input". On Thu, Oct 9, 2008 at 1:21 PM, aum strut <[EMAIL PROTECTED]> wrote: > Hi All, > > i tried to follow the the way suggested by Laurie i followed the below > mentioned practice. > > 1) I have two beans which i want to fill at the same time when the user hit > the registration button after filling the form. > > 2) in my action calss i am using the model driven approach to fill the two > beans using getMOdel() method > > 3) For this i creaded another beans with the getter and setter for thse two > above mentioed beans > > below is the code i have written in my REgister Action class > > > * > > public* *class* UserRegistrationAction *extends* ActionSupport > *implements*ModelDriven { > > /** > > * > > */ > > *private* *static* *final* *long* *serialVersionUID* = 1L; > > *public* String execute() *throws* Exception{ > > *return* *SUCCESS*; > > } > > *private* RegisterBean registerBean=*new* RegisterBean(); > > > > *public* RegisterBean getModel() { > > *return* registerBean; > > } > > > > } > but i am getting the below mentoed exception in the console which is saying > that i have not configured the system if the resulkt type is input > > *but if i will remove* "*return* registerBean;" line from my > *getModel()*and " > *return* registerBean;""*return* null;"* the exception will no longer be > there* > > > can anybody suggest me where i am wrong??? > > SEVERE: Could not find action or result > > No result defined for action > com.dograpress.raisonne.registration.UserRegistrationAction and result > input > - action - > > file:/F:/EclipseProjects/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/DograPress/WEB-INF/classes/struts-UserRegistration.xml:6:105 > > at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(* > DefaultActionInvocation.java:350*) > > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(* > DefaultActionInvocation.java:253*) > > at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(* > ValidationInterceptor.java:150*) > > at > > org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept( > *AnnotationValidationInterceptor.java:48*) > > at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(* > MethodFilterInterceptor.java:86*) > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > DefaultActionInvocation.java:224*) > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > DefaultActionInvocation.java:223*) > > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(* > UtilTimerStack.java:455*) > > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(* > DefaultActionInvocation.java:221*) > > at > com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept( > *ConversionErrorInterceptor.java:123*) > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > DefaultActionInvocation.java:224*) > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > DefaultActionInvocation.java:223*) > > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(* > UtilTimerStack.java:455*) > > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(* > DefaultActionInvocation.java:221*) > > at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(* > ParametersInterceptor.java:186*) > > at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(* > MethodFilterInterceptor.java:86*) > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > DefaultActionInvocation.java:224*) > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > DefaultActionInvocation.java:223*) > > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(* > UtilTimerStack.java:455*) > > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(* > DefaultActionInvocation.java:221*) > > at > com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(* > StaticParametersInterceptor.java:105*) > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > DefaultActionInvocation.java:224*) > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > DefaultActionInvocation.java:223*) > > at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(* > UtilTimerStack.java:455*) > > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(* > DefaultActionInvocation.java:221*) > > at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(* > CheckboxInterceptor.java:83*) > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > DefaultActionInvocation.java:224*) > > at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* > DefaultActionInvocation.java:223*) > > at com.opensymphony.xwork2.util.profiling.U
Re: ParametersInterceptor - How to save value taken from a Map or List with ParametersInterceptor
Am Donnerstag, 9. Oktober 2008 19:20:55 schrieb Adam Lister: > Whoa, I just noticed in the docs where you have pointed out, it says NOT > to use the [] syntax, but to used (). I've always used the [] syntax, > I'm on struts 2.0.11. Can anyone clear that up? The bracket syntax has > always worked fine for me. I've done stuff like this in the past: Yeah. And thats why i am fiddling around yet with ( ) which does not work. Using [ ] it does, using ( ) it does not ... really interesting, anyone can clear this? Trying it with ( ) i get this exception: 19:26:43,844 WARN [com.opensymphony.xwork2.util.OgnlValueStack] Caught an exception while evaluating expression 'ruleSets(1).rules(0).points' against value stack java.lang.NullPointerException: target is null for method rules Using [] syntax it works. @point: Using this: It works. Thanks for your help and input, i guess i need weeks until i would have found this out ... thx. -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." -- Linus Torvalds smime.p7s Description: S/MIME cryptographic signature
Re: Struts2 Data Transfer
Hi All, i tried to follow the the way suggested by Laurie i followed the below mentioned practice. 1) I have two beans which i want to fill at the same time when the user hit the registration button after filling the form. 2) in my action calss i am using the model driven approach to fill the two beans using getMOdel() method 3) For this i creaded another beans with the getter and setter for thse two above mentioed beans below is the code i have written in my REgister Action class * public* *class* UserRegistrationAction *extends* ActionSupport *implements*ModelDriven { /** * */ *private* *static* *final* *long* *serialVersionUID* = 1L; *public* String execute() *throws* Exception{ *return* *SUCCESS*; } *private* RegisterBean registerBean=*new* RegisterBean(); *public* RegisterBean getModel() { *return* registerBean; } } but i am getting the below mentoed exception in the console which is saying that i have not configured the system if the resulkt type is input *but if i will remove* "*return* registerBean;" line from my *getModel()*and " *return* registerBean;""*return* null;"* the exception will no longer be there* can anybody suggest me where i am wrong??? SEVERE: Could not find action or result No result defined for action com.dograpress.raisonne.registration.UserRegistrationAction and result input - action - file:/F:/EclipseProjects/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/DograPress/WEB-INF/classes/struts-UserRegistration.xml:6:105 at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(* DefaultActionInvocation.java:350*) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(* DefaultActionInvocation.java:253*) at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(* ValidationInterceptor.java:150*) at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept( *AnnotationValidationInterceptor.java:48*) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(* MethodFilterInterceptor.java:86*) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* DefaultActionInvocation.java:224*) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* DefaultActionInvocation.java:223*) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(* UtilTimerStack.java:455*) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(* DefaultActionInvocation.java:221*) at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept( *ConversionErrorInterceptor.java:123*) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* DefaultActionInvocation.java:224*) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* DefaultActionInvocation.java:223*) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(* UtilTimerStack.java:455*) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(* DefaultActionInvocation.java:221*) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(* ParametersInterceptor.java:186*) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(* MethodFilterInterceptor.java:86*) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* DefaultActionInvocation.java:224*) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* DefaultActionInvocation.java:223*) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(* UtilTimerStack.java:455*) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(* DefaultActionInvocation.java:221*) at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(* StaticParametersInterceptor.java:105*) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* DefaultActionInvocation.java:224*) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* DefaultActionInvocation.java:223*) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(* UtilTimerStack.java:455*) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(* DefaultActionInvocation.java:221*) at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(* CheckboxInterceptor.java:83*) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* DefaultActionInvocation.java:224*) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* DefaultActionInvocation.java:223*) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(* UtilTimerStack.java:455*) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(* DefaultActionInvocation.java:221*) at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(* FileUploadInterceptor.java:207*) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* DefaultActionInvocation.java:224*) at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(* DefaultActionInvocation.java:223*) at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(* UtilTimer
Re: ParametersInterceptor - How to save value taken from a Map or List with ParametersInterceptor
Whoa, I just noticed in the docs where you have pointed out, it says NOT to use the [] syntax, but to used (). I've always used the [] syntax, I'm on struts 2.0.11. Can anyone clear that up? The bracket syntax has always worked fine for me. I've done stuff like this in the past: This assumes a "point" would be some kind of convertable type, like String, boolean, whatever. If not you'd add ".whateverProperty" to the end of the name. Torsten Krah wrote: Am Donnerstag, 9. Oktober 2008 18:46:45 schrieb Adam Lister: I've also heard that there is a generics-based type converter that might solve this assuming you properly annotate the lists? I'am using typed lists, so @Element should not be needed, shouldn't it? What causing me headaches is that i am stuck naming my "name" property for s:textfield. I have got a List of RuleSets. A RuleSet gots a List Property with Rules. Rules got Points. I am able to print out those points like this: But i don't know how to name the name property of s:textfield to lets the ParametersInterceptor write back changed values. Docs tells this: But how to stack this, i have no idea, i have tried many combinations but got no success yet :-( Any help appreciated. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ParametersInterceptor - How to save value taken from a Map or List with ParametersInterceptor
Am Donnerstag, 9. Oktober 2008 18:46:45 schrieb Adam Lister: > I've also heard that there is a generics-based type converter that might > solve this assuming you properly annotate the lists? I'am using typed lists, so @Element should not be needed, shouldn't it? What causing me headaches is that i am stuck naming my "name" property for s:textfield. I have got a List of RuleSets. A RuleSet gots a List Property with Rules. Rules got Points. I am able to print out those points like this: But i don't know how to name the name property of s:textfield to lets the ParametersInterceptor write back changed values. Docs tells this: But how to stack this, i have no idea, i have tried many combinations but got no success yet :-( Any help appreciated. -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." -- Linus Torvalds smime.p7s Description: S/MIME cryptographic signature
Re: ParametersInterceptor - How to save value taken from a Map or List with ParametersInterceptor
Though not suitable for all situations, I've solved this problem in the past by mapping type conversion to the bean rather than to the action. Check out: http://struts.apache.org/2.x/docs/type-conversion.html#TypeConversion-ApplyingaTypeConvertertoabeanormodel So in MyBean-conversion.properties you would define something like: Element_secondBeans=com.whatever.MySecondBean I've also heard that there is a generics-based type converter that might solve this assuming you properly annotate the lists? Unfortunately, I'm stuck on java4, so not an option for me. Torsten Krah wrote: Am Donnerstag, 9. Oktober 2008 18:17:57 schrieb Dave Newton: Use Map/array notation in the field name. http://struts.apache.org/2.x/docs/type-conversion.html Dave Can this be stacked? My Action got a List of MyBean and in MyBean there is a List of MySecondBean from which the value is taken. MySecondBean.getValue(). How to express this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Using POSIX Regular Expressions for Internationalized Validation
Hi, Any way you want to unescape, something you escaped, I don't know but what ever you put in the text field is got from the getter public String getFieldName(){ //TODO: Decode/Unescape here return this.fieldName; } Regards, Jishnu Viswanath Software Engineer *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll Tavant Technologies Inc., www.tavant.com PEOPLE :: PASSION :: EXCELLENCE -Original Message- From: egetchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2008 1:48 AM To: user@struts.apache.org Subject: Re: Using POSIX Regular Expressions for Internationalized Validation That's an interesting approach you guys are proposing. I did a quick proof of concept where I coded an Interceptor that uses the Apache Commons StringEscapeUtils.escapeHtml function to update all incoming parameter values. This seems to implement what you guys suggested. What is your approach for then displaying this data? For example, in my proof of concept, when I escape Japanese Shift-JIS input, the escaped values are persisted to the database, and rendered to the browser in the escaped format. Do you unescape the prior to persisting it data (as it did pass validation), or do you have special logic in the actions that will unescape all properties prior to the JSP page rendering the data? Eric Laurie Harper wrote: > > The validation strategy you cite is well and good when the you *have* 'a > set of tightly constrained known good values.' It's not useful in the > general case. > > Your concerns with respect to XSS should only present a problem if you > need to render untrusted HTML (such as is often the case with web-base > email applications, for example). Unless you need to preserve > user-submitted HTML, though, the correct answer is, as Greg said, to > HTML-escape all user supplied data (or at least, all user supplied data > you haven't previously sanitized via strategies such as you referenced). > > If you do that, the browser will never see anything harmful in a context > it will treat as anything other than text (i.e. it will never try to > interpret such data as markup) and therefore you wont be vulnerable. > > L. > > -- View this message in context: http://www.nabble.com/Using-POSIX-Regular-Expressions-for-Internationali zed-Validation-tp19844314p19866354.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any comments or statements made in this email are not necessarily those of Tavant Technologies. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you have received this in error, please contact the sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies may be subject to our monitoring procedures. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ParametersInterceptor - How to save value taken from a Map or List with ParametersInterceptor
Am Donnerstag, 9. Oktober 2008 18:17:57 schrieb Dave Newton: > Use Map/array notation in the field name. > > http://struts.apache.org/2.x/docs/type-conversion.html > > Dave Can this be stacked? My Action got a List of MyBean and in MyBean there is a List of MySecondBean from which the value is taken. MySecondBean.getValue(). How to express this? -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." -- Linus Torvalds smime.p7s Description: S/MIME cryptographic signature
Re: S2 2.1 OGNL Diffs?
The default was set to true because of the security holes it creates. I am not sure if the property was always there and set to false, or if it was created recently (in 2.0 anyway). On Thu, Oct 9, 2008 at 12:17 PM, stanlick <[EMAIL PROTECTED]> wrote: > > Well no I don't sir! Was this property changed/added in 2.1? Is there a > reason the default is false? > > Peace, > Scott > > > > Musachy Barroso wrote: > > > > Do you have static method invocation enabled? > > > > On Thu, Oct 9, 2008 at 10:32 AM, stanlick <[EMAIL PROTECTED]> wrote: > > > >> > >> Does anyone know why this does not work in 2.1? It used to return the > >> action > >> name. > >> > >> name: >> value="@[EMAIL PROTECTED] > >> ().actionInvocation.proxy.actionName"/> > >> -- > >> View this message in context: > >> http://www.nabble.com/S2-2.1-OGNL-Diffs--tp19900205p19900205.html > >> Sent from the Struts - User mailing list archive at Nabble.com. > >> > >> > >> - > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > > "Hey you! Would you help me to carry the stone?" Pink Floyd > > > > > > -- > View this message in context: > http://www.nabble.com/S2-2.1-OGNL-Diffs--tp19900205p19902292.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd
RE: Struts 2 CRUD Question
--- On Thu, 10/9/08, Gawain Hammond wrote: > Does struts create a new object for every submit? And under > what circumstance would it not? Actions are created per-request, thus action variables are as well. Options include retrieving a session object manually, using ScopedModelDriven, a conversation interceptor, and so on. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ParametersInterceptor - How to save value taken from a Map or List with ParametersInterceptor
--- On Thu, 10/9/08, Torsten Krah wrote: > i wonder whats the best way to write back values taken from > a Map or List. Use Map/array notation in the field name. http://struts.apache.org/2.x/docs/type-conversion.html Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: S2 2.1 OGNL Diffs?
Well no I don't sir! Was this property changed/added in 2.1? Is there a reason the default is false? Peace, Scott Musachy Barroso wrote: > > Do you have static method invocation enabled? > > On Thu, Oct 9, 2008 at 10:32 AM, stanlick <[EMAIL PROTECTED]> wrote: > >> >> Does anyone know why this does not work in 2.1? It used to return the >> action >> name. >> >> name: > value="@[EMAIL PROTECTED] >> ().actionInvocation.proxy.actionName"/> >> -- >> View this message in context: >> http://www.nabble.com/S2-2.1-OGNL-Diffs--tp19900205p19900205.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > -- View this message in context: http://www.nabble.com/S2-2.1-OGNL-Diffs--tp19900205p19902292.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 2 CRUD Question
Bizzare, I'm having the exact opposite problem (my problem is the solution you want). Similar setup, and when I view the object's data in a form then submit it, struts uses the exact same object instance to then submit the form. So if I try to clear any fields (effectively null them), for a cleared field the object keeps the old values that were originally retrieved from persistence. Does struts create a new object for every submit? And under what circumstance would it not? Cheers, Gawain -Original Message- From: Bobby Politte [mailto:[EMAIL PROTECTED] Sent: 29 September 2008 16:44 To: user@struts.apache.org Subject: Struts 2 CRUD Question Hi, I'm just getting back into Struts after a few years away from web programming. I've got a question about methods for updating only certain members of an object. I've got a struts action that creates, updates and deletes a User object. When updating though, I have two different jsp pages that update only part of the object (user information on one, and password on the other). Unexpectedly (at least to me), Struts sets the members of the User object not on the form to null. I'd expected it to only update the members specifically tied to controls on the form and assume no change for any members of User *not* in the form. Is there a way to only update those members of the object represented on the form? Do I *need* to use some DTO to do this? Or split my User object up into User and Password objects? thanks, Bobby - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This transmission is strictly confidential, possibly legally privileged, and intended solely for the addressee. Any views or opinions expressed within it are those of the author and do not necessarily represent those of 192.com, i-CD Publishing (UK) Ltd or any of it's subsidiary companies. If you are not the intended recipient then you must not disclose, copy or take any action in reliance of this transmission. If you have received this transmission in error, please notify the sender as soon as possible. No employee or agent is authorised to conclude any binding agreement on behalf of i-CD Publishing (UK) Ltd with another party by email without express written confirmation by an authorised employee of the Company. http://www.192.com (Tel: 08000 192 192). i-CD Publishing (UK) Ltd is incorporated in England and Wales, company number 3148549, VAT No. GB 673128728.
Re: Struts2 Data Transfer
Thaks laurie this was exactly i was looking for... i will try this way and it seems to be a good way . Thanks for the help On Thu, Oct 9, 2008 at 1:32 PM, Laurie Harper <[EMAIL PROTECTED]> wrote: > You can't expose two different beans with one getModel() method, if that's > what you're asking. You can, however, return a simple 'wrapper' bean from > getModel() which has a getter/setter pair for each of your target beans. > > Either approach gives you a way to address the two beans independently, > either explicitly as in .getBean1().setField1() on implicitly as in > .getModel().getBean1().setField1(). > > L. > > > aum strut wrote: > >> Yes Dave , There is a sigle form(Page) for this with different sections in >> it for registration.i only want that the data from this single page should >> go to different (2 in my case) beans depends upon the fields i have >> defined >> in the respective beans. >> >> >> i tied this and is working fine but i want that i should seperate the >> getter >> and setter from my action >> >> i am using model driven approach and it is filling one beans accurately >> but >> i can not fill the second beans in the same getModel() . >> >> any other approach so that i can fill thm at the same time once my action >> get called . >> >> On Thu, Oct 9, 2008 at 3:46 AM, Laurie Harper <[EMAIL PROTECTED]> wrote: >> >> Just do what Dave outlined in his previous reply. You need getter/setters >>> in your action for each bean ([gs]etBean1(), [gs]etBean2() to correspond >>> with Dave's JSP sample code) and everything should work. Have you tried >>> it? >>> >>> L. >>> >>> >>> aum strut wrote: >>> >>> the issue is i have a registration from in the UI which have two different section in a single page. 1) User login Information 2)Address Information i want that these two sections should get populated in two different Bean by the interceptor that mean User login fields get Pouplated in the UserLogin Beans while the Address section should get populated in the Address Bean when my Registration Action get called once user will hit the Register Button. Thanks -aum On Tue, Oct 7, 2008 at 10:59 PM, Dave Newton <[EMAIL PROTECTED]> wrote: --- On Tue, 10/7/08, aum strut wrote: > i need to transfer data from the user registration page to >> the java beans to be used for inserting values in the data base. >> i have created two seperate beans for this 1) for storing user >> address field and second is for storing user login information. >> >> i want that when user cllick on the REgister button these >> two Beans get filled with the respective values from the UI. >> i have named the corresponding fields in the beans with respect >> to the fields name in the UI. >> >> What, precisely, is the issue? > > If you have a form containing: > > > > > each bean will contain whatever was entered in the form. > > Dave > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
ParametersInterceptor - How to save value taken from a Map or List with ParametersInterceptor
Hi, i wonder whats the best way to write back values taken from a Map or List. Lets take this for example: The textfield got some integer value (taken from an object which is a list which was found in a list). If i change it and want so save it, whats the best way to do this? The default Paramsinterceptor does only tell me this: No object in the CompoundRoot has a publicly accessible property named 'rule_10_2' (no setter could be found). Of cause i've got no setter on the Action. But i've got to read them out, how to write them back? Have i have to do this myself implementing ParameterNameAware or ParameterAware? Or is there some way to let struts2 handle this? thx -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." -- Linus Torvalds smime.p7s Description: S/MIME cryptographic signature
RE: Iterate through a Map, OGNL Question about accessing a map with dynamic value [0]
From: Torsten Krah [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2008 9:15 AM > Your example does work fine, but its not my usecase, isn't it? Oops, sorry about that. My mistake. I'm assuming the list is a List> and the map is Map, List> if so, try this: <%-- begin setup, for example only --%> <%-- end setup, for example only --%> <%-- here's the code you'll really want --%> Brad Cupit LSU - University Information Systems
Re: S2 2.1 OGNL Diffs?
Do you have static method invocation enabled? On Thu, Oct 9, 2008 at 10:32 AM, stanlick <[EMAIL PROTECTED]> wrote: > > Does anyone know why this does not work in 2.1? It used to return the > action > name. > > name: value="@[EMAIL PROTECTED] > ().actionInvocation.proxy.actionName"/> > -- > View this message in context: > http://www.nabble.com/S2-2.1-OGNL-Diffs--tp19900205p19900205.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd
Re: DefaultWorkflowInterceptor doesn't validate anymore!?
The logic that was in the workflow interceptor was copy/pasted to the validation interceptor, I don't think the semantic changed. Take a look at: https://svn.opensymphony.com/svn/xwork/trunk/src/java/com/opensymphony/xwork2/validator/ValidationInterceptor.java musachy On Thu, Oct 9, 2008 at 10:55 AM, Stephan Schröder <[EMAIL PROTECTED]> wrote: > > >The validation one > > Ok, but this seems to have a different semantic compared to the old > workflow-interceptor: > > * alwaysInvokeValidate - Defaults to true. If true validate() method > will always > * be invoked, otherwise it will not. > * > * programmatic - Defaults to true. If true and the action is > Validateable call validate(), > * and any method that starts with "validate". > * > > 1)What if my Action class has two "execute"-Methods (login and register) > und > therefore a validateLogin and > validateRegister-method. 'workflow' was able two execute only the > appropriate validation-methode while > 'validation' will call "any method that starts with "validate"". > > 2)Also strange if alwaysInvokeValidate is false and programmatic is true: > doesn't the resulting "validate() method will not (always?) be invoked" and > the "If true and the action is Validateable call validate()" contradict > itself? > > 3) If booth are true, is validate() called twice? > > Regards, > Stephan > > > > > Musachy Barroso wrote: > > > > The validation one. > > > > On Thu, Oct 9, 2008 at 9:13 AM, Stephan Schröder <[EMAIL PROTECTED]> > > wrote: > > > >> > >> Hi, > >> > >> i'm using Struts2.1.2 which uses Xwork2.1.2. When i tried to figure out > >> why > >> my validate-Method wasn't called anymore, i found out that the > >> DefaultWorkflowInterceptor just doesn't invoke it anymore, which seems > to > >> be > >> on purpose (<-b->This interceptor does not perform any > validation<-/b->.) > >> Which interceptor is now responsible for calling validate? > >> > >> regards, > >> Stephan > >> > >> http://www.nabble.com/file/p19898306/DefaultWorkflowInterceptor.java > >> DefaultWorkflowInterceptor.java > >> > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/DefaultWorkflowInterceptor-doesn%27t-validate-anymore%21--tp19898306p19898306.html > >> Sent from the Struts - User mailing list archive at Nabble.com. > >> > >> > >> - > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > > "Hey you! Would you help me to carry the stone?" Pink Floyd > > > > > > -- > View this message in context: > http://www.nabble.com/DefaultWorkflowInterceptor-doesn%27t-validate-anymore%21--tp19898306p19900670.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd
Re: DefaultWorkflowInterceptor doesn't validate anymore!?
>The validation one Ok, but this seems to have a different semantic compared to the old workflow-interceptor: * alwaysInvokeValidate - Defaults to true. If true validate() method will always * be invoked, otherwise it will not. * * programmatic - Defaults to true. If true and the action is Validateable call validate(), * and any method that starts with "validate". * 1)What if my Action class has two "execute"-Methods (login and register) und therefore a validateLogin and validateRegister-method. 'workflow' was able two execute only the appropriate validation-methode while 'validation' will call "any method that starts with "validate"". 2)Also strange if alwaysInvokeValidate is false and programmatic is true: doesn't the resulting "validate() method will not (always?) be invoked" and the "If true and the action is Validateable call validate()" contradict itself? 3) If booth are true, is validate() called twice? Regards, Stephan Musachy Barroso wrote: > > The validation one. > > On Thu, Oct 9, 2008 at 9:13 AM, Stephan Schröder <[EMAIL PROTECTED]> > wrote: > >> >> Hi, >> >> i'm using Struts2.1.2 which uses Xwork2.1.2. When i tried to figure out >> why >> my validate-Method wasn't called anymore, i found out that the >> DefaultWorkflowInterceptor just doesn't invoke it anymore, which seems to >> be >> on purpose (<-b->This interceptor does not perform any validation<-/b->.) >> Which interceptor is now responsible for calling validate? >> >> regards, >> Stephan >> >> http://www.nabble.com/file/p19898306/DefaultWorkflowInterceptor.java >> DefaultWorkflowInterceptor.java >> >> >> -- >> View this message in context: >> http://www.nabble.com/DefaultWorkflowInterceptor-doesn%27t-validate-anymore%21--tp19898306p19898306.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > -- View this message in context: http://www.nabble.com/DefaultWorkflowInterceptor-doesn%27t-validate-anymore%21--tp19898306p19900670.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
S2 2.1 OGNL Diffs?
Does anyone know why this does not work in 2.1? It used to return the action name. name: -- View this message in context: http://www.nabble.com/S2-2.1-OGNL-Diffs--tp19900205p19900205.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Upgrade from 2.0.11 to 2.1.2Beta with REST and zero configuration
Dave Newton 写道: --- On Thu, 10/9/08, Haulyn R. Jason wrote: 1.I have many user-defined Interceptors, How can I set up them without configuration? How to change the default Inteceptors-stack? AFAIK you still need to do that in XML, but it's pretty minimal. Could be wrong, though. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Thanks Dave That means I just do not need to change my old configurations and just use Annotations in my new features? Including package inherit configurations? Is it? If it's correct, I need to find other problems why the application is down when I replace the jars. -- Thanks! Mobile: +086-15864011231 Website:http://www.openmotel.cn http://www.vvthumb.com GTalk:[EMAIL PROTECTED] Skype:saharabear Haulyn Runner Jason - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Iterate through a Map, OGNL Question about accessing a map with dynamic value [0]
Am Donnerstag, 9. Oktober 2008 16:04:27 schrieben Sie: > > > > > > But here you iterate through a map (order does not matter) and take the "key", which is the list, and iterate through that. I need to iterate through a list, where the actual value "[0]" or #myList is needed, to do the second iteration (the list needed must be looked up in the map first). I need to express myMap.#myList where #myList should evaluate first to the value before looked up at myMap - or is this not possible? Your example does work fine, but its not my usecase, isn't it? -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." -- Linus Torvalds smime.p7s Description: S/MIME cryptographic signature
Re: Upgrade from 2.0.11 to 2.1.2Beta with REST and zero configuration
--- On Thu, 10/9/08, Haulyn R. Jason wrote: > 1.I have many user-defined Interceptors, How can I set up > them without configuration? How to change the default > Inteceptors-stack? AFAIK you still need to do that in XML, but it's pretty minimal. Could be wrong, though. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Upgrade from 2.0.11 to 2.1.2Beta with REST and zero configuration
Hi, all I tried the sample : struts2-rest-showcase-2.1.2.war, it looks cool, so, I think it's the time to upgrade my application from 2.0.11 to 2.1.2Beta, but, Hmm, with code-behind and rest-plugin, when I replace the jars, my application does not work. After reading the "upgrade tutorial", I have some confusion: 1.I have many user-defined Interceptors, How can I set up them without configuration? How to change the default Inteceptors-stack? 2.I write some plugin, do I need to do more work to use them? I always setup them in struts.xml 3.I use Guice as DI tool, does it matter to upgrade from 2.0.11.2 to 2.1.2Beta?(I think it's for xwork) 4.without configuration files(struts.xml), how to defind the package of inherit with Interceptor-stack? 5.Should I keep a struts.xml or struts.properties? If it work, which is the "struts 2.1.2Beta way"? I mean, keep struts.xml or struts.properties? So much bunch questions, and Thanks very much. -- Thanks! Mobile: +086-15864011231 Website:http://www.openmotel.cn http://www.vvthumb.com GTalk:[EMAIL PROTECTED] Skype:saharabear Haulyn Runner Jason - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Iterate through a Map, OGNL Question about accessing a map with dynamic value [0]
From: Torsten Krah [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2008 8:27 AM > > > > The below code should work in any JSP that has the Struts 2 tag library imported. It iterates over a Map whose keys are of type List. This code was inspired by [1] <%-- begin setup tags just for this example --%> <%-- end setup tags --%> <%-- Here are the tags you'll actually want to use --%> 'key' and 'value' will be properties of the root object on the value stack so they do not need to be accessed with a preceeding # 'elementInList' is not a property of the root object, so it does need to be accessed with a preceeding # [1] http://www.roseindia.net/tutorialhelp/comment/42997 Brad Cupit LSU - University Information Systems
RE: Using POSIX Regular Expressions for Internationalized Validation
Everything is clear now. I had misunderstood the previous posts as suggestions to physically alter the user’s input via HTML escaping/unescaping at the boundary layer of Struts. I totally agree with this XSS mitigation approach and have added the escape=”true” attribute to all our property tags and verified we don’t use the text tag anywhere. No issues with SQL injection as we’ve been using prepared statements in Hibernate from day one. Thanks all! Brad A Cupit wrote: > > From: egetchell [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 08, 2008 11:56 AM >> The one thing I noticed is that this escaped >> data is not translated back to the character >> set when fed into an input field. > > Perhaps this is an over simplification, but could you just persist the > raw, unescaped text that the user inputs, then use something like this: > > > -- or -- > > > For text fields you could then just use the rawText unescaped and it would > be exactly the way the user entered it. > > Looking back in the history for this post, this idea is basically what > Greg Lindholm suggested [1]. > > To reword what he also said about SQL injection: > Just use PreparedStatements with '?' placeholders (or Hibernate, or some > other library which will protect you from SQL injection attacks). > > [1] > http://www.nabble.com/Using-POSIX-Regular-Expressions-for-Internationalized-Validation-td19844314.html#a19858027 > > Brad Cupit > Louisiana State University - UIS > > -- View this message in context: http://www.nabble.com/Using-POSIX-Regular-Expressions-for-Internationalized-Validation-tp19844314p19899277.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Iterate through a Map, OGNL Question about accessing a map with dynamic value [0]
Hi. I am iterating over a list like this: which works. Additionally i've got a Map where the key is the List and the value is another list. This does not work. How can i tell the lookup expression, that it should use the value from the current outer iterator as the key to lookup the inner list ( [0] i thought). thx -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." -- Linus Torvalds smime.p7s Description: S/MIME cryptographic signature
Re: DefaultWorkflowInterceptor doesn't validate anymore!?
The validation one. On Thu, Oct 9, 2008 at 9:13 AM, Stephan Schröder <[EMAIL PROTECTED]> wrote: > > Hi, > > i'm using Struts2.1.2 which uses Xwork2.1.2. When i tried to figure out why > my validate-Method wasn't called anymore, i found out that the > DefaultWorkflowInterceptor just doesn't invoke it anymore, which seems to > be > on purpose (<-b->This interceptor does not perform any validation<-/b->.) > Which interceptor is now responsible for calling validate? > > regards, > Stephan > > http://www.nabble.com/file/p19898306/DefaultWorkflowInterceptor.java > DefaultWorkflowInterceptor.java > > > -- > View this message in context: > http://www.nabble.com/DefaultWorkflowInterceptor-doesn%27t-validate-anymore%21--tp19898306p19898306.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd
DefaultWorkflowInterceptor doesn't validate anymore!?
Hi, i'm using Struts2.1.2 which uses Xwork2.1.2. When i tried to figure out why my validate-Method wasn't called anymore, i found out that the DefaultWorkflowInterceptor just doesn't invoke it anymore, which seems to be on purpose (<-b->This interceptor does not perform any validation<-/b->.) Which interceptor is now responsible for calling validate? regards, Stephan http://www.nabble.com/file/p19898306/DefaultWorkflowInterceptor.java DefaultWorkflowInterceptor.java -- View this message in context: http://www.nabble.com/DefaultWorkflowInterceptor-doesn%27t-validate-anymore%21--tp19898306p19898306.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: removing the extension in url in struts 2
On Fri, Oct 3, 2008 at 6:31 PM, Owen Berry <[EMAIL PROTECTED]> wrote: > > Here's a small sample out of my struts.xml file; let me know if you > need a little more. > > > > home > > > home > > > > I can access the above with any of the following URLs: > > / > /home > /home.action > /.action (yip!) > > If I access it with a .action extension, then all links in my > application get the extension appended. Maybe that's a clue for you - > maybe the first page you hit (through a redirect or something) has an > extension, and therefore all links get extensions automatically. > > My struts.properties file doesn't have anything relevant in it - I'm > using the default value for struts.action.extension, which I mentioned > in my previous email. > > Hope that helps. > > Owen > > On Fri, Oct 3, 2008 at 6:48 AM, Jq Jr <[EMAIL PROTECTED]> wrote: > > > > Hi, > > Thanks for the reply friends. > > > > Owen which version of struts are you using? > > And can you post your struts.xml and struts.properties files. > > Actually I am not using the struts.properties instead I am putting those > > values in tag. > > Is it required to have struts.properties to remove the extension? > > > > > > Thanks > > > > > > Jq Jr wrote: > >> > >> Hi All, > >> > >> Can anyone tell me how to remove the extension of url in struts 2 ? > >> > >> Like > >> /login instead of > >> /login.action > >> I don't know if the following blog article is any use to you? http://raibledesigns.com/rd/entry/extensionless_urls_in_java_web I've been using UrlRewriteFilter to handle a lot of situations where the framework can't do the style of "clean" URLs that I would like. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tag for formatting date or time using type and style, not pattern
Can you give us an example of a language specific validation that you are needing? stanlick wrote: > > Any idea how to get language specific validations? e.g. > > SomeAction-validation_fr.xml > > Scott > > > -- View this message in context: http://www.nabble.com/tag-for-formatting-date-or-time-using-type-and-style%2C-not-pattern-tp19841154p19898296.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: devMode
Anyone, what are the requirements for configuring my i18n resource bundle if I want devMode to reload it every request? I currently have all my i18n strings in package.properties in my main package - and I configured it in struts.xml too like so: Adam Hardy on 08/10/08 18:50, wrote: OK: with devMode=false, the logging misses out this one line (otherwise the same): INFO 17:58:36 DefaultConfiguration.setProperty(): Overriding property struts.configuration.xml.reload - old value: false new value: true (com.opensymphony.xwork2.config.impl) I don't have struts.properties anywhere. Alberto Flores on 08/10/08 18:11, wrote: A few questions: - Try to set devMode=false and see if you get the same logs. - Do you have a struts.properties with devMode=false/true. If so, this file will override struts.xml. Adam Hardy wrote: I fully expect that there's a simple answer to this one but I can't find it in the wiki or the mailing list archives. devMode is set to true in my struts.xml, which loads as per the logging, but my webapp is not reloading the i18n bundle. Actually it's not giving me enhanced exceptions either, I just checked. I get the log statements: INFO 17:58:36 XmlConfigurationProvider.register(): Parsing configuration file [struts-default.xml] (com.opensymphony.xwork2.config.providers) INFO 17:58:36 XmlConfigurationProvider.register(): Parsing configuration file [struts-plugin.xml] (com.opensymphony.xwork2.config.providers) INFO 17:58:36 XmlConfigurationProvider.register(): Parsing configuration file [struts.xml] (com.opensymphony.xwork2.config.providers) WARNING 2008-10-08 17:58:36 Settings.getLocale(): Settings: Could not parse struts.locale setting, substituting default VM locale (org.apache.struts2.config) INFO 17:58:36 DefaultConfiguration.setProperty(): Overriding property struts.configuration.xml.reload - old value: false new value: true (com.opensymphony.xwork2.config.impl) INFO 17:58:36 BeanSelectionProvider.register(): Loading global messages from org.permacode.patternrepo.package.properties (org.apache.struts2.config) So struts is taking note of struts.configuration.xml.reload but not struts.devMode. Anyone know what the problem is likely to be? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
default value
Hi, I populate special character (such as "<") from database to the action object and using to display in JSP. However, it can't be shown. The wiki describe that the default value is true but it isn't !. I need to hard code all the with escape="true". How can I set the escape="true" to all pages globally? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Dojo, input=file and struts2 problem
I have a very weird problem and I hope somebody can tell me where to look for a solution. Using the code below everything works as expected. On form submission an ajax call is made to the alert() method which simply forwards to alert.jsp which alerts the filled in text and a dom reference of the form. As soon as i add a or to my form, the alert does not have a reference to the form anymore and the 2nd alert fails. Thanks, Jeroen This is my code: @Namespace(value = "/ajax") @Results({ @Result(name = "success", value = "test.jsp"), @Result(name = "alert", value = "alert.jsp") }) public class TestAction extends ActionSupport { public String alert() throws Exception { return "alert"; } private String text; public String getText() { return text; } public void setText(String text) { this.text = text; } } alert.jsp: alert("${text}"); alert(document.getElementById("testForm")); test.jsp: <%@ taglib prefix="s" uri="/struts-tags"%> onsubmit="dojo.event.topic.publish('alert_text');return false;" enctype="multipart/form-data"> Text: id="testdiv" href="%{url}" theme="ajax" listenTopics="alert_text" formId="testForm" /> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tree default expanded ??
Finally i could make it Thanks to all who helped me to do this... Thanks a lot. i solved two problems one is extending tree and one is finding parent of a tree node selected. i am giving code here for ref" Tree Tree Expand function which will be called on window load event window.onload=function(){ var nodes =dojo.widget.manager.getWidgetsByType('struts:StrutsTreeNode'); for( var i=0; i < nodes.length; i++){ nodes[i].expand(); } } finding parent of a node selected . function treeNodeSelected(message) { alert("Parent Node = "+message.node.parent.widgetId); document.form1.parentFieldID.value=message.node.parent.widgetId; } dojo.event.topic.subscribe("treeSelected",this,treeNodeSelected); Have Nice time... Ganesh123 wrote: > > Hi > Is it possible to display a tree expanded by default? > I am using struts 2.1.2 dojo-plugin to create the tree structure. any one > used tree...plz help me > > -- View this message in context: http://www.nabble.com/Tree-default-expandedtp19685627p19894862.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cannot call servlet from portlet using img tag
daiyna wrote: im sorry this is wrong: < img src="${imgURL}" alt="img" width="40", height="40"/> its like: < img src="/imageview/somepath" alt="img" width="40", height="40"/> where somepath is the absolute path for the generated image. imageservlet was supposed to retrieve the local image to the page I'm still not clear what /imageview is supposed to do/return, or what the URL in the generated tag is meant to look like. What do you expect to see in your browser if you access the following URLs directly: 1. http://host:port/context/imageview 2. http://host:port/context/imageview/somepath 3. http://host:port/context/somepath How does that differ, in each case, from what you are seeing? L. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts2 Data Transfer
You can't expose two different beans with one getModel() method, if that's what you're asking. You can, however, return a simple 'wrapper' bean from getModel() which has a getter/setter pair for each of your target beans. Either approach gives you a way to address the two beans independently, either explicitly as in .getBean1().setField1() on implicitly as in .getModel().getBean1().setField1(). L. aum strut wrote: Yes Dave , There is a sigle form(Page) for this with different sections in it for registration.i only want that the data from this single page should go to different (2 in my case) beans depends upon the fields i have defined in the respective beans. i tied this and is working fine but i want that i should seperate the getter and setter from my action i am using model driven approach and it is filling one beans accurately but i can not fill the second beans in the same getModel() . any other approach so that i can fill thm at the same time once my action get called . On Thu, Oct 9, 2008 at 3:46 AM, Laurie Harper <[EMAIL PROTECTED]> wrote: Just do what Dave outlined in his previous reply. You need getter/setters in your action for each bean ([gs]etBean1(), [gs]etBean2() to correspond with Dave's JSP sample code) and everything should work. Have you tried it? L. aum strut wrote: the issue is i have a registration from in the UI which have two different section in a single page. 1) User login Information 2)Address Information i want that these two sections should get populated in two different Bean by the interceptor that mean User login fields get Pouplated in the UserLogin Beans while the Address section should get populated in the Address Bean when my Registration Action get called once user will hit the Register Button. Thanks -aum On Tue, Oct 7, 2008 at 10:59 PM, Dave Newton <[EMAIL PROTECTED]> wrote: --- On Tue, 10/7/08, aum strut wrote: i need to transfer data from the user registration page to the java beans to be used for inserting values in the data base. i have created two seperate beans for this 1) for storing user address field and second is for storing user login information. i want that when user cllick on the REgister button these two Beans get filled with the respective values from the UI. i have named the corresponding fields in the beans with respect to the fields name in the UI. What, precisely, is the issue? If you have a form containing: each bean will contain whatever was entered in the form. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: simple vs xhtml theme, validation question
Am Mittwoch, 8. Oktober 2008 20:27:40 schrieb Gabriel Belingueres: > You can do it by hand though: Thx for this hint, should habe seen that myself. Thats a good idea to do stuff with s:if and s:else myself. thx. -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." -- Linus Torvalds smime.p7s Description: S/MIME cryptographic signature
Re: Struts2 Data Transfer
i even made getter and setter method for one of my beans namely Person but when i am using these getter /setter method in the action calss for the beans i am getting exception while the GetModel() i mean the model driven approach is working fine.. On Thu, Oct 9, 2008 at 1:16 PM, aum strut <[EMAIL PROTECTED]> wrote: > Yes Dave , There is a sigle form(Page) for this with different sections > in it for registration.i only want that the data from this single page > should go to different (2 in my case) beans depends upon the fields i have > defined in the respective beans. > > > i tied this and is working fine but i want that i should seperate the > getter and setter from my action > > i am using model driven approach and it is filling one beans accurately but > i can not fill the second beans in the same getModel() . > > any other approach so that i can fill thm at the same time once my action > get called . > > On Thu, Oct 9, 2008 at 3:46 AM, Laurie Harper <[EMAIL PROTECTED]>wrote: > >> Just do what Dave outlined in his previous reply. You need getter/setters >> in your action for each bean ([gs]etBean1(), [gs]etBean2() to correspond >> with Dave's JSP sample code) and everything should work. Have you tried it? >> >> L. >> >> >> aum strut wrote: >> >>> the issue is i have a registration from in the UI which have two >>> different >>> section in a single page. >>> >>> 1) User login Information >>> 2)Address Information >>> >>> i want that these two sections should get populated in two different Bean >>> by >>> the interceptor >>> that mean User login fields get Pouplated in the UserLogin Beans while >>> the >>> Address section should get populated in the Address Bean when my >>> Registration Action get called once user will hit the Register Button. >>> >>> >>> Thanks >>> -aum >>> >>> >>> On Tue, Oct 7, 2008 at 10:59 PM, Dave Newton <[EMAIL PROTECTED]> >>> wrote: >>> >>> --- On Tue, 10/7/08, aum strut wrote: > i need to transfer data from the user registration page to > the java beans to be used for inserting values in the data base. > i have created two seperate beans for this 1) for storing user > address field and second is for storing user login information. > > i want that when user cllick on the REgister button these > two Beans get filled with the respective values from the UI. > i have named the corresponding fields in the beans with respect > to the fields name in the UI. > What, precisely, is the issue? If you have a form containing: each bean will contain whatever was entered in the form. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] >>> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >
Re: Struts2 Data Transfer
Yes Dave , There is a sigle form(Page) for this with different sections in it for registration.i only want that the data from this single page should go to different (2 in my case) beans depends upon the fields i have defined in the respective beans. i tied this and is working fine but i want that i should seperate the getter and setter from my action i am using model driven approach and it is filling one beans accurately but i can not fill the second beans in the same getModel() . any other approach so that i can fill thm at the same time once my action get called . On Thu, Oct 9, 2008 at 3:46 AM, Laurie Harper <[EMAIL PROTECTED]> wrote: > Just do what Dave outlined in his previous reply. You need getter/setters > in your action for each bean ([gs]etBean1(), [gs]etBean2() to correspond > with Dave's JSP sample code) and everything should work. Have you tried it? > > L. > > > aum strut wrote: > >> the issue is i have a registration from in the UI which have two >> different >> section in a single page. >> >> 1) User login Information >> 2)Address Information >> >> i want that these two sections should get populated in two different Bean >> by >> the interceptor >> that mean User login fields get Pouplated in the UserLogin Beans while the >> Address section should get populated in the Address Bean when my >> Registration Action get called once user will hit the Register Button. >> >> >> Thanks >> -aum >> >> >> On Tue, Oct 7, 2008 at 10:59 PM, Dave Newton <[EMAIL PROTECTED]> >> wrote: >> >> --- On Tue, 10/7/08, aum strut wrote: >>> i need to transfer data from the user registration page to the java beans to be used for inserting values in the data base. i have created two seperate beans for this 1) for storing user address field and second is for storing user login information. i want that when user cllick on the REgister button these two Beans get filled with the respective values from the UI. i have named the corresponding fields in the beans with respect to the fields name in the UI. >>> What, precisely, is the issue? >>> >>> If you have a form containing: >>> >>> >>> >>> >>> each bean will contain whatever was entered in the form. >>> >>> Dave >>> >>> >>> - >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >