I have a project where in a modal window there's an image that's generated
on the fly which contains a graphic with info based on the current day.

Above the graphic there are links so that the user can see a graphic for the
current week or the current year (instead of the day graphic). When he
clicks the current week, below the graphic he will see links to every day in
the month. And above the picture there will be only a link to show year.

Something like that. If i linked elements dynamically to wicket, i could
have only 2 generic divs above and below the img and play with them like i
choose.  Considering I cannot,  i think the easiest way to go about it is to
replace those generic divs with specific divs pre-coded, so to speak... or
... to hide different elements based on what i need. But that means having
all of them predefined.

Is there a better way to accomplish something like this... more dynamic?

Tks,
Cristi Manole

On Fri, Mar 28, 2008 at 7:29 PM, Igor Vaynberg <[EMAIL PROTECTED]>
wrote:

> what is the usecase?
>
> -igor
>
>
> On Fri, Mar 28, 2008 at 10:08 AM, Cristi Manole <[EMAIL PROTECTED]>
> wrote:
> > Hello,
> >
> >  Is there a possibility dynamically link a wicket:id to a java object at
> >  runtime?
> >
> >  I'm looking for something similar to this:
> >
> >  Label label = new Label("someid","some text <span
> wicket:id="anotherid"/>");
> >  label.setEscaped(false);
> >
> >  I didn't manage to find a way.
> >
> >  Tks,
> >  Cristi Manole
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to