Datatable with two rows per record

Hi,
I have a table I need to render in a jsf datatable.
The problem each record has two rows, just like this:
<tr class="resultsrow1">
<td rowspan="2"><strong>Life & Pensions Administrator</strong></td>
<td>Insurance</td>
<td>Contract</td>
<td>Cork</td>
<td>LPA/2910</td>
</tr>
<tr class="resultsrow1">
<td colspan="4"><u>Job Description:</u> Minimum 3 - 4 years experience required and progression towards qualification beneficial. Dublin 2, 4 and South Co. Dublin. Salary &euro; depends on experience.</td>
</tr>
How can I render this with a JSF datatable, or can I at all. I can't see a way anywhere and I can't seem to set the colspan anywhere?
Thanks in advance,
Keith

Yeah. Sadly, colspan and rowspan are missing from dataTable. Maybe the implications were just too hairy.
I see two possible solutions:
(1) outer, inner tables. Outer table contains your section name ("something something Administrator"?) in lefthand column, inner table in righthand column. Inner table contains two rows: firstHalfOfData, secondHalfOfData. Used fixed widths in CSS styles to make your columns line up across instances of the inner table.
(2) one table, rows composed of alternating firstHalf, secondHalf beans. Leftmost column of firstHalf row contains section name. Leftmost column of secondHalf row is blank.
I'll be interested to know how that turns out. :)
John.

