On Sat, 09 Oct 2004 11:39:41 +1000, Zoran Avtarovski <[EMAIL PROTECTED]> wrote:
> Thanks guys,
>
> In the end I stuck with the logic tag. But I do think this highlights a
> deficiency in the JSTL tags.
>
> Is sun open to suggestions on this topic? I think there is a need for a
> security/authoris
Thanks guys,
In the end I stuck with the logic tag. But I do think this highlights a
deficiency in the JSTL tags.
Is sun open to suggestions on this topic? I think there is a need for a
security/authorisation tagset as part of JSTL.
Zoran
> I couldn't find a way in JSTL/EL using the standard ta
I couldn't find a way in JSTL/EL using the standard tags. So it looks
like we need a tag with that ability.
In that case it probably doesn't matter if you use the logic tag or the
other suggestion of the request tag.
I see that the logic tag allows you to check for more than 1 role eg
whereas
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'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 because I get the fee
Woodchuck wrote:
ugh. i don't want to use scriptlets but it seems so much easier to.
do you think it's bad to mix scriptlets with Struts and JSTL?
For the most part, I think so yes. I'd use the Unstandard Tag you posted
http://marc.theaimsgroup.com/?l=struts-user&m=109352654917026&w=2
(which,
hi Rick,
with the help of Paul McCulloch, the best i've found so far is this:
http://marc.theaimsgroup.com/?l=struts-user&m=109352654917026&w=2
it uses a tag library, which i suspect the tag is doing something
similar to what you suggested initially
the tag binds the static variable that you wa
Woodchuck wrote:
before i use this suggestion, would anyone else like to challenge this
solution with a *more elegant* solution? ;)
If you find one, let me know.
--
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
There was a thread asking exactly the same question earlier in the week.
Have a look in the archives.
Paul
> -Original Message-
> From: Woodchuck [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 27, 2004 5:06 PM
> To: Struts Users Mailing List
> Subject: Re: Struts or JSTL
uck wrote:
>
> > how can i do the following the non-scriptlet way on my jsp page?
> >
> > <%@ page import="MyPackage.Constants"%>
> >
> > <%= Constants.BUTTON__KEY %>
> >
> >
> > is there an elegant Struts or JSTL equivale
Of course supplying getters for your constant values would work like a
charm for JSTL ;-)
Rick Reumann wrote:
Woodchuck wrote:
how can i do the following the non-scriptlet way on my jsp page?
<%@ page import="MyPackage.Constants"%>
<%= Constants.BUTTON__KEY %>
is there an
Woodchuck wrote:
how can i do the following the non-scriptlet way on my jsp page?
<%@ page import="MyPackage.Constants"%>
<%= Constants.BUTTON__KEY %>
is there an elegant Struts or JSTL equivalent for the above?
Thankfully Kris Schneider demonstrated a good way to handle thi
how can i do the following the non-scriptlet way on my jsp page?
<%@ page import="MyPackage.Constants"%>
<%= Constants.BUTTON__KEY %>
is there an elegant Struts or JSTL equivalent for the above?
thanks in advance!
_
...
Dean A. Hoover wrote:
I am attempting to change my application to
use jstl wherever possible. Is there an equivalent
in jstl for the logic:present tag?
For example, I use:
is there some way to do this in jstl?
Thanks.
Dean Hoover
---
Try
--Do Something
--Deepak
- Original Message -
From: "Dean A. Hoover" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 18, 2004 1:37 PM
Subject: logic:present jstl equivalent?
> I am attempting to change my application to
> use jstl wh
I am attempting to change my application to
use jstl wherever possible. Is there an equivalent
in jstl for the logic:present tag?
For example, I use:
is there some way to do this in jstl?
Thanks.
Dean Hoover
-
To unsubscribe, e-ma
From: "Nathan Maves" <[EMAIL PROTECTED]>
> Anyone have a quick replacement for the following?
>
>
>
>
>
>
See if this helps:
http://wiki.apache.org/struts/StrutsDeprecatedActionErrors
--
Wendy Smoak
-
T
Anyone have a quick replacement for the following?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
18 matches
Mail list logo