XMLForm: could I use repeat tag with Collection or ...
Hello, I want to have a XMLForm view with a code that could be (I think) like this: xf:repeat nodeset=variable xf:output ref=variableName/ xf:output ref=variableValue/ xf:output ref=variableOrder/ /xf:repeat My goal is to display an array like this: display Variables: variableNamevariableValue variableOrder - - server sfh3344 1 display red 2 display My problem is that I don't know in which object (Collection, Array, HashMap, etc...) I could store this variable for the repeat tag. The data come from a database. In the wizard example the author uses a HashMap. But in this case I think it's not possible. Is anyone could help me? Thanks Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XMLForm: could I use repeat tag with Collection or ...
should work. -=Ivelin=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 7:23 AM Subject: XMLForm: could I use repeat tag with Collection or ... Hello, I want to have a XMLForm view with a code that could be (I think) like this: xf:repeat nodeset=variable xf:output ref=variableName/ xf:output ref=variableValue/ xf:output ref=variableOrder/ /xf:repeat My goal is to display an array like this: display Variables: variableName variableValue variableOrder - - server sfh3344 1 display red 2 display My problem is that I don't know in which object (Collection, Array, HashMap, etc...) I could store this variable for the repeat tag. The data come from a database. In the wizard example the author uses a HashMap. But in this case I think it's not possible. Is anyone could help me? Thanks Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm: could I use repeat tag with Collection or ...
Hi Ivelin, You means that I could use a Collection to store my data? Regards Sylvain -Message d'origine- De: ivelin [mailto:[EMAIL PROTECTED] Date: mercredi, 26. mars 2003 14:54 À: [EMAIL PROTECTED] Objet: Re: XMLForm: could I use repeat tag with Collection or ... should work. -=Ivelin=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 7:23 AM Subject: XMLForm: could I use repeat tag with Collection or ... Hello, I want to have a XMLForm view with a code that could be (I think) like this: xf:repeat nodeset=variable xf:output ref=variableName/ xf:output ref=variableValue/ xf:output ref=variableOrder/ /xf:repeat My goal is to display an array like this: display Variables: variableName variableValue variableOrder - - server sfh3344 1 display red 2 display My problem is that I don't know in which object (Collection, Array, HashMap, etc...) I could store this variable for the repeat tag. The data come from a database. In the wizard example the author uses a HashMap. But in this case I think it's not possible. Is anyone could help me? Thanks Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XMLForm: could I use repeat tag with Collection or ...
Yes. any Collection for the nodeset. -=Ivelin=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 8:00 AM Subject: RE: XMLForm: could I use repeat tag with Collection or ... Hi Ivelin, You means that I could use a Collection to store my data? Regards Sylvain -Message d'origine- De: ivelin [mailto:[EMAIL PROTECTED] Date: mercredi, 26. mars 2003 14:54 À: [EMAIL PROTECTED] Objet: Re: XMLForm: could I use repeat tag with Collection or ... should work. -=Ivelin=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 7:23 AM Subject: XMLForm: could I use repeat tag with Collection or ... Hello, I want to have a XMLForm view with a code that could be (I think) like this: xf:repeat nodeset=variable xf:output ref=variableName/ xf:output ref=variableValue/ xf:output ref=variableOrder/ /xf:repeat My goal is to display an array like this: display Variables: variableName variableValue variableOrder - - server sfh3344 1 display red 2 display My problem is that I don't know in which object (Collection, Array, HashMap, etc...) I could store this variable for the repeat tag. The data come from a database. In the wizard example the author uses a HashMap. But in this case I think it's not possible. Is anyone could help me? Thanks Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XMLForm: could I use repeat tag with Collection or ...
Hi again, If I take a look at the wizard example, I notice that the getter method (for a HashMap object) uses a Set class: public Set getObject() { return object.entrySet(); { Do I need something like that with a collection? About XPath and a Collection: if I have a Collection (variables) that contains variable objects and this object contains 2 attributes (name and order), how do you access to these data? If I try: code xf:repeat nodeset=variables/variable xf:output ref=name/ xf:output ref=orderrder/ /xf:repeat code Am I in the right way Thanks for your help. Regards Sylvain -Message d'origine- De: ivelin [mailto:[EMAIL PROTECTED] Date: mercredi, 26. mars 2003 15:10 À: [EMAIL PROTECTED] Objet: Re: XMLForm: could I use repeat tag with Collection or ... Yes. any Collection for the nodeset. -=Ivelin=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 8:00 AM Subject: RE: XMLForm: could I use repeat tag with Collection or ... Hi Ivelin, You means that I could use a Collection to store my data? Regards Sylvain -Message d'origine- De: ivelin [mailto:[EMAIL PROTECTED] Date: mercredi, 26. mars 2003 14:54 À: [EMAIL PROTECTED] Objet: Re: XMLForm: could I use repeat tag with Collection or ... should work. -=Ivelin=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 7:23 AM Subject: XMLForm: could I use repeat tag with Collection or ... Hello, I want to have a XMLForm view with a code that could be (I think) like this: xf:repeat nodeset=variable xf:output ref=variableName/ xf:output ref=variableValue/ xf:output ref=variableOrder/ /xf:repeat My goal is to display an array like this: display Variables: variableName variableValue variableOrder - - server sfh3344 1 display red 2 display My problem is that I don't know in which object (Collection, Array, HashMap, etc...) I could store this variable for the repeat tag. The data come from a database. In the wizard example the author uses a HashMap. But in this case I think it's not possible. Is anyone could help me? Thanks Sylvain (T) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]