Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » enable design time only css external resource in page designer
enable design time only css external resource in page designer [message #476037] Tue, 21 October 2008 17:57 Go to next message
Eclipse User
Originally posted by: Eclipsian.eclipsian.oti

External css can be enabled by link tag as normal HTML. But for custom
components, their default css resources are packed in jar file and they
can be accessed in component renderer. So even there is no link tag in
faces page to define external css, the renderers have problem to render
component in runtime. But for Web Page Designer, they cannot be resolved
unless you have link tag and have those css resources copied in web
root. If I create a plugin bundled with those css resources, how can I
manipulate design time dom via an (?) extension point. Or if there is
better solution?

Thanks ahead.
Re: enable design time only css external resource in page designer [message #476038 is a reply to message #476037] Tue, 21 October 2008 17:59 Go to previous messageGo to next message
Eclipse User
Originally posted by: Eclipsian.eclipsian.oti

sorry!

typo:
> So even there is no link tag in faces page to define external css,
the > renderers have <no> problem to render component in runtime.

Eclipsian wrote:
> External css can be enabled by link tag as normal HTML. But for custom
> components, their default css resources are packed in jar file and they
> can be accessed in component renderer. So even there is no link tag in
> faces page to define external css, the renderers have problem to render
> component in runtime. But for Web Page Designer, they cannot be resolved
> unless you have link tag and have those css resources copied in web
> root. If I create a plugin bundled with those css resources, how can I
> manipulate design time dom via an (?) extension point. Or if there is
> better solution?
>
> Thanks ahead.
Re: enable design time only css external resource in page designer [message #476039 is a reply to message #476037] Thu, 23 October 2008 13:55 Go to previous message
Ian Trimble is currently offline Ian Trimble
Messages: 136
Registered: July 2009
Senior Member
Eclipsian (if that is, in fact, your real name :) ),

We're currently looking at requirements for supporting "skinning" (such as
Trinidad allows) at design-time. One requirement will be the ability to
somehow register one or more stylesheets and image sets (i.e. "skins"),
and ultimately select any one at any time. This feature will need to
provide some method to specify design-time CSS, which may be the solution
your are looking for. But, I suspect you're looking for an
already-existing solution, and frankly, I can't see one right now. If you
do find a solution, please share your experience here - it may just be
what is required for skinning support.

- Ian

Eclipsian wrote:

> External css can be enabled by link tag as normal HTML. But for custom
> components, their default css resources are packed in jar file and they
> can be accessed in component renderer. So even there is no link tag in
> faces page to define external css, the renderers have problem to render
> component in runtime. But for Web Page Designer, they cannot be resolved
> unless you have link tag and have those css resources copied in web
> root. If I create a plugin bundled with those css resources, how can I
> manipulate design time dom via an (?) extension point. Or if there is
> better solution?

> Thanks ahead.
Re: enable design time only css external resource in page designer [message #618567 is a reply to message #476037] Tue, 21 October 2008 17:59 Go to previous message
Eclipse User
Originally posted by: Eclipsian.eclipsian.oti

sorry!

typo:
> So even there is no link tag in faces page to define external css,
the > renderers have <no> problem to render component in runtime.

Eclipsian wrote:
> External css can be enabled by link tag as normal HTML. But for custom
> components, their default css resources are packed in jar file and they
> can be accessed in component renderer. So even there is no link tag in
> faces page to define external css, the renderers have problem to render
> component in runtime. But for Web Page Designer, they cannot be resolved
> unless you have link tag and have those css resources copied in web
> root. If I create a plugin bundled with those css resources, how can I
> manipulate design time dom via an (?) extension point. Or if there is
> better solution?
>
> Thanks ahead.
Re: enable design time only css external resource in page designer [message #618568 is a reply to message #476037] Thu, 23 October 2008 13:55 Go to previous message
Ian Trimble is currently offline Ian Trimble
Messages: 136
Registered: July 2009
Senior Member
Eclipsian (if that is, in fact, your real name :) ),

We're currently looking at requirements for supporting "skinning" (such as
Trinidad allows) at design-time. One requirement will be the ability to
somehow register one or more stylesheets and image sets (i.e. "skins"),
and ultimately select any one at any time. This feature will need to
provide some method to specify design-time CSS, which may be the solution
your are looking for. But, I suspect you're looking for an
already-existing solution, and frankly, I can't see one right now. If you
do find a solution, please share your experience here - it may just be
what is required for skinning support.

- Ian

Eclipsian wrote:

> External css can be enabled by link tag as normal HTML. But for custom
> components, their default css resources are packed in jar file and they
> can be accessed in component renderer. So even there is no link tag in
> faces page to define external css, the renderers have problem to render
> component in runtime. But for Web Page Designer, they cannot be resolved
> unless you have link tag and have those css resources copied in web
> root. If I create a plugin bundled with those css resources, how can I
> manipulate design time dom via an (?) extension point. Or if there is
> better solution?

> Thanks ahead.
Previous Topic:enable design time only css external resource in page designer
Next Topic:API and UI changes for adoption of Library Provider Framework
Goto Forum:
  


Current Time: Wed Jul 30 11:17:55 EDT 2014

Powered by FUDForum. Page generated in 0.02427 seconds