Re: Binding values for Required & Optional

Paul Lynch <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
eg:

<?xml version="1.0" encoding="macintosh" standalone="yes"?>
<wodefinitions>
	<wo class="PLKeyValueConditional" wocomponentcontent="YES">

		<binding name="key"/>
		<binding name="value"/>
		<binding name="negate"/>

		<validation message="&apos;key&apos; is a required binding">
			<unbound name="key"/>
		</validation>
	</wo>
</wodefinitions>

Paul

On 11 Jul 2006, at 11:45, Cheong Hee (QSS) wrote:

> In previous version (guess Version 4.5), the variable could pass  
> into component using this binding values defined in .api:
>     Required = (itemOneRequired, itemTwoRequired);
>     Optional = (itemOneOptional, itemTwoOptional);
>
> In 5.0 version above, the api has changed to xml format.  Could  
> someone share how do we pass in the Required and Optional binding  
> values now?
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <wodefinitions>
>         <wo wocomponentcontent="false" class="ComponentPageName">
>
>         </wo>
> </wodefinitions>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.