Trouble using MyFaces dataTable and t:columns tag in JSR168 portlet

Hi, I have a question and need some help.
I am building a JSF portlet, and trying to use Appache MyFaces custom tags.
I need to use t:dataTable, and t:columns tags to display a dynamic ListDataModel, since the number and content of columns will vary.
The problem is, the dataTable will only display the first row of the ListDataModel, although the data is all there. It seems that the page only reads the first row of the ListDataModel. Anybody has similar experience, or have some work around?
Thank you in advance.

Thats a way I had not thought of to approach this
problem.
I'd like to see what your backing bean looks like in
this instance.
How does the binding to #{item.data} map to anything?As usual BackingBean
TableInfoBean.contentTable is UIData. I use binding just for combobox. You can drop this binding.
TableInfoBean.content.currentPage is any container supported by dataTable. In my case this is Collection. This Collection contains item objects. Each item can has one property with array, List, Collection etc. In my case this property is data (row.data). Each item of this data collection is some object too. In my case this objects has property data too.
The hierarchy is
dataTableList:Collection->itemObjectYAxis:SomeType->data:Collection->itemObjectXAxis:SomeAnotherType->properties for output.
>
Thanks
-Matthew

Similar Messages

  • I'm having trouble using the iTunes and Apps store because i can't register my Nigerian mastercard. What should i do. i'm trying to register it in the Nigerian iTunes store.

    I'm having trouble using the iTunes and Apps store because i can't register my Nigerian mastercard. What should i do. i'm trying to register it in the Nigerian iTunes store.

    Is this a new Apple iD? If it is, and you have already set it up, then you have two options:
    1.     Temporarily put a Credit Card or Gift Card on the account to download the free app. If you put a credit card, then once you have downloaded the app, you should be able to go into your Account preferences and change the payment option to = None.
    2.     You can download the fee App, and then set up a new Apple ID.
    Cheers,
    GB

  • Having trouble using my imessage and FaceTime every time I try to log in it says wrong password or apple ID which I know it's the right one because I always use it.... Please help!?

    Trying to activate my imessage and FaceTime. I click on using my apple ID so it ask me for my password I put it in and it says its wrong which I know it's not cause I use it on other things and it works fine except for imessage and face time... So anyone please help!!!!

    Hi brittney290,
    Welcome to the Support Communities!
    I'm sorry to hear you are having issues with your iMessage and Facetime activation.
    The article below may be able to help you with this issue.
    Click on the link below to see more details and screenshots.
    I've quoted some helpful highlights for you:
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/ts4268
    Troubleshooting Apple ID activation
    After each step, toggle iMessage and FaceTime off and then on again in Settings > Messages and Settings > FaceTime.
    Update to the latest version of iOS.
    Ensure that you have an active Internet connection. You can complete activation using Wi-Fi or a cellular data connection. Check your Wi-Fi network using standard Wi-Fi network troubleshooting.
    If you receive an error when signing in to your Apple ID, visit myinfo.apple.com, sign in to your account, and ensure that the primary email address has been verified.
    Ensure that FaceTime has not been restricted: Settings > General > Restrictions > FaceTime.
    In Settings > General > Date & Time, ensure that Set Automatically is on. If Set Automatically is on, but the incorrect time zone is displayed, turn Set Automatically off and then choose the correct time zone, date, and time. Then turn Set Automatically on again.
    Enable iMessage and FaceTime while connected to another Wi-Fi network in a different location.
    When enabling FaceTime or iMessage on an iPhone, you may see "Waiting for Activation". This message refers to the activation of your telephone number only. You can use FaceTime and iMessage with your Apple ID even if your phone number has not completed activation.You can see that you've activated FaceTime and iMessage with your Apple ID here:
    Settings > FaceTime > You can be reached by FaceTime at:
    Settings > Messages > Send & Receive > You can be reached by iMessage at:
    Additional Information
    To sign out of your Apple ID:
    Go to Settings > FaceTime, tap your Apple ID, and select Sign Out.
    Go to Settings > Messages > Send & Receive, tap your Apple ID, and select Sign Out.
    Find information about linking your phone number to an Apple ID for use with FaceTime and iMessage.
    Find help with issues you may encounter when using iMessage or FaceTime behind a firewall.
    Recommended Wi-Fi router and access-point settings.
    Note: FaceTime may not be available in all countries or regions.
    On iPhone, SMS messaging is required to activate FaceTime and iMessage for use with your phone number. Depending on your carrier, you may be charged for this SMS.
    I hope this information helps ....
    Have a great day!
    - Judy

  • How to identify the SQLs which are using the tables and new columns

    Hi
    I m using oracle 10G Database in windows. Developers have added some columns in some of the database tables and were asking to check whether there is some impact on performance or not. I have not done this performance tuning before. Kindly help me how to proceed further.
    How to obtain the sqls which are touching the tables and the new columns? It would be really great if you can help me with this.
    Thanks

    You can try to use DBA_DEPENDENCIES to get PL/SQL objects using tables: http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_1041.htm#i1576452.
    However if SQL code is not stored in database in a trigger, a procedure, a function, a package or a view, it is impossible to retrieve all SQL code referencing some table from database dictionary: for this you would have to analyze application source code.

  • Upgrading from snow leopard to mountain lion will i have trouble using my Pages and Iphoto since it's not the latest version

    I am contemplating upgrading my OS from Snow Leopard to Mountain Lion.  Currently, I don't have ICloud available on my computer.  I also keep getting messages to upgrade my IPhoto to '11 version as well as Pages.  I know, I'm behind, but my theory is if it isn't broke don't mess with it.
    My concern is I don't want to lose my pictures and YES, I have backed up with Time Machine to an external hard drive.  (I just hope that's good enough).  IF I upgrade to start using ML OS, will I need to restore anything from my external hard drive or will I be able to start using computer as if nothing changed? 
    I know enough to be dangerous and I'm hesitant to upgrade for fear of losing everything.  Would appreciate help.  Thanks!

    Charmedgreen wrote:
    So it's alright to "skip" downloading the Lion version first?  I can go directly from Snow Leopard to Mountain Lion? 
    Correct, in fact, Lion is no longer directly available from the App Store.
    Also, do I need to "empty my trash"  before going forward?
    No need.
    Matt

  • Trouble using Custom Template and Saving Resulting Document. Help!

    I created a Custom Template in Numbers '09. When I go hit "New from Template Chooser", there it is. I've tried entering info directly into the template, as well as duplicating it and entering info in the duplicated document. I can enter the info just fine, but.... Either way, when I'm done I do not have an option to Save, Save As or anything like that. I only see "Save As Template".....but it's already a perfectly good template. I don't want to Save As Template and create another template!!!. I want a named document saved, using the great template I already put together. Is this a problem? What's up? Why can't I do this???? Please help!

    I'm on an iMac running 10.7.5. (Afraid to go further  because I have FInal Cut Pro 7 and I'm very attached to it....I'm afraid to upgrade my OS and have FCP not work! I'm a pro and not so willing to go to FCP 10).  Anyway, I'm on an iMac 3.06 GHz Intel Core  4 GB, 1333 MHz RAM.
    I'm running Numbers ''09 and don't have 13, so it's an 09 template entering 09 info. It's perfect. I run webinars and it contains all of the status for media and every detail of any upcoming webinar production. My goal is to open the template, enter the info, and save it with the name of the webinar client. Then open again, enter for another client, save, etc.
    It's just 09 all the way through. It says I can Save a Version or Save as Template.
    Should I open a template and then Duplicate so it's a fresh document? I do that sometimes in hopes of seeing an option to SAVE AS. Sometimes I open and Don't Duplicate, but just use the template. Either way I see no way of saving the document with the specific information for the client. I don't want to Save As Template! Who wants hundreds of templates running around that are all virtually the same except for the info entered within it.
    Am I missing the boat here?

  • Trouble using mask tool and filter...Could not rasterize because the pixel data for this layer is not directly editable - masking

    I've searched for an answer to the problem I'm having on cs4 and can't find it, so here goes:
    New to photoshop,  I'm trying to fake some depth of field (i.e blur the background) on a wedding photo by using the masking tool to mask out the foreground then, out of mask mode> select>inverse to get the dotted line around the image, then using Filter>gausian blur on the background.
    1. The dotted line around the image doest look right
    2.  I can't use the filter facility (its greyed out) and when I try to use the blur tool from the side menu got the above message.
    Any help much appreciated.

    Which operating system are you using?
    I'm using Mac Lion V 10.7.5, working on a photoshop cs4 trial version (could be the problem?).
    I Used the quick mask mode to mask the area.
    Here's a screen shot - (I have blacked out some of photo for subjects' privacy):
    -  mask mode turned off, then Select>Inverse to show unmasked area  (note, the dotted line continues round the bottom of the pic which indicates to me I have made a masking mistake, as dotted line to mask out background only should go round the top & sides of the photo and then outline the couple, - right?
    Image mode of image: If I understand correctly what this is, the image mode is .jpg
    Bit depth of image: Bit depth of image is 8, color mode is RGB.
    Hope I've given you the information you required.
    Thanks
    P

  • PreparedStatement and CHAR columns

    Hi
    I am having troubles using preparedStatements on tables with columns of type CHAR:
    My table has a column of type CHAR(3). The data in this column is 0,1,2 or three characters long.
    My query contains this column in the WHERE clause in the from "WHERE colName = ?".
    The problem is now, that I have to use a String in the pstmt.setString(1, str) statement that is exactly 3 characters long. Otherwise I don't get any result.
    If I use a 2 char string i get nothing. But with a 'normal' statement or in SQL*Plus it works perfectly fine.
    Of course, I could trim() my column or fill the string up to be always 3 chars, but I think that's not state of the art.
    Any other solutions?
    Thanks in advance.
    Andres
    null

    What you describe is the ANSI behavior of a CHAR column. VARCHAR columns can match on any length (and can be any length up to the maximum or the column constrint limit), but a char column is required to be blank padded. If you must use CHAR then write a function to automatically pad the string for you so that it will match.

  • How to use Special value set with Column clause to display addtional column

    hi
    can anyone tell me
    How to use Special value set with Column clause to display addtional column
    how can i use FND POPID and with COLUMN clause ?

    Dear Yaseen,
                To get the value in formula cumulative,after you have created the formula for that particular key figure,go to edit and click on tab "calculations".
    In that select overall result as 'count all values not equal to zero' and single result as 'count all values not equal to zero' .
    And mark the cumulative check box underneath.
    I hope you get the desired result and please do me favour .
    Sumit goomber

  • 'id' attribute is not rendered for h:column tag in datatable

    Hello Everyone,
    There is a problem with rendering 'id' attribute for <h:column> tag. I'm using jsf 1.2_07.
    Here is source code:
    <h:dataTable id="reportList" var="item" cellpadding="1" cellspacing="0" border="0" value="#{myBean.reportList}">
    <h:column id="column1">
    <f:facet name="header">
    <h:outputText value="#{textProps.selected}" style="white-space:nowrap;"/> </f:facet>
    <h:selectOneRadio id="radio" onclick="javascript:setselected(this);">
    <f:selectItem itemValue="#{item.id}"/>
    </h:selectOneRadio>
    </h:column>
    <h:column id="column2">
    <f:facet name="header">
    <h:outputText value="#{textProps.name}" style="white-space:nowrap;"/>
    </f:facet>
    <h:outputText value="#{item.name}" style="white-space:nowrap;"/>
    </h:column>
    </h:dataTable>
    Thanks for your help,
    Sergei

    The attribute "id" is set properly but isn't shown in html
    because there is no html-element corresponding to UIColumn.

  • h:dataTable and h:panelGrid Troubles

    I have a list of Server Objects that I want to display in a table format with specifically 5 columns and the number of rows can be dynamic based on the number of Servers. I need the Servers to be displayed as buttons with the Server.name on the button and the button color based on the Server.status. I am trying to accomplish this with a <h:dataTable> and a <h:panelGrid>, but with no luck. Can someone please offer up a solution? I am getting what I want, but it is all in 1 column, not in 5 columns. My code is below:
    <h:dataTable value="#{serversBacking.servers}" var="server">
      <h:column>
        <h:panelGrid columns="5">
          <ui:fragment rendered="#{server.status=='up'}">
            <h:commandButton action="processes?faces-redirect=true" value="#{server.name}" style="background-color:green"/>
          </ui:fragment>
          <ui:fragment rendered="#{server.status!='up'}">
            <h:commandButton action="processes?faces-redirect=true" value="#{server.name}" style="background-color:red"/>
          </ui:fragment>
        </h:panelGrid>
      </h:column>
    </h:dataTable>

    Do not use an h:panelGrid, instead make five h:column instances, each containing what goes in one cell of the table.

  • How to use, Case function and Filter in Column Formula?

    Hello All,
    I am using case function and also would like to filter value to populate.
    Below is showing error :
    case
    when '@{Time}' = 'Year' then "Time"."Fiscal Year"
    when '@{Time}' = 'Quarter' then "Time"."Fiscal Quarter"
    when '@{Time}' = 'Month' then FILTER ("Time"."Fiscal Period" USING "Time"."Fiscal Period" NOT LIKE 'A%')
    else ifnull('@{Time}','Selection Failed') end
    Thanks, AK

    when '@{Time}' = 'Month' then FILTER ("Time"."Fiscal Period" USING "Time"."Fiscal Period" NOT LIKE 'A%')I dont think Filter this works here or any other data types except number.
    Try to use option Column's->Filter->Advanced->Convert this filter to SQL
    If helps mark

  • Is there a way to integrate iCal with both reminder and note?  It would be useful to be able to "date" tag both these apps with iCal, so you can augment or even replace an integrated planner

    Is there a way to integrate Reminder and Note into iCal?  It would be useful to be able to "Date" tag notes and reminders into the iCal display--this would go a long way to augmenting and replacing a paper planner.

    No way in iCal!
    The calendar app of my old MassagePad called Apple Newton was able to calculate the duration of an event. That was in the year 1998.
    We're now living in the year 2014 - 16 years later - more then 10 years after OS 10.0, but we still have no calendar app that can do that simple thing.
    Thanks Apple for a another embarrassing failure!

  • Edit Objectives and other columns using PHAP_ADMIN : SAP Appraisals

    Here is a common scenario that we are having problems setting up. We are on SAP 4.7 - ext 1.1. We have annual MBO ratings where the employee's objectives are rated by the manager. The employees create their objectives in the system using T.code PHAP_CATALOG. We have created OSA templates where in the Objectives can be only changed by appraiser and manager can only display. This is configured in the template using column access. (For example in planning stage the column access for objective setting is set to: Column Owner - Appraisee, Planning Owner- Change, Planning Others - Display.)
    However, we would like the HR Administrator to be able to edit the objectives in planning status and subsequently other columns in the appraisal document. However in transaction PHAP_ADMIN the objectives are grayed out and the HR administrator cannot change the objectives of employs are edit anything in the document. This is probably because the column access is set to display for others. The role given is an exact copy of standard SAP delivered role for appraisal administrator. We have included P_Origin authorization object also.
    I understand PHAP_ADMIN should over rule and enable changes by the administrator.
    How do we manage this requirement?
    Thank You

    Hello,
    This is the outcome of my research on this issue. Granting full access to administrator users is not the default behavior in PHAP_ADMIN for 620. It was introduced to 640 and unfortunately cannot be down ported.
    However, We could give full access to the administrator using BAdI 'HRHAP00_COL_ACCESS'  and this had the same effect. The necessary coding for method 'GET_COLUMN_ACCESS' looked like this:
    | * If the transaction is PHAP_ADMIN allow full access
    | IF sy-tcode CP 'PHAP_ADMIN*'.
    | column_owner = 'X'.
    | availability = 'X'.
    | ENDIF.
    I would like to give due credit to Alexander Esslinger from SAP, who helped us solve this problem.
    Thank You
    Magesh

  • Trouble using AirPlay between iMac and AppleTV

    I'm running OS X Lion 10.7.5 and I'm having trouble using AirPlay between iMac and AppleTV (2nd Gen).  It used to work fine, but for some reason it just stopped responding.  I can see my media on my iMac from AppleTV and I can see AppleTV from my iMac when attempting to use AirPlay.  However, when I try to pull or push media from my iMac to AppleTV it just stalls and never loads.  AirPlay works fine from my iPhone and iPad with AppleTV - it's limited to my iMac only. 
    I'm using a Netgear R7000 wireless router and a Netgear AC120 WiFi Extender and as such, I have 4 available wireless networks (2 from the router and 2 from the extender / 2 - 2.4 GHz and 2 - 5 GHz).  My internet access is great and my network performance is good across the board.  All of my software/firmware is up to date (iMac, AppleTV and router/extenders). I've tried all combinations (mixing/matching) all of my wireless networks between devices (iMac/AppleTV) - nothing makes a difference (again, AirPlay works fine between my mobile devises/AppleTV).  Netgear Genie has been making changes to my network settings as new firmware has been installed in both the router and extender.  I'm guessing there is something screwy going on with the network settings on the iMac, but I can't figure it out.
    Anyone have any suggestions?
    Thanks!

    I'm glad you got it all working. Out of interest, how do you (or your son) connect to the internet now? Is it just a dial-up connection? If it is, I am sure you know that, even if you get the Apple TV to share the connection, the speed will seriously limit the use of many of the Apple TV's features.
    The Airport Extreme is a great router but you will need a DSL or cable modem as well as it won't connect to the internet without one. There are many great (and cheaper!) combined modem/routers available if your son wants to get a high-speed network up and running at lower cost. Any other computers, phones, games consoles etc that you may have in the house can then all connect easily.
    I hope that I have helped a little and I will look out for future posts in case I can help again.

Maybe you are looking for