AW: MyFaces 1.2.6, JBoss PortletBridge 1.0.0CR3 Postback with LifeRay 5.2.3

2010-03-18 Thread Sertic Mirko, Bedag
Hi I checked this with FireBug. The right form is submitted, and there is a javax.faces.ViewState parameter. But for some reason, it doesn't get to the JSF implementation... Regards Mirko -Ursprüngliche Nachricht- Von: sethfromaust...@gmail.com [mailto:sethfromaust...@gmail.com] Im

[Tobago] Problem using JSP tags with attributes

2010-03-18 Thread Alf Felis
Hi all, I have a problem using jsp tags with attributes in tobago. Tobago version: 1.0.24-SNAPSHOT Myfaces version: 1.1.6 Tomcat version: 6.0.18 I'm using a tag with the attribute %@ attribute name=dataBean %. If I try to access this attribute inside the tag I get a ParseException. Access:

Re: [Tobago] Problem using JSP tags with attributes

2010-03-18 Thread Udo Schnurpfeil
Hi Alf, The expression #{${dataBean}.errors} works in older Servlet APIs with Tobago. It should work until Tomcat 5.5, but doen't work with Tomcat 6.0. It also doesn't work with Facelets, but in Facelets you may use #{dataBean.errors} instead. For JSPs #{dataBean.errors} will work, when

Possible trinidad ui bug?

2010-03-18 Thread Dj Apal [GR]
Hello all. I use a tr:table with rowBandingInterval=1. If i choose to align=right the column, it always stays white and although the other columns set correctly the background color, due to rowBandingInterval=1, these right-aligned column don't. Is this a bug? Thnx! -- __o _\._ (_)/ (_)

Re: [TOBAGO] formatting fields with tx:in

2010-03-18 Thread Udo Schnurpfeil
Hi Fernando, this feature is not implemented yet. A global solution might be, sending the String via AJAX on blur to the Converter and let him Format it. We should add this into JIRA. But I don't know, if I want that while typing. It may be irritating the user. Nevertheless you can realize

Re: [Tobago] Problem using JSP tags with attributes

2010-03-18 Thread Alf Felis
Hi again, I tried Tomcat 6.0.26 and now I get another message: org.apache.jasper.JasperException: /WEB-INF/tags/layout/errorTab.tag(6,8) #{${dataBean}.errors} contains invalid expression(s): javax.el.ELException: Error Parsing: #{${dataBean}.errors} I think I made a mistake while accessing

Re: [TOBAGO] tx:date in a popup

2010-03-18 Thread Udo Schnurpfeil
Hi, It seems to be a bug. It is correct that you tested it with Internet Explorer? With Firefox it works fine. On the demo app, the AJAX variant to open the popup hasn't this bug. Maybe this is a quick workaround for you. Regards, Udo Am 17.03.10 17:41, schrieb Fernando Augusto: Hello,

Re: [Tobago] Problem using JSP tags with attributes

2010-03-18 Thread Alf Felis
Hi Udo, sorry... I didn't get your mail :( I will try your solution :) Many thanks!!! Regards, Alf -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

Re: [TOBAGO] formatting fields with tx:in

2010-03-18 Thread fernando
Hello Udo, Thanks for the help. The idea of formatting while typing is common here in Brazil. I'll do it with JS as you said. The AJAX idea is not bad too. Best Regards, Fernando Augusto On Thu, 18 Mar 2010 13:56:34 +0100, Udo Schnurpfeil u...@schnurpfeil.de wrote: Hi Fernando, this

Re: [Tobago] Problem using JSP tags with attributes

2010-03-18 Thread Alf Felis
Hi Udo, this doesn't work :( If I use #{dataBean.errors} the given bean (passed by attribute!) won't be found. For example: javax.faces.el.PropertyNotFoundException: Base is null: dataBean My beans are initialized with Spring, but I tried to define them in facesContext, too. Both doesn't

Re: How do I bind nested table using Trinidad?

2010-03-18 Thread Max Starets
Navnath, Can you provide more information about what you are trying to achieve? A code snippet would work best. Max navnath kumbhar wrote: Hi There, Can any one suggest me, how do I bind nested table using Trinidad? I am able to bind simple table for row selection, I am trying same for

Re: [Tobago] Problem using JSP tags with attributes

