Refresh problem in CL_GUI_ALV_TREE

Hi Experts,
I am taking an object name as input and based on the input value, fetching data from the table and displaying it in the form of a tree, using the class CL_GUI_ALV_TREE. The outtab is passed empty to the set_table_for_first_display method. Now, when I go back, enter a new object name and click on display, the data that is used to build the tree gets updated properly, all the add_node calls get executed fine, but the tree does not get refreshed. It gets refreshed properly if I restart the transaction and start with the new object. I am calling the method frontend_update to update the screen, still there is no change. I am clearing the tree object and building the tree from scratch with the new data. But it does not change.
Is there any clearing of cache required? I am missing anything that is not refreshing the tree. Any help on this would be greatly appreciated since I am stuck with this for a long time now. Thank you!
Regards,
Nithya
Edited by: Nithya S on Apr 8, 2008 8:57 AM

hi nithya..........
check this code....hope it will be useful
report  y13816_alv_tree_with_oops.
§1a. Define reference variables
data: g_alv_tree type ref to cl_gui_alv_tree,
      g_custom_container type ref to cl_gui_custom_container,
      gt_sflight type sflight occurs 0,
      g_max type i value 255.
end-of-selection.
call screen 100.
*&      Module  STATUS_0100  OUTPUT
      text
module status_0100 output.
  set pf-status 'MENU_BAR'.
if g_alv_tree is initial.
  perform init_tree.
  call method cl_gui_cfw=>flush
   exceptions
     cntl_system_error = 1
     cntl_error        = 2.
  if sy-subrc <> 0.
    call function 'POPUP_TO_INFORM'
      exporting
        titel         = 'Automation Queue failure'(801)
        txt1          = 'Internal error:'(802)
        txt2          = 'A method in the automation queue'(803)
        txt3          = 'caused a failure.'(804).
  endif.
endif.
endmodule.                 " STATUS_0100  OUTPUT
*&      Form  init_tree
      text
-->  p1        text
<--  p2        text
form init_tree .
§1b. Create ALV Tree Control and corresponding Container.
create container for alv-tree
data: l_tree_container_name(30).
l_tree_container_name = 'CONTAINER'.
create object g_custom_container
  exporting
    container_name = l_tree_container_name
  exceptions
    cntl_error                  = 1
    cntl_system_error           = 2
    create_error                = 3
    lifetime_error              = 4
    lifetime_dynpro_dynpro_link = 5.
  if sy-subrc <> 0.
    message x208(00) with 'ERROR'(100).
  endif.
Creating Tree Control
create object g_alv_tree
  exporting
    parent              = g_custom_container
    node_selection_mode = cl_gui_column_tree=>node_sel_mode_single
    item_selection      = 'X'
    no_html_header      = 'X'
    no_toolbar          = 'X'
  exceptions
    cntl_error                   = 1
    cntl_system_error            = 2
    create_error                 = 3
    lifetime_error               = 4
    illegal_node_selection_mode  = 5
    failed                       = 6
    illegal_column_name          = 7.
  if sy-subrc <> 0.
    message x208(00) with 'ERROR'.                          "#EC NOTEXT
  endif.
§2. Create Hierarchy-header
The simple ALV Tree uses the text of the fields which were used
for sorting to define this header. When you use
the 'normal' ALV Tree the hierarchy is build up freely
by the programmer this is not possible, so he has to define it
himself.
data: l_hierarchy_header type treev_hhdr.
  perform build_hierarchy_header changing l_hierarchy_header.
§3. Create empty Tree Control
IMPORTANT: Table 'gt_sflight' must be empty. Do not change this table
(even after this method call). You can change data of your table
by calling methods of CL_GUI_ALV_TREE.
Furthermore, the output table 'gt_outtab' must be global and can
only be used for one ALV Tree Control.
  call method g_alv_tree->set_table_for_first_display
    exporting
      i_structure_name    = 'SFLIGHT'
      is_hierarchy_header = l_hierarchy_header
    changing
      it_outtab           = gt_sflight. "table must be empty !
