Hello Forum,
i`ve wrote a script for browsing over branches. the path parameters i`ve send
as GET URL attachment on the link. The problem was, that the CGI Script calls itself serveral times to browse deeper into branches and lost after first click those DCT parameters
$form_name = $cgi->{'form'}{'iw_form_name'};
$element_name = $cgi->{'form'}{'iw_callback_var'};
Because GET URL String is delimited to 255 characters, i`ve wrote the parameters into hidden fields in the CGI Script.
[html]
[/html]
At first call out of the DCT the CGI has filled all hidden fields with the right content. After clicking one link a Javascript submit function submitting the form
*** Javascript ***
[html]
function submitForm() {
document.browsing.submit();
return false;
}
[/html]
*** form tag ***
[html]
[/html]
*** links for browsing ***
[html]
default[/html]
After submit i dont get the parameters from the hidden fields
$cgi->parse_data();
my $page = new CGI;
my $element = $page->param('element_name_h');
my $form = $page->param('form_name_h');
I m using TeamSite::CGI_lite to do this. May someone give me a hint why i cant read the hidden field values after submit?
Thanks and Regards
Sascha