Re: [TOBAGO] Master-Detail

2010-03-09 Thread Fernando Augusto
Thanks for your help, Marcus. But now comes the doubt... Where can I find which column events can I work with? and, already referring to the last msg I sent, which attributes does tc:attribute accepts and when? Regards, Fernando Augusto Marcus Kröger escreveu: Hi Fernando, pls have a look

Re: Datastructure filled but table remains empty (at first)

2010-03-09 Thread Jakob Korherr
Hi Simon, I am really sorry but I don't know what the problem is here. Maybe it's Trinidad, maybe it's your code. Have you tried altering the second table or the data model somehow? Maybe leave out some columns or don't wrap it in a . Or even change order of the tables on the facelet page. But re

Re: [TRINIDAD] Header rendering multiple times.

2010-03-09 Thread Andrew Robinson
Do you use any JSTL tags? Have you any component binding in the page, especially ones that may live longer than one request? On Tue, Mar 9, 2010 at 7:31 AM, preeti agarwal wrote: > Description of problem : I have an xhtml page in which I use trininad > components (like tablelayout) and also tomah

Re: Trouble upgrading from 1.1.2 to 1.1.7

2010-03-09 Thread Jakob Korherr
Hi Sébastien, If you hate IE6, take a look at http://ie6funeral.com/. Hmm. I know, but on MyFaces 1.2 I guess there is not really a better way to do this. Also the disable attribute is only taken into account for the rendered HTML. Not for more. And of course, you are still able to make a request

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

2010-03-09 Thread Jakob Korherr
Hi, This is a bug. Created MYFACES-2592. Regards, Jakob 2010/3/8 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

Re: Datastructure filled but table remains empty (at first)

2010-03-09 Thread Jakob Korherr
Thanks! So to sum this up: you have the vorgaengeTable with the value #{vorgangListeMainModel.vorgaengeList} and the tableEx2 with the value #{vorgangListeMainModel.vermittler} and both values are populated correctly, but only the first table displays the data at first. If you then reset it, both

Re: Datastructure filled but table remains empty (at first)

2010-03-09 Thread schneidc
Hello Jakob, it's a facelet page and this is the first table (or at least a part of it), causing the problem

[TRINIDAD] Header rendering multiple times.

2010-03-09 Thread preeti agarwal
Description of problem : I have an xhtml page in which I use trininad components (like tablelayout) and also tomahawk components (like form). I have used some usual HTML components along with it. First time the page is rendered correctly. But anysubsequent refresh causes the header to render multip

Re: Datastructure filled but table remains empty (at first)

2010-03-09 Thread schneidc
Hi Jakob, puh, providing some snipptes isn't easy as the code is pretty complex, but I'll try. private VorgangListMainModel model; @PostConstruct public void init() { _umbuchungComponentController.addReloadEventListener(new EventListener() { publi

Re: Trouble upgrading from 1.1.2 to 1.1.7

2010-03-09 Thread s . pennec
Hello Marcus, Actually this won't work, because implicit Converters for enums are only available in JSF 1.2, and MyFaces 1.2.x. Also, putting an emtpy String as the value will lead me in the exact same situation: with a converter that must return null or find a way to make the validation succe

Re: Trouble upgrading from 1.1.2 to 1.1.7

2010-03-09 Thread Jakob Korherr
Hi Sébastien, Oh ok. In that case you could return "-1" in your converter and change the setter in your managed bean to accept Object. There you can check if you have "-1" or a valid Enum and in the latter case, set it! Then you shouldn't have the validation problem. In MyFaces 2.0 such scenarios

Re: Trouble upgrading from 1.1.2 to 1.1.7

2010-03-09 Thread s . pennec
Hello Jakob, At the beginning of this, there was the need to add disabled items in a menu. The "-1" value was used because, by default, Firefox disables such option values. These are not selectionables in many browsers except for Internet Explorer 6, which we must support. :-( I tried your sug

Re: Trouble upgrading from 1.1.2 to 1.1.7

2010-03-09 Thread s . pennec
Hi Jakob, Actually this change has other implications, like the following one: In a form, I use a double-SelectManyMenu. One lists all possible values, and the other lists the selected values. Two buttons allow the user to place a value from one menu to the other. The business values are liste

Re: Datastructure filled but table remains empty (at first)

2010-03-09 Thread Jakob Korherr
Hi Simon, Yeah I guess that's never really easy in big projects. Can you also provide a small snippet of the JSP (or Facelet) page? I am mostly interested in the table definitions.. Regards, Jakob 2010/3/9 schneidc > > Hi Jakob, > > puh, providing some snipptes isn't easy as the code is prett

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

2010-03-09 Thread Dj Apal [GR]
TrPanelPopup.hidePopup(event); maybe? 2010/3/8 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

Re: Trouble upgrading from 1.1.2 to 1.1.7

2010-03-09 Thread Marcus Büttner
Hi, maybe I don't understand your problem. But could you add the title in this way? items.add(new SelectItem("", "Some title")); if the user selects the title you get a null value I think. So you do not need the converter. (except tomcat from version 6.0.18 without the zero flag) lg Marcus

Re: Datastructure filled but table remains empty (at first)

2010-03-09 Thread schneidc
Yes, you got it right, if I call the "update()" method manually everything's fine. I also tried adding some code which calls the update() a second time at the initial start but this also didn't help and the first table remained empty. -- View this message in context: http://old.nabble.com/Datas

outcome faces-redirect cuts query parameter

2010-03-09 Thread Marcus Büttner
Hello, if I use an action outcome like this: "mypage?faces-redirect=true&includeViewParams=true&myParam=myValue" then myParam is not appended to query string in the redirect url. I've seen in NavigationHandlerImpl where the redirect url is built, there's a comment, that the behaviour of adding

Re: [TOBAGO] Master-Detail

2010-03-09 Thread Marcus Kröger
Hi Fernando, pls have a look at the tobago addressbook example. There you can find a solution how to react on "click-events" in a tobago sheet. For example, by using you would react on a double click on the row. The addressbook example can be found in the current build 1.0.24 below /examp