Eventing with custom MVC BSP
Hi,
I have created a BSP Application that is used for a registration page. User enters information, register, an e-mail is send to the user with a confirmation link, user clicks the link, and the confirmation page loads in a new window.
Now starts the problem.
For some reason, eventing does not work. I have a button on the page, which I want to execute some code in the DO_HANDLE_EVENT when clicked, but for some reason, the eventing is never triggered and the page just reloads itself. The page does not seem to load the javascript files that all other BSP pages and applications have automatically included when loaded. When I launch the registration page, the javascript files are included, but not when the confirmation page is loaded.
I believe that the javascript includes come from the class interface CL_HTTP_EXT_BSP_HTMLB.
I am using CL_HRRCF_CONTROLLER as my superclass for the class interface.
Anyone have any ideas? Any help would be golden!!
Thanks and regards,
Kevin
Thanks Craig... that's perfect... BUT (I hate that word) I have another problem now.
I'm trying to launch a page after I'm done executing my code in the DO_HANDLE_EVENT method. I think that I have the wrong superclass associated with it, but I'm going to try some other ideas that I have and see what happens.
Kevin
Similar Messages
-
How to create contextual event with custom payload?
I use the following code to invoke contextual event from my region via the "action-listener" of a command-link:
<af:commandLink text="#{row[def.name]}" id="cl1"
styleClass="tableLinkActive"
actionListener="#{backingBeanScope.PanelToConveroFormManager.handleSelectedRow}">
The following "action-listener" is designed to pass the current selected record key to the "consumer" of the contextual event:
public void handleSelectedRow(ActionEvent actionEvent) {
String currentRecordKey = getCurrentRecordKey();
JUEventBinding eventBinding = (JUEventBinding)BeanUtils.getBindings().get("RefreshParentEvent");
if (eventBinding != null) {
ActionListener actionListener = (ActionListener)eventBinding.getListener();
actionListener.processAction(actionEvent);
How do I pass the "currentRecordKey" value as a custom "payload" via the event-binding "RefreshParentEvent" in the above code?
Is there any code example on using contextual event with custom payload?Hi,
the custom payload is referenced when you set up the event itself. You use EL in the custom payload definition to point to a managed bean method that when called accesses the current rowKey. The Java code you show just passes the ActionEvent of the ADF Faces command button and invokes the event. It does not manipulate the event definition.
<eventBinding id="eventBinding"
Listener="javax.faces.event.ActionListener">
<events xmlns="http://xmlns.oracle.com/adfm/contextualEvent">
<event name="testEvent"
customPayLoad="#{mymanagedBean.rowKey}"/>
</events>
</eventBinding>Frank -
Handling ActiveX events with Javascript inside BSPs
Hi,
Has anyone any experience with handling events from ActiveX objects (using the <object> tag) with Javascript, inside BSPs?
I'm developing solely for the IE browser. Reading other threads, I know that the usual way this is done is via the below code excerpt:
<i><script type="text/javascript" for="MyObject" event="Object_Event">
js_function();
</script></i>
I create a HTML page, with the <object>, <script..for..event> tags, etc. Everything works fine when the page is run from my local system. However, when the code is run from WebAS (Activate then Test (F8)), the ActiveX object loads fine. But the javascript does not respond to events thrown by the ActiveX object.
I wonder if anyone can share their experiences on this issue.
Thank you.
AmosIt's the Skype4COM (v1.0.0.17) wrapper for the SkypeAPI, available at https://developer.skype.com/Download
(Note: NOT the v1.0.0.16, which comes with the Skype ActiveX Tools package).
I'm trying to use javascript to handle the event "CallStatus", thrown by Skype4COM, as shown in the code excerpt below.
<i><script language="javascript" type="text/javascript" for="Skype" event="CallStatus(Call, Status)">
handleCallStatus (Call, Status);
</script></i>
It works locally, but not when in a BSP.
It's rather interesting to mess with Skype calls from a webpage. Do let us know how your experience goes
Amos -
Trying to make up a Modal Dialog with customized event dispatcher
Hello everyone.
I try to make up a ModalDialog class with customized event dispatcher in order to wait an invoker.
But it fails :-(
import javafx.event.ActionEvent;
import javafx.event.Event;
import javafx.event.EventDispatchChain;
import javafx.event.EventHandler;
import javafx.event.EventTarget;
import javafx.event.EventType;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.HBox;
import javafx.stage.Modality;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
import javafx.stage.Window;
import javafx.stage.WindowEvent;
import com.sun.javafx.stage.WindowEventDispatcher;
import java.util.ArrayList;
public class ModalDialog extends Stage {
ArrayList<Button> buttons;
int rc;
Stage stage;
Event event;
EventDispatchChain tail;
public ModalDialog( Window owner, String title ){
initModality( Modality.APPLICATION_MODAL );
initOwner( owner );
initStyle( StageStyle.UTILITY );
setTitle( title );
stage = this;
public void setContents( Group group, ArrayList<Button> buttons ){
BorderPane root = new BorderPane();
Scene scene = new Scene(root);
setScene(scene);
root.setCenter( group );
this.buttons = buttons;
HBox buttonPane = new HBox();
buttonPane.setSpacing(10);
for( int i=0 ; i<buttons.size() ; i++ ){
buttons.get(i).setOnAction( actionHandler );
buttonPane.getChildren().setAll( buttons );
root.setBottom( buttonPane );
public int show( double screenX, double screenY ){
setX( screenX ); setY( screenY );
show();
MyWindowEventDispatcher dispatcher = new MyWindowEventDispatcher( stage );
setEventDispatcher( dispatcher );
while(true){
event = dispatcher.dispatchEvent( event, tail );
EventType<? extends Event> type = event.getEventType();
if( type==WindowEvent.WINDOW_HIDDEN ){
break;
return( rc );
EventHandler<ActionEvent> actionHandler = new EventHandler<ActionEvent>() {
public void handle( ActionEvent e ){
EventTarget src = e.getTarget();
rc = buttons.indexOf( src );
stage.hide();
class MyWindowEventDispatcher extends WindowEventDispatcher {
public MyWindowEventDispatcher( Window window ){
super( window );
public Event dispatchEvent( Event event, EventDispatchChain tail) {
ModalDialog.this.event = dispatchCapturingEvent( event );
ModalDialog.this.tail = tail;
return( event );
}A sample code to invoke ModalDialog
import java.util.ArrayList;
import javax.swing.JOptionPane;
import javafx.application.Application;
import javafx.event.EventHandler;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.stage.Stage;
import javafx.stage.WindowEvent;
public class WindowEvent06 extends Application {
Stage mainStage;
public void start(Stage stage) throws Exception {
Group root = new Group();
Scene scene = new Scene(root);
stage.setScene(scene);
stage.setTitle("WindowEvent06");
mainStage = stage;
stage.setOnCloseRequest(new EventHandler<WindowEvent>() {
public void handle(WindowEvent e){
ModalDialog dialog = new ModalDialog( mainStage, "Question" );
Button yes = new Button( "Yes" );
Button no = new Button( "No" );
ArrayList<Button> buttons = new ArrayList<>();
buttons.add(yes); buttons.add(no);
Label msg = new Label( "Really Exit ?" );
Group groupInDialog = new Group();
groupInDialog.getChildren().add( msg );
dialog.setContents( groupInDialog, buttons );
int ans = dialog.show( 300, 300 );
System.out.println("returned from a modal dialog");
if( ans == 1 ){
e.consume(); // this blocks window closing
stage.show();
public static void main(String[] args) {
launch(args);
}Hi,
The logic what you follows is some what in the right direction but need to have some changes.
What I would say is, first consume the windowClose event. Then open the dialog box and close the parent accordingly.
So after refactoring your code.
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.HBox;
import javafx.stage.Modality;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
public class ModalDialog extends Stage {
Stage owner;
Stage stage;
BorderPane root;
public ModalDialog( Stage owner, String title){
root = new BorderPane();
stage = this;
this.owner = owner;
initModality( Modality.APPLICATION_MODAL );
initOwner( owner );
initStyle( StageStyle.UTILITY );
setTitle( title );
setContents();
public void setContents(){
Scene scene = new Scene(root,150,150);
setScene(scene);
Group groupInDialog = new Group();
groupInDialog.getChildren().add( new Label("Really Exit ?") );
root.setCenter( groupInDialog );
Button yes = new Button( "Yes" );
yes.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent paramT) {
stage.close(); // Closing the pop up.
owner.close(); // Closing the parent stage also.
Button no = new Button( "No" );
no.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent paramT) {
stage.close(); // Closing the pop up only
HBox buttonPane = new HBox();
buttonPane.setSpacing(10);
buttonPane.getChildren().addAll(yes,no);
root.setBottom(buttonPane);
stage.show();
}And the main class to check this implementation is
import javafx.application.Application;
import javafx.event.EventHandler;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.stage.WindowEvent;
public class WindowEvent06 extends Application {
public void start(final Stage stage) throws Exception {
Group root = new Group();
Scene scene = new Scene(root);
stage.setScene(scene);
stage.setTitle("WindowEvent06");
stage.setOnCloseRequest(new EventHandler<WindowEvent>() {
public void handle(final WindowEvent e){
e.consume(); // Consuming the event by default.
new ModalDialog( stage, "Question");
stage.show();
public static void main(String[] args) {
launch(args);
}I hope the above code will give you some idea what i mean. :)
Happy Coding !!
Regards,
Sai Pradeep Dandem.
Edited by: Sai Pradeep Dandem on Jan 20, 2012 4:03 AM -
Custom Event with multiple EventTypes
Hello All, First thanks for all those who tryied to help me and apologize for my approximative english.
I would like to create the more properly as possible a Custom Event with multiple EventTypes, like the MouseEvent typicaly.
With Some EventType which permit to acces to some attributes and other not. But I'm totaly lost, The second solution if someone knows how, is to explain to me how to do to acces to the code of the MouseEvent.as
Thanks!
Ps: you will find below the basis of the code i have begin.
package fr.flashProject
import flash.events.Event;
* @author
public class SWFAddressManagerEvent extends Event
public static const CHANGE_PAGE:String = "change_page";
public static const ERROR_404:String = "error_404";
public static const HOME_PAGE:String = "home_page";
private var _page:String;
private var _params:Object;
public function SWFAddressManagerEvent(type:String, pPage:String = null, pParams:Object = null, bubbles:Boolean=false, cancelable:Boolean=false)
super(type, bubbles, cancelable);
_page = pPage;
_params = _params;
public override function clone():Event
return new SWFAddressManagerEvent(_type, _page, _params, bubbles, cancelable);
public override function toString():String
return formatToString("SWFAddressManagerEvent", "type", "page", "params", "bubbles", "cancelable", "eventPhase");
public function get page():String { return _page; }
public function get params():Object { return _params; }I am not sure what you are trying to accomplish but event can have only single type. Event type is just a string that is typically a constant - exactly like your constants.
When dispatched, each event INSTANCE has only one type. Again, these types are described in a type parameter by a string. Each dispatched MouseEvent DOES NOT have multiple types but ONLY ONE. It does have multiple constants that are used to assign type at runtime as does your event.
If you are talking about multiple parameters, you already do that in your custom event class. You have _page and _params. Nothing stops you from adding more parameters.
Also I am not sure why you need getters for _page and _params. -
Decision Pop Up: buttons with custom message
Hi Experts,
I have a requirement to display buttons with custom message on it for a decision pop up instead of 'Yes' or 'No'. Please guide me how do I do it?
Thanks for your help.
Regards,
Surekha.Hi,
if you want to do this, you first have to Create a new Context Node e.g. u2018DATASTORAGEu2019 in your Viewwith only a Dummy value attribute to store the custom buttons and catch which button was clicked.
Then you have to call the popup in the Event Handler. Here is some sample code from a project I used to display a popup with buttons Yes and Cancel, but instead of these Yes and Cancel, you can put any custom name of the button (in lv_s1 and lv_s2).
Put combination of Buttons (Yes - Cancel) in global table *****
ls_btn_comb-name = '99'.
lv_s1 = cl_bsp_runtime=>if_bsp_runtime~get_otr_text( 'CRM_BSP_WD_TOOLS/BTN_YES' ).
CONDENSE lv_s1 NO-GAPS.
lv_s2 = cl_bsp_runtime=>if_bsp_runtime~get_otr_text( 'CRM_BSP_WD_TOOLS/BTN_CANCEL' ).
CONDENSE lv_s2 NO-GAPS.
CONCATENATE lv_s1 ',' lv_s2 INTO ls_btn_comb-value.
APPEND ls_btn_comb TO GT_BTN_COMB.
Put actual buttons in global table on level of Context Node 'DATASTORAGE' *****
ls_buttons-id = 'btnYes'.
ls_buttons-text = 'Yes'.
ls_buttons-on_click = 'YES'.
APPEND ls_buttons TO ztyped_context->datastorage->gt_buttons_custom.
ls_buttons-id = 'btnCancel'.
ls_buttons-text = 'Cancel'.
ls_buttons-on_click = 'CANCEL'.
ls_buttons-icon_src = '/SAP/BC/BSP/SAP/thtmlb_styles/sap_skins/default/images/cancel.gif'.
APPEND ls_buttons TO ztyped_context->datastorage->gt_buttons_custom.
Call Confirmation Popup *****
IF confirm_popup IS NOT BOUND.
lv_title = ls_item_dated_entry-ITEM_NO.
lv_text = 'Exam date has already passed. Do you want to override?' .
CALL METHOD comp_controller->window_manager->create_popup_2_confirm
EXPORTING
iv_title = lv_title
iv_text = lv_text
iv_btncombination = '99'
iv_custombuttons = ztyped_context->datastorage->gt_buttons_custom
RECEIVING
rv_result = confirm_popup.
CONFIRM_POPUP->SET_ON_CLOSE_EVENT( iv_event_name = 'CONFIRM_POPUP_CLOSED'
iv_view = me ).
CONFIRM_POPUP->OPEN( ).
ENDIF.
Then the ON_CLOSE event, you can use the "standard" coding in case of decision popup.
Hope this helps.
Kind regards,
Carl -
MVC BSP hrrcf:formLayoutInputField
Hi guys
Can you help with the following trivial question:
I have a MVC bsp which holds a few inputfields.
How can I verify that the data entered by the user is valid without prsssing any
button, only when he leaves one inputfield and jumps to the second one?
Something like onChange event?
thank you
yuvalHi
This is the code I have :
<hrrcf:formLayoutInputField id = "jobTitle"
onValueHelp ="onTitleInput"
label = "<%= controller->job_title_label %>"
size = "80"
maxLength = "80"
value = "<%= controller->current_job_info-jobtitle %>" />
As far as I understand this should be an Inputfield within a form.
My question: what javascript can be written to alert the user when the entry he has
made is wrong (numbers instead of characters, for example).
Thank you
yuval -
Issue with custom toolbar button in alv and leave screen
Hi,
in one subscreen (say screen 100)i have an alv with custom ADD toolbar button..so in the user_command event handler ,i call a antoher screen(dialogue)..like if i click on ADD button ,it should display dialogue screen(say 200) and after entering input in dialogue screen i click on CONINUE to retrun to screen 100..problem is for the first time i click on ADD button its working fine ,succesffyuly returned to screen 100...but for the second time i click on add button , i have to click on twice the CONTINUE button to retrun to screen 100..when debuggin i found the user_command event routin is executin twice ..any solution..
Thanks,
sriniApparently handler is set for every new ALV instance. This you get by executing CREATE OBJECT alv... every time PBO is raised. Ensure you are executing this statement only once duirng program lifetime. Then the system will match event handler only with one ALV instance (executing it once).
if r_alv is not bound.
CREATE OBJECT r_alv ...
SET HANDLER ...
endif.
Regards
Marcin -
Event Bubbling Custom Object not inheriting from control
One of the new things flash flex and xaml have are ways which
the event easily bubbles up to a parent that knows how to handle
the event. Similar to exceptions travel up until someone catches
it.
My goal is to use the frameworks event system on custom
objects. My custom objects are:
ApplicationConfiguration
through composition contains:
SecurityCollection which contains many or no SecurityElements
and
FileSystemCollection.cs which contains many or no
FileSystemElement objects
ect ect basically defining the following xml file with custom
objects.
[code]
<ApplicationConfiguration>
<communication>
<hardwareinterface type="Ethernet">
<ethernet localipaddress="192.168.1.2" localport="5555"
remoteipaddress="192.168.1.1" remoteport="5555" />
<serial baudrate="115200" port="COM1" />
</hardwareinterface>
<timing type="InternalClock" />
</communication>
<filesystem>
<add id="location.scriptfiles" value="c:\\" />
<add id="location.logfiles" value="c:\\" />
<add id="location.configurationfiles" value="c:\\" />
</filesystem>
<security>
<add id="name1" value="secret1" />
<add id="name2" value="secret2" />
</security>
<logging EnableLogging="true"
LogApplicationExceptions="true" LogInvalidMessages="true"
CreateTranscript="true" />
</ApplicationConfiguration>
[/code]
basically these custom objects abstract the xml details of
accessing attributes, writing content out of the higher application
layers.
These custom objects hold the application configuration which
contains the users options. The gui application uses these
parameters across various windows forms, modal dialog boxes ect.
The gui has a modal dialog that allows the user to modify these
parameters during runtime.
basically i manage: load, store, new, edit, delete of these
configuration files using my custom objects.
Where would event propagation help in custom objects like
described above?
ConfigurationSingleton.getInstance().ApplicationConfiguration.CommunicationElement.Hardwar eInterfaceElement.EthernetElement.RemoteIPAddress
=
System.Net.IPAddress.Parse(this.textBoxRemoteEthernetIpAddress.Text);
The EthernetElement should propagate a changed event up to
the parent ApplicationConfiguration which would persist this to the
registry, db, file or whatever backend.
currently this logic is maintained else where. I serialize
the root node which compositely serializing the nested nodes and i
check of the serialization is different from that in the backend
… This tells me if the dom was modified. It works but i would
like an event driven system.
how should i implement bubbling using custom objects?
3 implementation ideas:
1) A simple way is to implement a singleton event manager:
EventManager.RegisterRoutedEvent
http://msdn2.microsoft.com/en-us/library/ms742806.aspx
I like this idea but how can you tell which object is nested
in who… this way the event can be stopped and discontinue
propagation?
2) If i use binders as discussed in Apress’s book:
Event-Based
Programming Taking Events to the Limit
basically a binder connects the events between seperate
objects together… although it would work for my app, I would
like a more generalized approach so i can reuse the event system on
future project.
3) how does flash flex handle this..
objectproxy.as?
http://www.gamejd.com/resource/apollo_alpha1_docs/apiReference/combined/mx/utils/ObjectPro xy.html#getComplexProperty()
>Provides a place for subclasses to override how a complex
property that needs to be either proxied or daisy chained for event
bubbling is managed.
how does these systems all work....? Reflection ?
this way i can simulate this on my own custom classes.
Thanks!I have a strong sensation that the OSMF project is quite dead.
no new submits since 2010, the contact form on the offical OSMF
project website http://www.opensourcemediaframework.com/
returns a PHP error.
and many unanswered questions about OSMF in this forum.
i think it would be wise to not use OSMF if possible, although
I'm also stuck with it since we are utilizing HDS/PHDS
protocols which are utilized in the framework.
otherwise its quite a head-ache.
I'm unable to get to a video element coming from a proxied element
that is being produced via an HDS connection.
and haven't found any solution that works. -
Null pointer Exception with Custom EventQueue
I created a simple class customEventQueue which is extended from EventQueue class and pushed it using
Toolkit.getDefaultToolkit().getSystemEventQueue().push(customEventQueue);
Now, whenever there are three modal dialogs on top of a frame and if I click on top dialog that closes all three dialog boxes, I get nullpointer exception in console. The custom event class does not have any method in it. It just extends from EventQueue.
I checked it in different JRE and it happens only in JRE1.3.1.
Has anybody tried the same thing with custom event queue? Any help is most welcome. Thanks...
java.lang.NullPointerException
at sun.awt.windows.WInputMethod.dispatchEvent(Unknown Source)
at sun.awt.im.InputContext.dispatchEvent(Unknown Source)
at sun.awt.im.InputMethodContext.dispatchEvent(Unknown Source)Hi Chandel me having the same problem
java.lang.NullPointerException
at sun.awt.windows.WInputMethod.dispatchEvent(Unknown Source)
at sun.awt.im.InputContext.dispatchEvent(Unknown Source)
at sun.awt.im.InputMethodContext.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown
Source)
at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Sour
ce)
at
java.awt.DefaultKeyboardFocusManager.pumpApprovedKeyEvents(Unknown So
urce)
at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Sour
ce)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown
Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.SequencedEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Th bigger problem is that i don't know what is causing this exception, cause the stack trace doesn't mention the line of code where the exception occurred.
In earlier version of java we had pData null pointer exception. This bug manifests when the pull down menu doesn't fit completely into the frame's bounds and swing has to create a seaprate window for the pull-down.
The problem is that WInputMethod caches a reference to peer and that that reference becomes stale when peer is destroyed and recreated.
In this bug cached peer reference becomes stale as the Window for the menu is hidden (and its peer is destroyed) and shown again (with new peer this time).
WInputMethod have a cached reference to the old peer but that old peer is not connected to the underlying native window used to display the menu.
But it's been fixed. I want to know if our problem is in some way related to this pData bug.
Thanx. -
Problem with custom paper size on dot matrix printer
Hi All,
I'm using CR2008 with updated to SP2. I have a problem with custom paper size (W=21; H=14), the CR Viewer show report with custom paper size correctly but when I print it to a dot matrix printer (Epson LQ 300+) the content was rotated to landscape. If print to a laser printer the content was printed correctly. My report was printed correctly by CR10 or previous versions I got this issue when upgraded to CR2008. I aslo tested my computer and printer with orther application like MS Word the printing have no problem with custom paper size.
Thanks for any advice for me.
HanLooking at the Epson LQ 300+ driver, I see that the latest update is from 2002. In my experience, most matrix printer drivers are not unicode. Crystal Reports is designed to only work with unicode printer drivers. See the [How Printer Driver Options Affect a Report|https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/a09051e9-721e-2b10-11b6-f9c65c64ef29&overridelayout=true] article, page 6 for details. Also, see [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note.
Finally, see if you can print from the CR designer to this printer and if you get the correct results here.
Ludek -
CRM Survey Suite - Validate fields with custom Java Function
Hi all,
Does anybody now how to validate the survey fields when pressing a custom button and before submitting it to the CRM database?
If I add a custom field, it appears in the html as:
<a onMouseOver='return true;' href="javascript:void(0)" onClick="return htmlbSL(this,2,'SUBMIT:SUBMIT')" class="sapBtnStd" id="CHECK_VALUES"><nobr>CheckValues</nobr></a>
Which makes impossible to handle the event with a client side function defined in java script in the html code.
I've tried to setup the EXAMPLE_DYNAMIC_SURVEY, but I wasn't successful.
Any tips?
CRM5.0
Regards,
DoraFYI
Note 945112 "Addition of Javascript validation to onSubmit event" was created. -
What is the lifecycle of Event or Custom Event
Hi All,
Can anybody please let me know the life cycle of event or custom event and what exactly is event bubbling.
Thankshi 194642537,
http://ted.onflash.org/2007/02/flex-instantiation-life-cycle-and-event.php , http://www.slideshare.net/mohamedkamil/adobe-component-life-cycle
just try with this links.. it ll may help u.. -
Delete calendar event with own notification text
Hello Admin: I am new here and I don't know if this the correct community. Please feel free to move it in the correct coummnity
Hello everyone.
may you help me?
I would like to delete a calendar event with my own notification text. Would it be possible, if I delete an calendar event that I could enter a comment before the declined message will be sent to the organizer?
Kind regards
JaneI have a similar issue.
I am doing custom prints of each event in Calendar. I pull from each event the properties I want (time, location, summary, description) and format them nicely for an 8.5" x 11" print. I want to combine this newly created document with other files already attached to the event. However, I have not been able to figure out how to reference this property (or maybe it is considered an element?).
When opening a single Calendar event with textEdit, you can see a line that starts with "ATTACH;FILENAME=", but referencing this line in applescript eludes me.
How do we reference files that are attached to events in Calendar when using applescript? -
Hello All,
I need some help with custom tables. I have created a custom table to maintain names and I also did table maintenance generation so that the user can maintain names in this table using SM30 transaction.
The question is, in my program on the selection screen when the user press F4 I need to display the values maintained in this custom table...
Can anyone help me with this.
Thanks
PavanIf I understood you correctly, you have a program in which one or some of the selection screen fields refer to a custom database table field(s).
You want to implement a F4 functionality.
Fill an internal table with the values you want to show.
Call the function module 'F4IF_INT_TABLE_VALUE_REQUEST' in the event AT SELECTION-SCREEN ON VALUE-REQUEST FOR MYPARAM as follows.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = MYITAB-FIELD
dynprofield = MYSELSCREENPARAM
dynpprog = sy-cprog
dynpnr = sy-dynnr
value_org = 'S'
tables
value_tab = my_f4_itab.
Srinivas
Maybe you are looking for
-
hi experts, i have a requirement that i need to develop a report which is same as t-code cs11, but in cs11 we are getting the report for a single material and its bom components . in my require ment i need to develop a report for range of materials
-
Error Installing a TREX Instance Only 7.0 on a Windows 2003 Server (64 bit)
Hello, during the installation of a TREX 7.0 Instance on a Windows 2003 (64 bit) Server following error occured: "SAP System XXX is a ABAP or double stack system. Cannot switch this to a java standalone system." The error occured after/during the ste
-
Hello, when i take a picture (not landscape) and i'll send it through the camera.app to my mobileme gallery, it automaticly rotate the picture when i try to watch the gallery through IE8 or Safari. When i make a screenshot for example and upload it f
-
i hav broken my phone .. can i get my contact whichis there in my phone
-
Create report without query wizard
Hi, I want to create report without using query wizard in SAP B1. Can it possible by code?