Geoff,
THANKS that worked great!

regards,

Mark


-----Original Message-----
From: Geoff Longman [mailto:[EMAIL PROTECTED]
Sent: Tue 5/16/2006 1:54 PM
To: Tapestry users
Subject: Re: Passing a byte array into a component???
 
<parameter name="byteArray" direction="custom"/>

public abstract IBinding getByteArrayBinding();

public (or private up to you) byte [] getByteArray() {
    IBinding binding = getByteArrayBinding();
   if (binding == null)
       return null;
   return (byte[])binding.getObject();
}

On 5/16/06, Geoff Longman <[EMAIL PROTECTED]> wrote:
> A byte array is an Object :-)
>
> geoff
>
> On 5/16/06, Mark Stang <[EMAIL PROTECTED]> wrote:
> > Geoff,
> > T3, but custom wants an object right?
> >
> > thanks,
> >
> > Mark
> >
> >
> > -----Original Message-----
> > From: Geoff Longman [mailto:[EMAIL PROTECTED]
> > Sent: Tue 5/16/2006 1:19 PM
> > To: Tapestry users
> > Subject: Re: Passing a byte array into a component???
> >
> > T3?
> >
> > You can always use 'custom'
> >
> > Geoff
> >
> > On 5/16/06, Mark Stang <[EMAIL PROTECTED]> wrote:
> > > All,
> > > I am trying to pass in a byte[] into a component.  However, I only seem 
> > > to have "in" available.  And it seems to be null when I go looking later.
> > >
> > > thoughts?
> > >
> > > thanks,
> > >
> > > Mark
> > >
> > >
> >
> >
> > --
> > The Spindle guy. http://spindle.sf.net
> > Blog:                  http://jroller.com/page/glongman
> > Other interests:  http://www.squidoo.com/spaceelevator/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>
>
> --
> The Spindle guy. http://spindle.sf.net
> Blog:                  http://jroller.com/page/glongman
> Other interests:  http://www.squidoo.com/spaceelevator/
>


-- 
The Spindle guy. http://spindle.sf.net
Blog:                  http://jroller.com/page/glongman
Other interests:  http://www.squidoo.com/spaceelevator/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to