Results 1 to 4 of 4
  1. #1

    Default Urgent! Richfaces help


    hello mga migo .. ask lang ta ko help,unsaon pag gama ug dynamic number of columns ang sa rich:datatable..
    newbie po..
    thanks!

  2. #2

    Default Re: Urgent! Richfaces help

    mga bay just came up with a solution t0 my problem just wanna share it


    Code:
    <rich:dataTable value="#{postingSumRpt.postsum}"  var="ps"
                                            columnsWidth="400px,330px"
                                            id="postSumTbl" sortMode="single" rows="10"
                                            footerClass="tableFooter" rowKeyVar="row"
                                            rowClasses="tableRowNoSelect1,tableRowNoSelect2"
                                            columnClasses="truncateTextToFitCell">
                                <rich:column  style="cursor: pointer;">
                                    <f:facet name="header">
                                        <h:outputText value="Premise"/>
                                    </f:facet>
                                    <h:outputText id="premise_data" value="#{ps.premise}" />
                                </rich:column>
                                <rich:column style="cursor: pointer;">
                                    <f:facet name="header">
                                        <h:outputText value="Agency"/>
                                    </f:facet>
                                    <h:outputText id="agency_data" value="#{ps.agency}" />
                                </rich:column>
    
                                <rich:columns style="text-align:left;"
                                              value="#{postingSumRpt.columnDates}"
                                              var="dateColumn" index="ind" sortable="false"
                                              selfSorted="false">
                                    <f:facet name="header">
                                        <h:outputText value="#{dateColumn}">
                                            <f:convertDateTime pattern="M/d/yyyy"
                                                               timeZone="#{pageResource.timeZone}"
                                                               locale="#{facesContext.viewRoot.locale}" />
                                        </h:outputText>
                                    </f:facet>
                                    <h:outputText value="#{ps.countPerDate[dateColumn] == null? 1 :
                                                           ps.countPerDate[dateColumn]}" />
                                </rich:columns>
                            </rich:dataTable>
    For those who likes to learn JSF framework + Richfaces , sulod lang ta dinhi . lets all share..

  3. #3

    Default Re: Urgent! Richfaces help

    i wrap sa [code] bai para han-ay tan-awon

  4. #4

    Default Re: Urgent! Richfaces help

    Quote Originally Posted by -_- View Post
    i wrap sa [code] bai para han-ay tan-awon
    hehe ok bay thanks.

  5.    Advertisement

Similar Threads

 
  1. Urgent: Need help for civil wedding
    By ukoysakabo in forum General Discussions
    Replies: 2
    Last Post: 12-21-2011, 12:45 PM
  2. Very urgent plz. Help..
    By yuhan550 in forum Websites & Multimedia
    Replies: 4
    Last Post: 10-06-2010, 02:35 PM
  3. i want to buy a cellphone urgent pls help
    By teomargulbin in forum Cellphones & Accessories
    Replies: 10
    Last Post: 12-15-2009, 10:22 PM
  4. urgent: need help on this bit
    By etzina in forum Programming
    Replies: 1
    Last Post: 08-06-2009, 06:06 PM
  5. Urgent!! need help!! dog medicine
    By gregory in forum Pet Discussions
    Replies: 8
    Last Post: 01-24-2007, 11:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top