So ...

<action-state id=²initialFlowSetup²>
    <action bean=²InitialFlowSetupAction² />
    <transition on=²success² to=²decideWhetherToSetService² />
</action-state>

<decision-state id=²decideWhetherToSetService²>
    <if test=²${flowScope.service == null}² then=²setDefaultService²
else=²ticketGrantingTicketExistsCheck² />
</decision-state>

<action-state id=²setDefaultService²>
    <set attribute=²flowScope.service² value=²new
SimpleWebApplicationServiceImpl(Œhttp://www.example.com¹)²
<http://www.example.com&#8217;)&#8221;>  />
    <transition to=²ticketGrantingTicketExistsCheck² />
</action-state>

^^;

Even with the books I have on SWF, I can never figure their configuration
correctly.

Thanks Scott,
A- 

On 2/18/09 3:18 PM, "Scott Battaglia" <[email protected]> wrote:

> You can create one using this:
> http://developer.jasig.org/source/browse/jasigsvn/cas3/trunk/cas-server-core/s
> rc/main/java/org/jasig/cas/authentication/principal/SimpleWebApplicationServic
> eImpl.java?r=42869
> (there are two static methods, depending on whether you want single log out
> enabled or not)
> 
> Then place it into flowScope.service
> 
> -Scott
> 
> -Scott Battaglia
> PGP Public Key Id: 0x383733AA
> LinkedIn: http://www.linkedin.com/in/scottbattaglia
> 
> 
> On Wed, Feb 18, 2009 at 3:44 PM, Andrew Feller <[email protected]> wrote:
>> I'm looking to set a default service to be used in Spring Web Flow in case
>> one has not been provided by the user.  However, it is impossible to override
>> the external context parameter map and since the flowScope.service variable
>> is an instance of WebApplicationService, I don't know how to instantiate an
>> instance as necessary.  Has anyone been able to do this?
>> 
>> Thanks,
>> Andrew
> 
> -- 
> Andrew Feller, Analyst
> LSU University Information Services
> 200 Frey Computing Services Center
> Baton Rouge, LA 70803
> Office: 225.578.3737
> Fax: 225.578.6400


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to