Hi,

      i have a requirement of extending the struts 2 control tags like text
field, check box, select. i want to add a new attribute to the component,
which will allows to identify certain properties like visibility,
editability, label text from the database and render the component.

 to implement this for text field i have created a class that extends
"org.apache.struts2.views.jsp.ui.TextFieldTag", from here i am trying to
assign label for the text field as "super.setLabel("Employee Number");". but
it is not rendering the label. can any one suggest me the correct process to
do this?

Thanks in advance

Reply via email to