• Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing tag body inside a tagHandler?  RSS feed

 
Sree kanth
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I want to create a body tag as follows

<Table>
<ATM:Center>
<tr>
<td><ATM:Name/></td><ATM:Amount/></td>
</tr>
</ATM:Center>
</table>

These tags should display the values of name and balance_amount
of all the records in ATM_Details Table.
How do i access the Boyd of <ATM:Center> tag inside my tag handler and how do I send the response several times depending on the no of records in the table?
plz help me.

Rgds
SREE
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure that you need custom tags? This type of thing is easily taken care of with JSTL tags.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!