Hi Dave, Thanks for reply, let me give more details. i need to apply field level security to all the form controls. to apply the field customization i want to extends the custom components provided by struts. for example to extend i am planning to text field tag * org.apache.struts2.views.jsp.ui.TextFieldTag*, i want to add a new attribute to the text field tag.
can you tell me, how i can implement this? Thanks in advance. On Thu, Jun 5, 2008 at 6:45 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- On Thu, 6/5/08, Narayana S <[EMAIL PROTECTED]> wrote: > > in my application, i have a requirement of implementing field > > level customization, like locking the field, hiding the field > > etc.. to achieve this i am planning to extends "struts-tags" > > tag library functionality. can any one give any idea of how > > to do this? > > I'm not sure what you're asking. > > To extend the S2 tags themselves you might need to do any or all of the > following, depending on your needs: > > * add tag attributes to the component and tag classes > * add additional Java code > * regenerate TLD > * modify FreeMarker templates > > Some might be easier to extend than others. > > Dave > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >