users@woodstock.java.net

Re: Woodstock and ICEfaces integration

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Tue, 09 Sep 2008 07:42:17 -0700

Scales has a rich text editor... you could give that one a try.  I know Jason Lee (Scales lead) is good at responding to any problems / questions.

    https://scales.dev.java.net

Good luck,

Ken Paulsen
https://jsftemplating.dev.java.net

Felipe Jaekel wrote:
Ok

Is it possible to integrate Woodstock with another component library, like RichFaces for example?

I need a rich text input component. I've tried jMaki Yahoo's editor, but its complicated to get value from the component and the Yahoo CSS messed up Woodstock CSS (big fonts).

Thanks for any help,
Felipe

2008/9/8 Alex Sherwin <alex.sherwin@acadiasoft.com>

It's very unlikely that you will be able to use ICEFaces components in a Woodstock WAR.  ICEFaces uses different impl classes for the standard JSF lifecycle, because they've drastically modified the implementation of it.  It no longer uses the same full GET/POST submit to a Servlet back-end, they've instead created a AJAX "bridge" that basically intercepts a form submit, and rather then submitting it normally, it submits it via an async xmlhttprequest, which gets back DOM updates from the back end in JSON format, and then are applied to the current DOM via the AJAX bridge.

 

It may be possible to setup a project to include pages that use only Woodstock, or pages that use only icefaces, but I highly doubt you will be able to mix/match on a single page.  If this were to work, you would need to setup the ICEFaces persistent Servlet and have it mapped to a context that Woodstock would not recognizes (i.e. /faces/* for Woodstock  Servlet, /ifaces/* for ICEFaces Servlet, etc).

 

Your best bet is to read the ICEFaces developer guide to better understand how their implementation works

 

 

Alex Sherwin

alex.sherwin@acadiasoft.com

 

From: Felipe Jaekel [mailto:fkjaekel@gmail.com]
Sent: Monday, September 08, 2008 8:00 AM
To: users@woodstock.dev.java.net
Subject: Woodstock and ICEfaces integration

 

I use Woodstock as main component library. I'd like to use at my pages some components from ICEFaces that it doesn't have.

I've installed the ICEfaces plugin at NetBeans put it simply doesn't work when I mix their components.

What JARs I need and what has to be configured at web xml and faces-config.xml?

Thanks a lot,
Felipe