Refreshing UI Elements

Dear developers,
What is the general way to refresh a UIElement when one of its "source" binding has changed? Rebind the source ? Is there any "hidden" call somewhere that can be performed?
Regards,
Olivier MATT

Hi Olivier.
1. If you just change the value of an context attribute which is bound to any UI-
Element, the UI-Element gets refreshed automatically if your change triggers a
roundtrip. So If you change the value inside an action for example the UI-ELement
will be updated.
2. The supply method is only called once that is in the moment the context node
changes by adding a new element. But a supply method is not a must. You can
fill the context node with elements or change a certain element in any method
(action, inbound plug) you want to by getting a refernce to the node and bind a
table for example. But as hack you can call the supply method directly which is
not the best design I guess ...
But from your initial post I had the feeling you want to know how to refresh the UI-
Element if the binding of one of its attributes changes to another context
node/attribute, right?
I would guess that if you change the binding by calling:
lr_uielement->bind_*( 'NODE.ATTRIBUTE' )
the change should be visible directly after the roundtrip was triggered.
Cheers,
Sascha
Message was edited by:
        Sascha Dingeldey

Similar Messages

  • How to...refresh specific elements (graphs) within a web-template

    Dear experts,
    I am at the moment developing a warehouse monitoring tool which will display "live" warehouse performance information directly in the warehouse to the operators on a big screen.
    We are using different graphs (speedometer, etc...) on one web-template and we want to refresh them automatically in regular intervals (every 1 min). But we do not want to refresh the whole website - but only the specific BW elements within the website.
    Is there any way we can do this?
    Thanks a lot for your support.
    Cheers
    Joe

    The only way to do a refresh for only an specific part of a Web Application, is using IFRAMES.
    http://www.w3schools.com/TAGS/tag_iframe.asp
    You must create another template that only would have the chart that you want to refresh automaticly.
    The function for do the automatic refresh is this.
    function refresh() {
      location.reload(true)
    /* Set the number below to the amount of delay, in milliseconds,
    you want between page reloads: 1 minute = 60000 milliseconds. */
    window.setInterval("refresh()",300000);
    // End -->
    Greetings.

  • Jcombobox don't refresh the element

    When i press on change button, the combo box don't shows the new elements, why?
    how i can correct this problem without use the combobox.addItem() method for each element in the arraylist?
    package combobox;
    import java.awt.FlowLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.util.ArrayList;
    import javax.swing.JButton;
    import javax.swing.JComboBox;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class UpdateElement extends JPanel implements ActionListener {
         private static final long serialVersionUID = 1L;
         private ArrayList customerBeanList = null;
         private JComboBox jcb = null;
         public UpdateElement() {
              JFrame f = new JFrame("Test");
              f.getContentPane().setLayout(new FlowLayout());
              f.addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e) {
                        System.exit(0);
              customerBeanList = getCustomerBeanListFirst();
              jcb = new JComboBox(customerBeanList.toArray());
              f.getContentPane().add(jcb);
              f.getContentPane().add(createButtonPanel());
              f.pack();
              f.setSize(300, 120);
              f.setVisible(true);
         private ArrayList getCustomerBeanListFirst() {
              customerBeanList = new ArrayList(3);
              customerBeanList.add(new CustomerBean(1, "customer3", "xxx"));
              customerBeanList.add(new CustomerBean(2, "customer2", "yyy"));
              customerBeanList.add(new CustomerBean(3, "customer3", "zzz"));
              return customerBeanList;
         private ArrayList getCustomerBeanListSecond() {
              customerBeanList = new ArrayList(4);
              customerBeanList.add(new CustomerBean(23, "customer9", "aaa"));
              customerBeanList.add(new CustomerBean(36, "customer10", "bbb"));
              customerBeanList.add(new CustomerBean(67, "customer11", "ccc"));
              customerBeanList.add(new CustomerBean(41, "customer12", "dd"));
              return customerBeanList;
         public static void main(String s[]) {
              new UpdateElement();
         private JPanel createButtonPanel() {
              JButton changeJB = new JButton("Change");
              changeJB.addActionListener(this);
              JPanel panel = new JPanel();
              panel.setLayout(new FlowLayout(FlowLayout.CENTER, 0, 0));
              panel.add(changeJB);
              return panel;
         public void actionPerformed(ActionEvent e) {
              customerBeanList = getCustomerBeanListSecond();
              jcb = new JComboBox(customerBeanList.toArray());
    }

    jcb = new JComboBox(customerBeanList.toArray());This creates a new combobox, but you didn't add it to the GUI.
    The easiest way is to create a new model and then reset the model of the existing combobox:
    ComboBoxModel model = new DefaultComboBoxModel( customerBeanList.toArray() );
    comboBox.setModel( model );

  • How do I reset / refresh slide elements on enter in Captivate 6?

    I have a Captivate 6 movie that has a number of user-triggered advanced actions in the form of case studies / character scenarios. These interactions enable learners to watch displayed information, answer questions and recieve feedback.
    I need these screens to automatically reset themselves if the learner navigates back to them. I know I can create a complex advance action to undo everything on screen entry but I'm guessing there is a better way. Is there a simple Advanced Action or javascript that I can assign to the On Enter function of the slide?

    Thanks Rod and Lilibiri.
    There are two different types of slides that I want to reset:
    Avatar - User clicks on an image (play icon) to trigger an advanced action that simply hides the icon and initial character image, plays audio as well as shows a couple more images of the character on time delay so it looks as if it is talking (in a stilted way)
    Case Study - User clicks on an image (play icon) to trigger an advanced action that simply hides the icon and two initial character images, plays audio, shows more time delayed images and conversation bubbles (so it looks like the characters are talking), and displays a question with answer options. The user then clicks on their response which triggers another advanced action that shows a few images (ticks / crosses / character images change and conversation bubbles) as well as plays more audio.
    It's really just straight forward show and hide functions that I am trying to reset. I have been able to create an advanced action for each type of slide that is applied on slide enter that essentially 'undoes' (that is reverse hides and shows) everything from the user triggered interactions.
    Its a pretty cumbersome solution, but I don't have a lot of experience / knowledge of using variables, conditional actions or javascript. I was just hoping that there might have been a way of entering a standard javascript code that was actionable on slide enter to clean it all up for me, or a similar approach with variables.

  • Refresh the elements on screen

    Hello,
    I have added lines to JTextArea.
    I want, that when the program is bussy,
    I still see the changes on the JTextArea.
    I have tested :
    repaint(), invalidate(), validate()
    (I don't know what is the different).
    but the changes are not seen on screen.
    Thanks :)

    Here's an example
    * ThreadTest.java
    * Created on 31 August 2007, 14:32
    import javax.swing.JFrame;
    import javax.swing.JTextArea;
    /** @author amalcolm */
    public class ThreadTest extends JFrame
        private JTextArea m_textArea=new JTextArea();
        public ThreadTest()
            setSize(300,300);
            setTitle("Thread Test");
            setVisible(true);
            add(m_textArea);       
            Thread thread=new Thread(new Runnable()
               public void run()
                   while(!Thread.interrupted())
                        m_textArea.setText(m_textArea.getText()+System.currentTimeMillis()+"\n");
                        try
                            Thread.sleep(1000);
                        catch (InterruptedException ex)
                            ex.printStackTrace();
            thread.setDaemon(true);
            thread.start();
        public static void main(String[] args)
            new ThreadTest();       
    }

  • Root element charts not defined in schema error??

    My xsd file is
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema targetNamespace="http://www.datastay.com/schema" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:target="http://www.datastay.com/schema">
         <xs:element name="time" type="xs:positiveInteger" default="1"/>
         <xs:element name="timeType" default="weeks">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="days"/>
                        <xs:enumeration value="weeks"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="refresh">
              <xs:complexType>
                   <xs:all>
                        <xs:element ref="target:time"/>
                        <xs:element ref="target:timeType"/>
                   </xs:all>
              </xs:complexType>
         </xs:element>
         <xs:element name="query">
              <xs:complexType>
                   <xs:simpleContent>
                        <xs:extension base="xs:string">
                             <xs:attribute name="series" type="xs:string" use="required"/>
                        </xs:extension>
                   </xs:simpleContent>
              </xs:complexType>
         </xs:element>
         <xs:element name="chartDefinition">
              <xs:complexType>
                   <xs:all>
                        <xs:element ref="target:refresh"/>
                        <xs:element ref="target:query"/>
                   </xs:all>
                   <xs:attribute name="id" type="xs:ID" use="required"/>
                   <xs:attribute name="title" type="xs:string" use="required"/>
                   <xs:attribute name="type" type="xs:string" use="required"/>
                   <xs:attribute name="xaxislabel" type="xs:string" use="required"/>
                   <xs:attribute name="yaxislabel" type="xs:string" use="required"/>
                   <xs:attribute name="classType" default="com.dms.chart.DefaultChartBusinessHandler">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:enumeration value="com.dms.chart.DefaultChartBusinessHandler"/>
                                  <xs:enumeration value="com.dms.chart.PieChartBusinessHandler"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
                   <xs:attribute name="width" type="xs:int" default="500"/>
                   <xs:attribute name="height" type="xs:int" default="500"/>
                   <xs:attribute name="chartColor" type="xs:string" default="#FFFFFF"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="charts">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="target:chartDefinition"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>
    My xml file is
    <?xml version="1.0"?>
    <charts xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Tomcat4\webapps\chart\WEB-INF\files\chartdefs.xsd">
    <chartDefinition id="1" title="Monthly Logins" type="verticalbar3d" xaxislabel="Month" yaxislabel="Logins" classType="com.dms.chart.DefaultChartBusinessHandler" width="500" height="750" chartColor="#FFFFFF">
    <refresh>
    <timeType>
    minutes
    </timeType>
    <time>
    1
    </time>
    </refresh>
    <query series="john">
              select * from defaultchart where name = 'john'
    </query>
    <query series="max">
              select * from defaultchart where name = 'max'
    </query>
    </chartDefinition>
    <chartDefinition id="2" title="Average Workflow life span" type="pie3d" xaxislabel="Workspace" yaxislabel="Days" classType="com.dms.chart.PieChartBusinessHandler" width="500" height="500" chartColor="#FFFFFF">
    <refresh>
         <timeType>
    minutes
    </timeType>
         <time>
    5
    </time>
    </refresh>
    <query series="john">
         select * from defaultchart where name = 'mike'
    </query>
    </chartDefinition>
    </charts>

    Copy the schema and the XML document to the same directory.
    The root element of the XML document specifies the location of the schema.
    <?xml version="1.0"?>
    <charts xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="chartdefs.xsd">The xs:schema element:
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

  • Refresh buttom missing in the S_ALR_87013554 report in ECC6.0

    Hi,
    We have recently upgraded SAP from 4.6B to ECC6.0. We found that the refresh button is missing in the S_ALR_87013554 report. It was available in 4.6B.
    whether it is default error in ECC6.0 that the refresh button is missing? Is it a SAP standard error? Is there any way to address this error?
    Appreciate your help.
    Regards,
    Harish

    go to
    settings -> option
    check the expert mode box
    Now go to menu path
    report -> refresh
    you can refresh this report
    this was always the way to refresh cost element reports - it has nothing to do with your upgrade

  • Refresh in Visual Composer

    Hi Experts,
    Can anyone tell how to refresh the events ("SUBMIT") in visual composer.Where to set or see the event settings??
    roshini

    Hi Roshni,
    Can you explain in detail what type of event do you want to put on your form. Do you want to refresh the elements on your form by clicking some button?
    About where to set the event settings, follow the following steps:
    a) Select the outline of your Form and then click the Configure button in the task-panel
    toolbar. The fields and controls in the form are displayed in the table at the bottom of the
    task panel.
    b) Click the Plus (Add) button at the bottom of the task panel. The New UI Control dialog
    box is displayed.
    c) From the Select control type list, choose Pushbutton and in the Field name field, enter a name. This creates a new control in your Form.
    d) Right-click the button, choose Properties from the context menu and click the Action tab to define the event that is associated with the button.
    f) Now if you want to submit the data entered in this form, you can set Action Type as System Action, and select the action from drop down as 'Submit Form'. Else you can define your own custom action by setting the Action Type as Custom Action and the defining your own action.
    By the way, the if some event can be put on some UI element, it has to be defined in the same way, ie by going to the properties of that element.
    See if this solves your problem, otherwise please explain in detail what event do you want to be put.
    Bye
    Ankur
    Reward points if it helps!!

  • BW Bex Text Elements

    Hello
    Can anyone tell me if it is possible to just display the Author and the last refreshed text elements instead of all the elements in the general group.
    I have some picky users and all they want is those two bits of information.

    But Andrea, I believe it is quite possible to do that with no extra efforts in the Information task in teh web template. I have no clear cut idea but I see them in every bookmark I get everyday, Whichmeans it is pretty much possible and not a major taks to accomplish as it is provided by SAP. Just search for relevant theory in help. You wil find it.

  • About creating an AJAX page with DML procedures  using dynamic actions

    About creating an AJAX page with DML procedures in APEX using dynamic actions. Help with limitations.
    I want to share my experience, creating AJAX procedures in APEX 4.0.
    LIMITATIONS
    •     How Can I Hide UPDATE button while I press NEW button. ??
    •     How Can I Hide CREATE button while I’m UPDATING A RECORD. ??
    •     How can I avoid multiple Inserts or Updates. ??
    Here are the steps to create an AJAX Updatable Form using the sample table DEPTS. You can see the demo here: [http://apex.oracle.com/pls/apex/f?p=15488:1]
    1)     Create a blank page
    2)     Add a Report Region for departments (It shows the columns deptno, dname and loc).
    3)     Add an HTML Region and create the elements to edit a Department.
    a.     P1_DEPTNO (Hidden to store PK)
    b.     P1_DNAME (Text Field)
    c.     P1_LOC (Text Field)
    4)     You also have to create a hidden element called P1_ACTION. This will help to trigger dynamic actions to perform DMLs.
    5)     Open Page Attributes and in the HTML Header Section include the following code.
    <script>
         function doSelect(pId){
              $x_Value(‘P1_DEPTNO’,pId);
              $x_Value(‘P1_ACTION’,’SELECT’);
    </script>
    6)     Modify the column DEPTNO in the report, to add column link. In the link text you can use #DEPTNO# , in target you must select ‘URL ‘ and in the URL field write javascript:doSelect(#DEPTNO#);
    7)     Create the following Buttons in the Form Region.
    CANCEL     Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’CANCEL’);
    NEW          Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’NEW’);
    SAVE          Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’UPDATE’);
    CREATE          Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’CREATE’);
    8)     Create the following Dynamic Action to Select a Department
    Name:     Select Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     SELECT
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    SELECT dname, loc
    INTO :P1_DNAME, :P1_LOC
    FROM dept
    WHERE deptno = :P1_DEPTNO;
    Page Items to Submit:     P1_DEPTNO, P1_DNAME, P1_LOC     
    Don’t include any false action and create the Dynamic Action.
    The first limitation, the value of page elements don’t do refresh so I added the following true actions to the dynamic action AFTER Execute PL/SQL Code.
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_DNAME
    Page Items to submit:     (none) (leave it blank)
    Affected Elements: Item P1_DNAME
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_LOC
    Page Items to submit:     (none) (leave it blank)
    Affected Elements: Item P1_LOC
    These actions allow refresh the items display value.
    9)     Create the following Dynamic Action to Update a Department
    Name:     Update Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     CREATE
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    UPDATE dept SET
    dname = :P1_DNAME,
    loc = :P1_LOC
    WHERE deptno = :P1_DEPTNO;
    Page Items to Submit:     P1_DEPTNO, P1_DNAME, P1_LOC     
    Don’t include any false action and create the Dynamic Action.
    Include the following True Actions BEFORE the Execute PL/SQL Code true Action.
    Action:     Set Value
    Unmark ‘Fire on page load’ and ‘Stop execution on error’
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_DNAME
    Page Items to submit:     P1_DNAME
    Affected Elements: Item P1_DNAME
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_LOC
    Page Items to submit:     P1_LOC
    Affected Elements: Item P1_LOC
    These actions allow refresh the items display value.
    Finally to refresh the Departments report, add the following true action at the end
    Action:     Refresh
    Affected Elements: Region Departments
    10)     Create the following Dynamic Action to Create a Department
    Name:     Create Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     CREATE
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    INSERT INTO dept(deptno,dname,loc)
    VALUES (:P1_DEPTNO,:P1_DNAME,:P1_LOC);
    Page Items to Submit:     P1_DEPTNO, P1_DNAME, P1_LOC     
    Don’t include any false action and create the Dynamic Action.
    Include the following True Actions BEFORE the Execute PL/SQL Code true Action.
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Function Body
    PL/SQL Function Body:     
    DECLARE
    v_pk NUMBER;
    BEGIN
    SELECT DEPT_SEQ.nextval INTO v_pk FROM DUAL;; -- or any other existing sequence
    RETURN v_pk;
    END;
    Page Items to submit:     P1_DEPTNO
    Affected Elements: Item P1_DEPTNO
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_DNAME
    Page Items to submit:     P1_DNAME
    Affected Elements: Item P1_DNAME
    Action:     Set Value
    Unmark ‘Fire on page load’ and ‘Stop execution on error’
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_LOC
    Page Items to submit:     P1_LOC
    Affected Elements: Item P1_LOC
    These actions allow refresh the items display value.
    Finally to refresh the Departments report, add the following true action at the end
    Action:     Refresh
    Affected Elements: Region Departments
    11)     Create the following Dynamic Action to delete a department
    Name:     Delete Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     DELETE
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    DELETE dept
    WHERE deptno = :P1_DEPTNO;
    Page Items to Submit:     P1_DEPTNO
    Don’t include any false action and create the Dynamic Action.
    Include the following True Actions AFTER the Execute PL/SQL Code true Action.
    Action:     Refresh
    Affected Elements: Region Departments
    Action:     Clear
    Unmark ‘Fire on page load’
    Affected Elements: Items P1_DEPTNO, P1_DNAME, P1_LOC
    12)     Finally Create the following Dynamic Action for the NEW event
    Name:     New Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     NEW
    Action:     Clear
    Unmark *‘Fire on page load’*
    Affected Elements: Items P1_DEPTNO, P1_DNAME, P1_LOC

    I need some help to solve this issues
    •     How Can I Hide UPDATE button while I press NEW button. ??
    •     How Can I Hide CREATE button while I’m UPDATING A RECORD. ??
    •     How can I avoid multiple Inserts or Updates. ??

  • Apex 4.0 Image Buttons to update SQL Where clause of Report?

    I made a table called Letters with 1 column in it called Letter and the data in it is simply A,B,C, to H. I made an apex form around this table and then created two image buttons A and B that display above the reporting area b/c i want to be able to click on the A image button and have it update the Where clause for the Letters table to be "Where Letter = A" (so once you click the A button, only the A will appear), same for the B button. I have attached a link to an album of images to show what i'm trying to do to better explain it. I just can't figure out what or how to make it so that the image button can update the where clause. I should note that i am relatively new to Apex and i tried using a dynamic action to do it but can't get this to work.
    Link to images of what i have so far-> http://imgur.com/a/guxkd/oracle_apex_40_use_image_buttons
    Any suggestions?
    Edited by: Brobot on Feb 8, 2011 9:58 PM

    Since you are using some kind of button(with images or otherwise) , add some attributes to identify them together aswell as uniquely.
    For instance if you add a name and an a common classname to each button
    For example, in button attributes for A this could be
    name="A" class="where_clause_button"You can use these attributes to trigger a Dynamic action which can refresh the report.
    Since you want the report to be filtered based on the button(ie using the "name" attribute of the corresponding button) , you need to set that value in some hidden item, say P100_FILTER_LETTER. and add a where clase to your Report Region' SQL Query
    WHERE <column name> = :P100_FILTER_LETTERNow create a Dynamic Action as
    Event :Click
    Triggering Element : jQuery selector
    Selector : *.where_clause_button*
    <li>True action 1 : Execute Javascript code
    filter_item_name = 'P100_FILTER_LETTER'
    this_button_name = $(this.triggeringElement).attr('name');
    //Set session state of Hidden Item before refresh
    var ajaxRequest=new htmldb_Get(null,$v('pFlowId'),'null',$v('pFlowStepId'));
    ajaxRequest.add( filter_item_name ,this_button_name );
    var ajaxResult=ajaxRequest.get();<li> True Action 2: Refresh
    Affected Element: Region
    Name : Choose Report Region Name
    Hope it helps

  • Populate list item dynamically

    Hi all.
    I have a problem. I must populate a list item with a select, using the add_list_element statement inside a loop, using a cursor. My problem is that I must parametrize the select of the cursor: I pass a parameter in the procedure which is a field of the select of the cursor, but I have no result. The statement is the follow
    cursor c1 is
    select distinct("name of the parameter")
    from table
    order by 1;
    When I execute this statement I have no result. Is there anyone to help me???
    Thank you all for your collaboration.

    Hi dear,
    as for as i understood your problem, you want to populate the element list with a select query and your are using cursor and add_elements for this purpose which is complex and lenghtly,
    why dont you use populate_group and populate_group_with_query built-ins instead of add_elements built in, by above mentioned two builts ins, you can populate the element list with a query and even you can refresh your element list at any time during runtime by populate_group_by_query. here is an example, you can also take benefit from forms builder help;
    in new_form_instance trigger write following code to populate a list with select query;
    DECLARE
    rg_id RecordGroup;
    errcode NUMBER;
    BEGIN
    rg_id := Create_Group_From_Query( 'LIST1_GRP','select code_name, code_no from any_table where code_name = ''0107''',FORM_SCOPE,200);
    errcode := Populate_Group( rg_id );
    Clear_List('CNOTE_TYPE');
    Populate_List('CNOTE_TYPE','ACCNO_GRP');
    end;
    user populat_group_by_query to refresh list elements after the forms is already load and elements list is already populated.
    any further question, feel free.

  • Marker and graphics pagination problems

    Hi,
    we have GRAPHICS inside an element:
    <Chart>
         <GRAPHICS>
    The pagination is set to Top of right page, so every chart is on its own page. When we insert a marker before the Chart element, the pagination is broken:
    <Chart>
         <GRAPHICS>
    <ChangeM>
    <Chart>
         <GRAPHICS>
    ChangeM is a marker, the charts are displayed on the same page one after other. When we delete the Marker, the charts are again displayed on separate pages. Is there something we miss or need to set?
    Thanks in advance,
    Viktor

    Viktor,
    Interesting question. I was able to duplicate this behavior, under the assumption that your <Chart> element is applying a paragraph format using the "Top of Right Page" pagination setting.
    What I see happening is that the insertion of the marker element causes both anchored frames to reside in the same paragraph, whereas normally you would expect the second <Chart> element to force a new paragraph. So, it's not that the pagination is wrong, it's that somehow the marker element is causing an empty paragraph to be deleted and having both graphics anchored in a single paragraph, hence why they appear together. I don't know why this happens and in my best estimation, I think it is a bug.
    With some experimentation, I found one workaround, which may or may not be useful in your case. I found that if the first <Chart> element contains any text, even a single whitespace, the second <Chart> element forces a new paragraph as expected. So, if you are desperate, you could adjust your EDD to allow text in the <Chart> elements and stick a single whitespace in all of them to make the pagination work as expected. You may need to refresh/reimport element definitions to see the effect of the text. Otherwise, I'm not sure what else might work.
    I'd be interested to hear if anyone else has some insight on this... perhaps it is working as designed. I can't think of any good reason that it should, though, so I'm thinking it is a software defect.
    Hope this helps some,
    Russ

  • Text element not gettin refreshed in smart form

    Hi
    Text element does not get refreshed in the smart form preview. 
    I have a selection screen on which i have a few selection parameters and three application
    toolbar buttons. "Save" , "Preview" and "Print". At the end of selection screen I have a
    button "text" which when clicked takes me to the text element editor(FM  'TEXT_EDIT' )
    I have to enter a project number on the selection screen, enter all other details and
    then click on the "Text" button. I would then change /edit some text etc and come back
    to sel screen. Now i click on preview , the smart form shows up and the text gets dispalyed
    with the modified text. 
    I am passing the text name by appending "sometext" + project number to the TEXT_EDIT
    and while eiditing and as a parameter to the smart form. In the smart form i have given the variable in the "include text".
    Now Herez the problem.
    I am still in selection screen and clik on the "text" button and it takes me to the
    text editor. Now i add more lines, save and come back. Now i clik on preview
    button and it displays the old text data.
    When i come out of the transaction and renter , clik on the preview it displays data
    correctly. Now if i repeat the steps
    1.edit text button , add a few lines
    2.preview button, shows data as entered in step 1.
    3.edit text button, add few more lines
    4.preview button .. the text displays is from step 1 and not 3.
    I am not sure if this is lot of info for anybody to write an answer straight away but
    if u need more info i can provide. I can do a read_text in the smart form but its toooooo
    much of a pain for the data i need to display. million adjustments to be taken care of.
    What could be the problem ? I have given all the basic settings like save parameter
    in edit_text fm , checked all the print preview options in sdn.
    Here are my questions
    1. Why is the text element not getting refreshed.
    2. After a form is displayed for preview , will it store anywhere in the buffer ? if yes
        is there any method to clear it ?

    Hi,
      The problem is not with text elements, it might be your size of window which you are using to display the text elements. Check your window size and modify that accordingly.
    Cheers,
    Bujji

  • Elements 12 does not refresh on Win7 AMD FirePro M6100

    I installed Elements 12 on a new Windows 7 laptop with an AMD FirePro M6100 adapter.
    When I try to move the Premiere window the only thing that shows movement is the bottom section that has "Undo... Redo... Organizer... etc."
    If I drag another window, such as Firefox or Excel, over the Premiere window, it refreshes.  But if I try to move the Premiere window again, it has the same problem.
    Any thoughts?

    What is your exact graphics adapter driver version?
    Have you gone to the vendor web site to check for a newer driver?
    For Windows, do NOT rely on Windows Update to have current driver information
    -you need to go direct to the vendor web site and check updates for yourself
    ATI Driver Autodetect http://support.amd.com/en-us/download/auto-detect-tool

Maybe you are looking for

  • Mini with newer's mini stack

    just a suggestion especially if you are booting from the mini stack with a 250 G or larger HD.........use them side by side instead of stacked........the fans will run less and the drives will run cooler!

  • No sound with boot camp

    I have sound when running Mac OS, but not in windows NT. So the windows drivers should be the problem. I have SigmaTel and RealTek on the Leopard installation CD. Ive tried to update the drivers, but Realtek doesn´t work. In the controlpanel under "s

  • Need unique Variants in ALV interactive report

    Hello Experts,                       I have a ALV interactive report in which a layout variant  created in one layout is been reflecting in all other layouts, which i dont want. I want to create different variants for different layouts in interactive

  • Signed Applet able to connect to distant webservice?

    Hello :) I was wondering if an applet would be able to connect to a web service located on a distant server (Axis 1.3). I have signed the applet but it still doesn't work... Architecture: Signed Applet >> Axis 1.3 web service >> MySQL requests Is it

  • Software with teacher subscription?

    What software products come with an individual paid student/teacher creative cloud subscription for $19.99 prepaid?