Feature Requests item #664772, was opened at 2003-01-08 19:16
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=354754&aid=664772&group_id=4754

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Dorothy Gantenbein (dgantenbein)
Assigned to: Nobody/Anonymous (nobody)
Summary: Enhancement to customizer rendering of form components

Initial Comment:
Would like ability to extend form components like 
Select, TextArea, CheckBox, PropertySelection, etc 
with additional parameters.  My particular case is I want 
all Checkboxs to have a default HTML class.

For TextField, could inherit from Tapestry's text field and 
then override the beforeCloseTag method.  However, 
TextArea, Select, etc do not have a beforeCloseTag 
method.

One approach to is add a beforeCloseTag method to the 
other form components and provide a uniform way to 
customize their rendering.

Another approach (from Howard) is to make components 
act like PropertySelection and have a delegate for 
rendering.  You could then create standard Foo's with an 
alternate FooRenderDelegate to accomplish what you 
want.

Either approach works for my requirements.  However, 
the rendering delegate seems to provide more flexiblity 
for customization.

----------------------------------------------------------------------

>Comment By: Howard Lewis Ship (hship)
Date: 2003-02-20 11:08

Message:
Logged In: YES 
user_id=26816

Could you elaborate (here, in the RFE) why this is required, 
rather than using informal parameters (in the HTML template) 
to accomplish this?  All of the form element components 
support informal parameters for this purpose.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=354754&aid=664772&group_id=4754


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to