Can a h:column has many f:facet name="header" ?

In a dataTable,I want to display two rows of table header,one row to display column name,the other to display query cond text,how can I get it?
Message was edited by:
LiuGaojun

Really?why?
I think sun must solve this problem.This is very common in b/s application.jsf is not as agility as html+jsp.
null

Similar Messages

  • Using f:facet name="header" in h:panelGrid

    I'm battling with it for a week now...
    I'm trying to create a table with 3 columns and to have header for each column.
    This, don't display headers at all :
            <h:panelGrid styleClass="Context" columns="3">
                <h:panelGroup>
                    <f:facet name="header">
                        <h:outputText value="#{prompts.Label_PROPERTYTYPE_ID}"/>
                    </f:facet>
                    <h:outputText value="null"/>
                </h:panelGroup>
                <h:panelGroup>
                    <f:facet name="header">
                        <h:outputText value="#{prompts.Label_PROPERTYTYPE_DESCRIPTION}"/>
                    </f:facet>
                    <h:inputText value="#{PropertyType.typeDescription}" required="true"/>
                </h:panelGroup>
                <h:panelGroup>
                    <f:facet name="header">
                        <h:outputText value=""/>
                    </f:facet>
                    <h:commandButton value="#{prompts.action_CREATE}"  action="#{PropertyType.Create}"/>
                </h:panelGroup>
            </h:panelGrid>While this compress all headers into one <th>
            <h:panelGrid styleClass="Context" columns="3">
                <f:facet name="header">
                    <h:panelGroup>
                        <h:outputText value="#{prompts.Label_PROPERTYTYPE_ID}"/>
                        <h:outputText value="#{prompts.Label_PROPERTYTYPE_DESCRIPTION}"/>
                        <h:outputText value=""/>
                    </h:panelGroup>
                </f:facet>
                <h:outputText value="null"/>
                <h:inputText value="#{PropertyType.typeDescription}" required="true"/>
                <h:commandButton value="#{prompts.action_CREATE}"  action="#{PropertyType.Create}"/>
            </h:panelGrid>Any help ?

    Hello,
    PanelGrid will not render as you want. Please see the documentation as how the rendering will happen for panelGrid.
    http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/tlddocs/h/panelGrid.html
    You can use the following to get the output as you want:
    <h:panelGrid styleClass="Context" columns="3">
    <f:facet name="header">     
    <h:dataTable>
    <h:column id="col1">
    <f:facet name="header">
    <h:outputText value="#{prompts.Label_PROPERTYTYPE_ID}"/>
    </f:facet>
    </h:column>
    <h:column id="col2">
    <f:facet name="header">
    <h:outputText value="# {prompts.Label_PROPERTYTYPE_DESCRIPTION}"/>
    </f:facet>
    </h:column>
    <h:column id="col3">
    <f:facet name="header">
    <h:outputText value=""/>
    </f:facet>
    </h:column>
    </h:dataTable>
    </f:facet>
    <h:outputText value="null"/>
    <h:inputText value="#{PropertyType.typeDescription}" required="true"/>
    <h:commandButton value="#{prompts.action_CREATE}" action="# {PropertyType.Create}"/>
    </h:panelGrid>
    - Kiran

  • Remove/Hide Toggle Icon Column in using f:facet name="detailStamp"

    Hi All,
    I am using <f:facet name="detailStamp"> to expand the row with details ,Done that part with separate button programmatically.
    So I need to hide/remove additional toggle icon column in the table...
    JDev 11.1.1.4 and adf faces application...
    Please anybody help.......

    Hi,
    use skinning
    af|table::disclosed-icon      
    Overrides the default disclosed icon used with the detailStamp facet in table.
    af|table::undisclosed-icon      
    Overrides the default undisclosed icon used with the detailStamp facet in table.
    e.g.
    af|table:disclosed-icon(display:none);
    af|table::undisclosed-icon(display:none);
    Frank

  • Can't wrap column header if column is sized smaller

    I have been reading through all the threads here and have not found a solution to my particular problem. I have a column with a long title that I want wrapped so the column itself is narrower. I have tried the "display:block;width:150px;overflow:hidden;white-space:normal" approach which works fine with the column data but still leaves the header wrapped. I also tried the "<table><col style="width:100px;"><tr><td>#COL04#</td></tr></table>" approach which had no effect. I'm using Theme 2 and have examined the t2header tags and see that the default tag contains a nowrap directive, but the tags for the other templates such as standard and borderless do not contain a nowrap. I have tried using all of these templates to no avail. Any ideas on how to get my column header to wrap?

    Hi,
    Following is the jsp code that i am using but not able to wrap the text in column:
    <af:table id="logTable"
    value="#{abc.listWorkBenchLog}"
    var="log"
    bandingInterval="1"
    banding="row"
    rows="5"
    inlineStyle="border: 1px solid Silver ;width:700px;height:100px;overflow:scroll;" >
    <af:column sortable="true" sortProperty="strDesc" width="700" noWrap="false" >
    <f:facet name="header">
    <af:outputText value="Description"/>
    </f:facet>
    <af:outputText value="#{log.strDesc}" />
    </af:column>
    </af:table>
    I tried removing noWrap however it places a horizontal scroll bar (which i dont want and hence implementing this wrap text functionality) in the table.
    please help,
    Manglesh

  • I'm using Windows 7 64 bit. I downloaded iTunes for Windows and setup an account. How do I stream a TV show to my TV. I have a Belkin router. My TV has many site Icons, e.g. Netflix, hula etc. from which I can download and watch movies in my Den.

    I'm using Windows 7 64 bit. I downloaded iTunes for Windows and setup an account. How do I stream a TV show to the TV in my bedroom? I have a Belkin router. My TV has many site Icons, e.g. Netflix, hula etc. from which I can download and watch movies in my bedroom. But the iTunes icon doesn't appear?

    I'm using Windows 7 64 bit. I downloaded iTunes for Windows and setup an account. How do I stream a TV show to the TV in my bedroom? I have a Belkin router. My TV has many site Icons, e.g. Netflix, hula etc. from which I can download and watch movies in my bedroom. But the iTunes icon doesn't appear?

  • I hava the key which has many data,how i can del all the data

    In the Duplicates database,i hava the key which has many data,how i can delete all the data.such as i hava the key:aaa,but the data has three:123,234,456, how i can del the 123,234,456, i used the cursor to del(Cursor.delete()),but i only can del the first ont: 123,and used the cursor.count() method,i find the method return 2 for me ; and me question is how to delete the remained two; thanks everybody

    After calling Cursor.delete, call Cursor.getNextDup to move to the next duplicate, then call Cursor.delete again, and repeat.
    --mark                                                                                                                                                                                                                                                                               

  • Hi, I have just purchased a new Macbook Pro. Whenever I try and buy anything on the internet (via Safari) on any website it will not allow me to add products to checkout. Has anyone else experienced this problem or can suggest a fix? Many thanks!

    Hi, I have just purchased a new Macbook Pro. Whenever I try and buy anything on the internet (via Safari) on any website it will not allow me to add products to checkout. Has anyone else experienced this problem or can suggest a fix? Many thanks!

    On all shopping sites, or only some? What happens when you try?

  • Can Pages count column inches

    I work for a small newspaper. My former edtitor, now retired, writes a syndicated column that he sells to a few weekly papers. When he retired I set up our company's old, old newswriting software on his OS9 iMac.
    Now he's getting a different Mac that doesn't support the old software and he's asking me how he can type his column and know how long it is in column inches.
    In his old software he could type in and document without an established width and it would tell him, based on preference settings, how many inches deep it would be. I'm not familar with Pages but I doubt if it has that functionality.
    Thanks.

    Hi jt,
    Pages won't calculate a specific number of column inches, but it does have several tools that will enable a close estimate, given the necessity to set some preferences.
    Here's an example.
    Tool number 1 is the pair of page rulers. The horizontal one at the top is used to set margin stops to fix a maximum line length. For the example, I've left the left margin at the default 1 inch and set the right margin at 7 in, giving a six inch line of text for two 3" columns.
    The Document Inspector gives a 'live' count of several document statistics, including number of lines in the document as currently formatted.
    In the left margin, I've inserted a series of text boxes, each with a pair of numbers inserted. The first gives the number of inches filled with text to that point (or column-inches for a single column document), the second gives the number of column inches for this text in a two column document, where the columns are each half the length of the line set for the document.
    The text boxes and horizontal lines were placed with each line at an inch mark on the ruler, then wereGrouped into a single object. The grouped object was moved to the Background layer (Arrange menu), then to the Section Master (Format menu > Advanced). Placed as a Master Object, the lines will be visible on every page of a multi-page document.
    That may be enough information to let you construct a template he can use in Pages. If there are still questions, please post them in a reply.
    Regards,
    Barry
    Were I to re-do the page, i would set the top and bottom margins of the page to 0.5 inches, to allow 10 inches of typing space, making the column inch calculations easier for pieces beyond a full page in length.

  • Can't see who has replied to the thread in the forum, its pointess?

    What's the point in creating a system where you can't see who has replied to the thread? Its absolutely F**CKING pointless? Does anyone at Adobe have any brains or are they all sitting with their heads up their backsides?
    Surely before you release such garbage you test for these very simple issues, right?
    osgood_(NOT M Golding) If anyone at Adobe is monitoring this please get my screen named changed to what it was previously as well.

    It needs a 'latest reply' on the posted list page like the old version otherwise you have no idea if anyone has replied to the post or not without opening it.
    Latest reply: May 3, 2014 2:17 AM by . osgood_
    The line below is not that necessary in the order of priority, which for all intense and purposes is quite useless. I don't really care about how long ago something was posted or where it was posted but an indication to show 'updated' posts and by who is vital.
    9 minutes ago in Dreamweaver support forum
    Why do we even need 'Dreamweaver support forum'. We already know that's where we are! I guess a selection of posts from other forums may appear in a 'general' postings list somewhere, but who really cares - if I'm asking a question related to DW that's the forum I'm going to, not a general list as I don't care a monkey knackers what's been posted in Fireworks or InDesign or Illustrator. If I did I'd go to those forums.
    If you are tracking several postings it is going to become hugely annoying for both the person who has asked the question and the people helping the original poster as many replies will potentially go unnoticed and not resolved.
    And what's with the silly horizontal scroll bar being created for long lines of text? That's annoying too.
    Plenty of teething issue you need to get your head around over the next few weeks.

  • Upload data from excel where one column has text of 3000 characters

    Guyz,
    I have a query. One of my requirments is to upload data from excel sheet & create a material. In the excel sheet one of the columns has text for BASIC DATA TEXT under ADDITIONAL DATA of a Material. This is a text of running length.
    the selection screen has feature of file upload & the users will upload excel files from their respective presentation servers.
    Now my problem is that I need a function module which can convert this column in excel sheet into an internal table & later call the BAPI for MM creation.
    I have used TEXT_CONVERT_XLS_TO_SAP & when i read my internal table to check this column length, it shows only 255 characters where as data in the excel sheet has 3000 characters (say for eg.)
    Can anybody throw some light on this.
    Thanks in advance
    GPK

    Hi,
    You can try using this function module and see that whether all your data is coming into the internal table properly.
    MS_EXCEL_OLE_STANDARD_DAT
    For the other part you needed to convert the internal table data into the structure as need by the BAPI and then call the create BAPI to create the materials in the SAP System.
    Hope this helps.
    Thanks,
    Samantak.

  • Since downloading 11.0.1 (12), Itunes can't locate or play many songs but the same songs still play on my synched iPod.

    Since downloading Itunes 11.0.1 (12), Itunes can't locate or play many songs but the same songs still play on my synched iPod. I have a MacBook Air, Lion OS, Itunes version 11.0.1 (12).  I didn't see this problem with older versions of Itunes.  I do not manually change the organization of the Itunes library.  I use the Itunes "add to library" feature or Amazon's MP3 downloader.  Sometimes, however, I have changed song information in the "info" window.  Such as unchecking the "compilation" button and sorting by artist (for that song), so that I can search by artist in the top pane of Itunes (otherwise the song is sorted in an album that is a "compilation," but not under the name of the artist who sang a particular song.  I've done this without problem in the past, but perhaps the newer version of Itunes can't handle the changes I made and has lost track of where the older version of Itunes stored such songs?    How do I fix all these older previously ok changes if that's the case...  If I could just find where they are stored in Itunes it would be easier perhaps.  I've looked in compilations, unknown artist, and so forth to no avail.  And Finder search can't find them.
    Details: suddenly, many songs are marked with "!," denoting that Itunes cannot find the songs in the library and cannot play them. Oddly, my iPod CAN play the "unlocatable" songs with no problem (it has been synched "post problem").  So the songs are still there somewhere in the Itunes library.  This problem occurs by album, that is, all songs from the same album become unlocatable, although different albums by the same artist may still be found and played. 
    Exploring the Itunes library to try to locate the missing albums/songs, I discovered that generally there is no longer any folder specified for any artist associated with a missing album [artist is the top level of organization and album is the second; compilations are in the same folder]. This is true even if I have other albums from the same artist which Itunes IS able to locate.  I cannot find a single song/album by such artists anywhere in the Itunes file system, even the ones that Itunes can still play.  If I right click and "get info" for an unlocatable song, I get a notification box that asks if I want to locate the file.  If I click "no," next thing-- the info window for the song pops up, with all the correct info (including sort info, which I double check)!  Why is Itunes able to locate all the info on the song, but is not able to play the MP3 file? 
    Using Finder I cannot locate the songs that are unlocatable by Itunes (except the original download files in the Amazon MP3 folder).  Finder is, of course, able to find Itunes songs that Itunes has no trouble locating.  What's up?!  My iPod can find them just fine.  I just synched my iPod again and am playing the "unlocatable" songs right now.
    I can "fix" most of these files by downloading files one by one into Itunes from my Amazon download folder or from my CDs using the "add to library" feature. In fact, it is strange.  But this will take a very long time!  And what if this problem continues recurring?   But something strange happens when I implement this fix.  I added one song to Itunes (from the Amazon MP3 folder, using "add to library") for one "unlocatable" album of Pete Seegers. After adding that one song, I looked at the Itunes music library and discovered that a folder for Pete Seeger (which was not there before I added the song) had been newly created, or restored.  In this folder was the one song I had just added, but ALSO all my other Seeger albums that had previously remained "locatable" by Itunes.  But the other "unlocatable" songs were not restored, unfortunately.  

    I have found a workaround. When I create a new playlist, iTunes allows me to add or remove songs from existing playlists for a short while. Then, for some reason it prevents me from adding and deleting songs again. Not sure why. Go figure.

  • Can we hide column in a query depending upon the variable selected

    Hi all,
    let us say my report have 10 column.
    now i am giving user option to select the values (let us say 'a' or 'b')
    columns must be displayed depending upon the value selected by user ..
    for example if user has selected 'a' then first five columns should be displayed..and if user has selected 'b' last five column should be displayed..(it will be OK even if we can hide the columns depending upon the selection )
    Is it possible in BEx...please let me know

    I did it sometime back. A bit complicated process.
    Create an infoobject, manually enter the values "keyfig1" and "keyfig2".
    Include this infoobject in the filters and restrict it using a "ready for input" variable.
    Now create two formula variables.
    Write a customer exit such that when you select "keyfig1", first formula variable's value should be set to 1 and other one's to 0.
    Then in the query create two calculated key figures, multiply both with the formula variable. Also supress column (all active value == 0).
    Then it will show the key figure which you have selected.
    Pravender

  • Sys.utl_file has many errors. How to re-create

    hi all,
    I tried using the utility utl_file in my procedures and it showed out
    sys.utl_file has many errors
    and when i went through like
    $ sqlplus /nolog
    SQL*Plus: Release 9.2.0.8.0 - Production on Tue Mar 4 12:50:08 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> connect / as sysdba;
    Connected.
    SQL> select name from v$database;
    NAME
    TEST
    SQL> alter package sys.utl_file compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show errors;
    Errors for PACKAGE BODY SYS.UTL_FILE:
    LINE/COL ERROR
    100/12 PLS-00323: subprogram or cursor 'FOPEN_NCHAR' is declared in a
    package specification and must be defined in the package body
    160/13 PLS-00323: subprogram or cursor 'GET_LINE' is declared in a
    package specification and must be defined in the package body
    181/13 PLS-00323: subprogram or cursor 'GET_LINE_NCHAR' is declared in a
    package specification and must be defined in the package body
    213/13 PLS-00323: subprogram or cursor 'PUT_NCHAR' is declared in a
    package specification and must be defined in the package body
    LINE/COL ERROR
    245/13 PLS-00323: subprogram or cursor 'PUT_LINE' is declared in a
    package specification and must be defined in the package body
    261/13 PLS-00323: subprogram or cursor 'PUT_LINE_NCHAR' is declared in a
    package specification and must be defined in the package body
    311/13 PLS-00323: subprogram or cursor 'PUTF_NCHAR' is declared in a
    package specification and must be defined in the package body
    336/7 PLS-00307: too many declarations of 'PUT_LINE' match this call
    LINE/COL ERROR
    336/7 PL/SQL: Statement ignored
    344/13 PLS-00323: subprogram or cursor 'PUT_RAW' is declared in a
    package specification and must be defined in the package body
    363/13 PLS-00323: subprogram or cursor 'GET_RAW' is declared in a
    package specification and must be defined in the package body
    386/13 PLS-00323: subprogram or cursor 'FSEEK' is declared in a package
    specification and must be defined in the package body
    403/13 PLS-00323: subprogram or cursor 'FREMOVE' is declared in a
    LINE/COL ERROR
    package specification and must be defined in the package body
    423/13 PLS-00323: subprogram or cursor 'FCOPY' is declared in a package
    specification and must be defined in the package body
    447/13 PLS-00323: subprogram or cursor 'FGETATTR' is declared in a
    package specification and must be defined in the package body
    463/12 PLS-00323: subprogram or cursor 'FGETPOS' is declared in a
    package specification and must be defined in the package body
    LINE/COL ERROR
    481/13 PLS-00323: subprogram or cursor 'FRENAME' is declared in a
    package specification and must be defined in the package body
    SQL>
    can anyone help me out of this issue

    What had happened to your database?
    You could try to run $ORACLE_HOME/rdbms/admin/utlfile.sql
    to recreate the package.

  • How can I move columns in Numbers without distorting the formula in other cells?  In Excel I can cut and paste entire columns and the formula in other cells adjusts accordingly.  When I do it in Numbers, the formula messes up.  How can I do this?

    How can I move columns in Numbers without distorting the formula in other cells?  In Excel I can cut and paste entire columns and the formula in other cells adjusts accordingly.  When I do it in Numbers, the formula messes up.  How can I do this?
    For example: I have formulas in columns D and F that relate to columns C to CU
    If I want to move one column from one position to another (say S to T), the formula loses the colums that was moved, i.e. it doesn't recognize it has moved, rather sees it as deleted...  How can I do this without distorting the formula?

    Thanks for the feedback.
    If I often urge askers to look at the available resources, it's because  a large range of questions asked in the forums are already answered in these documents.
    As they are PDFs, they are easy to search in.
    CAUTION
    Download them while they are available.
    Given what is delivered with iBooks Author, I'm afraid that we will not get such easy to use documents.
    Searching infos in the  iBooks Author documentation available on line is awfully cumbersome and a lot of embedded links are wrongly flagged this way. In the Help files they aren't links but underlined strings.
    It seems that the tool used to generate the web pages was wrongly configured.
    Yvan KOENIG (VALLAURIS, France) dimanche 22 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
    My iDisk is : http://public.me.com/koenigyvan

  • Print out a column value only if another column has a specific value (CASE Statement)

    Hello all,
    I tried many hours to find a solution for the following request but wasn't successful. Maybe you could help me.
    I've using the already existing SQL Views in Microsoft Service Manager to do some basic reporting about my tickets.There is no closed date in the activity tickets so I decided to print out the lastmodified timestamp when the status is "closed".
    That's my query:
    SELECT DISTINCT
    dbo.DisplayStringView.DisplayName AS Status,
    CASE WHEN dbo.DisplayStringView.DisplayName = 'Closed' THEN dbo.DisplayStringView.LastModified ELSE 'NO CLOSED Date' END AS ClosedDate
    FROM dbo.MTV_System$WorkItem$Activity$ManualActivity LEFT OUTER JOIN
    dbo.DisplayStringView ON dbo.MTV_System$WorkItem$Activity$ManualActivity.Status_8895EC8D_2CBF_0D9D_E8EC_524DEFA00014 = dbo.DisplayStringView.LTStringId
    Unfortunatelly I'm not getting the value from dbo.DisplayStringView.LastModified. SQL outputs that it is not possible to convert the string to date/time.
    I think there is a problem with the CASE statement in combination with a value select.
    Any ideas how to print out a column value only if another column has a specific value?

    I think it is the other way if you want the missing date shown as a string.
    CASE
    WHEN
    dbo.DisplayStringView.DisplayName
    =
    'Closed'
    THEN
    Convert( varchar(10),dbo.DisplayStringView.LastModified
    , 101) ELSE
    'NO CLOSED Date'
    END
    AS
    ClosedDate 

