Output Not refreshed
Hello
Its the same component problem
Now basically everything works
but,
now when i preview my component the output array appears in the data grid
however wen i change the filter with a button it does not change
i checked my output array with an alert statement and it works
so basically the problem is that the output array is not getin updated by new values
pls help
thanx in advance
before calling the modelobject.execute() method you might have <b>bind</b> the bapi input node to new input node.<br>
and the object to which you have binded will be declared in gobal declaration section.That is why the data is not refreshed without opening a browser again,.<br>
1. Define that node to a place where you have called the bind() method.(just one line up before calling the bind method-- may be in init method or on the action of button.)
*DO not declare in Global declration. inside bein others and end others<br>
2. Do not forget to invalidate output node aftercalling execute method.
<br>
It will solve your problem.
Similar Messages
-
SALV in Split Screen - not refreshing
I have a Report based program with Selection Screen
Upon entering valid Inputs program calls screen 100.
On Screen 100, I placed following elements
Docking Container
Splitter Container with 2 rows with Docking container as Parent
Placed a Toolbar object on the Top container of the split. Toolbar has 2 buttons BSID & BSAD
If user clicks BSID, then I have to show a SALV report in Lower Split
If user clicks BSAD, then I have to show a bit different data SALV report in same Lower Split
I tried several methods to refresh the data in SALV( I used 1 SALV)
Data is not refreshing in the second split...
I see that Lower Split container has children attribute set.. I tried to free() the lower container, but it deletes cmplete container itself, what can I do to refresh the data without completely redoing all the container stuff?
Also Children attribute in Split container is Read-only, how can I change this one ?
Valid answers would receive points...PROGRAM yvtest3 LINE-SIZE 512.
CLASSES
CLASS: lcl_main DEFINITION DEFERRED,
lcl_event DEFINITION DEFERRED.
TYPES
TYPES: BEGIN OF t_kna1, " Customer Info
kunnr TYPE kna1-kunnr,
name1 TYPE kna1-name1,
END OF t_kna1.
TYPES: BEGIN OF t_lfa1, " Vendor Info
lifnr TYPE lfa1-kunnr,
name1 TYPE lfa1-name1,
END OF t_lfa1.
OBJECTS
DATA: o_tlbar TYPE REF TO cl_gui_toolbar,
o_split TYPE REF TO cl_gui_splitter_container,
o_dock TYPE REF TO cl_gui_docking_container,
o_main TYPE REF TO lcl_main,
o_event TYPE REF TO lcl_event,
o_top TYPE REF TO cl_gui_container,
o_down TYPE REF TO cl_gui_container.
INTERNAL TABLES
DATA: i_kna1 TYPE STANDARD TABLE OF t_kna1,
i_lfa1 TYPE STANDARD TABLE OF t_lfa1.
PARAMETERS
PARAMETERS: p_dbcnt TYPE sy-dbcnt DEFAULT '500'.
CLASS lcl_event DEFINITION
Events Definition
CLASS lcl_event DEFINITION.
PUBLIC SECTION.
METHODS: on_click FOR EVENT function_selected OF cl_gui_toolbar
IMPORTING fcode.
ENDCLASS. "lcl_event DEFINITION
CLASS lcl_main DEFINITION
Main Definition
CLASS lcl_main DEFINITION.
PUBLIC SECTION.
METHODS: constructor.
ENDCLASS. "lcl_main DEFINITION
GET DATA
START-OF-SELECTION.
Get Customers
SELECT kunnr name1
FROM kna1
INTO TABLE i_kna1
UP TO p_dbcnt ROWS.
IF sy-subrc = 0.
SORT i_kna1 BY kunnr.
ENDIF.
Get Customers
SELECT kunnr name1
FROM kna1
INTO TABLE i_kna1
UP TO p_dbcnt ROWS.
IF sy-subrc = 0.
SORT i_lfa1 BY lifnr.
ENDIF.
IF i_kna1 IS NOT INITIAL OR i_lfa1 IS NOT INITIAL.
CALL SCREEN '0100'.
ELSE.
MESSAGE 'No data exists for entry criteria'(001) TYPE 'I'.
LEAVE TO LIST-PROCESSING.
ENDIF.
CLASS lcl_event IMPLEMENTATION
Events Implementation
CLASS lcl_event IMPLEMENTATION.
METHOD on_click.
CASE fcode.
WHEN 'KNA1'.
TRY.
CALL METHOD cl_salv_table=>factory
EXPORTING
r_container = o_down
CHANGING
t_table = i_kna1.
CATCH cx_salv_msg.
MESSAGE 'SALV - error'(007) TYPE 'I'.
LEAVE TO LIST-PROCESSING.
ENDTRY.
WHEN 'LFA1'.
TRY.
CALL METHOD cl_salv_table=>factory
EXPORTING
r_container = o_down
CHANGING
t_table = i_lfa1.
CATCH cx_salv_msg.
MESSAGE 'SALV - error'(007) TYPE 'I'.
LEAVE TO LIST-PROCESSING.
ENDTRY.
WHEN 'EXIT'.
LEAVE TO SCREEN 0.
ENDCASE.
cl_gui_cfw=>flush( ).
ENDMETHOD. "on_click
ENDCLASS. "lcl_event IMPLEMENTATION
CLASS lcl_main IMPLEMENTATION
Main Implementation
CLASS lcl_main IMPLEMENTATION.
METHOD constructor.
DATA: lw_evnt TYPE cntl_simple_event. " Events
DATA: li_evnt TYPE cntl_simple_events. " Events
Create Docking Container
FREE o_dock.
CREATE OBJECT o_dock
EXPORTING
repid = sy-cprog
dynnr = '0100'
side = 1 " dock_at_left
extension = 400
lifetime = 1 " Dynpro
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE 'Error creating Docking Container'(002) TYPE 'I'.
LEAVE LIST-PROCESSING.
ENDIF.
Create Split Screen
FREE: o_split,o_top,o_down.
CREATE OBJECT o_split
EXPORTING
parent = o_dock
rows = 2
columns = 1
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE 'Error creating Splitter Container'(003) TYPE 'I'.
LEAVE LIST-PROCESSING.
ENDIF.
Set Sash Invisible
o_split->set_row_sash( id = 1
type = o_split->type_sashvisible
value = o_split->false ).
Set Row Height of 1st Container to fit Buttons
o_split->set_row_height( id = 1 height = 5 ).
o_top = o_split->get_container( row = 1 column = 1 ).
o_down = o_split->get_container( row = 2 column = 1 ).
Create Toolbar
CREATE OBJECT o_tlbar
EXPORTING
parent = o_top
lifetime = 1
EXCEPTIONS
cntl_install_error = 1
cntl_error = 2
cntb_wrong_version = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE 'Error creating Toolbar'(004) TYPE 'I'.
LEAVE LIST-PROCESSING.
ENDIF.
Add Buttons to the Toolbar
CALL METHOD o_tlbar->add_button
EXPORTING
fcode = 'KNA1'
icon = ' '
butn_type = 0
text = 'KNA1'
EXCEPTIONS
cntl_error = 1
cntb_btype_error = 2
cntb_error_fcode = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE 'Error creating Button on Toolbar'(005) TYPE 'I'.
LEAVE LIST-PROCESSING.
ENDIF.
CALL METHOD o_tlbar->add_button
EXPORTING
fcode = 'LFA1'
icon = ' '
butn_type = 0
text = 'LFA1'
EXCEPTIONS
cntl_error = 1
cntb_btype_error = 2
cntb_error_fcode = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE 'Error creating Button on Toolbar'(005) TYPE 'I'.
LEAVE LIST-PROCESSING.
ENDIF.
CALL METHOD o_tlbar->add_button
EXPORTING
fcode = 'EXIT'
icon = ' '
butn_type = 0
text = 'Exit'
EXCEPTIONS
cntl_error = 1
cntb_btype_error = 2
cntb_error_fcode = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE 'Error creating Button on Toolbar'(005) TYPE 'I'.
LEAVE LIST-PROCESSING.
ENDIF.
Add Events
register events for toolbar-control
lw_evnt-eventid = o_tlbar->m_id_function_selected.
APPEND lw_evnt TO li_evnt.
o_tlbar->set_registered_events( li_evnt ).
Create Event Handler
CREATE OBJECT o_event.
SET HANDLER o_event->on_click FOR o_tlbar.
ENDMETHOD. "constructor
ENDCLASS. "lcl_main IMPLEMENTATION
*& Module STATUS_0100 OUTPUT
Screen 100 Init
MODULE status_0100 OUTPUT.
IF o_main IS NOT BOUND.
CREATE OBJECT o_main.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT -
[ATI open source driver, laptop] Screen not refreshing properly.
Hi guys, I've been using ATI Catalyst driver and everything was working well until I decided to switch to open source driver.
Now I have strange problem. My screen is not refreshing properly, I mean, for example I use Facebook and I decide to read something in other card in browser and after I switch cards I can still see some of the facebook page elements, window title does not change. After I move cursor over page elements are refreshing. When I scroll page, even a little bit, it refreshes as well. Or I use terminal, I type some command, press enter and sometimes screen doesn't refresh and I can't see output until I try to resize window or select text (which I can't see...).
Sorry for not the best description, I will give you screens tomorrow because today I can't.
My graphics card is Radeon HD 5400 Series and I use ASUS X52J laptop.tomk wrote:Install radeonhd and run X with no xorg.conf - it will autodetect the driver.
The radeonhd works. It's the radeon driver that doesn't work, I tried no xorg.conf and it still used the vesa driver.
Last edited by cyclotomic (2009-06-27 07:11:12) -
Splitter Problem - ALV Grid not refreshed when selected another item
Hi Experts!!
I have a container on screen 100 which has to be split into 3 areas. Left area ->tree, Right top area -alv grid and bottom also alv grid. I created the program without splitter and it was working fine. After I added this splitter, I see that in ALV grid, the data is not being refreshed. When double clicked on an item in tree struct, ALV grid (CL_SALV_TABLE) to be shown.. Firstly it's fine but when I double click on another item, it's not refreshing the data but is showing the same previous data.
I have searched existing posts and implemented, but no luck.
PFB my code:
* In PBO of screen 100
CREATE OBJECT go_cc_area1
EXPORTING
container_name = 'CC_AREA1'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.
IF sy-subrc <> 0.
MESSAGE e025 WITH sy-subrc.
ENDIF.
CREATE OBJECT go_splitter
EXPORTING
parent = go_cc_area1
orientation = 1 "Vertical split
sash_position = 40
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
ENDIF.
go_container_tree = go_splitter->top_left_container.
go_container_2 = go_splitter->bottom_right_container.
CREATE OBJECT go_splitter_2
EXPORTING
parent = go_container_2
orientation = 0 "Horizontal split
sash_position = 40
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
ENDIF.
go_cc_area2 = go_splitter_2->top_left_container.
go_cc_area3 = go_splitter_2->bottom_right_container.
CREATE OBJECT go_tree
EXPORTING
i_parent = go_container_tree
i_node_selection_mode = cl_gui_column_tree=>node_sel_mode_single
i_item_selection = gc_x
i_no_html_header = gc_x
i_no_toolbar = space
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.
CALL METHOD go_tree->set_table_for_first_display
EXPORTING
i_background_id = space
is_layout = gs_layout
CHANGING
it_sort = gt_sort
it_outtab = gt_tree_output
it_fieldcatalog = gt_fieldcat_tree.
CALL METHOD go_tree->expand_tree
EXPORTING
i_level = 2.
* End - PBO 100
* CLASS lcl_tree_event_receiver DEFINITION
CLASS lcl_tree_event_receiver DEFINITION.
PUBLIC SECTION.
METHODS: handle_item_double_click
FOR EVENT item_double_click OF cl_gui_alv_tree_simple
IMPORTING fieldname
index_outtab
grouplevel.
ENDCLASS. "lcl_tree_event_receiver DEFINITION
* CLASS lcl_tree_event_receiver IMPLEMENTATION
CLASS lcl_tree_event_receiver IMPLEMENTATION.
METHOD handle_item_double_click.
IF go_alv_area2 IS BOUND.
go_alv_area2->refresh( ).
ENDIF.
cl_salv_table=>factory(
EXPORTING
list_display = space
r_container = go_cc_area2
IMPORTING
r_salv_table = go_alv_area2
CHANGING
t_table = gt_table ).
go_alv_area2->display( ).
ENDMETHOD. "handle_item_double_click
ENDCLASS. "lcl_tree_event_receiver IMPLEMENTATION
I am facing the same problem with area 3 as well. Can somebody please help me out.
Thanks a lot!!
Edited by: Srinivas Kalluri on Jan 28, 2012 1:39 PMHi All,
I am still facing this problem. Can somebody please help me out?
I created a test program wth sflight and spfli tables. Can somebody look into this and tell me where I am going wrong?
On screen 100 i have one cust container named CC.
When I test it, it's showing the same refresh problem. But in this test program refresh is atleast happening once.
REPORT ztest.
PARAMETERS: p_carrid TYPE sflight-carrid.
CLASS lcl_tree_event_receiver DEFINITION DEFERRED.
CONSTANTS: gc_x VALUE 'X'.
DATA: go_cc_area1 TYPE REF TO cl_gui_custom_container,
go_tree TYPE REF TO cl_gui_alv_tree_simple,
go_tree_event_receiver TYPE REF TO lcl_tree_event_receiver,
go_cc_area2 TYPE REF TO cl_gui_container,
go_alv_area2 TYPE REF TO cl_salv_table,
go_cc_area3 TYPE REF TO cl_gui_container,
go_columns TYPE REF TO cl_salv_columns_table,
go_cc_editor TYPE REF TO cl_gui_custom_container,
go_editor TYPE REF TO cl_gui_textedit,
go_content TYPE REF TO cl_salv_form_element,
go_container_tree TYPE REF TO cl_gui_container,
go_container_2 TYPE REF TO cl_gui_container,
go_splitter TYPE REF TO cl_gui_easy_splitter_container,
go_splitter_2 TYPE REF TO cl_gui_easy_splitter_container,
go_cc_comp TYPE REF TO cl_gui_custom_container,
go_alv_comp TYPE REF TO cl_salv_table.
DATA: gt_sflight TYPE TABLE OF sflight,
gt_data TYPE TABLE OF spfli,
gt_fieldcat TYPE lvc_t_fcat,
gt_sort TYPE lvc_t_sort,
gs_sflight TYPE sflight,
gs_layout TYPE lvc_s_layo.
* CLASS lcl_tree_event_receiver DEFINITION
CLASS lcl_tree_event_receiver DEFINITION.
PUBLIC SECTION.
METHODS: handle_item_double_click
FOR EVENT item_double_click OF cl_gui_alv_tree_simple
IMPORTING fieldname
index_outtab
grouplevel.
ENDCLASS. "lcl_tree_event_receiver DEFINITION
* CLASS lcl_tree_event_receiver IMPLEMENTATION
CLASS lcl_tree_event_receiver IMPLEMENTATION.
METHOD handle_item_double_click.
READ TABLE gt_sflight INTO gs_sflight INDEX index_outtab.
IF sy-subrc EQ 0.
SELECT * FROM spfli INTO TABLE gt_data WHERE connid = gs_sflight-connid.
IF go_alv_area2 IS BOUND.
go_alv_area2->refresh( ).
cl_gui_cfw=>flush( ).
ENDIF.
cl_salv_table=>factory(
EXPORTING
r_container = go_cc_area2
IMPORTING
r_salv_table = go_alv_area2
CHANGING
t_table = gt_data ).
go_alv_area2->display( ).
ENDIF.
ENDMETHOD. "handle_item_double_click
ENDCLASS. "lcl_tree_event_receiver IMPLEMENTATION
START-OF-SELECTION.
CALL SCREEN 100.
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'MAIN'.
* SET TITLEBAR 'xxx'.
CREATE OBJECT go_cc_area1
EXPORTING
container_name = 'CC'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.
IF sy-subrc <> 0.
* MESSAGE e025 WITH sy-subrc text-e01.
ENDIF.
CREATE OBJECT go_splitter
EXPORTING
parent = go_cc_area1
orientation = 1 "Vertical split
sash_position = 25
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE e025 WITH sy-subrc text-e02.
ENDIF.
go_container_tree = go_splitter->top_left_container.
go_container_2 = go_splitter->bottom_right_container.
CREATE OBJECT go_splitter_2
EXPORTING
parent = go_container_2
orientation = 0 "Horizontal split
sash_position = 40
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE e025 WITH sy-subrc text-e02.
ENDIF.
go_cc_area2 = go_splitter_2->top_left_container.
CREATE OBJECT go_tree
EXPORTING
i_parent = go_container_tree
i_node_selection_mode = cl_gui_column_tree=>node_sel_mode_single
i_item_selection = gc_x
i_no_html_header = gc_x
i_no_toolbar = space
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 e025 WITH sy-subrc text-e03.
ENDIF.
SELECT * FROM sflight INTO TABLE gt_sflight WHERE carrid EQ p_carrid.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'SFLIGHT'
i_bypassing_buffer = gc_x
CHANGING
ct_fieldcat = gt_fieldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE e025 WITH sy-subrc text-e05.
ENDIF.
DATA: ls_fieldcatalog TYPE lvc_s_fcat.
LOOP AT gt_fieldcat INTO ls_fieldcatalog.
ls_fieldcatalog-col_opt = gc_x.
CASE ls_fieldcatalog-fieldname.
WHEN 'CARRID'.
ls_fieldcatalog-no_out = gc_x.
WHEN 'CONNID'.
ls_fieldcatalog-no_out = gc_x.
ENDCASE.
MODIFY gt_fieldcat FROM ls_fieldcatalog.
CLEAR ls_fieldcatalog.
ENDLOOP.
DATA: ls_sort TYPE lvc_s_sort.
ls_sort-spos = 1.
ls_sort-fieldname = 'CARRID'.
ls_sort-up = gc_x.
APPEND ls_sort TO gt_sort.
ls_sort-spos = 2.
ls_sort-fieldname = 'CONNID'.
ls_sort-up = gc_x.
APPEND ls_sort TO gt_sort.
DATA: lt_events TYPE cntl_simple_events,
lo_l_event TYPE cntl_simple_event.
lo_l_event-eventid = cl_gui_column_tree=>eventid_node_context_menu_req.
APPEND lo_l_event TO lt_events.
lo_l_event-eventid = cl_gui_column_tree=>eventid_item_context_menu_req.
APPEND lo_l_event TO lt_events.
lo_l_event-eventid = cl_gui_column_tree=>eventid_header_context_men_req.
APPEND lo_l_event TO lt_events.
lo_l_event-eventid = cl_gui_column_tree=>eventid_expand_no_children.
APPEND lo_l_event TO lt_events.
lo_l_event-eventid = cl_gui_column_tree=>eventid_item_double_click.
APPEND lo_l_event TO lt_events.
lo_l_event-eventid = cl_gui_column_tree=>eventid_button_click.
APPEND lo_l_event TO lt_events.
lo_l_event-eventid = cl_gui_column_tree=>eventid_node_double_click.
APPEND lo_l_event TO lt_events.
CALL METHOD go_tree->set_registered_events
EXPORTING
events = lt_events
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
illegal_event_combination = 3.
* Set Handler
CREATE OBJECT go_tree_event_receiver.
SET HANDLER go_tree_event_receiver->handle_item_double_click FOR go_tree.
CALL METHOD go_tree->set_table_for_first_display
EXPORTING
i_background_id = space
is_layout = gs_layout
CHANGING
it_sort = gt_sort
it_outtab = gt_sflight
it_fieldcatalog = gt_fieldcat.
CALL METHOD go_tree->expand_tree
EXPORTING
i_level = 2.
IF NOT gt_sflight[] IS INITIAL.
CALL METHOD go_tree->set_top_node
EXPORTING
i_index_outtab = 0.
ENDIF.
* Send data to frontend.
CALL METHOD go_tree->frontend_update.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE sy-ucomm.
WHEN 'BACK'.
SET SCREEN 0.
LEAVE SCREEN.
WHEN OTHERS.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
Edited by: Srinivas Kalluri on Jan 31, 2012 4:49 PM -
Finder window does not refresh under yosemite
I have a weird effect on my rMBP with the latest Yosemite:
Very often (not always) when I save a file from an application an open Finder window to the save location does not refresh. The new file is not shown! I can go in with Terminal and everything is fine, the file is there. I can edit its contents (eg. with vi or pico) and I can rename the file. However the Finder still does not show it. Not even closing and re-opening the folder help. The only way I found is to create a new folder and immediately delete it. That forces the Finder to update the window. It looks as if the Finder does not get *some* update events.
I do have XtraFinder installed, but deinstalled it and even after a reboot nothing changed, Finder still does not refresh its display. I cannot tell exactly when this started, but incidentally I run an update some days ago and installed Server 4.0.3 and upates to the latest Pages/Keynote/Numbers (however I do not use those, I am still and will stay with iWork'09).
I use Server on a MBP with dynamic address because I needed virtual domains for local testing, nothing really "serverish". It just provides a nice GUI for easy setting-up of virtual domains.
Any ideas? What can I do?
Thanks
---markus---Please read this whole message before doing anything.
This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
Test while in safe mode. Same problem?
After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test. -
Databound carousel spin not refreshing
Hi All,
I have a VO dragged & dropped as a carousel on my page.
Below is the code,
<af:carousel currentItemKey="#{bindings.PDFImages1.treeModel.rootCurrencyRowKey}"
displayItems="oneByOne" controlArea="small"
value="#{bindings.PDFImages1.treeModel}" var="item"
id="c5" >
<f:facet name="nodeStamp">
<af:carouselItem id="ci1"
text="Label ID: #{item.LabelId} v#{item.VersionNo}.0"
styleClass="AFStretchWidth">
<af:panelStretchLayout id="psl8" startWidth="10px"
endWidth="10px" topHeight="10px"
bottomHeight="10px">
<f:facet name="bottom"/>
<f:facet name="center">
<af:outputText value="#{item.LabelId}@#{item.VersionNo}"
id="ot10"/>
</f:facet>
<f:facet name="start"/>
<f:facet name="end"/>
<f:facet name="top"/>
</af:panelStretchLayout>
</af:carouselItem>
</f:facet>
</af:carousel>
Here the output text is refreshing correctly but af:carouselItem text property is not refreshing when I click on spinner. What's the reason for this? Any property i need to set?
Kindly help.
Regards,
DeeptiMy problem has been resolved.....
Solution had nothing to do with carousel. Problem was actually with VO.
My VO which selects column 1 and 2, was returning values as below
Column1 Column2
ABC 1
ABC 2
ABC 3
But I had selected only column 1 as key attribute (primary key) which was causing the problem with carousel.
When I selected both columns as key attribute, it worked..!!!
Thanks All. -
Can not refresh server manager Error:0x8007045b
OS: Windows 2012 R2 Core
Services: Hyper V
I was trying to remote reboot and the session hung. No worries I decided I could just reboot the next morning. So I rebooted the next day but when I go into server manager I get
an errror can not refresh server manager Error:0x8007045b. Did some research found suggestions to fix it using a DISM.exe /Online /Cleanup-image /Restorehealth.
But then I get an error 1115 A system Shutdown is in progress. I attempt to fix this issue using pskill winlogon but the issue pursistest. I have restarted the server several times now. Not sure how to fix this.
Thanks in advance,
JakeHi,
In addition to the above information,
Checkout the below thread for similar discussion,
http://social.technet.microsoft.com/forums/windowsserver/en-US/a700e9f6-4491-4c70-8bd0-d9d3111e2f70/windows-reboot-error
Regards,
Gopi
JiJi
Technologies -
Can not refresh page after save properly(When not saving master record)
I am using jdeveloper 11g R2 (11.1.2.3) JSF Facelet
In some use case I have Address as master table and Person as detail table
For some business reason I need to don't save same addresses
eg:
If +1 Test St+ is in database already and new user coming and adding this address with new person
I need to use the row in database not creating a new address
I do saving in doDML method of Address with some hashing algorithm and it is fine
My problem is that I can not refresh page after save properly
User coming to page think Adding a new address and a new person but in fact no new
address added because of business I describe above
Any ideas how I can implement this?
Appreciate that
Regards
MohsenHi,
from your description it is not clear why the page doesn't refresh. It could be a problem in your implementation code - who knows. What if you perform the address check on a command button that actually submits the new address? If the check returns true (address exists) you would call row.refresh(forget new row); and re-query the view object so the address coming from the database is displayed. If you wanted to use the doDML then yuou need to be aware that doDML doesn't help removing the row the user created. It just ignores the database update but the entity is still around, which in my suggested solution wont be the case.
Frank -
Can not refresh the metrics in schedular
Post Author: sachinddalal
CA Forum: Performance Management and Dashboards
Hi,
When I refresh the metric using schedular, the metric is not refreshed , nor schedular return any error. But when checked in metrics proparties, the last refresh date is not changed, niether the values are updated.
Whe I try to refresh the metric manual, the values are refresh.
Please help me to troubleshoot the problem of refreshing metric through schedular.
Thanks,
Regards
Sachin DalalPost Author: jezbraker
CA Forum: Performance Management and Dashboards
Scheduler is pretty horrid for refreshing metrics.Better of to use the Rules engine and create a rule thats based on a schedule that based on condition (1=1 works well ) then refreshes metircs.troubleshooting is best done with the trace options in setup/parameters.there are a few other ways or seeing what the schedulers up to - but id stick to rules if i were you. -
Clicking a tree node does not refresh the fields in the table component
hi all,
I am using a tree component along with a table component in my page.so whenever i am clicking on a node it should display the relevant information of that node in the table from the database.But whenever i am doing the page is not refreshing and the old values of the textfields in the table still exist.i have written the code to populate the table in a button click event.It is working fine but the same is not working when i am clicking any node in the tree component.Can anyone provide a solution to this problem.
Thanks and regards,
Prasant KumarNever mind... I actually found something that works...
treeModel.nodeStructureChanged(leadSelection); -
Report Portlets do not refresh data.
How can I refresh a report portlet?
I have created a report and a forms provider based on the same table. I put the portlets on separate TABS on the same PAGE. The report works fine, but when I update the information on the form and return to the report it does not reflect the changes. I have pressed 'refresh', I have gone to another page and come back, no luck. The only way to see the changes is to log out and back in again. Any ideas?
Thanks, DebI had caching turned off. When I turned on both content and page definition, I was unable to query my forms. The forms and reports are on the same page, different tabs. When I select cache page definition only, I get the same results as no caching. The forms will query my data, I can update, but when I return to the reports TAB, the data has not changed. (Yes, I did click refresh.) I have found that if I click the 'Customize' link on the portlet containing the report and then click 'OK' the data will update. This, however gives me a new error that I will worry about later. For now, the users have 'Minimize' but do not have the 'Customize' Link and the 'minimize' link does not refresh the data, nor give me the new error.
-
Workbook not refresh after running Planning Function (BI-IP)
Hi! Folks,
I have a problem with the Bex Analyser which not refresh the data after running Planning Function.
Step 1: Run Planning Function (There are some changes in records)
Step 2: I have to Run Process Variables again and input the same selection in the pop-up variables
Step 3: The changed records will be shown...
Can I have some coding in the Layouts of Bex Analyzer to refresh the data after running Planning Function?
Brgds,
SupasakeHi,
I had a similar problem that the resuls of my planning function were not automatically shown. Only if I did "something else" like saving or running another function the results were displayed.
I think I solved it by upgrading my SAP GUI6.4 with patch 14. the results of planning functions should be automatically displayed.
D -
Firefox is running when my laptop comes out of system standby, but the page that was displaying when the laptop went into sleep mode is now a white canvas that does not refresh.
The application is not hung, because I get prompted to save tabs when I quit, but for some reason, I can't prompt Firefox into refreshing the screen.
I'm running Firefox on a Thinkpad T400 which has Intel 4 series Express integrated Graphics.This also happened if the network adapter is disabled then enabled. My computer is Windows 7 x64. Firefox needs to be killed from taskman before it will load a new instance of the application. I can also reproduce with all add-ons disabled.
-
Master-Detail Detail does not refresh after it's been empty
I have a master detail page (both are tables) that works just fine, until I click a master record that has no details.
After that the panelHeader of teh detail is refreshed with the PPT but the table underneath it is not, I keep seeing "no rows yet", no matter which master record I click.
When I go to a different page and return it's fine again.
Only one of my pages has this behavior, I tested this on another and it was fine. Has anyone seen this behavior before?
My console has this message:
May 11, 2007 10:52:38 AM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
WARNING: rowIterator is null
Message was edited by:
Wendy TrompOk I found it,
My details iterator had the following properties:
<iterator id="AfdelingMedewerkersIterator" RangeSize="-1"
Binds="AfdelingMedewerkers"
DataControl="PRBAppModuleDataControl"
Refresh="IfNeeded" RefreshCondition="#{!adfFacesContext.postback}" />
I have no idea why I set it like that, but removing the Refresh properties fixed my problem.
I am still clueless as of why this led to the behavior as described above. I could have understood it if my iterator was not refreshed at all, but I have no idea why it stopped working only after the details were empty and not a second before...
Anyway, problem solved! -
Not Refresh Value After Add New Record used with RPC Component
This is my code in the class Users.as
package inthanous
import mx.controls.Alert;
import mx.rpc.http.HTTPService;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
public class Users
private var service:HTTPService;
[Bindable]
public var xmllist_user:XMLList;
public function Users(){
service = new HTTPService();
service.method = "POST";
service.useProxy = false
service.resultFormat = "e4x";
public function listUser():void{
service.url = "/user/get_all_user_group_name";
service.addEventListener("result", httpResultListUser);
service.addEventListener("fault", httpFaultListUser);
xmllist_user = new XMLList();
service.send();
private function httpResultListUser(event:ResultEvent):void{
service.removeEventListener("result", httpResultListUser);
service.removeEventListener("fault", httpFaultListUser);
xmllist_user = new XMLList(service.lastResult.children());
listAllUser();
private function httpFaultListUser(event:FaultEvent):void{
var faulstring:String = event.fault.message;
service.removeEventListener("result", httpResultListUser);
service.removeEventListener("fault", httpFaultListUser);
Alert.show(faulstring,"Error");
public function createUser(_xml:XML):void{
service.url = "/user/create_user";
service.addEventListener("result", httpResultCreateUser);
service.addEventListener("fault", httpFaultCreateUser);
service.send({firstName: _xml.firstName,
lastName: _xml.lastName,
gender: _xml.gender,
login: _xml.login,
pwd: _xml.pwd,
dtBirth: _xml.dtBirth,
telephone: _xml.telephone,
idGroup: _xml.idGroup
private function
httpResultCreateUser(event:ResultEvent):void{
service.removeEventListener("result", httpResultCreateUser);
service.removeEventListener("fault", httpFaultCreateUser);
listUser();
clearUserDetail();
private function httpFaultCreateUser(event:FaultEvent):void{
var faulstring:String = event.fault.message;
service.removeEventListener("result", httpResultCreateUser);
service.removeEventListener("fault", httpFaultCreateUser);
Alert.show(faulstring,"Error");
This code i used with Ruby on Rail to connect with MySQL.
When i used with FireFox browse after i create new user
success it refresh the new record in Datagrid. But for the Internet
Explorer Datagrid not refresh it because of it display the old
recode before create.
So i don't know it problem by Internet Explorer or my script.
i hope someone can help me the solve this problem.
thanksIf you restrict the selection, a record value outside of that selection is not acceptable and will give you this error. This is how BPS works.
You need to restrict on some other char so BASIC1 doesn't come in, but this value should be part of any selection on ZSEGMENT field for it to be accepted back.
Maybe you are looking for
-
Java (.jar) applications and games on 5530XM
Hello I have used the search option before asking, and I have manually searched some of the sub-forums (or boards) I thought could and would be relevant to my issue, and have seen no similar questions being asked. I have also worked with my good frie
-
Somebody has stolen my macbook pro. What can I do?
Yesterday somebody stole my computer macbook pro. I want to know if there is any thing that I can do. Thanks!!
-
SSRS/SharePoint Migration 2010 to 2013 connection issues
We are currently attempting to move our SharePoint 2010 to 2013 and SSRS Information. The first attempt at this we were unable to get SSRS to show up in Central Admin. We decided to rebuild all servers and re-installed everything. This time we have S
-
Runtime Error SYNTAX_ERROR with MIGO tcode
Hi Gurus, I got a new issue now. while executing MIGO tcode getting SYNTAX_ERROR dump, please check below dump details.. Category ABAP Programming Error Runtime Errors SYNTAX_ERROR ABAP Program SAPLVBDOCUBATCH_DM Appli
-
Why can't I change the frame label type?
In a movie clip, I have several frame labels applied. The type of label is set to Name, which is the default. I want to change some of them to Anchor (to use as named anchors with fscommand), but the Type drop-down list is grayed out. Anyone know why