the only thing to avoid it if you want to have id selectors is to override
getMarkupId
or set the markupid in the constructor to the same value.

johan


On 9/18/07, Maris Orbidans <[EMAIL PROTECTED]> wrote:
>
>
> why wicket cannot use original value of id that I have specified in
> markup ? If I do setOutputMarkupId(true) then wicket ovewrites value if
> id.  Otherwise I cannot replace components via Ajax.
>
> But, for example, dreamweaver uses id selectors for CSS.
>
> And I have to replace them with class selectors.  Is there any way to
> avoid it ?
>
> For example I have
>
> <div wicket:id="footerPanel" id="footer">
> </div>
>
> and later I want to replace the panel.  If I setOutputMarkupId(true)
> wicket modifies id value.
>
> Maris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to