Hi all, We need to use resources slightly different than the standard ResourceReference. Our resources will not reside on the same host as our application. These resources will be hosted by our static content system. As a result, I need the following urls generated.
<app path>/assets/<path to asset> For example, during development, we'll have a path of http://localhost:8081/assets/img/btn-save.png The assets/img/btn-save.png directory exists in our webapp root. When we deploy haproxy will redirect that assets tag to a different back end. I've tried the following code in our forms, but it always generates paths that require java to serve the image. I'm currently using AjaxButton to accomplish this, but it doesn't do what I need. I've basically had to copy/paste a lot of code from ImageButton over to my extension of the AjaxButton. What would be the best way to create an AjaxButton that is also an image button, but uses ContextRelativeResource instead of LocalizedImageButton to render the button image? Thanks, Todd
