Re: string:substring

2002-02-14 Thread Alberto Bolchini
Hi Bay Thanks a lot for the quick and active response. I like point 1 to 3, I think they might be useful. Concerning What should happen if a start index larger than the end index is given? I would expect it to silently return with an empty string, I think this could be coherent and not

Re: string:substring

2002-02-14 Thread Thomas Colin de Verdiere
Is it possible to catch an exception in the tagLib Thomas Alberto Bolchini wrote: Hi Bay, sorry for being too concise. I would like to write: str:substring start=1 end=150html:write property=xyz/str:substring without knowing weather getXyz() will return at least 150 characters or

Re: taglib descriptor

2002-02-14 Thread Thomas Colin de Verdiere
I tried to put the taglib.tld in the jar, i'm using Tomcat 3.2.1, but what to put in the web.xml : I put the path to the jar .. /WEB-INF/lib/my-taglib.jar jsp 1.2 : Nothing Thanks Dan, Martin, .. Thomas Martin Cooper wrote: - Original Message - From: Dan Mandell [EMAIL PROTECTED]

Re: passing references to tags using XML syntax

2002-02-14 Thread August Gresens
The solution from the spec worked for the use with the input taglib. I'm now having a problem with standard HTML tags, when I want to include values I have declared elsewhere in the code. For example jsp:declaration String myURL = http://www.foo.com; ; /jsp:declaration Later in the page, I

Re: passing references to tags using XML syntax

2002-02-14 Thread Shawn Bayern
The %= ... % syntax is intended only for custom actions (and those standard-action attributes that support it). Inserting dynamic text into an HTML tag's attribute is just like inserting dynamic text into arbitrary static, template text. The problem is that under the XML syntax, you can't