you have plenty of options to do that using different stylesheet files
for each supported resolution
detect the client resolution in a Session scoped bean
detect the client resolution custom viewHandler
detect the client resolution in a filter chained before jsf rendering
first one is the easie
::SammyRulez:: ha scritto:
put them in css style class. Don't put presentation data in you bean ;-)
My needs are to dimension an image, after having collected information
about the resolution of the client's monitor.
So I have to recalculate the width and height.
CSS are not involved in this
put them in css style class. Don't put presentation data in you bean ;-)
BTW what error did you get?
2006/1/9, Nicola Benaglia <[EMAIL PROTECTED]>:
> Hi,
> I need to pass "width" and "height" parameters
> to a jsp graphicImage tag as following:
>
> url="#{facesContext.externalContext.requestCont
Hi,
I need to pass "width" and "height" parameters
to a jsp graphicImage tag as following:
url="#{facesContext.externalContext.requestContextPath}#{cardLoader.imageUrl}"
styleClass="card"/>
I use a binding component.
The bean called as this method:
private HtmlGraphicImage image;
public Html
4 matches
Mail list logo