§4. Create hierarchy (nodes and leaves)
  perform create_hierarchy.
§5. Send data to frontend.
  call method g_alv_tree->frontend_update.
endform.                    " init_tree
*&      Form  build_hierarchy_header
      text
     <--P_L_HIERARCHY_HEADER  text
form build_hierarchy_header  changing
                                p_hierarchy_header type treev_hhdr.
p_hierarchy_header-heading   = 'Month/Carrier/Date'.
p_hierarchy_header-tooltip   = 'Flights in a Month'.
p_hierarchy_header-width     = 30.
p_hierarchy_header-width_pix = ' '.
endform.                    " build_hierarchy_header
*&      Form  create_hierarchy
      text
-->  p1        text
<--  p2        text
form create_hierarchy .
data: ls_sflight type sflight,
      lt_sflight type sflight occurs 0,
      l_yyyymm(6) type c,
      l_yyyymm_last(6) type c,
      l_carrid like sflight-carrid,
      l_carrid_last like sflight-carrid,
      l_month_key type lvc_nkey,
      l_carrid_key type lvc_nkey,
      l_last_key type lvc_nkey.
§4a. Select data
select * from sflight into table lt_sflight up to g_max rows.
§4b. Sort output table according to your conceived hierarchy
We sort in this order:
   year and month (top level nodes, yyyymm of DATS)
     carrier id (next level)
        day of month (leaves, dd of DATS)
sort lt_sflight by fldate0(6) carrid fldate6(2).
Note: The top level nodes do not correspond to a field of the
output table. Instead we use data of the table to invent another
hierarchy level above the levels that can be build by sorting.
§4c. Add data to tree
loop at lt_sflight into ls_sflight.
Prerequesite: The table is sorted.
You add a node everytime the values of a sorted field changes.
Finally, the complete line is added as a leaf below the last
node.
  l_yyyymm = ls_sflight-fldate+0(6).
  l_carrid = ls_sflight-carrid.
Top level nodes:
  if l_yyyymm <> l_yyyymm_last.
    l_yyyymm_last = l_yyyymm.
*Providing no key means that the node is added on top level:
    perform add_month using    l_yyyymm
                      changing l_month_key.
The month changed, thus, there is no predecessor carrier
    clear l_carrid_last.
  endif.
Carrier nodes:
(always inserted as child of the last month
which is identified by 'l_month_key')
  if l_carrid <> l_carrid_last.
    l_carrid_last = l_carrid.
    perform add_carrid_line using    ls_sflight
                                     l_month_key
                            changing l_carrid_key.
  endif.
Leaf:
(always inserted as child of the last carrier
which is identified by 'l_carrid_key')
    perform add_complete_line using    ls_sflight
                                       l_carrid_key
                              changing l_last_key.
endloop.
endform.                    " create_hierarchy
*&      Form  add_month
      text
form add_month  using    p_yyyymm type c
                         p_relat_key type lvc_nkey
                changing p_node_key type lvc_nkey.
data: l_node_text type lvc_value,
      ls_sflight  type sflight,
      l_month(15) type c.
get month name for node text
perform get_month using p_yyyymm
                  changing l_month.
l_node_text = l_month.
add node:
ALV Tree firstly inserts this node as a leaf if you do not provide
IS_NODE_LAYOUT with field ISFOLDER set. In form 'add_carrid_line'
the leaf gets a child and thus ALV converts it to a folder
automatically.
call method g_alv_tree->add_node
  exporting
    i_relat_node_key = p_relat_key
    i_relationship   = cl_gui_column_tree=>relat_last_child
    i_node_text      = l_node_text
    is_outtab_line   = ls_sflight
  importing
    e_new_node_key   = p_node_key.
endform.                    " get_month
*&      Form  get_month
      text
     -->P_P_YYYYMM  text
     <--P_L_MONTH  text
form get_month  using    p_yyyymm
                changing p_month.
