repeat bug?!

Posted by Alexandru Ionita on
URL: https://discuss.orbeon.com/repeat-bug-tp1473415.html



Hello guys

We are facing a very unpleasant situation and we think this is a bug. 

We have the following reference: 


<xf:output ref="instance('searchHelpFieldsResult')/Content/F4OutputValues/Values/item[$position]/$resultFieldName"></xf:output>


both variables $position and $resultFieldName are visible in this scope

but this expression will return the value stored in $resultFieldName !!!
If I replace the variable reference ($resultFieldName) with the value itself, everything works great.

eg:

$resultFieldName -> "SAKNR"       

instance('searchHelpFieldsResult')/Content/F4OutputValues/Values/item[$position]/$resultFieldName  = "SAKNR"    !!!!!!!!
instance('searchHelpFieldsResult')/Content/F4OutputValues/Values/item[$position]/SAKNR = "real_value"    (OK!)   


Thank you!
Alexandru


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws