Re: [appfuse-user] Sitemesh(2.4.2) and Tapestry(5.1.0.5) Autocomplete

2010-07-30 Thread Matt Raible
Your best bet is to try your suggestion and see if it works. If it doesn't, please post the code you're trying to make work and the error you're seeing. On Jul 30, 2010, at 2:40 AM, zingi wrote: > Hi everyone, I am a bit new to AppFuse. I am struggling to exclude decoration > of the AutoComplet

[appfuse-user] Sitemesh(2.4.2) and Tapestry(5.1.0.5) Autocomplete

2010-07-30 Thread zingi
Hi everyone, I am a bit new to AppFuse. I am struggling to exclude decoration of the AutoComplete component. Below is my sitemash.xml file decorators.xml /login /40*.jsp

Re: [appfuse-user] Sitemesh style sheet problem

2008-07-10 Thread wskent
THX, that was just what I needed. mraible wrote: > > The problem is likely caused by your URL - I'd try something like > href="". > > Matt > > On Thu, Jul 10, 2008 at 8:39 AM, wskent <[EMAIL PROTECTED]> wrote: >> >> I have sitemesh working the way I want on jsp's in my root directory, but >>

Re: [appfuse-user] Sitemesh style sheet problem

2008-07-10 Thread Matt Raible
The problem is likely caused by your URL - I'd try something like href="". Matt On Thu, Jul 10, 2008 at 8:39 AM, wskent <[EMAIL PROTECTED]> wrote: > > I have sitemesh working the way I want on jsp's in my root directory, but am > having a problem getting the style sheet applied to sub directories

[appfuse-user] Sitemesh style sheet problem

2008-07-10 Thread wskent
I have sitemesh working the way I want on jsp's in my root directory, but am having a problem getting the style sheet applied to sub directories. The rest of the decorator is being applied to all of the pages as desired. Here is the where the style sheet is defined in my decorator jsp - <%@ inclu

Re: [appfuse-user] Sitemesh & Do

2008-03-18 Thread Doug Pham
Mike, Thanks for the help! I got what you are saying now. Cheers, Doug Michael Horwitz <[EMAIL PROTECTED]> wrote: Normally Dojo is installed by expanding the content into a subdirectory in your webapp? You need to exclude this subdir from being decorated. Mike. On 17/03/2008, Doug

Re: [appfuse-user] Sitemesh & Do

2008-03-18 Thread Michael Horwitz
Normally Dojo is installed by expanding the content into a subdirectory in your webapp? You need to exclude this subdir from being decorated. Mike. On 17/03/2008, Doug Pham <[EMAIL PROTECTED]> wrote: > > Mike, > Is there a pattern to do this or wherever I use dojo, I have to put it > in a sep

Re: [appfuse-user] Sitemesh & Doj

2008-03-18 Thread Kropp, Henning
Errors like 'can't GET http://localhost:8080/struts/dojo/ .js'? Be sure to put before scriptaculous in the default decorators head. regards Doug Pham schrieb: Mike, Is there a pattern to do this or wherever I use dojo, I have to put it in a separate directory and include that in th

Re: [appfuse-user] Sitemesh & Doj

2008-03-17 Thread Doug Pham
Mike, Is there a pattern to do this or wherever I use dojo, I have to put it in a separate directory and include that in the excude tag of the decotrators.xml file? The code shows that everything is good, the dojo display shows an error loading information. Thanks, Doug Michael Horwitz <[

Re: [appfuse-user] Sitemesh & Doj

2008-03-17 Thread Michael Horwitz
Dojo uses html templates for its widgets. You need to prevent Sitemesh from decorating these or it all goes a little haywire Mike On 17/03/2008, Doug Pham <[EMAIL PROTECTED]> wrote: > > Matt, > You worked a lot with Sitemesh, is there any affect it have with dojo > or other ajax framewor

[appfuse-user] Sitemesh & Dojo

2008-03-17 Thread Doug Pham
Matt, You worked a lot with Sitemesh, is there any affect it have with dojo or other ajax framework that I should be aware of? I have a basic example, after I applied sitemesh to it, dojo is broke somewhere. Thanks, Doug - Never miss a thing. Make

Re: [appfuse-user] Sitemesh decorator based on ROLE

2007-11-25 Thread Dale Newfield
rdr wrote: So I just overrode, the getNamedDecorator method in ConfigDecoratorMapper. If you believe this is a bug, I bet the folks at sitemesh would appreciate the patch... -Dale - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] Sitemesh decorator based on ROLE

