Hi,
I have a weird behavior using the jakarta tag-lib with the JSTL forEach tag
where when I apply the substring tag to a c:out tag the substring tag only
works on the first iteration?
Any ideas?
- Original Message -
From: "Martin Cooper" <[EMAIL PROTECTED]>
T
As the documentation for the String taglib states, it is built on the
Commons Lang component. The error you are seeing suggests that you have not
included Commons Lang in your web app.
--
Martin Cooper
> -Original Message-
> From: Stefan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, Octo
Forget it - I needid to add the commons jar.
Thanks.
- Original Message -
From: "Stefan" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Friday, October 11, 2002 12:45 AM
Subject: Re: Is there a way to call java.lang.String.substring on a Hi,
>
> I just insta
Hi,
I just installed the string taglib and tried the simple example as found in
the docs:
The tree is green.
And I get this error:
org/apache/commons/lang/NumberUtils
I am using Resin 2.1.4 and placed the string.jar file into the web
applications WEB-INF\lib folder and added the discriptor f
Hi,
This Strings taglib is not part of JSTL right? And if this is so I guess
JSTL does not include this sort of string manipulation capability?
Thanks
- Original Message -
From: "Tim Kettering" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Friday, October
http://jakarta.apache.org/taglibs/doc/string-doc/intro.html
I'd suggest using the Strings taglib. Its really very nice, and comes with
a whole lot of other goodies you can use as well, rather than making a
one-off bean method that does the same thing.
Or something like that.
> So I
So I would wrap the tag with a JSTL string taglib or
perhaps a bean method that returns a string like so:
<%= myBean.myStringMethod() %>
Thanks
- Original Message -
From: "Shawn Bayern" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Thursday, October 10
On Thu, 10 Oct 2002, Stefan wrote:
> So is there a way to extract a sub string from the result of a value="${}}"/> tag?
No, not alone; you'd need to use the String Taglib or handle it with a
servlet or other custom Java logic (e.g., a bean or servlet).
--
Shawn Bayern
"JSTL in Action" http:
Shawn,
So is there a way to extract a sub string from the result of a tag?
Thanks,
Stef
- Original Message -
From: "Shawn Bayern" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Thursday, October 10, 2002 9:01 PM
Subject: Re: Is there a way to call java
On Thu, 10 Oct 2002, Stefan wrote:
> Hi,
>
> I would like to use substring on a c: out like so:
>
>
No, this can't be done in JSTL 1.0. You'll be able to define functions in
the EL in JSP 2.0, but for now, any attempt to do so should yield a
translation-time error, as the syntax isn't suppor
Hi,
I would like to use substring on a c: out like so:
It works but at the same time I get this error:
500 Servlet Exception
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl
On Thu, 10 Oct 2002, micael wrote:
> Does anyone know if the book out from Manning on JSTL has anything on
> EL?
Sure, "JSTL in Action" has a full chapter on the EL, and it uses the EL
throughout the rest of the book in examples and demonstrations. The book
also discusses how to call the EL fro
It does. The reference appendix is downloadable from Sun's JSTL site and
I've found that very useful.
That doesn't have a whole lot on EL, just the basics. But that's what
you'd get from a reference section I guess.
I don't have a copy at work, so am unsure just how much there is in there
on the
Does anyone know if the book out from Manning on JSTL has anything on EL?
At 01:53 PM 10/10/2002 -0500, you wrote:
> > -Original Message-
> > From: Wendy Smoak [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 10, 2002 11:03 AM
> > To: 'Tag Libraries Users List'
> > Subject: Help wit
> -Original Message-
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 10, 2002 11:03 AM
> To: 'Tag Libraries Users List'
> Subject: Help with EL
>
> I'm completely confused about whether or not I need JSTL with
> Struts. All
> I'm trying to do is iterate through
Ah... now I see the mistake I made from the beginning - thanks, guys!
It would be really helpful if JSTL gave me some more intelligent error
message :-)
Regards,
Eric
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 10. Oktober 2002 15:03
To: Tag Librari
I'm completely confused about whether or not I need JSTL with Struts. All
I'm trying to do is iterate through a collection and present radio buttons,
the value of which comes from a property of the things in the collection:
Do I need to switch to c:forEach instead of logic:
To add a support for a custom tag library into Dreamweaver MX, there are a
few simple steps:
1) Click Edit > Tag Libraries ...
2) In the Tag Library Editor dialog, under Tags click on the plus (+) icon.
3) In the drop-down list, choose JSP > Import from file (*.tld,*.jar,*.zip).
4) In the Import
Is it easy to integrate taglib in Dreamweaver MX ?
- integration of tld file ?
- integration of icon for each tag ?
- rendering ?
Thanks
Laurent Quérel
Kris Schneider wrote:
>Nope, you can do it. From the spec:
>
><%-- productDir is a Map object containing the description of
> products, preferences is a Map object containing the
> preferences of a user --%>
>product:
>
>shipping preference:
>
>
>
Hey, isn't that what I said?!
Pb
Nope, you can do it. From the spec:
<%-- productDir is a Map object containing the description of
products, preferences is a Map object containing the
preferences of a user --%>
product:
shipping preference:
Using "." notation should work as well:
user.preferences.shipping
Qu
Ok, that works - thanks a lot!
So, if I understand this right, it's not possible to directly address
something with the key? You have to go through the whole collection, right?
Regards,
Eric
-Original Message-
From: Gideon, Thomas [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 9. Oktober 200
Just don't use the DAO accesses the database.
Or
Let the DAO copy the results in a collection and use it in the tag.
-Original Message-
From: Poornima Shrihari [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 11:41 PM
To: [EMAIL PROTECTED]
Subject: DBtags ( accessing the Resu
Hi,
the XTags Variable-Tag doesn't work if I use it this way:
I've found out that if a 'List' or 'Node' Type is used, the Variable-
Tag performs a case insensitive test on 'list' or 'node'. - That's
why the above example can't work correctly.
I ask the developers to fix this problem. Thanks a
This works.
Thank you.
Kind regards.
Thomas Delnoij
Internet Engineer
IMN - SSE Baarn
Mobile: +31 6 144 300 14
EMail: [EMAIL PROTECTED]
>-Original Message-
>From: Gideon, Thomas [mailto:[EMAIL PROTECTED]]
>Sent: woensdag 9 oktober 2002 20:51
>To: 'Tag Libraries Users List'
>Subject: R
25 matches
Mail list logo