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
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!
ah, thought you posted a snippet from your code.
fixed.
-igor
On Tue, Apr 7, 2009 at 10:09 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
that is expected since onbeforerender is called before every render.
if (!getmarkupid().startswith(getgroup().getmarkupid()) {
ah, thought you posted a snippet from your code.
No, wazn'tme.
fixed.
It looks like a hack. Wouldn't it be better fixed by overriding public
String getMarkupId() ?
**
Martin
On Tue, Apr 7, 2009 at 10:09 AM, Igor Vaynberg igor.vaynb...@gmail.com
wrote:
that is expected since