Another idiom is to attach a wicket:id to that HTML tag, and in your Java code use a WebMarkupContainer with an AttributeModifier to change whatever attribute you would like. Of course the IResource and children might be a better approach since it does the work for you :)
~ Thank you, Paul Bors -----Original Message----- From: Martin Grigorov [mailto:[email protected]] Sent: Wednesday, August 15, 2012 2:20 AM To: [email protected] Subject: Re: Static web page localization Hi, You may use Wicket IResource that should serve the SWFs dynamically. See http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ for an inspiration. On Wed, Aug 15, 2012 at 9:02 AM, Arni Kekoni <[email protected]> wrote: > Hello > > I have a bunch of static web pages, with no wicket objects associated with > them. > These pages have .swf files like so: > > <EMBED SRC="xyz.swf"</EMBED> > > Is it possible to use wicket to localize those .swf files? Serve > xyz_en.swf for english and so on? > I know you could simply create a page_en.html, page_nl.html and so > on, but I am looking for possible automation. > > Thanks > Arni > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