Similar Messages

  • I want to create an ALV  with two row fields name

    Hi
    I want to create an ALV  with two row fields name. please suggest how to do it or send some sample code
    thanks

    Hi,
    see this link
    http://****************/Tutorials/ALV/ALVMainPage.htm
    http://www.alvrobot.com.ar/tutorial.php
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b09ac4d5-e3ad-2910-6a81-96d1b861928c
    http://abapprogramming.blogspot.com/2007/11/alv-check-boxes-sample-code.html
    REPORT zalv5 NO STANDARD PAGE HEADING.
    Description----
    TOPICS INTRODUCED:
    1. Learn about the u2018Standardu2019 PF-Status that comes as default.
    2. Exclude function codes from u2018Standardu2019 PF-Status and customize it.
    TYPE-POOLS: slis.
    DATA: BEGIN OF i_data OCCURS 0,
    qmnum LIKE qmel-qmnum,
    qmart LIKE qmel-qmart,
    qmtxt LIKE qmel-qmtxt,
    ws_row TYPE i,
    ws_char(5) TYPE c,
    chk,
    END OF i_data.
    DATA: report_id LIKE sy-repid.
    DATA: ws_title TYPE lvc_title VALUE 'An ALV Report'.
    DATA: i_layout TYPE slis_layout_alv.
    DATA: i_fieldcat TYPE slis_t_fieldcat_alv.
    DATA: i_events TYPE slis_t_event.
    DATA: i_header TYPE slis_t_listheader.
    DATA: i_extab TYPE slis_t_extab.
    SELECT qmnum
    qmart
    qmtxt
    INTO TABLE i_data
    FROM qmel
    WHERE qmnum <= '00030000010'. LOOP AT i_data. i_data-ws_row = sy-tabix. i_data-ws_char = 'AAAAA'. MODIFY i_data. ENDLOOP. report_id = sy-repid. PERFORM f1000_layout_init CHANGING i_layout. PERFORM f2000_fieldcat_init CHANGING i_fieldcat. PERFORM f3000_build_header CHANGING i_header. PERFORM f4000_events_init CHANGING i_events. CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = ' ' i_callback_program = report_id * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * i_structure_name = ' ' * I_BACKGROUND_ID = ' ' i_grid_title = ws_title * I_GRID_SETTINGS = is_layout = i_layout it_fieldcat = i_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = 'A' * IS_VARIANT = it_events = i_events * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IT_ALV_GRAPHICS = * IT_ADD_FIELDCAT = * IT_HYPERLINK = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = i_data EXCEPTIONS program_error = 1 OTHERS = 2 . IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    *& Form F1000_Layout_Init
    FORM f1000_layout_init USING i_layout TYPE slis_layout_alv.
    CLEAR i_layout.
    i_layout-colwidth_optimize = 'X'.
    i_layout-edit = 'X'.
    ENDFORM. " F1000_Layout_Init
    *& Form f2000_fieldcat_init
    FORM f2000_fieldcat_init CHANGING i_fieldcat TYPE slis_t_fieldcat_alv.
    DATA: line_fieldcat TYPE slis_fieldcat_alv.
    CLEAR line_fieldcat.
    line_fieldcat-fieldname = 'QMNUM'. " The field name and the table
    line_fieldcat-tabname = 'I_DATA'. " name are the two minimum req.
    line_fieldcat-key = 'X'. " Specifies the column as a key (Blue)
    line_fieldcat-seltext_m = 'Notification No.'. " Column Header
    APPEND line_fieldcat TO i_fieldcat.
    CLEAR line_fieldcat.
    line_fieldcat-fieldname = 'QMART'.
    line_fieldcat-ref_tabname = 'I_DATA'.
    line_fieldcat-hotspot = 'X'. " Shows the field as a hotspot.
    line_fieldcat-seltext_m = 'Notif Type'.
    APPEND line_fieldcat TO i_fieldcat.
    CLEAR line_fieldcat.
    line_fieldcat-fieldname = 'QMTXT'.
    line_fieldcat-tabname = 'I_DATA'.
    line_fieldcat-seltext_m = 'Description'.
    APPEND line_fieldcat TO i_fieldcat.
    CLEAR line_fieldcat.
    line_fieldcat-fieldname = 'WS_ROW'.
    line_fieldcat-tabname = 'I_DATA'.
    line_fieldcat-seltext_m = 'Row Number'.
    APPEND line_fieldcat TO i_fieldcat.
    CLEAR line_fieldcat.
    line_fieldcat-fieldname = 'WS_CHAR'.
    line_fieldcat-tabname = 'I_DATA'.
    line_fieldcat-seltext_l = 'Test Character Field'.
    line_fieldcat-datatype = 'CHAR'.
    line_fieldcat-outputlen = '15'. " You can specify the width of a
    APPEND line_fieldcat TO i_fieldcat. " column.
    CLEAR line_fieldcat.
    line_fieldcat-fieldname = 'CHK'.
    line_fieldcat-tabname = 'I_DATA'.
    line_fieldcat-seltext_l = 'Checkbox'.
    line_fieldcat-checkbox = 'X'. " Display this field as a checkbox
    line_fieldcat-edit = 'X'. " This option ensures that you can
    " edit the checkbox. Else it will
    " be protected.
    APPEND line_fieldcat TO i_fieldcat.
    ENDFORM. " f2000_fieldcat_init
    *& Form f3000_build_header
    FORM f3000_build_header USING i_header TYPE slis_t_listheader.
    DATA: gs_line TYPE slis_listheader.
    CLEAR gs_line.
    gs_line-typ = 'H'.
    gs_line-info = 'This is line of type HEADER'.
    APPEND gs_line TO i_header.
    CLEAR gs_line.
    gs_line-typ = 'S'.
    gs_line-key = 'STATUS 1'.
    gs_line-info = 'This is line of type STATUS'.
    APPEND gs_line TO i_header.
    gs_line-key = 'STATUS 2'.
    gs_line-info = 'This is also line of type STATUS'.
    APPEND gs_line TO i_header.
    CLEAR gs_line.
    gs_line-typ = 'A'.
    gs_line-info = 'This is line of type ACTION'.
    APPEND gs_line TO i_header.
    ENDFORM. " f3000_build_header
    *& Form f4000_events_init
    FORM f4000_events_init CHANGING i_events TYPE slis_t_event.
    DATA: line_event TYPE slis_alv_event.
    CLEAR line_event.
    line_event-name = 'TOP_OF_PAGE'.
    line_event-form = 'F4100_TOP_OF_PAGE'.
    APPEND line_event TO i_events.
    CLEAR line_event.
    line_event-name = 'PF_STATUS_SET'.
    line_event-form = 'F4200_PF_STATUS_SET'.
    APPEND line_event TO i_events.
    ENDFORM. " f3000_events_init
    FORM F4100_TOP_OF_PAGE *
    FORM f4100_top_of_page.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
    it_list_commentary = i_header.
    ENDFORM.
    FORM F4200_PF_STATUS_SET *
    FORM f4200_pf_status_set USING i_extab TYPE slis_t_extab.
    REFRESH i_extab.
    PERFORM f4210_exclude_fcodes CHANGING i_extab.
    SET PF-STATUS 'STANDARD' OF PROGRAM 'SAPLSALV' EXCLUDING i_extab.
    ENDFORM.
    *& Form f4210_exclude_fcodes
    FORM f4210_exclude_fcodes USING i_extab TYPE slis_t_extab.
    DATA: ws_fcode TYPE slis_extab.
    CLEAR ws_fcode.
    ws_fcode = '&EB9'. " Call up Report.
    APPEND ws_fcode TO i_extab.
    ws_fcode = '&ABC'. " ABC Analysis.
    APPEND ws_fcode TO i_extab.
    ws_fcode = '&NFO'. " Info Select.
    APPEND ws_fcode TO i_extab.
    ws_fcode = '&LFO'. " Information.
    APPEND ws_fcode TO i_extab.
    ENDFORM. " f4210_exclude_fcodes
    thanks
    karthik
    reward me if usefull

  • How to create a custom layout with two rows

    hi ,
       i have a requirement of creating the portal page layout with two rows. First row has one container with 100% width and second row has 3 columns (30:40:30).
    How to create the layout?
    what are the modification in portapp.xml?
    Thanks and regards,
    Saravanan

    Hi,
    Check this:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/efa44d27a21a7de10000000a422035/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/efbac120711a71e10000000a422035/content.htm
    Here is example portalapp.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <!THIS FILE IS A COPY OF THE ORIGINAL VERSION STORED IN THE PCD. PLEASE DO NOT CHANGE IT!>
      <application-config>
        <property name="Vendor" value="sap.com"/>
        <property name="SecurityArea" value="NetWeaver.Portal"/>
        <property name="SharingReference" value="com.sap.portal.htmlb,com.sap.portal.useragent,com.sap.portal.pagebuilder"/>
      </application-config>
      <components>
        <component name="fullWidth">
          <component-config>
            <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>
            <property name="ResourceBundleName" value="pagebuilder_nls"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="ComponentType" value="com.sapportals.portal.layout"/>
            <property name="com.sap.portal.pcm.Title" value="1 Column (Full Width)"/>
            <property name="com.sap.portal.pcm.Description" value="Layout displaying one full-width column"/>
            <property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>
            <property name="com.sap.portal.reserved.layout.TagLibHtmlb" value="/SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld "/>
            <property name="com.sap.portal.reserved.layout.TemplateFile" value="fullWidth.jsp"/>
            <property name="AuthScheme" value="anonymous"/>
            <property name="com.sap.portal.reserved.layout.Cont1" value="column1">
              <property name="plainDescription" value="Column 1"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConF"/>
            </property>
          </component-profile>
        </component>
        <component name="light_fullWidth">
          <component-config>
            <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>
            <property name="ResourceBundleName" value="pagebuilder_nls"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="EPCFLevel" value="0"/>
            <property name="ComponentType" value="com.sapportals.portal.layout"/>
            <property name="com.sap.portal.pcm.Title" value="Light 1 Column (Full Width)"/>
            <property name="com.sap.portal.pcm.Description" value="Layout displaying one full-width column"/>
            <property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>
            <property name="com.sap.portal.reserved.layout.TemplateFile" value="light_fullWidth.jsp"/>
            <property name="AuthScheme" value="anonymous"/>
            <property name="com.sap.portal.reserved.layout.Cont1" value="column1">
              <property name="plainDescription" value="Column 1"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConF"/>
            </property>
          </component-profile>
        </component>
        <component name="narrowWide">
          <component-config>
            <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>
            <property name="ResourceBundleName" value="pagebuilder_nls"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="ComponentType" value="com.sapportals.portal.layout"/>
            <property name="com.sap.portal.pcm.Title" value="2 Columns (Narrow:Wide)"/>
            <property name="com.sap.portal.pcm.Description" value="Two-column layout displaying the narrow column on the left"/>
            <property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>
            <property name="com.sap.portal.reserved.layout.TagLibHtmlb" value="/SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld "/>
            <property name="com.sap.portal.reserved.layout.TemplateFile" value="narrowWide.jsp"/>
            <property name="AuthScheme" value="anonymous"/>
            <property name="com.sap.portal.reserved.layout.Cont1" value="column1">
              <property name="plainDescription" value="Column 1"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConL"/>
            </property>
            <property name="com.sap.portal.reserved.layout.Cont2" value="column2">
              <property name="plainDescription" value="Column 2"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConR"/>
            </property>
          </component-profile>
        </component>
        <component name="light_narrowWide">
          <component-config>
            <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>
            <property name="ResourceBundleName" value="pagebuilder_nls"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="EPCFLevel" value="0"/>
            <property name="ComponentType" value="com.sapportals.portal.layout"/>
            <property name="com.sap.portal.pcm.Title" value="Light 2 Columns (Narrow:Wide)"/>
            <property name="com.sap.portal.pcm.Description" value="Two-column layout displaying the narrow column on the left"/>
            <property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>
            <property name="com.sap.portal.reserved.layout.TemplateFile" value="light_narrowWide.jsp"/>
            <property name="AuthScheme" value="anonymous"/>
            <property name="com.sap.portal.reserved.layout.Cont1" value="column1">
              <property name="plainDescription" value="Column 1"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConL"/>
            </property>
            <property name="com.sap.portal.reserved.layout.Cont2" value="column2">
              <property name="plainDescription" value="Column 2"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConR"/>
            </property>
          </component-profile>
        </component>
        <component name="wideNarrow">
          <component-config>
            <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>
            <property name="ResourceBundleName" value="pagebuilder_nls"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="ComponentType" value="com.sapportals.portal.layout"/>
            <property name="com.sap.portal.pcm.Title" value="2 Columns (Wide:Narrow)"/>
            <property name="com.sap.portal.pcm.Description" value="Two-column layout displaying the narrow column on the right"/>
            <property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>
            <property name="com.sap.portal.reserved.layout.TagLibHtmlb" value="/SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld "/>
            <property name="com.sap.portal.reserved.layout.TemplateFile" value="wideNarrow.jsp"/>
            <property name="AuthScheme" value="anonymous"/>
            <property name="com.sap.portal.reserved.layout.Cont1" value="column1">
              <property name="plainDescription" value="Column 1"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConL"/>
            </property>
            <property name="com.sap.portal.reserved.layout.Cont2" value="column2">
              <property name="plainDescription" value="Column 2"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConR"/>
            </property>
          </component-profile>
        </component>
        <component name="light_wideNarrow">
          <component-config>
            <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>
            <property name="ResourceBundleName" value="pagebuilder_nls"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="EPCFLevel" value="0"/>
            <property name="ComponentType" value="com.sapportals.portal.layout"/>
            <property name="com.sap.portal.pcm.Title" value="Light 2 Columns (Wide:Narrow)"/>
            <property name="com.sap.portal.pcm.Description" value="Two-column layout displaying the narrow column on the right"/>
            <property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>
            <property name="com.sap.portal.reserved.layout.TemplateFile" value="light_wideNarrow.jsp"/>
            <property name="AuthScheme" value="anonymous"/>
            <property name="com.sap.portal.reserved.layout.Cont1" value="column1">
              <property name="plainDescription" value="Column 1"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConL"/>
            </property>
            <property name="com.sap.portal.reserved.layout.Cont2" value="column2">
              <property name="plainDescription" value="Column 2"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConR"/>
            </property>
          </component-profile>
        </component>
        <component name="equalWidths">
          <component-config>
            <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>
            <property name="ResourceBundleName" value="pagebuilder_nls"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="ComponentType" value="com.sapportals.portal.layout"/>
            <property name="com.sap.portal.pcm.Title" value="2 Columns (Equal Widths)"/>
            <property name="com.sap.portal.pcm.Description" value="Layout displaying two equal-width columns"/>
            <property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>
            <property name="com.sap.portal.reserved.layout.TagLibHtmlb" value="/SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld "/>
            <property name="com.sap.portal.reserved.layout.TemplateFile" value="equalWidths.jsp"/>
            <property name="AuthScheme" value="anonymous"/>
            <property name="com.sap.portal.reserved.layout.Cont1" value="column1">
              <property name="plainDescription" value="Column 1"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConL"/>
            </property>
            <property name="com.sap.portal.reserved.layout.Cont2" value="column2">
              <property name="plainDescription" value="Column 2"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConR"/>
            </property>
          </component-profile>
        </component>
        <component name="light_equalWidths">
          <component-config>
            <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>
            <property name="ResourceBundleName" value="pagebuilder_nls"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="EPCFLevel" value="0"/>
            <property name="ComponentType" value="com.sapportals.portal.layout"/>
            <property name="com.sap.portal.pcm.Title" value="Light 2 Columns (Equal Widths)"/>
            <property name="com.sap.portal.pcm.Description" value="Layout displaying two equal-width columns"/>
            <property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>
            <property name="com.sap.portal.reserved.layout.TemplateFile" value="light_equalWidths.jsp"/>
            <property name="AuthScheme" value="anonymous"/>
            <property name="com.sap.portal.reserved.layout.Cont1" value="column1">
              <property name="plainDescription" value="Column 1"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConL"/>
            </property>
            <property name="com.sap.portal.reserved.layout.Cont2" value="column2">
              <property name="plainDescription" value="Column 2"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConR"/>
            </property>
          </component-profile>
        </component>
        <component name="narrowWideNarrow">
          <component-config>
            <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>
            <property name="ResourceBundleName" value="pagebuilder_nls"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="ComponentType" value="com.sapportals.portal.layout"/>
            <property name="com.sap.portal.pcm.Title" value="3 Columns (Narrow:Wide:Narrow)"/>
            <property name="com.sap.portal.pcm.Description" value="Three columns displayed in a narrow:wide:narrow layout"/>
            <property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>
            <property name="com.sap.portal.reserved.layout.TagLibHtmlb" value="/SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld "/>
            <property name="com.sap.portal.reserved.layout.TemplateFile" value="narrowWideNarrow.jsp"/>
            <property name="AuthScheme" value="anonymous"/>
            <property name="com.sap.portal.reserved.layout.Cont1" value="column1">
              <property name="plainDescription" value="Column 1"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConL"/>
            </property>
            <property name="com.sap.portal.reserved.layout.Cont2" value="column2">
              <property name="plainDescription" value="Column 2"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConM"/>
            </property>
            <property name="com.sap.portal.reserved.layout.Cont3" value="column3">
              <property name="plainDescription" value="Column 3"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConR"/>
            </property>
          </component-profile>
        </component>
        <component name="light_narrowWideNarrow">
          <component-config>
            <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>
            <property name="ResourceBundleName" value="pagebuilder_nls"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="EPCFLevel" value="0"/>
            <property name="ComponentType" value="com.sapportals.portal.layout"/>
            <property name="com.sap.portal.pcm.Title" value="Light 3 Columns (Narrow:Wide:Narrow)"/>
            <property name="com.sap.portal.pcm.Description" value="Three columns displayed in a narrow:wide:narrow layout"/>
            <property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>
            <property name="com.sap.portal.reserved.layout.TemplateFile" value="light_narrowWideNarrow.jsp"/>
            <property name="AuthScheme" value="anonymous"/>
            <property name="com.sap.portal.reserved.layout.Cont1" value="column1">
              <property name="plainDescription" value="Column 1"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConL"/>
            </property>
            <property name="com.sap.portal.reserved.layout.Cont2" value="column2">
              <property name="plainDescription" value="Column 2"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConM"/>
            </property>
            <property name="com.sap.portal.reserved.layout.Cont3" value="column3">
              <property name="plainDescription" value="Column 3"/>
              <property name="orientation" value="vertical"/>
              <property name="designClass" value="prtlPageConR"/>
            </property>
          </component-profile>
        </component>
      </components>
      <services/>
    </application>
    Greetings,
    Praveen Gudapati

  • JTabbedPane with two rows of tabs

    Hi,
    I need to create a JTabbedPane with layout policy as SCROLL_TAB_LAYOUT with two rows of tabs. The first level will have say 10 tabs and the all the remaining tabs (say 20) will be added in the next level. Please help me out on this, to how to proceed with it?
    Edited by: Soundarapandian on Nov 25, 2009 3:10 PM

    Soundarapandian wrote:
    I need to create a JTabbedPane with layout policy as SCROLL_TAB_LAYOUT with two rows of tabs. The first level will have say 10 tabs and the all the remaining tabs (say 20) will be added in the next level. Please help me out on this, to how to proceed with it?Try this (imho better) approach:
    create a new tabbedpane for each level and add each of these tabbedpanes to an upperlevel tabbedpane, thus allowing you to pre-select the desired level.

  • Designing a marketing postcard with two postcards per page.

    Designing a marketing postcard with two postcards per page. 
    Is there a way to enter text and graphics in postcard number one and have it appear as typed in postcard number two?

    Toddr wrote:
    Sure - I want to add text and graphics in one section of the document and duplicate that text or graphic in another section without having to copy and paste.
    Thanks.
    Todd
    Toddr,
    Create a two-cell table. Type your text into the first cell and in the second cell type =A1
    Jerry

  • Parse column with csv string into table with one row per item

    I have a table (which has less than 100 rows) - ifs_tables that has two columns: localtable and Fields. Localtable is a table name and Fields contains a subset of columns from that table. Fields is a comma delimited list:  'Fname,Lname'. It looks like
    this:
    localtable         fields
    =========  =============
    customertable   fname,lname
    accounttable     type,accountnumber
    Want to end up with a new table that has one row per column. It should look like this:
    TableName             ColumnName
    ============ ==========
    CustomerTable        Fname
    CustomerTable        Lname
    AccountTable          Type
    AccountTable          AccountNumber
    Tried this code but have two issues (1) My query using the Splitfields functions gets "Subquery returned more than 1 value" (2) some of my Fields has hundreds of collumns in the commas delimited list. It will returns "Msg 530, Level 16, State
    1, Line 8. The statement terminated. The maximum recursion 100 has been exhausted before statement completion.maxrecursion greater than 100." Tried adding OPTION (maxrecursion 0) in the Split function on the SELECT statment that calls the CTE, but
    the syntax is not correct.
    Can someone help me to get this sorted out? Thanks
    DROP FUNCTION [dbo].[SplitFields]
    go
    CREATE FUNCTION [dbo].[SplitFields]
    @String NVARCHAR(4000),
    @Delimiter NCHAR(1)
    RETURNS TABLE
    AS
    RETURN
    WITH Split(stpos,endpos)
    AS(
    SELECT 0 AS stpos, CHARINDEX(@Delimiter,@String) AS endpos
    UNION ALL
    SELECT endpos+1, CHARINDEX(@Delimiter,@String,endpos+1)
    FROM Split
    WHERE endpos > 0
    SELECT 'Id' = ROW_NUMBER() OVER (ORDER BY (SELECT 1)),
    'Data' = SUBSTRING(@String,stpos,COALESCE(NULLIF(endpos,0),LEN(@String)+1)-stpos)
    FROM Split --OPTION ( maxrecursion 0);
    GO
    IF OBJECT_ID('tempdb..#ifs_tables') IS NOT NULL DROP TABLE #ifs_tables
    SELECT *
    INTO #ifs_tables
    FROM (
    SELECT 'CustomerTable' , 'Lname,Fname' UNION ALL
    SELECT 'AccountTable' , 'Type,AccountNumber'
    ) d (dLocalTable,dFields)
    IF OBJECT_ID('tempdb..#tempFieldsCheck') IS NOT NULL DROP TABLE #tempFieldsCheck
    SELECT * INTO #tempFieldsCheck
    FROM
    ( --SELECT dLocaltable, dFields from #ifs_tables
    SELECT dLocaltable, (SELECT [Data] FROM dbo.SplitFields(dFields, ',') ) from #ifs_tables
    ) t (tLocalTable, tfields) -- as Data FROM #ifs_tables
    SELECT * FROM #tempFieldsCheck

    Try this
    DECLARE @DemoTable table
    localtable char(100),
    fields varchar(200)
    INSERT INTO @DemoTable values('customertable','fname,lname')
    INSERT INTO @DemoTable values('accounttable','type,accountnumber')
    select * from @DemoTable
    SELECT A.localtable ,
    Split.a.value('.', 'VARCHAR(100)') AS Dept
    FROM (SELECT localtable,
    CAST ('<M>' + REPLACE(fields, ',', '</M><M>') + '</M>' AS XML) AS String
    FROM @DemoTable) AS A CROSS APPLY String.nodes ('/M') AS Split(a);
    Refer:-https://sqlpowershell.wordpress.com/2015/01/09/sql-split-delimited-columns-using-xml-or-udf-function/
    CREATE FUNCTION ParseValues
    (@String varchar(8000), @Delimiter varchar(10) )
    RETURNS @RESULTS TABLE (ID int identity(1,1), Val varchar(8000))
    AS
    BEGIN
    DECLARE @Value varchar(100)
    WHILE @String is not null
    BEGIN
    SELECT @Value=CASE WHEN PATINDEX('%'+@Delimiter+'%',@String) >0 THEN LEFT(@String,PATINDEX('%'+@Delimiter+'%',@String)-1) ELSE @String END, @String=CASE WHEN PATINDEX('%'+@Delimiter+'%',@String) >0 THEN SUBSTRING(@String,PATINDEX('%'+@Delimiter+'%',@String)+LEN(@Delimiter),LEN(@String)) ELSE NULL END
    INSERT INTO @RESULTS (Val)
    SELECT @Value
    END
    RETURN
    END
    SELECT localtable ,f.Val
    FROM @DemoTable t
    CROSS APPLY dbo.ParseValues(t.fields,',')f
    --Prashanth

  • How do I print front and back with two pages per sheet? (OSX Lion)

    I can't find a simple solution to my situation...
    I'm using Max OSX Lion 10.7.3 and Adobe Reader X 10.1.2. 
    I want print two PDF pages onto one printed sheet, and I want to print front and back.  When I go to the print settings and select two pages per printed sheet, the sample window shows me what I'm looking for.  But when I tell it to print odd only or even only, it changes the print selection.  Here's what happens...
    Let's say I have a PDF document that is 20 pages long.  When I tell it to print two PDF pages per sheet, it shows me that the first pages printed will be PDF pages 1 and 2.  When I tell it that I want it to print odd pages only, it tells me that the first printed page will contain PDF pages 1 and 3.
    In other words, Adobe Reader wants to print the odd PDF pages instead of the odd pages of the printed document (PDF pages 1 and 2, then 5 and 6, then 9 and 10, so on).
    So that I'm being clear...
    This [  ] is a printed page.  The numbers inside the brackets represent the page numbers in the PDF document...
    What I want to print is this...
      FRONT   ||  BACK
    [1,2]    ||  [3,4]
    [5,6]    ||  [7,8]
    [9,10]   ||  [11,12]
    [13,14]  ||  [15,16]
      [17,18]  ||  [19,20]
    What would end up printing is this...
      FRONT   ||  BACK
      [1,3]    ||  [2,4]
      [5,7]    ||  [6,8]
      [9,11]   ||  [10,12]
      [13,15]  ||  [14,16]
      [17,19]  ||  [18,20]
    Aside from telling it exactly which PDF page numbers to print (this would be a taxing job because I'm working with a 273 page document), is there an easy and simple way to print how I'd like?

    I would suggest to use Adobe Ilustrator. Also I get an error message when I try tp access the sample document.
    You can download Illustrator using Adobe Creative download - http://www.adobe.com/products/illustrator.html
    ~Deepak

  • Creating email attachment with 255 char per record

    Hi,
    We want to generate an email with excel attachment through ABAP program. To do the same, we are trying to use FM 'SO_DOCUMENT_SEND_API1'.
    It looks like it only allows 255 characters per record however we want include upto 700 chracters per record. Does anyone know a way out to overcome this problem?
    Note - We do not want to wrap the text to next line.
    Thank you

    Hi:
    I would advice to make the copy of this function module SO_DOCUMENT_SEND_API1 and change the  packing_list-doc_size = '700'..
    Hopefully it would be helpful to solve the problem.
    Regards
    Shashi

  • Tabular report, how to split row into two lines per record

    Hi, I have a tabular report based on a collection. The collection has 15 fields and appears horizontally across the screen. I would like to have a break after the 5th column so that each row is on two lines instead of one. Is this possible...any information would be helpful.
    a shortened query is: and I would like the break to be between c028 and c029.
    thanks
    Karen
    Select apex_item.select_list_from_lov_xl
    (28,
    c028,
    'GEARS',
    'style="width:200px;background-color:#FBEC5D; "'
    || 'onchange="f_set_casc_gear(this,f29_'
    || LPAD (seq_id, 4, '0')
    || ')"',
    'YES',
    '0',
    '- Select Gear -',
    'f28_' || LPAD (seq_id, 4, '0'),
    NULL,
    'NO'
    ) gear_code,
    apex_item.select_list_from_query(29,
    c029,
    'select lma_desc e, lma_code r
    from lobster_mgmt_area
    where 1 in (select 1 from gears where gear_code = '
    ||nvl(c028,0)
    ||' AND (type_code in (''005'') and category_code in (''160'')) OR ('
    ||nvl(c028,0)
    ||' in (''130'')) ) order by lma_code ',
    'style="width:75px"',
    'YES',
    '0',
    '- Select -',
    'f29_' || LPAD (seq_id, 4, '0'),
    NULL,
    'NO') lma_code,
    apex_item.text
    (30,
    c030,
    6,
    NULL,
    'style="width:50px;background-color:#FBEC5D;"'
    ) gear_quantity
    from collections where collection_name = 'EFFORT_C'

    Hello Karen,
    >> and each field needs to be updateble ( concatenating two fields does not allow for that).
    Did you notice the ‘&lt;br />’ component, as part of the columns concatenations?
    The following example is using the same principle – every two updatable column, from the employees table, are sharing the same tabular form row - http://htmldb.oracle.com/pls/otn/f?p=22710:420 . The report query is:
    select apex_item.text(10,first_name)||'<br />'||apex_item.text(11,last_name) col01,
    apex_item.text(12,phone_number)||'<br />'||apex_item.text(13,email) col02,
    apex_item.text(14,salary)||'<br />'||apex_item.text(15,commission) col03
    from employeesThe same principle is being used to define custom headings.
    Hope this time it will be more clear.
    Regards,
    Arie.

  • Printing document as a "book" with two images per page

    I am a new user and am struggling to take a 100 page text document with imbedded photos and print it like a "book." What I'd like to do is print using 2 images to a page (the same image) and duplexing, so that I essentially print two "books" that are duplexed (I will then cut the document in half) and then bind. I have not been able to figure out how to print 2 page 1's, then two page two's, etc., as a single print job. Can anyone help me?

    Hi,
    Not sure if I fully understand what you are trying to achieve, but this may help.
    When you are in the book layout page over to the left you will see thumb nail images of your book layout. Starting with the cover and then inside cover and pages etc etc. Below this to the left are a row of icons, choose the plus "+" then scroll down to the bottom where you get a choice of "Duplicate page." Hope that helps?

  • UNPIVOT with two set of records

    Hi Gurus,
    I am using Oracle 11g Release 11.2.0.1.0
    OS: windows
    Table Structure
    EMPL0YEE_ROLE
    employee_id number
    ROLE_1 VARCHAR2(10)
    ROLE_2 VARCHAR2(10)
    ROLE_3 VARCHAR2(10)
    ROLE_4 VARCHAR2(10)
    ROLE_5 VARCHAR2(10)
    MANAGER_1 VARCHAR2(10)
    MANAGER_2 VARCHAR2(10)
    MANAGER_3 VARCHAR2(10)
    MANAGER_4 VARCHAR2(10)
    MANAGER_5 VARCHAR2(10)
    DATA
    EMPLOYEE_ID MANAGER_1 MANAGER_2 MANAGER_3 MANAGER_4 MANAGER_5 ROLE_1 ROLE_2 ROLE_3 ROLE_4 ROLE_5
    1345 John Mike Ram Kumar DBA Sql Dev PLSQL Admin
    1 rows selected
    I want a output like this
    EMPLOYEE_ID MANAGER ROLE1
    1345 John DBA
    1345 Mike SQL DEV
    1345 Ram PLSQL
    1345 Kumar Admin
    I have tried with UNPIVOT
    I am able to get manager and role in two different queries
    SELECT
    EMPLOYEE_ID
    ,MANAGER
    FROM
    EMPLOYEE_ROLE
    UNPIVOT( MANAGER
    FOR col1
    in (MANAGER_1,
    MANAGER_2,
    MANAGER_3,
    MANAGER_4,
    MANAGER_5
    EMPLOYEE_ID            MANAGER   
    1345                   John      
    1345                   Mike      
    1345                   Ram       
    1345                   Kumar     
    4 rows selected
    SELECT
    EMPLOYEE_ID
    ,ROLE1
    FROM
    EMPLOYEE_ROLE
    UNPIVOT( ROLE1
    FOR col1
    in (ROLE_1,
    ROLE_2,
    ROLE_3,
    ROLE_4,
    ROLE_5
    EMPLOYEE_ID            ROLE1     
    1345                   DBA       
    1345                   Sql Dev   
    1345                   PLSQL     
    1345                   Admin  
    4 rows selected
    WHEN I tried adding 2 UNPIVOT clauses i got
    SELECT
    EMPLOYEE_ID
    ,ROLE1
    ,MANAGER
    FROM
    EMPLOYEE_ROLE
    UNPIVOT( ROLE1
    FOR col1
    in (ROLE_1,
    ROLE_2,
    ROLE_3,
    ROLE_4,
    ROLE_5
    UNPIVOT( MANAGER
    FOR col2
    in (MANAGER_1,
    MANAGER_2,
    MANAGER_3,
    MANAGER_4,
    MANAGER_5
    it is giving me cartesian product as given below
    EMPLOYEE_ID            ROLE1      MANAGER    
    1345                   DBA        John      
    1345                   DBA        Mike      
    1345                   DBA        Ram       
    1345                   DBA        Kumar     
    1345                   Sql Dev    John      
    1345                   Sql Dev    Mike      
    1345                   Sql Dev    Ram       
    1345                   Sql Dev    Kumar     
    1345                   PLSQL      John      
    1345                   PLSQL      Mike      
    1345                   PLSQL      Ram       
    1345                   PLSQL      Kumar     
    1345                   Admin      John      
    1345                   Admin      Mike      
    1345                   Admin      Ram       
    1345                   Admin      Kumar     
    16 rows selectedIs it possible to add two unpivots in a single UNPIVOT query.
    Any help is appreciated.
    Thanks!
    Regards,
    Gatha
    Edited by: Gatha on Sep 27, 2011 1:50 PM
    Edited by: Gatha on Sep 27, 2011 1:51 PM
    Edited by: Gatha on Sep 27, 2011 1:53 PM
    Edited by: Gatha on Sep 27, 2011 2:40 PM

    You can use an object so that the couple (MANAGER, ROLE) is considered as a single column to unpivot :
    SQL> create or replace type role_manager_obj as object (manager varchar2(10), role varchar2(10))
      2  /
    Type created
    SQL> WITH emp AS (
      2    SELECT employee_id
      3         , case when manager_1 is not null then role_manager_obj(manager_1, role_1) end as rm1
      4         , case when manager_2 is not null then role_manager_obj(manager_2, role_2) end as rm2
      5         , case when manager_3 is not null then role_manager_obj(manager_3, role_3) end as rm3
      6         , case when manager_4 is not null then role_manager_obj(manager_4, role_4) end as rm4
      7         , case when manager_5 is not null then role_manager_obj(manager_5, role_5) end as rm5
      8    FROM employee_role
      9  )
    10  SELECT employee_id
    11       , treat(rm_obj as role_manager_obj).manager as manager
    12       , treat(rm_obj as role_manager_obj).role as role
    13  FROM emp
    14  UNPIVOT(rm_obj FOR rm IN (rm1, rm2, rm3, rm4, rm5))
    15  ;
    EMPLOYEE_ID MANAGER    ROLE
           1345 John       DBA
           1345 Mike       SQL DEV
           1345 Ram        PLSQL
           1345 Kumar      Admin
    Or, doing it the old way, with a cross join :
    SQL> WITH five_rows AS ( SELECT level i FROM dual CONNECT BY level <= 5 )
      2  SELECT employee_id
      3       , manager
      4       , role
      5  FROM (
      6    SELECT e.employee_id
      7         , case t.i when 1 then manager_1
      8                    when 2 then manager_2
      9                    when 3 then manager_3
    10                    when 4 then manager_4
    11                    when 5 then manager_5
    12           end as manager
    13         , case t.i when 1 then role_1
    14                    when 2 then role_2
    15                    when 3 then role_3
    16                    when 4 then role_4
    17                    when 5 then role_5
    18           end as role
    19    FROM employee_role e
    20         CROSS JOIN five_rows t
    21  )
    22  WHERE manager IS NOT NULL
    23  ;
    EMPLOYEE_ID MANAGER                                  ROLE
           1345 John                                     DBA
           1345 Mike                                     SQL DEV
           1345 Ram                                      PLSQL
           1345 Kumar                                    Admin
    Edited by: odie_63 on 27 sept. 2011 13:04

  • Data with two rows in a single column

    I have been working on a report with the customer due amounts shown in bucketed columns eg 1-30 , 31-60 etc for each Customer,
    so for each column I want to show an additional row with the % of the due amounts for each bucketed column.
    . The format of report should look like below in pivot/table view
    |Customer| |Due1-30 | Due31-60 | Due60+ |     Total |
    |XYZ | |     3000 |     2000 |     5000 |     10000 |
    |      |%Due |     30% |     20% | 50% |     100% |
    ABC….                         
    I have to get the percentages on the measure values in a separate row(not as a seperate column). Could you please help me how to get result like the format what I have shown
    Thanks,
    BP
    Edited by: user8116383 on May 6, 2011 8:55 AM

    Hi
    This can be achievable by using Pivot view.
    1.In Columns field place the customer and place the measure lables in the rows field and the measure column in measure field.
    2.Duplicate the measure column and name it as %Due and click more options on this duplicated column and click shown data as -> percent of -> Row
    Thanks
    Diney

  • A MVC datatable with dropdown filtering per column search with pagination example?

    Hello All,
    Just starting out a big project with MVC 3 and I've been searching for a while for any step by step example of creatintg a dynamic/ajax datatable that has real time filtering of the result set via dropdowns for mvc?  Is there a ready made solution already
    available for the MVC framework?
    Thanks,

    Hello,
    Thank you for your post.
    Glad to see this issue has been resolved and thank you for sharing your solutions & experience here. It will be very beneficial for other community members who have similar questions.
    Your issue is out of support range of VS General Question forum which mainly discusses
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    If you have issues about ASP.NET MVC app in the future, I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/
     for better solution and support.
    Best regards,
    Amanda Zhu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Drill down with two row expansions

    Hi,
    I am expanding rows by two dimensions: ProfitCenter and Account.
    I have it set so it expands like this:
       ProfitCenter1    Account1
       ProfitCenter1    Account2
       ProfitCenter1    Account3
       ProfitCenter2    Account1
       ProfitCenter2    Account2
       ProfitCenter2    Account3
    I want to drill down on ProfitCenter1 and get its children, and for each child, I want to have Account1,2,3.
       ProfitCenter1             Account1
       ProfitCenter1             Account2
       ProfitCenter1             Account3
         ProfitCenter1.1        Account1
         ProfitCenter1.1        Account2
         ProfitCenter1.1        Account3
         ProfitCenter1.2        Account1
         ProfitCenter1.2        Account2
         ProfitCenter1.2        Account3
       ProfitCenter2             Account1
       ProfitCenter2             Account2
       ProfitCenter2             Account3
    Is this possible to do it through DrillDown?  I would like to avoid 'Insert Members' if possible.
    Thanks very much,
    Michelle

    Hi,
    If all of them have a common Porperty, you can mention
    PROPERTY NAME = "Value"
    You can use the following keywords or combination of them to achieve your requirement
    MEMBERS, BASMEMBERS, BAS, All, DEP, ALL, SELF
    Hope this helps.

  • ALV List with two rows of heading

    Hi All,
    I am working on ALV list display. I have six columns of heading in my ALV. Out of the six columns i need to display five columns in the first row and the sixth heading will be in the second row first column.
    Ex:
    A  B  C D  E F
    G
    I need to display a row of values for Column G for every row of A,B,C,D,E,F.
    How is this possible with ALV list display.
    Ex.
    A     B     C     D      E     F
    G
    v1A  v1B  v1C  v1D   v1E  v1F
    v1G
    v2A  v2B  v2C  v2D   v2E  v2F
    v2G
    v3A  v3B  v3C  v3D   v3E  v3F
    v3G
    Looking forward to ur reply.
    Regards
    Ramanan

    Hi,
    You can use a hierachial list to display your output as required.
    You can check the example program BCALV_TEST_HIERSEQ_LIST.
    Regards,
    Ankur Parab
    Edited by: Ankur Parab on Jun 15, 2009 12:33 PM

Maybe you are looking for

  • Need help fast...fx5600-td256

    ok i bought this card and its only registering as a 128 mb card but its the fx5600-td256 card in the dxdiag it says 128 in the properties screen it says 128mb what gives.this is the second card that did this i thought the first one was bad i called m

  • Accessing the device discovery options for bluetooth in snow leopard?

    This menu linked below. http://www.gamermade.com/images/toastman/macx_anydevice.jpg I cannot find this screen in the setup assistant anywhere and I NEED it to set up my Microsoft Mouse 8000. Instead of this screen it automatically grabs detected devi

  • Purchased version hijacked by trial version?

    I bought and installed CS6 last week.  All worked well.  Now it's asking if I want to register my trial version every time I open a program.  I've never even downloaded a trial version.  How do I fix this?

  • Windows 8.1 Ente. KMS client

    Hi, I need to download windows 8.1 enterprise KMS client. Is it available to download? Win 8.1 Evaluation available on TechNet is retail channel. N.A.Malik

  • Access to plugin metadata from publish deletion callback

    I'm using publishServiceProvider.deletePhotosFromPublishedCollection() to hook into publish deletions and ran into a bit of a snag.  I'm also using photo:setPropertyForPlugin() to set plugin and LrPhoto specific metadata that I'd like to nil out on d