Save and Exit button
Hi
I want to make a button that commits changes made on the page the button is on and then navigates away to another page.
I have tried to set an action on the button matching an action on a page flow. In Internet Explorer it seems to work. The change is commited and I get navigated back to the page I want to get navigated to but I get a warning every time saying: "To display the webpage again, Internet Explorer needs to resend the information you´ve previously submitted.
If you were making a purchase, you should click Cancel to avoid dublicate transaction. Otherwise, click Retry to display the webpage again."
In firefox the part of the page containing the Commit button doesn´t get shown.
I am not a java guru so I hoped I could do this without a backing bean. Is it possible to do this without a backing bean?
If someone could tell me how to do this or give me a link to some example I would be grateful.
Regards
Atlantic Viking
Hi,
not sure what is going on there but it seems that the page is served from the browser cache than refreshed from the server. Since you don't mention the release of JDeveloper I assume 10.1.3. If you set "redirect" on the navigation flow, does it happen the same ? In the visual editor, select the navigation case and edit its properties to set the redirect
Frank
Similar Messages
-
In 3.6 when ever I closed the browser with multi tabs open it would give me the option to Save and Exit. Then when I reopened the browser it would give me the option to open the previous session. I could also bookmark all open tabs. All of these features appear to no longer be present in 4.0. If this is the case I will be forced to uninstall and reinstall 3.6.
Bookmark All Tabs - you can get it when you right-click on a tab, or use keyboard shortcut Control+Shift+D.
Firefox now always stores the old session, and you can access it by going to the History menu and selecting "Restore Previous Session"
If you want Firefox to display the message to save the session, it can be turned back on by changing some preferences.
# Type '''about:config''' into the location bar and press enter
# Accept the warning message that appears, you will be taken to a list of preferences
# Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
# Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''
If you always open the last set of tabs, an alternative approach is this:
# Click the orange Firefox button, then select options to open the options window
# Go to the General panel
# Change the setting "When Firefox starts" to "Show my windows and tabs from last time" -
Built-in SSH Terminal question on how to save and exit
Howdy, Heres my question and problem.
I haven't been able to figure out how to save and exit the editor for the SSH terminal that the mac has. I've read that to save you press control -O hit return and to exit hit control -X but that doesn't seem to be working.
I'm trying to install imagemagick onto my web server and I get stuck at that point of saving and then exiting.
can anyone tell me how to save and exit the editor?
I hold down control press -O i let go of the buttons then i press control -X and it stays at the same editor like nothing happened. I try quitting the terminal and reloading it all but that just causes me to restart and nothing saved. and I actually hit the "-" key should i do that or no?
heres the instructions I'm following for the imagemagick install.
(For this next part, if you don't have "pico", you can use "vi" instead)
$ cd libtiff-lzw-compression-kit
$ pico Makefile
change
TIFFSRCDIR = /tmp/libtiff
to
TIFFSRCDIR = ../tiff-v3.5.5
Then save and exit the Editor $ make install
$ cd ..
$ cd tiff-v3.5.5
$ ./configure
thanks for any help
-Ahufsctrl+x (thats both keys at the same time) will invoke the exit of the program. at wich point if youve made changes to the file it will ask you if you want to save the data or not. If yes you need to type yes or y and hit enter... if no then no or n. Then it will ask you what you want the file name to be with the default being whatever the file was that you opend to buffer to work on so in most cases you hit enter again.
hitting ctrl+o (thats both at the same time again) should write the file out and close the application without prompting i think (i dunno for sure... i always use ctrl+x myself).
At least thats on the OS X version of pico... your server is probably linux so it may differ although i wouldnt expect it to. my pico bindings have always been the same from Debian to CentOS to Darwin.
Also i msut ask... why cant you pass the TIFFSRCDIR as an option to ./configure like normal instead of manually editing the make file? -
My most favorite benefit of Firefox is that I can "save and exit" I recently downloaded the newest version , 4.0. Since then when I goto "file>exit> click to execute, I am not given the option of "save and exit" How do I get this feature back?
Firefox now always stores the old session, and you can access it by going to the History menu and selecting "Restore Previous Session"
If you want Firefox to display the message to save the session, it can be turned back on by changing some preferences.
# Type '''about:config''' into the location bar and press enter
# Accept the warning message that appears, you will be taken to a list of preferences
# Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
# Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''
If you always open the last set of tabs, an alternative approach is this:
# Click the orange Firefox button, then select options to open the options window
# Go to the General panel
# Change the setting "When Firefox starts" to "Show my windows and tabs from last time" -
Save and Close button issue in CRM 2013 for Activity Type Appointment
Hi All,
Have come across a strange behavior in CRM 2013 and would like to be sure that it really is an issue which others have encountered too.
Open a Case record, and click on Activity navigation link to see the Open Activity Associated View. Then try creating an Activity of type Meeting and click on
Save & Close button (not just Save). When you refresh the view, the activity might show up. But repeat the same steps and create another Activity of Type Meeting and this activity will not show up. It doesnt show up even in the All Activities
view. Seems like the activity does not get created when using Save and Close button.
This behavior is replicated even on online 30 day trial version. Any inputs?
Regards,
YogeshThe problem only occurs when your appointment times clash. "Save and close" just throws the appointment away. "Save" tells you about clash (or perhaps it's just unavailability) and allows you to ignore and continue with the
save. -
CRM 2013 - "Save and Close" button behavnig like "Save and New"
Hi,
I am working in CRM 2013. I have a scenario in which I am saving new opportunity product record through javascript and preventing original save of CRM. Save is working fine. After save, I need to refresh the screen. So I have used "Xrm.Utility.openEntityForm"
to open newly created item in edit mode. When I click on "Save and Close" button on this new form in edit mode, instead of closing the opportunity product screen, it opens new entity form. So in short, after saving the record, if I click on "Save
and Close", it behaves like "Save and New".
Any one facing such issue?Save & Close seems to behave like the Save & "Back" Button, so the form tries to return to the new form, that was opened before.
But I have no solution for this behavior... -
In adobe reader app on iPad, I have a PDF document that added notes and comments to. Once I left the document and returned to it, the notes and comments were gone. Where are they? I clicked "save" and "done" buttons after I entered text.
The application auto-saves your input when you close the document. If you left the document, as you state, the notes/comments should have been saved and should have been visible the next time you opened the document with the Mobile Reader (note that if you are opening the document with another app such as Apple's built in PDF Viewer, things like notes/comments may not be visible). Also note that if you are doing an Open In... from another app (like Dropbox), the version of the document in Dropbox does not update; only the version of the document in the Mobile Reader is updated.
Would it be possible to send a video of the problem you are encountering to [email protected] so that we can try to help? -
I am using Windows 7 SP1(cannot confirm the IE version, suppose IE8).When I tried to edit a survey item, click Save and Close button. Data cannot be saved.No problem with my account or permission since I can change it on another computer.Below action cannot
fix the problem:clean IE catch, reset IE, reinstall IE, rebuild windows profile.
error can be seen at the IE status bar
Erros on this webpage might cause it to work incorrectly
'length' is null or not an object
custom_ows.js
'undefined' is null or not an object
custom_ows.js
Code:0
URI: http://server/_layouts/1033/custom_ows.jsMainstream Support for SharePoint 2003 has already ended and it does not list IE8 as a supported browser:
http://office.microsoft.com/en-us/technet/system-requirements-HA001160515.aspx?pid=CH011719821033
You can always try to add the site to Compatibility Mode, but there is no guarantee that it will work in this scenario,
http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-8
Dimitri Ayrapetov (MCSE: SharePoint) -
Cancel and Exit button not working
Dear Experts,
<u>Cancel and Exit button not working</u>
I am calling a screen from inside a report program
using SET SCREEN 9000.
2 of the date fields(start date end date)
on this screen are Mandatory.
I am not able to Come out of this screen 9000 using
CANCEL or EXIT button
without giving a date entry in both of
Mandatory fields (start date end date).
Can someone help me with a solution?
Appreciate your valuable help;
Points assured
Thanks,
Aby JacobHi..
To avoid this problem you have to use AT EXIT-COMMAND Module.
1. In the GUI Status for both EXIT and CANCEL buttons assign the Function type E (Exit Command)
2. In the PAI of the Screen Call this module.
MODULE EXIT_SCREEN AT EXIT COMMAND.
3. Now check the OK_CODE or Sy-ucomm in this module to Leave the Screen
MODULE EXIT_SCREEN INPUT.
CASE OK_CODE.
WHEN 'EXIT' .
LEAVE TO SCREEN 0.
WHEN 'CANCEL'.
ENDCASE.
ENDMODULE.
This will surely work.
<b>reward if Helpful.</b> -
Problem activating the back and exit button with the ALV using OO
I have wrote my first alv using Methods.My problem is that i can't activete the BACK and EXIT button in the standart toolbar .
Look my code please .....
Without PF-STATUS can i do it ?
*& Report YDP_DOUBLE_ALV
REPORT YDP_DOUBLE_ALV.
TABLES : YQM_CERT , MARA , YOUTPUT_APPL.
DATA : ALV_GRID TYPE REF TO CL_GUI_ALV_GRID,
CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
FIELD_CAT TYPE LVC_T_FCAT,
LAYOUT TYPE LVC_S_LAYO.
DATA : ALV_GRID2 TYPE REF TO CL_GUI_ALV_GRID,
CUSTOM_CONTAINER2 TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
* FIELD_CAT TYPE LVC_T_FCAT,
* LAYOUT TYPE LVC_S_LAYO.
DATA: DYNNR TYPE SY-DYNNR,
REPID TYPE SY-REPID.
DATA: OK_CODE TYPE SY-UCOMM.
DATA : BEGIN OF ITAB OCCURS 0.
INCLUDE STRUCTURE YQM_CERT.
DATA END OF ITAB.
DATA : BEGIN OF ITAB1 OCCURS 0.
INCLUDE STRUCTURE YOUTPUT_APPL.
DATA END OF ITAB1.
* MODULE DISPLAY_ALV OUTPUT
MODULE DISPLAY_ALV OUTPUT.
SET PF-STATUS 'ZST9'.
PERFORM DISPLAY_ALV.
ENDMODULE. "DISPLAY_ALV OUTPUT
"DISPLAY_ALV OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE USER_COMMAND_0100 INPUT.
CASE OK_CODE.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
START-OF-SELECTION.
LAYOUT-ZEBRA = 'X'.
LAYOUT-GRID_TITLE = 'YQM_CERT'.
LAYOUT-CWIDTH_OPT = 'X'.
LAYOUT-SMALLTITLE = 'X'.
SELECT * FROM YQM_CERT INTO ITAB.
APPEND ITAB.
ENDSELECT.
SELECT * FROM YOUTPUT_APPL INTO ITAB1.
APPEND ITAB1.
ENDSELECT.
CALL SCREEN 100.
END-OF-SELECTION.
*& Form DISPLAY_ALV
* text
FORM DISPLAY_ALV.
IF ALV_GRID IS INITIAL.
CREATE OBJECT CUSTOM_CONTAINER
EXPORTING
* PARENT =
CONTAINER_NAME = 'CC_ALV'
* style =
* LIFETIME = lifetime_default
REPID = REPID
DYNNR = DYNNR
* NO_AUTODEF_PROGID_DYNNR =
* 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 ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT ALV_GRID
EXPORTING
* I_SHELLSTYLE = 0
* I_LIFETIME =
I_PARENT = CUSTOM_CONTAINER
* I_APPL_EVENTS = space
* I_PARENTDBG =
* I_APPLOGPARENT =
* I_GRAPHICSPARENT =
* I_NAME =
* I_FCAT_COMPLETE = SPACE
* EXCEPTIONS
* ERROR_CNTL_CREATE = 1
* ERROR_CNTL_INIT = 2
* ERROR_CNTL_LINK = 3
* ERROR_DP_CREATE = 4
* others = 5
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD ALV_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
* I_BUFFER_ACTIVE =
* I_BYPASSING_BUFFER =
* I_CONSISTENCY_CHECK =
I_STRUCTURE_NAME = 'YQM_CERT'
* IS_VARIANT =
* I_SAVE =
* I_DEFAULT = 'X'
IS_LAYOUT = LAYOUT
* IS_PRINT =
* IT_SPECIAL_GROUPS =
* IT_TOOLBAR_EXCLUDING =
* IT_HYPERLINK =
* IT_ALV_GRAPHICS =
* IT_EXCEPT_QINFO =
* IR_SALV_ADAPTER =
CHANGING
IT_OUTTAB = ITAB[]
* IT_FIELDCATALOG =
* IT_SORT =
* IT_FILTER =
* EXCEPTIONS
* INVALID_PARAMETER_COMBINATION = 1
* PROGRAM_ERROR = 2
* TOO_MANY_LINES = 3
* others = 4
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ELSE.
CALL METHOD ALV_GRID->REFRESH_TABLE_DISPLAY
* EXPORTING
* IS_STABLE =
* I_SOFT_REFRESH =
* EXCEPTIONS
* FINISHED = 1
* others = 2
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDFORM. "DISPLAY_ALVHi
U need to active them in your status ZST9.
Max -
Minimize, Maximize, and Exit Buttons are Missing
I can not view the minimize, maximize, and exit buttons unless I enter full-screen viewing. I have all add-ons turned off.
You may not see those buttons clearly if they get hidden by the transparency on Windows 7.
Right click in a free space on your desktop.<br />
Left click on Personalization.<br />
There are four options in Windows 7 at the bottom of the screen, choose "Window Color and Appearance".<br />
Select a border color<br />
Uncheck: "Enable transparency"<br />
*[[/questions/804050]] -
How can i remove Go and Exit buttons as well as Advanced text from OVS help
Hi Gurus,
Once i have impleted OVS code in my webdynpro, i am able to see Go and Exit buttons as well as Advanced Search Text, but i do not want see buttons and Text in my screen, How can i remove the same?
Thanks
Venkat.Hi Venkat,
Create a context attribute say Va_Attr1 in the parent view, popup view and component controller. Map both the context in 2views to the component controller. So, the context variable which is bound to input field is passed via component controller to popup view and is stored in there as context attribute.
Now, you can just get the context attribute value set in the input field in parent view and use it for search in popup view.
In order, to have tables with multi-selection. Goto table properties and in selectionMode, set multiNoLead instead of auto.
Then in the wdDoInit() of popup view put,
wdContext.node<Table>().setLeadSelection(-1);
Loop through the table node and find out at what all index rows are selected for table using
int count=0;
String s = "";
for(int i1=0; i1<wdContext.node<Table>().size();i++){
if(wdContext.node<Table>().isMultiSelected(i1)==true){
count = count+ 1;
s=s+ i1;
count will give you no. of rows selected which would be equal to s.length.
s.CharAt(0) will give the first row selected and similarly
s.CharAt(n) will give the nth row selected
Using Integer.parseInt(s.CharAt(n)) will give you back the index int type where s.length will give No. of rows selected.
For rows which are selected append the text values of all those separated by ";" using
StringBuffer strBf = new StringBuffer();
for(int i=0; i< <No. of rows selected>; i++){
if(i=0){
strBf.append(wdContext.node<Table>().get<Table>ElementAt(Integer.parseInt(s.CharAt(i))).get<Text>());
}else{
strBf.append(";" + wdContext.node<Table>().get<Table>ElementAt(Integer.parseInt(s.CharAt(i))).get<Text>());
Finally when 1 or more row is selected and needs to be populated in the input field then set in the context attribute which will pass the value through context mapping using
wdContext.currentContextElement().setVa_Attr(strBf.toString);
Regards,
Tushar Sinha -
How to set Save and Apply button to disabled
Hi all
i need to disable the save and apply buttons according to some action the user is doing, when the user changes some LOV value the save button should be disabled
the following code i am using is not working to disable the button,
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) {
String val = "";
String message = "";
int statusVal = 0;
try {
super.processFormRequest(pageContext, webBean);
if ("empPositionChange".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM))) {
OAMessageChoiceBean rGBean1 = (OAMessageChoiceBean)webBean.findIndexedChildRecursive("Status");
if (rGBean1 != null) {
val = (String)rGBean1.getValue(pageContext);
statusVal = Integer.parseInt(val);
if (statusVal == 1) {
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAViewObject vo1 = (OAViewObject)am.findViewObject("WOCreateUpdateVO");
vo1.reset();
if (vo1 != null) {
vo1.next();
OARow row = (OARow)vo1.getCurrentRow();
String ReasonCode = (String)row.getAttribute("Attribute1");
//message = message + ReasonCode;
if (ReasonCode == null) {
OASubmitButtonBean savebBean = ((OASubmitButtonBean)webBean.findChildRecursive("Save"));
if (savebBean != null){
savebBean.setDisabled(true);
OASubmitButtonBean applybBean = ((OASubmitButtonBean)webBean.findChildRecursive("Apply"));
if (savebBean != null){
applybBean.setDisabled(true);
catch(Exception exception){
throw new OAException("Error in Staffing Query: "+exception, OAException.ERROR);
please any one had this issue.
any help??
Regards,i am using this code in the processRequest
public void processRequest(OAPageContext pageContext, OAWebBean webBean){
super.processRequest(pageContext, webBean);
OAMessageChoiceBean mcb = (OAMessageChoiceBean)webBean.findIndexedChildRecursive("Status");
FireAction firePartialAction = new FirePartialAction("empPositionChange");
mcb.setAttributeValue(PRIMARY_CLIENT_ACTION_ATTR,firePartialAction);
as for tracking the error it is giving me nullpointerexecption on the OASubmitButtonBean savebBean = ((OASubmitButtonBean)webBean.findIndexedChildRecursive("Save")); -
How to enable save and archieve button in smartform output?
How to enable save and archieve button in smartform output?
Hi,
While populating your output parameters, use parameter TDARMOD (Print Archieve Mode: 1,2 3).
Hope this will hint you how to resolve the issue.
BR,
Vinit -
Problem with SAVE and RESET button in WAD
Hi all,
We have two queries embedded in save template and we have created two different save and reset buttons for each query. But if i execute save or reset for one query it is working for both the queries. Can i restrict the SAVE and RESET button for a particular query.Hi Tilak,
It appears that though there are two reset buttons, the HTML code for the webtemplete is not arranged to restrict the reset function of the button for each dataprovider used. This may cause the reset function to act globally on all dataproviders . In the XHTML code, please pass a unique instruction to each reset function, such that each instruction corresponds to a unique dataprovider.
Thanks,
Nithin Reddy
Maybe you are looking for
-
Attempting to Upload an FSG template error
Hi, We are facing issue,while uploading the FSG template error on web ADI,can you please suggest us how to resolve the issue. Exception Name: oracle.apps.bne.exception.BneFatalException - Error loading class: Log File Bookmark: 408173 Navigartion pat
-
Why do I get "invalid drive E:/" when trying to update my itunes software
Why do I get the message "invalid drive E:/" while trying to upgrade itunes? It causes the update to fail.
-
Consignment and non consignment material
Hi All, I need to understand and need help on below situation I have Material A with below scenarios Supplier 1 supplies it on Consignment Supplier 2 supplies it on Non-Consignment Is it possible to have this scenario,can we setup in th
-
hi i want to start working on SAP BI. Can any one tell how to start? what to material to prefer? From where i can get the details of SAP BI . Thank you
-
Oracle 10g XE to 11g XE upgrade: gen_inst.sql does nothing.
I am trying to upgrade from 10gXE to 11gXE; I logon to SQL Plus "conn sys as sysdba", and execute the gen_inst.sql procedure. Quote: Connect to 10.2 XE database as SYS user and run gen_inst.sql. This will generate install.sql, gen_apps.sql and other