[ https://issues.apache.org/jira/browse/WICKET-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538123 ]
Matej Knopp commented on WICKET-1105: ------------------------------------- The second markup file was missing both the <head> and <body> tags. Wicket needs at least <body> tag in markup file so that it knows where to put the <head> tags (in case those are not provided). Maybe we could log an error at least in this case? > Missing javascript header referencies in Wicket portlet > ------------------------------------------------------- > > Key: WICKET-1105 > URL: https://issues.apache.org/jira/browse/WICKET-1105 > Project: Wicket > Issue Type: Bug > Components: wicket-portlet > Environment: wicket trunk revision 588784 > JDK 1.5.0_13-b05 > Maven version: 2.0.7 > Reporter: Michal Capo > Assignee: Matej Knopp > Attachments: wicket-portlets-test.zip > > > I have two wicket portlets using RatingPanel they are almost same. There is > one difference in the markup. > First: > <head> > <link rel="stylesheet" type="text/css" href="style.css"/> > </head> > <html> > <span wicket:id="rating"></span> > </html> > Second: > <html> > <span wicket:id="rating"></span> > </html> > In first one is request executed via ajax. In second one not. In first one > rendered page contains reference to 'wicket-ajax.js' file but in the second > not. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.