Re: Invalid XHTML is outputted by h:form, multiple elements with id=javax.faces.ViewState

2007-11-12 Thread David Delbecq
Use server side state saving? :) En l'instant précis du 11/11/07 20:27, dabiddd s'exprimait en ces termes: Hello, Anybody knows how can i solve this problem? if rendering multiple forms in the same view, and attempting to validate via the W3C validator, there will be warnings regarding

Re: Re: [Trinidad]Why does body-contents(of PPR response) break off on the way that responce is wrote, without '/content'?

2007-11-12 Thread t-r-i-n-i-d-a-d
Thanks Matthias, but I checked that the phenomenon same as Trinidad1.2.3 occurred...Of course, it is debugging. Although I investigated and understand, endDocument 'is' called on the PPRResp onsewriter by org.apache.myfaces.application.jsp.JspViewHandlerImpl. renderView on the

[Trinidad] PanelPage Facets are not displaying

2007-11-12 Thread Curtney Jacobs
Greetings everyone! I am including the following facets however their contents are not being displayed. I am using Trinidad 1.2.3. Any help is greatly appreciated. !-- Does not appear to be working -- f:facet name=contextGlobal tr:outputFormatted styleUsage=instruction value=Context Global

fileupload

2007-11-12 Thread pvsp
Hi, I found this https://issues.apache.org/jira/browse/TOMAHAWK-6 so, I got the tomahawk-1.1.7-SNAPSHOT.jar from http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/tomahawk/tomahawk/1.1.7-SNAPSHOT/ but I still have the same problem, when my file is too long I get the

Re: [Tobago] Weird problem with tc:link inside tc:sheet

2007-11-12 Thread Helmut Swaczinna
Hi Ramon, sorry, I think I can't help you because I don't really understand what you're doing. Getting and setting request or session attributes seems very strange to me. Why don't you use managed properties in the faces-config to connect one bean with an other? Where does the

How know witch data in changed

2007-11-12 Thread mario.buonopane
Hello, I need to know witch data of a view is changed. Is there a way to do that with no specific code? I'm going to do it in a PhaseListener that compare data of each component before and after apply Request phase. What do you think? Any suggestion is Appreciated. Regards Mario

Re: How know witch data in changed

2007-11-12 Thread Adrian Mitev
Why don't you use valueChangeListener ? 2007/11/12, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hello, I need to know witch data of a view is changed. Is there a way to do that with no specific code? I'm going to do it in a PhaseListener that compare data of each component before and after apply

Re: How know witch data in changed

2007-11-12 Thread Gerhard Petracek
hello mario, sounds like you are searching for the mechanism of ValueChangeListeners. regards, gerhard 2007/11/12, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hello, I need to know witch data of a view is changed. Is there a way to do that with no specific code? I'm going to do it in a

Re: How know witch data in changed

2007-11-12 Thread Cagatay Civici
Hi, A phaselistener may work here, in after phase of restore view, traverse the component tree, if the component is an editablevalueholder, cast the component to editablevalueholder and add the valuechangelistener by addValueChangeListener or setValueChangeListener. A valuechangelistener

RE: How know witch data in changed

