I have sitemesh and webwork2 working perfectly... And I didn't do anything abnormal to get it to work.
One thing ... Are you using the webwork actions from within a decorator ? If so, then you may run into problems, as the decorator is applied after the result is executed, therefore there is no action context when the decorator page is processed. I don't know a workaround for that yet.. Anyone have any ideas ? > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Francisco Hernandez > Sent: Monday, 21 July 2003 7:27 PM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] webwork2 tags not working in sitemeshed pages > > > I dont know if this is a webwork issue or sitemesh issue but > I cant use webwork tags in sitemesh > > in decorators.xml: > <decorator name="main" page="main.jsp"> > <pattern>*</pattern> > </decorator> > > in this main.jsp page is where I cant use ww2 tags at all.. > calling <ww:property/> throws an exception > > java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 > at java.util.ArrayList.RangeCheck(ArrayList.java:508) > at java.util.ArrayList.get(ArrayList.java:320) > at > com.opensymphony.xwork.util.CompoundRoot.peek(CompoundRoot.java:34) > at > com.opensymphony.webwork.views.jsp.PropertyTag.doStartTag(Prop > ertyTag.java:4 > 6) > > anyone have any ideas as to what I could do to be able to use > ww2 tags in sitemeshed pages? > > PS: ww2 tags work fine when I disable sitemesh and they work > fine in the pages I use as results of my actions > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a > single machine. WITHOUT REBOOTING! Mix Linux / Windows / > Novell virtual machines at the same time. Free trial click > here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork