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

Re: j4 and retrotranslator

2008-02-09 Thread Antonio Petrelli
2008/2/9, Brian Relph [EMAIL PROTECTED]: dependency groupIdorg.apache.struts/groupId artifactIdstruts2-core-j4/artifactId version2.0.11/version /dependency dependency groupIdcom.opensymphony/groupId artifactIdxwork-j4/artifactId version2.0.4/version /dependency Are

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: 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 want to

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

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 will add

validation for s:select 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: s:select name=user.country headerKey=-1 headerValue=Select Country list=countryList listKey=code listValue=name required=true / I

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 out the

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 to

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? s:select name=user.country headerKey=-1 headerValue=Select Country

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 - s:select name=user.country headerKey=-1 headerValue=Select Country list=countryList listKey=code listValue=name required=true value=USA / I believe 'value=' can take an OGNL

[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,

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? I

Re: Struts 2 Validation issue

2008-02-09 Thread Jeromy Evans
If s:property 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