Message in a popup
Hi,
Is it possible to have all message from BPS (error and confirmation message) that appears by default in the bottom right of the screen, in a pop up (or something more visible) for users. of course my question is if there is something simple. if the only way is to put a message line in each fox formula, i'm not interesting
Thanks
Cyril
Hi Cyril,
You can call the following FM from your planning function and based on your validation it gives popup messsage it is is very visible
CALL FUNCTION 'POPUP_TO_CONFIRM'.
You can call the this FM and pass the parameters based on your requirement
EXPORTING
TITLEBAR = 'XXXXXXXXXXXXXXXXXXXXXXXX'
TEXT_QUESTION = 'XXXXXXXXXXXXXXXXXX'
TEXT_BUTTON_1 = ' '
TEXT_BUTTON_2 = ' '
DEFAULT_BUTTON = '1'
DISPLAY_CANCEL_BUTTON = ' '
IMPORTING
ANSWER = .
I hope it will useful for your requirement.
Best regards
SS
Similar Messages
-
Display 'No Data Found' message w/ htmldb PopUp
Hi all,
Is it possible to control message within htmldb PopUp Lov, sort of 'No Data Found' available in Report template under topic 'When No Data Found Message'?
Thx
lamhi
you can create two region with conditions:
1. Chart region (display if your qurey return values)
2. Html region with static "Nothing to display" (display if your query no data found) -
Internet Explorer message "refer to popup window"
Hi everyone,
Value some help please. When visiting my work's website with Internet Explorer on a new Lumia 625, the message "refer to popup window" appears after I log in. Unfortunately, unlike using a desktop or laptop, no new tab appears. A new tab does appear when I log on with an Android device, so I know it is possible for a mobile phone. Grateful in advance for ideas.
AndrewHi Andrew29,
Welcome to Nokia Support Discussions.
You can try changing the website preference from the mobile version to desktop version under settings> swipe left to applications and select Internet Explorer. Also, try downloading another web browser from the Store and see if it works. -
AF:MESSAGE INSIDE AF:POPUP?
Hi everybody:
Since two days ago, i´ve been trying put validation and conversion messages inside a popup with little success, is part of use cases in project where i work. I would know if this is posible. I was thinking that i could capture facesmessages with a phase listener, after capturing faces messages put them inside a popup and show it. There´s any simple form to do that?
THANKS IN ADVANCE FOR YOUR HELP!!!!Thanks for your answer Puthanampatti, but i think i´ve not been clear. That i want to do is following:
- i have a jsf page with some inputs.
- i have a command button inside this page
- i have a popup that should be shown with af:messages when exist a validation or conversion problem when i click command button
it could be something like this
<f:view locale="es">
<af:document id="d1" title="Title 1">
<af:form id="f1">
<h:inputText id="telefonoResidencia" value="#{bean.numeroTelefonoResidencia}"
required="true"
requiredMessage="#{bean.mensajeTelefonoResidencia}"/>
<af:commandButton id="button" text="Click me">
<af:showPopupBehavior popupId="popup" align="afterStart"/>
</af:commandButton>
<af:popup id="popup" contentDelivery="lazyUncached">
<af:dialog title="el popup" id="d2">
<af:message id="mensajeTelefono" for="telefonoResidencia"/>
</af:dialog>
</af:popup>
Popup is shown in mi page but i dont know how to put inside it all af:message
THANKS AGAIN, FOR YOUR HELP -
Vba to dismiss an IE8 or IE9 "message from webpage" popup window
In excel or word, paste the following code into a vba normal module and run it. The code goes to a public web site and tries to lookup a school. The website pops up a "message from webpage" dialog that warns me that the the school
number is not valid.
My program can detect that popup, but how can I reliably and automatically dismiss it?
I have a workaround that uses sendkeys but about 10% of the time the popup remains.
Does anybody have a solution that does NOT require sendkeys? The ideal solution would also work when objie.visible = false.
option Explicit
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Sub t1022()
Dim objie As Object
Dim i As Long
Dim htmlTable As htmlTable ' set reference to microsoft html object library
Set objie = CreateObject("InternetExplorer.Application")
objie.Visible = True
objie.navigate "http://www.slforms.universalservice.org/Form471Expert/471StatusCheck.aspx"
Do: Sleep 100: Loop While objie.busy
Set htmlTable = objie.Document.getElementsByName("txtBenId")(0)
htmlTable.Value = 12345
With objie.Document.getElementById("txtFundingYear")
.Click
.Value = 2013
End With
objie.Document.getElementById("btnSearch").Click
For i = 1 To 10
Sleep 100
If Not objie.busy Then Exit For
Next i
If objie.busy Then
MsgBox "popup detected"
End If
End SubHi,
If there is a will, there is definitely as way. The following definitely works!
Copy and paste the following code in a module.
Option Explicit
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
'Sends the specified message to a window or windows. The SendMessage function calls the window procedure
'for the specified window and does not return until the window procedure has processed the message.
Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" _
(ByVal hWND As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
'Retrieves a handle to the top-level window whose class name and window name match the specified strings.
'This function does not search child windows. This function does not perform a case-sensitive search.
Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" _
(ByVal lpClassName As String, ByVal lpWindowName As String) As Long
'Retrieves a handle to a window whose class name and window name match the specified strings.
'The function searches child windows, beginning with the one following the specified child window.
'This function does not perform a case-sensitive search.
Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" _
(ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, _
ByVal lpsz2 As String) As Long
Public Const BM_CLICK = &HF5&
Sub t1022()
Dim objie As Object
Dim i As Long, hWND As Long, childHWND As Long
Dim htmlTable As htmlTable ' set reference to microsoft html object library
Set objie = CreateObject("InternetExplorer.Application")
objie.Visible = True
objie.navigate "http://www.slforms.universalservice.org/Form471Expert/471StatusCheck.aspx"
Do: Sleep 100: Loop While objie.busy
Set htmlTable = objie.Document.getElementsByName("txtBenId")(0)
htmlTable.Value = 12345
With objie.Document.getElementById("txtFundingYear")
.Click
.Value = 2013
End With
objie.Document.getElementById("btnSearch").Click
For i = 1 To 10
Sleep 100
If Not objie.busy Then Exit For
Next i
If objie.busy Then
'MsgBox "popup detected"
DoEvents
hWND = FindWindow(vbNullString, "Message from webpage")
If hWND <> 0 Then childHWND = FindWindowEx(hWND, ByVal 0&, "Button", "OK")
If childHWND <> 0 Then SendMessage childHWND, BM_CLICK, 0, 0
End If -
Dynamic message with Alert popup window?
I'm using the simplest form of Alert popup window. Is there a way I can put a dynamic alert message in the window? For example,
the Alert shows the "XYZ" at beginning, and then change to "ABC" by an event before the OK button is clicked.First you need to create a refernce to the Alert window.
alert = Alert.show("Hello");
To change the text
alert.mx_internal::alertForm.mx_internal::textField.text = "New Text";
( had to use mx_internals because the following code is not updating the text alert.text = "New text"; ) -
When I run RSPCM gives error in PC and message error, alert, popup
When I run the transaction RSPCM gives error in process chains and appear several popups, messages, alerts. what can be?
Symptom
The job log of a job contains message 00 517 (Job finished) and message BT
608 (Job status was manually set to 'cancelled').
Reason and Prerequisites
There is a program error in the function BP_JOB_ABORT.
Previously, the function BP_JOB_ABORT did not call the job status check
correctly. As a result, BP_JOB_ABORT may still have set a job that had
already finished correctly to 'cancelled'
Solution
Import the Support Package or implement the correction instructions -
Why the validator can't display the error message on the popup dialog?
I have input text with a validator and a custom ok button and a cancel button on the popup dialog.When I click the ok button,the validator will validator the input value on the input text,but it just close the popup dialog without display the message firstly.The point is it does validate the value but doesn't display the message.Can anybody help?
It seems if I use the button which is associated with the dialog the validator works well,but if I use the custom button the error message doesn't display. the environment is 11g.
the code of the page is :
<af:form>
<af:popup id="copyPopupDialog" contentDelivery="lazyUncached">
<af:dialog title="validator" closeIconVisible="false" type="none">
<af:inputText id="copyReportsetCode" styleClass="" label="code"
value="11"
validator="#{reportSetManagedBean.validatCode}"></af:inputText>
<f:facet name="buttonBar">
<af:panelGroupLayout layout="horizontal" halign="right">
<af:commandButton text="ok"/>
<af:commandButton text="cancel" immediate="true"/>
</af:panelGroupLayout>
</f:facet>
</af:dialog>
</af:popup>
<af:commandButton text="commandButton 1">
<af:showPopupBehavior popupId="copyPopupDialog"/>
</af:commandButton>
</af:form>
the code of the managedbean is:
package david;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.validator.ValidatorException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.util.regex.Pattern;
import javax.faces.application.FacesMessage;
import javax.faces.application.FacesMessage;
import javax.faces.application.FacesMessage.Severity;
public class ReportSetManagedBean {
public ReportSetManagedBean() {
public void validatCode(FacesContext facesContext, UIComponent uIComponent,
Object object) {
FacesMessage msg = new FacesMessage("eror");
throw new ValidatorException(msg);
} -
Show af:messages in info popup in 10g
Hi, in 10g is there any fast way to display messages using af:messages in popup as in 11g.
I red that if af:messages is missing the default operation in to open an info popup but the same is not happening in 10g.
Thanks,
IliasHi,
ADF Faces in 11g is not comparable to ADF Faces in 10.1.3. The client side features are specific to 11g
Frank -
How to show facescontext messages not as popup,but in the same scren on top
Hi,
I am a newbie, so any help would be sincerely appreciated. I am using jdeveloper 11g 11.1.1.3 . I am adding FacesMessages to the FacesContext object based on a custom logic. These messages can be an error message or it can be a success message.
By default these messages are shown as a popup, but i dont want these messages as popup. Rather i want them to displayed in the same screen on top as output text.
Pls guide me on how can i achieve this.
Zeeuse <af:messages> tag in your page with the attribute property inline="true"
<af:messages
inline="true"
...../>
Sample:
<f:view>
<af:document id="d1">
<af:messages id="m1" inline="true"/>
<af:form id="f1">
<af:inputText label="Label 1" id="it1" required="true"
showRequired="true"
requiredMessageDetail="Enter the value (Label1 is mandatory)"></af:inputText>
<af:inputText label="Label 2" id="it2" required="true"
showRequired="true"
requiredMessageDetail="Enter the value (Label2 is mandatory)"></af:inputText>
<af:commandButton text="Submit" id="cb1"/>
</af:form>
</af:document>
</f:view>For more details, look into this blog entry:
http://blogs.oracle.com/userassistance/2010/11/adf_faces_messages_inline_versus_dialog_decisions.html
Thanks,
Navaneeth -
Suddenly all information messages appear as popups
Hello,
Information messages used to appear on the bottom of the screen. Now they all appear as popups as well. It's very annoying.
Other's have noticed this as well. Is there a system wide setting that is causing this?
Thanks,
MattHi Matt,
i think you are using sap gui 710.
go to sap tweak gui , in that there is option for visulization & interaction
In that there is one option for
Show error messages in a dialog box.
just remove this tick.
or login in sap press (ALT + f12) OR Click on customizing local layout,
go to option ,
there is a block for messages.
just remove click if there.
i hope this solved ur query.
Regards,
Arpit -
Web Dynpro message manager and popups
Hi,
I am using IF_WD_MESSAGE_MANAGER to issue error messages to screen with methods REPORT_ERROR_MESSAGE and REPORT_EXCEPTION. This works fine and the messages appear on the top of the screen. Both methods have a parameter SHOW_AS_POPUP, but setting this to TRUE does not result in a popup being shown. Does anyone have any idea whether this is supposed to work on 7.01 ?
thanks!HI Frank,
That should work.
please go to the thread link posted by me in my first post.
there go to the last reply.
there what is required is opening the window2 first manually then calling the message manager with view = view2.
means your view will be opened by you only but the message will come only on the second view.
i know it is not a gud approach.
As we can easily get it done without using the message manger at all and just creating the window as popup.
So yeah you are right they need to modfiy this thing.
thanks
sarbjeet singh -
How to put the messages getting in popup window on statusbar facet:
In panelcollection i dragged a table.in toolbar i have createinsert and committ buttons.
i am able to display the messages like "*Dupliacte rows not allowed* " using customErrorhandler by ovveriding the getdisplaymessage() when JBO,SQl exceptions occured.
and also able to display message like "*record saved successfully* " using managed bean method.
i am getting these messages in popup window.but i want to get these messages in statusbar of panelcolletion.
please anyone help me what i need to do.
Thanks
Sailaja.Hi,
Check the below sample code
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
s|BorderContainer {
background-image:Embed(source="image/wheres_the_green_rez.jpg");
background-image-fill-mode:clip;
</fx:Style>
<s:TitleWindow width="100%" height="100%">
<s:BorderContainer width="100%" height="100%"/>
</s:TitleWindow>
</s:Application>
Regards,
Anitha -
How to load the resource bundle message on confirmation popup
hi every one
i am using java script confirmation message on my delete button.
this is my sample for that one
<h:commandButton action="#{createCurrency.removeCurrency}"
onclick="if (!confirm('Are you sure to delete this value?')) return false" value="#{messages.Delete}"/> i need to load the "Are you sure to delete this value?" from resource bundle.
is there any way to load above message from resource bundle.
thiagu.mIf you're using JSF 1.2, you can add the bundle config in your faces-config.xml file like this:
<resource-bundle>
<base-name>mypackage.i18n.MessageResources</base-name> // i18n is shorthand for internationalization
<var>msg</var>
</resource-bundle>
<locale-config>
<default-locale>en</default-locale> // or whatever locale you preferred
<supported-locale>...</supported-locale> // other locale defined here if you need them
</locale-config>Then create a property file called "MessageResources_en.properties. In this file, you can define something like:
{code}
MSG_CONFIRM=Do you wish to delete this value?
// add other messages here. Syntax is: key=value
{code}
Then reference the bundle's message in your form as per normal:
{code}
!confirm(#{msg.MSG_CONFIRM}))
{code}
I haven't tried the above codes but it should help you get started.
Edited by: icepax on 13/11/2009 19:44 -
Show some text messages in a popup window.
I have a requirement to show some text in a pointed popup window (similar to a pointed tooltip) when a commandLink is clicked. The text consists of 2-3 lines. What can I use?
I guess <af:popup> doesnt show up as a pointed tooltip.Use an ad:popup and put an af:noteWindow in there.
Check out http://docs.oracle.com/cd/E21764_01/apirefs.1111/e12419/tagdoc/af_popup.html
Timo
Maybe you are looking for
-
Fonts are compressed in Photoshop CS6
Something very strange is going on. All my fonts are slightly compressed, as though the horizontal scaling is set to about 80%. It's not restricted to one font - it's across the board. Has anyone else encountered this? We have two macs in the studio
-
I downloaded 2.01 and right away it went into backing up my 3GiPhone, it's been over an hour and its still backing up. Is anyone else having this problem?
-
I receive my apple mail on my ipod touch. Many attachments download incompletely. In particular, the New York Times digest is received as a PDF file. It opens, but most of the content on each page is missing. Also when I receive photos as attachments
-
Quad G5 with Dual 23's and GeForce 6600 problems
I bought this set up to take over as my main Photoshop station. I'm getting a few weird things though: 1. A ghost curser sits on the opposite monitor that I'm working on near the gutter of the two in the middle, very distracting. 2. when I'm working
-
Can non-Administrators login to rpd.?
Hello all, Can the users who dont have Administrator privilages be able to login to rpd.? i'm getting a "Logon Failed" error while trying to login with the non-Administrator user is there any work around for this.? or any setting options in Administr