On Tue, May 26, 2009 at 11:43 PM, Vasu Srinivasan <[email protected]> wrote:

> @Luther:
>
> Yes - I'm using the ImageButton it to submit a form.
>
> Thanks for the suggestion to use the modifier. I will try that.
>

Great. I think it should work for you.


>
> On a side note, I thought that having the images/css/js etc served from
> webserver is pretty common and would be supported by wicket without having
> to add the names within java code.


If I had to guess ... it is probably just a matter of time. There are
probably a lot of design and "Wicket Way" considerations the team iterates
through and prioritizes. I think cases like yours bring some of these usage
points into clearer focus after-which, maybe they'll get some traction.

My guess is that these folks are pretty busy and that there are probably 10s
of 100s of similar requests in the queue - so just need some time ... or
bodies :)


> I understand the reasoning behind using new ResourceReference as it makes
> loading locale specific images very simple. But why should wicket prepend
> classpath etc. -- i'm not clear on that. Can't wicket simply ignore the
> "src" attribute if ResourceReference is not present and use whatever was
> already in the html template? That way I do not have to specify the image
> name within the java code and the separation between java and html is
> clean.


It sounds reasonable to me - but I'm not knee deep in the code either/yet.

-Luther

Reply via email to