Subdialog parameters
Posted: Wed Nov 16, 2005 3:04 pm
I am invoking a Java servlet using the <subdialog> tag but the parameters I specify don't appear in the program.
I have tried two forms;
<subdialog fetchhint="safe" method="post" name="doSaveRecording" namelist="varRecord_Value varRecord_Name Message_recipient_id" src="**servlet**storeRecording" />
and
<subdialog fetchhint="safe" method="post" name="doSaveRecording1" src="**servlet**storeRecording" >
<param name="Message_recipient_id" expr="Message_recipient_id"/>
<param name="varRecord_Name" expr="varRecord_Name"/>
<param name="varRecord_Value" expr="varRecord_Value"/>
</subdialog>
(The **servlet** bit gets resolved at run-time)
The servlet definitely gets invoked but the parameter values are all null, almost as if they aren't getting passed across.
All three parameter variables contain data. I have proved this using prompt tags just prior to the <subdialog> element.
Any clues as to what I am doing wrong?
Adrian
I have tried two forms;
<subdialog fetchhint="safe" method="post" name="doSaveRecording" namelist="varRecord_Value varRecord_Name Message_recipient_id" src="**servlet**storeRecording" />
and
<subdialog fetchhint="safe" method="post" name="doSaveRecording1" src="**servlet**storeRecording" >
<param name="Message_recipient_id" expr="Message_recipient_id"/>
<param name="varRecord_Name" expr="varRecord_Name"/>
<param name="varRecord_Value" expr="varRecord_Value"/>
</subdialog>
(The **servlet** bit gets resolved at run-time)
The servlet definitely gets invoked but the parameter values are all null, almost as if they aren't getting passed across.
All three parameter variables contain data. I have proved this using prompt tags just prior to the <subdialog> element.
Any clues as to what I am doing wrong?
Adrian