[ANN] JSTL article, Part 2, at ONJava.com

2002-09-11 Thread Hans Bergsten
Henry's mail reminded me that I've forgot to tell you that part 2 of my JSTL article series at ONJava.com was published today: It seems like JSTL has become a very popular article subject lately ;-) Hans -- Hans Bergsten [

JSTL Article

2002-09-11 Thread Henri Yandell
Following on from many great plugging examples, I thought I would make my own shameless plug of a simple bijou article on JSTL. http://builder.com.com/article.jhtml?id=u00320020910yan01.htm&vf=tt Hen -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: [standard] fmt:message overrides my encoding

2002-09-11 Thread Jan Luehe
Lukasz, > All my JSP pages have <%@page contentType='text/html; charset=utf-8'%> > directive on top and the browser should get them in UTF-8. When I use > tags, the encoding is reset to my locale's default > encoding (which is iso-8859-2 for pl_PL). How can I stop fmt:* tags > from resetting re

Re: Dynamic string replacement?

2002-09-11 Thread Vernon Wu
If I understand your question right, what you want to do is the followings: The link and text of the text need to be dynamically constructed. The data, I assume, comes from either DB directly or the business layer of your system. Having a bean such as class whatever { private String text, li

[standard] fmt:message overrides my encoding

2002-09-11 Thread Lukasz Kowalczyk
All my JSP pages have <%@page contentType='text/html; charset=utf-8'%> directive on top and the browser should get them in UTF-8. When I use tags, the encoding is reset to my locale's default encoding (which is iso-8859-2 for pl_PL). How can I stop fmt:* tags from resetting response encoding? --

Re: Dynamic string replacement?

2002-09-11 Thread Henri Yandell
Care to give an example? Are you suggesting a bean called: ReplacerBean with properties replacerBean.with replacerBean.replace replacerBean.text or some such? Seems unintuitive. On Wed, 11 Sep 2002, Vernon Wu wrote: > > That can be done by using a Java bean conjoining with JSTL. > > 9/11

Re: Dynamic string replacement?

2002-09-11 Thread Vernon Wu
That can be done by using a Java bean conjoining with JSTL. 9/11/2002 6:03:47 AM, [EMAIL PROTECTED] wrote: >Hi all > >It looks like I found something to implement in the String Tag Library :-) > >What I'm trying to do is to create links within a text, i.e. replacing 'the >text' with 'the text'

Re: Dynamic string replacement?

2002-09-11 Thread Glenn Nielsen
If you need the ability to do this now, try out the regexp taglib here at jakarta. It implements perl style regular expressions. Regards, Glenn [EMAIL PROTECTED] wrote: > Hi all > > It looks like I found something to implement in the String Tag Library :-) > > What I'm trying to do is to cr

Re: Dynamic string replacement?

2002-09-11 Thread Henri Yandell
Yep. Basically this is what we talk about when we discuss JSTLizing the String library. I would hook up the JEL thingy to the input. To be honest, I think it would simply involve: 1) Find the code needed in JSTL to implement this 2) Change StringTagSupport. Then all String tags are JEL'd. 3) Fi

Dynamic string replacement?

2002-09-11 Thread Eric . Lewis
Hi all It looks like I found something to implement in the String Tag Library :-) What I'm trying to do is to create links within a text, i.e. replacing 'the text' with 'the text'. The problem is that both the text and the link are dynamic. However, the String Tag Library won't let me replace t

Re: How to break a loop in JSTL c:foreach

2002-09-11 Thread Shawn Bayern
On Wed, 11 Sep 2002, Wolfgang Röckelein wrote: > Would it be possible to have an loop tag which iterates based on a > boolean condition? A ? Yes, additions like this are always possible in future versions if there's enough perceived need. I'd suggest mailing [EMAIL PROTECTED] with the suggesti

Re: How to break a loop in JSTL c:foreach

2002-09-11 Thread Wolfgang Röckelein
Hi, Shawn Bayern wrote: >>I've read the jstl spec. in detail and don't find a way to do it. And >>I guess it's not supported by jstl. Am I right? > Right. You can instead use to prevent the body from running. We also stumbled on this and used also this solution. > There isn't a good way, using

Re: How to break a loop in JSTL c:foreach

2002-09-11 Thread Shawn Bayern
On Wed, 11 Sep 2002, Eric Du wrote: > I've read the jstl spec. in detail and don't find a way to do it. And > I guess it's not supported by jstl. Am I right? Right. You can instead use to prevent the body from running. There isn't a good way, using the JSP 1.2 tag-extension API, to break a lo

How to break a loop in JSTL c:foreach

2002-09-11 Thread Eric Du
I've read the jstl spec. in detail and don't find a way to do it. And I guess it's not supported by jstl. Am I right? Regards, -- Eric Du --- Tel: (86-010) 65544068-309 Fax: (86-010) 65544066 -- To unsubscribe, e-mail: For additiona