Hi,How to retrive the selected values in the combo box.Down I have the sample code which I am using inside the TAG_info section.I tried with this code.which I got from one of solution wf. Its is not returning all of the selected value but only the first selected value.for(my $i=0; $i < $kount; $i++) { $pred_list .= "\n";}Any thoughts would be greatly appreciated..
my $pred_list = q();foreach my $rev (__ELEM__("reviewers")){ $pred_list .= qq(<pred v="Review_$rev"/>\n);}
[html]TAG_info( contributor => [ html => make_l10n_input_with_roles_callout("contributor", undef, undef, __VALUE__("iw_locale"), "author"), label => "Content Contributor", error_msg => 'Please pick a contributor', ], iw_desc => [ html => "", label => "Job Description", error_msg => 'Please enter a description', ], reviewer => [ html => &get_branch_edition(), # this return the select combo(multiple) label => "Content Reviewer(s)", error_msg => 'Please choose a reviewer', ], );[/html]
some lines are diff to read..pls see the wft file attached.Regards,Lal
hi ghoti,use TeamSite::Usertask qw( cleanup_paths get_names_from_file make_l10n_input_with_roles_callout get_mail_cmd make_branchpathlist );Actually I need to use the get_names_from_file from the above IW lib.It is returning me only the first item selected, eventhough the "select box " is multiple.
BTW, how to ensure that a method returns an HTML formatted multi-select list?Note: going thru the pdf, I see the syntax as __VALUE__($tagname,$encoding); But my doubt is what should be the value of $encoding?also,my $kount= __ELEM__('reviewer');