Hi there,
I need some guidance with creating a custom iterate tag (literally like the
standard IterateTag, but where I can control what happens). I tried to find
good examples or tutorials on how to do this, but couldn't find anything
good so please advise if you know of anywhere good to look
2005 01:54
To: Tag Libraries Users List
Subject: Re: Creating a custom Iterate Tag
On Tue, 2005-01-18 at 13:08, Marius Botha wrote:
I need some guidance with creating a custom iterate tag (literally like
the
standard IterateTag, but where I can control what happens). I tried to
find
good
Message-
From: Marius Botha [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 19, 2005 5:29 AM
To: 'Tag Libraries Users List'
Subject: RE: Creating a custom Iterate Tag
Hi Felipe,
Thanks for the response.
I had a look, but my challenge is that I would like the iterating tag to
write out HTML
pointers?
Much appreciated.
Marius Botha
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
value=${fn:length(myList)}/
Hope this helps.
-Christian
Marius Botha wrote:
Hi there,
Just a basic question. I am trying to print out the size() of a List, like
the tag below.
c:out value=${myList.size}/
But I am getting the following error: An error occurred while evaluating
custom action
are looking for:
c:out value=${fn:length(myList)}/
Hope this helps.
-Christian
Marius Botha wrote:
Hi there,
Just a basic question. I am trying to print out the size() of a List, like
the tag below.
c:out value=${myList.size}/
But I am getting the following error: An error occurred while
You know your stuff hey :)
I believe I do use Tomcat 5 (running inside JBoss 3.2) and as a result have
their JSTL (looks like 1.1) and JSP-2.0.jar. Where do I find or can I check
if I have the TLD for the functions library (so I can include it if
missing)? At the moment I am including the TLD's
Thanks guys,
I tried that and got a new error (below). I will probably just go the
scriptlet route for now as maybe I have an old or incorrect JAR somewhere.
Can any one tell me where the TagLib for FN is?
What I did:
1. Changed web-app ... as per example.
2. Included FN taglib in my web.xml
appreciated.
Marius Botha
Exception:
java.util.MissingResourceException: Can't find resource for bundle
java.util.PropertyResourceBundle, key
java.util.ResourceBundle.getObject(ResourceBundle.java:326)
java.util.ResourceBundle.getString(ResourceBundle.java:286
is located just
fine,
but that the file does not contain a key called key. If the property file
could not be located, ResourceBundle.getBundle() should be throwning the
exception, not ResourceBundle.getString().
-Original Message-
From: Marius Botha [*mailto:[EMAIL PROTECTED][EMAIL PROTECTED
, but the
moment I use it inside another tag the setter method sets a null/empty. I
have many other custom tags though that work just fine - just this one
(driving me crazy).
Shall I post the source?
On 6/26/07, Kris Schneider [EMAIL PROTECTED] wrote:
Quoting Marius Botha [EMAIL PROTECTED]:
Thanks
and
failed. I now trim and test for this in the tag so it just prints an empty
space when that happens and then all the other iterations worked
successfully.
Quite a stupid mistake that took a long time to resolve... Thanks for the
input and help!
On 6/27/07, Marius Botha [EMAIL PROTECTED] wrote
12 matches
Mail list logo