Well, I said this was the gereral solution ;-) But yes, I forgot about
that, which makes things that bit simpler for this case.
L.
Rahul Akolkar wrote:
On 11/22/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
For the record, here's the general solution as well, for situations
where you can't us
On 11/22/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> For the record, here's the general solution as well, for situations
> where you can't use the element body like that. First, defining a
> scripting variable:
>
>
http://marc.theaimsgroup.com/?l=struts-user&m=113269509808314&w=2
-Rahul
For the record, here's the general solution as well, for situations
where you can't use the element body like that. First, defining a
scripting variable:
Or, to avoid the scripting variable, you can use jsp:attribute:
This comes up on the list so often, I think I
t;
I wouldn't recommend that. I suspect the only thing we might end up
confusing is ourselves ;-)
-Rahul
> Shawn
>
> -Original Message-
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 22, 2005 2:43 PM
> To: Struts Users Mailing Lis
On 11/22/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> On 11/22/05, Rahul Akolkar <[EMAIL PROTECTED]> wrote:
> > On 11/22/05, Nick Sophinos <[EMAIL PROTECTED]> wrote:
>
> > This is definitely not how JSTL recommends loading bundles (see
> > fmt:bundle and fmt:setBundle). Ofcourse, its your decision.
might be able to better
determine your meaning.
Shawn
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 22, 2005 2:43 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: Re: JSTL messages problem
Ok, today is apparently the
: Tuesday, November 22, 2005 2:43 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: Re: JSTL messages problem
Ok, today is apparently the day I get to ask a bunch of stupid questions...
Why doesn't this work?
" />
I get...
org.apache.jasper.JasperException: /in
On 11/22/05, Rahul Akolkar <[EMAIL PROTECTED]> wrote:
> On 11/22/05, Nick Sophinos <[EMAIL PROTECTED]> wrote:
> This is definitely not how JSTL recommends loading bundles (see
> fmt:bundle and fmt:setBundle). Ofcourse, its your decision.
Can you explain more about this? I'm also using the contex
I admit I always forget the and elements, among others,
support body text. Had I remembered that I would have come up with this
on my own :) But thanks Ed (and Wendy after the fact ;) ), that worked
perfectly.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http
Yes, I saw those tags as I was researching, wasn't sure how to use them
though... is there a good reason to use them over the context param (or
vice-versa)? I would personally think the context param would be better
as it would be more global and would cut down on some tags on the page...
also, wi
On 11/22/05, Ed Griebel <[EMAIL PROTECTED]> wrote:
> I use this idiom all the time to get a message label on a button:
>
>
>
>
> You should be able to substitute above.
What he said. :) I had to go look around the source code of an old
project to refresh my mem
On 11/22/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> > Ok, today is apparently the day I get to ask a bunch of stupid questions...
> >
> > Why doesn't this work?
> >
> > " />
>
> You can't use a JSP tag as attribute of another JSP tag.
>
On 11/22/05, Nick Sophinos <[EMAIL PROTECTED]> wrote:
> Place this in your web.xml file:
>
>
> javax.servlet.jsp.jstl.fmt.localizationContext
> com.omnytext.blah.blah.properties.ApplicationResources
>
>
>
> Where ApplicationResources.properties is the name of the message bundle in
> question.
>
I use this idiom all the time to get a message label on a button:
You should be able to substitute above.
-ed
On 11/22/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> > Ok, today is apparently the day I
On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Ok, today is apparently the day I get to ask a bunch of stupid questions...
>
> Why doesn't this work?
>
> " />
You can't use a JSP tag as attribute of another JSP tag.
Maybe try with the fmt in the body, then use an expression for
the
Ok, today is apparently the day I get to ask a bunch of stupid questions...
Why doesn't this work?
" />
I get...
org.apache.jasper.JasperException: /index.jsp(36,83) equal symbol expected
...when I try it. doesn't work either... it's obviously a
problem with embedding one taq in another, so
Yep, just figured that out myself :)
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
On Tue, November 22, 2005 3:27 pm, Wendy Smoak said:
> On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTE
Ah, I got it! The parameter should have been app_resources WITHOUT the
.properties. Now it works. Thanks Nick, I appreciate your time!
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
O
On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> I added this but it still didn't work... One thing that didn't make sense
> to me is that I have app_resources_en.properties in WEB-INF/classes, so I
> wasn't sure how to qualify that in a package structure, so I just put
> app_resources.
Hi Nick,
I added this but it still didn't work... One thing that didn't make sense
to me is that I have app_resources_en.properties in WEB-INF/classes, so I
wasn't sure how to qualify that in a package structure, so I just put
app_resources.properties... is that right or am
I misunderstanding some
Place this in your web.xml file:
javax.servlet.jsp.jstl.fmt.localizationContext
com.omnytext.blah.blah.properties.ApplicationResources
Where ApplicationResources.properties is the name of the message bundle in
question.
- Nick
On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>
> Hel
21 matches
Mail list logo