Output Text value should be wrapped as per inputText, need solution please

   <af:showDetailItem id="chatTab" text="ShowDetailItem1" stretchChildren="first"
                                           inlineStyle="border-color:Maroon; border-style:solid; border-width:thin;">
                            <af:panelStretchLayout id="ss" startWidth="10px" endWidth="10px" topHeight="100px"
                                                   bottomHeight="50px"
                                                   inlineStyle="border-color:Green; border-style:solid; border-width:thin; height:inherit; width:inherit;">
                            <f:facet name="top">
                            <af:outputText id="outputText" partialTriggers="SSSS" value="#{BackingBean.chatInputText}"
                                                inlineStyle="border-color:Teal; border-style:solid; border-width:thin;"
                                                styleClass="outputstyle" noWrap="false"/>
                            </f:facet>
                            <f:facet name="end"/>
                            <f:facet name="start"/>
                            <f:facet name="bottom">
                            <!--<af:richTextEditor id="ssss" columns="30" rows="2" /> -->
                            </f:facet>
                            <f:facet name="center">
                            <af:inputText simple="true"  id="SSSS" rows="2"
                                          value="#{BackingBean.chatInputText}"   styleClass="AFStretchWidth" autoSubmit="true">
                            </af:inputText> 
                            </f:facet>
                            </af:panelStretchLayout>
                        </af:showDetailItem>
Output Text is showing beyond the panelstretchlayout

Hi User,
try with
inlineStyle='width:50px;white-space: normal;' the text will be wrapped.
@ VinayKumar2,
inlineStyle ="width:50px" will not be wrapped... it will show 50px width of the button.