Returns the name of month according to the digits in p_yyyymm
data: l_monthdights(2) type c.
l_monthdights = p_yyyymm+4(2).
case l_monthdights.
  when '01'.
   p_month = 'January'.
  when '02'.
   p_month = 'February'.
  when '03'.
   p_month = 'March'.
  when '04'.
   p_month = 'April'.
  when '05'.
   p_month = 'May'.
  when '06'.
   p_month = 'June'.
  when '07'.
   p_month = 'July'.
  when '08'.
   p_month = 'August'.
  when '09'.
   p_month = 'September'.
  when '10'.
   p_month = 'October'.
  when '11'.
   p_month = 'November'.
  when '12'.
   p_month = 'December'.
endcase.
concatenate p_yyyymm+0(4) '->' p_month into p_month.
endform.                    " get_month
*&      Form  add_carrid_line
      text
     -->P_LS_SFLIGHT  text
     -->P_L_MONTH_KEY  text
     <--P_L_CARRID_KEY  text
form add_carrid_line  using    ps_sflight  type sflight
                               p_relat_key type lvc_nkey
                      changing p_node_key  type lvc_nkey.
data: l_node_text type lvc_value,
      ls_sflight  type sflight.
add node
ALV Tree firstly inserts this node as a leaf if you do not provide
IS_NODE_LAYOUT with field ISFOLDER set. In form 'add_carrid_line'
the leaf gets a child and thus ALV converts it to a folder
automatically.
l_node_text = ps_sflight-carrid.
call method g_alv_tree->add_node
  exporting
    i_relat_node_key = p_relat_key
    i_relationship   = cl_gui_column_tree=>relat_last_child
    i_node_text      = l_node_text
    is_outtab_line   = ls_sflight
  importing
    e_new_node_key   = p_node_key.
endform.                    " add_carrid_line
*&      Form  add_complete_line
      text
form add_complete_line  using    ps_sflight   type sflight
                                 p_relat_key  type lvc_nkey
                        changing p_node_key   type lvc_nkey.
data: l_node_text type lvc_value.
write ps_sflight-fldate to l_node_text mm/dd/yyyy.
add leaf:
ALV Tree firstly inserts this node as a leaf if you do not provide
IS_NODE_LAYOUT with field ISFOLDER set.
Since these nodes will never get children they stay leaves
(as intended).
call method g_alv_tree->add_node
exporting
  i_relat_node_key = p_relat_key
  i_relationship   = cl_gui_column_tree=>relat_last_child
  i_node_text      = l_node_text
  is_outtab_line   = ps_sflight
importing
  e_new_node_key   = p_node_key.
endform.                    " add_complete_line
*&      Module  USER_COMMAND_0100  INPUT
      text
module user_command_0100 input.
case sy-ucomm.
  when 'EXIT'.
   leave program.
endcase.
endmodule.                 " USER_COMMAND_0100  INPUT
reward if useful
cheers,
rekha

