Hmm, I think your solution looks much nicer.  Seems
more elegant.  I may refactor my code.

--- Adam Czysciak <[EMAIL PROTECTED]> wrote:

> Chris Nelson wrote:
> 
> > Yup, that did the trick.  I love it when a problem
> > takes 2 paragraphs to explain and 1 sentence to
> solve
> > :)
> 
> I solved it other way. If myCursor is the 'value'
> binding of Foreach (with
> type cursorType), I made the submit listener with
> signature:
>   public void mySubmit(cursorType currentCursor);
> and then in @Submit, I added "parameters=myCursor"
> binding, and it worked.
> Then, in listener code, I don't have to operate on a
> cursor property, I have
> it passed as a parameter.
> 
> Which is better, Howard? In the sense of Tapestry
> overhead, maybe
> memory/speed overhead?
> 
> 
> -- 
> Greets,
>   Adam Czysciak
>   [EMAIL PROTECTED]
>   Sun Certified Programmer for the Java 2 Platform,
> SE 5
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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

Reply via email to