Thies Edeling a écrit : > Hi all > > Been playing a bit with the wicketstuff dojo contrib. I have some > problems with adding a DojoDatePicker (or any other Dojo widget) to a > Panel that's been loaded via an AjaxLink - replacing an existing Panel > on the Page. > Firefox just keeps loading infinitely and gives me 2 javascript errors > right after dojo.js was loaded: > > * GET > http://localhost:8080/whour/eh/resources/org.wicketstuff.dojo.AbstractDefaultDojoBehavior/dojo-0.4/dojo.js > > * Wicket is not defined > > http://localhost:8080/whour/eh/resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax.js > Line 1186 > > * dojo.string has no properties > http://localhost:8080/whour/eh/consultant/OverviewPage > Line 1013 > > The same code works when I directly add the Panel in the Page's > constructor. Also when I already have some Dojo stuff on the Page and I > then refresh a Panel - which uses some Dojo - it works. Seems that Dojo > initialization through Ajax doesn't properly work or did I do something > wrong? > > Hi,
No, everything you do is rigth. Which wicketstuff-dojo release do you use? I fixed a such bug recently, You can try to get the last release in the repository : http://www.wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-dojo/1.3.0-SNAPSHOT/ If the bug persists please open a jira issue. Thanks for the report -- Vincent > gr, > Thies > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user