CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 JSP w/ templates: Show/hide form

Print topic Send  topic

Author Message
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
>
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.