RE : $xforms-output-value$ extra row using xform:repeat & Action setvalue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RE : $xforms-output-value$ extra row using xform:repeat & Action setvalue

Phil Jean

Erik !

 

I'm using IE 6.02800.1106 on Windows2000sp4. I have to add that two model resides within the header, and within one model have two instances.

I now use the more recent build and the repeat problem persist. I suspect xforms-to-ajax-xhtml.xsl and the way repeat are rendered. There might be some loop or index problem. Even tought it would work with the sandbox, i'd rather find and solve the problem. Have you ever seen this king of results ?

-----------

Phil.

 

-----Message d'origine-----

De : Erik Bruchez [[hidden email]] De la part de Erik Bruchez Envoy? : 14 novembre, 2005 16:14 ? : [hidden email] Objet : Re: [ops-users] $xforms-output-value$ extra row using xform:repeat & Action setvalue

 

Phil,

What browser are you using? Can you also try with with the online XForms

Sandbox:

http://www.orbeon.com/ops/goto-example/xforms-sandbox

or a more recent unstable build?

http://forge.objectweb.org/nightlybuilds/ops/ops/

-Erik

Phil Jean wrote:

> I'm using a xform repeat statement on OPS3b3 and i keep getting an

> extra row with $xforms-output-value$ display for each colomns.

>

> result xmlns:xhtml="http://www.w3.org/1999/xhtml"

> xmlns:oxf="http://www.orbeon.com/oxf/processors"

> xmlns:layout="http://orbeon.org/layout"

> xmlns:context="java:org.orbeon.oxf.pipeline.StaticExternalContext"

> xmlns:xsd="http://www.w3.org/2001/XMLSchema"

> xmlns:p="http://www.orbeon.com/oxf/pipeline"

> xmlns:xinclude="http://www.w3.org/2003/XInclude"

> xmlns:xforms="http://www.w3.org/2002/xforms">

>

> <acteur>

>

> <identificateur>1</identificateur>

>

> <nom/>

>

> <prenom>Julie</prenom>

>

> <categorie>drama</categorie>

>

> <pays/>

>

> <institution/>

>

> </acteur>

>

> <acteur>

>

> <identificateur>7</identificateur>

>

> <nom>Duguet</nom>

>

> <prenom>Julie</prenom>

>

> <categorie>sci-fi</categorie>

>

> <pays>France</pays>

>

> <institution/>

>

> </acteur>

>

> </result>

>

> <xforms:group ref="instance('info-instance')" model="model_liste">

>

> <xforms:repeat id="documentInfoRepeat" nodeset="acteur">

>

> <tr class="Texte">

>

> <td>

>

> <p><xforms:trigger>

>

> <xforms:label>Edit</xforms:label>

>

> <xforms:action ev:event="DOMActivate">

>

> <xforms:setvalue

> ref="instance('request-instance')/action">show</xforms:setvalue>

>

> <xforms:setvalue ref="instance('request-instance')/id"

> value="instance('info-instance')/results/identificateur"

> ></xforms:setvalue>

>

> <xforms:send submission="main-submission"/>

>

> </xforms:action>

>

> </xforms:trigger>

>

> </p>

>

> </td>

>

> <td><p><xforms:output ref="identificateur"/></p></td>

>

> <td><p><xforms:output ref="prenom"/></p></td>

>

> <td><p><xforms:output ref="nom"/></p></td>

>

> <td><p><xforms:output ref="pays"/></p></td>

>

> </tr>

>

> </xforms:repeat>

>

> </xforms:group>

>

> <xforms:model xmlns:xforms="http://www.w3.org/2002/xforms"

>

> xmlns:xsd="http://www.w3.org/2001/XMLSchema"

>

> id="model_liste" >

>

> <xforms:instance id="request-instance" >

>

> <form>

>

> <action/>

>

> <id/>

>

> </form>

>

> </xforms:instance>

>

> <!-- This instance contains the list of documents to display -->

>

> <xforms:instance id="info-instance">

>

> <xsl:copy-of select="result"/>

>

> </xforms:instance>

>

> <xforms:submission id="main-submission"

> ref="instance('request-instance')" method="post" action="/voir"/>

>

> <xforms:bind nodeset="instance('request-instance')/form/action"

> type="xsd:string" />

>

> <xforms:bind nodeset="instance('request-instance')/form/id"

> type="xsd:string" />

>

> </xforms:model>

>

>

>

> Also, the xforms:submit wont set action element into the model but all

> form data is present apon submisson ?

>

> <xforms:submit submission="submit-model">

>

> <xforms:label>Consultez</xforms:label>

>

> <xforms:setvalue

> ref="/recherche/action">faire-recherche</xforms:setvalue>

>

> </xforms:submit>

>

> Any clues ?

 


Find your next car at Yahoo! Canada Autos

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE : $xforms-output-value$ extra row using xform:repeat & Action setvalue

Erik Bruchez
Administrator
Phil Jean wrote:

> Erik !
>
> I'm using IE 6.02800.1106 on Windows2000sp4. I have to add that two
> model resides within the header, and within one model have two instances.
>
> I now use the more recent build and the repeat problem persist. I
> suspect xforms-to-ajax-xhtml.xsl and the way repeat are rendered. There
> might be some loop or index problem. Even tought it would work with the
> sandbox, i'd rather find and solve the problem. Have you ever seen this
> king of results ?
No, I don't think we have. To solve it, you will probably have to send
us a reproduceable case.

-Erik



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws