|
|
|
Re: Programmatically attach a stylesheet to JSF page being opened in WPD [message #475400 is a reply to message #475399] |
Wed, 23 January 2008 13:16  |
Eclipse User |
|
|
|
John,
We need to add some similar (if not the same) functionality for the
resource servlet used by Trinidad. The general approach will likely be
some sort of per-project setting to allow URI prefixes to be mapped to
some resource handler class, which must be provided (e.g. map
"/resources/*" to "com.foo.bar.MyResourceHandler").
Please would you open an enhancement request against JSF Tools Project's
UI component[1], so we can track both your requirements and our own to
ensure the solution we provide is flexible enough to solve both use cases
(and any other use cases that we consider as we proceed)?
[1]
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Java%20S erver%20Faces
Thanks,
- Ian Trimble (JSF Tools Project)
John Smith wrote:
> The JSF component library I am working on has default theme (stylesheet)
> defined and built-in the library. Default style for each component gets
> applied in runtime via resourceManager of the component library if
> styleClass is not explicitly desined as attribute. The stylesheet and
> resources are wrapped inside jar file.
> What I want to do is to attach stylesheet for WPD only with file url
> pointing to the stylesheet placed in its plugin's directory.
> Thanks
> Cameron Bateman wrote:
>>> I wonder if it is possible to programmatically attach a predefined css
>>> stylesheet to a JSF page when the page is opened in WPD. This
>>> stylesheet affects designer view/Preview only.
>>
>> What event would you want to cause the stylesheet to be added? Can you
>> explain the use-case in more detail as it impacts your end-user?
>>
>>
>> --Cam
>>
|
|
|
|
Re: Programmatically attach a stylesheet to JSF page being opened in WPD [message #616478 is a reply to message #475397] |
Fri, 18 January 2008 17:27  |
Eclipse User |
|
|
|
The JSF component library I am working on has default theme (stylesheet)
defined and built-in the library. Default style for each component gets
applied in runtime via resourceManager of the component library if
styleClass is not explicitly desined as attribute. The stylesheet and
resources are wrapped inside jar file.
What I want to do is to attach stylesheet for WPD only with file url
pointing to the stylesheet placed in its plugin's directory.
Thanks
Cameron Bateman wrote:
>> I wonder if it is possible to programmatically attach a predefined css
>> stylesheet to a JSF page when the page is opened in WPD. This
>> stylesheet affects designer view/Preview only.
>
> What event would you want to cause the stylesheet to be added? Can you
> explain the use-case in more detail as it impacts your end-user?
>
>
> --Cam
>
|
|
|
Re: Programmatically attach a stylesheet to JSF page being opened in WPD [message #616480 is a reply to message #475399] |
Wed, 23 January 2008 13:16  |
Eclipse User |
|
|
|
John,
We need to add some similar (if not the same) functionality for the
resource servlet used by Trinidad. The general approach will likely be
some sort of per-project setting to allow URI prefixes to be mapped to
some resource handler class, which must be provided (e.g. map
"/resources/*" to "com.foo.bar.MyResourceHandler").
Please would you open an enhancement request against JSF Tools Project's
UI component[1], so we can track both your requirements and our own to
ensure the solution we provide is flexible enough to solve both use cases
(and any other use cases that we consider as we proceed)?
[1]
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Java%20S erver%20Faces
Thanks,
- Ian Trimble (JSF Tools Project)
John Smith wrote:
> The JSF component library I am working on has default theme (stylesheet)
> defined and built-in the library. Default style for each component gets
> applied in runtime via resourceManager of the component library if
> styleClass is not explicitly desined as attribute. The stylesheet and
> resources are wrapped inside jar file.
> What I want to do is to attach stylesheet for WPD only with file url
> pointing to the stylesheet placed in its plugin's directory.
> Thanks
> Cameron Bateman wrote:
>>> I wonder if it is possible to programmatically attach a predefined css
>>> stylesheet to a JSF page when the page is opened in WPD. This
>>> stylesheet affects designer view/Preview only.
>>
>> What event would you want to cause the stylesheet to be added? Can you
>> explain the use-case in more detail as it impacts your end-user?
>>
>>
>> --Cam
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03767 seconds