Dear Sirs, Janne,
I have a PortletPage with the following composition:
PortletPage > Panel > Form > DataPicker
When testing this View in standalone mode (Wicket WebApp - WebPage),
it works. But when testing it as a portlet in LifeRay Portal, I get
the following error:
----------------------------------------------------
WicketMessage: Unable to find the markup for the component. That may
be due to transparent containers or components implementing
IComponentResolver: [MarkupContainer [Component id =
_DatePickernullHeader1, page =
es.tsystems.nt.web.view.consulta.ConsultaDadesPage, path =
4:<auto>_header:_DatePickernullHeader1.WebMarkupContainerWithAssociatedMarkup$HeaderPartContainer,
isVisible = true, isVersioned = false]]Root
cause:wicket.WicketRuntimeException: Unable to find the markup for the
component. That may be due to transparent containers or components
implementing IComponentResolver: [MarkupContainer [Component id =
_DatePickernullHeader1, page =
es.tsystems.nt.web.view.consulta.ConsultaDadesPage, path =
4:<auto>_header:_DatePickernullHeader1.WebMarkupContainerWithAssociatedMarkup$HeaderPartContainer,
isVisible = true, isVersioned = false]] at
wicket.MarkupFragmentFinder.find(MarkupFragmentFinder.java:111) at
wicket.Component.renderComponent(Component.java:1599) at
wicket.protocol.http.portlet.PortletRenderResponseStrategy$2.component(PortletRenderResponseStrategy.java:102)
at wicket.MarkupContainer.visitChildren(MarkupContainer.java:744)
at wicket.MarkupContainer.visitChildren(MarkupContainer.java:784)
at
wicket.protocol.http.portlet.PortletRenderResponseStrategy.respondHeaderContribution(PortletRenderResponseStrategy.java:97)
at
wicket.protocol.http.portlet.PortletRenderResponseStrategy.respond(PortletRenderResponseStrategy.java:55)
at
wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66)
at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:858)
at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:885)
at wicket.RequestCycle.step(RequestCycle.java:966) at
wicket.RequestCycle.steps(RequestCycle.java:1040) at
wicket.RequestCycle.request(RequestCycle.java:454) at
wicket.protocol.http.portlet.WicketPortlet.render(WicketPortlet.java:250)
at com.liferay.portal.servlet.PortletServlet.service(PortletServlet.java:78)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802
... blah, blah, blah...
----------------------------------------------------
I have revised both View implementation versions: WebPage &
PortletPage, and everything is correctly applied. They are both almost
the same, except to the markup, that in PortletPage is just the
original HTML BODY inner code (excluding BODY) and there are no wicket
references outside BODY.
So, what can be happening here?
Thank you.
Regards,
M
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user