java.lang.String graphicImageURLWithType(java.lang.String, java.lang.String)
@GraphicImageBean
URL based on given expression string and image type.
The expression string must be a quoted string. Any nested quotes can be escaped with backslash.
The image type is represented as file extension. E.g. "webp", "jpg", "png", "gif", "ico", "svg", "bmp", "tiff", etc.
Usage example:
<a href="#{of:graphicImageURLWithType('images.full(product.imageId)', 'png')}"> <o:graphicImage value="#{images.thumb(product.imageId)}" type="png" /> </a>
Info | Value |
---|---|
Function Class | org.omnifaces.el.functions.Components |
Function Signature | java.lang.String graphicImageURLWithType(java.lang.String, java.lang.String) |
Display Name | None |
Output generated by Vdldoc View Declaration Language Documentation Generator.