Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Custom JSTL that accepts JSTL expression

Reply
Thread Tools

Custom JSTL that accepts JSTL expression

 
 
Robert Mark Bram
Guest
Posts: n/a
 
      12-15-2004
Hi All!

In a jsp, I have used some code like this:

<cut value="${myForm.myValue}"/>

But now I want a custom tag that accepts the same JSTL EL value and
manipulates the string in some way..

I know how to write a custom tag, but how can I write a custom tag so
that it accepts the result of a JSTL expression? For example:

<myLib:changeString value="${myForm.myValue}"/>
Any advice would be most appreciated!

Rob


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C/C++ language proposal: Change the 'case expression' from "integral constant-expression" to "integral expression" Adem C++ 42 11-04-2008 12:39 PM
C/C++ language proposal: Change the 'case expression' from "integral constant-expression" to "integral expression" Adem C Programming 45 11-04-2008 12:39 PM
(struts/JSTL) Setting bean property value with jstl choose compoundresults DaFoot Java 1 10-23-2008 12:42 PM
Custom Control that accepts Inline Code JWhitted ASP .Net Building Controls 2 11-08-2004 11:10 PM
Custom Control That Accepts Inline Code =?Utf-8?B?SldoaXR0ZWQ=?= ASP .Net 1 11-02-2004 08:33 PM



Advertisments