Hi,
I downloaded the source and I made the changes to the StringTagSupport.java
as you speficified. Now when I try to use the taglib my Resin gives me this
error:
java.lang.NoSuchMethodException:
org.apache.taglibs.string.SubstringTag.doStartTag()
So I looked at the StringTagSupport.java again
Ack. Sorry Stefan. Hadn't noticd this thread becoming a String taglib one.
The only problem you should get when commenting out initAttributes should
be that the following will happen:
[test is an optional attribute]
str:foo/ test is default
str:foo test=blah/ test is blah
str:foo/ test
Lot of acronyms.
What is the tie-in between JSP 2.0 and the Expression Language? It seems
to have been introduced in a low-power version in the JSTL 1.0 spec,
but I am reading that it will support function-type calls when JSP 2.0
is released?
Is JSP 2.0 going to include a newer version of JSTL,
On Fri, 11 Oct 2002, James Cook wrote:
What is the tie-in between JSP 2.0 and the Expression Language? It
seems to have been introduced in a low-power version in the JSTL 1.0
spec, but I am reading that it will support function-type calls when
JSP 2.0 is released?
The JSP 2.0 Proposed Final
When are these changes due out ?
S
- Original Message -
From: Hans Bergsten [EMAIL PROTECTED]
To: Tag Libraries Users List [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 7:51 PM
Subject: Re: Beefing up JSTL EL in JSP 2
Shawn Bayern wrote:
On Fri, 11 Oct 2002, James Cook wrote:
Henri,
Thanks for looking into it, I would like to use the string taglib in loops.
I just decided recently to finally look at using taglibs. For the last
couple of years I have been fine with using %= % that processed bean
methods that return strings. But now seeing how many taglibs there are
Shawn Bayern wrote:
On Fri, 11 Oct 2002, James Cook wrote:
[...]
Will this new, improved EL support reflection-like function calls, and
will we be able to:
${mybean.customer(${page.range} * 2)}
Yes, though the syntax will work differently from what you have
assumed; it will instead look
On 13 Oct 2002, David M. Karr wrote:
In particular, I see that the NullAttributeException is thrown if the
expression string was not null, but the resulting value was null.
However, if the expression string was null, it just returns null.
Shawn, could you explain the motivation for this?
On Sat, 12 Oct 2002, Stefan wrote:
I just decided recently to finally look at using taglibs. For the last
couple of years I have been fine with using %= % that processed bean
methods that return strings. But now seeing how many taglibs there are out
there, I decided it was time to jump in.
Shawn == Shawn Bayern [EMAIL PROTECTED] writes:
Shawn On 13 Oct 2002, David M. Karr wrote:
In particular, I see that the NullAttributeException is thrown if the
expression string was not null, but the resulting value was null.
However, if the expression string was null, it
Jakarta-taglibs users,
I've posted version 1.0.2 of the Standard Taglib, our implementation of
JSTL. It represents a minor bugfix release: it addresses several minor
issues reported to us through the Apache Bug Database.
You can download version 1.0.2 at
Henri,
Thanks for your comments and contribution of the taglib. Do you anticipate
that the bug with the String taglib will be fixed in the near future ?
Thanks,
Stef
- Original Message -
From: Henri Yandell [EMAIL PROTECTED]
To: Tag Libraries Users List [EMAIL PROTECTED]
Sent:
Looking back I see that I can't easily replicate your code.
If that has a problem, try using the code snippet I sent to see if that
works/doesn't work. Might help to separate the issue from the surrounding
code etc.
Hen
On Sun, 13 Oct 2002, Henri Yandell wrote:
On Sat, 12 Oct 2002, Stefan
Thanks very much, I will give it a go.
Stef
- Original Message -
From: Henri Yandell [EMAIL PROTECTED]
To: Tag Libraries Users List [EMAIL PROTECTED]
Sent: Sunday, October 13, 2002 11:02 PM
Subject: Re: Is there a way to call java.lang.String.substring on a c: ou t
?
On Sat, 12
Hi,
I think I found another bug with the String taglib, though probably rarely
would this come up. I have found that if I use the substring on more that
one element in the JSTL forEach loop where the start and end values are the
same with both substring tags I then get the same behaviour as I
15 matches
Mail list logo