[OT] Re: sitemesh +yui problem
Hardik Shah wrote: i am trying to use several yui elements in strtus 2.0.11.2 problem is that it can not get its styles (for exp tab shows only in link format ,it can not use tabview.css) when i try to exclude action like cflist.do in decorators.xml then yui works fine (bt my constant view also exclude) i can not understand how to solve this problem y sitemesh filter all this css files please help me according to that thanks in advance It's really a sitemesh question. In sitemesh.xml, ensure your page-parser is setup only for text/html. You don't want it to attempt to decorate other content types. In decorators.xml, you can probably decorate /*. You shouldn't need any exclusions unless you serve undecorated html as well. You need to isolate whether your css file is being served accidentally decorated, or not served at all. Use FireBug to find out. If it's not being served at you, your problem is not with sitemesh but with your configuration/deployment of the container. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Re: sitemesh +yui problem
hi first of all *sir* i really say to thanks about showing interst infact in past i have developed one app using struts 2+sitemesh +BIRT and i got lots of help from you and currently it is works fine Jeromy Evans - Blue Sky Minds wrote: It's really a sitemesh question. In sitemesh.xml, ensure your page-parser is setup only for text/html. You don't want it to attempt to decorate other content types. In decorators.xml, you can probably decorate /*. You shouldn't need any exclusions unless you serve undecorated html as well. You need to isolate whether your css file is being served accidentally decorated, or not served at all. Use FireBug to find out. If it's not being served at you, your problem is not with sitemesh but with your configuration/deployment of the container. i can not get perfectly you ,can you be more descriptive about you say(what i have to do for this problem) - Java/J2EE developer India blogs http://hardik4u.wordpress.com wordpress blog -- View this message in context: http://www.nabble.com/sitemesh-%2Byui-problem-tp19046813p19053844.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Re: sitemesh +yui problem
Hardik Shah wrote: i can not get perfectly you ,can you be more descriptive about you say(what i have to do for this problem) You're welcome. Use the FireFox browser and install the FireBug extension. Load your page, open FireBug and view the Net tab. Determine whether error's occurred trying to load the files for your page (eg. a 404 occurred loading the CSS file), whether the file was found but decorated by sitemesh (eg. the file content is invalid), or whether it received all files correctly. When you know exactly what's wrong: - check you sitemesh.xml file to ensure it has the correct page-parser - check your decorators.xml file to ensure it has the correct mapping and exclusion If that doesn't help, come back here with more information about happened (eg. file not found or file invalid). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]