Flahing output text

Hi All,
i have an adf page that i am displaying status's on they are retrived from a database table...
i just wanted to know if it was possible to have these status's displayed (currently as output text) with some sort of flashing java script around them...
is the best way to create some gif files and have them displayed instead of the output text...
i am using jdeveloper 10.1.3 and oracle 10g...
any help would be really be appriciated...
thanks

Hi,
you can always add JavaScript on the page, set clientComponent="true" on the output text, find a component handle on the page and do the flashing thing. However, I think that using animated gif is more robust, less error prone and easier to implement
Frank

Similar Messages

  • How can I output text in a browser window in JAVA?

    How can I output text in a browser window in JAVA?

    "response.getWriter().print()" is the most common method when using servlets

  • Iterate over some output text in a panel Grid

    Hello folks
    Are any of you doing something like this in JSC
    <code>
    <%
    for (int i = 0; i<4; i++)
    %>
    <h:panelGrid bgcolor="gray" binding="#{Page1.gridPanel1}" id="gridPanel1" style="height: 73px; left: 0px; top: 120px; position: absolute" width="216">
    <h:outputText binding="#{Page1.outputText1}" id="outputText1" value="Author"/>
    <h:outputText binding="#{Page1.outputText2}" id="outputText2" value="Summary"/>
    <h:outputText binding="#{Page1.outputText3}" id="outputText3" value="Article link"/>
    </h:panelGrid>
    <%
    %>
    </code>
    What I'm trying to do is something like data table, except that I want to have control over where the output text goes, and how it is presented.
    In data table all I get is a predefined table (I�m unable to format it the way I would like) so lets do it the old way - link some output text to a database or maybe an array which holds the "data" then loop over it x number of times to display the content kind of like this
    For (less than x times) do
    Author name
    Date article written
    Summary article
    Link to more of the article
    This would be the way I used to this, now I�m curios how this is done using JSF
    <% loop here %> does not mix well in Creator, error not well formed
    I�m unable to format a data table in any respect except number of rows and stuff
    So Any suggestion on how to really do this effectively in JSC/JSF
    Thanks Bjorn

    Hi,
    Actually, you have quite a bit of flexibility with the Data Table component.
    You can add more than one component to a column,
    and you can use an outputText component to hold
    HTML formatting tags, such as <br>.
    Note: you must uncheck the escape attribute.
    And since the data table component produces an HTML <table> tag,
    you can also control style with additional style sheet classes (see Tor's blog).
    For an example of using the Data Table component
    to display the resuts of the Google search web services,
    See Beyond the Book at this URL:
    http://www.asgteach.com/download/beyond.pdf
    The relevant description is section A.5 beginning on page 24.
    Hope this helps.
    --Gail A.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Convert created idoc to an output text file

    Hi,
    How can i convert an idoc to an output text file? is there a standard program in SAP that does this?
    Thanks,
    Tots

    Hi,
    We can do it.
    The steps are
    1. Create a xml file port (we21)
      2. Create a partner profile point to the file port.
      3. Make sure the idocs are genereated.
    4  . Run the staandard program (RSEOUT001) with the port and required details in teh selection screen.
    The idocs will be generated to a xml file .
    Regards

  • 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..

  • How to check && condition in output text

    I want to check a condition like this in output text
    <af:outputText id="t1" value = "#{empty bean.text1 && empty bean.text2 ? 'temp1' : 'temp2' " />
    It throws an error saying "Expected name instead of

    If you are editing the el expression in source tab of your jsff/jspx file use the below el:
    <af:outputText id="t1" value = "#{empty bean.text1 *&amp;&amp;* empty bean.text2 ? 'temp1' : 'temp2' " />
    If you use the el: <af:outputText id="t1" value = "#{empty bean.text1 && empty bean.text2 ? 'temp1' : 'temp2' " /> in the property inspector, then it gets converted to the above expression.
    Hope it helps.

  • ADF Faces Output Text - Automatic Update?

    Say you had a stock value in a view object as an output text field that updates in the view object once a minute. During this time, validate() is called on the row (which i thought would update the client). How can i get the client web page to update the field automatically?
    OR
    Have the client request an update of the text field from the view object once a minute?

    +1
    its the only way you could handle this. In JDeveloper 11 there will be a technology available for pushing such information to the cient. But in 10.1.3.x poll is the only option you have.
    Frank

  • 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.

  • 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

  • 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

  • Problem of diappeared output text as soon as page refreshes

    Hi all,
    I have jspx page with following code
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:trh="http://myfaces.apache.org/trinidad/html"
              xmlns:tr="http://myfaces.apache.org/trinidad"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <af:document>
          <af:form>
          <af:inputText label="Input some text" id="input" clientComponent="true"/>
          <af:commandButton text="Say Hello">
    <af:clientListener method="sayHello" type="action" />
    </af:commandButton>
    <af:outputText id="greeting" value="" clientComponent="true"/>
    <trh:script>
    function sayHello(actionEvent)
    var component=actionEvent.getSource();
    //Find the client component for the "greeting" af:outputText
    var greetingComponent=component.findComponent("greeting");
    //Set the value for the outputText component
    greetingComponent.setValue("Hello World !");
    </trh:script>
    </af:form>
        </af:document>
      </f:view>
      <!--oracle-jdev-comment:deviceCategory:pda-->
    </jsp:root>When I run this page in output I get an InputText box and a command button "Say Hello" . When I click on the button it shows message "Hello World" for a while and then page gets refreshes and "Hello World" message disappears.
    Is it possible to retain that message? Is it possible to display that message without clicking command button ? How it can be done - Please tell ?
    Thanks !

    Hey branislav,
    Thanks a lot. I figured out problem in my code after looking at your code.
    Now my following modified code is working fine. Problem was I need not to include input text and command button components in <af:form> tag. Only output text need to included in <af:form> tag.
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:trh="http://myfaces.apache.org/trinidad/html"
              xmlns:tr="http://myfaces.apache.org/trinidad"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <af:document>
          <af:inputText label="Input some text" id="input" clientComponent="true"/>
          <af:commandButton text="Say Hello">
            <af:clientListener method="sayHello" type="action"/>
          </af:commandButton>
          <af:form>
            <af:outputText id="greeting" value="" clientComponent="true"/>
          </af:form>
    <trh:script>
    function sayHello(actionEvent) {
         var  component=actionEvent.getSource(); //Find the client component for the "greeting" af:outputText var
          greetingComponent=component.findComponent("greeting"); //Set the value for the outputText component
          greetingComponent.setValue("Hello World !");
    </trh:script>
        </af:document>
      </f:view>
      <!--oracle-jdev-comment:deviceCategory:pda-->
    </jsp:root>Thanks !

  • Sales order information in Output text as subject in External Email

    Dear Expert
          Request to guide me with the steps involved to configure output text for the information of sales order to be sent to customer via e mail once the order is svaed.

    Hi Amit,
    Please go through the document given below. Hope it helps.
    Output generation using condition type for deliveries - emailing output
    Specially see the martina's reply.
    Please also go through the notes given below.
    960088 FAQ: Sending SD messages externally
    454893 CHECKLISTSD: Sales document output as an e-mail
    152474 Testing fax and e-mail
    Regards,
    MT

  • Truncate output text in hierarchyViewer component

    Hi,
    I want to display the text with truncated to 30 characters only. I identified the outputText and added the truncateAt attribute and set it to 30. but it doesn't seem to work. Moreover the line - truncateAt="30" is underlined with orange squiggly lines indicating that there is some error and when I mouse over it , it says that this attribute is not supported when the component is inside of a hierarchyViewer component.
    Any pointers how can I truncate the output text to 30 characters only?
    Thanks,
    Dhirendra

    hi Vinod,
    Thanks for the reply.
    I have run it and it doesn't work. Use case is that we have a hierarchy viewer and I want to just truncate the long names of the Node Title.
    Here is my local deploy link
    http://rws65447fwks:7101/projectsManagement/faces/ResourceManagementDashboard
    All I want to do is truncate the Node Title and limit it to lets say 30 characters. So "Resources with No Pool Membership" becomes "Resources with No Pool Mem..."
    I tried to change in the jsff file and add the attribute called truncateAt and set it to 30, but as I said it says by underlying squiggly lines that the attribute is not supported.
    Please let me know against what team should I file a bug? or it has to bean SR?
    Thanks,
    Dhirendra

  • 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?

Maybe you are looking for

  • Shot in 4:3 need to create in 16:9

    I've shot some material in 4:3, the client is going to buy a flat screen monitor for playback in his bakery, since most flat screens are 16:9 I would like to assemble the sequence to take advantage of the full width, an example might be putting the 4

  • Java wont run when opening applications

    I have had this Macbook pro for about two years now. I am running 10.7.5 and am using java Version 7 Update 10. However, whenever I try opening apps such as oovoo,  this pop up apears. I AM CONNECTED TO THE INTERNET BY THE WAY!!!!!!!! It is not a wif

  • We want to create a photobook using iPhoto 11. Photos from shared libraries keep disappearing. Why?

    Photos sent to a photobook from a shared library disappear. Why and how can we "save" the photobook to enable further work on it as a later date.

  • Lion versus Snow Leopard, a new MAC Book Pro series coming?

    My son is looking for a new laptop. He would opt for function over portability. Therefore larger MAC Book Pro makes sense but seems as if MAC Book Air has newer operating system so concern is life.

  • Quick Camera function

    Hello When I use the quick camera launching via the button on the side (the phone is in locked mode when I try this), the camera shows up as is should but when I try to change the camera mode, like from automatic to manual mode, the camera close and