voyent
Icefaces and Spring Web Flow 2.0 Integration  XML
Forum Index -> General Help Go to Page: 1, 2, 3, 4, 5 Next 
Author Message
jguinney

Joined: 05/Oct/2007 00:00:00
Messages: 4
Offline


Icefaces 1.7.* claims to support Spring Web Flow 2.0, but I cannot find any working example or tutorial on how to integrate the two. I haven't found the Spring Web Flow documentation helpful since it has specific integration instructions for other 3rd party libraries (but no icefaces). Has anyone had success here? At a minimum, it'd be helpful if someone posted their working web.xml and faces-config.xml.

thanks.
ted.goddard

Joined: 26/Oct/2004 00:00:00
Messages: 874
Offline



Take a look at the icefaces-swf-booking project in the projects area of the ICEfaces svn repository (only the initial pages of the application have been ported, so you may see some exceptions).
[Email]
jguinney

Joined: 05/Oct/2007 00:00:00
Messages: 4
Offline


I have browsed these projects and have seen no "ice" tag markup in any of the files. This doesn't inspire me with much confidence that it actually works, e.g. partial submits, etc. Could you point out specifically what has and has not been ported?

thanks
michelle2

Joined: 14/Nov/2007 00:00:00
Messages: 449
Offline


jguinney wrote:
I have browsed these projects and have seen no "ice" tag markup in any of the files. This doesn't inspire me with much confidence that it actually works, e.g. partial submits, etc. Could you point out specifically what has and has not been ported?

thanks 


We are using icefaces in some really big spring web flow projects, although I've tested some apps with swf 2.0 m2 we are still basically using swf 1.5 right now until we find time to upgrade.

Do you have specific questions.

The booking example is really good, its a simple matter to drop some pages with real icefaces examples into that flow.

Last time I checked that example was using swf 2.0 milestone 2, not ga.


[Email]
jguinney

Joined: 05/Oct/2007 00:00:00
Messages: 4
Offline


One question I have is whether Facelets is required. Is non-Facelets deployment supported? If so, what would the web.xml and faces-config.xml look like?

thanks
michelle2

Joined: 14/Nov/2007 00:00:00
Messages: 449
Offline


jguinney wrote:
One question I have is whether Facelets is required. Is non-Facelets deployment supported? If so, what would the web.xml and faces-config.xml look like?

thanks 


facelets is not a requirement of springwebflow or icefaces, I will send you an example web.xml when I get back to work. until than enjoy the weekend.
[Email]
thewolf


Joined: 04/Jan/2008 00:00:00
Messages: 128
Offline


ted.goddard wrote:

Take a look at the icefaces-swf-booking project in the projects area of the ICEfaces svn repository (only the initial pages of the application have been ported, so you may see some exceptions). 


"icefaces-swf-booking" or "swf-booking-icefaces"?

Thanks,
TheWolf
michelle2

Joined: 14/Nov/2007 00:00:00
Messages: 449
Offline


thewolf wrote:

ted.goddard wrote:

Take a look at the icefaces-swf-booking project in the projects area of the ICEfaces svn repository (only the initial pages of the application have been ported, so you may see some exceptions). 


"icefaces-swf-booking" or "swf-booking-icefaces"?

Thanks,
TheWolf 


I have working version of those pages with real icefaces components, I haven't tried with swf 2.0 ga but with swf m2 they didn't quite work completely correctly out of the box.

In particular the where problems when we tried to pass values via setpropertiesactionlistner to another icefaces page, we kept losing the flowexecution key on the target. The problem was not with the setproperitiesactionlistener however but with the way swf was hadling the flow execution key. We eventually found icompatablities in libraries beween swf m2 and m3 so that may not be an issue with GA. Has swf-booking been updated for swf GA

Again when I get back to work I will post a working swf 2.0 app, if I really feel inspired (translation: find the time) I will post a demo on our website. www.mooncatventures.com
[Email]
michelle2

Joined: 14/Nov/2007 00:00:00
Messages: 449
Offline


michelle2 wrote:

thewolf wrote:

ted.goddard wrote:

Take a look at the icefaces-swf-booking project in the projects area of the ICEfaces svn repository (only the initial pages of the application have been ported, so you may see some exceptions). 


"icefaces-swf-booking" or "swf-booking-icefaces"?

Thanks,
TheWolf 


