auto selection

2005-08-23 Thread Chatzinikos, Fotis, VF-GR Consultant
Hello again, Some days ago I sent a mail here (Title: Pre-population of tag using multiple tags) and got no reply. Could somebody provide a working example of a combination of a FormAction and a jsp page that correctly set an html list (select) tag to the correct (selected) value? Thanks in a

Pre-population of tag using multiple tags

2005-08-18 Thread Chatzinikos, Fotis, VF-GR Consultant
Hello Everybody, I am trying to pre-populate a jsp page form via the reset function of an ActionForm. All values appear correctly in the form except the select / option combinations. Could somebody have a look at the following and provide some pointers? (Have not used

RE: Use to write special characters?

2005-08-12 Thread Chatzinikos, Fotis, VF-GR Consultant
I think that if you do your problems will disappear :-). Cheers, Fotis PS: A bit clearer : make sure that you type filter="false" inside your tag -Original Message- From: Thai Dang Vu [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 11:34 PM To: user@struts.apache.org Subject:

RE: action executing two times

2005-08-04 Thread Chatzinikos, Fotis, VF-GR Consultant
lto:[EMAIL PROTECTED] Sent: Thursday, August 04, 2005 5:31 PM To: Struts Users Mailing List Subject: RE: action executing two times --- "Chatzinikos, Fotis, VF-GR Consultant" <[EMAIL PROTECTED]> wrote: > I had the same problem with my action executing twice and I tracked > th

RE: Html:link with DynaActionForm

2005-08-04 Thread Chatzinikos, Fotis, VF-GR Consultant
I have dine something similar that works. I configure an action in the struts config file that defines the formbean to use. Then the onclick method of the link uses javascript to fill in the form and then calls document.getElementById("myForm").submit() ; The form bean arrives filled and ready to

RE: action executing two times

2005-08-04 Thread Chatzinikos, Fotis, VF-GR Consultant
I had the same problem with my action executing twice and I tracked the problem in the struts-config file. When an action is of type X and a second completely different action is of the same type X then the problem occurs... Check your config file for actions that share the same type... Cheers,

RE: MessageResources file encoding

2005-08-03 Thread Chatzinikos, Fotis, VF-GR Consultant
Hi, I had similar problems with Greek characters (ISO-8859-7). After loads of research I found out that to work the property file needs to be Unicode encoded (and in UTF8 preferably). For example the String 'Φώτης' to appear in the web application has to be encoded as \ux\ux and so on.

RE: Re: action executing two times

2005-08-03 Thread Chatzinikos, Fotis, VF-GR Consultant
Same problem here, A form uses a submit button and the related action is called twice. This was probably happening from the start of my project but I just found out when I tried to make some changes and then found out that the second time the incoming form is null so my app crashes if I try to so