Hello Alain, thank you for your help.
Changing it, select works and you can select any value from itemset, but
default values are not chosen as default in select:
<EQUIPO xmlns="">
<TARJETA>
*<MODELO>371111</MODELO>*
</TARJETA>
<TARJETA>
*<MODELO>371110</MODELO>*
</TARJETA>
</EQUIPO>
Best Regards,
Javier
El 17/04/12 21:46, Alain Couthures escribió:
> Hello Javier,
>
> There is a mismatch with models because the submission is not defined
> in the same model as the replaced instance. I have to check the
> Recommendation.
>
> Could please try again with this:
> <xf:model id="TIPOS">
> <xf:instance id="tipos-tarjetas">
> <data xmlns="">
> <TIPO_TARJETA>
> <IDELEMENTO>0</IDELEMENTO>
> <ETIQUETA>Seleccione...</ETIQUETA>
> </TIPO_TARJETA>
> </data>
> </xf:instance>
> <xf:submission id="getData" resource="data.xml"
> instance="tipos-tarjetas" method="get" mode="synchronous"
> replace="instance" serialization="none">
> </xf:submission>
> <xf:action ev:event="xforms-ready">
> <xf:send submission="getData"/>
> </xf:action>
> </xf:model>
>
> Thank you for your feedbacks!
>
> -Alain
>
> Le 17/04/2012 01:48, Javier Díaz a écrit :
>> Hello,
>>
>> we have an strange error with last version of xsltforms. Last version I
>> have checked it works ok is r372 and partially in r489.
>>
>> I send you a test case, if we are doing something wrong, please let
>> us know.
>>
>> In the test case we have some data in a instance, and we have inside a
>> repeat node a select of this data whose itemset points to another
>> instance. This instance data is updated when "xforms-ready" event is
>> fired. Data from select it isn't updated when new data is loaded (it
>> works in r372 and r489, but doesn't in newer versions). Newer items
>> created after loading new data are ok. Also, we have in test case a
>> button to add new items that works in r372 and r537 but it dowesn't in
>> r489 (as it works in last revision it doesn't matter).
>>
>> Best Regards,
>> Javier
>>
>>
>
************************************************************************************************************************************************
*La información contenida en este mensaje de correo electrónico es confidencial
y puede revestir el carácter de reservada. *
*Está dirigida exclusivamente a la persona destinataria.
*
*El acceso o cualquier uso por parte de cualquier otra persona de este mensaje
no están autorizados y pueden ser ilegales.*
*Si no es Ud. la persona destinataria, le rogamos que proceda a borrarlo.
*
*The information in this e-mail is confidential and may be legally privileged.
*
*It is intended solely for the addressee.
*
*Access or any use by any other person to this Internet e-mail is not
authorised and may be unlawful. *
*If you are not the intended recipient, please delete this e-mail.
*
************************************************************************************************************************************************
<<attachment: jdiaz.vcf>>
------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________ Xsltforms-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xsltforms-support