2007-11-24 Thread rdr
Although the decorator names I posted here are different, I did test with same and different names for same request patterns. I skimmed through the code. I do not understand how this could have worked since the PathMapper always returns the last decorator for which the request pattern matches. An

Re: [appfuse-user] Sitemesh decorator based on ROLE

2007-11-24 Thread Dale Newfield
rdr wrote: find another way of doing this. It's amazing that a system with as many configuration options as sitemesh and its decorator mappers is still hard to configure the way you want. I'm currently using the both ParameterDecoratorMapper and ConfigDecoratorMapper, and I still don't get

Re: [appfuse-user] Sitemesh decorator based on ROLE

2007-11-24 Thread rdr
Dale, Thanks for the pointer. No the admin user does not have any other role. I think I'll take your advice, ditch the sitemesh *role* approach and find another way of doing this. Thanks Ram R DNewfield wrote: > > I bet your admin users *also* have role user, so any mapping restricted > to u

Re: [appfuse-user] Sitemesh decorator based on ROLE

2007-11-24 Thread Dale Newfield
I bet your admin users *also* have role user, so any mapping restricted to user will also catch admin. There are a number of ways to select decorators: http://www.opensymphony.com/sitemesh/dm.html -Dale - To unsubscribe, e-ma

Re: [appfuse-user] Sitemesh decorator based on ROLE

2007-11-23 Thread rdr
I noticed that Sitemesh is trying to apply the last decorator in the list which matches the pattern. If that decorator has a role defined and the current user has that role, the decorator is applied, else no decorator is applied. At this point I do not know if it is me or an issue with Sitemesh.

Re: [appfuse-user] Sitemesh decorator based on ROLE

2007-11-23 Thread rdr
Thanks for the response Rob, Actually, if I change the order or add the role to the default decorator, no decorator is applied at all. There might be a > Hi, > > rdr wrote: >> I am trying to apply different decorators based on user role when he/she >> log's in. I am trying to use the solutio

Re: [appfuse-user] Sitemesh decorator based on ROLE

2007-11-23 Thread Rob Hills
Hi, rdr wrote: I am trying to apply different decorators based on user role when he/she log's in. I am trying to use the solution mentioned in http://jira.opensymphony.com/browse/SIM-37 I have these decorators defined. /* /* But "user" decorator gets applied even if I login

[appfuse-user] Sitemesh decorator based on ROLE

2007-11-23 Thread rdr
I am trying to apply different decorators based on user role when he/she log's in. I am trying to use the solution mentioned in http://jira.opensymphony.com/browse/SIM-37 I have these decorators defined. /* /* But "user" decorator gets applied even if I login with a user in role

Re: [appfuse-user] Sitemesh question

2007-11-19 Thread Carlos Ortiz
Hope to see facelets someday when it comes to it. Well, but this does not reply to my original question. I need to know if Sitemesh or Tiles as is, can be used using JSF per se (no facelets --besides, I am newbie to JSF). On Nov 16, 2007 3:51 PM, Ryan Scott <[EMAIL PROTECTED]> wrote: > What func

Re: [appfuse-user] Sitemesh question

2007-11-16 Thread Ryan Scott
What functionality are you seeking? If you are looking for templates then you might look at facelets for that functionality rather than tiles. We tried both and had a very hard time getting either sitemesh or tiles to work in our faces implementation but facelets gave us everything we nee

[appfuse-user] Sitemesh question

2007-11-16 Thread Carlos Ortiz
Does anyone know why Sitemesh doesn't work with JSF? Is Tiles better than SiteMesh?

Re: [appfuse-user] sitemesh cann't work

