Re: Newbie problems with JDBC taglib

2001-03-21 Thread Ted Husted
Has anyone had any luck using the JDBC tags with poolman? http://www.codestudio.com/ I had some trouble when I tried, but I'm developing under Resin, and perhaps that was the problem. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716

Dreamweaver UltraDev Extension for Custom Taglibs

2001-03-21 Thread Renick, Garrel
Hello. Have any of you tried the Custom Tag Library Extension for UltraDev (CTLX) that was posted on taglibs-dev? On March 5, Dan Mandell published the message below. Although this extension isn't part of the Jakarta project yet, I downloaded the extension at the URL provided and installed it.

regexp taglib; am i smoking?

2001-03-21 Thread Torgeir Veimo
Why do I get search.jsp [-1:-1] org/apache/oro/text/regex/MalformedPatternException Errors compiling search [LMod]. on the tag rx:regexp id="rx1"s/test1/mi/rx:regexp This is beyond me. -- - Torgeir

Re: Newbie problems with JDBC taglib

2001-03-21 Thread Glenn Nielsen
I saw several problems with the JDBC taglib and poolman 1.4.1. One was that PoolMan didn't promote smaller number fields to larger. If you did a getLong(), the field in the db had to be a 32 bit int. And I ran into one other bug in the JDBC example where iterating through a result set failed with

URLEncoder taglib

2001-03-21 Thread Torgeir Veimo
I'm about to create a small taglib that does the same as java.net.URLEncoder, eg. like url:encodetext to be encoded/url:encode. But do anyone of you know of any similar taglib that does the same, to save me some work? -- - Torgeir

Re: regexp taglib; am i smoking?

2001-03-21 Thread Glenn Nielsen
Because you are doing a substitution without a string to substitute. rx:regexp id="rx1"s/test1/mi/rx:regexp ^ substitution requires both a match and a string to substitute rx:regexp id="rx1"s/test1/test2/mi/rx:regexp would work. Torgeir Veimo wrote:

Re: URLEncoder taglib

2001-03-21 Thread Ted Husted
Is this the same functionality provided by HttpServletResponse.encodeURL()? If so, the Struts html:link tag does this type of encoding. The operative line of code is results.append(response.encodeURL(BeanUtils.filter(hyperlink))); The call to BeanUtils.filter is actually deprecated, and just

Re: URLEncoder taglib

2001-03-21 Thread Maya Muchnik
See the book: O'Reily "Java servlet programming" or "Web development with JavaServer Pages" by D. Fields, M. Kolb. Torgeir Veimo wrote: I'm about to create a small taglib that does the same as java.net.URLEncoder, eg. like url:encodetext to be encoded/url:encode. But do anyone of you know

RE: regexp taglib; am i smoking?

2001-03-21 Thread Renick, Garrel
Hello Torgeir. Are you trying to replace "test1" with "mi", or are you trying to match "test1"? To replace "test1" with "mi" with no optons, the regexp should look like this: rx:regexp id="rx1"s/test1/mi//rx:regexp To match test1 and treat the match as case-insensitive and multi-line, use

RE: regexp taglib; am i smoking?

2001-03-21 Thread Renick, Garrel
Hello Torgeir. Are you trying to replace "test1" with "mi", or are you trying to match "test1"? To replace "test1" with "mi" with no optons, the regexp should look like this: rx:regexp id="rx1"s/test1/mi//rx:regexp To match test1 and treat the match as case-insensitive and multi-line, use