tree2 : ExpandAll and client side toggle

2006-07-31 Thread Marcio E Miranda
Hi all, I cant make the expandAll method to work with the tree2 component. Ive checked the sample tomahawk application and noticed that its using server side toggling. Is it a requirement? Can I use expandAll and client side toggling? Does anyone have sample code? Thanks!

Tomahawk and servlet filter restriction in portlets (tree2 inside a portlet and alternatives)

2006-04-28 Thread Marcio E Miranda
Hi, Some tomahawk components, like the tree2, require the configuration of the extensions filter. Servlet filters are not supported in portlets, and our project is portlet based. I wonder if I could configure the extension filter in the web.xml of the portal application (not the portlet

Tree control component that would work inside a portlet and inside a web application (with My Faces)

2006-04-28 Thread Marcio E Miranda
Hi, Im looking for a tree component that would work in a regular web application with My Faces (and be able to work with others component sets) AND inside a portlet. The alternatives Ive looked so far were: Tomahawks tree2: It seems it is dependent on the extensions filter, and

RE: Component state management inside portlets

2006-04-27 Thread Marcio E Miranda
://stansilvert From: Marcio E Miranda [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 7:51 PM To: MyFaces Discussion Subject: RE: Component state management inside portlets Forgot to mention that Im using MyFacesGenericPortlet as the JSF portlet implementation

RE: error while resolving artifact xslt-plugin

2006-04-27 Thread Marcio E Miranda
I got the same error: ** [INFO] - --- [INFO] Building Impl [INFO]    task-segment: [install] [INFO]

Component state management inside portlets

2006-04-26 Thread Marcio E Miranda
Hi, We have some custom JSF components in our project that save and restore state. The state management works fine if the components are used in a web application, but if they are used inside a portlet, the save and restore methods are never called. Ive tried using the client and server

RE: Component state management inside portlets

2006-04-26 Thread Marcio E Miranda
Forgot to mention that Im using MyFacesGenericPortlet as the JSF portlet implementation. Regards From: Marcio E Miranda [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 26 de abril de 2006 18:56 To: MyFaces Discussion Subject: Component state management inside portlets Hi

Problem running custom JSF component inside a portlet.

2006-04-17 Thread Marcio E Miranda
Hi, We have developed some custom JSF components, but are having some trouble to make them work inside a portlet. After some debugging, we have found out that a technique that weve learned from the book Pro JSF and AJAX (which covers component development) doesnt work in the MyFaces

RE: Maximizing a portlet implementing MyFacesGenericPortlet causes Liferay to crash.

2006-04-14 Thread Marcio E Miranda
() should be called in that case. Anyway, I know that maximize works on Pluto and JBoss Portal. You might want to try your JSF portlet on one of those and see what happens. Stan Silvert JBoss, Inc. [EMAIL PROTECTED] callto://stansilvert From: Marcio E Miranda [mailto:[EMAIL

Some thoughts on inter portlet communication through backing beans

2006-04-14 Thread Marcio E Miranda
Hi, Id like to share some thoughts we had while developing a JSR 168 portlet application using JSF, specifically regarding inter portlet communication, and get some feedback from you. The portlets we developed were highly coupled; an event in a portlet would trigger actions in

RE: Some thoughts on inter portlet communication through backing beans

2006-04-14 Thread Marcio E Miranda
://stansilvert From: Marcio E Miranda [mailto:[EMAIL PROTECTED] Sent: Friday, April 14, 2006 6:07 PM To: MyFaces Discussion Subject: Some thoughts on inter portlet communication through backing beans Hi, Id like to share some thoughts we had while developing a JSR 168 portlet

Maximizing a portlet implementing MyFacesGenericPortlet causes Liferay to crash.

2006-04-13 Thread Marcio E Miranda
Hi, This may or may not be specific to the portlet implementation of My Faces, but when a portlet implementing MyFacesGenericPortlet is maximized in Liferay, the following exception is thrown: 00:35:32,497 INFO [STDOUT] javax.portlet.PortletException 00:35:32,497 INFO [STDOUT] at

RE: MyFaces Portlet does not work. please help

2006-04-13 Thread Marcio E Miranda
I had an issue with Liferay 4.0 (with jboss and tomcat) and My Faces too, but a different one. My war package, which works fine in Liferay 3.6.2 (with jboss and tomcat), throws the following exception when I deploy it on Liferay 4.0: Caused by: java.lang.ClassNotFoundException:

RE: MyFacesGenericPortlet messing with PortletPreferences in Liferay?

2006-04-04 Thread Marcio E Miranda
] callto://stansilvert From: Marcio E Miranda [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 4:30 PM To: MyFaces Discussion Subject: MyFacesGenericPortlet messing with PortletPreferences in Liferay? Hi, If I run the following code in the doView method of a portlet

What is the best way to access portlet preferences in a backing bean?

2006-04-02 Thread Marcio E Miranda
Hi, What is the best way to access the portlet preferences in a backing bean? Through FacesContext-ExternalContext-PortletRequest, or maybe My Faces provides a utility class or method for that? Is there any problem if I keep a reference to the PortletPreferences in my backing Bean?

How can I access a backing bean associated with a portlet from a backing bean in a different portlet?

2006-03-29 Thread Marcio E Miranda
Hi, Im trying to access a backing bean (session scope), which is associated with a component inside a portlet from a different backing bean which is associated with a different portlet. The ExternalContext gives me access to the objects belonging to a specific portlet instance session,

Inter component communication via events.

2006-03-28 Thread Marcio E Miranda
Hi all, I want to make two custom components communicate through events. The first component would fire a custom event and a second component would have a listener (for that same custom event) registered. Can I do that given that the two components lie in the same level of the component

Sample portlet application using My Faces?

2006-03-24 Thread Marcio E Miranda
Hi, Where can I find a sample portlet application using My faces? How can I specify the default view for each portlet in the portlet application? Thanks

What's the best design to provide communication between backing beans and leverage that for inter-portlet communication?

2006-03-17 Thread Marcio E Miranda
Title: What's the best design to provide communication between backing beans and leverage that for inter-portlet communication? -- Web App Lets say that we have several instances of the following components in a view: Component A (Ca) is backed by bean A (Ba) Component B (Cb) is backed by

RE: Tomcat won't start when My Faces application was configured to use Facelets.

2006-03-10 Thread Marcio E Miranda
Facelets. Hi You are running Tomcat under an older JVM that than what facelets was compiled with. Hermod -Original Message- From: Marcio E Miranda [mailto:[EMAIL PROTECTED] Sent: Friday, March 10, 2006 5:16 AM To: MyFaces Discussion Subject: RE: Tomcat won't start

How does Clay compare to facelets?

2006-03-10 Thread Marcio E Miranda
Hi, Im just starting to play with JSF. My task is to assess the best approach to build components, several of which will be composite components. Ive followed the link explaining how to build composite components in the front page of the Wiki, and Im trying every single one. From a

Using JSCookMenu as a cool alternative to check boxes

2006-03-09 Thread Marcio E Miranda
Hi, Lets say that my backing bean has several Boolean values that I want to update in a form. I could use check boxes for that, but what if I used the JSCookMenu to do the job in a cool way. The idea is to use menu entries like those used to show or hide views in menus (a check

Tomcat won't start when My Faces application was configured to use Facelets.

2006-03-09 Thread Marcio E Miranda
Hi, Ive followed the tutorial in the facelets site, but it seems that it is causing an error in the ContextListener. Tomcat shows the following error: SEVERE: Error listenerStart Mar 10, 2006 12:21:30 AM org.apache.catalina.core.StandardContext start SEVERE: Context startup failed

RE: Tomcat won't start when My Faces application was configured to use Facelets.

2006-03-09 Thread Marcio E Miranda
:425) From: Marcio E Miranda [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 10 de março de 2006 00:53 To: MyFaces Discussion Subject: Tomcat won't start when My Faces application was configured to use Facelets. Hi, Ive followed the tutorial in the facelets site, but it seems

RE: Portlet support - multiple instances of a portlet.

2006-03-04 Thread Marcio E Miranda
for details. There have been some reported problems with multiple JSF portlets in LifeRay, but hopefully it is fixed by now. Stan Silvert JBoss, Inc. [EMAIL PROTECTED] callto://stansilvert From: Marcio E Miranda [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 5:13 PM

Portlet support - multiple instances of a portlet.

2006-03-03 Thread Marcio E Miranda
Hi, How does MyFaces (or JSF for that matter) handle backing beans in multiple instances of the same portlet? For example, lets say that Ive deployed two instances of MyPortlet in the same page of a portal. MyPortlet defines a view which has components binded to a backing bean that must