» Home » WebFlow » Page 1
How do I end a Grails webflow if the user clicks on a link that's not in the webflow?
Category : Web Design

I have a Grails application with a common navigation bar that shows on all pages. When the user starts a webflow, it will change the URL to look like this:


http://localhost:8080/app/transaction/create?execution=e5s1

But when I click to a link that's not in the webflow, it will still append the querystring:


http://localhost:8080/app/profile/show

View Replies


Can I run Webflow 1.0 flows through Spring Webflow 2.1.1?
Category : Programming Languages

I have a project built with Webflow 1.0 and Spring 2.0. We'd like to upgrade to Spring 3, but that requires Webflow 2.X.


I've updated all the Spring and Webflow jars in the project, but when I try to load the initial flow, I get:


org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Cannot locate BeanDefinitionParser for e

View Replies


Associations and the Grails webflow
Category : Web Design

it's my first time using webflows in Grails and I can't seem to solve this.


I have 3 domain classes with associations that look something like this:


class A {
...
static hasMany = [ b : B ]
...
}
class B {
...
static belongsTo = [ a : A ]
static hasMany = [ c : C ]
...
}
class C {
...
s

View Replies


Grails WebFlow with Ajax
Category : Web Design

I am trying to transition to next state of a WebFlow using Ajax requests. But it stays in the same state and returns the GSP as response for that state while I am expecting the GSP for the next state.


Following is the WebFlow code:


def gettingStartedAjaxFlow = {
flow1 {
on("next") {
println "flow

View Replies


force https in WebFlow
Category : Development Tools & Services

I have a grails application deployed on Tomcat7 and exposed by Apache2. The grails application respond on 8080 of the server the standard way but on Apache2 it is served to the user by https://


All works right except for a WebFlow controller. When the webflow redirect the user it change the https:// to http://
How I can force WebFlow to use https:// ?


View Replies


Having problems with Spring webflow
Category : Programming Languages

I am trying to add a on-render element to this XML:


<var name="someVariable" class="com.example.test"/>
<view-state id="frontpage" view="test/test">
<binder>
<binding property="test" required="true"/>
</binder>
<transition on="submit" to="summary">
<evaluate expr

View Replies


Dynamic webflow configuration
Category : Web Design

Is there any way to update the webflow configuration and reload it to make impact on the flow of web application on the fly?


View Replies


How to Parse webflow with JAXB
Category : Programming Languages

I use Spring webflow and I need to read flow definition
this flow definition is a xml file...
I want to parse this XML with JAXB:


<?xml version="1.0" encoding="UTF-8"?>
<flow xmlns="http://www.springframework.org/schema/webflow"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema

View Replies


Problem with Jasig CAS webflow
Category : Web Design

I have CAS 3.4.3 in my pom. From Jasig CAS zip I included all configuration including login-webflow.xml


The same configuration was working for me when I built my application with CAS source. Currently I get an exception:


org.springframework.expression.spel.SpelParseException: EL1041E:(pos 33): After parsing a valid expression, there is still more data in the expressio

View Replies


Grails webflow url rewriting
Category : Web Design

Want to make the URLs SEO friendly when using grails webflow. It is quite limiting with the convention grails uses and hard to go around the way it's built.
For example, i have a flow called fooProcess in the controller called FooController, when i trigger the flow i would like the display: /foo/bar/test, instead of /foo/fooProcess?excecution=e1s2


class FooController {

View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .