Ajax JSF in Portlet

2006-05-25 Thread Patrick Dalla Bernardina
Does anybody know some good AJAX enabled JSF components that works inside a Portlet in a Portal? I am using JBoss Portal.

Converter

2006-05-24 Thread Patrick Dalla Bernardina
I've done a Converter to converts my class and use in JSF Components and registered her in faces-config for the class. I've created a selectOneMenu which value is a method that returns a collection of SelectItem which values are of that class. The selectOneMenu is rendered the way I like.

MyFaces Library Scope

2006-05-24 Thread Patrick Dalla Bernardina
In version 1.1.1 of myfaces, the JAR files needed to be on every WEB application WAR file in the WEB-INF/lib directory. Why? This problem had been solved in version 1.1.3? It is programmed to be solved in next releases?

Re: Converter

2006-05-24 Thread Patrick Dalla Bernardina
Correct!!! thank you very much. Mario Ivankovits wrote: Hi! The selectOneMenu is rendered the way I like. But when I submit the form an Validation Error occur. Implement the .equals() method in your bean, else JSF will compare them by instance which is probably not what you want.

Sandbox Binaries Download

2006-05-24 Thread Patrick Dalla Bernardina
There isn't a binary release of snadbox components?

InputDate problem

2006-05-11 Thread Patrick Dalla Bernardina
I have the following datatable: every input other than inputDate updates the correspondent bean property . Why inputDate doesn't updates the bean property associated with the value attribute? h:dataTable id=dependentes headerClass=portlet-section-header

Re: InputDate problem

2006-05-11 Thread Patrick Dalla Bernardina
I've updated to version 1.1.3 and everything worked. Patrick Dalla Bernardina wrote: I have the following datatable: every input other than inputDate updates the correspondent bean property . Why inputDate doesn't updates the bean property associated with the value attribute

Re: Portlet support - multiple instances of a portlet.

2006-03-06 Thread Patrick Dalla Bernardina
From JSR 168. PLT.15.2 Session Scope PortletSession objects must be scoped at the portlet application context level. Each portlet application has its own distinct PortletSession object per user session. The portlet container must not share the PortletSession object or the attributes stored in

Re: multipart/form-data request filter

2006-02-03 Thread Patrick Dalla Bernardina
I extended MyFaces to upload work. As I've seen in org.apache.myfaces.custom.fileupload.HtmlFileUploadRenderer.java decode method there is only decode of MultipartRequestWrapper. When using portlets with MyFacesGenericPortlet, an ActionRequest is passed in FacesContext. So the decode of

MyFaces, File Upload and Portlet

2006-01-31 Thread Patrick Dalla Bernardina
Does anybody already configured a Portlet application based on JSF using MyFacesGenericPortlet to use h:inputFileUpload?? What do I need to configure?

Re: Does file upload work in a Portlet ?

2006-01-30 Thread Patrick Dalla Bernardina
Hi, Have you configured file upload and portlet? I like to configure to. I am not using faces because of this limitation. Matthias Wessendorf wrote: May be I was doing something wrong. Will investigate on this (used only Pluto 1.0.1) -Matthias On 1/5/06, Dean Schulze [EMAIL PROTECTED]

Enter key to submit a form.

2005-12-16 Thread Patrick Dalla Bernardina
In my application, when I press enter to submit a form the page is refreshed without really executing the action. How can I define a default action when enter is pressed?

Re: url query string parameters as input to JSF action - not possible??

2005-11-04 Thread Patrick Dalla Bernardina
So do I Sverker Abrahamsson wrote: HiT his is now more a conceptual discussion about JSF than specifically about MyFaces. As I understand it the scope of JSF was to make an application frontend framework which is not tied to http/html. In many aspects it does a good work, providing

Action Simulation

2005-10-20 Thread Patrick Dalla Bernardina
How can I simulate an event (a click in a button or link) from java code?

Re: Portlet Modes

2005-10-05 Thread Patrick Dalla Bernardina
on how to implement these requisites Thanks Dave Brondsema wrote: Patrick Dalla Bernardina wrote: How can I call an managed bean action when portlet mode (EDIT,VIEW) is changed and process the navigation rules to discover the page to be rendered? You can use http://wiki.apache.org

Re: Portlet Modes

2005-10-05 Thread Patrick Dalla Bernardina
; } facesRender(request, response); } Dave Brondsema wrote: Patrick Dalla Bernardina wrote: How can I call an managed bean action when portlet mode (EDIT,VIEW) is changed and process the navigation rules to discover the page to be rendered? You can use http

Re: Portlet Modes

2005-10-05 Thread Patrick Dalla Bernardina
); Dave Brondsema wrote: Cool. Make sure you call setPortletRequestFlag(request); before nonFacesRequest. It might be useful to include part of this on the wiki page as an example for anyone else who wants to do that. Patrick Dalla Bernardina wrote: With your help I've made

Re: Portlet Modes

2005-10-05 Thread Patrick Dalla Bernardina
What is setPortletRequestFlag(request); for? Dave Brondsema wrote: Cool. Make sure you call setPortletRequestFlag(request); before nonFacesRequest. It might be useful to include part of this on the wiki page as an example for anyone else who wants to do that. Patrick Dalla Bernardina

Re: Portlet Modes

2005-10-05 Thread Patrick Dalla Bernardina
()); }catch(EvaluationException e){ /* if the managed bean is not faound ignore the calling */ } } } } facesRender(request, response); } Patrick Dalla Bernardina wrote: What is setPortletRequestFlag

Re: Issue with MyFacesGenericPortlet

2005-10-04 Thread Patrick Dalla Bernardina
How can I call an managed bean action when portlet mode (EDIT,VIEW) is changed and process the navigation rules to discover the page to be rendered? Galen Dunkleberger wrote: Not sure if this is an issue with MyFaces or the JBoss Portal implementation so I'll throw it to all of you guys

Faces Application State

2005-09-13 Thread Patrick Dalla Bernardina
How do I reset the state of a faces application? I'm developing portlets with myfaces and when I navigate in my portlet and goes to EDIT mode I call nonFacesRender to render a page different from the faces-config.xml specification. This is functioning well. But, just after that, when I

MyFacesGenericPortlet

2005-08-26 Thread Patrick Dalla Bernardina
When I execute nonFacesRequest to go to a view without obeying navigation-rules the state of Navigation is not saved. So, after that, when I click the maximize or restore button of portlet the portlet goes back to the previous page. How can I change this navigation state?

Two MyFacesGenericPortlet in same Portal Page

2005-08-16 Thread Patrick Dalla Bernardina
Hi, I'm facing some problems in deployment of myfaces on jboss and the myfacesgenericportlet in jbossportal. I don't know if the problem is with myfaces or jbossportal. Maybe someone had this problem too: When I deploy two portlets that implements MyFacesGenericPortlet in the same page on