You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jack Nuzbit <fn...@googlemail.com> on 2008/04/29 17:32:04 UTC

T5 image submit

Hi All,

Can anybody point me in the right direction for creating an image submit in
tapestry 5. I've scoured the docs but i can't find anything.

Many thanks,

Jack

Re: T5 image submit

Posted by Jack Nuzbit <fn...@googlemail.com>.
Thanks Daniel, that worked perfectly.


On Tue, Apr 29, 2008 at 5:43 PM, Daniel Leffel <da...@gmail.com>
wrote:

> Just look at the source for the regular submit and simply change the
> template to be type=image.
>
> I also added a parameter to the component so I could pass it the image to
> use.
>
> Email me offline if you're still having problems and I'll send you my
> code.
>
>
> On Tue, Apr 29, 2008 at 8:32 AM, Jack Nuzbit <fn...@googlemail.com>
> wrote:
>
> > Hi All,
> >
> > Can anybody point me in the right direction for creating an image submit
> in
> > tapestry 5. I've scoured the docs but i can't find anything.
> >
> > Many thanks,
> >
> > Jack
> >
>

Re: T5 image submit

Posted by Daniel Leffel <da...@gmail.com>.
Just look at the source for the regular submit and simply change the
template to be type=image.

I also added a parameter to the component so I could pass it the image to
use.

Email me offline if you're still having problems and I'll send you my code.


On Tue, Apr 29, 2008 at 8:32 AM, Jack Nuzbit <fn...@googlemail.com> wrote:

> Hi All,
>
> Can anybody point me in the right direction for creating an image submit in
> tapestry 5. I've scoured the docs but i can't find anything.
>
> Many thanks,
>
> Jack
>