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

Home » RADICORE development » Transaction Patterns » PopUp - Link1 table
Re: PopUp - Link1 table [message #5561 is a reply to message #5559] Tue, 24 May 2016 10:37 Go to previous messageGo to previous message
htManager is currently offline  htManager
Messages: 415
Registered: May 2014
Senior Member
I think the only way to realize this is the second way you proposed. I think I understand the way to do this, too. I read the option #2 in FAQ79. But I have problems to find the right way.

I created a PopUp1 for table category. I created a PopUp2 for the (link) table. I inserted the following code (as shown in #2 of FAQ79) in the class of the PopUp2 (link) table.

If I call the PopUp2 function I get a white screen telling me that the website can never finish the query.

Where is my fault?


function _cm_initialise ($where)
// perform any initialisation for the current task.
{
if (empty($where)) {
if (isset($GLOBALS['return_from'])) {
if ($GLOBALS['return_from'] == 'htm_training_plan_uebungskategorie(popup1)') {
// nothing selected from popup screen
$this->scriptPrevious($GLOBALS['errors']);
} // if
} // if

$pattern_id = getPatternId();
if (strtolower($pattern_id) == 'popup2') {
// request_id has not been supplied yet, so get it now via a popup
$this->scriptNext('htm_training_plan_uebungen_kategorie(popup2)');
} // if
} // if
return $where;

} // _cm_initialise
 
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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Filepicker - choose Null button
Next Topic: List view (List3)
Goto Forum:
  


Current Time: Mon Apr 29 08:05:56 EDT 2024

Total time taken to generate the page: 0.01248 seconds