Creating a custom Iterate Tag

2005-01-18 Thread Marius Botha
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

RE: Creating a custom Iterate Tag

2005-01-19 Thread Marius Botha
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

RE: Creating a custom Iterate Tag

2005-01-23 Thread Marius Botha
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

Dynamically adding components to pages

2005-05-31 Thread Marius Botha
pointers? Much appreciated. Marius Botha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to print an int with a c:out tag?

2005-08-02 Thread Marius Botha
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

RE: How to print an int with a c:out tag?

2005-08-02 Thread Marius Botha
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

RE: How to print an int with a c:out tag?

2005-08-02 Thread Marius Botha
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

RE: How to print an int with a c:out tag?

2005-08-03 Thread Marius Botha
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

Resource Bundle Problem (sometimes)

2007-06-26 Thread Marius Botha
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

Re: Resource Bundle Problem (sometimes)

2007-06-26 Thread Marius Botha
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

Re: Resource Bundle Problem (sometimes)

2007-06-27 Thread Marius Botha
, 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

Re: Resource Bundle Problem (sometimes)

2007-06-27 Thread Marius Botha
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