Re: string:substring

2002-02-13 Thread bayard
This is added as well. This change involves the tld changing so that the start attribute of a substring tag is _not_ required. Instead it defaults to zero. This means there is now a 'null' operation for substring of: Some text which outputs the same value. As does: Some text under 100 in leng

Re: string:substring

2002-02-13 Thread bayard
Okay Alberto. Both features 1) and 2) are now in the String taglib (get the nightly build. It's 00:16 at the moment here, but I think the build isn't done until later so it should be there for you when you get into work. Hope it works the way you want. I have a couple of questions regarding the

Re: taglib descriptor

2002-02-13 Thread Martin Cooper
- Original Message - From: "Dan Mandell" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Wednesday, February 13, 2002 2:12 AM Subject: Re: taglib descriptor > Hi Thomas, > > Yes, just place the TLD in the META-INF entry of the JAR. The URI you > specify in t

Re: string:substring

2002-02-13 Thread bayard
Thanks for the greater depth Alberto. The substring tags 'design' comes completely from java.lang.String.substring, so has the following two functions: ... MUST BE 150 or more long. ... goes up until the end. It seems to me that this is an area for improvement as you've pointed out. My sugges

Re: string:substring

2002-02-13 Thread Alberto Bolchini
Hi Bay, sorry for being too concise. I would like to write: without knowing weather getXyz() will return at least 150 characters or not. At the moment, if the property is empty or has less than 150 characters I get an out of range exception. I checked out the code, and it actually doesn

RE: Where does $customers get defined? (Plus some suggestions...)

2002-02-13 Thread Howard Treisman
Shawn Thank you for your prompt and informative response. Re: > 3. Suggestion: Please provide the corresponding .jar files for all the > .class files in the standard-examples.war. Thanks, I found the source. The problem I had is that the source for the examples is part of the source distributio

Re: passing references to tags using XML syntax

2002-02-13 Thread August Gresens
Thanks! On Wednesday, February 13, 2002, at 03:25 PM, Shawn Bayern wrote: > On Wed, 13 Feb 2002, August Gresens wrote: > >> options="<%= o %>" /> >> >> With XML syntax, this won't work because the "<" and ">" characters >> are illegal in XML with attributes, and JSP chokes while attempting to >

Re: passing references to tags using XML syntax

2002-02-13 Thread Shawn Bayern
On Wed, 13 Feb 2002, August Gresens wrote: > options="<%= o %>" /> > > With XML syntax, this won't work because the "<" and ">" characters > are illegal in XML with attributes, and JSP chokes while attempting to > parse it. > > Does anyone know how to do this? Is there a new syntax for the XML

passing references to tags using XML syntax

2002-02-13 Thread August Gresens
Hi I'm attempting to use the select tag in the input taglib package with XML syntax. The select tag takes a reference to a util.Map for the options tag, but I can't figure out how this works with XML syntax. With non-XML syntax, one uses the tag as follows: <% java.util.HashMap a = new java.

Re: Where does $customers get defined? (Plus some suggestions...)

2002-02-13 Thread Shawn Bayern
On Wed, 13 Feb 2002, Howard Treisman wrote: > The standard-examples.war file provided with the distribution is excellent. > However, I had a lot of difficulty understanding ~where~ the value > $customers comes from in many of the examples. For example: > > > > Where does that pesky $customers

Re: string:substring

2002-02-13 Thread bayard
Could you provide a bit more of an example Alberto? You can do: One two three to get: three if that's what you mean? Bay On Wed, 13 Feb 2002, Alberto Bolchini wrote: > Hi. > > Is there a way to use a on a string of unknown > length without falling in the Exception of out of range index? I

Re: taglib descriptor

2002-02-13 Thread Dan Mandell
Nope, the URI is arbitrary. You can set the URI in your TLD to: uri = "/dog/cat/beaver-yoyo" and then in your JSP you'd have the directive: <%@ taglib uri="/dog/cat/beaver-yoyo" prefix="your_prefix" %> The mapping from "/dog/cat/beaver-yoyo" to [your_jar]/META-INF/your-taglib.tld happens autom

Re: xtags result problem with ns4.7

2002-02-13 Thread James Strachan
You could try setting the output type to be html in your stylesheet - that might work. James - Original Message - From: "Amarant Merah" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 30, 2002 10:10 AM Subject: xtags result problem with ns4.7 > Hi, > > I am using xt

Re: taglib descriptor

2002-02-13 Thread Thomas Colin de Verdiere
Hi thanks, you mean the URI you specify in TLD must be META-INF/my-taglib.tld Thomas Dan Mandell wrote: > Hi Thomas, > > Yes, just place the TLD in the META-INF entry of the JAR. The URI you > specify in the TLD will automatically map to the location of the TLD > within the JAR. Then you ca

Where does $customers get defined? (Plus some suggestions...)

2002-02-13 Thread Howard Treisman
The standard-examples.war file provided with the distribution is excellent. However, I had a lot of difficulty understanding ~where~ the value $customers comes from in many of the examples. For example: Where does that pesky $customers come from? At first I thought the JSP might do a "new" of

string:substring

2002-02-13 Thread Alberto Bolchini
Hi. Is there a way to use a on a string of unknown length without falling in the Exception of out of range index? I would need a END which is the min(END,string.length()) Thanx. alberto -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: taglib descriptor

2002-02-13 Thread Dan Mandell
Hi Thomas, Yes, just place the TLD in the META-INF entry of the JAR. The URI you specify in the TLD will automatically map to the location of the TLD within the JAR. Then you can reference the tag library by using taglib directive within a JSP: <%@ taglib uri="your_uri" prefix="your_prefix" %

Re: IO Tag Library

2002-02-13 Thread James Strachan
Hi Soman You need to install JSSE to be able to use HTTPS from inside a servlet engine. I think you can find details on this at java.sun.com or maybe in your Servlet engine documentation. James - Original Message - From: Soman, Sandeep To: '[EMAIL PROTECTED]' Sent: Thursday,

taglib descriptor

2002-02-13 Thread Thomas Colin de Verdiere
Hi, Is it possible to put the tld in the jar of the tag library? Thomas -- To unsubscribe, e-mail: For additional commands, e-mail: