Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Use a popup from a navigation button
Re: Use a popup from a navigation button [message #1832 is a reply to message #1824] Thu, 13 November 2008 12:17 Go to previous messageGo to previous message
gpatti is currently offline  gpatti
Messages: 283
Registered: August 2008
Senior Member
Not managing to get this to work yet. Following your advice I tried creating an upd3 task called 'Print Letter' (used upd3 as this was an available task and gives a SUBMIT button that I thought I could use to execute the print. I set my document_type popup screen as an initial passthrough task.

In practise when I click the 'Print Letter' task button the popup screen is successfully being displayed, and when I select an option and press CHOOSE I am then returned to the UPD3 screen as expected. However, the popupReturn method does not get executed, so I cannot process the results in the way I want.

Following through with a debugger, I see in std.update3.inc line 66 that $return_from contains the name of the popup I am returning from, but $popup_object is NULL, so popupReturn does not get executed.

How is $popup_object determined?

Graham
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: std.multi2 locking rows
Next Topic: Search for field in related table
Goto Forum:
  


Current Time: Fri Nov 29 16:41:10 EST 2024

Total time taken to generate the page: 0.01443 seconds