cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g4 <ja...@root10.net>
Subject Re: XMLForm tags
Date Wed, 23 Apr 2003 14:41:18 GMT
Brief  XMLForm Tag Ref.

OK this is most of what I can find, if anyone can add. I'll try to 
refine this a little later on.


#Doc root:
	<document xmlns:xf="http://xml.apache.org/cocoon/xmlform/2002">

#Form element:
	<xf:form id="form-feedback" view="system" action="wizard" 
method="GET"> <!-- form item(s) here --></xf:form>

#Caption element:
	Caption element can be the child of any form or form element.
	<xf:caption>System Information</xf:caption>

#Help element:
	<xf:help>Select one or more</xf:help>

#Violation element:
	Can be the child of any form element that requires validation.
	<xf:violations class="error"/>

#Value element:
	Can be the child or  of any form element.
	<xf:value>Geek</xf:value>

#Hidden element:
	 <xf:hidden ref="hidden"><!-- value here --></xf:hidden>

#Itemset element:
	Child of <xf:selectMany/>.
	 <xf:itemset nodeset="allHobbies">

#Text box element:
	 <xf:textbox ref="/firstName"> <!-- values and captions here --> 
</xf:textbox>


#Multiple select:

	<xf:selectMany ref="/role" selectUIType="listbox"><!-- list values and 
captions here --></xf:selectMany>

#Check box element
	<xf:selectMany ref="/hobby" selectUIType="checkbox"> <!-- list values, 
itemset and captions here --> </xf:selectMany>


#Submit element:
	  <xf:submit id="next" class="button"><!-- caption, hint here --> 
</xf:submit>

#Radio buttons, Select lists
	Child of form

       	<xf:selectOne ref="os" > <!-- list values and captions here --> 
</xf:selectOne>

	For a  select list it seems that the selectUIType=""is left out. So...

	<xf:selectOne ref="os" selectUIType="radio"> <!-- list values and 
captions here --> </xf:selectOne>



#On Wednesday, Apr 23, 2003, at 14:22 Europe/London, ivelin wrote:

>
> I am afraid at the moment there is no tag reference guide.
> The XMLform branch at http://www.xmlform.org supports most of the 
> latest
> XForms UI Controls.
> Once it becomes a block, Cocoon will be synced up too.
>
> If someone is interested to write a brief tag reference I could help 
> with
> any questions.
>
> -=Ivelin=-
>
> ----- Original Message -----
> From: "Josema Alonso" <josema@simbiosystems.com>
> To: <cocoon-users@xml.apache.org>
> Sent: Wednesday, April 23, 2003 7:38 AM
> Subject: Re: XMLForm tags
>
>
>> Hi, there.
>> I'm sorry to say I couldn't find them either, but the best thing you 
>> could
>> do is to take a close look at the Wizard How-To as suggested, and 
>> you'll
>> find most of them and how they can be used.
>>
>> Maybe Ivelin can enlighten us here if he has a list of them or 
>> something
>> like that...Ivelin?
>>
>> Best.
>>
>> ps: nice to see more people from Spain around here :-)
>>
>> ----- Original Message -----
>> From: "Carmona Perez, David" <DPerezCar@fcc.es>
>> To: <cocoon-users@xml.apache.org>
>> Sent: Wednesday, April 23, 2003 1:12 PM
>> Subject: XMLForm tags
>>
>>
>> Dear community,
>>
>> Does anybody know where I can information about the available tags in
>> XMLForm, like <xf:ouput>, <xf:text> ?
>> For example, I need a combo (an HTML select tag), a table, ....
>>
>> Thanks in advance.
>>
>> ------------------------------------------------------
>>
>> David
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message