what does the generated html look like?
-igor
On 4/1/07, Juha Alatalo <[EMAIL PROTECTED]> wrote:
I am using wicket ajax debug console and ids seems to be correct. Adding
an AbstractDefaultAjaxBehavior (AjaxSelfUpdatingTimerBehavior) actually
adds those:
protected void onBind()
{
getComponent().setOutputMarkupId(true);
}
- Juha
Igor Vaynberg wrote:
> yes looks like it. if you look at the output in wicket ajax debug
> console you can easily diagnose problems like these
>
> -igor
>
>
> On 3/23/07, *James McLaughlin * <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> >From a quick glance, it looks like you missed a setOutputMarkupId:
> (apologies for formatting)
>
> ListView lw = new ListView("listView", new PropertyModel(this,
"rows")){
> @Override
> protected void populateItem(ListItem item) {
> WebMarkupContainer updatingPanel =
new
> WebMarkupContainer("updatingPanel");
> updatingPanel.add(new
> AjaxSelfUpdatingTimerBehavior(Duration.seconds(5)));
>
>
> //=======================
>
> updatePanel.setOutputMarkupId(true);
>
> //======================
>
>
> Label label = new Label("value", new
> PropertyModel(WicketTestingAjaxQuery.this, "random"));
> label.setRenderBodyOnly(true);
> updatingPanel.add(label);
> item.add(updatingPanel);
> }
> };
>
> best,
> jim
>
> On 3/23/07, Juha Alatalo <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> > Hi,
> >
> > I have following case:
> > - There is form including IndicatingAjaxSubmitButton
> > - When button is pressed vector is filled
> > - Vector is shown in a listView
> > - ListView contains AjaxSelfUpdatingTimer
> >
> > Using this combination selfUpdatingTimers are not working. If I
have
> > understood correct, something should be added on <head> or <body
> > onload="...">, but this is not done.
> >
> > Simplified example case can be found on:
> >
https://download.syncrontech.com/public/wicket-ajaxTimerExample.zip
> >
> > - Juha
> >
> >
> >
>
-------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> > opinions on IT & business topics through brief surveys-and earn
cash
> >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> <
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> <mailto:Wicket-user@lists.sourceforge.net>
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net 's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> <
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> <mailto:Wicket-user@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>
> ------------------------------------------------------------------------
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user