java.util.List in FormBean

2007-05-11 Thread zuban
Hi, in a FromBean I have a java.util.List (to populate a ). If I submit the form the List is set to null. For String datatypes I would use hidden input fields to solve this. But what should I do by a List? -- View this message in context: http://www.nabble.com/java.util.List-in-FormBean-tf372922

Re: Decode Request Parameters

2007-05-10 Thread zuban
ok, I added "URIEncoding="UTF-8"" in server.xml tomcat-config-file Now it works fine. -- View this message in context: http://www.nabble.com/Decode-Request-Parameters-tf3718189.html#a10411761 Sent from the Struts - User mailing list archive at Nabble.com. --

Decode Request Parameters

2007-05-09 Thread zuban
how do I decode a request parameter? like this on: /.../EditUser.do?id=g%C3%BCltz the value should be: "gültz" in my Action-Class I do the following: - public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpS

Re: Trouble with DispatchAction

2007-05-07 Thread zuban
Michael Jouravlev wrote: > > Simple ways don't work for you, eh? Why would not you just use plain old > > > No, because of using resource bundles to set the value of the buttons for different languages. Michael Jouravlev wrote: > > Do you need to have different events for one button depen

Re: Trouble with DispatchAction

2007-05-06 Thread zuban
Laurie Harper wrote: > > zuban wrote: >> It is working if I type manualy ExampleSubmit.do?method=delete >> (The delete-method in the action-class ist calling) >> >> It is also working with this submit-button: >> >> >> But why doesn&

Trouble with DispatchAction

2007-05-05 Thread zuban
Hi, at first my code. my DispatchAction-Class: public class ExampleAction extends DispatchAction { public ActionForward delete(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { Sy

RE: Newbie. validate Inputs. Request-Attribute lost

2007-04-25 Thread zuban
ments()) { System.out.println(e.nextElement()); } but there is no "userDetail". Hafeez-ur Rehman wrote: > > Hi, > > Set the userDetail as the same manner in validate as you set it in action. > > -----Original Message- > From: zuban [mailto:

RE: Newbie. validate Inputs. Request-Attribute lost

2007-04-25 Thread zuban
After the failure of validate method, you need > to > set it again "optionsCollection" as request attribute if you don't want to > make is session level attribute. > > Hafeez > > -Original Message- > From: zuban [mailto:[EMAIL PROTECTED] > Sent: Wednesda

Newbie. validate Inputs. Request-Attribute lost

2007-04-25 Thread zuban
Hi, I have in a form a list of Options (optionsCollection). The object (a java.util.List) which holts the values for the optionsCollection is in the request-scope. When submitting the form and an error occurs in the validate-methode of the Form-Bean, the form-jsp-page appears again (of course), bu