Mark (back from Amsterdam)
>
> -Original Message-
> From: Chang, Henrique [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 15, 2002 4:46 PM
> To: 'Struts Users Mailing List'
> Subject: html:errors ActionErrors accessible as scripting variable?
>
>
> I have
;s any tag for this so you may want to create it.
-Original Message-
From: Chang, Henrique [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 1:46 PM
To: 'Struts Users Mailing List'
Subject: html:errors ActionErrors accessible as scripting variable?
I have JSP page that shou
Thanks, this is what I was looking for!
Henrique.
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 5:06 PM
To: 'Struts Users Mailing List'
Subject: RE: html:errors ActionErrors accessible as scripting variable?
<%
Ac
day, July 15, 2002 4:46 PM
To: 'Struts Users Mailing List'
Subject: html:errors ActionErrors accessible as scripting variable?
I have JSP page that should determine whether there are errors or not in
order to display certain parts of the page.
So, is there a way to access the ActionError
I have JSP page that should determine whether there are errors or not in
order to display certain parts of the page.
So, is there a way to access the ActionErrors object in a JSP as a scripting
variable, or even better, a tag lib structure so that I can check for the
existence of the ActionErrors
"Erik Hatcher" <[EMAIL PROTECTED]> wrote:
> > But I still can access the form bean in scriplet, only the scriplet is
> > more complicated and error prone. And when so many other structs tags
> > define scriplet varibales, why should not do it too?
>
> No arguments here. It certainly could
The best thing would be to submit a patch to Bugzilla as an enhancement
request and a use-case to DEV to convince someone to commit the patch
;-)
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 737-3463.
-- http://www.husted.com/about/struts/
> > > Now I have to either covert the attribute to local variable or
> > > use . Why not just create the variable like
> > > does?
> >
> > But one of the main purposes of Struts is to get away from using
> scriptlets.
>
> I agree. There are tasks where no scriplets are necessary so they should
>
"Erik Hatcher" <[EMAIL PROTECTED]> wrote:
> > Perhaps. But sometimes I just want to use the form in a scriplet.
>
> Perhaps? Well, it DOES create a page scoped attribute - no perhaps about
> it! :) I checked the source, FormTag.java.
OK, ok :-)
> > Now I have to either covert the attribut
variable like
> does?
But one of the main purposes of Struts is to get away from using scriptlets.
- Original Message -
From: "Erik Hatcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 7:25 PM
Subject: Re: & scripting variable
IL PROTECTED]>
Sent: Tuesday, July 24, 2001 7:25 PM
Subject: Re: & scripting variable
> It does set a page scoped attribute (keyed by the form name from the
> mapping) that contains the form object.
>
> Erik
>
>
> - Original Message -
> From: "Gre
It does set a page scoped attribute (keyed by the form name from the
mapping) that contains the form object.
Erik
- Original Message -
From: "Gregor Rayman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 9:50 AM
Subject: &
Hi,
why does generate no scripting variable? Would be nice, if
it did.
--
gR
--
From: "Vandana Gupta/Raleigh/IBM" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 10, 2000 4:08 PM
Subject: Scripting variable from ?
> Hi,
>
> Is it possible to get a String from ApplicationResources.properties using
> struts:message and put it
Hi,
Is it possible to get a String from ApplicationResources.properties using
struts:message and put it into a scripting variable to be used later in
the jsp??
I wished to do the following:
where mytag is a custom tag.
This does not work for a custom tag though it works for a normal HTMl
15 matches
Mail list logo