Feature Requests item #1228367, was opened at 2005-06-27 16:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1228367&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.1
Status: Open
Priority: 5
Submitted By: Gili Tzabari (cowwoc)
Assigned to: Nobody/Anonymous (nobody)
Summary: Autolink static resources

Initial Comment:
There is already a RFE open for autolinking static link
but this is slightly different.

We should be able to write:

ResourceLink screenshotLarge = new
ResourceLink("enlargedImage");

(substitute ResourceLink for some other name if you
wish) and Wicket should be smart enough to find the
associated Wicket tag in the HTML, in my case it is:

<a wicket:id="enlargedImage" href="sunset/large.jpg">

and it should then be smart enough to pick up the href
and associate a StaticResourceReference() with it.

Currently one has to mention the URL twice: once on the
HTML end and once on the Wicket end. This is
error-prone and should be better automated on Wicket's
part.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1228367&group_id=119783


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to