Your aim is to apply a ajax call on ricercaSinistro.jsp.
If i got what you means, I think you may do the follow:

The outcome of the Ajax-Call-action can (should )return null.
This Ajax action should be handle outside the Dialog Configuration File. (we
can mix dialog and non dialog action).

The Pre-Action-State should have as target the dialog End-State.
 
<action name="actionRicerca" 
  method="#{ test_stateless$ricercaSinistro.findClaim }">
        <transition outcome="OK" target="Exit" />
</action>

<view name="ricercaPage" viewId="/test_stateless/ricercaSinistro.jsp ">
In this View State we can call an Ajax action with the needed null outcome.     
<transition outcome=" exitdialogaction" target=" exitdialog " />
        
</view>  
<end name=exit  viewId="/test_stateless/ricercaSinistro.jsp”>
<end name=exitdialog  viewId="/test_stateless/home.jsp”>

I hope this will help


mario.buonopane wrote:
> 
> Hi, I'm using basic navigation handler with this configuration:
> 
> <action name="actionRicerca"
> method="#{test_stateless$ricercaSinistro.findClaim}">
> 
>             <transition outcome="OK" target="ricercaPage" />      
> 
>             <transition outcome="error" target="Exit"/>      
> 
>       </action>
> 
>     
> 
> <view name="ricercaPage" viewId="/test_stateless/ricercaSinistro.jsp">
> 
>             <transition outcome="ricerca" target="actionRicerca"/>      
> 
>       </view>
> 
>       
> 
> The button of my form call the action "ricerca" because I want specify
> the action to call in the configuration file of dialog. 
> 
> If the action ="#{test_stateless$ricercaSinistro.findClaim}" return null
> I have a loop because the control remain to the view "ricercaPage" and
> call again the outcome "ricerca". 
> 
>  
> 
> Is there any one can help me?
> 
>  
> 
> Thanks in advance
> 
> Mario 
> 
>  
> 
> 
> 
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information.  If you have
> received it in error, please notify the sender immediately and delete the
> original.  Any other use of the email by you is prohibited.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-navigation-handler-tp15180522p15241926.html
Sent from the Shale - User mailing list archive at Nabble.com.

Reply via email to