[seam-dev] Accessing stylesheets from action
Martin Gainty
mgainty at hotmail.com
Fri Sep 19 17:32:02 EDT 2008
was supposed to be fixed by mikhail
https://jira.jboss.org/jira/browse/RF-2316;jsessionid=99C0F2A278CB52E9CD3AF9324C486163?page=com.atlassian.jira.plugin.system.issuetabpanels%3Achangehistory-tabpanel
looks like the fix was rejected or did'nt work
in the meanwhile can you include in a4j include in your .xhtml page ?
<a4j:loadStyle src="resource://css/testing.xcss"/>testing.xcss which is in a package css in the classpath:
http://www.seamframework.org/Community/HowToIntegrateRichfacesCssWithSEAMCss
?
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.
> Date: Fri, 19 Sep 2008 23:44:14 +0300
> From: nickarls at gmail.com
> To: seam-dev at lists.jboss.org
> Subject: [seam-dev] Accessing stylesheets from action
>
> Hi,
>
> I'm looking at JBSEAM-3411, trying to be able to use external css
> references when exporting dataTables to Excel. Can you think of any
> way of accessing the stylesheets from an action method?
>
> * I don't think I can access them from the ViewRoot or anywhere in
> through FacesContext(?)
> * Filters are in the wrong place, no response yet(?)
> * Is there any Facelets magic that can be applied?
> * Phaselistener?
> * Parsing the request in order to determine xhtml document used and
> then reading the file directly as a resource
> sounds like a long shot...
>
>
> PS. What is the practise when fixing bugs you discover yourself -
> should you open and close a JIRA for it anyway in order to get a
> reference in some changelog?
>
> ---
> Nik
> _______________________________________________
> seam-dev mailing list
> seam-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev
_________________________________________________________________
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20080919/c3d41d0d/attachment.html
More information about the seam-dev
mailing list