Re: function "exists" ?

"Guijarro, Julio" <[email protected]> Wed, 19 Jul 2006 15:45:08 +0100
Newsgroups gmane.comp.java.smartfrog.devel
Message-ID <[email protected]>
An example used in  prim.sf

 

    sfPrimSchema extends ifThenElse {

        if sfSchema;

        then extends PrimSchema;

        else NULL;

    }

 

This creates an attribute called sfPrimSchema if sfSchema is exists if
not, it makes it NULL.

 

Julio

 

________________________________

From: smartfrog-developer-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:smartfrog-developer-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
Xavier Grehant
Sent: 19 July 2006 15:38
To: smartfrog-developer
Subject: [Smartfrog-developer] function "exists" ?

 


Hi -

Is there a way to check if an attribute exists in a smartfrog
description?
The idea is to be able to have an optional attribute
attr2 PARENT:attr1
when attr1 is optional in the parent.

Thank you, 
Xavier

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Smartfrog-developer mailing list
Smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-developer