The PROGRESSBAR_INDETERMINATE theme key refers to a CSS selector, not an
image. In order to pull a theme image property into the JSP page, you
will need to use the themeImages property resolver. For example:
<webuijsf:image url="#{themeImages.PROGRESS_BUSY}"/>
That said, the progress bar's indeterminate image is specified via style
sheets. Therefore, you won't find a theme image key for this. Although,
feel free to copy the image to your own web app.
Dan
Kenneth Suter wrote:
> Can you tell me what best practice is for referring to theme
> controlled elements like images without using an explicit URL
> reference like:
>
> ./theme/com/sun/webui/jsf/suntheme4_2/images/progressBar/indeterminate.gif
>
>
> that might be subject to change, for instance when the theme graduates
> to 4_3? I was hoping I could do something like:
>
> <webuijsf:image url="#{themeStyles.PROGRESSBAR_INDETERMINATE}"/>
>
> which doesn't work.
>
> Thanks,
>
> -Kenneth
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>