dev@woodstock.java.net

Re: Facelets + Woodstock problem

From: Morten Egelund Rasmussen <MER_at_Brunata.dk>
Date: Thu, 25 Oct 2007 14:05:52 +0200

Hi!

We're using Facelets and Woodstock with Woodstock buttons all over. No problems whatsoever.

Use 'actionListener' and 'action' on the button. The ActionListener is executed before the Action.

Some ideas:

* Check your ActionListener method signature.

* Remember to register all backingbeans in faces-config.xml.

* Check that faces-config.xml has JSF 1.2 in the header.

* Try with <webuijsf:page> and the whole stack in the page and in the Facelets template (dunno if it makes a difference).


Let us know if it helps..... Send code snippets if not.


Best regards,
~Morten :-)



>>> stuart.russell_at_sun.com 25-10-2007 13:46:04 >>>


Jason I too have just wasted 4 hours trying to get the actionlisteners and
actionExpression working on the Woodstock button component.
It just doesnt work .
Tried using firebox to find out exactly whats going wrong but getting
nowwhere.

Have resorted to using the standard commandButton within JSF and it works
AOK, no problems.

Did anyone get to the button of this issue when integrating with FACELETS.

Or

Anyone suggest another template engine.

Stu




Jason Suplizio wrote:
>
> A coworker at my company has the following problem:
>
> I am trying to use Woodstock and Facelets. Rendering works correctly, but
> the binding of the "action" components did not work. For example, a
> button
> would not invoke its backing beans action. Removing Facelet and using Jsp
> allowed Woodstock to work properly.
>
> Tried using the actionExpression and the actionListenerExpression.
>
> Also note:
> The h:commandButton worked as expected.
> The w:radioButton also failed in Facelets
>
>
> Does anyone have any similar experiences? Do you know of a solution for
> these issues?
>
> Thanks,
> Jason
>
> PS Is the dev list the wrong place for these questions?
>
>

--
View this message in context: http://www.nabble.com/Facelets-%2B-Woodstock-problem-tf4469174.html#a13405134
Sent from the Project Woodstock - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_woodstock.dev.java.net
For additional commands, e-mail: dev-help_at_woodstock.dev.java.net