Thanks Norman for your ideas. I will explore them and see what makes the
most sense in my case. I was hoping that there would be something in
Tapestry that I could utilize to make it easier, but I guess not.

Regards,
Benny

On Mon, Jan 17, 2011 at 4:27 PM, Norman Franke <nor...@myasd.com> wrote:

> You could use JavaScript to hide the form and use AJAX to put something
> else there. Or create a new absolutely positioned DIV that covers the entire
> contents of the form and use AJAX to do whatever. A sort of easy way is to
> put all your content in a single DIV and just hide that and have another DIV
> that you can then show, with optional AJAX update.
>
> Along these lines, I've used the ModalBox dialog library to display a
> dialog where the user can lookup stuff and hide it when they select whatever
> they want. When they click on the desired item, I auto fill that into the
> desired field on the original form.
>
> Otherwise, I'd serialize the form values into a large hidden text field in
> a separate, but hidden form, and submit that. Store that in the session.
> Then restore later. Google for a prototype-compatible Form deserialization
> routing, I recall needing one a while go and found one.
>
> Norman Franke
> Answering Service for Directors, Inc.
> www.myasd.com
>
>
>
>
> On Jan 15, 2011, at 1:14 PM, Benny Law wrote:
>
>  I am developing a mobile application with Tapestry 5. Sometimes, when
>> entering data on a form, I need to display another page (some kind of
>> look-up) where the user can eventually select some value that needs to be
>> brought back to the original form. For desktop web applications, I could
>> implement the look-up page with an iframe so that the user doesn't need to
>> leave the original form. Now, with the mobile application where I can't
>> use
>> iframe, I need some way to suspend the form, saving the state of the form
>> as
>> is without validating anything. Upon returning from the look-up page, I
>> need
>> to restore the form to the state it was in when the user opened the
>> look-up
>> page. What is the best way to do this in Tapestry?
>>
>> Benny
>>
>
>

Reply via email to