Re: PrototipBehaviour problems
> you need to have a scriptaculous dependency in your project's pom.xml Thanks for the response. I'm having trouble adding the dependency to my pom.xml. Below is my pom.xml dependency definition: org.wicketstuff wicketstuff-scriptaculous 1.4-SNAPSHOT Has anyone recently added this dependency successfully? Any help is appreciated. Thanks, Ryan -- View this message in context: http://www.nabble.com/PrototipBehaviour-problems-tp21424534p21463033.html Sent from the Wicket - User 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
Re: PrototipBehaviour problems
You must include its javascript libraries: add(ScriptaculousAjaxBehavior.newJavascriptBindingBehavior()); you need to have a scriptaculous dependency in your project's pom.xml Vitek Ryan O'Hara wrote: I'm trying to use PrototipBehaviour. Below is my code: Link detailsLink = new Link("Sample", new Model(sample)); Label label = new Label("sampleid", sample); detailsLink.add(label); PrototipBehaviour pb = new PrototipBehaviour("hallelujah!!"); label.add(pb); add(detailsLink); And below is the source that is produced: ]]>*/ href="../../../../../../resources/org.wicketstuff.minis.prototipbehaviour.PrototipBehaviour/prototip.css" media="screen" /> src="../../../../../../resources/org.wicketstuff.minis.prototipbehaviour.PrototipBehaviour/prototip-min.js"> ]]>*/ ]]>*/ ... I would expect "hallelujah!!" to pop up during onmouseover of the label, but I'm not seeing it. Any help would be greatly appreciated. I'm using wicketstuff-minis-1.4.0-SNAPSHOT and Wicket 1.3.3. Thanks, Ryan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
PrototipBehaviour problems
I'm trying to use PrototipBehaviour. Below is my code: Link detailsLink = new Link("Sample", new Model(sample)); Label label = new Label("sampleid", sample); detailsLink.add(label); PrototipBehaviour pb = new PrototipBehaviour("hallelujah!!"); label.add(pb); add(detailsLink); And below is the source that is produced: ]]>*/ ]]>*/ ]]>*/ ... I would expect "hallelujah!!" to pop up during onmouseover of the label, but I'm not seeing it. Any help would be greatly appreciated. I'm using wicketstuff-minis-1.4.0-SNAPSHOT and Wicket 1.3.3. Thanks, Ryan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org