Re: input tag lib - sorting option values in select tag

2002-02-15 Thread bayard
There are a couple of insertion retaining components in Commons.Util I think Shawn. I'd love to play with this if I can find some time. Always thetrouble. Bay On Fri, 15 Feb 2002, Shawn Bayern wrote: On Fri, 15 Feb 2002, August Gresens wrote: Does anyone know how the display order of the

RE: escaping quotes (single and double)

2002-02-15 Thread bayard
Ditto for String taglib. It has an escapeXml format that should handle that. On Fri, 15 Feb 2002, Aamir Saalam wrote: how about using the html taglib? for ex. html:text property=someproperty size=35 value=%= somevalue % / --aamir -Original Message- From: Agrawal, Anuj (Anuj)**

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: str:substring start=1 end=150... MUST BE 150 or more long. str:substring start=1... goes up until the end. It seems to me that this is an

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: str:substringSome text/str:substring which outputs the same value. As does:

Re: use of tags within scriptlets?

2002-02-07 Thread bayard
Is it not possible to call the libraries that are underneath the taglibs? I've not delved into other taglibs much, but the way I've been writing mine is that the taglib is really just an adaptor that sits on top of a generic Java library. That way, the user can call the library if need be. Bay

Newlines in attributes

2002-01-29 Thread bayard
In my example for the string-taglib, I stupidly gave an example of: str:replace replace=\n with=br\ndb:get value=data/str:replace without testing. Where db:get is a hypothetical tag creating data. The example doesn't work because the \n in the tag gets turned into a normal 'n' before it hits

Standard eval tag

2002-01-27 Thread bayard
This is a suggestion to the JSTL group. Consider the following hypothetical code: store:get jdo=person.name/ This code returns a String, but like many taglibs does not offer the 'var' attribute for placing the result in. I would then like to use a piece of standard code from my company

Re: creation of xml-file

2002-01-06 Thread bayard
Have you considered using Cocoon? I'm not trying to sell it at all, but if you're outputting xml as a major part of the architecture, it would seem a better choice than jsp/servlet. If it's just a minor part, then I would probably create a generic servlet which takes your data objects and an

Re: Bay or Glen, String Replace tag broken

2001-12-07 Thread bayard
Doh :) Looks like a good call. Thanks Ben. Bay On Fri, 7 Dec 2001, Neuman, Ben J. , AFIS-HQ/IRM wrote: Hi! The String tag replace is broken. It looks like you need to change the StringW class method: static public String replaceString(String text, String repl, String with, int n) {

Re: Bay or Glen, String Replace tag broken

2001-12-07 Thread bayard
I've fixed it by copying over a previous rewrite from Jakarta Commons where the code lives inside the util sub-project's StringUtils. Sadly that code is still in a sandbox and I'm hesitant to make String-taglib dependant on code that is still living in a sandbox. [Then I'll need to find out

Re: unable to use string taglib

2001-12-04 Thread bayard
Hi Maciej, I just grabbed the latest nightly build and the tagclass's are appearing again. Sorry for the delay and stupidity on my part. I hope you find the string taglib useful, Bay On Fri, 30 Nov 2001, [ISO-8859-1] Maciej Ko³odziej wrote: Hi, I'm unable to use string taglib in my

Re: unable to use string taglib

2001-12-01 Thread bayard
The nightly build is definitely shagged. No tagclass's. Have to see what jumps out at me... On Sat, 1 Dec 2001, James Strachan wrote: The GUMP build certainly looks fine for jakarta-taglibs as well. Maybe its something wierd on Glenn's nightly build

Re: unable to use string taglib

2001-11-30 Thread bayard
Thanks for the report Maciej, It's the second time someone's reported this, so although the taglib builds fine for me from CVS, something must be going wrong in the nightly build. I'll grab a nightly build and compare the files to the output of CVS to see if I can figure out what's wrong. I'll

Re: Query Caching

2001-09-28 Thread bayard
I've long been against the idea of SQL in *SP pages for anything beyond a one person hackup. This view was coloured by the fact I've always worked in the programming environment and not the database environment. To me a database is merely something that persists my data. At the same time, I