Re: [appfuse-user] multiple decorators

2009-03-18 Thread tibi
ok after a year not using appfuse. i see not much has changed buttt the problem with the multiple decorators seems over. the first thing i did is setup the following test and it worked :D /40*.jsp /*ajax=true* /scripts/dojo/* /struts/dojo/* /reso

Re: [appfuse-user] multiple decorators

2008-02-28 Thread tibi
dale, thanks for the run down and you are right that it is not smart to sit arround and wait. but in my work i have to be smart with spending time. some things i will have to leave as is :(. the thing is that i have avery thing the way it should be. and i think its a bug or some complicated confi

Re: [appfuse-user] multiple decorators

2008-02-27 Thread Dale Newfield
tibi wrote: it seems that i'm not the only one having this problem: http://forums.opensymphony.com/thread.jspa?messageID=12404 That thread is over 2 years old, and was another example of someone not configuring sitemesh correctly. There are a number of parts to the configuration and it can g

Re: [appfuse-user] multiple decorators

2008-02-27 Thread tibi
while waiting to solve my multiple decorators question. any work arround to change my decorator for one page? i have this in the header for some pages i want to remove that part. i could do something like this: but i can't set the parameter like this in the page: <% pageC

Re: [appfuse-user] multiple decorators

2008-02-27 Thread tibi
it seems that i'm not the only one having this problem: http://forums.opensymphony.com/thread.jspa?messageID=12404ぴ hope they will come with a solution: http://forums.opensymphony.com/thread.jspa?threadID=238623&tstart=0 thanks, tibi tibi wrote: > dale, > > i think i will go to the sitemesh exp

Re: [appfuse-user] multiple decorators

2008-02-27 Thread tibi
dale, i think i will go to the sitemesh experts because i have a feeling it will not work. i did not succeed to get any pattern working apart from the /* pattern even something like /n* will not match a URL starting with an n i have a feeling struts is in the way. like matt says: "Yes, but you'll

Re: [appfuse-user] multiple decorators

2008-02-26 Thread Matt Raible
Yes, but you'll have to modify the staticFilter in web.xml so the request to your HTML page is not handled by your web framework. Matt On Feb 26, 2008, at 2:41 AM, tibi wrote: is there someone who can show me or can confirm me that it is possible to point to an html page. html file being a f

Re: [appfuse-user] multiple decorators

2008-02-26 Thread Dale Newfield
tibi wrote: /some_thml_file_here_please The patterns in question are not pages. They are patterns to match against the requested URL. This typically means you need to specify that the pattern you list is just the first part of the set of URLs against which it should match

Re: [appfuse-user] multiple decorators

2008-02-26 Thread tibi
is there someone who can show me or can confirm me that it is possible to point to an html page. html file being a file which is used by struts. for example the 'mainMenu.html' /struts/dojo/* /some_thml_file_here_please just a simple example from wich i can

Re: [appfuse-user] multiple decorators

2008-02-25 Thread tibi
i don't have a catch all at the moment (because of the order) tibi Dale Newfield wrote: > tibi wrote: >> ok any help would be great > > In decorator pattern matching, order matters. I think it'll use the > first pattern that matches, so make sure your catch-all is listed > *after* the special ca

Re: [appfuse-user] multiple decorators

2008-02-22 Thread Dale Newfield
tibi wrote: ok any help would be great In decorator pattern matching, order matters. I think it'll use the first pattern that matches, so make sure your catch-all is listed *after* the special case deocators. -Dale - To u

Re: [appfuse-user] multiple decorators

2008-02-22 Thread tibi
ok it seems inpossible to get to html files. when i have this: /login.jsp /logout.jsp /newSubscribe.jsp /newSubscribe.html login.jsp is decorated so is logout.jsp and newSubscribe.jsp but not newSubscribe.html (which is the same file) g

Re: [appfuse-user] multiple decorators

2008-02-22 Thread tibi
i keep on digging. found these are working: /login.jsp /logout.jsp tibi wrote: > yes i tried that... but it does not help > > here it seems it should work fine: > https://sitemesh.dev.java.net/source/browse/*checkout*/sitemesh/src/example-webapp/WEB-INF/decorators.xml?c

Re: [appfuse-user] multiple decorators

2008-02-22 Thread tibi
yes i tried that... but it does not help here it seems it should work fine: https://sitemesh.dev.java.net/source/browse/*checkout*/sitemesh/src/example-webapp/WEB-INF/decorators.xml?content-type=text%2Fplain&rev=1.6 thanks matt, tibi Matt Raible wrote: > Have you tried /*n*? > > On 2/22/08, tib

Re: [appfuse-user] multiple decorators

2008-02-22 Thread Matt Raible
Have you tried /*n*? On 2/22/08, tibi <[EMAIL PROTECTED]> wrote: > ok any help would be great > > i don't understand the decorator :( > i have this: > > > > /* > > > > any page is decorated > this works to: > > > * > > > will not mach a page with a 'n' in it

Re: [appfuse-user] multiple decorators

2008-02-22 Thread tibi
ok any help would be great i don't understand the decorator :( i have this: /* any page is decorated this works to: * will not mach a page with a 'n' in it (which i expect) *n* how can i select only 1 page??? thanks tibi tibi wrote: >

Re: [appfuse-user] multiple decorators

2008-02-21 Thread tibi
how does the pattern work i'm trying to match just one page like this: http://localhost:8080/newVacancyList.html /newVacancyList.html /newVacancyList.jsp /employee/newVacancyList.html /employee/newVacancyList.jsp /pages/employee/newVacancyList.ht

[appfuse-user] multiple decorators

2008-02-21 Thread tibi
hi list, somehow i'm always fighting with the decorator i want to decorator files. one default and one for some pages. i have this: /*decorate=false* /struts/dojo/* /resources/* /newSubscribe.html* /newSubscribe.jsp* /thanks.ht