BTW...if I change LocaledImageResource.setResourceReference(
ResourceReference ref ) to the following:


        public final void setResourceReference(final ResourceReference
resourceReference)
        {
                setResourceReference(resourceReference, resourceParameters);
        }

Everything works as expected.

Another possible solution would be to expose the parameters in
LocalizedResourceReference (get/set)Parameters.  Then the change could be
limited to Image.onComponentTag()

                final ResourceReference resourceReference = 
getImageResourceReference();
                if (resourceReference != null)
                {
                        
localizedImageResource.setResourceReference(resourceReference,
localizedImageResource.getParameters());
                }

BTW...I filed a bug report for this issue 
https://issues.apache.org/jira/browse/WICKET-1039 WICKET-1039 
-- 
View this message in context: 
http://www.nabble.com/Missing-resource-parameters-for-an-Image-using-a-ResourceReference-tf4564719.html#a13029367
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to