re problem with html:cancel

2007-08-02 Thread Charl Gerber
OK, I think I found the problem. So if someone can come up with a feasible workaround, please! Its nothing struts related, btw. Javascript. I have a form onSubmit function which disabled all the input buttons to prevent users from clicking buttons twice or clicking another button (the actions take

Re: problem with html:cancel

2007-08-02 Thread Charl Gerber
server --- Paul Benedict <[EMAIL PROTECTED]> wrote: > Is the problem with server or client validation? > > On 8/2/07, Charl Gerber <[EMAIL PROTECTED]> > wrote: > > > > OK, more info if I remove the styleId > attribute, > > then it works. Maybe s

Re: problem with html:cancel

2007-08-02 Thread Charl Gerber
now what is going > on. Can you debug into the Controller and tell me > what you see when it tries > to detect when the cancel flag? > > On 8/2/07, Charl Gerber <[EMAIL PROTECTED]> > wrote: > > > > > name="org.apache.struts.taglib.html.C

Re: problem with html:cancel

2007-08-02 Thread Charl Gerber
;t changing so I > don't know what is going > on. Can you debug into the Controller and tell me > what you see when it tries > to detect when the cancel flag? > > On 8/2/07, Charl Gerber <[EMAIL PROTECTED]> > wrote: > > > > > name="org.apache.

Re: problem with html:cancel

2007-08-02 Thread Charl Gerber
> Paste in the generated HTML for both cases please. > > Thanks, > Paul > > On 8/2/07, Charl Gerber <[EMAIL PROTECTED]> > wrote: > > > > Hi, > > > > I've got this tag: > > > > > styleClass="submitbutton" /&

problem with html:cancel

2007-08-02 Thread Charl Gerber
Hi, I've got this tag: But the isCancelled() in the action then always return false, even if I hit the cancel button. If I replace the tag with a default then it works. Looks like something with the generated ID and CLASS attributes that's fishy. Its worth mentioning that the styleId 'cance

Problem with struts form select and html escape codes

2004-12-24 Thread Charl Gerber
Hi, I want to format options in a select (using and ). It should look like: Select me I am 1 No, select me! I am 2 (Ie, there are spaces in the options that should remain). This of course appears as two options in the select. I have made up the text with  ; characters, but it then displa

Re: action forwards to target frames

2004-11-12 Thread Charl Gerber
> to pop out of frames: > > language="JavaScript">top.window.location="mainPage.html"; > > -- Jeff > > Charl Gerber wrote: > > Is it possible to set one action with multiple > > forwards each going to different frames? > > > > Ie, if

action forwards to target frames

2004-11-12 Thread Charl Gerber
Is it possible to set one action with multiple forwards each going to different frames? Ie, if an error occurs, I want to redirect to forward to something in the current frame, but in case of a successful operation, I want to redirect to eg. window.top or another frame altogether. Thanks. -

RE: Cannot find message resources under key org.apache.struts.action.MESSAGE

2004-10-25 Thread Charl Gerber
OK, I got it working it seems you know HAVE to specify the resouces in the struts configuration as and not in the web.xml anymore as a parameter to the action servlet. Might be helpful to other people. Charl parameter="com.systemmobile.example.ApplicationResources"/> ---

RE: Cannot find message resources under key org.apache.struts.action.MESSAGE

2004-10-25 Thread Charl Gerber
> > Hope this helps. > > -Original Message- > From: Charl Gerber [mailto:[EMAIL PROTECTED] > Sent: Monday, October 25, 2004 3:02 PM > To: Struts Users Mailing List > Subject: Cannot find message resources under key > org.apache.struts.action.MESSAGE > > I

Cannot find message resources under key org.apache.struts.action.MESSAGE

2004-10-25 Thread Charl Gerber
I've upgraded from Struts 1.1 to 1.2.4. The only changes are the new jars and ActionError has been replaced by ActionMessage. Nothing else. Now I get the exception: Cannot find message resources under key org.apache.struts.action.MESSAGE I read it might have something to do with xml parsers, but

RE: Parsing error processing resource path

2004-09-16 Thread Charl Gerber
t; Struts. If you do, just > remember to put anything important in the Session > scope or it'll be lost > during the HTTP redirect (for that particular > forward). > > Regards, > David > > -Original Message- > From: Charl Gerber [mailto:[EMAIL PROTECTED] >

Parsing error processing resource path

2004-09-16 Thread Charl Gerber
Hi, I have an action defined with a Ie, forwarding to a 'normal' servlet. This causes struts to throw "Parsing error processing resource path". If I replace the path with something more normal (without the parameters), it works. Any ideas why struts cannot parse this path string? Thanks ---