this is going to be tricky because the markup entered into the label
is not parsed by wicket so resolvers wont be called on it. i wonder if
you can override label's getmarkup() and return the markup parsed from
user's input...give that a go and then use the resolvers to find the
components.

-igor

On Sat, Nov 19, 2011 at 9:01 AM, Alec Swan <[email protected]> wrote:
> Hello,
>
> We use AjaxEditableMultilineLabels to allow users to edit the content
> on the web site. I would also like to allow users to add new Wicket
> components inside editable labels. For example, the user enters <div
> wicket:id="logo"/> in the editable label and when label switches in
> preview mode the Logo component is rendered inside the label.
>
> What Wicket mechanism can I use to implement this? Is component
> resolvers the right way to do this?
>
> Thanks,
>
> Alec
>
> ---------------------------------------------------------------------
> 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]

Reply via email to