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
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
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
;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.
> 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" /&
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
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
> 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
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.
-
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"/>
---
>
> 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
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
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]
>
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
---
14 matches
Mail list logo