Error in using popup to confirm dialog
I am using a set of coding given in book. Follows :
I am giving the essential only here.....
DATA : LT_TEXT TYPE STRING_TABLE,
LR_COMPONENT_API TYPE REF TO IF_WD_COMPONENT,
LR_POPUP TYPE REF TO IF_WD_POPUP_TO_CONFIRM,
LR_VIEW_CONTROLLER TYPE REF TO IF_WD_VIEW_CONTROLLER.
CALL METHOD CL_WD_POPUP_FACTORY=>POPUP_TO_CONFIRM
EXPORTING
COMPONENT = LR_COMPONENT_API
TEXT = LT_TEXT
WINDOW_TITLE = 'DELETE CONFIRMATION'
RECEIVING
POPUP_TO_CONFIRM = WD_THIS->LR_POPUP.
Now I am getting the error like WD_THIS->LR_POPUP not defined .
i checked with the class CL_WD_POPUP_FACTORY and method POPUP_TO_CONFIRM and LR_POPUP declaration for type compatibility, every this is fine but not working. can anyone help on this ?
Try the following code:
DATA lo_api_componentcontroller TYPE REF TO if_wd_component.
DATA : lr_popup TYPE REF TO if_wd_popup_to_confirm.
DATA l_controller_api TYPE REF TO if_wd_controller.
DATA : l_configuration TYPE wdr_popup_to_confirm.
DATA : l_text_table TYPE string_table,
ls_text_table TYPE string .
lo_api_componentcontroller = wd_this->wd_get_api( ).
l_controller_api = wd_this->wd_get_api( ).
ls_text_table = 'Are you sure you want to Delete record?'.
APPEND ls_text_table TO l_text_table .
TRY.
CALL METHOD cl_wd_popup_factory=>popup_to_confirm
EXPORTING
component = lo_api_componentcontroller
text = l_text_table
window_title = 'Confirmation'
configuration = l_configuration
RECEIVING
popup_to_confirm = wd_this->popup.
CATCH cx_wd_runtime_repository .
ENDTRY.
wd_this->popup->subscribe_to_events(
controller = l_controller_api
handler_name = 'CONF_DELETE' ).
Similar Messages
-
File download is getting error while using popup
Hi experts,
Working in jdev 11.1.1.3.0, ADF BC with rich faces.
I am downloading word document from ADF application, i am using fileDownloadActionListener it's working fine, but before opening any file if i invoke any popup, like in my case i have to select the now of rows which user wants select the rows in the table and popup opens and i will enter some number in that and click ok, then the rows will be selected after that if i try to download the document then i am getting error in the console and in the UI the internet explorer is giving the popup as information Bar and asking to download .
<Aug 17, 2010 11:28:50 AM EDT> <Error> <HTTP> <BEA-101020> <[ServletContext@21083818[app:CardEmboss_New module:CardEmboss_New-ViewController-context-root path:/CardEmboss_New-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
java.lang.IllegalStateException: Response already committed
at weblogic.servlet.internal.ServletOutputStreamImpl.clearBuffer(ServletOutputStreamImpl.java:336)
at weblogic.servlet.internal.ServletOutputStreamImpl.reset(ServletOutputStreamImpl.java:289)
at weblogic.servlet.internal.ServletResponseImpl.reset(ServletResponseImpl.java:327)
at javax.servlet.ServletResponseWrapper.reset(ServletResponseWrapper.java:193)
at org.apache.myfaces.trinidadinternal.taglib.listener.FileDownloadActionListener.processAction(FileDownloadActionListener.java:127)
Truncated. see log file for complete stacktrace
>
<Aug 17, 2010 11:28:50 AM EDT> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Aug 17, 2010 11:28:50 AM EDT. Notification details:
WatchRuleType: Log
WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
WatchData: DATE = Aug 17, 2010 11:28:50 AM EDT SERVER = DefaultServer MESSAGE = [ServletContext@21083818[app:CardEmboss_New module:CardEmboss_New-ViewController-context-root path:/CardEmboss_New-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
java.lang.IllegalStateException: Response already committed
at weblogic.servlet.internal.ServletOutputStreamImpl.clearBuffer(ServletOutputStreamImpl.java:336)
at weblogic.servlet.internal.ServletOutputStreamImpl.reset(ServletOutputStreamImpl.java:289)
at weblogic.servlet.internal.ServletResponseImpl.reset(ServletResponseImpl.java:327)
at javax.servlet.ServletResponseWrapper.reset(ServletResponseWrapper.java:193)
at org.apache.myfaces.trinidadinternal.taglib.listener.FileDownloadActionListener.processAction(FileDownloadActionListener.java:127)
at oracle.adfinternal.view.faces.event.rich.FileDownloadActionListener.processAction(FileDownloadActionListener.java:77)
at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:673)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = MIA-DT-06282 TXID = CONTEXTID = f7ad25c4bcd184ea:601da344:12a8060fa0a:-8000-00000000000001b5 TIMESTAMP = 1282058930160
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 30000
>
<JMXWatchNotificationListener><handleNotification> failure creating incident from WLDF notification
oracle.dfw.incident.IncidentCreationException: DFW-40116: failure creating incident
Cause: DFW-40112: There was an error executing adrci commands; the following errors have been found "DIA-48315: ADR unavailable
DIA-48315: ADR unavailable
DIA-48168: the ADR sub-system is not initialized
Action: Ensure that command line tool "adrci" can be executed from the command line.
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:891)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createIncident(DiagnosticsDataExtractorImpl.java:269)
at oracle.dfw.spi.weblogic.JMXWatchNotificationListener.handleNotification(JMXWatchNotificationListener.java:264)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1732)
at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:257)
at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:322)
at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:307)
at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:229)
at weblogic.management.jmx.modelmbean.WLSModelMBean.sendNotification(WLSModelMBean.java:824)
at weblogic.diagnostics.watch.JMXNotificationProducer.postJMXNotification(JMXNotificationProducer.java:79)
at weblogic.diagnostics.watch.JMXNotificationProducer.sendNotification(JMXNotificationProducer.java:104)
at com.bea.diagnostics.notifications.JMXNotificationService.send(JMXNotificationService.java:122)
at weblogic.diagnostics.watch.JMXNotificationListener.processWatchNotification(JMXNotificationListener.java:103)
at weblogic.diagnostics.watch.Watch.performNotifications(Watch.java:621)
at weblogic.diagnostics.watch.Watch.evaluateLogRuleWatch(Watch.java:546)
at weblogic.diagnostics.watch.WatchManager.evaluateLogEventRulesAsync(WatchManager.java:792)
at weblogic.diagnostics.watch.WatchManager.run(WatchManager.java:552)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: oracle.dfw.common.DiagnosticsException: DFW-40112: failed to execute the adrci commands "create home base="C:\\Documents and Settings\\ldpila\\Application Data\\JDeveloper\\system11.1.1.3.37.56.60\\DefaultDomain\\servers\\DefaultServer\\adr" product_type=ofm product_id=defaultdomain instance_id=defaultserver
set base C:\\Documents and Settings\\ldpila\\Application Data\\JDeveloper\\system11.1.1.3.37.56.60\\DefaultDomain\\servers\\DefaultServer\\adr
set homepath diag\ofm\defaultdomain\defaultserver
create incident problem_key="BEA-101020 [HTTP][java.lang.IllegalStateException]" error_facility="BEA" error_number=101020 error_message="null" create_time="2010-08-17 11:28:50.160 -04:00" ecid="f7ad25c4bcd184ea:601da344:12a8060fa0a:-8000-00000000000001b5"
Cause: There was an error executing adrci commands; the following errors have been found "DIA-48315: ADR unavailable
DIA-48315: ADR unavailable
DIA-48168: the ADR sub-system is not initialized
Action: Ensure that command line tool "adrci" can be executed from the command line.
at oracle.dfw.impl.incident.ADRHelper.invoke(ADRHelper.java:1183)
at oracle.dfw.impl.incident.ADRHelper.createIncident(ADRHelper.java:870)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:871)
... 19 more
Can any one help me what may be the issue here.
Code:
popup ok button:
public void selectCardNumber(ActionEvent actionEvent) {
// Add event code here...
try {
RichTable _table = this.getEmbossTB();
RowKeySet rks = new RowKeySetImpl();
CollectionModel model = (CollectionModel)_table.getValue();
BigDecimal nCount = (BigDecimal)getNoOfCards().getValue();
System.out.println("number: " + nCount);
String newNum = getNoOfCards().getValue().toString();
if (nCount != null && Pattern.matches("^[0-9]+$", newNum)) {
for (int i = 0; i < nCount.intValue(); i++) {
model.setRowIndex(i);
Object key = model.getRowKey();
rks.add(key);
_table.setSelectedRowKeys(rks);
AdfFacesContext.getCurrentInstance().addPartialTarget(_table);
ADFUtils.hidePopup(this.getP1().getClientId(FacesContext.getCurrentInstance()));
} else {
FacesContext fctx = FacesContext.getCurrentInstance();
FacesMessage message =
new FacesMessage("Please enter positive Integer number");
message.setSeverity(FacesMessage.SEVERITY_ERROR);
fctx.addMessage(null, message);
} catch (Exception e) {
e.printStackTrace();
Edited by: user5802014 on Aug 17, 2010 8:42 AM
Edited by: user5802014 on Aug 17, 2010 8:53 AMHi,
I even got the same issue when doing this.
public void downloadcsv(javax.faces.context.FacesContext facesContext,
OutputStream outputStream) {
PrintWriter out = new PrintWriter(outputStream);
for(int i=0;i<4000;i++)
out.println("text");
out.flush();
out.close();
facesContext.responseComplete();
Workaround:
public void downloadcsv(javax.faces.context.FacesContext facesContext,
OutputStream outputStream) {
StringBuffer buffer = new StringBuffer("");
for(int i=0;i<4000;i++)
buffer.append("text\n")
String result = buffer.toString();
outputStream.write(result.getBytes());
outputStream.flush();
outputStream.close();
facesContext.responseComplete();
Thanks,
Tulasi Raghuveer Beesabathuni. -
Poping Up a Confirmation Dialog
I would like to popup a confirmation dialog when a user clicks a 'cancel' button in my page. If the user clicks 'NO' in the dialog, data is not cleared and navigation is canceled.
I tried this ...
public String cancelBtn_action() {
int i = JOptionPane.showConfirmDialog
(null, "Do you really want to clear all data and start over?",
"Warning", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
if(i == JOptionPane.YES_OPTION) {
getSessionBean1().clearBeans();
return "clear";
else return "null";
}... but the dialog is hidden behind all the open windows on my machine (b/c the 'null' argument in showConfrimDialog, I guess).
Can I attach this dialog to the page somehow (so it does not get hidden)? Should I even use Swing? Is there a prefered way to use popup dialogs in JSF/Creator?
Any information would be much appreciated.Thank you for your reply.
Pardon any redundancy, but to be sure that I am making myself clear and that I am understanding your response...
At first 'cancel_action()' ( event handler in the page bean) looked like this:
public String cancelBtn_action() {
getSessionBean1().clearBeans();
return "cancel";
}To make this code conditional I next tried this:
public String cancelBtn_action() {
int i = JOptionPane.showConfirmDialog
(null, "Do you really want to clear all data and start over?",
"Warning", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
if(i == JOptionPane.YES_OPTION) {
getSessionBean1().clearBeans();
return "cancel";
else return "null";
}This code works 'fine', except that the dialog gets displayed behind all open windows where the user can not see it. (If there is a way to tie the dialog to the browser frame so it does not get buried (maybe there is?), this would allow all the JOptionPane stuff to be leveraged nicely with JSF).
Since you are not modifying any data based on the
response received from confirmation dailogclearBeans() clears data previously entered in several session-scoped beans (so data is (conditionaly) modifed). "cancel" and "null" are different navigation cases
I would suggest to use javascript based dialogs. I like the simplicity of using javascript, but I need to set a flag (or something similar) in my page bean to conditionaly control navigation and whether to clear data stored in the session beans. This seems to require that the javascript calls a method in the page bean. Can this be done with JSF?
>
You can also use another jsp page in a popup as
confirmation dialog by specifying the size of the new
page.
So I guess you mean a non-JSF JSP page? Since I need to finish executing the code in the event handler that was interupted by the confirmation dialog, I think that JSF navigation/lifecycle issues would be a problem. Am I correct?
Again pardon any redundancy.
More details on either (or any other) approach would be helpful. -
Confirm Dialog (JavaScript)
Hi,
I'm using the JavaScript confirm dialog attached to a button (return confirm('xxxxxxxxxxxxxxx').
It works fine but I need two things:
1. How can I change the window title?
2. How can I change the titles of the two buttons? (I need them in Spanish).
Thanks a lot for your helpHi!
As far as I know, there is no possibility to change title of standard dialogs like alert, confirm etc. You can use window JavaScript object and set title in it's parameter name.
And since JavaScript is realized in browser, it seems that change of your locale should change button's title to language of locale.
Thanks,
Roman. -
How to popup confirm dialog trying to navigate away with unsaved changes
Is there any generic or built-in solutions for this common requirement?
JDev: 11g
any idea or material on this is appreciated.
Thanks.
Kevin.try capturing the onBeforeUnload event and display a modal confirmation dialog asking the user if he really wants to navigate away from the page; and warning him that if he does so, all the changes he made hitherto will be gone.
However, you need to handle this intelligently since you need to identify if any fields in the form have changed and only then warn the user to confirm his decision to go away from this page.
You can do this by having a flag which is initialized to false but when onBeforeUnload event is fired, you would check if any of the form fields in the page have changed by iterating over each and every form field,and then setting the flag to true if some thing changed
the onBeforeUnload Handler will always return this flag, if it is true, you will get this confirmation popup, else the page will go away. To show a customized confirmation dialog, perhaps you would have to invoke the custom dialog call from with in the onBeforeUnload handler. When the user says yes, return false;else true. -
Error message as popup in webdynpro for Abap
Hi,
Use method REPORT_ERROR_MESSAGE of interface IF_WD_MESSAGE_MANAGER to create an error message in the webdynpro application.
This works fine, the message is shown in the message area.
Now I want to have the error message in a popup.
In the method REPORT_ERROR_MESSAGE i set the parameter SHOW_AS_POPUP on abap_true but i get no popup.
Is anyone familar with this?
Thanks.
Vincent.Hi Vincent.
That's one I fell into as well. That importing field is not is use yet. Perhaps in a future support stack.
You can bypass that by using the CREATE_POPUP_TO_CONFIRM method. Below, you'll find some code from SAP's documentation. All you need to do is select the button type and create some actions to receive input from the popup.
data: l_cmp_api type ref to if_wd_component,
l_window_manager type ref to if_wd_window_manager,
l_popup type ref to if_wd_window,
l_text type string_table,
l_api type ref to if_wd_view_controller.
l_cmp_api = wd_comp_controller->wd_get_api( ).
l_window_manager = l_cmp_api->get_window_manager( ).
insert `Data where changed` into table l_text. "#EC *
insert `Do you want to save?` into table l_text. "#EC *
l_popup = l_window_manager->create_popup_to_confirm(
text = l_text
button_kind = if_wd_window=>co_buttons_yesnocancel
message_type = if_wd_window=>co_msg_type_question
window_title = 'Test: Popup to confirm'
window_position = if_wd_window=>co_center )."#EC *
l_api = wd_this->wd_get_api( ).
l_popup->subscribe_to_button_event(
button = if_wd_window=>co_button_yes
action_name = 'YES'
action_view = l_api
is_default_button = abap_true ).
l_popup->subscribe_to_button_event(
button = if_wd_window=>co_button_no
action_name = 'NO'
action_view = l_api
is_default_button = abap_false ).
l_popup->subscribe_to_button_event(
button = if_wd_window=>co_button_cancel
action_name = 'CANCEL'
action_view = l_api
is_default_button = abap_false ).
l_popup->open( ).
Hope this helps.
Adam -
HP Scan error message using HP C7280 All in one Printer
I have been scanning documents successfully until recently. I am using a Mac with OS X 10.7.5 and receive the following error when using HP Scan.
The scan cannot be performed because another program has control of the HP imaging device. Try the following steps. After each step, try scanning again.
- Restart the program.
- Close all programs that may be using the device.
- Reboot the computer.
I've tried downloading multiple drivers with no success.
Any help would be greatly appreciated.
This question was solved.
View Solution.Hello @kellycc,
Welcome to the HP Support Forums! I see when you try to scan with your HP Photosmart C7280 with your Mac running the 10.7 Operating system you get an error 'The scan cannot be performed because another program has control of the HP imaging device. Try the following steps. After each step, try scanning again.'.
Please complete the steps listed below:
Scrub/ Uninstall
• Open the Applications folder > HP or Hewlett Packard folder > HP Uninstaller
• Click continue, click on one of the printers in the list.
• * Only do this step if you do not have any other HP Printers. Hold down Control, Option and Command, While holding the three buttons down,
• Click uninstall.
Reset Printing System
1. Click the Apple icon ( ), and then click System Preferences.
2. In the Hardware section, click Print & Fax/Scan. The Print & Fax/Scan dialog box opens.
3. Right-click (or Ctrl +click) in the left panel, and then click Reset printing system…
4. Click OK to confirm the reset.
5. Type the correct Name and Password.
6. Click OK to reset the printing system. The Print & Fax dialog box shows no printer selected
Note: This will remove all printers in the print and Fax/Scan, any printer removed can be re-added later by clicking the plus (+) symbol..
Repair Disk Permissions
1.On the Dock, click Applications, and then click Utilities.
2.Double-click Disk Utility.
3.Highlight your hard drive/partition on the left (by default this is "Macintosh HD").
4.Click the Repair Disk Permissions button at the bottom of the window.
5.Once the repair is complete, restart the computer.
Restart the printer. Now you will need to install the print driver using the Apple Updates. Click on the link below and follow the on screen instructions:
Installing Your HP Printer Driver and Software for Mac OS X
I hope this helps, please let me know the outcome!
Thanks,
HevnLgh
I work on behalf of HP
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping! -
DW CS3 does not display confirmation dialog when checking out file
We have 3 developers set up with DW CS3 Version 9 build 3481.
When checking out a file that is already checked out one pc will
display a dialog box to confirm that you want to check-out the file
as it is already checked out by someone else. This is good as we
want this dialog to appear. However on the other 2 pc's there is no
dialog box displayed and the checkout process continues as if the
file was never checked out.
The text of the confirmation dialog box reads as such :
"index.cfm is checked out by first.lastname. Are you sure you want
to override his/her checkout?". I have been through the preferences
and verified that we have setup the sites in the same manner but we
still have this issue.
Is there a known bug regarding this feature? Is there a
preference setting somewhere that I have missed?
thanksAre each of your developers sharing the same local site?
That's why you are
getting this error if they are. The proper setup would
involve THREE
locations:
1. Local sites (unique to each workstation)
2. Staging server (shared by all workstations)
3. Production server (the live site)
You would have TWO site definitions, which would be -
(for each workstation)
1. Local = #1 (unique location for each workstation)
2. Remote = #2
(for one MASTER workstation)
1. Local = #2
2. Remote = #3
Use the first site definition for day-to-day work and
checking files in/out.
Use the second site definition ONLY for pushing files from
the staging
server to the production server.
That's the only way it will work....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"bemor" <[email protected]> wrote in message
news:g3ojq5$4il$[email protected]..
> We have 3 developers set up with DW CS3 Version 9 build
3481. When
> checking
> out a file that is already checked out one pc will
display a dialog box to
> confirm that you want to check-out the file as it is
already checked out
> by
> someone else. This is good as we want this dialog to
appear. However on
> the
> other 2 pc's there is no dialog box displayed and the
checkout process
> continues as if the file was never checked out.
>
> The text of the confirmation dialog box reads as such :
"index.cfm is
> checked
> out by first.lastname. Are you sure you want to override
his/her
> checkout?". I
> have been through the preferences and verified that we
have setup the
> sites in
> the same manner but we still have this issue.
>
> Is there a known bug regarding this feature? Is there a
preference
> setting
> somewhere that I have missed?
>
> thanks
> -
Logout confirmation dialog box
Hi,
Kindly provide me some sample example for showing confirmation dialog box in ADF (jspx page) on click of of a RichCommandImageLink?
Thnx,
VikasHere we go:
Code for the command button
<af:commandButton text="Logout" id="cb2">
<af:showPopupBehavior popupId="p1" triggerType="action"/>
</af:commandButton>
<af:popup id="p1">
<af:dialog id="d2" dialogListener="#{LoginLogout.dialogLogoutListener}">
<af:outputText value="logout?" id="ot2"/>
</af:dialog>
</af:popup>In a managed bead (here called LoginLogout) implement the dialog listener and navigation if the user really wants to logout
public String logoutTarget(String aTarget)
ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
HttpServletResponse response = (HttpServletResponse) ectx.getResponse();
String url = ectx.getRequestContextPath() + aTarget;
HttpSession session = (HttpSession) ectx.getSession(false);
session.invalidate();
try
response.sendRedirect(url);
FacesContext.getCurrentInstance().responseComplete();
catch (IOException e)
e.printStackTrace();
return null;
public void dialogLogoutListener(DialogEvent dialogEvent)
if (dialogEvent.getOutcome() == DialogEvent.Outcome.ok)
logoutTarget("/byby.html");
}The method logoutTarget(String aTarget) does the navigation to a target which is given as parameter. This method is called by the dialogListener if the use clicks ok. In case the user closes the dialog or clicks cancel, the dialog listener is NOT called at all.
We use a normal html page as target of the logout because using a jspx page causing trouble sometimes. The session gets invalidated in the bean, but the URL still contains the old session info in the url, resulting in some side effects.
Timo -
Npe when using popup inside adf table column
hi i have a popup witch is inside adf column table but when i click the button i get this npe error
<af:column id="c7" headerText="Action">
<af:commandButton text="Add" id="cb2">
<af:showPopupBehavior popupId="p1" triggerType="click"/>
</af:commandButton>
<af:panelGroupLayout id="pgl2" inlineStyle="width:1042px;"
layout="horizontal" valign="middle"
halign="right">
<af:popup id="p1" contentDelivery="lazyUncached">
<af:dialog id="d1" type="cancel">
<af:region value="#{bindings.usrtaskflowdefinition1.regionModel}"
id="r1"/>
</af:dialog>
</af:popup>
<af:commandButton text="Cancel" id="cb1" rendered="false"/>
<af:commandButton text="Remove" id="cb3" visible="false"/>
</af:panelGroupLayout>
</af:column>
am geting this NPE ERROR
<FacesCtrlSearchBinding> <release> ADFv: release():: Release all resources.
<ADFLogger> <end> ADF web request
<XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
javax.el.ELException: java.lang.NullPointerException
at javax.el.BeanELResolver.getValue(BeanELResolver.java:266)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
at com.sun.el.parser.AstValue.getValue(Unknown Source)
at com.sun.el.parser.AstEqual.getValue(Unknown Source)
at com.sun.el.parser.AstOr.getValue(Unknown Source)
at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
at org.apache.myfaces.trinidad.component.UIXComponentBase.getBooleanProperty(UIXComponentBase.java:1204)
at org.apache.myfaces.trinidad.component.UIXComponentBase.isRendered(UIXComponentBase.java:423)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:810)
at org.apache.myfaces.trinidad.component.UIXEditableValue.processValidators(UIXEditableValue.java:263)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:1022)
at oracle.adf.view.rich.component.fragment.UIXRegion.validateChildrenImpl(UIXRegion.java:634)
at org.apache.myfaces.trinidad.component.UIXComponentBase.validateChildren(UIXComponentBase.java:1007)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processValidators(UIXComponentBase.java:814)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ProcessValidationsCallback.invokeContextCallback(LifecycleImpl.java:1422)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1358)
at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:555)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1330)
at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1424)
at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:168)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:407)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.NullPointerException
at oracle.adf.model.binding.DCControlBinding.reportException(DCControlBinding.java:201)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.findAttributeDef(JUCtrlValueBinding.java:632)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.findAttributeDef(JUCtrlValueBinding.java:597)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttribute(JUCtrlValueBinding.java:1341)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfAttributeCriterion.getOperator(FacesCtrlSearchBinding.java:2240)
at sun.reflect.GeneratedMethodAccessor357.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:261)
... 87 more
<QueryCollection> <finalize> [4342] ##### QueryCollection.finl no RowFilter
<QueryCollection> <finalize> [4343] ##### QueryCollection.finl oracle.jbo.Key[Surname 0 0 ]
<QueryCollection> <finalize> [4344] ##### QueryCollection.finl oracle.jbo.Key[Firstname 0 0 ]
<ControllerState> <finalizeRequest> ADFc: Request number [9] for session [14gycvxp1h_] has been finalized.
<QueryCollection> <finalize> [4345] ##### QueryCollection.finl oracle.jbo.Key[Username 0 0 ]
<RootViewPortContextImpl> <unlockViewPortRequestLock> ADFc: Attempting to release RootViewPort request lock on 14gycvxp1h_0
<QueryCollection> <finalize> [4346] ##### QueryCollection.finl oracle.jbo.Key[Organisationname 0 0 ]
<QueryCollection> <finalize> [4347] ##### QueryCollection.finl oracle.jbo.Key[Surname 0 0 ]
<RootViewPortContextImpl> <unlockViewPortRequestLock> ADFc: Successfully released RootViewPort request lock on 14gycvxp1h_0
<QueryCollection> <finalize> [4348] ##### QueryCollection.finl oracle.jbo.Key[Firstname 0 0 ]
<QueryCollection> <finalize> [4349] ##### QueryCollection.finl oracle.jbo.Key[Username 0 0 ]
<Auditor> <isEnabled> IAU:Event Enabled : false, Event Type : CheckPermission, Event Status : true, Properties : null
<QueryCollection> <finalize> [4350] ##### QueryCollection.finl oracle.jbo.Key[Organisationname 0 0 ]
<QueryCollection> <finalize> [4351] ##### QueryCollection.finl no RowFilter
<QueryCollection> <finalize> [4352] ##### QueryCollection.finl no RowFilter
<Auditor> <isEnabled> IAU:Event Enabled : false, Event Type : CheckPermission, Event Status : true, Properties : null
<QueryCollection> <finalize> [4353] ##### QueryCollection.finl no RowFilter
<QueryCollection> <finalize> [4354] ##### QueryCollection.finl no RowFilter
<QueryCollection> <finalize> [4355] ##### QueryCollection.finl no RowFilter
<QueryCollection> <finalize> [4356] ##### QueryCollection.finl no RowFilter
<QueryCollection> <finalize> [4357] ##### QueryCollection.finl no RowFilter
<QueryCollection> <finalize> [4358] ##### QueryCollection.finl no RowFilter
<QueryCollection> <finalize> [4359] ##### QueryCollection.finl no RowFilter
<QueryCollection> <finalize> [4360] ##### QueryCollection.finl no RowFilter
<QueryCollection> <finalize> [4361] ##### QueryCollection.finl no RowFilter
<QueryCollection> <finalize> [4362] ##### QueryCollection.finl no RowFilter
<QueryCollection> <finalize> [4363] ##### QueryCollection.finl no RowFilter
<QueryCollection> <finalize> [4364] ##### QueryCollection.finl no RowFilter
<AbstractExecutionContext> <getECForJDBC> adding new ECForJDBC null to set of listeners for this context
<WatchingDocumentChangeNotifier> <run> decide if checkUsingListeners should run. loopCnt: 0 changeInterval: 60000 originalChangeInterval: 60000 forceCheckForUpdate: false notifier instance: oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier@ca7192
<WatchingDocumentChangeNotifier> <checkUsingListeners> BEGIN checkUsingListeners for notifier instance: oracle.as.config.notification.filesystem.WatchingDocumentChangeNotifier@ca7192
<WatchingDocumentChangeNotifier> <checkUsingListeners> notifier processing file: C:\Users\10017134\AppCaused by: java.lang.NullPointerException
at oracle.adf.model.binding.DCControlBinding.reportException(DCControlBinding.java:201)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.findAttributeDef(JUCtrlValueBinding.java:632)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.findAttributeDef(JUCtrlValueBinding.java:597)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttribute(JUCtrlValueBinding.java:1341)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfAttributeCriterion.getOperator(FacesCtrlSearchBinding.java:2240)
It seems that problem is caused by af:query or quickquery component(or underlying view object or view criteria).
Maybe you can drop BTF as static region directly to your page and see if this will run correctly?
YES i have try stll does not work
So then this is not related with "npe when using popup inside adf table column"
Dario -
Best approach to implement reusable confirmation dialog ?
Hi,
What's the best approach to implement reusable confirmation dialogs with ADF 11g?
e.g.: "Do you realy want to delete this client record (yes/no)?" should be used on several pages but with different message text.
Also I have to know in the calling page which button (yes, no, ...) the user has pressed in the af:dialog.
If it's af:popup is it possible to place af:dialog within page template to avoid placing af:popup within each page?
regards
PeterHi,
What's the best approach to implement reusable confirmation dialogs with ADF 11g?
e.g.: "Do you realy want to delete this client record (yes/no)?" should be used on several pages but with different message text.
Build a declarative component
Also I have to know in the calling page which button (yes, no, ...) the user has pressed in the af:dialog.
You can do this through a method reference in a declarative component. Its a method on the calling page's managed bean that is invoked from the declarative component
If it's af:popup is it possible to place af:dialog within page template to avoid placing af:popup within each page?
May not make sense but should be possible
Frank -
hi all,
i 've a Delete button(af:commandbutton) on page. its 'action' attribute is associated with a method in bean.
<af:commandbutton action="#{abcbean.delete_action}"/>.
how i put a modal confirmation dialog on button like, 'Are u sure want to delete ...?' with yes-no button.
when user presses 'yes' on dialog, method in bean would invoke. when presses 'no' remain on same page.
i m using jdev10g.
thanks with regards to allhi you can call a popUp(Dialog) and execute the code later with the returnListener property of that button
the returnLietener have an object call ReturnEvent in this object allow Map objects
example code:
jsp commandButton java Action code:
Map param = null;
param = new HashMap();
param.put("Yes","Ok");
AdfFacesContext.getCurrentInstance().returnFromDialog(null,param);
returnListener Method:
public void handleReturnBuscar(ReturnEvent returnEvent) {
Map param = (Map)returnEvent.getReturnParameters();
if(param !=null){
//delete the row
more info = http://soadev.blogspot.com/2010/02/adf-faces-rc-simple-but-robust.html -
Hello!
I am facing a peculiar problem in the production system where in the confirmation dialog isn't working and the NullPointerException is getting thrown. For some reason the production server isnt getting the handle for the event even though they are defined and the same piece of code is working fine in both Dev & QA.
Could someone look into the code and let me know what I can do to make it work.
try
String dialogTxt = "Are you sure you want to ignore changes? ";
IWDEventHandlerInfo eventIgnore = wdControllerAPI.getViewInfo().getViewController().findInEventHandlers("evtIgnoreChanges");
IWDConfirmationDialog dialog = wdComponentAPI.getWindowManager().createConfirmationWindow(dialogTxt,eventIgnore,"Yes");
IWDEventHandlerInfo eventIgnoreCancel = wdControllerAPI.getViewInfo().getViewController().findInEventHandlers("evtIgnoreCancel");
dialog.addChoice(eventIgnoreCancel,"No");
dialog.setWindowPosition(WDWindowPos.CENTER);
dialog.setWindowSize(250,50);
dialog.open();
}catch(Exception ex)
wdComponentAPI.getMessageManager().reportException("Error ignoring changes",true);
ex.printStackTrace();
Thank you very much in advance.
Regards,
VikramHi,
Use this code:
IWDControllerInfo controllerInfo =
wdControllerAPI.getViewInfo().getViewController();
String dialogText = "Are you sure you want to ignore changes?";
IWDConfirmationDialog dialog =
wdComponentAPI.getWindowManager().createConfirmationWindow(
dialogText,
controllerInfo.findInEventHandlers("evtIgnoreChanges"),
"Yes");
dialog.addChoice(
controllerInfo.findInEventHandlers("evtIgnoreCancel"), "No");
dialog.open();
check if you have created events with name evtIgnoreChanges & evtIgnoreCancel in your view controller.
Regards,
Rajeev -
Confirmation Dialog which saving any settings at OCI Mapping
Hi Experts,
OCI Mapping:
when i change and settings at OCI and when i click on Save button, I used to get popup(Confirmation Dialog) window with messaage as " Price fields are not configured consistently across all views".
I am not able to findout what is exact problem and why it is showing such message?
You help will be rewarded in points..
Thanks
Bharatthat happens when the same price setting fields (contract and list price) are not set for all the views in the catalog .
you should have the same fields (settings) for price - in all the views in the catalog (Resultset , Itemdetials, context, compare and Shopping list) to ignore the warning
thanks
-Adrivit -
Error when using PPR in the OA page developed.
HI,
We are encountering an error when using PPR for the custom OA page being developed. I am using JDeveloper version 9.0.3.5(Build 1437) and Oracle Applications version 11.5.10.CU2. The scenario we are using PPR and the steps to reproduce the issue is mentioned below,
Scenario:
1) PPR is enabled for a custom OA page that is developed.
2) The PPR is being used to enable or disable a particular field based on the
selection of a value in a poplist in the same OA Page.
Error replication steps:
1) The user enters a value in the primary mandatory field which has to have
unique value.
2) The user selects a value from the poplist of a field which has PPR associated.
3) The user enters data in all other mandatory fields in the OA page except one
and tries to save the form and is shown a error message saying that all
mandatory fields are not entered(This is correct). Now the page gets
automatically refreshed and so the entered values are wiped off.
4) Now if the user again enters a value in the primary mandatory field (as in
step1) and if that value happens to be already existing value and then select
a value from the poplist which has PPR enabled then immediately the error
"Please enter a unique value" is entered, though we did not save the record.
The unique record validation would happen only at the time of saving the
record as per out business logic.
5) But if in Step 4 if i had entered a unique value again then the above said error
does not happen. There are few more similar kind of issues happening in the
same page because PPR is enabled.
Please note that this issue happens only when the page is deployed in a oracle
applications instance and not in JDeveloper.
Would this issue because of some cacheing problem? If Yes then how do we resolve it? Or would it be some other problem caused by our internal coding.
Any inputs for resolving this issue would be highly appreciated.
Thanks, Raja.What works in Jdeveloper should work when deployed in iAS as well.
And PPR is an old feature given quite enough time to mature, so before we suspect OA we should investigate the code. What I do not understand is how the page refreshes in Step 3 and why does the user have to re-enter the fields just because he missed entering one mandatory field the last time.
Mandatory field validations are client validations set by making the fields 'Required'. You obviously have client validations turned off on your PPR, otherwise you would be stuck with a javascript popup on PPR. The only way you can get the "Please enter unique..." error on PPR is Server Validation. So where have you placed this validation? If it is not in the EO, is it in the AM? And are you unconditionally calling the AM validation method in your processFormRequest? The PPR will also go through processFormRequest so I hope the PPR event is in a different if-else block.
Maybe you are looking for
-
Every time I start Firefox an add -on window pops up with a question, do I want to add "Shop to Win 1.0.27" as an add-on. I've been saying \no for months and I';m getting tired of looking at the question and having to un "X" it every tome I want o ha
-
I have a Word document I want to PDF. How to start?
I have a word document I want to convert to PDF. How do I start?
-
Text Lines to print on Marketing Documents
How do I get line Types of Text to print on the documents? 2005A, SP1
-
Controlled Access to device password - How do I disable it?
Really hoping someone can help, I set up the controlled access to device password, however earlier today it rejected the password even though I had entered it correctly. On the last attempt it told me that failure would wipe device of all data! My ne
-
Adobe Reader 8.x - view page width continues
Latest official version of Adobe Reader installed on win vista business 32Bits. Preferences->Page View->Layout (these are my translations of German Adobe, might be inaccurate) set to "page width, continues". However most pdf documents open with "page