Glad to help :)
----- Original Message ----- From: "tibi" <[EMAIL PROTECTED]> To: [email protected] Sent: Wednesday, May 2, 2007 1:25:43 PM (GMT-0800) America/Los_Angeles Subject: Re: [appfuse-user] exlude jsp decorators ok thats it! thanks tibi Nathan Anderson wrote: > your action URI is "eventSpan.html" Try your pattern this way... > > <pattern>/eventSpan.html*</pattern> > > > See if that helps... > > Nathan > ----- Original Message ----- > From: "tibi" <[EMAIL PROTECTED]> > To: [email protected] > Sent: Wednesday, May 2, 2007 3:04:43 AM (GMT-0800) America/Los_Angeles > Subject: Re: [appfuse-user] exlude jsp decorators > > nope... > excluding on action name did not work either :( > > tibi wrote: > >> aha so if i have this action in my struts.xml: >> <action name="eventSpan" class="eventSpanAction"> >> <result >> name="success">/WEB-INF/pages/topnet/salesSoon.jsp</result> >> <result >> name="AJAX">/WEB-INF/pages/topnet/ajax-return/eventSpanAction.jsp</result> >> >> </action> >> should i exclude both with this: >> <excludes> >> <pattern>/resources/*</pattern> >> <pattern>/topnet/salesSoon.html</pattern> >> <pattern>/topnet/ajax-return/eventSpanAction.html</pattern> >> <pattern>eventSpan</pattern> >> </excludes> >> >> ??? >> >> tibi >> >> Nathan Anderson wrote: >> >>> I'm pretty sure sitemesh decorates based on the requested URI not >>> where the .jsp resides in the file system. So you would never want >>> to match anything inside "WEB-INF" because that isn't a valid URI. >>> So the .jsp either needs to be outside of WEB-INF [like login.jsp], >>> or called by an action. >>> Nathan >>> >>> >>> ----- Original Message ----- >>> From: "tibi" <[EMAIL PROTECTED]> >>> To: [email protected] >>> Sent: Wednesday, May 2, 2007 12:48:06 AM (GMT-0800) America/Los_Angeles >>> Subject: Re: [appfuse-user] exlude jsp decorators >>> >>> ok and how do you point to jsp files? >>> with /WEB-INF/pages/mypages/test.jsp >>> or do you start in in pages and do: /mypages/test/jsp >>> >>> thanks, >>> >>> tibi >>> >>> hiugong.gwok wrote: >>> >>> >>>> I can't get the <excludes/> part done some time ago, and I end up >>>> doing this >>>> to work around: >>>> <decorator name="none"> >>>> <pattern>/what/you/want/to/exclude</pattern> >>>> </decorator> >>>> >>>> >>>> tibi-3 wrote: >>>> >>>> >>>>> hi, >>>>> >>>>> exluding html pages is no problem met jsp page will not be exluded. >>>>> anyone a hint? >>>>> >>>>> my decorators.xml >>>>> --------------------------------- >>>>> <decorators defaultdir="/decorators"> >>>>> <excludes> >>>>> <pattern>/resources/*</pattern> >>>>> <pattern>/topnet/ajax-return/*</pattern> >>>>> <pattern>/topnet/salesSoon.html</pattern> >>>>> </excludes> >>>>> <decorator name="default" page="default.jsp"> >>>>> <pattern>/*</pattern> >>>>> </decorator> >>>>> </decorators> >>>>> --------------------------------- >>>>> >>>>> my ajax-return folders holds the jsp pages. when in my strtus xml i >>>>> have: >>>>> <!--result name="AJAX" >>>>> type="redirect">/topnet/ajax-return/eventSpanAction.html</result--> >>>>> <result >>>>> name="AJAX">/WEB-INF/pages/topnet/ajax-return/eventSpanAction.jsp</result> >>>>> >>>>> >>>>> when i use the first one the decorations will be excluded but when >>>>> i have the second it will not. >>>>> >>>>> thanks, >>>>> >>>>> tibi >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
