class has set member, how s:iterator to access it?

2013-06-28 Thread john lee
i have an the following 2 class Part is just parts itself Partxref is the accesary(component) of part.     class Part {                     String  manufacture;                     String  pid;                     private Set partxrefs=new HashSet();                     /* set, get .here */  

how to acess sublist of list from s:iterator

2013-06-28 Thread john lee
i have an the following 2 class Part is just parts itself Partxref is the accesary(component) of part.     class Part {                     String  manufacture;                     String  pid;                     private Set partxrefs=new HashSet();                     /* set, get .here */

RE: OGNL WARNING

2013-06-28 Thread Martin Gainty
Hack1) rewrite the interceptor good_input.ftl the request will need to go to the action alias 'actionPrefix' instead of the predefined 'submit' action alias. so the ftl will rewrite the action alias for submit tag the ftl will look something like <@s.form action="

Re: Validator with annotations

2013-06-28 Thread Simone Camillo Buzzi
Hi, the goal that I'm trying to reach is to reduce the number of variables and method into the Struts action to improve code readability and maintainability. I'm using hibernate, so I could obtain a good synergy if i can set value coming from parameters directly into the hibernate model bean, maint

Re: Warning message when execAndWait

2013-06-28 Thread Felipe Lorenz
In the link you can see some example and how you can redefine it: http://struts.apache.org/release/2.3.x/docs/struts-defaultxml.html But, as far as I can see, toke interceptor is not used by any stack. Probably the version is different. Felipe Lorenz Em 27/06/2013, às 20:59, ngarigar...@yahoo

Re: OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
As i replied in the jira, we are heavily depends on "bang" syntax, how can we fix this... changing all ! is literally impossible now, since we have hundreds of action urls are in "bang" style. -- Thanks & Regards Srikanth Software Developer eGovernments Foundation

RE: OGNL WARNING

2013-06-28 Thread Martin Gainty
Using the "bang" syntax, any alias method on an Action can be called from the action, submit, or button tags. Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht de

Re: OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
Updated in Jira https://issues.apache.org/jira/browse/WW-4132 -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jun 28, 2013 at 1:50 PM, Maurizio Cucchiara wrot

Re: OGNL WARNING

2013-06-28 Thread Maurizio Cucchiara
So, could you provide us some more details, maybe by filing an issue on jira [1] with a sample code. [1] https://issues.apache.org/jira/browse/WW Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/maur

Re: OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
Yes it was working -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jun 28, 2013 at 1:21 PM, Maurizio Cucchiara wrote: > Looks like the colon char is not an e

Re: Validator with annotations

2013-06-28 Thread Maurizio Cucchiara
Ciao Simone, have a look at VisitorFieldValidator [1] [2] and model driven. IMO it's better to keep the annotations inside the action rather than the bean (you can have different use cases for the same model). [1] http://struts.apache.org/release/2.3.x/docs/visitorfieldvalidator-annotation.html

Re: OGNL WARNING

2013-06-28 Thread Maurizio Cucchiara
Looks like the colon char is not an expected input parameter. You talk about latest distro, did it works before with other distros? On 28 June 2013 09:43, Sreekanth S. Nair wrote: > action:documentManager!updateDocument > Twitter :http://www.twitter.com/m_cucchiara G+ :https://plu

OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
Don't know whats the reason i'm getting this following WARNIng in latest struts distro. WARN [com.opensymphony.xwork2.ognl.OgnlValueStack] (http-localhost/127.0.0.1:8080-1) Error setting expression 'action:documentManager!updateDocument' with value '[Ljava.lang.String;@1c1abc1': ognl.ExpressionSy