Maybe you are looking for

  • I want more! (FSB)

     Hi all, my first post at this forum.  I have been quite happy with my MSI boards but have one quibble - the low MAX FSB.  On my K7N420 PRO I hit the max 157Mhz no problem and wanted more but couldn't get it.  On my current K7N2G (6570) IGP  I have h

  • OWA 2013 Apps in shared mailbox

    Exchange 2013 SP1: Whenever I open my own mailbox in OWA (2013), I can see the 'Apps Bar' at the top of the email (such as Bing maps, Action Items etc) - but when I (or anyone else in the org) goes to 'Open another mailbox' that they have full access

  • Sap pp sample implementation

    Dear all, I am an SAP PP trainner in ISPL. I have an idea for doing a sample implementation in PP only. So I dont know which datas from other modules needed to complete this sample implementation for SAP PP. Kindly guide me....\

  • Kerning in Illustrator is not working for me

    I have some letters of words that run together, so I am trying to fix them by increasing the kerning. For example, the word "letter" the two "t's" are running together. When I put the cursor between the "t's" it increases the space after the "t's". I

  • Need help with tool bar options..does not show hidden options in PS5 or PS CC trial..

    in both PS% and PS 6 CC the tool bar will not reveal the hidden option when I click on the little arrow...this problem just began as I have used this successfully in the past...probably a simple solutin