that is expected since onbeforerender is called before every render.

if (!getmarkupid().startswith(getgroup().getmarkupid()) {
 setmarkupid(getgroup().getmarkupid()+"-"+getmarkupid());
}

-igor

On Tue, Apr 7, 2009 at 6:41 AM, Martin Makundi
<martin.maku...@koodaripalvelut.com> wrote:
> Hi!
>
> Radio.onBeforeRender:
>       �...@override
>        protected void onBeforeRender()
>        {
>                // prefix markup id of this radio with its group's id
>                // this will make it easier to identify all radios that belong 
> to a
> specific group
>                setMarkupId(getGroup().getMarkupId() + "-" + getMarkupId());
>                super.onBeforeRender();
>        }
>
>
> The markup id will go wild if the page is rendered multiple times?
>
> **
> Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to