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 text style when the editor opens.
Do i use IMarkupFilter for this? Thanks Haritha igor.vaynberg wrote: > > 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 >> changes >> to already existing attributes . But is there anyway we can add a new >> attribute to markup using wicket API >> >> e.g : if i have <textarea id="123">jhsakjhas</textarea> >> >> i would like to add a class attribute >> <textarea id="123" class="stylefortext">jhsakjhas</textarea> >> >> This attribute has to be done dynamically and shouldnt exist upfront >> >> Thanks >> Haritha >> -- >> View this message in context: >> http://www.nabble.com/Add-attributes-to-markup-tp16131148p16131148.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Add-attributes-to-markup-tp16131148p16131939.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]