|
From: Erwin V. <erw...@er...> - 2005-05-23 15:00:18
|
Yes, that's a limitation of the current RedirectViewDescriptorCreator: it
only evaluates expressions in the values of request attributes. That will
certainly be made more generic with the next release.
For now you could do something like this:
<end-state id="redirect" view="class:com.my.CustomViewDescriptorCreator"/>
and just implement a CustomViewDescriptorCreator for your case.
Erwin Vervaet
erw...@er...
----- Original Message -----
From: "Scott Battaglia" <sco...@ru...>
To: <spr...@li...>
Sent: Monday, May 23, 2005 4:41 PM
Subject: [Springframework-developer] Spring Webflow PR3 and Redirects
> I've just started using PR3 of Webflow (nice stuff!!) and I'm trying to
> get the redirect views to work.
>
> It seems to be choking though on the following entry:
> <end-state id="redirect"
> view="redirect:${flowScope.service}?ticket=${flowScope.ticket}"/>
>
> Is the above a valid statement? It seems to not be evaluating the
> flowScope.service.
>
> This is the error I get:
> javax.servlet.ServletException: Could not resolve view with name
> 'redirect:${flowScope.service}' in servlet with name 'cas'
>
> Thanks
> -Scott
>
> --
> Scott Battaglia
> Application Developer, Architecture & Engineering Team
> Enterprise Systems and Services, Rutgers University
> v: 732.445.0097 | f: 732.445.5493 | sco...@ru...
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
|