How to view a complex text in a table row in jsp?

hi.
I've got an array of type Option (I'm using it in DropDown list) called states and index of that array that I want to output in jsp...
This is how the whole line looks like:
<ui:staticText binding="#{comp.staticText4}" id="staticText4" text="#{ApplicationBean1.states[#{currentRow.value['comp.state_id']}].label}"/>
The problem is in this code:
#{ApplicationBean1.states[#{currentRow.value['comp.state_id']}].label}
How to output the label property of the states array when index is stored in #{currentRow.value['comp.state_id']} ?
best regards.
Mike.

Hi,
In the bapi BAPI_MATERIAL_SAVEDATA, there is a parameter..MATERIALLONGTEXT...in which you can pass the DEL_FLAG = 'X'...to delete the long texts
THanks
Naren

Similar Messages

  • How do I set an id to a table row in a report region?

    How do I assign an id to a table row in a report region? I am trying to uniquely identify a row in the result set. What I want to do is have the report region render an id for each tr tag i.e.
    <tr id='1'>...</tr>
    <tr id='2'>...</tr>
    <tr id='3'>...</tr>
    Thanks,
    Boyan

    Hello,
    In the Before Each Row attribute of the report template you are using add something like this.
    &lt;tr id="row_#ROWNUM#">ID's in HTML should never start with a number it won't break anything but it's wrong that's why I put row_ first
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • How to maintain PO Header Text entry in table T166K for different PO Type

    Hi,
    Can anyone tell me if there is a config transaction ( or path ) to maintain PO Header Text entry in table T166K for different PO Types
    Thanks
    Shrikant

    Spro->Material Management->Purchasing->Purchase Order->Texts for Purchase Orders.
    There are 4 config setting to do for this.
    Read information text.
    regards,nishant
    please reward if this helps

  • How to maintain PO Header Text entry in table T166K for different PO Types

    Hi,
    Can anyone tell me if there is a config transaction ( or path ) to maintain PO Header Text entry in table T166K for different PO Types
    Thanks
    Shrikant

    Resolved.

  • How to view the entire CLOB in results table?

    According to the release notes with 1.2.1.32, a recent bug fix changed the way CLOBs are displayed in SQL Developer:
    Bug 6254736: Clob datatype in table grid fetches the whole clob
    Before the fix, for any given CLOB field, the entire CLOB data would be displayed. After the fix, only "(CLOB)" and a few characters are displayed. The entire data is only accessible via the Edit Value dialog.
    I understand this change will likely improve performance for very large CLOBs. However, there are times when I want to be able to view the entire CLOB in the table grid (either in the data tab or as the result of a SQL query). Is there any way to restore the old functionality? If not, is there any plan to add a new preference to support the old functionality? Thanks for your help!

    The same issue was pointed a while back here : Re: RAW displayed in columns
    We would have a solution for it, most likely as a preference.
    -Raghu

  • How to create editable tablecells for a single table row dynamically?

    Hi
    How to make the cell of a tablerow editable based on flag in backing list object bound to row? I can't decide the editable property while creating table columns. So i can't use setCellFactory() during creation. However setCellFactory() makes all cells in table column editable.How to make non-editable table row cell editable and vice-versa based on flag?

    hi
    good
    if you want to create two different view for a same table than you cant give the same name for the same view,otherwise it would allow you to create the view.Try out with different view name as well as the function group name,i hope this ll work.
    thanks
    mrutyun^

  • Removing overset text in empty table rows (InDesign CS5.5)

    I have some overset text in a table that appears to be empty rows.  I've opened story editor so I can remove the text, but I can't select the area that's overset (the red lines).  How does one remove this overset stuff if you can't select it.

    Have you tried adjusting the height of the row to reveal the over set text?
    Or try placing your cursor in the cell in question and just hit the delete key...Sometimes invisible characters like column break can be accidently added.
    Or perhaps, highlighting the entire row and hit the backspace key.

  • How to use script to get the first table row on each page?

    I create a print form to display a table. I set a conditional page break on this table, so the table rows on each page could be different.
    For example, there're total 50 rows in this table. On the 1st page, there're 5 rows, but on the 2nd page, there're only 2 rows, and so on...
    Now I want to get some value from the 1st table row on each page. How can do that? I can refer to a table row using TableRow[n], but I don't know how to calculate 'n' in script (either FormCalc or JavaScript) for the 1st row on each page.
    Any ideas?

    Hi Wei,
    There is an option of setting the overflow header in the pallette. You may check that out. It is basically used to have the table header to be seen in all pages, if the table is overflowing to multiple pages. You may put your first row as the overflow header.
    - hope this helps, Kindly update,
    thanks and regards,
    - anto.

  • How to export only the data displayed in table of a jsp page to Excel

    Hi All,
    I want to export only the data that is displayed in the table of a jsp page to excel. But with my current code everything is getting exported to excel.
    <input type="checkbox" name="download" onclick = "form.submit()"/> Export to Excel
    response.setContentType("application/vnd.ms-excel");
    response.setHeader("Content-disposition", "inline; filename=fileName.xls");
    the table is displayed in the jsp using the following code:
    <table cellspacing="2" cellpadding="3" border="1"
    width="100%"> <tr> <%for (int i = 2; i <= cols; i++) {%>
    <td>
    <%
    out.println( rsmd.getColumnName(i) + " ");
    } %>
    <% while (rsettaba.next ())
    out.println("<tr>");
    for (int j= 2; j <= cols ; j++) {
    //out.println("<td>"+rsetallcl.getString(j)+"</td>");
    String varnl = rsettaba.getString(j);
    if ( varnl == null )
    out.println("<td> Empty </td>");
    else
    out.println("<td>"+rsettaba.getString(j)+"</td>");
    out.println("</tr>");
    %>
    </td>
    </tr>
    </table>
    please can anyone help how to just extract only the data in the table of a jsp page to excel.
    Edited by: Ramky48 on Dec 9, 2009 9:51 PM

    Ramky48,
    Why did you open a new thread when you had gotten quite a few responses and suggestions on the [url http://forums.oracle.com/forums/thread.jspa?threadID=998411]thread where you asked the same question - seems the best thing to do would be to continue on the same thread?
    However, your question has nothing to do with JDeveloper/ADF. If you'd like to do it the ADF way, it's trivially easy - you can use the [url http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e12419/tagdoc/af_exportCollectionActionListener.html]af:exportCollectionActionListener component, which does what you are asking for. If you want to use a straight JSP way, there were several good suggestions in the other thread you opened, or Googling "jsp export to excel" will get you about 4.6 million hits; the first 10 or so look pretty promising.
    John

  • How to view BW objects text in Spanish ?

    Hi Gurus,
    I can´t see BW objects description in spanish when I open BW workbench in Spanish.
    When I open Workbench in english a see object in english, but when I open Workbench in spanish I see Workbench in englinsh also.
    How do I do to modify it?
    Regards

    Hi Alejandro,
    if you want to translate names/descriptions of BW objects you need to do it in TA RSA1->select Translation in left pane menu. You need to be logged in language into which you want to do the translation. For details refer to:
    http://help.sap.com/saphelp_nw73/helpdata/en/4a/5d6828e11315c9e10000000a42189c/content.htm
    http://service.sap.com/sap/support/notes/496192
    If you wan tot have SAP BW system (menu, navgation etc) in different language then your SAP Basis team needs to install particular language package into the system. This is done in TA SMLT.
    cheers
    m./

  • How to view/send picture text while talking on iphone

    I've updated my iPhone 4S to try correcting the inability to receive/send pics while talking on phone but to no avail. What should I do next?

    If you are in the U.S. and your carrier is Verizon or Sprint, you can't access the internet while on a call with their network. MMS with the iPhone requires cellular data. You can send/receive an iMessage when on a call while the iPhone is connected to an available wi-fi network.

  • How to call Subroutines,Standard Text  & using Internal Table in SmartForm

    Hi all,
    need help in the following areas.Its very urgent!
    1.How to CAll Subroutines in Smart Forms
    2.How to CAll Standard Text in Smart Forms
    Situation:
    We have an Internal Table T_SALES with all the data which am going to display in the smartform,How to retrive data from an internal table in Smart forms
    Any Help in this direction would be highly appreciated.
    Regards
    Ramu

    Hi,
      When you are using quantity or currency fields, you have to mentiong the reference fileds in a tab called CURRENCY/QUANTITY FILEDS in the GLOBAL DATA node.
    Specifying a Currency or Quantity Reference
    Use
    In the ABAP Dictionary, you can assign a currency or quantity field to a table field. In the output of these fields, the system can then insert the relevant currency or unit:
    ·        If the value field is in the same table as the corresponding currency or quantity field, the system recognizes the reference automatically, and formats the value field according to the currency or unit in the assigned field.
    ·        If the value field is in a different table from the currency or quantity field, the system cannot recognize this reference automatically.
    In the second case, you must indicate this reference to the system in the form, to ensure that the value field is formatted correctly.
    Procedure
    You want to assign a currency or quantity field in one table (for example, CURTAB) to a value field in another table (for example, VALTAB).
           1.      Create the reference to the currency field by entering the following values:
    -         Field Name: VALTAB-VALUE, if this is the value field of VALTAB that you want to display.
    -         Reference Field: CURTAB-CURRENCY, which is the currency field of CURTAB.
           2.      Under Data Type, specify whether the data type is a currency or quantity.
    Result
    In the output of the PDF-based print form, the system formats the value field VALTAB-VALUE according to the assigned value in the currency or quantity field of the global variable CURTAB-CURRENCY.
    Thanks and Regards,
    Bharat Kumar Reddy.V
    Message was Added by: Bharat Reddy V
    Message was Added by: Bharat Reddy V

  • How to view information based on selection from table

    I currently have a roles table, usersinroles table, and a users table. The users table has a user ID, the roles table has a Role ID, and the usersinroles table has Role ID and user ID as foreign keys. Many users can have many roles. On one page I have the users first name and last name displayed in a read-only table. a user can be selected in which they are directed to a page to view the users details. How can I display on that page the selected user's roles he/she has? I've tried a view but it displays ALL the users and their roles.
    Thanks,
    Adam

    Hi,
    create a bind variable in the users VO and then pass the authenticated username as an argument to the ExecuteWithparams operation. This queries the VO to only show the user you are interested in. The developer guide is a good source of information and inspiration
    http://download-uk.oracle.com/docs/html/B25947_01/toc.htm
    Frank

  • HELP! How to insert long delimited text into a table

    Friends,
    I have an Oracle table with a long field containing comma delimited text.
    Table Def:
    QUOTE_LINES
    (quote_no VARCHAR2(20),
    quote_data LONG)
    Example data from quote_data field:
    A='750 Gallon',B='1250',C='300HP',D='Transmission',E=TRUE,F='Top Mount',G='Full Height',H='Full Height'
    Note: There are no <CR> in the data.
    I want to create a trigger on the table that loads the data into a separate table like this:
    quote_no VARCHAR2(20),
    line_type VARCHAR2(50),
    line_value VARCHAR2(30)
    Any suggestions?
    Larry

    Hello
    Really, if at all possible you should look at converting the long column to a clob. This will get rid of lots of limitations and you will be able to treat the column just like a varchar2.
    Anyway, if you cannot change from a long for the mean time, you could use the following, as long as the length of the text in your long column doesn't exceed 32k (which by all accounts is pretty large!):
    SQL> create table dt_test_long (id number, big_text long);
    Table created.
    SQL> create or replace procedure dt_test_proc(an_id in dt_test_long.id%type)
      2  IS
      3
      4     lv_LongVal      VARCHAR2(32767);
      5
      6  BEGIN
      7
      8     SELECT
      9             big_text
    10     INTO
    11             lv_LongVal
    12     FROM
    13             dt_test_long
    14     WHERE
    15             id = an_id;
    16
    17     dbms_output.put_line(lv_LongVal);
    18
    19     --do whatever you want with the value here
    20
    21  END;
    22  /
    Procedure created.
    SQL> create or replace trigger dt_test_long_trg before insert on dt_test_long
      2  for each row
      3
      4  begin
      5
      6     dt_test_proc(:NEW.id);
      7  end;
      8  /
    Trigger created.
    SQL> set serveroutput on
    SQL> insert into dt_test_long values(1, 'Some text, some more text etc....');
    Some text, some more text etc....THT
    David

  • How do I put static text in a table on the first page only?

    I need to include a small static table on the first page of a report only. A table expects to be tied to a dataset. 
    Is there a way to include a small static table on the first page without linking it to a dataset? Or a workaround?
    Thanks.
    bill ross

    Hi Billrosspaxedi,
    Thanks for your posting.
    It will be benefit for whom have similar issue to resolve it.
    Regards,
    Heidi Duan
    If you have any feedback on our support, please click
    here.
    Heidi Duan
    TechNet Community Support

Maybe you are looking for

  • How to generate current time in the format yyyy-mm-ddThh:mm:ssZ in the xslt

    Hello, i am tring to generate current time in the format yyyy-mm-ddThh:mm:ssZ in my xlst file. the following info are necessary, <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:java="

  • Does an upgrade cure an update disaster?

    I have an iMac my family uses running Snow Leopard and during the automatic Software Update installation of the 10.6.8 Update last year the Mac hung: 10.6.8 update crashed before it completed and now the Finder won't launch. Fortunately for me, I had

  • I've installed Flash Player, why can't I play a swf file?

    I'm trying to play a swf file in Windows 7. I've been able to do this before many times, using Flash Player, but it doesn't work now. I've recently done a complete reinstall of Windows 7 and my apps, and this is the first time I've tried to play a sw

  • Password troubles

    Locked out of my phone. Entered a new password and forgot it. Tried to enter it too many times and now phone is disabled saying to connect to itunes. I connected to itunes and still can't get in. Any suggestions?

  • Multi Language Support Setup

    Hi Gurus, We have currently upgraded from 11i to R12.1.2 and we have decided to USE MLS & NLS(Multi Language Support) for the very 1st time.We have 4 Languages (American,Spanish,French,Portuguese) so when we query for data in tl tables(apterms_tl,ra_