Thanks Jamie,

That is really good advice. The variable you put into
a parameter must be an object (Integer vs int). Am I
right about this? It would be ideal if I use the
Foreach index.

Ed


--- Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote:
> Don't pass the whole object as a parameter. You'll
> end up with a 
> hideously long query string that will fail in some
> browsers if it ends 
> up too long. If you can't use an id or an array
> index to fetch the 
> object on the server side and really need to pass
> the object itself 
> around, then use a custom data squeezer.
> 
> Jamie
> 
> Robert Zeigler wrote:
> > Edward Scanzano wrote:
> > 
> >>if I use parameters="currentVariable" the it comes
> >>through as a java.lang.String
> >>
> >>if I use parameters="ognl:currentVariable" then I
> get
> >>an exception
> > 
> > 
> > you'll want to use the ognl: binding prefix,
> sorry.
> > As for the exception, probably the fastest
> solution is to
> > make your class serializable. Tapestry will
> "squeeze"
> > your object into a string for the url, and then
> "unsqueeze" it
> > later on. The fallback is a serializable adapter,
> so if your class is
> > serializable, you'll be set. The other solution is
> to create a custom
> > squeeze adaptor for your particular class (or set
> of classes).
> > 
> > Robert
> > 
> > 
> >> 
> >>java.lang.IllegalArgumentException 
> >>Could not find an adaptor for class
> >>com.intaglio.client.api.impl.RepositoryImpl. 
> >>
> >>Is there something I need to do something in the
> .page
> >>file?
> >>
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> > 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



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

Reply via email to