Re: Add attributes to markup

2008-03-18 Thread Igor Vaynberg
you are talking about adding something to raw markup - eg markup that is not attached to any component? you can use IMarkupFilter for that -igor On Tue, Mar 18, 2008 at 2:42 PM, hjuturu [EMAIL PROTECTED] wrote: Hi All In wicket we can use AttributeModifier or AttributeAppender to make

Re: Add attributes to markup

2008-03-18 Thread Maurice Marrink
AttributeModifier has the ability to add the attribute if not already present f you use the following constructor: public AttributeModifier(final String attribute, final boolean addAttributeIfNotPresent, final IModel replaceModel) personally i prefer the SimpleAttributeModifier which always adds

Re: Add attributes to markup

2008-03-18 Thread hjuturu
Hi Igor I have two components AjaxEditableLabel and AjaxEditableMultiLineLabel. I am able to set the style of the AjaxEditableLabel element by using css span.inline-edit input Similarly i would like to add a class to the TextArea generated by AjaxEditableMultiLineLabel , so that i can change the

Re: Add attributes to markup

2008-03-18 Thread Igor Vaynberg
see SimpleAttributeModifier -igor On Tue, Mar 18, 2008 at 3:15 PM, hjuturu [EMAIL PROTECTED] wrote: Hi Igor I have two components AjaxEditableLabel and AjaxEditableMultiLineLabel. I am able to set the style of the AjaxEditableLabel element by using css span.inline-edit input