2007-11-12 Thread mario.buonopane
Hi Cheers, but if a componenet already has a ValueChangeListener setted by the programmer for other reasons? The new ValueChangeListener si added or replace existings? Thank, Mario -Original Message- From: Cagatay Civici [mailto:[EMAIL PROTECTED] Sent: 12 novembre 2007 14.50 To:

RE: [Trinidad]: multiline table rows tr:table with nested tr:column - Tags

2007-11-12 Thread Kuhn, Harald
Hi to all, as this is a must-have for our application, it would be great, if someone could investigate this topic. Aside from the example in the screenshot, colspan should also be handeled correctly. And each column should be sortable: For Example a structure like: header row 1: |Header

Re: How know witch data in changed

2007-11-12 Thread Cagatay Civici
Hi, From the docs; addValueChangeListener(javax.faces.event.ValueChangeListener listener) Add a new ValueChangeListener to the set of listeners interested in being notified when ValueChangeEvents occur. In addition check if the listener is not already added to the listeners list before using

RE: [Trinidad]: multiline table rows tr:table with nested tr:column - Tags

2007-11-12 Thread Simon Kitching
Hi Harald, I don't know anything about the tr:table component, but I know that neither the standard h:dataTable nor the tomahawk t:dataTable will support this. They are strictly one row per object. In a case like this where you need such strict layout control, I would suggest you investigate

t:savestate

2007-11-12 Thread Hasnain Badami
Hi I am trying to upgrade my application from JSF 1.1.1 to JSF 1.2, using myfaces 1.2. I am using multiple tabs in the same browser (same http session) and am using client side state saving. Now when I am trying to upgrade I want to know if its possible to use the server side state saving in the

Re: t:savestate

2007-11-12 Thread Simon Kitching
Hasnain Badami [EMAIL PROTECTED] schrieb: Hi I am trying to upgrade my application from JSF 1.1.1 to JSF 1.2, using myfaces 1.2. I am using multiple tabs in the same browser (same http session) and am using client side state saving. Now when I am trying to upgrade I want to know if its

Re: How know witch data in changed

2007-11-12 Thread Gerhard Petracek
hello mario, today it's my third and last try to send this answer :-/ (at the moment there is a strange situation - some of my mails are not delivered and some others are (but they were send to the same address(es) at a later point of time compared to the undelivered mails) - at the moment the

How know current outcome

2007-11-12 Thread mario.buonopane
Hello, is there a way to know, in a PhaseListener, the current outcome invoked by the user without implements a my NavigationHandler? Thanks in advance, Mario This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information.

[Trinidad] New feature to come in 1.0.5 - multiple first level nodes displayed in the treeTable

2007-11-12 Thread Andrew Robinson
FYI, for those that have wanted the ability to have multiple root nodes shown in the treeTable, a way to do it will be part of 1.0.5. As of this enhancement, there is a rootNodeRendered that will allow you to hide the root node. https://issues.apache.org/jira/browse/TRINIDAD-786 -Andrew

Re: JBoss 4.2.2 and MyFaces

2007-11-12 Thread Hasnain Badami
I think the best place to start debugging this issue is to look at your server startup logs. You might find some hints there, as to what flavour of JSF is your jboss using. I am also using the same configuration but I wasn't interested in running my code with the Sun RI. So I removed jboss jsf

Re: Issue with getting the values of the rows in dynamically generated Table

2007-11-12 Thread Glen
Simon, I am sorry that my post would cause inconvenience. I have posted this question in both of the Forums as I didn't get any reply for my prevoious questions when in 'MyFaces - Users' Forum. I would delete the one which I posted in 'MyFaces - Dev' Forum. Actually I am working on Trinidad,

Re: How know current outcome

2007-11-12 Thread Andrew Robinson
Short answer: no (out of the box) But there are ways to do it. (1) custom NavigationHandler (this is really quite easy, you can just wrap a current one -- not sure why you want to avoid this) and (2) custom ActionListener (the global one, not the one you add to action generators --

[Trinidad] Problems with buttons that launch dialogs on facet=actions

2007-11-12 Thread Rafa Pérez
Hi all, I have a problem with buttons that launch dialogs. I place a CommandButton or CommandLink inside facet=actions of a tr:table in this way: tr:table id=tabla rows=10 rowBandingInterval=1 columnBandingInterval=0 selectionListener=#{accionBean.seleccionar}

[h:panelGroup] layout=block not work

2007-11-12 Thread lmk
Hello I'd like to put a commandButton into a div component. I use the panelGroup with layout = block; but I also get a span element . Im using myfaces 1.1.5 and facelets thanks.. -- View this message in context:

probleme with IE7 cache

2007-11-12 Thread lmk
Hii everybody.. I have a strange behaviour caused by IE 7 chache, Im using myfaces 1.1.5 with facelets and rich-faces.. how can set header parameters in order to send nw rquest to server and not use the one saved on cache.. thanks.. -- View this message in context:

Re: [Trinidad] Update from 1.0.1 to 1.0.3 breaks PPR

2007-11-12 Thread Francisco Passos
Sorry to bother, but I was wondering if this issue has had developments and if so, if it has been addressed in version 1.0.4. Thank you, Francisco On Nov 2, 2007 5:15 PM, shhQuiet [EMAIL PROTECTED] wrote: I am having this problem, using Facelets 1.1.14 and any version of Trinidad greater

Re: [Trinidad] PanelPage Facets are not displaying

2007-11-12 Thread Curtney Jacobs
I have searched the forum and there was one mention of this however there was no reply. Also, I fogot to add that I am using Seam and running JBoss 4.2.1. Is there a compatability problem? On Monday 12 November 2007 01:15, Curtney Jacobs wrote: Greetings everyone! I am including the

[Announce] Release of Apache MyFaces Trinidad 1.0.4

2007-11-12 Thread Matthias Wessendorf
The Apache MyFaces Trinidad team is pleased to announce the release of Apache MyFaces Trinidad Core 1.0.4. Apache MyFaces Trinidad is a JavaServer(tm) Faces 1.1 component library. Trinidad Core 1.0.4 is available in both binary and source distributions: *

Re: [Trinidad] Update from 1.0.1 to 1.0.3 breaks PPR

2007-11-12 Thread Matthias Wessendorf
We'll look at it. Got a demo application, that shows the issue. Have to check it. But not fixed in 1.0.4. I am not able to reproduce it in my environment, just in this demo. Hadn't had much time to check, but I'll check it. -Matthias On Nov 12, 2007 8:34 PM, Francisco Passos [EMAIL PROTECTED]

Re: How know witch data in changed

2007-11-12 Thread Gerhard Petracek
hello mario, @cagatay: thank you for your answer – it was the reason why i recognized that my answer wasn't delivered (my answer included basically the same statement as yours) – with this mail i try to resend my previous mail. (without links – maybe it's the reason for the lost mail?!???) -

duplicate id error with tomahawk and a4j

2007-11-12 Thread Joseph Graham
Hello, I am having an issue with a4j and tomahawk that when i am using a4j to rerender regions of the page, then i navigate (using jsf navigation) to the previous page and rerender components I get IllegalStateException. Any ideas on how I can isolate this error or any frequent causes

Re: [Trinidad] PanelPage Facets are not displaying

2007-11-12 Thread Stephen Friedrich
Hm, forgot to put a form component around your panelPage? Curtney Jacobs wrote: I have searched the forum and there was one mention of this however there was no reply. Also, I fogot to add that I am using Seam and running JBoss 4.2.1. Is there a compatability problem? On Monday 12

[Trinidad] Table expert, anyone?

2007-11-12 Thread Stephen Friedrich
I am desperately trying to get a specific table UI to work - see screenshot. In short I have a list-backed table model. When displayed there's a delete button in front of row. The first column is a selectOneChoice. There's always one more row at the bottom than there are real values. If the user

Re: How know witch data in changed

2007-11-12 Thread Gerhard Petracek
hello mario, there is also a second possible solution for this problem. advantage: you don't have to walk through the component tree once more. disadvantage: it's maybe a bit more work than the PhaseListener approach mentioned by cagatay. you can decorate all renderers and manually add (it is

Re: [Trinidad] Table expert, anyone?

2007-11-12 Thread Gerhard Petracek
hello, how do you trigger ppr (the update) at the moment? there are several ways to trigger ppr - to answer your question concerning programmatically updating components maybe the following link will help you: http://myfaces.apache.org/trinidad/devguide/ppr.html#Using%20RequestContext regards,

Re: [Trinidad] Update from 1.0.1 to 1.0.3 breaks PPR

2007-11-12 Thread Francisco Passos
Thank you, it's reassuring to know that it's not forgotten :) Francisco On Nov 12, 2007 8:23 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: We'll look at it. Got a demo application, that shows the issue. Have to check it. But not fixed in 1.0.4. I am not able to reproduce it in my

Re: [Trinidad] Table expert, anyone?

2007-11-12 Thread Gerhard Petracek
hi, at the moment it is difficult to see what you already tried and which painful way of trying different possibilities you already walked along... first of all - there is a bug at sortable and filterable tables - i already opened an issue... some details: this bug only occurs if you have a

Re: [Trinidad] Table expert, anyone?

2007-11-12 Thread Stephen Friedrich
Thanks for the answer. I am not at all using PPR at the moment. Just to be sure that my problem is not caused in any way by PPR, I switched it off using this snippet at the top of my page: script type=text/javascript xml:space=preserve // ![CDATA[ _pprUnsupported = true; // ]] /script If I

Re: [Trinidad] Table expert, anyone?

2007-11-12 Thread Stephen Friedrich
Fair enough. Thanks for staying with me. PPR on or off does not make any difference. Here's an extract of my JSF/facelets page: --- tr:table id=shopTimeDetails var=details

Re: [Trinidad] PanelPage Facets are not displaying

2007-11-12 Thread Curtney Jacobs
Thanks for the reply: Actually, I do have a form component around the panelPage. The other facets for panelPage work fine, just the new ones that don't seam to work. For example, toolbar1, toolbar2, toolBarGlobal, contextGlobal, contextLocal, etc. Others like navigation1, navigation2,

Re: JBoss 4.2.2 and MyFaces

2007-11-12 Thread Nirav Patel
Hi, Did you check your web.xml? Do you have servlet-mapping for Faces Servlet? And are you using same URL pattern to invoke your JSF page? If you have provided .jsf as URL pattern but trying to access the page as .jsp, you will end-up in this kind of trouble. Cheers, Neo.

Re: [Trinidad] Update from 1.0.1 to 1.0.3 breaks PPR

2007-11-12 Thread Oscar Reitsma
This may help or not, sounds like there has been more discussion on this issue. We had problems with PPR in all versions above 1.0.1 because we weren't using jspx: i.e. use something like this: ?xml version=1.0 encoding=iso-8859-1 standalone=yes ? jsp:root xmlns:jsp=http://java.sun.com/JSP/Page;

Re: [Trinidad] Table expert, anyone?

2007-11-12 Thread Rafa Pérez
Hi Gerhard, I posted a question a couple days ago about this issue but get no answer. Could you tell me what is the number of the bug? Regards, - - Rafa On Nov 13, 2007 1:28 AM, Stephen Friedrich [EMAIL PROTECTED] wrote: Fair enough. Thanks for staying with me. PPR on or off does not make