-
15. Re: rich:tabPanel + client + NullPointerException
jersinghaus Mar 23, 2007 5:13 PM (in response to damianharvey)Sergey,
Would you like me to send a war or source?
I can send you a link to a site to download these.
Let me know.
Thanks
Joe -
16. Re: rich:tabPanel + client + NullPointerException
sergeysmirnov Mar 23, 2007 6:42 PM (in response to damianharvey)Yes. it would be great.
-
17. Re: rich:tabPanel + client + NullPointerException
jersinghaus Mar 25, 2007 12:47 AM (in response to damianharvey)Sergey,
I've placed a war file here that you can download:
http://www.nmda.nmsu.edu/download/richfaces.html
If you have any questions or the download fails, please let me know.
There are a few things to notice:
1. Not sure what's causing the space above the tab panel.
2. The table inside the tab almost renders correctly and the table click actions seem to work, but press the 2nd tab and then go back to the 1st and the table "breaks down",
3. also, the height of the tab is overridden at this point because it has stretched to fit the table which has lost it's scrollbars.
Thanks,
Joe -
18. Re: rich:tabPanel + client + NullPointerException
sergeysmirnov Mar 25, 2007 1:54 AM (in response to damianharvey)Joe, this is not about the tabPanel. It is about s:filterTable works inside the re-rendered area. It looks like is it not enabled for ajax.
You have the second table on your main page. Let's add the simple ajax button:<%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j"%> ..... <a4j:commandButton value="Just ReRender Table" reRender="filterTbl2" /> <s:filterTable styleClass="filterTbl" id="filterTbl2" var="car" value="#{sortableTableBean.cars}" > <s:sortableColumn field="id" dataType="Number" text="Id"> <h:outputText value="#{car.id}" /> </s:sortableColumn> <s:sortableColumn field="manufacturer" text="Manufacturer"> <t:commandLink action="main-page2"><h:outputText value="#{car.manufacturer}" /></t:commandLink> </s:sortableColumn> <s:sortableColumn field="model" text="Model"> <h:outputText value="#{car.model}" /> </s:sortableColumn> </s:filterTable>
At the beginning, the tbody has a class defined:<tbody class="scrollContent">
If you press the button, the table lose the scroll bar because it has only<tbody>
I think, the same happens for sorting controls.
So, the s:filterTable cannot be re-rendered without re-rendering the whole page, unfortunately. It is up to developers of s:filterTable to eliminate this limitation. -
19. Re: rich:tabPanel + client + NullPointerException
jersinghaus Mar 26, 2007 10:28 PM (in response to damianharvey)Sergey,
Thanks for you efforts!
I will see if I get a response in the myfaces user groups on this issue.
Do you guys plan to offer a jsf containable scrollable data table in the near future?
Thanks
Joe -
20. Re: rich:tabPanel + client + NullPointerException
ilya_shaikovsky Mar 27, 2007 7:37 AM (in response to damianharvey)yes we have a scrollableGrid in our roadmap
-
21. Re: rich:tabPanel + client + NullPointerException
jersinghaus Mar 27, 2007 10:05 AM (in response to damianharvey)Thanks good news - :)
Will it be able to hold other jsf components? (commandLink?)
Do you have an eta?
Thanks,
Joe