2007-07-24 Thread Matt Raible
Are you trying to exclude /test/* from getting decorated? If so, you should exclude the path to the JSP as well. Matt On 7/24/07, ChengJiaguo <[EMAIL PROTECTED]> wrote: i add a package in stuct.xml . /WEB-INF/pages/test.jsp and then i add The pattern in decorators.xml /test/* It seem

[appfuse-user] sitemesh cann't work

2007-07-24 Thread ChengJiaguo
i add a package in stuct.xml . /WEB-INF/pages/test.jsp and then i add The pattern in decorators.xml /test/* It seem The sitemesh cann't work when i visit http://127.0.0.1:8080/test/test.html - To unsubscribe, e-ma

Re: [appfuse-user] Sitemesh Ugly decorator "flash"

2007-06-29 Thread Daniel.Rodriguez
Dusty, I'm not using any dojo object on my app. dusty wrote: > > Do you have an tag? Are you using some of the > built in dojo objects on this page? I have seen this flash occur with an > iframe using dojo. > > -D > > Daniel.Rodriguez wrote: >> >> Some news : >> >> Just got a huuuge p

Re: [appfuse-user] Sitemesh Ugly decorator "flash"

2007-06-29 Thread Daniel.Rodriguez
tibi, actually that is the "Flash of Unstyled Content". You can find the explanation and the solution in http://www.bluerobot.com/web/css/fouc.asp here tibi-3 wrote: > > i'm not sure what a flash looks like but my site has a lot of css and > sometime the data is loaded first and displayed

Re: [appfuse-user] Sitemesh Ugly decorator "flash"

2007-06-28 Thread tibi
i'm not sure what a flash looks like but my site has a lot of css and sometime the data is loaded first and displayed without css after a few milliseconds the css files gets loaded and the site gets rendered. tibi Sanjiv Jivan wrote: The entire sitemesh decoration of your pages takes place

Re: [appfuse-user] Sitemesh Ugly decorator "flash"

2007-06-28 Thread dusty
Do you have an tag? Are you using some of the built in dojo objects on this page? I have seen this flash occur with an iframe using dojo. -D Daniel.Rodriguez wrote: > > Some news : > > Just got a huuuge project aproved by using Appfuse (and a Appfuse-based > Stripes project). Matt & everyo

Re: [appfuse-user] Sitemesh Ugly decorator "flash"

2007-06-28 Thread Sanjiv Jivan
The entire sitemesh decoration of your pages takes place on the server and only when its completed is the entire page content sent to the client (browser). Its not like the decoration takes place as content is being rendered in the browser. So the flash is not likely due to the decoration process

[appfuse-user] Sitemesh Ugly decorator "flash"

2007-06-28 Thread Daniel.Rodriguez
Some news : Just got a huuuge project aproved by using Appfuse (and a Appfuse-based Stripes project). Matt & everyone, I can't thank you enough... Now on to the issue at hand : Yesterday I was reviewing a site concept with a client and he noticed that my app (Appfuse 2.0.5 Struts-Basic) has an

Re: [appfuse-user] sitemesh and decorator exclude tag not working

2007-06-04 Thread tibi
a change in the sitemash to this makes it working... the order is impartant! good luck class="com.opensymphony.module.sitemesh.parser.HTMLPageParser"/> class="com.opensymphony.module.sitemesh.parser.HTMLPageParser"/> class="com.opensymphony.module.sitemesh.parser.HTMLP

Re: [appfuse-user] sitemesh and decorator exclude tag not working

2007-06-04 Thread tibi
still problems with the decorator. i want to make a print option of pages. the same data with different decoration. i like the parameter option: --| ParameterDecoratorMapp

Re: [appfuse-user] sitemesh and decorator exclude tag not working

2007-05-17 Thread Will Berger
Yes. That worked as long as I didn"t include any request parameters. I definantly need to pass in some paramters. mraible wrote: > > Have you tried the following? > > /attributePicker.html* > > On 5/16/07, Will Berger <[EMAIL PROTECTED]> wrote: >> >> oops. >> >> My decorators.xml file look

Re: [appfuse-user] sitemesh and decorator exclude tag not working

2007-05-16 Thread Matt Raible
Have you tried the following? /attributePicker.html* On 5/16/07, Will Berger <[EMAIL PROTECTED]> wrote: oops. My decorators.xml file looks as follows. /attributePicker.html /resources/* /scripts/dojo/* /* Hi, I a struts 2 action tha

Re: [appfuse-user] sitemesh and decorator exclude tag not working

2007-05-16 Thread Will Berger
oops. My decorators.xml file looks as follows. /attributePicker.html /resources/* /scripts/dojo/* /* Hi, I a struts 2 action that is mapped to url /attributePicker.html and a exclude entry in my decorator file. Since it is a popup, i d

[appfuse-user] sitemesh and decorator exclude tag not working

2007-05-16 Thread Will Berger
Hi, I a struts 2 action that is mapped to url /attributePicker.html and a exclude entry in my decorator file. Since it is a popup, i don't want it decorated. It needs to look different. When i type in the url /attributePicker.html, it does what i expect does not decorate the url If I put re

Re: [appfuse-user] Sitemesh; Jetty vs. Tomcat

2007-04-25 Thread Matt Raible
There's a Tomcat Maven Plugin that you can use to do "tomcat:run" if you'd prefer. However, it's an alpha release and not as actively developed as the Jetty plugin. Also, Jetty typically starts up faster and it monitors files for changes, whereas the Tomcat plugin does not.

[appfuse-user] Sitemesh; Jetty vs. Tomcat

2007-04-25 Thread Janos Mucsi
Thanks a lot for the answer. I have an other question. I see that Tomcat is used to execute the Canoo tests, but Jetty to run the application. Why is the difference? Thanks. Christian Giese wrote: Hi Janos. I'm assuming you are using appfuse 1.9(.4) because that's what I use. In web\WEB-I

Re: [appfuse-user] Sitemesh

2007-04-24 Thread Christian Giese
Hi Janos. I'm assuming you are using appfuse 1.9(.4) because that's what I use. In web\WEB-INF\decorators.xml you just add your page as a pattern to the exclude list like this: -8<- /resources/* /helloworld.jsp ->8- and it will not be decorated. HTH Chris Janos Muc

[appfuse-user] Sitemesh

2007-04-24 Thread Janos Mucsi
Hi I created a jsp called helloworld.jsp in the document root. When I type http://localhost:8080/helloworld.jsp in the browser, the text in the JSP 'Hello World!' shows up but it is decorated. Is there an Appfuse-specific documentation I can use or I can just read up on Sitemesh? Thanks.

Re: [appfuse-user] sitemesh problem

2007-02-25 Thread Wayland Chan
Too add to Matt's advice. Put the popup pages in a separate directory and use the exclude as Matt said. On 2/25/07, Matt Raible <[EMAIL PROTECTED]> wrote: You should be able to exclude decoration by adding more excludes to src/main/webapp/WEB-INF/decorators.xml. Here's an example from AppFus

Re: [appfuse-user] sitemesh problem

2007-02-25 Thread Matt Raible
You should be able to exclude decoration by adding more excludes to src/main/webapp/WEB-INF/decorators.xml. Here's an example from AppFuse: /resources/* /* Another thing you might consider is using Lightbox JS to display your popups: http://www.huddletogether.co

[appfuse-user] sitemesh problem

2007-02-25 Thread Jim Reynolds
Hello, I am using Equinox 1.7 and have created a large site with a main default decorator that creates the most of the view except for the body area. Anyway, I am showing some images, and need to show them in popup window. Problem is, when I display the popup, the page is decorated. I really ne

[appfuse-user] + Sitemesh = "node was not found" error

2007-02-07 Thread Vitor Pellegrino
Hello all, I'm trying to integrate these two technologies but i can't, no matter what i do, display correctly a datepicker when i turn sitemesh on. It seems my div gets decorated somethow. I tried to exclude with these params at my /WEB-INF/decorators.xml, and at my sitemesh.xml i've setup this

Re: [appfuse-user] SiteMesh in Equinox

2007-01-11 Thread Matt Raible
You might be able to indicate which menu to use from your child pages. This is what we do in AppFuse. http://raibledesigns.com/page/rd?entry=dependency_injection_with_sitemesh Matt On 1/11/07, Scott Purcell <[EMAIL PROTECTED]> wrote: Possibly the wrong forum here ... but I am in a bit of a

[appfuse-user] SiteMesh in Equinox

2007-01-11 Thread Scott Purcell
Possibly the wrong forum here ... but I am in a bit of a bind. I switched from tiles to sitemesh on a live mission, and I am having some trouble with the sitemesh only in one area. I am hoping someone here may assist me a bit. I have a "sitemesh decorator file" like so: ... man