Similar Messages

  • Output Text values getting duplicated when UDF attached to view form

    Hi Experts,
    I am getting a error where the output text is having duplicated values, when i am trying to attach existing UDF to view form. Like for instance, as mentioned below:
    Phone Number - 23456789
    State - CACA
    Country - UnitedStatesUnitedStatesUnitedStates
    When i add COuntry UDF, first it printed UnitedStates once, When i add State UDF, the country UDF value came as two time (UnitedStatesUnitedStates). When i added UDF Phone Number, Phone number came once, But state came twice (CACA) and Country came thrice (UnitedStatesUnitedStatesUnitedStates) and so on.
    The following are the two contrasting scenarios.
    1. First, I used existing UDFs which we created longback and tried attaching to the view form, I am getting the error i mentioned.
    2. Second is I created two new UDFs and attached to the view form, i am not getting any error. Its printing all the values once.
    It happened that i already customized the view form using Data Component - Catalog instead of Data Component - manage User for view form customization. I published that sandbox. Then I realized that it was a mistake, so i created a new sandbox, removed all the fields and then published that sandbox. The view form came back to as it was before modification. After that, i created one more sandbox, tried attaching UDFs to view form using Data Component - manage User---> UserV01, i am getting the error of multiple values as i mentioned above.
    Please guide on what i can do further to solve the error. Thank you for your timie in advance.
    Regards

    Hi Nishith,
    I think it's only display issue. We have contacted oracle and raised an SR. they say it's fine when they recreate the same scenario. As i said, this isuue is only when we use existing UDFs and the sandbox is already published. Thats the complication now.

  • How to Add/Edit/Delete UI Components(i.e not text values) in a UIContainer as per XML data using mxml.

    Hi All,
    I was asked to make a application for monitoring a remote devices and data is accessed through XMLSocket, the devices at the remote system could be added/deleted at runtime. and Web UI should act accotdingly. What is the best way of approch to implement it ?is it using mxml component or using action script?.I already implemented using mxml and could display devices in Web, for dynamic addiotion/deletion/edition of devices and its properties i'm looking for your inputs/suggestion.
    thanks in Advance.

    hi satyamurthy,
    assign unique name to each of the UIComponents adding to the container ( default stage )
    by using the name property of the components you can get the object from the container using
    container.getChildByName("name assigned to the property") this function will return as DisplayObject
    typecast the DisplayObject to the target class to that you can edit the object.
    example:
    var sp:Sprite = myContainer.getChildByName("one") as Sprite;   // here I am getting sprite reference with name 'one' from 'myContainer'
    sp.x=sp.x + 10;  // here I am editing the property 'x' of the Sprite whose name is 'one'
    Note : similarly you can perform operation on the sprite
    Deleting UIComponent:
    removeChild will be used to remove the child from the container where it is added
    container.removeChild(container.getChildByName("name assigned to the property"));
    If this post answers your question or helps, please mark it as such

  • OutPut text should expand by mouse click.

    Hi all.
    I am displayings comments of a particular request in OutPut Text. i want to display these comments as follow
    "your request is ap..." more by clicking "more" text should be expanded like below
    "your request is approved" less
    I am Using Jdeveloper 11.1.1.6.Please give me u r valuble suggestions.
    Thanks,
    Sai

    You can use a af:switcher component for this like:
    <af:panelGroupLayout id="pgl6">
                    <af:switcher id="s1" facetName="#{viewScope.ToggleBean.truncateLength eq 0 ? 'LONG' : 'SHORT'}">
                      <f:facet name="SHORT">
                        <af:outputText value="outputText2 long test this is a long text sdfhkjsdh sdkfhsdhf fskhdf skh sjdj skdhf kshf fkjshd kshf kjshf skjhh ksjjh kjsdh kshf ksjhf kjshf ksfkjkh hksjdhf kjksdhff "
                                       id="ot7" truncateAt="#{viewScope.ToggleBean.truncateLength}" partialTriggers="cb6" noWrap="true"/>
                      </f:facet>
                      <f:facet name="LONG">
                        <af:panelGroupLayout id="pgl5" inlineStyle="width:250px;">
                          <af:inputText label="Label 1" id="it2"
                                        value="outputText2 long test this is a long text sdfhkjsdh sdkfhsdhf fskhdf skh sjdj skdhf kshf fkjshd kshf kjshf skjhh ksjjh kjsdh kshf ksjhf kjshf ksfkjkh hksjdhf kjksdhff outputText2 long test this is a long text sdfhkjsdh sdkfhsdhf fskhdf skh sjdj skdhf kshf fkjshd kshf kjshf skjhh ksjjh kjsdh kshf ksjhf kjshf ksfkjkh hksjdhf kjksdhff outputText2 long test this is a long text sdfhkjsdh sdkfhsdhf fskhdf skh sjdj skdhf kshf fkjshd kshf kjshf skjhh ksjjh kjsdh kshf ksjhf kjshf ksfkjkh hksjdhf kjksdhff "
                                        wrap="soft" readOnly="true" simple="true" rows="#{viewScope.ToggleBean.truncateLength eq 0 ? 5 : 1}" partialTriggers="cb6"/>
                        </af:panelGroupLayout>
                      </f:facet>
                    </af:switcher>
                    <af:commandButton id="cb6" text="#{viewScope.ToggleBean.buttonText}" action="#{viewScope.ToggleBean.toggleMode}"/>
                  </af:panelGroupLayout>The bean is the same!
    Timo

  • Output text show Null when access value through property inspector in ADF

    Hi,
    we declare two UIComponents one is Deptno which is InputComboBoxListofValues and othre is Dname as output text.
    we create ManagedBean called "deptBean"(which is in BackingBeanScope) and create a method inside bean "deptnoChanged".
    ValueChangeListener of Deptno pointing to deptnoChanged method of deptBean.
    Inside deptBean we declare a variable private String departmentName which are having setter and getters.
    we can Initialize departmentName based on valueChangeEvent in bean level
    for example:
    if (deptno=10)
    setdepartmentName("Accounts");
    else
    setdepartmentName("Sales");
    Now we Can Access the Value of departmentName.
    The UIComponent(output text field) such as Dname in JSP Page we set value (in property Inspector)
    _#{backingBeanScope.deptBean.departmentName}_
    when we execte the JSP Page Dname show Null as output. but output we expect as Accounts or Sales only.
    Please help us, how to resolve the problem
    Thanks,
    kumar.

    when we execte the JSP Page Dname show Null as output. but output we expect as Accounts or Sales only.The value to be got while debugging should be via EL expressions and stored somewhere.
    If the value Dname is bound to the backing bean then you can view its value in the property inspector using
    #{<BeanScope>.<BeanName>.value} or the like

  • Output a text value from formula in query designer

    I need to display different text values in a query. For example, if actual delivery date falls within 5 days of planned delivery date, display 'ON-TIME'; if earlier than 5 days display 'EARLY', if later than 5 days display 'LATE', etc. I've been researching this to death. Does it have to be a customer exit variable or is there a better way to do this?
    thanks!

    Hello Jill,
    Yes creating three CKF's was correct and those will output a 1 if your condition satisfies else a zero. Create a new formulae and use a the  CKF's that you created and multiply with 2,3,4.
    Example : Formulae Description "Early=2" ,"Late =3","Ontime=4"
    Then your logic is "ckf12 + ckf23 + ckf3*4" which means only one will be true per line so it will result in either 2 or 3 or 4.You will see
    Delivery Date       Scheduled Date   "Early=2" ,"Late =3","Ontime=4"    
    12/20/2007            12/24/2007                          2
    12/22/2007            12/21/2007                          3  
    You will have to create a Text Variable with Customer Exit option which will say if output of  example Tech name of "Early=2" ,"Late =3","Ontime=4" is "ZEar_Lat_Otime"
    When "ZEar_Lat_Otime"
       if     Result= 2 then "Early",
       if     Result =3 then "Late"
      else  Result =4 then "Ontime"
      into   "Text_Variable"
    code to be some thing like that.
    Result Display:
    Delivery Date       Scheduled Date   "Early=2" ,"Late =3","Ontime=4"    
    12/20/2007            12/24/2007                          Early
    12/22/2007            12/21/2007                        Late
    Show your client the below result and see if he is OK with the result then you dont have to use Customer Exit.
    Delivery Date       Scheduled Date   "Early=2" ,"Late =3","Ontime=4"    
    12/20/2007            12/24/2007                          2
    12/22/2007            12/21/2007                          3

  • How to show exponent value in adf output Text

    Hi,
    How to show values in the table column output text with exponent values like 3 ^rd^ , 2 ^2^ , Hello ^R^,etc.. ?
    Do we have any RichFormatText for the ADF output Text?
    Thanks..

    yes...got it myself...thanks..

  • Issue using JS to change the value of an output text component dynamically

    I am developing an application and I need to change the output text component value at run time when the mouse moves over a field. I am using javascript and then using UIComponent.setproperty to change the value.
    I am not able to do this and am getting nothing.
    Kindly let me know what am I doing wrong
    I am using ADF 11g (10th November release).
    Regards,
    Deepak

    Hi i'm doing the same thing with an input text
    here is my code
    jspx:
    <af:inputText value="#{bindings.MiddleName.inputValue}"
    label="#{bindings.MiddleName.hints.label}"
    required="#{bindings.MiddleName.hints.mandatory}"
    columns="#{bindings.MiddleName.hints.displayWidth}"
    maximumLength="#{bindings.MiddleName.hints.precision}"
    shortDesc="#{bindings.MiddleName.hints.tooltip}"
    id="it4" autoSubmit="true">
    <f:validator binding="#{bindings.MiddleName.validator}"/>
    <af:clientListener type="valueChange" method="mo_UpperCase"/>
    </af:inputText>
    js:
    function mo_UpperCase(event){
    var inputField = event.getSource();
    if (event.getNewValue().toUpperCase()!=event.getNewValue())
    inputField.setValue(event.getNewValue().toUpperCase());
    In my case i change the input text to upercase when the value is changing
    I hope it works with output text also,
    change my examples clientlistener type from valueChange to mouseOver
    If you have more than one component and you need to pass parameters check this thread also:
    bug at af:clientAttribute 11.1.1.2.0
    Tilemahos

  • Get the value of output text box in javascript

    Hi all,
    I am trying to retreving the value of output text box using getElementById('form1:outputText3') but was not able to get it.
    Googled it but didnt find any way to get it on the page itself without going to backing bean
    jdeveloper version 10g
    Thanks in advance

    Hi,
    I think this is because out put text is not a component but text written to the page. So I thin you would have to parse the generated HTML for it or use a inputText field and set it to read only
    Frank

  • Multiline(Text should be wrapped) in a Label

    How do we put a Multilined (Text should be wrapped here) in a AWT Label.

    JLabels support HTML content, so just put what you want in html and use <br> (or
    if you're using xhtml) and the text will be as you format it.
    eg.
    JLabel label = new JLabel("<html>... blah.<br>blah...</html>");Hope this helps,
    Stef

  • How to populate data in MPP through F4 search help(the field should get filtered as per key)

    Dear Experts.
    I am new to ABAP and hence trying jmy hands on various ways of peforming a task.
    I have a requirement. I want to maintain a database tables through MPP :  ZLT_Auftrag (Refer Screen Shot 1: Doubt MPP1) and ZLT_Kunde (Refer Screen Shot2: Doubt MPP2)
    The fields of ZLT_Kunde are: K1, K2, K3
    The fields of ZLT_Auftrag are: A1, A2, A3, A4, P1 P2 and P3 are related as per the key field "A3"   (Here A3 = K2)
    I want the User to be able to Maintain this table through the Screen that I had created using MPP. (Plz refer the attached Screen Shot3:Doubt MPP3  of the SCREEN in MPP)
    When I populate the Kunde name(K1) in the SCREEN (Can be done by F4 Search help), then on hitting the pushbutton "Get Kunde" the  kunde Code (K2) appears . Now from here it can be deleted or even a new Kunde name and code can be saved dirctly to the database table : ZLT_Kunde. (Refer Screen Shoot4: Doubt MPP4)
    For Example for Kunde (K1)= BASF, Kunde Code (K2) = BSF, the Auftrag should be all those values from ZLT_Auftrag (where A3 = BSF)
    When I try to populate the Auftrag value on the SCREEN then on hitting F4 (already created for table ZLT_Auftrag in se11) then I get all the values of Auftrag (A1) from the table ZLT_Auftrag. (Ply refer Screen Shot 5: Doubt MPP5)
    MY REQUIREMENT: Here I want that either through F4 help or through drop down ONLY those values of Auftrag-A1 should appear on the SCREEN which satisfies the condition: A3 = K2
    I am unbale to get how to do that.
    I need your valuable suggstions.
    Regards
    Chandan

    And the  code of the MPP is:
    *& Module Pool       SAPMZDEMO_MPOOL_03
    PROGRAM  SAPMZDEMO_MPOOL_03.
    TABLES:  ZLT_MITA, ZLT_Kunde, ZLT_Auftrag, Zlt_Stdsatz.
    DATA: flg_lock  TYPE c,
    *      indx  TYPE i,
    *      indxk TYPE i,
    *      indxa TYPE i,
    *      TCNT TYPE sy-tabix,
          lv_msgv1  TYPE  sy-msgv1.
    *DATA: it_mita    TYPE TABLE OF ZLT_mita,
    *      it_kunde   TYPE TABLE OF ZLT_KUNDE,
    *      it_auftrag TYPE TABLE OF ZLT_AUFTRAG.
    *&      Module  STATUS_9000  OUTPUT
    *       text
    module STATUS_9000 output.
      SET PF-STATUS 'ZSTATUS01'.
    *  SET TITLEBAR 'xxx'.
      If flg_lock is Not initial.
        LOOP at Screen.
      If screen-group1 = 'G1'.
      Screen-input = 0.
      MODIFY SCREEN.
           Endif.
        ENDLOOP.
          MESSAGE s000(8i) WITH 'Mitarbeiter already locked by user' lv_msgv1.
      ENDIF.
    endmodule.                 " STATUS_9000  OUTPUT
    *&      Module  USER_COMMAND_9000  INPUT
    *       text
    module USER_COMMAND_9000 input.
    *To Populate Data into Mitarbeiter through Pushbuttons
      CASE sy-ucomm.
        When 'OK_GET'.
          Clear : flg_lock.
            IF ZLT_MITA-M1 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_MITA
                Where M1 = ZLT_MITA-M1.
    *To create a Lock Object so that when two or more employees are accessing the same data
    * at the same time then for the new user the data gets locked and only can been seen in
    *display mode
            IF sy-subrc = 0.
            CALL FUNCTION 'ENQUEUE_EZLT_MITALOCK'
             EXPORTING
               MODE_ZLT_MITA        = 'E'
               MANDT                = SY-MANDT
               M1                   = ZLT_MITA-M1
    *           X_M1                 = ' '
    *           _SCOPE               = '2'
    *           _WAIT                = ' '
    *           _COLLECT             = ' '
             EXCEPTIONS
               FOREIGN_LOCK         = 1
               SYSTEM_FAILURE       = 2
               OTHERS               = 3
            IF sy-subrc <> 0.
              flg_lock = 'X'.
              lv_msgv1 = sy-msgv1.
            ENDIF.
            ENDIF.
            ELSE.
                MESSAGE S000(8i) With 'Enter Mitarbeiter Name'.
            ENDIF.
        When 'OK_SAVE'.
           Modify ZLT_MITA.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETE'.
            IF ZLT_MITA-M1 is NOT INITIAL.
                DELETE
                FROM  ZLT_MITA
                Where M1 = ZLT_MITA-M1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *     When 'OK_FIRST'.
    *           indx = 1.
    *     When 'OK_NEXT'.
    *           indx = indx + 1.
    *     When 'OK_PREV'.
    *           indx = indx - 1.
    *     When 'OK_LAST'.
    *           Describe Table it_mita lines indx.
    *To Populate Data into Kunde through Pushbuttons
        When 'OK_GETK'.
            IF ZLT_Kunde-K1 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Kunde
                Where K1 = ZLT_KUNDE-K1.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEK'.
           Modify ZLT_Kunde.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEK'.
            IF ZLT_KUNDE-K1 is NOT INITIAL.
                DELETE
                FROM  ZLT_KUNDE
                Where K1 = ZLT_KUNDE-K1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *To Populate Data into Auftrag Through Pushbuttons
        When 'OK_GETA'.
            IF ZLT_KUnde-K2 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Auftrag
                Where A3 = ZLT_Kunde-K2.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEA'.
           Modify ZLT_Auftrag.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEA'.
            IF ZLT_Auftrag-A1 is NOT INITIAL.
                DELETE
                FROM  ZLT_Auftrag
                Where A1 = ZLT_Auftrag-A1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *To Populate Data into Position Thorugh Pushbuttons
        When 'OK_GETP'.
            IF ZLT_Auftrag-A2 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Auftrag
                Where A3 = ZLT_Kunde-K2.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEP'.
           Modify ZLT_Auftrag.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEP'.
            IF ZLT_Auftrag-A1 is NOT INITIAL.
                DELETE
                FROM  ZLT_Auftrag
                Where A1 = ZLT_Auftrag-A1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
        When 'OK_EXIT'.
           Leave Program.
        When 'OK_CLEAR'.
          Clear : ZLT_MITA, ZLT_KUNDE, ZLT_AUFTRAG.
    *              it_mita, it_kunde, it_auftrag,
          CALL FUNCTION 'DEQUEUE_EZLT_MITALOCK'
           EXPORTING
             MODE_ZLT_MITA       = 'E'
             MANDT               = SY-MANDT
             M1                  =  ZLT_MITA-M1
    *         X_M1                = ' '
    *         _SCOPE              = '3'
    *         _SYNCHRON           = ' '
    *         _COLLECT            = ' '
    ENDCASE.
    endmodule.                 " USER_COMMAND_9000  INPUT
    *&      Module  user_cmd_9000  INPUT
    *       text
    module user_cmd_9000 input.
      If sy-ucomm = 'OK_CANCEL'.
      LEAVE PROGRAM.
      ENDIF.
      IF sy-ucomm = 'OK_EXIT'.
          LEAVE PROGRAM.
      ENDIF.
    endmodule.                 " user_cmd_9000  INPUT

  • Copy fixed text values from shopping cart to PO in SRMSERVER 5.5

    Hi,
    We use SRMSERVER 5.5 and want to use text schemas with fixed values to allow the user to in the shopping cart select specific predefined texts that should be visible on the output of the PO.
    When looking at the IMG documentation for standard text schemas, there is one line saying "Note: The system can only copy the long texts for text types for which no fixed values have been defined in Customizing for the source text schema or for the text type in the follow-on document."
    Do you have any idea how we can copy the fixed values to the PO from the shopping cart? I have taken a look at BADI BBP_LONGTEXT_BADI but I am not sure how this badi coudl help for the transfer of fixed values.
    Thanks for any help,
    Christine Hammerströ

    Hi
    <b>Please go through this -></b>
    <u>SRM - SPRO Settings -></u>
    Text Types Menu Path : SPRO -> SAP Implementation Guide &#8594; Supplier Relationship Management &#8594; SRM Server &#8594; Cross- Application Basic Settings -> Text Schema -> Define Text Types
    Text Schema: Menu Path : SPRO -> SAP Implementation Guide &#8594; Supplier Relationship Management &#8594; SRM Server &#8594; Cross- Application Basic Settings -> Text Schema -> Define Text Schema
    Fixed Values: Menu Path : SPRO ->SAP Implementation Guide &#8594; Supplier Relationship Management &#8594; SRM Server &#8594; Cross- Application Basic Settings -> Text Schema -> Define Fixed Values for Texts
    <u>Please read note 425117 and 581594.</u>
    <b>Related links -></b>
    Re: Reason code required for movement type 122
    Re: Changing properties of long text box
    Hope this will help. Do let me know.
    Regards
    - Atul

  • Output text component new line

    HI Team,
    I am picking up a value from resouce bundle for output text component.
    I wish to display data in output text component to display data after a new line.
    Suppose the message is coming as How are you.Welcome
    Now it should come as
    How are you
    Welcome
    Any help how is this achievable.
    I am working on Jdev 11.1.1.6
    Regards,
    Ajay

    Hi Team,
    The issue is resolved now.
    I have changed the escape property of output text component. to false so as to avoid the <br /> being HTML-escaped. and at the value level have used like
    <af:outputText value="#{XX.YOUR_REQUEST_HAS_BEEN_SUBMITTE}&lt;br />&lt;br />#{XX.YOUR_REQUEST_HAS_BEEN_SUBMITTE1}"
                                         id="ot10" escape="false"/>
    Where XX.YOUR_REQUEST_HAS_BEEN_SUBMITTE=Value1 and YOUR_REQUEST_HAS_BEEN_SUBMITTE1=Value2 in my resource bundle file.
    Output is coming as
    Value1
    Value2
    Does any one know how can i mark it as correct , can't see it after the forums upgrade to new one.
    Message was edited by: Ajay

  • Retrieve RowSet and Display in Output Text Component

    To retrieve a row object, took more effort than I expected with this tool. I wanted to populate a simple output text component with a db object pulled from a row, and I binded it to the rowset column. It worked great, but it kept retrieving the first row, since in the JSP it was calling this:
    #{questionsetup.questionRowSet.currentRow['question']}
    To get it to increment rows per output text component I did this:
    questionRowSet.setDataSourceName("java:comp/env/jdbc/SelfService");
            questionRowSet.setCommand("SELECT ALL dbo.Question.quesId, dbo.Question.question, dbo.Question.lastChangeDate  FROM dbo.Question");
            questionRowSet.execute();
            questionRowSet.next();
            outputText3.setValue(questionRowSet.getString("question"));
            questionRowSet.next();
            outputText4.setValue(questionRowSet.getString("question"));
            questionRowSet.next();
            outputText5.setValue(questionRowSet.getString("question"));Is there another way to do this automatically? The Studio Creator way? Or is this correct? The Studio Creator help file explains how to bind a simple component, and using the binding, but it even says it will retrieve the data in the first row. Incremenet rows or specifying a specific one would really help!
    Thank you very much!

    Maybe take control of the Select statement myself...
    So I decided to get the MIN value of my ID
    like this
    "select MIN(T21id) AS ttt from persons"
    now this is valid in SQLyog
    BUT Creator says
    Description: An unhandled exception ...
    Exception Details: javax.faces.el.PropertyNotFoundException
    Invalid column name: BaseRemuneration
    nb why is this "unhandled" since it is inside a try block?
    why does it mention BaseRemuneration which is a completely different but valid column??
    So Sun Creator will accept an unknown subset of valid SQL commands, and give bizarre irrelevant exception error messages on the set of valid SQL statements that it doesnt like.
    The documents appear to state that MIN is not handled by the IDE but can be entered manually.
    In fact it can NOT be enmtered manually.
    So is there an accurate list of valid SQL that is accepted?

  • Best practice: text/value formatting based on a value

    Hi all.
    How would you make a field display different text/value based on the actual value of a field?
    I have a field in a bean called retriesPerSecs. If this value is less than 1, then I want to display the text/value "{retriesPerSecs*60} retries per minute". If the value is higher than 1, then I'd like to display "{retriesPerSecs} retries per second". The value in the bean should always be retries per second.
    Should I make a converter to do this, or is there a smarter way to accomplish this?
    Thanks,
    R

    Hi,
    I don't know if when you say "the value in the bean has to be always be retries per second" means that for some specific reason you need to bind that component to that property, but if is not, i think you have two more options..
    1. Build the whole text on your backing bean based on retriesPerSecs property.
    2. Or bind the value to two properties, like value="#{retriesPerSecs*60} #{textDescription}", where text description evaluates what you have to show.

Maybe you are looking for

  • How to display an animated image of any sort in centre of screen

    Hi, Would really appreciate some help on how to present the user with a animated image in the centre of the screen whilst a user is waiting for a operation to load/complete. I basically have a situation where a user presses a button to load a CSV fil

  • Not receiving group iMessages/texts

    First off - i know there have been lots of threads similar to this.  I've looked through those and tried the suggestions, but to no avail. I'm still left with the same issue. I've switched back and forth between my iPhone and Android phones for a cou

  • Word 2007 file PDF -- Text comes through garbled!

    I'd love some help with this if possible; I can't seem to figure out why the text becomes garbled when it's converted into a PDF, but i do know that it doesn't always happen during the conversion stage. It may convert just fine, then later when i re-

  • Photoshop CS6 (CC) とwacomの使用で残念な不具合多々 macOS 10.8

    業務でポスター原稿等の大型データをレタッチするためにphotoshopとwacom intuosを使用しています. レイヤーをかなり積み重ねるため.時にレイヤー状態で10GBを超えることも多々あるのですが. こういった重たいデータをあつかう際に.問題が起きているのでご報告を. もしかるするとphotoshopではなくwacomドライバに起因するトラブルかもしれませんが. みなさまと情報を共有したいためこちらに書き込ませていただきます. 私の作業環境 macpro2012 2.4Ghz 12コア

  • Replacing a active counter in a maintenance plan

    Hopefully someone can help.... I have a strategy plan that schedules off a counter. Now this same counter is used in various other plans so I don't want to replace it. I just want to pull it from the current plan, and replace it with a new counter I