| Author |
jsf ui:table component is not supported for different browser
|
imtiyaz momin
Greenhorn
Joined: Feb 08, 2012
Posts: 2
|
|
|
I am using Sun Java Studio Creator 2 Update 1 for jsf component, i have suffering big problem for jsf <ui:table> component. This component is not supported for above firefox 8.0, chrome etc.what is the solution of that problem.
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 12513
|
|
Never mind the IDE and the browser. I've never heard of a Facelets ui:table tag type.
For most cases, the best way to present tabular or grid data on a JSF View is to use the ui:dataTable tag or one of its extensions.
Whatever you do, DON'T use JSTL looping tags.
|
One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
|
 |
imtiyaz momin
Greenhorn
Joined: Feb 08, 2012
Posts: 2
|
|
Sir,
We are Sun studio creator for creating the table, please see below code generate by Creator ,
<ui:table augmentTitle="false" binding="#{Page1.table1}" deselectMultipleButton="true" id="table1" lite="true" paginateButton="true"
paginationControls="true" selectMultipleButton="true" title="Calorie Calculator" width="701">
<ui:tableRowGroup binding="#{Page1.tableRowGroup1}" id="tableRowGroup1" rows="10" selected="#{Page1.currentRowSelected}"
sourceData="#{SessionBean1.foodListDataProvider}" sourceVar="currentRow">
<ui:tableColumn binding="#{Page1.tableColumn6}" headerText="Category" id="tableColumn6" width="68">
<ui:staticText binding="#{Page1.staticText6}" id="staticText6" text="#{Page1.catDesc}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{Page1.tableColumn2}" headerText="Description" id="tableColumn2" sort="desc">
<ui:staticText binding="#{Page1.staticText2}" id="staticText2" text="#{currentRow.value['desc']}"/>
</ui:tableColumn>
<ui:tableColumn align="right" binding="#{Page1.tableColumn3}" headerText="Carb %" id="tableColumn3" sort="carbPct">
<ui:staticText binding="#{Page1.staticText3}" id="staticText3" text="#{currentRow.value['carbPct']}"/>
</ui:tableColumn>
<ui:tableColumn align="right" binding="#{Page1.tableColumn4}" headerText="Fat %" id="tableColumn4" sort="fatPct">
<ui:staticText binding="#{Page1.staticText4}" id="staticText4" text="#{currentRow.value['fatPct']}"/>
</ui:tableColumn>
<ui:tableColumn align="right" binding="#{Page1.tableColumn5}" headerText="Protein %" id="tableColumn5" sort="proteinPct">
<ui:staticText binding="#{Page1.staticText5}" id="staticText5" text="#{currentRow.value['proteinPct']}"/>
</ui:tableColumn>
</ui:table>
Sun Studio creator just like drag drop component.
We are using core html. datatable is refer as<h:datatable>
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 12513
|
|
|
You have a bigger problem, it appears. The "ui" namespace these days is normally occupied by the Facelets tags. Apparently you have some sort of alternative tagset assigned to the XML namespace named "ui". This can lead to possible conflicts and can definitely lead to confusion.
|
 |
 |
|
|
subject: jsf ui:table component is not supported for different browser
|
|
|