I Don't there there already is such a component, but if you are
interested in creating one you could extend label, override
onComponentTagBody like this

  @Override
 protected void onComponentTagBody(MarkupStream markupStream,
ComponentTag openTag)
 {
 replaceComponentTagBody(markupStream, openTag, "");
 // don't render model text
 }

and override renderHead to generate javascript based on the model
which contains something like a list of strings

Just a quick thought.

Maurice

On Jan 18, 2008 12:35 PM,  <[EMAIL PROTECTED]> wrote:
> Using ajaxtimer would mean an ajax call to server to get next data?
>  That is not
> what I want as the data are fixed and I'd want them loaded
> in html once and a javascript would auto display them in turn
> without ever going back to server.
>
>
>
> >use a label and a ajaxtimer...
> >
> >[EMAIL PROTECTED] wrote:
> >> Hello:
> >> I wonder if wicket already has a component that would display a list of 
> >> text
> >every n seconds, with the text list predefined  (not ajax call every n 
> >second)
> >so that I could use a java call like
> >> new NeonLabel(id,ListModel({ab, cd,ef}, Nseconds)
> >> so that web page would display ab and cd and ef and ab every  N seconds.  I
> >have done that in raw javascript but wonder if wicket already has such a
> >component?
> >> Thanks
> >>
> >
> >--
> >Nino Martinez Wael
> >Java Specialist @ Jayway DK
> >http://www.jayway.dk
> >+45 2936 7684
> >
> >
> >---------------------------------------------------------------------
> >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]
>
>

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

Reply via email to