you can have two generic divs that hold panels. then you can create
panels for every kind of situation you have and swap them in and out
of those two divs.

so like an image panel, month menu panel, year menu panel, and what not..

-igor


On Sat, Mar 29, 2008 at 4:18 PM, Cristi Manole <[EMAIL PROTECTED]> wrote:
> 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]
>  >
>  >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to