[Trinidad] Re-populating DataTable after sorting, results in empty table

2010-07-13 Thread schneidc
Hi, I encountered the following problem: I have a data table with several columns (each sortable) looking like e.g. |Name|Street|City|... There are also input fields with which the user can filter the contents of the table. E.g. in the city input field when he enters L* and hits an

AW: [Trinidad] Re-populating DataTable after sorting, results in empty table

2010-07-13 Thread Leis, Matthias - SID-NLKM
Hi! This maybe because the table model doesn't get sorted in the background. Does your table have more than one page (with t:datascroller)? Matthias -Ursprüngliche Nachricht- Von: users-return-57036-matthias.leis=sid.sachsen...@myfaces.apache.org

Re: AW: [Trinidad] Re-populating DataTable after sorting, results in empty table

2010-07-13 Thread schneidc
Hi Matthias! Sometimes the table has several pages but no datascroller (what's that, never heard of?). And should the sort-feature of the table also sort the according list? Simon Leis, Matthias - SID-NLKM wrote: Hi! This maybe because the table model doesn't get sorted in the

AW: AW: [Trinidad] Re-populating DataTable after sorting, results in empty table

2010-07-13 Thread Leis, Matthias - SID-NLKM
Hi Simon, Datascroller is a feature of tomahawk. I didn't see your post was about Trinidad, sorry. I have no experience with trinidad, but as far as I know it from the tomahawk datatable, sorting the table in the view doesn't sort the model in the background. A couple days ago I ran into this

Re: [Tobago] calling of renderer class

2010-07-13 Thread Udo Schnurpfeil
Hallo Hani, I'm not know exactly what you need. I assume, you have a sheet with headers, and the headers should have more than one row? Do you needed wrapping of the text in one header element, or do you need to have two header elements (with border etc.?). A feature like this will be added

Tiles Richfaces with Myfaces 1.2.9

2010-07-13 Thread شہباز علئ
Hi all, My application is built on JSF 1.2 and I am using Myfaces 1.2.9 as implementation for JSF. Further I am using Tomahawk 1.1.9 as JSF extension. I need to know which version of Tiles and RichFaces would be more compatible in this case? Any help will be appreciated.

Re: [Tobago] Problem using tc:tree and request parameters

2010-07-13 Thread Udo Schnurpfeil
Hi Alf, I think the request parameters are working like expected. Only in the case of reload it will depend, if you make a reload of the get or the reload of a later post request. A reload of a post will normally reposted after the browser has asked the user (may depends on browser and

Re: AW: AW: [Trinidad] Re-populating DataTable after sorting, results in empty table

2010-07-13 Thread schneidc
Ok, I'll try to solve this via manual sorting. Thanks, Simon Leis, Matthias - SID-NLKM wrote: Hi Simon, Datascroller is a feature of tomahawk. I didn't see your post was about Trinidad, sorry. I have no experience with trinidad, but as far as I know it from the tomahawk datatable,

PreRenderView Event with post navigation

2010-07-13 Thread Marcus Büttner
Hi, is there a possiblity to trigger PreRenderView event when I navigate via action to another page? small example: I'm on page1.xhtml an there's a button: h:commandButton action=page2/ page2.xhtml includes: f:metadata f:event type=preRenderView/ /f:metadata When I use the button then

Re: PreRenderView Event with post navigation

2010-07-13 Thread Michael Kurz
Why do you need to put f:event into f:metadata? If you put it outside this works like a charm. I didn't look into the details but I think f:metadata is not processed for all requests. As you want to register this listener to the view root it should be a child of f:view (or at least a top

Re: PreRenderView Event with post navigation

2010-07-13 Thread Marcus Büttner
Hi Michael, thanks for your response. Ok, it makes sence and it works! Thanks Marcus 2010/7/13 Michael Kurz michi.k...@gmx.at Why do you need to put f:event into f:metadata? If you put it outside this works like a charm. I didn't look into the details but I think f:metadata is not

Re: PreRenderView Event with post navigation

2010-07-13 Thread Jan-Kees van Andel
Hi Marcus, According to the JSF 2.0 spec, paragraph 10.4.1.3: This tag must reside within the top level XHTML file for the given viewId, not in a template. Is this true in your case? I've seen f:metadata work in the past... Regards, Jan-Kees 2010/7/13 Michael Kurz michi.k...@gmx.at Why do

Re: AW: AW: [Trinidad] Re-populating DataTable after sorting, results in empty table

2010-07-13 Thread schneidc
Hi again, unfortunately it didn't work. I attached a sortListener from which I could get the sort criterion and sorting on its own worked like a charm. But again, when I tried to filter, all I could see was an empty table. It also doesn't seem to be just a display problem as after the filtering

Re: PreRenderView Event with post navigation

2010-07-13 Thread Marcus Büttner
Hi Jan-Kees, yes, f:metadata is in the top level xhtml. and it works as expected. It is just processed in restore view phase, which makes sence to trigger the complete jsf lifecycle if some view parameters exists. I didn't have the problem that f:metadata does not work correctly but rather that

Re: PortletBridge starting portlet problem

2010-07-13 Thread Michael Freedman
This feels more environmental than anything else. Is this still just the situation when accessing from an iPhone user-agent? The regular user-agent still works fine? Can you send me a complete description of your environment? I.e. Specific Trinidad version, Faces make (Mojarra or Myfaces?)