Re: HtmlGraphicImage and width/height parameters

2006-01-09 Thread ::SammyRulez::
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

Re: HtmlGraphicImage and width/height parameters

2006-01-09 Thread Nicola Benaglia
::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

Re: HtmlGraphicImage and width/height parameters

2006-01-09 Thread ::SammyRulez::
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

HtmlGraphicImage and width/height parameters

2006-01-09 Thread Nicola Benaglia
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