WebSphere Portal Server - Re: how to include CSS into portlets

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > June 2004 > Re: how to include CSS into portlets





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: how to include CSS into portlets
techlead_arun

2004-06-30, 7:51 am

Hello Jaye,
Thanks for the link. I tried using this link but i was not getting the por=
tlet painted with css. Can u please let me know how to include the path for=
the mystyle.css file.=20

Say my portlet application is named : portlet1

so my portlet1.war hierarchy will be like this,
--JSP
-----> html
-----> view.jsp
-----> edit.jsp
-----> configure.jsp
--META-INF
----->MANIFEST.MF
--WEB-INF
----->classes
-----> which contains my portlet classes
----->lib
------> contains .jar files
----->portlet.xml
----->web.xml
----->ibm-web-ext.xmi
----->ibm-web-bnd.xmi

To display my view.jsp page, i need to include a .css file Where in the hie=
rarchy above do i need to place the "mystylesheet.css" to include the featu=
res of the css.

< l i n k r e l =3D s t y l e s h e e t t y p e =3D =92 t e x t / c s s =
=92 h r e f =3D =92 < % =3D r e s p o n s e . e n c o d e U R L ( =93 / m=
y s t y l e s h e e t . c s s =94 ) % > =92 >=20


Advance Thanks for the Answer

Arun Kumar M
arun99907@yahoo.co.in

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com