Thanks James. I think I got it.

I think the key part is this:
((FooSelectionListener) page).fooSelected(foo); 

I guess "page" is the page that starts the loop and is waiting for a
selection, that is why it implements fooSelected.

I think I'll implement something similar but instead of using a foo object
for fooSelected, I'll use an id. Then redirect to the original "page" and my
fooSelected would load it from the database.

Though, I'm not sure if the original "page" would be automatically refreshed
with the selection.

I will have to try.

Thanks.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Page-to-select-something-and-use-the-selection-in-another-page-tp3409591p3426075.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to