• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

method doTag()

 
Rafael Durelli
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I doubt with a staff that is as follows.
how can I view the contents of a tag? I tried using JspFragment but not satisfied, could someone help me?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a Simple Tag, right ? Did you try to call getJspBody() ?
 
Rafael Durelli
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but it will return a JspFragment, and with this object I can not get what we have in the body of tag with you? Excuse my English
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use this JspFragment, call invoke(Writer out), using a StringWriter.
 
Rafael Durelli
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
very thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic