Re: dynamic select boxes in XMLForms?

2002-11-16 Thread Ivelin Ivanov
You are welcome!


- Original Message -
From: "Josema Alonso" <[EMAIL PROTECTED]>
To: "Cocoon-Users" <[EMAIL PROTECTED]>
Sent: Saturday, November 16, 2002 3:21 PM
Subject: Re: dynamic select boxes in XMLForms?


> > Look closer at the demo and examine the itemset elements under the
select
> > elements.
> I see.  I'm sorry I didn't notice them before.
>
> It's working, thank you very much.
>
>
> > - Original Message -
> > From: "Josema Alonso" <[EMAIL PROTECTED]>
> > To: "Cocoon-Users" <[EMAIL PROTECTED]>
> > Sent: Thursday, November 14, 2002 12:35 PM
> > Subject: dynamic select boxes in XMLForms?
> >
> >
> > > Hi, all.
> > >
> > > I tried the XMLForm wizard demo where I see some select boxes created
> for
> > > processor, ram, servlet engine and java version elements in ths system
> > > information page.
> > >
> > > I see the values for those are hard coded in 'system.xml' and I want
to
> > > create a select box from a DOM Node. I got the following:
> > > 
> > >  
> > >   Description of the player type
> > >  
> > >  
> > >   Description of the recorder type
> > >  
> > > 
> > >
> > > I would like to create a select box (one of the dropdown type) and
have:
> > > 1.- value of every option element as the EquipmentType/@id
> > > 2.- text displayed of every option as the EquipmentType/Description
> > >
> > > I've tried with a xf:repeat with no luck. I also tried with just one
> > element
> > > but no luck either. I guess is something with the stylesheet. The
> > > 'xmlform2html.xsl' doesn't seem to check 'ref' attributes on option
> > > elements. I guess the solution will be the customization of that
> > stylesheet
> > > to my needs...am I right?
> > >
> > > Thanks.
> > >
> > >
> > > -
> > > Please check that your question  has not already been answered in the
> > > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> > >
> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> > >
> >
> >
> > -
> > Please check that your question  has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: dynamic select boxes in XMLForms?

2002-11-16 Thread Josema Alonso
> Look closer at the demo and examine the itemset elements under the select
> elements.
I see.  I'm sorry I didn't notice them before.

It's working, thank you very much.


> - Original Message -
> From: "Josema Alonso" <[EMAIL PROTECTED]>
> To: "Cocoon-Users" <[EMAIL PROTECTED]>
> Sent: Thursday, November 14, 2002 12:35 PM
> Subject: dynamic select boxes in XMLForms?
>
>
> > Hi, all.
> >
> > I tried the XMLForm wizard demo where I see some select boxes created
for
> > processor, ram, servlet engine and java version elements in ths system
> > information page.
> >
> > I see the values for those are hard coded in 'system.xml' and I want to
> > create a select box from a DOM Node. I got the following:
> > 
> >  
> >   Description of the player type
> >  
> >  
> >   Description of the recorder type
> >  
> > 
> >
> > I would like to create a select box (one of the dropdown type) and have:
> > 1.- value of every option element as the EquipmentType/@id
> > 2.- text displayed of every option as the EquipmentType/Description
> >
> > I've tried with a xf:repeat with no luck. I also tried with just one
> element
> > but no luck either. I guess is something with the stylesheet. The
> > 'xmlform2html.xsl' doesn't seem to check 'ref' attributes on option
> > elements. I guess the solution will be the customization of that
> stylesheet
> > to my needs...am I right?
> >
> > Thanks.
> >
> >
> > -
> > Please check that your question  has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>



-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: dynamic select boxes in XMLForms?

2002-11-15 Thread Ivelin Ivanov

Look closer at the demo and examine the itemset elements under the select
elements.


- Original Message -
From: "Josema Alonso" <[EMAIL PROTECTED]>
To: "Cocoon-Users" <[EMAIL PROTECTED]>
Sent: Thursday, November 14, 2002 12:35 PM
Subject: dynamic select boxes in XMLForms?


> Hi, all.
>
> I tried the XMLForm wizard demo where I see some select boxes created for
> processor, ram, servlet engine and java version elements in ths system
> information page.
>
> I see the values for those are hard coded in 'system.xml' and I want to
> create a select box from a DOM Node. I got the following:
> 
>  
>   Description of the player type
>  
>  
>   Description of the recorder type
>  
> 
>
> I would like to create a select box (one of the dropdown type) and have:
> 1.- value of every option element as the EquipmentType/@id
> 2.- text displayed of every option as the EquipmentType/Description
>
> I've tried with a xf:repeat with no luck. I also tried with just one
element
> but no luck either. I guess is something with the stylesheet. The
> 'xmlform2html.xsl' doesn't seem to check 'ref' attributes on option
> elements. I guess the solution will be the customization of that
stylesheet
> to my needs...am I right?
>
> Thanks.
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




dynamic select boxes in XMLForms?

2002-11-14 Thread Josema Alonso
Hi, all.

I tried the XMLForm wizard demo where I see some select boxes created for
processor, ram, servlet engine and java version elements in ths system
information page.

I see the values for those are hard coded in 'system.xml' and I want to
create a select box from a DOM Node. I got the following:

 
  Description of the player type
 
 
  Description of the recorder type
 


I would like to create a select box (one of the dropdown type) and have:
1.- value of every option element as the EquipmentType/@id
2.- text displayed of every option as the EquipmentType/Description

I've tried with a xf:repeat with no luck. I also tried with just one element
but no luck either. I guess is something with the stylesheet. The
'xmlform2html.xsl' doesn't seem to check 'ref' attributes on option
elements. I guess the solution will be the customization of that stylesheet
to my needs...am I right?

Thanks.


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>