2010-03-18 Thread Alf Felis
I will try to discribe what I am going to do... For example I will create a sheet (panel, box, etc.) which I can use in different pages. The sheet content should be filled from different beans. Some pages should contain the sheet twice with two different beans containing the data to be

Re: [Tobago] Problem using JSP tags with attributes

2010-03-18 Thread fernando
Alf, I did that using a few techniques. First, using both actionListener and action methods. When something happens, like a click or else, the actionlistener do all the persist work, while the action is just to adjust a layout bean with the specific need of the transition. Another technique

Tutorial for MyFaces PortletBridge with Facelets

2010-03-18 Thread Sertic Mirko, Bedag
Hi I'd like to know if there is a kind of reference documentation available for running the MyFaces Portlet Bridge with MyFaces 1.2.6, Facelets on LifeRay 5.2.3. Thanks in advance Mirko

Re: Tutorial for MyFaces PortletBridge with Facelets

2010-03-18 Thread Michael Freedman
Not quite true. Facelets native ViewHandler is servlet dependent. The trick for running Facelets in a portlet environment via a bridge is to provide an alternative ViewHandler using the portlet APIs and configuring this ViewHandler in your faces-config.xml. So yes the MyFace Portlet bridge

Re: Tutorial for MyFaces PortletBridge with Facelets

2010-03-18 Thread Kito Mann
Michael, What would be the best way to distribute the portlet version of the Facelets view handler? --- Kito D. Mann | twitter: kito99 | Author, JSF in Action Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting http://www.JSFCentral.com - JavaServer Faces FAQ, news, and

Re: Tutorial for MyFaces PortletBridge with Facelets

2010-03-18 Thread Leonardo Uribe
Hi In fact, I remember there is a class called FaceletPortletViewHandler. There are not on facelets jars, but exists: http://www.docjar.com/docs/api/com/sun/facelets/FaceletPortletViewHandler.html And it allows run a portlet in liferay with facelets (I tried when it was added orchestra support

Re: Tutorial for MyFaces PortletBridge with Facelets

2010-03-18 Thread Michael Freedman
The current facelets distributions contains a portlet demo that includes the source for FaceletPortletViewHandler.java. This is currently the best place to start. I have a version that I believe improves on this that I put together for a recent workshop -- basically similar to the above but

Re: [Tobago] Problem using JSP tags with attributes

2010-03-18 Thread Udo Schnurpfeil
Okay, I think I understand what you need. In Tobago the tx:-library was similar. Take some components and combine it to a new one. But because of the disadvantages of Tag-Files we coded it with Java-Code :-( Did you tried running your app with Tomcat 5.5? There are different solutions. The

Re: Tutorial for MyFaces PortletBridge with Facelets

2010-03-18 Thread fernando
Mike, Do you have the sources a ready-to-use ViewHandle avalilable somewhere? That is, if you can publish those sources. :-) []s, Fernando Lozano The current facelets distributions contains a portlet demo that includes the source for FaceletPortletViewHandler.java. This is currently the

Re: Tutorial for MyFaces PortletBridge with Facelets

2010-03-18 Thread Michael Freedman
Here is source I used as the answer for the workshop task (I recently gave) of writing a Facelets Viewhandler as part of getting a Facelets demo to work in a portlet environment. It has compile dependencies on Facelet's (subclasses the Facelet's view handler) so you need the Facelets jars in

Re: Tutorial for MyFaces PortletBridge with Facelets

2010-03-18 Thread Guy Rouillier
Michael, we're using the stock FaceletPortletViewHandler to expose a facelet app as a portlet. Would be great to be able to use the same view handler to view the app directly. So, I'd like the source to your modifications if you are willing to share. Thanks. On 3/18/2010 1:10 PM, Michael

Re: Tutorial for MyFaces PortletBridge with Facelets

2010-03-18 Thread Michael Freedman
It was attached to the e-mail I sent a little while ago (11:12am). Note: this code can only be run with a compliant JSR 301 or 329 Bridge. I.e. it relies on the standard/spec which states the bridge adds a request attribute prior to activating Faces that allows one to check to see if you

How do I bind nested table using Trinidad?

2010-03-18 Thread navnath29
Hi There, Can any one suggest me, how do I bind nested table using Trinidad? I am able to bind simple table for row selection, I am trying same for nested table(i.e. child table), but it's not working. :working: Can any one face same issue? Thank You, Navnath Kumbhar. -- View this message in