Re: s:select help

2010-05-03 Thread Upasana Sharma
I have also seen that there is some function called ordinal() in enum. can anyone suggest how can i use it in s:select tag On Tue, May 4, 2010 at 12:01 PM, Upasana Sharma wrote: > Hi I am using s:select and populating it with enum . > > > the enum is like > > public enum EComplaintType { >

s:select help

2010-05-03 Thread Upasana Sharma
Hi I am using s:select and populating it with enum . the enum is like public enum EComplaintType { CLUB_HOUSE(0), ELECTRIC(1); } In the jsp the select is formed as CLUB_HOUSE ELECTRIC Here both the key and value for the select are the same as the Name i have given in enum EComp

Spring WebFlow Plugin status

2010-05-03 Thread RogerV
Anyone know what the current status of this plugin is. Back in December 2009, Musachy posted that it needed "fixing" to work with Spring WebFlow 2.0. Does anyone know if this has been done, before I start trying to use it? Regards -- View this message in context: http://old.nabble.com/Spring-We

Re: Parts in the documentation are not displayed correctly

2010-05-03 Thread Lukasz Lenart
2010/5/3 stlecho : > > It seems that parts of the Axis2 documentation are not displayed correctly > (see underneath screenshot). All I can see is a blue rectangular, but not > the content. Could this be solved ? Sure, please provide the full path to document with the problem! Regards -- Ɓukasz

RE: Validate without submit?

2010-05-03 Thread Martin Gainty
can you supply 1)all jsps 2)struts-default.xml specifically everything between and everything between 3)relevant action classes 4)relevant pojos such as backing beans etc. thanks, Martin Gainty ___

Re: Validate without submit?

2010-05-03 Thread Ozu Natsu
More info... This is getting more confusing to me by the minute. If I use these interceptors as such in my action: It appears that the parameters are not being parsed correctly. I don't know that for sure, but I suspect that is the case because all validation fails and all messages are retu

Re: Validate without submit?

2010-05-03 Thread Ozu Natsu
The params interceptor is in the stack, I had included the basicStack -- but also expressly included it as well to see if there was a difference in behavior. In FF I can see the query string of the form elements for the request, so I am sure that they are being passed. The paramter string looks li

RE: input fields with dynamic names

2010-05-03 Thread Martin Gainty
//The action class contains a (dynamically populated) collection such as persons defined here @Result(name="list", value="listPeople.action", type=ServletRedirectResult.class) public class EditPersonAction extends ActionSupport { ArrayList persons = new ArrayList() } //then the jsp makes

Convention plugin - passing parameters

2010-05-03 Thread RogerV
Could somone suggest why this works @Result(name="identify", type="redirectAction", location="connect",params={"reference","%{serialNumber}"}) and this doesn't @Result(name="identify", type="chain", location="connect",params={"reference","%{serialNumber}"}) and what I need to do to get the cha

Re: input fields with dynamic names

2010-05-03 Thread Mitch Claborn
Bump. Any other ideas? mitch Mitch Claborn wrote: That works for setting parameter names, but not so well when the tags in the JSP need to retrieve the value for display in the page, particularly if there is a validation error. If there is a static field named "fred" and the action has a "

Re: Error in running juit test case for struts2 action class

2010-05-03 Thread rameshbabu
Thanks for ur reply. I have another problem with the StrutsSpringTestCase. This is my code. -- import org.apache.struts2.StrutsSpringTestCase; import ipl.admin.action.RoleMasterNewAction; import ipl.admin.beans.RoleMasterNewBeanRemote; impo

Parts in the documentation are not displayed correctly

2010-05-03 Thread stlecho
It seems that parts of the Axis2 documentation are not displayed correctly (see underneath screenshot). All I can see is a blue rectangular, but not the content. Could this be solved ? http://old.nabble.com/file/p2840/struts2_doc.png -- View this message in context: http://old.nabble.com/P