[ 
https://issues.apache.org/struts/browse/SHALE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rahul Akolkar reassigned SHALE-404:
-----------------------------------

    Assignee: Rahul Akolkar

> EL in cond attribute of <transation> is not properly resolved
> -------------------------------------------------------------
>
>                 Key: SHALE-404
>                 URL: https://issues.apache.org/struts/browse/SHALE-404
>             Project: Shale
>          Issue Type: Bug
>          Components: Dialog
>    Affects Versions: 1.1.0-SNAPSHOT
>            Reporter: Paul Spencer
>         Assigned To: Rahul Akolkar
>
> I suspect that SCXML is not getting the properties from dialog.data because 
> the value of dialog.data.leased is always
> false.
> ***
> * Value of dialog.data fields
> ***
>    leased = Boolean.TRUE
> ***
> * Dialog configuration for the stat Page 1
> ***
>  <state id="page1">
>     <onentry>
>       <shale:view viewId="vehicle/addPage1" />
>     </onentry>
>     <transition event="faces.outcome"
>       cond="${outcome eq 'next' and dialog.data.leased}" target="page2" />
>     <transition event="faces.outcome"
>       cond="${outcome eq 'next' and not dialog.data.leased}" target="review" 
> />
>     <transition target="menu" event="faces.outcome"
>       cond="${outcome eq 'cancel'}" />
>   </state>
> ***
> * Logging
> ***
> outcome = next
> _eventdata = null
> _eventdatamap = {faces.outcome=null}
> _ALL_NAMESPACES = {shale=http://shale.apache.org/dialog-scxml, 
> =http://www.w3.org/2005/07/scxml}
> ${outcome eq 'next' and dialog.data.leased} = false
> _ALL_NAMESPACES = null
> _ALL_NAMESPACES = {shale=http://shale.apache.org/dialog-scxml, 
> =http://www.w3.org/2005/07/scxml}
> ${outcome eq 'next' and not dialog.data.leased} = true
> _ALL_NAMESPACES = null
> _ALL_NAMESPACES = {shale=http://shale.apache.org/dialog-scxml, 
> =http://www.w3.org/2005/07/scxml}
> ${outcome eq 'cancel'} = false
> _ALL_NAMESPACES = null
> _eventdata = null
> _eventdatamap = null
> Current States: [review]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to