Re: How to Use Image as Form Submit Button That Has OnSelectedFrom Handler in Page Class

2014-06-06 Thread Thiago H de Paula Figueiredo
On Fri, 06 Jun 2014 03:17:15 -0300, Net Dawg wrote: /> which would be great if it worked! But gives error: Failure reading parameter 'image' of component ...: Could not find a coercion from type java.lang.String to type org.apache.tapestry5.Asset. Never, never, never ever use ${} expans

Re: How to Use Image as Form Submit Button That Has OnSelectedFrom Handler in Page Class

2014-06-06 Thread Net Dawg
Thanks! On Thursday, June 5, 2014 10:18 PM, Geoff Callender wrote: Here are some more examples: T5.4: http://jumpstart.doublenegative.com.au/jumpstart7/examples/styling/linksandsubmits1 T5.3: http://jumpstart.doublenegative.com.au/jumpstart/examples/styling/linksandsubmits1 On 6 Jun

Re: How to Use Image as Form Submit Button That Has OnSelectedFrom Handler in Page Class

2014-06-06 Thread Geoff Callender
Here are some more examples: T5.4: http://jumpstart.doublenegative.com.au/jumpstart7/examples/styling/linksandsubmits1 T5.3: http://jumpstart.doublenegative.com.au/jumpstart/examples/styling/linksandsubmits1 On 6 Jun 2014, at 4:55 pm, Nathan Quirynen wrote: > Hi, > > As you can see in the

Re: How to Use Image as Form Submit Button That Has OnSelectedFrom Handler in Page Class

2014-06-05 Thread Nathan Quirynen
Hi, As you can see in the Tapestry documentation of the Submit component: http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Submit.html and what your stacktrace is teeling you is that the "image" parameter expects an object of the type " org.apache.tapestry5.Asset"