Similar Messages

  • Animated gif and page refresh problem

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

  • Smartview 11.1.2.1.102 Refresh problems

    I have multiple users experiencing severe refresh problems after upgrading to smartview version 11.1.2.1.102.
    Users state Refresh is taking 10-15mins+ when in old version 9x it only takes 1-2mins. In addition users have rebuilt the excel files (copy in new workbook) then all is working fine but when saved/the next day the refresh goes very slow again!
    Please can any help?

    1. Deleting the Sheet Info fixes the problem for the moment - but the problem soon returns. Do you know what causes the problem, so we can cut the repeating cycle? Is this strictly a multi-user issue? We do have several users that may use the file. Some have version 11.1.2.1.000 (not 103). Oracle's tips doc (http://www.oracle.com/technetwork/middleware/bi-foundation/epm-tips-issues-73-102-1612164.pdf) mentions uncompressed metadata stored in the worksheet.
    2. Is there a specific version that allows the Sheet Info fix? Oracle's tip sheet says they need Some have version 11.1.2.1.103, but the users we have seen so far can use this workaround on Some have version 11.1.2.1.000. I'd like to know when at what version this fix starts so I can push other users to update. It would be good to know at which version this issue starts.
    Thank you - great information in the thread!
    P.S. for reference:
    From http://www.oracle.com/technetwork/middleware/bi-foundation/epm-tips-issues-73-102-1612164.pdf
    In EPM System Release 11.1.2.1, I am opening .xls files with Smart View functions in Excel 2010, but it’s very slow or seems to freeze Excel. How can I fix this?
    This is most likely due to an issue with uncompressed metadata stored in the workbook. In most cases, the issue can be found in the first sheet in hidden shapes. Note that the file will open but it may take a very long time, and in some cases the file will open fine with Smart View disabled. In other cases it will not matter. To solve this problem, save a copy of the file and follow the steps below for the version of Smart View you have.
    If you are using Smart View 11.1.2.1.103 or above, follow these steps:
    1 Open the file (this may take a while) with Smart View enabled.
    2 From the Smart View Ribbon, select Sheet Info.
    3 Select Delete Smart View Info.
    4 Select Workbook and all Sheet Info.
    174 Miscellaneous and Product-Specific Tips
    5 Click OK.
    6 Save the modified workbook.
    7 Reopen the workbook.
    If you are not using Smart View 11.1.2.1.103 or above, follow these steps:
    1 Open the file (this may take a while).
    2 Right-click on the tab of the first worksheet and select Select All Sheets.
    3 Right-click on the tab of the first worksheet and select Move or Copy.
    4 In the drop-down box, select (new book) and check Create a Copy.
    5 Save the workbook.
    6 Open the new workbook.
    7 Refresh the data.

  • Screen refresh problem where data is entered and the screen doesn't refresh

    Many people in the company are experiencing the odd screen refresh problem where data is entered and the screen doesn't refresh to show the updated result in corresponding cell formulas.
    Microsoft have issued a hotfix to fix the issue for Excel 2003 as shown. Microsoft released a hotfix for this problem (<a href="advisory?ID=978908">KB978908</a>). Display memory tends to pick up data from hidden sheets and pastes it
    into the active screen. No impact on the file. This occurs when protecting and unprotecting worksheets in VBA. I also suspect that enabling and disabling screen refresh contributes to this problem. In any case there is a fix, albeit with the following disclaimer:
    As of yet I have not been able to find a fix for this for office 2010 and 2013, Any suggestions would be great.

    Hi,
    Based on your description, Excel does not show the text strings when you typing. It may be caused by the cell format, if we set the cell format as ";;;" in custom format, it will not display the text that you typed. 
    And the issue may be caused by the third-party input method, there are some compatibility issue between them.
    If the issue still exits, please try the following methods
    Verify/install the latest updates
    Repair your Office program
    Regards,
    George Zhao
    TechNet Community Support

  • Container (JPanel) refresh problem

    Hello,
    In fact i have a panel (mainPanel) with a button OK, a another panel which display a specific MyJTable and combo box.
    In fact, when I clic OK Button, i want to charge my MyJTable with data depends on comboBox.
    First, i display a empty white panel and when i clic Ok i want to display my MyJTable.
    JPanel mainPanel = new JPanel();
    JPanel emptyPanel = new JPanel();
    JPanel combo = new JComboBox();
    JButton okButton = new JButton();
    MyJTable myJTable;
    mainPanel.add(emptyPanel);
    mainPanel.add(combo);
    mainPanel.add(okButton);I have a refresh problem, i try mainPanel.remove(emptyPanel) and thus mainPanel.add(myJTable), the remove works but the add no :(
    In ActionPerformed method when okButton:
    myJTable = new myJTable(combo);
    mainPanel.remove(emptyPanel);
    mainPanel.add(myJTable);
    mainPanel.repaint();Thanks for yu help!!

    Hi,
    have you tried playing with
    mainPanel.revalidate();
    mainPanel.revalidate();??
    Might help
    Phil

  • Screen refresh problem with Windows 7

    Hello all,
    I've recently begun testing Oracle with Windows 7 on a new HP 2540p notebook computer. I've encountered a very strange issue so far. After logging into Oracle, and Windows switches to Windows Basic theme, I should be taken to the main Navigator screen. But instead, the screen is simply white. If I drag (or nudge) the title bar just a bit, the screen refreshes and I can see the menu items. Then if I click on something (or even use hotkeys - ALT+F to get the file menu, for example), I don't see anything happen. But if I move the window just a bit, the screen refreshes and I can see that it did actually take my input, it just didn't re-draw the screen. I'm wondering if this may be a graphics driver issue (I do have the latest driver for the Intel Graphics Media Accelerator HD adapter), or if someone could point me toward a resolution to this problem. Any help is much appreciated.

    Dear All,
    Same problem of REFRESH PROBLEM also faced by but only a single and specific Windows 7 client.
    if you have resolved the issue , so please share with us.
    Thanks
    Eidy

  • Datagrid refresh problem?

    fileListArray.refresh();
    dg_curtainmanager.invalidateList();
    dg_curtainmanager.invalidateDisplayList();
    <mx:DataGrid id="dg_curtainmanager" showHeaders="true"  editable="true"  includeInLayout="false" dataProvider="{fileListArray}"  creationComplete=""  variableRowHeight="true"   wordWrap="true"  rowCount="{fileListArray.length}"  width="100%"  >
    <mx:DataGridColumn  headerText="Parent Folder"  sortable="true"  editable="false"   width="250" minWidth="65" wordWrap="true" >
                            <mx:itemRenderer>
                                <fx:Component>
                                    <mx:HBox width="100%"
                                             horizontalAlign="left" verticalAlign="middle">
                              <mx:Image source="@Embed(source='images/edit_16.gif')"  toolTip="Select Starting Folder" buttonMode="true" click="outerDocument.parentfolderimagclick()" />
                                        <mx:Label text="{data.document_folder_name}" color="black" />   
                                    </mx:HBox>
                                </fx:Component>
                            </mx:itemRenderer>
                            </mx:DataGridColumn>
    </mx:DataGrid>

    @welcomecan,
    What refresh problem you are facing.. in DataGrid? When you change your DataProvider for your grid the values are not being changed or somethingelse..??
    Please always be clear in explaining your problem in order to get it resolved..
    Thanks,
    Bhasker

  • Forms Refresh Problem on The Web??

    i have a form coded in 6i. in this form i have around 20 buttons one below another and each of the button has a stacked view associated with it. whenever i click on a button i am opening the relative stacked view on th content canvas and repositioning the rest of the bottons and views by moving them down.
    Now the problem is it works fine in client-server, but when i run it on the web, when i try to open any of the buttons the screen scrolls automatically to the top. I also noticed that if i wait for a few seconds(or sometimes minutes) the form takes me to the correct position. i think there is some refresh problem. i tried Syncronize also but to no use.
    i would appreciate If someone can help me out on this ASAP. (thanks for the patience in reading this long mail!!)

    Try to instal the latest version of Jinitiator. I have similar problems, but my case is not so bad. Jinitiator develops very quickly and as i have heard it works now fine.

  • G5 quad gf6600 refresh problems

    I have refresh problems (never had it with 2.5 bipro)
    in photoshop the layers do weird things and leaves traces.
    in lightwave if i select a point op poligon, nothing seems to happen, only when i resize the view it refreshes.
    lightwave is freshly installed, ph is a port from the old mac

    upgraded programs

  • Refresh problem with dreamweaver cs5.5

    Hello,  I hope someone can help out soon with my problem. We currently have a great running site that is hosted OFFSITE. Our programmer built a new site which is the one having the refresh problems with.  It's hosted on an ON-SIGHT server . thank you
    Problem:
    Sometimes randomly, but almost always when opening other pages, DW freezes for about 5-10 seconds, sometimes crashing (presumably when it takes longer).
    It occurs whether changes are made to files or not. I'm using split view it happens mostly whien trying to click something in code view at top.
    Test Results:
    I was able to consistently reproduce the problem when opening files in the directory.
    I was unable to reproduce the problem when opening multiple Include files (that do not use templates).
    Thoughts:
    Is there something in the template causing the refresh problem?
    Something in the new website page source, or in their shared template, may be loading from a (slow) external resource.
    Something in the DW settings?
    HELP THANK YOU

    Could you post a screen capture of your File > New dialogue window when you choose it from the menu?
    Page From Template should be an option on the far left if I recall correctly (it has been changed in newer versions, but I think 5.5 still used this method). You won't see it in the Welcome Screen or if you hit Ctrl +N. You have to use the menu option to select New...
    You should then be presented with a list of sites, when the site is chosen, the templates should show in the middle column.
    Or are you saying your template isn't showing when you choose the Page From Template option and select the site?

  • Javabean Refresh Problem

    HiHi,
    I have got a problem of refreshing a modified java program.
    I have created a javabean before, there are three fields are defined as float type.
    However, I have got some problem of using float, so I made a change on it to double.
    At the same time, there is a jsp program using this java program. After I compiled the
    java program and put it into the server side (weblogic). I found that there is a probelm
    "NoSuchMethodError" every time when I call the jsp. Then I press space of that jsp
    program and actually made no change of it. And put it into the server
    side again, since there is always a refreshing problem of both java and jsp program
    in weblogic. But I still failed, so I rename both the java and jsp program and try it. Finally the
    same problem still happens.
    So I dunno that it is really a refreshing problem or something I have done wrongly.
    Could anyone help me? Thank you very much!
    Betty

    restart you server and see ...
    when ever you change your javabean you have to restart the server, bcoz the class gets loaded in to the server, once you start it, so, if you change it, it is not going to be changed in the server where the class gets loaded, so, it still has the old copy, so, you have to restart the server for it to reflect the changes ....

  • Console Refresh Problem

    Hi All,
    I have a minor, but annoying refresh issue in the SCVMM console.
    I have one particular hyper-v cluster which for which the console is unable to refresh the overview, the wheel spins forever.  The daily & monthly performance portions refresh ok.  This only happens for one cluster and is irrespective of the
    user and machine the console is running from.
    Any input appreciated.
    Stu

    Hi,
    normally to find out why it is stuck a ETL trace is needed from the VMM Server. There aren't any known issues in Windows Server 2012 R2 OS and SCVMM 2012R2 combination as far as I know regarding the refresh problem. Are there any hints on the VMM Server
    like failed Jobs regarding this problem ? Additionally did you check the Cluster Nodes VMM Event Logs ?
    Regards,
    Cengiz Kuskaya

  • Row ranges  1-15, 16-30 in select list has refresh problem

    Hi, Gurus:
    I use APEX 4.1.1 with Oracle 11GR2. I have a question that was discussed before here, but I still have trouble to understand it. I have some reports that cannot refresh content when I choose another page of the same report. I used row ranges 1-15, 16-30 in select list with pagination. It did not work. However, I used the exactly same report page settings for some other queries producing exactly same columns, except the query logic is slightly different thus number of rows in report are different. row ranges 1-15, 16-30 in select list with pagination works well in other reports.
    I came across discussions and set partial page refresh to no for those report pages with refreshment problem. This time it worked well, but it was extremely slow as my query is very slow. I was wondering why some of report do not need to set partial page refresh to no and have no problem to refresh, but some of reports have problem to refresh (I even copied the report page without problem for those reports with problem and just change queries.)? Is there any other way to refresh these reports quicker other than SQL tuing?
    Please help me.
    Sam
    Edited by: lxiscas on Dec 31, 2012 11:36 AM
    Edited by: lxiscas on Dec 31, 2012 11:49 AM

    I just found that it is due cache page settings, I should set it to no as a developer

  • Refreshment problem when place image.

    Hi Experts,
    When I insert image using script then there is a refreshment problem.
    In place of second image there place first image.
    while if I debug this it place in correct order. But in Run case script not place image in order.
    There is a refreshment problem After place First image it not refresh  and have first image.
    How solve this problem That i place image in proper order in Script Run mode.
    #target indesign
    var myDocument=app.activeDocument;        //Active document have 10 spread with text frame
    for(int i=0; i<10;i++)
    var ImagePath="D:\Indesign\" + i + ".indd";         // There are 0.indd to 9.indd, 10 image in "D:\Indesign\"
    var myTextFrame=myDocument.spreads.item(i).textFrames.firstItem();
    myTextFrame.place(File(ImagePath)); // ImagePath is path of image
    Thanks.

    My problem is like this :
    I want place image in a text box
    File(menu)-->place....-->(Dialog open then Select Image file then click on open)->then image is attach  with cursor. (I do not click on .indd open screen).
    Now I run the script from ExtendedTool Kit
    #target indesign
    var myDocument=app.activeDocument;
    var myTextFrame=myDocument.spreads.item(0).textFrames.firstItem();
    $.sleep(2000);
    myTextFrame.place(File("/C/DOCUME~1/ADMINI~1/LOCALS~1/Temp/temp.jpg"));
    $.sleep(2000);
    var graphic=myTextFrame.allGraphics[0];
    graphic.select(SelectionOptions.REPLACE_WITH);
    graphic.geometricBounds =["-47.853527","-157.370275","1231.018230","709.576702"];
    When this script run then it place the image which I am select from File(menu)-->place....-->(Dialog open then Select Image file then click on open).
    Not from the path "/C/DOCUME~1/ADMINI~1/LOCALS~1/Temp/temp.jpg"
    This is the problem to place image.  So there is image duplicasy and some image missing.
    Is there is solution of this problem ?
    How remove image which is already attach with cursor ?
    Thanks.

  • QAAWS refresh problem.

    hi,
    I am QAAWS to display report in Xcelsius.Do we have any refresh problem when we used QAAWS for Xcelsius when we have fresh data.
    Do we have any alternative for this.
    Regards,
    Shiva Kumar G.C

    Are you using 'Refresh on Load' or triggering the refresh from another component?  I don't think your question is clear, are you receiving the data from QaaWS in the Xcelsius model?  Can you comsume the WSDL in another application to verify the SOAP messages are being sent back and forth from the Web Services.
    Thanks,
    Ryan

Maybe you are looking for

  • FBL5n layout question

    Hi In FBL5N report , we have a option to select the layout. My one user has a different set of layout options avilable where another user has different sets of layout. I want to set the default layout for a particular user . can some one shed some li

  • Photoshop CS5 crashes before opening

    I've been running Photoshop CS5 since it was launched and largely without problem. Today, I installed a trial version of PTGui and that ran OK, but later I found I couldn't open Photoshop. I re-installed the system twice, but to no benefit.  Any idea

  • Acrobat 9 Std - Comments- 'Enable for Commenting And Analysis In Reader' option Missing

    Hi, We've purchased a copy of Adobe Acrobat 9 Standard, and need to enable comments in Reader for PDFs that we create in Acrobat.  The option to "Enable For Commenting And Analysis In Reader" seems to be missing from the "comments" menu, even though

  • Problem with Parked documents

    HI All, after parking the documents, when i see the parked document in the display mode, i can see the payment method value, but when go into edit mode the payment method value is blank. Note: we are in Ecc6.0. Edited by: NIV on May 19, 2010 1:26 PM

  • Hi,I'm Chinese.java.io.StreamCorruptedException: invalid type code: 6A?

    Hello! please help me, thanks! I'm Chinese.first to the sun forums.My English is bad,so sorry! 你好!感谢你的帮助!第一次来到sun 论坛来提问,很激动啊,呵呵。 java.io.StreamCorruptedException: invalid type code: 6A at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1