Two datatable in one page

I have two t:datatable in one jsf page. Both the table are getting displayed but there is no data in the second table. Has anyone faced a similar problem? Any solution to this or am i missing something?

I have two t:datatable in one jsf page. Both the table are getting displayed but there is no data in the second table. Has anyone faced a similar problem? Any solution to this or am i missing something?

Similar Messages

  • In my class i am suppose to do a before and after shot, how do i have two photos on one page

    before and after shots..how do i put two photos on one page?? please help

    Good day!
    As Photoshop is not a page layout application but primarily image editing software the concept of "page" has limited relevance.
    Anyway, you could increase the canvas (Image > Canvas Size) and place the other image (File > Place …) or drag and drop it.
    Or create a new image and place both images. Whether doing so as Embedded or Linked Smart Objects makes more sense depends on your workflow, I guess.
    File > Automate > Contact Sheet II would be another option.
    Regards,
    Pfaffenbichler

  • I have two textframes on one page. But when iterating using everyitem() it picks second prior to first?

    Hi Expert's
    I have two textframes on one page. But when iterating using everyitem() it picks second prior to first?
    var ObjDoc = app.activeDocument;
    var LstPara = ObjDoc.pages.everyItem().textFrames.everyItem().paragraphs.everyItem().getElements();
    for(var c1=0;c1<LstPara.length;c1++)
         var par = LstPara[c1];
         $.writeln(par.contents.toString());
    is there any specific reason for that? Please explain

    To solve your issue, try the below code:
    var ObjDoc = app.activeDocument;
    var LstTxtFrame = ObjDoc.pages.everyItem().textFrames.everyItem().getElements();
    for(var c1=LstTxtFrame.length-1;c1>=0;c1--)
        var LstPara = LstTxtFrame[c1].paragraphs.everyItem().getElements();
        for(var c2=0;c2<LstPara.length;c2++)
            var par = LstPara[c2];
            $.writeln(par.contents.toString());
    I have two textframes on one page. But when iterating using everyitem() it picks second prior to first?
    is there any specific reason for that? Please explain
    InDesign text frames will work in LIFO (Last in first out) method, i.e., the last created text frame will be treated as a first frame in for loop, hence try the above code.
    Vandy

  • Can I put two h:dataTable in one page?

    I find that if I put two dataTables in the same page, something goes wrong.
    Any solution to this?
    Thanks in advance.

    userManagement.jsp:
    <%@ page language="java" pageEncoding="GBK"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
         <title>My JSF 'userManagement.jsp' starting page</title>
         <meta http-equiv="pragma" content="no-cache">
         <meta http-equiv="cache-control" content="no-cache">
         <meta http-equiv="expires" content="0">   
         <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
         <meta http-equiv="description" content="This is my page">
         <!--
         <link rel="stylesheet" type="text/css" href="styles.css">
         -->
    </head>
    <body>
         <f:view>
              <f:loadBundle basename="edu.fudan.glee.view.bundle.MessageBundle" var="bundle"/>
              <%@ include file="header.jsp" %>
              <%@ include file="demandHistory.jsp" %>
              <%@ include file="rootCatalogLink.jsp" %>     
                   <p>  </p>
                   <TABLE border="1" width="400px">
                        <TR>
                             <TD>
                                  <h:outputLink value="/Glee/userManagement_favorite.faces" rendered="true" id="favoriteLink">
                                       <h:outputText value="#{bundle.favoriteLink}"></h:outputText>
                                   </h:outputLink>
                             </TD>
                             <TD><h:outputLink value="/Glee/userManagement_personal.faces" rendered="true" id="personalLink">
                                       <h:outputText value="#{bundle.personalLink}"></h:outputText>
                                   </h:outputLink>
                             </TD>
                             <TD><h:outputLink value="/Glee/userManagement_comment.faces" rendered="true" id="commentLink">
                                       <h:outputText value="#{bundle.commentLink}"></h:outputText>
                                   </h:outputLink>
                             </TD>
                        </TR>
                   </TABLE>
                   <%@ include file="footer.jsp" %>
              </f:view>
    </body>
    </html>demandHistory.jsp:
    <%@ page language="java" pageEncoding="GBK"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
         <f:subview id="demandHistorySubView"> 
              <h:form id="demandHistoryForm" rendered="true">
                        <h:dataTable id="demandHistoryTable" var="video" value="#{UserBean.demandHistory}" border="1">
                         <h:column>
                              <f:facet name="header">Recent</f:facet>
                             <h:commandLink action="videoDetail">
                                            <h:outputText value="#{video.chineseName}"/>
                                            <f:param name="videoId" value="#{video.id}"/>
                             </h:commandLink>
                         </h:column>
                         </h:dataTable>
              </h:form>
         </f:subview>rootCatalogLink.jsp:
    <%@ page language="java" pageEncoding="GBK"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
         <f:subview id="rootCatalogLinkView">
              <h:form id="rootCatalogLinkForm">
                   <h:dataTable id="rootCatalogTable" var="videoType" value="#{VideoListBean.rootCatalog}" border="1">
                         <h:column>
                              <f:facet name="header">Video Catalog</f:facet>
                             <h:commandLink action="rootCatalog">
                                            <h:outputText value="#{videoType.name}"/>
                                            <f:param name="videoTypeId" value="#{videoType.id}"/>
                             </h:commandLink>
                         </h:column>
                   </h:dataTable>
              </h:form>
         </f:subview>The problem is dataTable in rootCatalogLink.jsp doesn't work.The commandLink in rootCatalogLink.jsp doesn't work. When I click the hyperLink, no action performed.
    If the change the include sequence to:
    <%@ include file="rootCatalogLink.jsp" %>
    <%@ include file="demandHistory.jsp" %>
    well, the commandLink in demandHistory.jsp doesn't.
    What's the problem?
    Thank you
    Message was edited by:
    zhlmmc
    Message was edited by:
    zhlmmc

  • How to print two sides with one page?

    I have a PDF that is one page long and I'd like to print the same thing twice (front and back) on one page. Can I do that?
    I've tried printing two copies with the printer set to double-sided, but it just printed two sheets with one side on each sheet.

    Well sure; Go back to the authoring application that created the documents and do a 2-UP page. Make the existingg page large enough to accomodate the extra content. Is that what you're asking or do you really mean print to a printer with a back up ? In that case just flip the page over and print page 2 on the other side.
    Or are we missing something ?

  • How to print two voucher in one page?

    HI,
    we want to print two voucher in one paper. what are the steps to be taken in sapscript? is it purely relted to SPAD?
    Regards,
    lijo Joseph

    hi joseph,
    i'm not sure how related this would be to your concern, but in my place, we've implemented that by sizing a voucher as half a page, so that when we print vouchers, the printer would know that one page is half of a regular page. SPAD is one place to fix, but the actual printing program and SAPScript was also customized so that it would send two vouchers for printing consecutively, and would fit in one page.
    ryan.

  • How to Print two layouts into one page

    Hi,
    I have developed a report by blocked ALV.In this report i have created two blocks.
    But when i give print out the two blocks are not printing continuously.It is displaying one block in one page and another block in anther page.
    And i need page number at end of each page.
    Please provide me solution for this.
    Thanks & Regards
    Venkatrami Reddy B

    OOPS – OO ABAP
    http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    Reports
    http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    Rewards if useful.........
    Minal

  • MERGE TWO SMARTFORMS ON ONE PAGE FRONT & BACK

    I have two smartforms FM_NAME2 and FM_NAME and I am able to print on front and back on one page using duplex, But this does not work on HP LaserJet 600 M602.  I installed Driver ZHPLJCM1 in SPAD for this printer but cannot get the two smartforms to print front and back instead it prints two pages.  This code does work on another printer but need it to work on the HP 600.  Below is the code, can anyone offer any ideas on what I need to do?  Thanks
             ls_output-tdfinal = ''.
            ls_output-tdimmed = ''.
                  CALL FUNCTION fm_name2
              EXPORTING
                control_parameters = gs_control_param
                output_options     = ls_output
                is_packlist_data   = i_packlist
                is_label_data      = ls_labdat
                user_settings      = space.
            ls_output-tdfinal = 'X'.
            ls_output-tdimmed = 'X'.
            CALL FUNCTION fm_name
              EXPORTING
                control_parameters = gs_control_param
                output_options     = ls_output
                is_packlist_data   = i_packlist
                zle_ps_header      = ls_header
                is_label_data      = ls_labdat
                user_settings      = space
              TABLES
                text_lines         = lt_text_lines
                vbpa               = lt_vbpa.

    Hi,
    All I know about SAP spool and printing ( but I'm by no means expert  and may be mistaken) tells me that the result on Xerox is an "accident" that shouldn't be happening ... I'd expect both device types to reset printer to default configuration after printing every form.
    What SAP device types are in use - Postscript or PCL? You could try to save the files sent to printer for analysis by enabling "Retain Print file" under Edit->Test tool in SPAD:
    and retrieving it in output request:
    That may help to understand what's going on and why the difference.
    cheers
    Jānis

  • Interaction between two iViews on one page

    Hi Everybody!
    I have have one question and if you think I am blind, then I apologize for this.
    I have two iViews on a page. The First (iView 1) is showing a Link List from KM
    and the second (iView 2) is showing the content of an external link.
    I would like to implement the following logic:
    When the user clicks on a Link in iView 1, the content should appear in iView 2.
    Can this be done with standard iView parameters or do I need to implement it on my own?
    Thanks a lot and kind regards
    Ingo

    hi
    KM navigation has a core par file in USR(installation) directory com.sap.km.navigation use it in IDE eclipse or nwds and alter the code using epcf  and rename it as your class  and redeploy it  and make it as a template.
    you can use this way otherwise please do see the proerties of KM navigation iview  which may suggest the way out.hope this helps you .while using the code you have to implement epcm.donavigate and paa parameters to other iview.please don,t forget to give points
    with regards
    subrato kundu

  • Two stylesheets in one page?

    Confused here lol.
    I want to create a page that has two stylesheets. One sheet is for the dropdown menu. The other is for a picture gallery. Looking at this page, it does seem as this can be achieved.How can this be done please?

    Thanks SnaK.
    Got that.
    Got two problems now though.  In the link below there's a dotted padded line if you click on the main image which I need to eliminate. I think this maybe some sort of container. Any idea how to reduce the white background as well please in the link below? Ideally Iwant it no larger than the gallery that it sits in. Been looking at the css gallerffic-2a sheet because I think there's a container surrounding the gallery that is the width of the wite background but still can't find out how to reduce it. Thanks for any help.
    http://bajor.servers.rbl-mer.misp.co.uk/~sunridge/photob.htm

  • Two comment box one page

    hey does anyone know how to create two comment box opposing each other i'm trying to make a debate site and i want to be able to have two comment box on that people see each other comment of depending on each each box you comment in and have it connect to facebook  so people can use there facebook account to sign in to comment

    This can now only be done in Edit mode.
    Wait, are you talking about two up on the screen at one time or two on a sinlge page in a book?
    If you want two on a page in a book, select the page and choose "Layout", then you can place up to 16 images depending on the Theme.

  • URGENT:Eventing between two iviews in one page

    Hi all,
    I have developed a model in visual composer which contains
    two iviews in a single page .The first iview contains the input fields and the data service.The second iview contains the output form.I should get the output in the second iview when i click a button or a field in the table.I am unable to pass the data from one iview to another iview during thios process.And also help me in navigating between two different pages and data transfer between them.Please help me regarding this issue either by sending any documents or by giving useful suggestions,
    Points will be rewarded for helpful answer.

    Hi,
    see the modeler's  Guide
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63f2052e-0c01-0010-b9a2-e1f7457a7fbe]
    For differenr layers creation
    Help .sap.com link  [http://help.sap.com/saphelp_nw04s/helpdata/en/ca/fbdb4269b2f340e10000000a1550b0/frameset.htm]
    Regards,
    Govindu

  • Two tableViews on one page - changing pages does not work

    I have a BSP page with two htmlb:tableViews :
    <htmlb:tableView id              = "tbl1"
                     table           = "<%= controller->r_model->t_table_1 %>"
                     headerVisible   = "TRUE"
                     footerVisible   = "TRUE"
                     headerText      = "bla bla"
                     iterator        = "<%= controller %>"
                     selectionMode   = "SINGLESELECT"
                     visibleRowCount = "<%= lv_visible_rows %>"
                     design          = "STANDARD"
                     keepSelectedRow = "TRUE"
                     keyColumn       = "ONR"
                     sort            = "<%= cl_htmlb_tableview=>c_sort_mode_server %>" />
    <htmlb:tableView id              = "tbl2"
                     table           = "<%= controller->r_model->t_table_2 %>"
                     headerVisible   = "TRUE"
                     footerVisible   = "TRUE"
                     headerText      = "bla bla 2"
                     iterator        = "<%= controller %>"
                     selectionMode   = "SINGLESELECT"
                     visibleRowCount = "<%= lv_visible_rows_2 %>"
                     design          = "STANDARD"
                     keepSelectedRow = "TRUE"
                     keyColumn       = "ONR"
                     sort            = "<%= cl_htmlb_tableview=>c_sort_mode_server %>" />
    Since visibleRowCount is 10 and the number of lines in the table is more than 10, a paginator (Step X of Y...) is shown.
    Now, if I click on the "Next Page" icon, table_1 moves from page 1 to page 2. If I then click on "Next Page" for table_2, table_2 changes to page 2, but table_1 changes back to page 1!
    Is that the standard behaviour? What can I do against it?

    Hi Sebastian,
    this is the code I used
    <htmlb:tableView id              = "t1"
                     table           = "<%= controller->t1 %>"
                     headerVisible   = "TRUE"
                     footerVisible   = "FALSE"
                     headerText      = "header 1"
                     emptyTableText  = "No Scenarios Found"
                     iterator        = "<%= controller %>"
                     selectionMode   = "SINGLESELECT"
                     visibleRowCount = "<%= lv_visible_rows %>"
                     design          = "STANDARD"
                     keepSelectedRow = "TRUE"
                     keyColumn       = "ONR"
                     sort            = "<%= cl_htmlb_tableview=>c_sort_mode_server %>" />
    <htmlb:tableView id              = "t2"
                     table           = "<%= controller->t2 %>"
                     headerVisible   = "TRUE"
                     footerVisible   = "FALSE"
                     headerText      = "header 2"
                     emptyTableText  = "No Scenarios Found"
                     iterator        = "<%= controller %>"
                     selectionMode   = "SINGLESELECT"
                     visibleRowCount = "<%= lv_visible_rows_planned %>"
                     design          = "STANDARD"
                     keepSelectedRow = "TRUE"
                     keyColumn       = "ONR"
                     sort            = "<%= cl_htmlb_tableview=>c_sort_mode_server %>" />
    The page is stateful.

  • How can I display one of two DataTables based on criteria

    I have two DataTables. One DataTable should be displayed or the other DataTable should be displayed in the same JSP based on some criteria. I wish I could put an if statement in the JSP page but how else can I do this? Is there a JSF tag that is like an if statement?

    Hi
    Try to use rendered attribute.
    Create boolean variable in your bean ie private boolean showTab1And in jsp type
    <h:dataTable id="tab1" value="..." var="..."  rendered="#{myBean.showTab1}">
    </h:dataTable>
    <h:dataTable id="tab2" value="..." var="..."  rendered="#{!myBean.showTab1}">
    </h:dataTable>if showTab1 is true, first dataTable shows, otherwise second dataTable is shown.
    Hope it helps
    Martin
    ps. You can combine value of rendered :
    rendered="#{myBean.boolVar1 && myBean.boolVar2 && !myBean.boolvar3}"

  • Two datatables in a form problem. Please help!

    Hi,
    I have two datatables in one form. Every row renders an input which is bound to a Double propery of a list item.
    I fill both tables with some data and in one input i enter a String. I submit the form, the conversion fails and I come back to the same page, but.. the OTHER datatable loses all the changes I made! Is this expected behavior? Please help..

    Ok, I have two lists in a bean:
    List<ValueHolder> list1;
    List<ValueHolder> list2;and a form:
    <h:form>
      <h:commandButton action="#{conversationBean.submit}" value="test"/>
      <h:dataTable  value="#{conversationBean.list1}" var="entry1" id="dt1" >
        <h:column>
          <h:inputText value="#{entry1.value}" id="entryId1" />
        </h:column>
      </h:dataTable>
      <h:dataTable  value="#{conversationBean.list2}" var="entry2" id="dt2" >
        <h:column>
          <h:inputText value="#{entry2.value}" id="entryId2" />
        </h:column>
      </h:dataTable>
    </h:form>Now let's say that first table contains values 1, 1, 1 and the second table 2, 2, 2 at the moment of rendering the page. I enter values 3, 3, 3 in first table and 4, 4, aaa in the second. I sumbit the form, and I'm experiencing postback to the same page because aaa can't be converted to Double. But the state of tables after the postback is: 1, 1, 1 in first table and 4, 4, aaa in the second one. Therefore, I have lost changes I made in the first table.
    Edited by: wilczarz on Oct 24, 2008 3:28 AM

Maybe you are looking for