I have working version of those pages with real icefaces components, I haven't tried with swf 2.0 ga but with swf m2 they didn't quite work completely correctly out of the box.

In particular the where problems when we tried to pass values via setpropertiesactionlistner to another icefaces page, we kept losing the flowexecution key on the target. The problem was not with the setproperitiesactionlistener however but with the way swf was hadling the flow execution key. We eventually found icompatablities in libraries beween swf m2 and m3 so that may not be an issue with GA. Has swf-booking been updated for swf GA

Again when I get back to work I will post a working swf 2.0 app, if I really feel inspired (translation: find the time) I will post a demo on our website. www.mooncatventures.com 


see if this helps at all, if not send me a message and I will see if I can help further. Posting the classes and libs would be to big a download, This is mostly the booking example. I think we made a few mods but I don't remember. This was all I could find quick.
SWF will play a major role in my iphone open source project, but with work my time to work on that gets shorter and shorter.

 Filename icefaces-booking-jsf.zip [Disk] Download
 Description
 Filesize 285 Kbytes
 Downloaded:  708 time(s)

[Email]
GuntherD

Joined: 09/Sep/2007 00:00:00
Messages: 10
Offline


Hi,

The icefaces-swf-booking seems to be based on the old swf-booking example from the Spring Web flow milestones. The other one (swf-booking-icefaces) is based on the example that ships with the SWF2.0 GA release.

I've downloaded and built this example according to the readme-information on the svn pages, and got it to work. Wolf, if you want, I'll post the web.xml and faces-config files (with facelets though).

I do have another question though concerning the behaviour I'm seeing.

The original webflow booking sample uses the faceletsviewresolver in several places (mapping for instance the url “spring/intro” to the intro.xhtml file under WEB-INF, or “/spring/login” to login.xhtml). The icefaces integration seems to break this behaviour, as it goes looking for a flow with the 'intro' or ‘login’ id as soon as you try to use said url-syntax. Is this standard/intended behaviour, not yet implemented or an oversight in the configuration from my part?

Thx,
Gunther
thewolf


Joined: 04/Jan/2008 00:00:00
Messages: 128
Offline


GuntherD wrote:

I've downloaded and built this example according to the readme-information on the svn pages, and got it to work. Wolf, if you want, I'll post the web.xml and faces-config files (with facelets though). 


Was it necessary to do some more modfication other that in readme?

If no, I can get it myself from SVN and build it...

I am actually aiming at facelets, so this is example would be perfect for me.

Thanks,
TheWolf
GuntherD

Joined: 09/Sep/2007 00:00:00
Messages: 10
Offline


No, the example works out of the box when building from svn. Just make sure to point your browser to http://localhost:8080/swf-booking-icefaces/sping/main when starting up. Trying to launch http://localhost:8080/swf-booking-icefaces/ as such will result in an exception due to the faceletsviewresiolver not working with the icefaces integration, as described in my previous post.

good luck, and if you need any help, just shout.
martinsig

Joined: 19/Jun/2008 00:00:00
Messages: 13
Offline



Is there a full example?
I also try to get ICEfaces run with spring and spring web flow.
I tried to checkout the projects out of the repository. Don't know why but can't do it in the company always get a RA Layer exception (also after downloading the newest version of tortoise). At home I was able to check out and take it to company, but I can not set the external link like described in the readme file....

Could you perhaps post a war. Just a short example? I despair of checking out and get the example running!
Or just the web.xml, webflow-config.xml and faces-config ?

Thanks
Martin
thewolf


Joined: 04/Jan/2008 00:00:00
Messages: 128
Offline


Does Code:
<view-state popup="true">
work with icefaces?
Or is it possible to use Code:
<ice:panelPopup>
with SWF?
Or is http://jira.springframework.org/browse/SWF-660 supposed to take care of ideas in this direction?
martinsig

Joined: 19/Jun/2008 00:00:00
Messages: 13
Offline


Hi,
is it realy necessary to checkout the latest versions of spring web flow and ice faces to get the example running?
I checked out the things which are described in the readme.txt. But can't build the icefaces trunk. I'm not so familiar with ant. I get some UnsuportedClassVersionError.
Couldn't I just get the latest versions of the spring web flow and the icefaces? Could you perhaps post your web.xml and flow config file?

Kind regards
Martin
 
Forum Index -> General Help Go to Page: 1, 2, 3, 4, 5 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team