Is it possible to have a renderer do its rendering at the end of the document?

2008-03-28 Thread Matt.Rossner-prest
Hi, The subject is vague so here's a more detailed description. I have a context menu component that I've written. The way it works is by rendering a div with the context menu items, anything that's in the javax.output.Command family is an item. The div is initially set to hidden. In the

Re: iframe and saveState

2008-03-28 Thread Piotr
Hi, any suggestions please. I'm really facing a big problem with this. I thought that maybe while being in the mainPage view I could try to retrieve value of t:saveState component from iframe view but can't figure out how to implement this exactly. Any help would be appreciated. Piotr

How to clear data already t:saveState manually in code?

2008-03-28 Thread jimmyau
How to clear data already t:saveState manually in code? -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

Re: How to clear data already t:saveState manually in code?

2008-03-28 Thread Gerald Müllan
Hi, FacesContext facesContext = FacesContext.getCurrentInstance(); facesContext.getExternalContext().getRequestMap().remove(beanName); cheers, Gerald On Fri, Mar 28, 2008 at 11:26 AM, jimmyau [EMAIL PROTECTED] wrote: How to clear data already t:saveState manually in code? -- This message

orchestra conversation closed by stylesheet

2008-03-28 Thread Bernd Winterstein
Hi I have a one page conversation with access-scope. The page contains several tabs which are switched by Ajax calls. The first time the page is loaded the last request is a css download, upon which orchestra closes the conversation. The following requests for other tabs works perfect, the

Re: How to clear data already t:saveState manually in code?

2008-03-28 Thread jimmyau
i am not saving bean. is it the id of saveState is the key in the map? t:saveState id=srn value=#{srnAddBean.selectedTab}/t:saveState FacesContext facesContext = FacesContext.getCurrentInstance(); facesContext.getExternalContext().getRequestMap().remove(srn); - Original Message -

Re: orchestra conversation closed by stylesheet

2008-03-28 Thread simon
Hi Bernd, On Fri, 2008-03-28 at 12:11 +0100, Bernd Winterstein wrote: Hi I have a one page conversation with access-scope. The page contains several tabs which are switched by Ajax calls. The first time the page is loaded the last request is a css download, upon which orchestra closes

Problem with ListDataModel::getRowData

2008-03-28 Thread Stephan K
Hi While converting my app from myfaces 1.1.5 to use trinidad I'm now stumped by the following behavior: I have a tr:table with a column containing a link and an action to call on my managed bean when the link gets clicked. The managed bean called getRowData to determine the row selected and

Leak in saveState?

2008-03-28 Thread sebastien.clement
Hi, Using MessAdmin, I noticed that the size of the attribute 'org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW' in session is continualy increasing. Approximately 100K by viewed page. It appears with myfaces1.1.5 and tomahawk 1.1.4-SNAPSHOT but with myfaces1.2.2 and

[Trinidad] Tree/TreeTable open/close node via client without server roundtrip

2008-03-28 Thread Maik77
Hello, is it possible to open/close the nodes from a tree/treetable without a server roundtrip? For me it is not necessary and it takes too much time until a node has opened or closed. Thanks. Maik -- View this message in context:

Re: orchestra conversation closed by stylesheet

2008-03-28 Thread Bernd Winterstein
Hi Simon, many thanks for your tips. I checked the phase-listener solution, but it's a little dirty. The resource request skips phases 2-5. And the after RESTORE_VIEW callback is not called. In the before callback I do not know how to get the view id. As a solution i check the source

[Tomahawk Trinidad] Error No RenderingContext

2008-03-28 Thread James Clinton
Hi, Having problems trying to fit Trinidad into an existing Tomahawk/Facelets based application which uses A4J libraries. I have looking thru the examples believe I have configured the app correctly to now support Trinidad including: - default-render-kit-id/ in faces-config.xml -

Re: orchestra conversation closed by stylesheet

2008-03-28 Thread Mario Ivankovits
Hi! many thanks for your tips. I checked the phase-listener solution, but it's a little dirty. The resource request skips phases 2-5. And the after RESTORE_VIEW callback is not called. In the before callback I do not know how to get the view id. As a solution i check the source component of

Re: [Trinidad] Tree/TreeTable open/close node via client without server roundtrip

2008-03-28 Thread Andrew Robinson
not that I am aware of On 3/28/08, Maik77 [EMAIL PROTECTED] wrote: Hello, is it possible to open/close the nodes from a tree/treetable without a server roundtrip? For me it is not necessary and it takes too much time until a node has opened or closed. Thanks. Maik -- View this

Re: [Tomahawk Trinidad] Error No RenderingContext

2008-03-28 Thread Andrew Robinson
having a a4j view handler in the stack without trinidad looks troublesome. Have you ensured that you have the trinidad filter setup as the very first filter in the web.xml? BTW, it is not recommended to you a4j with trinidad, they are not fully compatible, especially with Ajax Andrew On

DebugResponseWriter _logDuplicateId and HtmlPanelTab

2008-03-28 Thread Shane Petroff
Hello all, I have an annoying problem with Trinidad and 'duplicate' ids. It doesn't seem to affect functionality, but if released into production, it would end up generating boatloads of useless log entries. Alternatively, it seems rather self defeating to try and add custom log settings to

Myfaces with jMaki

2008-03-28 Thread Zheng, Xiahong
Has anyone tried this combination?

[Trinidad] PPR of table not happening on button click in IE7

2008-03-28 Thread Bertrand, Shawn R
I'm using Trinidad 1.0.7, and have PPR of a table occurring when a particular button is clicked. The table updates fine in Firefox 2.0, but doesn't in IE 7. Anything I should look for? I even call addPartialTarget(table) during the button's actionListener, but it doesn't have the desired

Re: [Trinidad] PPR of table not happening on button click in IE7

2008-03-28 Thread Richard Yee
Try taking partialSubmit=true out. -Richard On 3/28/08, Bertrand, Shawn R [EMAIL PROTECTED] wrote: I'm using Trinidad 1.0.7, and have PPR of a table occurring when a particular button is clicked. The table updates fine in Firefox 2.0, but doesn't in IE 7. Anything I should look for?

Re: [Trinidad] PPR of table not happening on button click in IE7

2008-03-28 Thread Max Starets
Shawn, Any chance you could use HTTP Analyzer to see response body for the PPR request? Max Bertrand, Shawn R wrote: Im using Trinidad 1.0.7, and have PPR of a table occurring when a particular button is clicked. The table updates fine in Firefox 2.0, but doesnt in IE 7.

[TRINIDAD] selectOneChoice not visible initially in dialog when ENABLE_LIGHTWEIGHT_DIALOGS=true

2008-03-28 Thread Richard Yee
Hi, I'm having a problem with a selectOneChoice in a lightweight dialog. When ENABLE_LIGHTWEIGHT_DIALOGS is false, the selectOneChoice is displayed fine when the dialog is first brought up. However, when ENABLE_LIGHTWEIGHT_DIALOGS is true, the dropdown list part of the selectOneChoice is not

Help with Common1_2_1.js apache myfaces

2008-03-28 Thread kunal kochhar
Hi Do any one know how (if possible) can we edit Common1_2_1.js and where exactly is it . it gets called on my page from ../adf/jslibs/Common1_2_1.js I could not find it.. Any help will be appreciated. Regards Kunal -- View this message in context:

Re: Help with Common1_2_1.js apache myfaces

2008-03-28 Thread Andrew Robinson
It is generated on the fly by combining different JS files together by a Trinidad resource loader. To modify it, *for testing only*, you can probably find it somewhere in the app server while it is running. To modify the code you would have to modify the individual JS files that make it up, which