Extend WebComponent, override onComponentTag() method and set the required attributes (e.g. src) depending on the model/context.
On Fri, Sep 23, 2011 at 6:36 AM, fachhoch <fachh...@gmail.com> wrote: > I want to embed youtube into my page , for this I created a panel which > implements IMarkupResourceStreamProvider, in method getMarkupResourceStream > I am generating markup to embed video based on the selected video,as the > markup is cached after the first time I always get the same video , > so is there a way to tell wicket not to cache markup of this panel ? > > and please advice me if there is much cleaner way to embed youtube in > wicket page? > > > > > > > > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/embed-youtube-player-tp3835617p3835617.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org