RE: Problem with navigation handler

2008-02-08 Thread samju

mario, if this work now so its fine:-)

mario.buonopane wrote:
 
 Yes Sam, I decided that for all AJAX Actions I don't use Dialog Manager
 features but in the page I call directly the action, for example in my
 button:
 #{test_stateless$ricercaSinistro.nonDialogAction }
 
 and the action return null.
 
 What do you think?
 
 Thanks, Mario 
 
 -Original Message-
 From: samju [mailto:[EMAIL PROTECTED] 
 Sent: 7 febbraio 2008 16.01
 To: user@shale.apache.org
 Subject: RE: Problem with navigation handler
 
 
 any progress mario?
 Sam
 
 mario.buonopane wrote:
 
 So, in the JSP I call directly the action, for example in my button:
 #{test_stateless$ricercaSinistro.nonDialogAction }
 
 Mario 
 
 -Original Message-
 From: samju [mailto:[EMAIL PROTECTED] 
 Sent: 4 febbraio 2008 14.27
 To: user@shale.apache.org
 Subject: RE: Problem with navigation handler
 
 
 1- findClaim() do return the Transition OK
 2- for your ajax call we do not have to use dialog conf. stuff. work
 outside
 the Dialog
 so return null from non-Dialog action!
 
 public String nonDialogAction(){
 
 prepare the ajax call
 /*as you mentioned befor the output schould be null*/
 
 return null;
 /* will let us refresh the last Dialog-State-View. This View is the
 Transition outcome OK from a dialog-Action*/
 }
 
 public String dialogAction(){
 .do smth..
 return OK;
 }
 
 Sam
  
 
 mario.buonopane wrote:
 
 I'm sorry, but I don't understand
 If I return null from the action, how can Shale go do transition OK
 ?
 
 
 
 
 -Original Message-
 From: samju [mailto:[EMAIL PROTECTED] 
 Sent: 2 febbraio 2008 12.25
 To: user@shale.apache.org
 Subject: Re: Problem with navigation handler
 
 
 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-tp15180522p1524192
 6.html
 Sent from the Shale - User mailing list archive at Nabble.com.
 
 
 
 
 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-tp15180522p1526807
 0.html
 Sent from the Shale - User mailing list archive at Nabble.com.
 
 
 
 
 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-tp15180522p1533542
 1.html
 Sent from the Shale - User mailing list archive at Nabble.com.
 
 
 
 
 This message is for the designated recipient only and may contain
 privileged, proprietary, or otherwise private 

RE: Statistic

2008-02-08 Thread mario.buonopane
I'm using successfully:
- Basic Dialog Manager
- View Controller

Mario 

-Original Message-
From: samju [mailto:[EMAIL PROTECTED] 
Sent: 2 febbraio 2008 12.45
To: user@shale.apache.org
Subject: Statistic


I just want to check how many user, Companies, etc. are using Shale.
thanks
For your feedback  in advance!

Sam
-- 
View this message in context:
http://www.nabble.com/Statistic-tp15242062p15242062.html
Sent from the Shale - User mailing list archive at Nabble.com.




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.


Re: Statistic

2008-02-08 Thread Matthias Wessendorf
we use the test framework;
also test is used by (almost) all MyFaces component libs.
for sure on Trinidad

-M

On Feb 8, 2008 5:12 PM, Chris Keefer [EMAIL PROTECTED] wrote:
 Currently, I am only using the Shale Test framework.

 Best,
 --Chris


 On Feb 2, 2008, at 6:44 AM, samju wrote:

 
  I just want to check how many user, Companies, etc. are using
  Shale. thanks
  For your feedback  in advance!
 
  Sam
  --
  View this message in context: http://www.nabble.com/Statistic-
  tp15242062p15242062.html
  Sent from the Shale - User mailing list archive at Nabble.com.





-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org


RE: Statistic

2008-02-08 Thread Richard Eggert
I'm not using Shale myself at the moment, but on my previous project (which 
another employee of my company has taken over), I used Clay, View Controller, 
Tiger Extensions, and the Test Framework.

Rich Eggert
Member of Technical Staff
Proteus Technologies, LLC
http://www.proteus-technologies.com



-Original Message-
From: samju [mailto:[EMAIL PROTECTED]
Sent: Sat 2/2/2008 6:44 AM
To: user@shale.apache.org
Subject: Statistic
 

I just want to check how many user, Companies, etc. are using Shale. thanks
For your feedback  in advance!

Sam
-- 
View this message in context: 
http://www.nabble.com/Statistic-tp15242062p15242062.html
Sent from the Shale - User mailing list archive at Nabble.com.




Re: Statistic

2008-02-08 Thread Chris Keefer

Currently, I am only using the Shale Test framework.

Best,
--Chris

On Feb 2, 2008, at 6:44 AM, samju wrote:



I just want to check how many user, Companies, etc. are using  
Shale. thanks

For your feedback  in advance!

Sam
--
View this message in context: http://www.nabble.com/Statistic- 
tp15242062p15242062.html

Sent from the Shale - User mailing list archive at Nabble.com.