Making a Display as Text (saves state) Item Element Bold

I have no clue how to do it - need to make the element (not the label) bold.

Cannot do, you must use Display as text (does not save state). If the item acquires its value during page rendering and you need to save that acquired value in session state, just use a hidden item to carry the value to the after-submit phase and use the text value only for rendering.
Scott

Similar Messages

  • Display As Text (Saves State) as a Link in an updateable report

    I'm running into an odd problem when attempting to use display as text(saves state) in a report as a link.
    I have an updateable SQL report with the following columns in this order
    1) A checkbox column
    2) A column as a link using the Link Text attributes
    3) A hidden column storing a key for use in the form
    As I expected the checkbox is given a form name of f01 and the hidden column is f02
    However, when I decide to switch the second column to be Display As Text (saves state) which also has the Link Text attributes set, so I can submit the value of that column in my form, something odd happens.
    The checkbox is still submitted as f01. The hidden column becomes f03, however the Display As Text (saves state) value appears nowhere in the form. Neither does the text name="f02". It just stays as a link like it was before.
    I'd really like to be able to submit the value without duplicating the column in the query(and making it a hidden value). Does anybody have any ideas about how I could do this?
    Am I doing something horribly wrong? Has anybody else experienced this behavior?
    Thanks,
    Joe
    Message was edited by:
    joe.bauser

    Just to flush out my examples, and as a test for myself, I copied the "broken" example to a fourth page.
    After copying the example page, I left the "display as" in "tabular form element" as 'Display As Text (saves state)' and deleted everything that was in the "Column Link" section (removing the link)
    Once the link was removed, the Display As Text (saves state) behaved exactly as I would expect it to.
    Example here<br>
    Link stuff removed

  • Subroutine program its display the text at line item as it's service order

    Hi All,
    Am looking for subroutine program its display the text at line item as it's service order, I want to view the text in sapscript in the tcode ME9F of the order text.
    Ex:- in tcode ME23N, select PO & item details in Account Assignment tab, ORDER field is not displaying for some of the orders, but while debugging I can see the ORDER values.
    Can'nt see the ORDER field in print preview, Pls let me know.
    Edited by: Nagendra DS on Feb 19, 2008 3:18 AM

    Hi,
    If you are retrieving the values in the print program, the values will definetly get populated to the sap script. In case of subroutines in the form, the values you pass it to the structure ITCSY should be characters only.
    Hope this helps.
    Sudha

  • Display dummy text in datablock item

    hi all
    i just need to display background dummy text in one of the item.
    that item has WHEN MOUSE CLICK trigger thru which LOV popups.
    so i want to display text in that item as CLICK HERE FOR LIST...(something like light colored or disabled text kind)
    is it possible in forms 10g
    Thanks in advance

    I agree with AppsLearner, the ToolTip or Hint are the best way to do this. However, if you are set on using a dummy field, there are a couple of ways you could do this.
    First, you could create a "dummy" non-base table item in your block and display it directly over your base-table item and display your "CLICK HERE FOR LIST..." message in the dummy field. When the user clicks in the field or click your LOV button (if you have one) then you hide the dummy field and display the LOV.
    Second, you could display the "CLICK HERE FOR LIST..." message directly in your base-table field. When the user clicks in the field, then clear the message text and display your LOV. This method will likely cause some Validation issues you will have to work around.
    The first option will probably require the use of a 0-second Timer and the When-Timer-Expired trigger to handle the hiding of your dummy field (if you try to hide it when your cursor is in the field, you will get an error). If you have a Key-ListVal trigger on your field, you could probably use this as well.
    This is all theory, so you will have to do some "Trial and Error" to figure it out and make it work, but this at least gives you an idea of how to make it work. ;)
    Craig...

  • Making a list of text appear one item at a time - help

    I want to create a list of, say, 4 bulleted text items that will appear one at a time from top to bottom, either by being revealed from above, or fading in.
    I've been using the reveal method. I put my bullet points in one clip, put a four-pointe garbage matte over it, and use key frames to move the matte down at the appropriate times to reveal the type behind it.
    The fade-in method is even worse. I have to create a separate clip for each of the four bullet points, stagger them appropriately, and then do a fade in on each one.
    It has GOT to be easier than this, right?
    Anybody have any ideas or suggestions on better ways to do this?

    That's the fade-in method I describe above.
    I'd like to be able to do this in one track, and I like the reveal from above method better than the fade in. The problem with that, however, is I basically have to keep plugging in numbers until the matte has moved where I want it. If there was a way to just grab the matte and drag it where I want, that would solve everything.
    Try using 4 TEXT generators, one for each bullet
    item. Place them on top of each other, on 4 video
    tracks, but slightly offset so each appears after the
    other on the timeline. Add transistions so they fade
    in and out, etc.

  • Javascript not working with 'Display as Text (does not saves state)'

    Hi,
    We have these following items in P3 of our application,
    P3_EDIT_ACCOUNT Display as Text (saves state)
    P3_USEFUL_LINKS Display as Text (saves state)
    P3_LAST_APPROVED Display as Text (saves state)
    P3_ARCHIVES Display as Text (saves state)
    And we are initializing these items in a pl/sql process under 'Page Rendering'
    For example,
    :P3_ARCHIVES := '<font face="Arial, Helvetica, sans-serif" size="-1">Archives</font></a><td> ';
    When our environment was upgraded from HTMLDB1.5 to HTMLDB2.0,
    instead of displaying the proper value of :P3_ARCHIVES,
    it was displaying the tags,
    i.e. instead of displaying 'Archives', it was displaying the whole
    '<font face="Arial, Helvetica, sans-serif" size="-1">Archives</font></a><td> '
    So, when we changed all items to 'Display as Text (does not saves state)' and it was working.
    But then we have another problem,
    We render the rest of the same page with another pl/sql block,
    Here is a portion from that pl/sql for your reference,
    htp.p('
    <script>
    //Script to check the status change.
    //The script source is rendered through PL/SQL.
    function checkStatus()
    var promptStr = someString;
    if(ans.toUpperCase() == "AMBER" || ans.toUpperCase() == "RED")
              var cnfm = confirm(promptStr);
              if(cnfm)
              do something....
    </script>
    htp.print('
    <td width="5%" bgcolor="#ebebc5" height="19" align="middle" >
    <input TYPE="radio" name="'||l_g_fnumber||'" value="GREEN"');
    IF l_allow_update THEN
         htp.print(' onClick="checkStatus()"');
    ELSE
    htp.print(' disabled onmousedown="return false;"');
                        do something....
    Now the issue is , when we changed all items to 'Display as Text (does not saves state)', the checkStatus() function is not getting called in the onClick
    event of the radio button and hence the confirm window for the call to
    confirm(promptStr) is not coming up.
    But if we revert back the items to 'Display as Text (saves state)',
    the checkStatus() javascript function is getting called properly but html tags are displayed against the items instead of the proper value (as mentioned in ********)
    Please do let us know a possible solution to this issue.
    Thanks & Regards-
    Rupak

    Thanks Varad for your response.
    This is the error i am getting.
    1 error has occurred
    PLSQL anonymous block source type can be used ONLY with Display Text (based on PLSQL) item type.
    yes i am using in the source..
    I also tried with the PL/SQL Expression of FUNCTION in this case it is executing the query but once i run the page ora- 06550 error occured.
    Thanks
    AT
    Edited by: ranu on Jan 8, 2009 2:51 PM

  • Display As Text (Does Not Save State) Render Behaviour

    I suppose this is directed more at the Oracle team members (as most of my posts are...) than anyone else, but others might find this interesting.
    It would seem when an item has a type of "Display As Text (Does Not Save State)" the item's value is output as pure text which shows up as text nodes under the TD cell. However if there is anything in the "HTML Form Element Attribute" text field on the "Edit Page Item" page, the APEX rendering engine will output a span tag with those attributes around the value of the item. If the attribute is left null, no span tag is output.
    Further more, the span tag does not have an ID attribute. One can also not set the "HTML Form Element" text box to contain the text 'id="" ' as APEX will throw an error stating that you can not specify the id attribute. So if someone would happen to want to access/change the value via JavaScript (say after an Ajax request of a hidden id change), it requires a hack (setting the TD cell's ID to the page item's name), DOM inspecting/sniffing, outputting an ugly disabled text element, altering the flows user's tables, or altering the render cache.
    Is there any reason, why this span tag is not always output with the ID attribute set?

    Hello Andrew,
    You are, of course, correct. The APEX engine does not use the item ID for the "Display as Text (does not save state)". However, if you need to manipulate the item, using JS, you can use the "Display as Text (save state)", which does use the item ID. The on-screen effect is the same, but the JS use is easier.
    Your original question though, remains open.
    Regards,
    Arie.

  • Linebreaks in Display as Text items

    See http://htmldb.oracle.com/pls/otn/f?p=24317:14:::::P14_PK:3061
    The same item (CLOB) is displayed as a editable textarea and as a Display as Text item.
    The Display as Text item type eats up all the linebreaks in the data since it is rendering HTML markup where whitespace, linebreaks are irrelevant.
    How can I preserve the line breaks in the Display as Text item?
    I guess I can wrap it in a PRE tag but that would change the font, I would like to keep the same font just preserve the linebreaks and whitespace.
    Thanks

    Hi,
    I have a Page Item P7_LAST_ACTION
    Display as: Display as Text (saves state)
    Source Type:
    Database Column
    Source value or expression
    LAST_ACTION
    Post Calculation Computation
    replace(:P7_LAST_ACTION,chr(10),'<BR>');
    But it doesn't replace.
    I have the same info in ACTION db column in a query
    select "ACTION_ID",
    replace(ACTION,chr(10),'<BR>') Task,
    "DESCRIPTION",
    from BH_ACTIONS
    It displays fine...
    (with newlines, blank lines - <BR><BR>)
    Both column types are the same:
    ACTION VARCHAR2(2000)
    LAST_ACTION VARCHAR2(2000)
    any ideas? Bill

  • Display as text based on pl/sql - how to return value

    Hi,
    I have a item set as "display as text based on pl/sql". How do I get the PL/SQL anonymous block to return the value of the item?
    My function declares and populates a variable called t_output which is the value I want displayed in the item. The PL/SQL I have written is correct as I have tried it in SQLPlus* with DBMS_OUTPUT.PUT_LINE and I get the correct output, but I don't know how to set my item to the value of t_output. I have tried adding ":P73_ITEM := t_output;" into the end of the PL/SQL block.
    Thanks
    Lucy

    Hi Lucy,
    Try this and see.
    make the display as:display as text(saves state)
    source type: sql query
    in source value or expression type
    select func(arguments) from table name;
    Good luck

  • DISPLAY AS TEXT (DOES NOT SAVE STATE)

    can i use the pl/sql anonymous block or pl/sql function body for item which is DISPLAY AS TEXT (DOES NOT SAVE STATE). I am using this query and getting an error in case of pl/sql anonymous block can be used only for save state item. my apex version is 2.2.1.00.04.
    my query is
    declare
    vCNT number;
    v_exception_detail varchar2(200);
    BEGIN
    SELECT COUNT(*)
    INTO vCNT
    FROM table a
    WHERE a.col1 IN
    (SELECT DISTINCT x.col1
    FROM table1 x)
    AND a.col2 = TRIM(:P21_col2);
    IF vCNT > 1 THEN
    IF NVL(&P21_col2, -1) <> -1 THEN
    SELECT DISTINCT SR.col3
    INTO v_exception_detail
    FROM table1 SR
    WHERE SR.col1 IN
    (SELECT col1
    FROM table
    WHERE col2 = TRIM(:P21_col2)
    AND col4 = :P21_col4);
    ELSE
    v_exception_detail := NULL;
    END IF;
    ELSE
    SELECT DISTINCT SR.col3
    INTO v_exception_detail
    FROM table1 SR
    WHERE SR.col1 IN
    (SELECT col1
    FROM table
    WHERE col2 = TRIM(:P21_col2));
    END IF;
    --DBMS_OUTPUT.PUT_LINE(v_exception_detail);
    RETURN v_exception_detail;
    END;
    Could any one suggest how i can execute this code in case of item of DISPLAY AS TEXT (DOES NOT SAVE STATE).
    Thanks,
    AT

    Thanks Varad for your response.
    This is the error i am getting.
    1 error has occurred
    PLSQL anonymous block source type can be used ONLY with Display Text (based on PLSQL) item type.
    yes i am using in the source..
    I also tried with the PL/SQL Expression of FUNCTION in this case it is executing the query but once i run the page ora- 06550 error occured.
    Thanks
    AT
    Edited by: ranu on Jan 8, 2009 2:51 PM

  • Where is "Display as Text (based on LOV, saves state)"

    I am developing an application using the version of HTMLDB that comes with OracleXE.
    I have a tabular form, in which the default column for a particular item is sourced from a previously entered item on another page. This is a lookup item and needs to be non-changeable by the user. So I want to use the "Display As" option "Display as Text (based on LOV, saves state)". However, this option is not available in the pull-down for "Display As". The option "Display as Text (based on LOV, does not save state)" is available, but using this option means that the item is not saved to the database.
    Does anyone know why the stateful display as option is not available.
    Thanks in advance,
    Rob

    Scott, thanks for the feedback. The problem is that although the value is displayed correctly, it is NOT saved to the database. Effectively, header information is entered in a previous screen, and one of the entered fields is written to each of the detail lines associated with the header. We are re-platforming an existing application (written in an obscure form of basic), and at this stage changing the schema is not an option. So this header item (which is a foreign key to a "store" table), is meant to be written down to each line, on the screen displayed as the store name, and written to the inserted lines as the lookup id. If I use the dispaly as text save state option teh database is updated correctly, but displays the id rather than name on the screen. The only display as lov option i can see is the one that does not save state. If I use this option the screen displays as I want but the database is not updated. I need to use the display as lov saves state option. but i do not see it.
    Any ideas?
    Thanks for your time.
    Rob

  • Display As Text (based on LOV, saves state)  "p_t03" was assigned by APEX

    Hi All,
    I have an ITEM
    Name: P36_INT
    Display As: Display As Text (based on LOV, saves state)
    Output in my HTML:
    [input type="hidden" name="p_t03" value="YES" />[span id="P36_INT">Interior[/span>
      'p_t03' was assigned by APEX
      In my Javascript I have to access it as the following to get the "YES" value:
      var lintObj = html_GetElement('p_t03');
      Originally it was 'p_t01' but it changed from 'p_t01' to 'p_t03' somehow.. out of my control.
      How do I assign an ID or assign my own name to the "hidden" item?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Scott, thanks for the feedback. The problem is that although the value is displayed correctly, it is NOT saved to the database. Effectively, header information is entered in a previous screen, and one of the entered fields is written to each of the detail lines associated with the header. We are re-platforming an existing application (written in an obscure form of basic), and at this stage changing the schema is not an option. So this header item (which is a foreign key to a "store" table), is meant to be written down to each line, on the screen displayed as the store name, and written to the inserted lines as the lookup id. If I use the dispaly as text save state option teh database is updated correctly, but displays the id rather than name on the screen. The only display as lov option i can see is the one that does not save state. If I use this option the screen displays as I want but the database is not updated. I need to use the display as lov saves state option. but i do not see it.
    Any ideas?
    Thanks for your time.
    Rob

  • Problem in displaying text inside the item label - JFREECHART

    Hi All,
    I dont know whether this is the right place or not to post the queries related to jfreechart here .
    I am facing a problem in displaying the text inside the item label in jfreeChart. I am trying to print the text in 2 lines one below the other at the top of each bar in waterfall chart.
    Please find the code below in next post. The problem i am facing is it is neglecting the new line character . If any one knows how to display the text one below the other please help me out .
    Thanks in advance .
    Regards,
    Diw

    i am facing the problem in pasting the complete code as its exceeds the message text limitiation, please find the link below for the code .
    http://www.java-forums.org/java-2d/12087-problem-displaying-text-inside-item-label-jfreechart.html#post36648
    Early response will be appreciated . Thanks in advance
    Regards,
    Diw
    Edited by: Diw on Sep 30, 2008 11:15 AM
    Edited by: Diw on Sep 30, 2008 11:16 AM

  • Display as Text: Source or computation/process?

    I have a bunch (about 10) of Display as Text (does not save state) items on a page.
    The source for all these items is a single row in some table.
    I see 2 alternatives to populating these items
    1. Specify the Source attribute for each item as the SQL query select colN from mytable where pk=:P1_PK2. Write a onLoad process to load up all of them at once using
    select col1,col2,col3,...colN
    into :P1_COL1,:P1_COL2,:P1_COL3,...:P1_COLN
    from mytable
    where pk=:P1_PK;It would seem that (2) is the more performant option because it queries "mytable" only once and gets all the values. Whereas (1) queries the table N times.
    Unless (I doubt this, but just want to make sure), the Apex show engine internally detects that the Source query for all the items can be "combined" into 1 query and the values returned can be doled out to the individual items.
    Comments?
    Thanks

    You could use an Automated Row Fetch process if the column names are not already spoken for by such a process. Otherwise, stick with option 2. APEX does not optimize stuff like you described.
    Scott

  • Tax statement item missing for tax code O0

    Hi all,
    i am getting an error message while releasing SD billing documents to Accounting. the complete error message is
    NA FF805
    Text:
    Tax statement item missing for tax code O0
    Diagnosis:
    No tax item exists for tax code O0 in a G/L account item. A possible cause is an incorrect transfer of parameters by the application to the Accounting interface.
    Procedure:
    Enter an OSS message.
    It would be great help if some one reply back with what should i do..
    We are on R/3 4.7 enterprise
    Thanks in Advance
    Sivaram

    HI Sivaram,
    Please review note 112609 and 400766 carefully, which explain the tax rules.
    The FF805 error is most likely triggered due to configuration in the pricing  procedure.
    If an active tax condition record is found (for example on UTXJ), even though it is statistical, the tax code (linked to the record) is then distributed to the active price conditions for that item pricing.
    When it passes to FI, the active tax condition is passed but not the price because an active price condition cannot be found. In the SD-FI interface, for every price condition sent over, there MUST be a tax condition sent over, hence the FF805.
    I think this may be what is happening in your case.
    Normally it would not be advised to bypass the check in FI_TAX_SV_BSEG_BSET_GROSS - please note that when passing from SD to FI:
    -> There must be at least a revenue line for each tax line.
    -> For each revenue line containing a certain tax indicator there must be a tax line with this indicator.
    -> If a tax condition has base value = 0  OR is inactivated OR is statistical => then it is not passed to FI.
    I hope this information will help you to solve your issue. If it resolves your issue, kindly confirm this message at your earliest convenience. Otherwise, please give me feedback for further analysis.
    Please assign points if it useful.
    Regards
    Ravinagh Boni

Maybe you are looking for

  • How to maintain keywords for a original files in DMS?

    Hi, How to maintain a Keywords for all original files which are already available in content server? I have done the following steps for full-text search(content search) with in originals. 1.Configured RFC from TREX to R/3 2.Created SSR with VERITY s

  • Valuation type value calculated by the system

    Dear Gurus, I have a scenario in which i have two valuation types: Val100% --- which is for external procurement Val50 % - which is for return of material to store with 50% MAP of Val100%. My client requirement is when i enter the return of material

  • Coldfusion and SQL reporting service 2005?

    Ive been searching google for hours with no clear answer. How can you use coldfusion to pull in an sql report from reporting service? Via a web service or wsdl i assume, but how?

  • Problems with Crystal reports server 2008 VI (Invalid logon information)

    I have added a report that connects to the SQL server and also I set up the required ODBC for the report on the server. I could run the report without any issues. When I add the same report to another folder in CMC or add a new report that uses the s

  • Preview functionality in swing

    Hi I have a Jtable with 4 columns(Doc Name,Doc Type,Date Created,Preview).In the last column i have to include the functionalty to preview the document.Can any body tell me where to start from?I mean how i can implement preview functionality in Swing