What do you mean by doesn't work?
Do you get error messages? What does the generated html look like? Does
fmt:message work on it's own? Does using bean:message instead of
fmt:message make any difference?
Paul
-Original Message-
From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED]
You can use the struts-el taglib in the contrib directory. That allows
you to use EL in the Struts tags.
David
--- Denis @ Betterway [EMAIL PROTECTED] wrote:
Hey everyone,
I have a problem where I want to use a map backed form and I basically
want
to do this:
: JSTL ot struts taglibs?
If they aren't faster in performance then something is
wrong. All the
JSP rendering practically has to do is put the code as is into the
Servlet which
is a Java class. No interpretation. I haven't looked at the source
but
I
am sure the optimization
To: 'Struts Users Mailing List'
Subject: RE: JSTL ot struts taglibs?
Maybe you could post this to the ECS users group. Scriptlets are fine, but
tend to lend themselves to having lots of lines of code in a page that
doesn't actually generate html, which is tough to read if you are trying to
lay
Has this easier to use premiss been run past any folks with good
markup skills, but aren't programmers as such? Seems to me the only
folks who are saying this is easier lean more toward the programming
end of the spectrum than formatting folks. Um the burden of using
expert groups.
On
a href=c:out value='${perms.link}'/
c:out value='${perms.description}'/
/a
/c:otherwise
/c:choose
/c:forEach
/li
/ul
Original Message
Subject: [OT] RE: JSTL ot
List'
Subject: RE: JSTL ot struts taglibs?
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 3:45 PM
To: Struts Users Mailing List
Subject: Re: JSTL ot struts taglibs?
Bailey, Shane C. wrote:
[Snip]
Why should build files be composed of tags
You are not alone is questioning the solutions to the view problem.
This is an interesting problem and will really challenge the open source
community to solve it. Right now, everyone has an opinion, no one has a
real solution, each individual users needs are limited (they tend to solve
their
.
:)
-Original Message-
From: Reinhard [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 12:04 PM
To: Struts Users Mailing List
Subject: Re: JSTL ot struts taglibs?
So many things are a step backwards like config files for instance. J2EE
is supposed to be for the Enterprise which means
On Sun, 10 Aug 2003, Marco Tedone wrote:
Where's the java code here? How could it be done with less effort by means
of JSTL and Struts-el?
One aspect that hasn't been touched on in this thread (completely aside
from readability, which tends to be a subjective judgement call) is the
fact that
]
Sent: Friday, August 08, 2003 12:24 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] RE: JSTL ot struts taglibs?
Just like you never said JSF will replace JSTL I never said I was going to
eat a bunny. ;)
-Tim
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent
it's easier than Struts taglibs!!!
Cheerse,
Marco
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, August 10, 2003 7:17 PM
Subject: Re: JSTL and Struts-el
All this came up a few weeks ago, so I made a couple of JSP's
I think Craig answered this topic about a month ago quite lucidly -
check the archives for the full version, but basically he said if you
have the choice, use JSTL, otherwise don't worry but at some distant
point in the future you will probably have to use JSTL (or whatever else
comes along
Hmm, yeah. I wouldn't hold your breath on that. I mean the JSTL people did
feel the need to include database tags, even though no one really thinks
that's a good idea (if you do, I'm really not interested). Anyways, it's
happy hour, go have a beer (unless you're not in NYC, but I'm not sure if
PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, August 10, 2003 9:37 PM
Subject: Re: JSTL and Struts-el
Marco
thanks for clearing that up for me.. so have you written some example
pages and asked folks what's going on in them then? or by easier you
mean you can hack
: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: August 8, 2003 11:43 AM
To: 'Struts Users Mailing List'
Subject: RE: JSTL ot struts taglibs?
You're right, ant does have $var in it I use my IDE to build
and forgot.
I just think that is a step backwards doing tags that way.
So many
replacement for those step backwards tags.
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 11:51 AM
To: Struts Users Mailing List
Subject: RE: JSTL ot struts taglibs?
--- Bailey, Shane C. [EMAIL PROTECTED] wrote:
Don't get me wrong, I think
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 3:45 PM
To: Struts Users Mailing List
Subject: Re: JSTL ot struts taglibs?
Bailey, Shane C. wrote:
[Snip]
Why should build files be composed of tags at all? I think Ant is great
too (a lot
To: 'Struts Users Mailing List'
Subject: RE: JSTL ot struts taglibs?
Scriptlets are more powerful (you can do ANYTHING Java can do), faster, is a
standard (it is the Java language you know) and if you are going to spend
time learning a new language (${var} == pooPoo) then you would be better
off learning
Mark Lowe wrote:
Has this easier to use premiss been run past any folks with good
markup skills, but aren't programmers as such?
I believe, that tags aren't targeted to programmers but to designers, which
where supposed to have less programmer skills.
This may be true only for bigger
--- Marco Tedone [EMAIL PROTECTED] wrote:
Hi everyone,
it's quite a long time that I am not monitoring the struts-user list any
more...Last time was about three months ago. One of my project's new
entry
asked me why don't we use JSTL and Struts-el instead of taglibs and
Struts
Part of the problem is that there are so many ways (none of which are
particularly good compared to .NET) to paint pages in Java land. JSF is
vapor and has a limited window of opportunity and requires REAL industry
support to succeed before the world moves past it. .NET view technology
Dudley == Dudley Butt Butt writes:
Dudley Hi,
Dudley Is it true to say that one should use JSTL instead of the struts taglibs?
Dudley If so, is JSTL a seperate topic to be learned and therefore will not be
covered in any of the struts books for sale?
You'll find that robust
yes yes. - but you still need html-el.
- Original Message -
From: Butt, Dudley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 9:30 AM
Subject: JSTL and struts tag libraries
Hi,
Is it true to say that one should use JSTL instead of the struts taglibs?
If
All this came up a few weeks ago, so I made a couple of JSP's and asked
some folks who're good HTML'ist's to tell me what they thought was
going on in the pages. I didn't ask any experts but some folks who
use this stuff.
Oh .. and guess what I found? The out of the 5 people I've asked so far
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, August 10, 2003 7:17 PM
Subject: Re: JSTL and Struts-el
All this came up a few weeks ago, so I made a couple of JSP's and asked
some folks who're good HTML'ist's to tell me
On Sun, 10 Aug 2003, Marco Tedone wrote:
Date: Sun, 10 Aug 2003 22:36:01 +0100
From: Marco Tedone [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: JSTL and Struts-el
That's sounds great Craig, thanks. I can
that I was still in 1.1-rc1 :))
Marco
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, August 10, 2003 10:20 PM
Subject: Re: JSTL and Struts-el
On Sun, 10 Aug 2003, Marco Tedone wrote:
Where's the java
that is the solution.
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 4:20 PM
To: 'Struts Users Mailing List'
Subject: RE: JSTL ot struts taglibs?
But, what I really meant about JSTL being replaced was in popularity.
JSP tags are being
For the logic and I18N taglibs - what do you recommend - using the
struts taglibs or the JSTL taglibs?
Definitely JSTL. They're more powerful, easier to use, potentially
faster, and a Java standard.
not to forget: there's a good chance that (in the future) containers will
have their own
:)
-Original Message-
From: Chen, Gin [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 12:07 PM
To: 'Struts Users Mailing List'
Subject: [OT] RE: JSTL ot struts taglibs?
Everyone take a deep breath and think of bunny rabbits.
Cute little bunnies
()()
('.')
()()
Hmm.. I'm getting
Bailey, Shane C. wrote:
I'm trying state my opinion and learn (from replies).
About the only thing in that statement that I know is verifiably screwed up
is that Ant has no $var and I apologized and rectified what I meant in one
of my recent posts.
Whachu talkin' 'bout Willis?
I hadn't read
If they aren't faster in performance then something is wrong. All the
JSP
rendering practically has to do is put the code as is into the Servlet
which
is a Java class. No interpretation. I haven't looked at the source but
I
am sure the optimization for rendering code for Scriptlets vs
: Friday, August 08, 2003 4:32 PM
To: Struts Users Mailing List
Subject: RE: JSTL ot struts taglibs?
If they aren't faster in performance then something is wrong. All the
JSP
rendering practically has to do is put the code as is into the Servlet
which
is a Java class. No interpretation. I haven't
step backwards tags.
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 11:51 AM
To: Struts Users Mailing List
Subject: RE: JSTL ot struts taglibs?
--- Bailey, Shane C. [EMAIL PROTECTED] wrote:
Don't get me wrong, I think scriptlets are ugly
:21 AM
To: 'Struts Users Mailing List'
Subject: RE: JSTL ot struts taglibs?
Scriptlets are more powerful (you can do ANYTHING Java can do), faster,
is a
standard (it is the Java language you know) and if you are going to
spend
time learning a new language (${var} == pooPoo) then you would
Sorry Mark, could you please rewrite this email trying to be understandable
for an EOFL?
Thank you very much :)
Marco
- Original Message -
From: Mark Lowe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, August 10, 2003 6:09 PM
Subject: Re: JSTL and Struts
Mailing List
Subject: Re: JSTL ot struts taglibs?
--- David Thielen [EMAIL PROTECTED] wrote:
Hi;
For the logic and I18N taglibs - what do you recommend - using the
struts taglibs or the JSTL taglibs?
Definitely JSTL. They're more powerful, easier to use, potentially
faster, and a Java
it? One risks to get bored :))
Good night,
Marco
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, August 10, 2003 11:23 PM
Subject: Re: JSTL and Struts-el
On Sun, 10 Aug 2003, Marco Tedone wrote:
Date: Sun, 10
On Sun, 10 Aug 2003, Marco Tedone wrote:
Date: Sun, 10 Aug 2003 23:33:14 +0100
From: Marco Tedone [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: JSTL and Struts-el
Are you telling me that ${customer.name
and rectified what I meant in one
of my recent posts.
Whachu talkin' 'bout Willis?
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 2:53 PM
To: Struts Users Mailing List
Subject: Re: JSTL ot struts taglibs?
Bailey, Shane C. wrote:
Scriptlets
'
Subject: RE: JSTL ot struts taglibs?
Scriptlets are more powerful (you can do ANYTHING Java can
do), faster, is a
standard (it is the Java language you know) and if you are
going to spend
time learning a new language (${var} == pooPoo) then you
would be better
off learning Java (assuming
So many things are a step backwards like config files for instance. J2EE
is supposed to be for the Enterprise which means there is at least a DB and
maybe the LDAP at your disposal yet people go back to storing stuff in
files.
I don't agree.
You have to think about the time after the rollout
--- David Thielen [EMAIL PROTECTED] wrote:
Hi;
For the logic and I18N taglibs - what do you recommend - using the
struts taglibs or the JSTL taglibs?
Definitely JSTL. They're more powerful, easier to use, potentially
faster, and a Java standard.
David
thanks - dave
--- Yann Cébron [EMAIL PROTECTED] wrote:
For the logic and I18N taglibs - what do you recommend - using the
struts taglibs or the JSTL taglibs?
Definitely JSTL. They're more powerful, easier to use, potentially
faster, and a Java standard.
not to forget: there's a good chance that
You got me there. lol
-Original Message-
From: Chen, Gin [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 12:24 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] RE: JSTL ot struts taglibs?
Just like you never said JSF will replace JSTL I never said I was going to
eat
BTW, how could you eat those poor defenseless bunnies
They're very nice in a pie. Bunny stew is also pretty good. ;-)
Simon
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Bailey, Shane C. wrote:
Scriptlets are more powerful (you can do ANYTHING Java can do), faster, is a
standard (it is the Java language you know) and if you are going to spend
time learning a new language (${var} == pooPoo) then you would be better
off learning Java (assuming you don't already
lilly hungie.
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
Sent: August 8, 2003 10:22 AM
To: Struts Users Mailing List
Subject: RE: [OT] RE: JSTL ot struts taglibs?
BTW, how could you eat those poor defenseless bunnies
They're very nice in a pie. Bunny stew
if you can get rid of that in the JSPs with an
already written or future framework?
-Original Message-
From: Brown, Melonie S. - Contractor [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 2:26 PM
To: '[EMAIL PROTECTED]'
Subject: [OT] RE: JSTL ot struts taglibs?
I agree
As long as they keep this part of the tag libraries:
http://www.javaworld.com/javaworld/jw-02-2003/jw-0228-jstl-p5.html
JSTL will be an asset to all MVC architectures out there!!!
:-(
-
To unsubscribe, e-mail: [EMAIL
Mailing List'
Subject: RE: JSTL ot struts taglibs?
The nice thing about those $var style tags is that they are very easy to
read, if you use nice names for things, most people can understand the
relationships and get something out of them. Also these translate well to
my email templates which
Just like you never said JSF will replace JSTL I never said I was going to
eat a bunny. ;)
-Tim
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 12:05 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] RE: JSTL ot struts taglibs
I like it how some people don't get disturbed by questions about connecting
to a database with JDBC to the Struts user list but get mad if you post a
differing opinion about the crappy way some tags were written that
interfaces with Struts code. What an ACE!
[vote]: +1000
]
Sent: July 31, 2003 12:23 PM
To: 'Struts Users Mailing List'
Subject: RE: JSTL and Struts
exactly
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 12:16 PM
To: Struts Users Mailing List
Subject: Re: JSTL and Struts
Mainguy
One way is to localize inside the getter of the formbean.
.V
Mainguy, Mike wrote:
I'm in a quandary. We're examining a way to do simple formatting of our
model data. For example, when currency data comes out of the database,
it needs to be rendered as $1,000.00 or whatever. This is a very
or discussed
because it is an obvious shortcoming and something that will be better
addressed by JSF than by rewriting chunks of the delivered stuff?
-Original Message-
From: Vic Cekvencih [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 10:39 AM
To: [EMAIL PROTECTED]
Subject: Re: JSTL
I think it would help if you spelled out for yourself exactly what this
functionality really means.
-Original Message-
From: Mainguy, Mike [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 7:44 AM
To: 'Struts Users Mailing List'
Subject: RE: JSTL and Struts
I did it that way
intent was obvious.
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 11:36 AM
To: Struts Users Mailing List
Subject: RE: JSTL and Struts
I think it would help if you spelled out for yourself exactly what this
functionality really means
, 2003 10:45 AM
To: 'Struts Users Mailing List'
Subject: RE: JSTL and Struts
To quote my earlier message:
I'm in a quandary. We're examining a way to do simple formatting of
our
model data. For example, when currency data comes out of the
database,
it needs to be rendered as $1,000.00
, 2003 10:45 AM
To: 'Struts Users Mailing List'
Subject: RE: JSTL and Struts
To quote my earlier message:
I'm in a quandary. We're examining a way to do simple formatting of
our
model data. For example, when currency data comes out of the
database,
it needs to be rendered as $1,000.00
Mainguy, Mike wrote:
When I return a currency or date value, the client has a specific format
they want it in. i.e. $1,000.000 or 02/02/2003.
Do you mean you are using an input tag for display purposes (i.e.
returning data to the browser with an input tag that has a default value).
Erik
exactly
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 12:16 PM
To: Struts Users Mailing List
Subject: Re: JSTL and Struts
Mainguy, Mike wrote:
When I return a currency or date value, the client has a specific format
they want it in. i.e
Or rather, the value stored in my database
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 12:16 PM
To: Struts Users Mailing List
Subject: Re: JSTL and Struts
Mainguy, Mike wrote:
When I return a currency or date value, the client has
Thanks for the feedback, it's been a help. We'll be
using JSTL standard taglibs for the basics, like
iterate and display values.
Stritz
___
--- Hohlen, John C [EMAIL PROTECTED] wrote:
We've been using JSTL for about 6 months now. It
works great. Our
developers like it much
1,000 + JSPs?
I want in! (I could show you to code it faster).
IMO:
* JSTL should be used when ever possible!
* Try to limit use of bean and logic.
One JSTL issue I am not able to solve: Localization... it tends to work
better using Struts tags, I have not found a great way to have it
We've been using JSTL for about 6 months now. It works great. Our
developers like it much better -- especially with the addition of the
Expression Language. Our application hasn't gone into production yet, but
it will later this year. We're a medium size team (around 15 developers).
Our
-Original Message-
From: Hohlen, John C [mailto:[EMAIL PROTECTED]
We always try to use the JSTL tags when an equivalent Struts tag
exists.
We've looked at using the Struts-EL tag library. Unfortunately,
that
subproject has never been released with corresponding versions for
Struts
I'd bet you forgot to add the %@ taglib % declaration for the XML
library at the top of your page. JSTL is made up of several tag
libraries, not just one.
%@ taglib prefix=x uri=http://java.sun.com/jstl/xml; %
Hi Craig,
how much you will bet. i have this declaration. and i still do not know
I have a arraylist containing a collection of beans, something like
:
List list = new ArrayList ();
list.add(bean1_1);
list.add(bean1_2);
request.setAttribute (BEAN1_LIST, list);
c:forEach var=item items=${requestScope.BEAN1_LIST}
c:out value=${item.Field1}/
c:out
I have a arraylist containing a collection of beans, something like
:
List list = new ArrayList ();
list.add(bean1_1);
list.add(bean1_2);
request.setAttribute (BEAN1_LIST, list);
c:forEach var=item items=${requestScope.BEAN1_LIST}
c:out value=${item.Field1}/
c:out
In a secret place: http://jakarta.apache.org/struts/resources
you can find a link to this (www.basicPortal.com)
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal_07/portlets/proj/TasksLstPortlet.jsp?rev=1.4content-type=text/vnd.viewcvs-markup
Here is another hiden place,
Try changing:
c:out value=${item.Field1}/ - c:out value=${item.field1}/
and:
c:out value=${item.Field2}/ - c:out value=${item.field2}/
Quoting V. Cekvenich [EMAIL PROTECTED]:
In a secret place: http://jakarta.apache.org/struts/resources
you can find a link to this (www.basicPortal.com)
Not quite sure I understand why the basicPortal link is a good example of
looping. Here's the (reformatted) snippet:
c:forEach var=row items=${requestScope.formBean}
tr
tdlic:out value=${requestScope.formBean.taskName}//td
td
c:url value=/do/port/tasks var=url
c:param
c:forEach var=item items=${BEAN1_LIST}
c:out value=${item.Field1}/
c:out value=${item.Field2}/
/c:forEach
-Original Message-
From: Joao Araujo [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 10 december 2002 14:49
To: Struts Users Mailing List
Subject: Re: JSTL x STRUTS bean display
10 december 2002 14:49
To: Struts Users Mailing List
Subject: Re: JSTL x STRUTS bean display
I have a arraylist containing a collection of beans, something like
:
List list = new ArrayList ();
list.add(bean1_1);
list.add(bean1_2
:[EMAIL PROTECTED]]
Sent: dinsdag 10 december 2002 14:49
To: Struts Users Mailing List
Subject: Re: JSTL x STRUTS bean display
I have a arraylist containing a collection of beans, something like
:
List list = new ArrayList ();
list.add(bean1_1);
list.add(bean1_2
I've defined a message in my resource bundle like this:
required.icon=span class=required*/span
and I output it like this fmt:message key=required.icon/ next
to my field names.
Alternatively, you could use standard label elements and apply a style to
them so they show up in red or bold (i.e.
]
Subject: Re: JSTL or Struts Tags: Required Field Indication
I've defined a message in my resource bundle like this:
required.icon=span class=required*/span
and I output it like this fmt:message key=required.icon/ next
to my field names.
Alternatively, you could use standard label elements and apply
defined this message key:
required.msg=span class=required*/span indicates a required field.
that I output before each form.
David
From: Hohlen, John [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
CC: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: RE: JSTL or Struts Tags
The Struts-EL supports EL just like JSTL. But the Struts-EL project is
all the Struts custom tags you're used to, less functionality covered by
tags in the JSTL. In essence, it forces developers to use the JSTL for
certain functionality instead of relying on the Struts tags. This how this
would
The Struts-EL supports EL just like JSTL. But the
Struts-EL project is
all the Struts custom tags you're used to, less functionality
covered by
tags in the JSTL. In essence, it forces developers to use
the JSTL for
certain functionality instead of relying on the Struts tags.
This
I believe Struts-EL (and any other EL tags) also require a servlet 2.3
container.
David
From: ROSSEL Olivier [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: JSTL in Struts.
Date: Thu, 21 Nov 2002 15:40:29
Mailing List'
Subject: RE: JSTL in Struts.
The Struts-EL supports EL just like JSTL. But the
Struts-EL project is
all the Struts custom tags you're used to, less functionality
covered by
tags in the JSTL. In essence, it forces developers to use
the JSTL for
certain functionality instead
84 matches
Mail list logo