Zoran Avtarovski wrote:
I'm trying to find a way to use the isUserInRole method with the c:if tag.
I tried
But you can't use the isUserInRole method as an expression. I'd rather not
have to cast the role into a page context string to test. Using the
logic:present tag is more preferable. I only ask
I was going to wait for a bit before I switched, but I have come across
a discrepancy in IE and firefox to do with the tag.
I want to use the tag but the action param didn't come in
'till 1.2.
The question really is: How painful is to to upgrade? What is the bare
minimum I can get away wit
You should be able to use the
where the id of the bean is the key that had been used to set the attribute.
What were you using when your tag was trying to create
a new instance?
Tim
> -Original Message-
> From: Pavlikus [mailto:[EMAIL PROTECTED]
> Sent: 20 June 2004 15:22
> To: [EMAIL
> -Original Message-
> From: Pilgrim, Peter [mailto:[EMAIL PROTECTED]
> Sent: 17 June 2004 09:53
> To: 'Struts Users Mailing List'
> Subject: RE: Setting locale for the webapp
>
> > -----Original Message-
> > From: Tim Penhey [mailto:[EMAIL
produces type tags
whereas
produces type tags.
> -Original Message-
> From: Asim Ghosh [mailto:[EMAIL PROTECTED]
> Sent: 17 June 2004 08:57
> To: [EMAIL PROTECTED]
> Subject: Diff. b/w and
>
>
> hello guys,
>
> can any one tell me what is the diff. b/w and
>
>
> Asim
>
I have a web application where I want to have the locale defined in the deployment
descriptor somewhere.
The web application acts as the GUI for a system that will be sold to clients. The
clients will then have their own tomcat / DB instance running. I am using the struts
I18N
to allow multiple
Hi All,
If I have a property that is a java.util.Date, how can I provide it with a default
value
of today?
Thanks,
Tim
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Does the DynaValidatorForm handle java.util.Date?
If it does, how does it handle I18N for input?
Thanks,
Tim
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Instead of having the tags just write the HTML, also include a
// in here put your iterate tags whether they be JSTL or struts
// then just use the standard javascript event handler to modify the pages.
add onchange attributes to the form elements to call the javascript functions.
Tim
My own stupid fault.
I had set the value="" for the in order to try to get around the
problem
I had before I changed the scope to request.
Removed those and it now works ;-)
Tim
> -Original Message-----
> From: Tim Penhey [mailto:[EMAIL PROTECTED]
> Sent: 02 June 2004
Still working with the DynaValidatorForm.
I am trying to test by directly going to the action and not passing in all the required
parameters to make sure that the form validation is working (if I use my entry jsp the
javascript validation catches the problems [as designed]), but being the paranoid
t; although an action mapping can change this by using the "attribute"
> attribute.
>
> Hubert
>
> --- Tim Penhey <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I am trying to test some validation that I have set up for one of my
> > actions.
Hi All,
I am trying to test some validation that I have set up for one of my actions.
I am using the org.apache.struts.validator.DynaValidatorForm with a couple of Strings
and
an Integer. However in my test to check the required validation, it appears to be
grabbing an existing form from some sc
That could work. BTW where is the advanced tiles PDF?
The other possibility I suppose is to have the default layout use an include that
specifies
and it could be overriden in an extended tile definition to use
${item.name}
but my question on that is the efficiency of having two li
gt; Subject: Re: Tiles and changing the title based on content
>
>
>
>
> - Original Message -
> From: "Tim Penhey" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Friday, May 21, 2004 4:59 PM
> Subject
I was wondering if there is any way to change the title based on the content of a tiles
based page?
I have a current JSP where the title is:
${item.name}
Do people have any solutions to this? At the moment my layout has the following:
Preferably a simple solution, oth
> From: Eric Dahnke [mailto:[EMAIL PROTECTED]
> Sent: 20 May 2004 16:42
>
> Hello list,
>
> The field should only accept numbers, spaces, dashes and periods.
>
>
> mask
> ^[0-9]*$
>
>
> I can't figure the regext syntax out, I've tried all the following:
>
> ^[0-9]\.\s-*$
> ^[0-9
> From: Joe Germuska [mailto:[EMAIL PROTECTED]
> Sent: 20 May 2004 15:51
>
> At 3:13 PM +0100 5/20/04, Tim Penhey wrote:
> > > From: Joe Germuska [mailto:[EMAIL PROTECTED]
> >> Sent: 20 May 2004 14:47
> >>
> >> You can put Javascript anywhere i
> From: Joe Germuska [mailto:[EMAIL PROTECTED]
> Sent: 20 May 2004 14:47
>
> At 2:32 PM +0100 5/20/04, Tim Penhey wrote:
> >I am thinking about using tiles to simplify some of my JSPs, but many of my
> >pages are javascript heavy. All the js is either included or defined
I am thinking about using tiles to simplify some of my JSPs, but many of my
pages are javascript heavy. All the js is either included or defined in the
section, but I am curious to know how other people have defined their
layouts.
Do you end up defining a very small tile that defines the for
ex
20 matches
Mail list logo