Is there a way to close the tr:panelPopup component

2010-03-08 Thread Eisenträger , Tobias
Hello, I've been using the tr:panelPopup Component and it worked great so far. Now I got the problem if I click on a tr:commandLink inside the popup, which only performs PPR - the panelPopup stays open, for example after returning from a dialog. Does anyone know the javascript to close

Don't override previous value of viewParam if the parameter is absent

2010-03-08 Thread Marcus Büttner
Hello, I have a question to the behaviour of UIViewParameter. At the moment the submitted value of a viewParam is overriden if this paremeter is absent in RequestParameterMap. This behaviour causes some problems e.g. if the view metadata contains a required view parameter and you have a an

Don't override previous value of viewParam if the parameter is absent

2010-03-08 Thread Marcus Büttner
Hello, I have a question to the behaviour of UIViewParameter. At the moment the submitted value of a viewParam is overriden if this paremeter is absent in RequestParameterMap. This behaviour causes some problems e.g. if the view metadata contains a required view parameter and you have a an

java.lang.NumberFormatException - For input string:

2010-03-08 Thread CHUCK SYPERSKI
Here is my issue, I have a panelGrid that looks like this: h:panelGrid columnClasses=typicalCell, alignRight styleClass=accountDetails border=0 columns=2 f:facet name=header h:outputText value=#{msg.poDescTitle} / /f:facet h:outputText value=#{msg.poShortDesc} /

Re: java.lang.NumberFormatException - For input string:

2010-03-08 Thread Jakob Korherr
Hi Chuck, On the first sight it seems like your h:outputText is somehow used as h:outputFormat. It would be very great if you could provide the whole stack trace, so that I could see where the Exception originates and where it is populated. Regards, Jakob 2010/3/8 CHUCK SYPERSKI

Re: java.lang.NumberFormatException - For input string:

2010-03-08 Thread CHUCK SYPERSKI
Thats for the quick reply, here is the trace: javax.faces.FacesException: Exception while calling encodeEnd on component : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /protected/podetails.jsp][Class: javax.faces.component.html.HtmlDataTable,Id:

Re: java.lang.NumberFormatException - For input string:

2010-03-08 Thread CHUCK SYPERSKI
Ignore this, I solved my problem, the data was duplicated into another field that had an issue with string concatenation. Thanks On Mon, 2010-03-08 at 07:19 -0600, CHUCK SYPERSKI wrote: Thats for the quick reply, here is the trace: javax.faces.FacesException: Exception while calling

Re: Trouble upgrading from 1.1.2 to 1.1.7

2010-03-08 Thread s . pennec
Hello Jakob, Don't worry for the delay, that's great to have support for this kind of problems :-) First, I changed all the attributes that did not work to String, so that the page worked again. Then I chose one of the attributes and tried the following configurations: - int property - KO -

Re: Trouble upgrading from 1.1.2 to 1.1.7

2010-03-08 Thread Jakob Korherr
Hi Sébastien, It's great that you were able to figure out the real problem :) To explain it a little further: the f:selectItem itemValue=1 .../ creates a SelectItem with the String value of 1. If you want to provide an Integer value you have to provide it via a property in a managed bean that

Re: Is there a way to close the tr:panelPopup component

2010-03-08 Thread Andrew Robinson
Have a look at PanelPopup.js There is no great API, but it seems that the TrPanelPopup has a hide method with an event argument that is not used, so it seems to be safe to pass null. Now to get an instance to the popup object, it looks like you need to use TrPanelPopup._VISIBLE_POPUPS with the

Re: Trouble upgrading from 1.1.2 to 1.1.7

2010-03-08 Thread Mike Kienenberger
Unfortunately, #{1} will not work. #{1} will generate a Long, not an Integer. On Mon, Mar 8, 2010 at 11:20 AM, Jakob Korherr jakob.korh...@gmail.com wrote: Hi Sébastien, It's great that you were able to figure out the real problem :) To explain it a little further: the f:selectItem

Re: Custom converter for custom component

2010-03-08 Thread Leandro de Oliveira
You say I'd have to make my custom component support converter configuration? I've added a child f:converter tag to issue:mycomp but it didn't work. --- Em dom, 7/3/10, Jakob Korherr jakob.korh...@gmail.com escreveu: De: Jakob Korherr jakob.korh...@gmail.com Assunto: Re: Custom converter for

Re: Custom converter for custom component

2010-03-08 Thread Jakob Korherr
Hi Leandro, Have you made your custom component converter aware? Please see the facelets VDL tag library documentation of f:converter [1] and composite:valueHolder[2] for further information. Regards, Jakob [1]

[TOBAGO] Master-Detail

2010-03-08 Thread Fernando Augusto
Hello, I am new to Tobago and to JSF, and I got a problem while thinking in a way to implement a master-detail form, or any way to show the details of a row when clicked on somewhere. The problem is: that action needs to be performed by a *single click* action, for usability reasons. I cant