Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » jsp Template for c:out
jsp Template for c:out [message #527894] Fri, 16 April 2010 19:50 Go to next message
resh48038  is currently offline resh48038 Friend
Messages: 4
Registered: April 2010
Junior Member
Hi,
I am trying to create a template for jstl tag c:out.
This is what I entered in the template editor.
<c:out value="${cursor}">

I wants the content editor to insert this.
<c:out value=""/> with the curser between the quotes.

But this is what I get
<c:out value=""></c:out>

Can someone please help me to get rid of the end tag. If I can get the content editor to put the tag as below, it would be great.
<c:out value="${}"/> with cursor in between the curly brackes.

I would appreciate any help. Thanks.
Re: jsp Template for c:out [message #528044 is a reply to message #527894] Mon, 19 April 2010 06:07 Go to previous messageGo to next message
Sarika Sinha is currently offline Sarika SinhaFriend
Messages: 131
Registered: February 2010
Location: Bangalore, India
Senior Member
Hi,
Please the try the jsp template as this:
<c:out value ="$${${cursor}}"/>

$$ is to override the starting of template variable.



Sarika Sinha
JDT Programmer
icon14.gif  Re: jsp Template for c:out [message #528182 is a reply to message #527894] Mon, 19 April 2010 15:38 Go to previous message
resh48038  is currently offline resh48038 Friend
Messages: 4
Registered: April 2010
Junior Member
It worked. Smile

Thanks, Sarika!


Previous Topic:task wsgen not found
Next Topic:EJB 3.1?
Goto Forum:
  


Current Time: Thu Apr 25 15:54:22 GMT 2024

Powered by FUDForum. Page generated in 0.02953 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top