2 Replies Latest reply on Oct 23, 2012 6:31 PM by jgallego

    Lookup  behavior problem


      I am trying to configure a lookup behavior that shows the data from a data instance behavior. This lookup behavior has to filter the information based on the data selected in another field.

      For example I have a selected box that contains all the countries, when i select a specific country the next field has to filter the related cities of that country.

      The next line of code is the XPath expression of the Nodeset

      instance('Municipios')/Paises/Pais/Departamentos/Departamento[Codigo/text()= ../Departamento/text()]/Municipios/Municipio

      With the above line is not working but if i define the line as follows, it works fine.


      How can I configure it to work dinamically?

      Thanks for the help.