Re: Struts 2 Validation issue

2008-02-09 Thread Jeromy Evans
If if failing to show any data this can only mean the data is blank (unlikely) or the object is not available on the Value Stack. If we look at your two use cases: Case 1.data is posted to your application, the params are set in your action and your action is invoked. Your code in the action

Re: [S2] GWT

2008-02-09 Thread Frans Thamura
but the plugins is not stable i have a good thing www.gwt-ext.com and i am glad if this code can integrated with struts2 F On Feb 10, 2008 8:06 AM, hezjing <[EMAIL PROTECTED]> wrote: > Hi > > Is there any Struts2 + GWT tutorials/articles beside > http://cwiki.apache.org/WW/struts-2-gwt.html? >

[S2] GWT

2008-02-09 Thread hezjing
Hi Is there any Struts2 + GWT tutorials/articles beside http://cwiki.apache.org/WW/struts-2-gwt.html? I need to read more comprehensive tutorials. What is your experience in using Struts2 + GWT? -- Hez - To unsubscribe, e-ma

Re: How to Default a value in dynamic list (s:select)

2008-02-09 Thread Wes Wannemacher
Use the 'value=""' attribute. Assuming the name/value is USA/USA, then the following might work - I believe 'value=' can take an OGNL expression if you want it a bit more dynamic. -Wes On Sat, 2008-02-09 at 15:48 -0500, Raghuveer Rawat wrote: > Hi, How to make a value as default value in a dyn

How to Default a value in dynamic list (s:select)

2008-02-09 Thread Raghuveer Rawat
Hi, How to make a value as default value in a dynamic list s:select? Below code display a List of Countries sorted by Country Name so country name with letter a comes first but I want USA as default country. How to do that? Thanks...

Re: how to know what error is displayed in jsp

2008-02-09 Thread Laurie Harper
Antonio Petrelli wrote: 2008/2/9, hardc0d3r <[EMAIL PROTECTED]>: in a form or action class, you can set an ActionError or ActionMessage. i am wondering if there is a way in jsp that i can know what error occurred in the validation. for example, the username field is left blank so i will add it t

Re: What cd be wrong?

2008-02-09 Thread Nils-Helge Garli Hegvik
Have you remembered the "oldName" hidden field in the edit form? And have you tried downloading the source for the tutorial and see if you get the same behaviour with it? Nils-H On Feb 8, 2008 8:28 PM, Sam Karl <[EMAIL PROTECTED]> wrote: > Hi, > > I'm new to struts and portlets. I tried o

validation for tag

2008-02-09 Thread Raghuveer Rawat
Hi, I need help for mandatory field validation for s:select. I am trying to do client side xml validation. jsp code for country list: I tried with below validation code but it is not working.. Not sure what will be other approach.. Thanks

Re: how to know what error is displayed in jsp

2008-02-09 Thread Antonio Petrelli
2008/2/9, hardc0d3r <[EMAIL PROTECTED]>: > > in a form or action class, you can set an ActionError or ActionMessage. i am > wondering if there is a way in jsp that i can know what error occurred in > the validation. for example, the username field is left blank so i will add > it to the errors. i w

Re: how to know what error is displayed in jsp

2008-02-09 Thread Dave Newton
What version of Struts? --- hardc0d3r <[EMAIL PROTECTED]> wrote: > > in a form or action class, you can set an ActionError or ActionMessage. i > am > wondering if there is a way in jsp that i can know what error occurred in > the validation. for example, the username field is left blank so i wil

how to know what error is displayed in jsp

2008-02-09 Thread hardc0d3r
in a form or action class, you can set an ActionError or ActionMessage. i am wondering if there is a way in jsp that i can know what error occurred in the validation. for example, the username field is left blank so i will add it to the errors. i want to be able to highlight that field so that the

Re: java.lang.NoClassDefFoundError for beanutils converter

2008-02-09 Thread hardc0d3r
antlr.jar commons-beanutils.jar commons-digester.jar commons-fileupload.jar commons-logging.jar commons-validator.jar jakarta-oro.jar jstl.jar mysql-connector-java-3.0.17-ga-bin.jar standard.jar struts.jar xniit2003 wrote: > > Can you share what are the jar files you have in your lib folder. >

Re: j4 and retrotranslator

2008-02-09 Thread Antonio Petrelli
2008/2/9, Brian Relph <[EMAIL PROTECTED]>: > > org.apache.struts > struts2-core-j4 > 2.0.11 > > > > com.opensymphony > xwork-j4 > 2.0.4 > Are retrotranslated packages deployed in the repository? I thought that the deployment was made only for 2.1.x package (I remember it since I di

Re: j4 and retrotranslator

2008-02-09 Thread Nils-Helge Garli Hegvik
Yeah, I had the same problem trying to build a struts 2 portlet for WebSphere 5.1. I found that I had to downgrade the retrotranslator plugin to version 1.0-alpha-2, I think it was. Nils-H On Feb 9, 2008 12:13 AM, Brian Relph <[EMAIL PROTECTED]> wrote: > Has anyone built a java 1.4 compatible str