tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stanley, Jason" <Jason.Stan...@cognicase.com>
Subject String Tag Library and Dynamic Data - Why Not?
Date Wed, 07 Aug 2002 15:38:32 GMT

should the tags in the string tag library not affect dynamic data? when i use static text,
such as the given example...

<str:replace replace="
" with="<br>">A sentence.
Another sentence.
Some more to test. And insert Br's into.
Hopefully.</str:replace>
       
...i get the expected result...

A sentence.
Another sentence.
Some more to test. And insert Br's into.
Hopefully.

however, when i try to use this like so...

<str:replace replace="
" with="<br>"><%=(((topics_data = topics.getObject("body"))==null || topics.wasNull())?"":topics_data)%></str:replace>

...i get everything on one line. same deal with capitalizeAllWords tag. what a drag. should
this not work?

if not, how about encoding form data with the replace tag before it hits the database? is
that possible?


thanks in advance for any insight,
j

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message