Michael Rachow
|
| Posted: 04/11/2002, 8:34 AM |
|
Hi,
is there an equivalent to conditional show/hide forms for JSP (with
templates)
like the one for ASP:
if condition_to_hide then
SetVar "FormYour_Form_Name",""
exit sub
end if
I have tried (for my form All)
session.setAttribute("FormAll", "");
and
session.putValue("FormAll", "");
w/o any success?
Thanks
Michael
|
|
|
 |
Alexey Alexapolsky
|
| Posted: 04/12/2002, 2:23 AM |
|
See CC sources , find how SetVar is used , that's pure java.
In a nutshell :
if (bCondition) {
oTpl.setVar ("FormAll", "");
return;
}
--
Alex
CodeCharge Developer
"Michael Rachow" <mrachow@BeraCom.de> wrote in message
news:a94ae3$e9i$1@news.codecharge.com...
> Hi,
>
> is there an equivalent to conditional show/hide forms for JSP (with
> templates)
> like the one for ASP:
> if condition_to_hide then
> SetVar "FormYour_Form_Name",""
> exit sub
> end if
>
> I have tried (for my form All)
> session.setAttribute("FormAll", "");
> and
> session.putValue("FormAll", "");
>
> w/o any success?
>
> Thanks
>
> Michael
>
>
>
|
|
|
 |
|