In the base page (which contains <wicket:child/> the javascript reference must in a <wicket:head> region to be copied to the main page
Juergen On 2/22/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > Hmm i dint extend from DojoAjaxHandler....One example of my problem is the > DatePicker. When the page invloving the DatePicker Loads, Javascript errors > occurs. And maybe its the scheme i am using becuz the Page that contains the > JavaScript behavior extends from the MainPage. So i used <wicket:child/> and > <wicket:extend/>, so in this case, is there any code i must include maybe in > the child or the parent so as to make my Javascript work? > > > On 2/22/06, Iulian Costan <[EMAIL PROTECTED]> wrote: > > if you extend from DojoAjaxHandler make sure you call > super.renderHeadInitContribution in order to import dojo.js > file. > > > > iulian > > > > > > > > On 2/22/06, Ayodeji Aladejebi <[EMAIL PROTECTED] > wrote: > > > Obviously but how do i make them available is the problem...i dont have > to do this manually..shey?..is it something wrong with my build or is > something wrong with the wicket library combination i am using or wat > really....has nayone had this same kind of problem? > > > > > > > > > > > > On 2/22/06, Juergen Donnerstag <[EMAIL PROTECTED] > wrote: > > > > The javascript files are not available to the browser. > > > > > > > > Juergen > > > > > > > > On 2/22/06, Ayodeji Aladejebi < [EMAIL PROTECTED]> wrote: > > > > > What could cuz problems like having IE showing errors like : > > > > > > > > > > 'dojo' is undefined > > > > > 'Calender' is undefined > > > > > > > > > > i attached a sampl error shot > > > > > > > > > > thanks > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > > > > for problems? Stop! Download the new AJAX search engine that makes > > > > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > > > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > > > > _______________________________________________ > > > > Wicket-user mailing list > > > > Wicket-user@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > > > > > > > > > > > > > -- > "The more life's risk you take, the more life's reward you get" - Me > > Aladejebi Ayodeji A., Project Leads > PentaSoft Technologies Nigeria Limited > Floor 1, AP Plaza, Ademola Adetokunbo Crescent, Wuse II > Abuja, Nigeria | Tel: 234-09-5233478 | Fax: 234-09-5233470 | > www.pentanigeria.com > > Visit my blog: Ayodeji Aladejebi's Blog | http://dabar.cowblock.net/ > Community: Visit Cowblock.net, Nigeria > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user