Want to handle event for component defined inside skin for host component

Hi,
Following is how my skinned button looks -
As can be seen, there is a checkbox - which is a part part button skin.
When mouse is over chckbox area and does clicked, I wanted to capture that event for checkbox as target. Objective is to mark checkbox as checked or unchecked when clicked on. I don't want checkbox to change its state when mouse is clicked over other area in button.
Don't know whether it is possible or not. If yes, what is the best way to do it.
Thanks in advance,
Prithveesingh Zankat.

Hello!
I face the same problem with Failed to create delegate for component:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component
XXX.YYY.ZZZ..ume.Ume. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.NoClassDefFoundError: com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClass
I think this started after upgrading from 7.01 SP3 to SP5, but I'm not sure.
What was it that solved your issue?
*I found the error. My ProjectProperties.wdProperties did not contain the references it needed.*
Edited by: Richard Linnander on Nov 23, 2009 2:33 PM

Similar Messages

  • Using States and the includeIn-property for UI-elements inside my mxml-composide-component

    Hi,
    unfortunatly I am looking for a way to use States in a mxml-component. I’m working with the flash builder 4.6 (means as3).
    Because this did not work when I did use the normal mxml tags for the states inside my VGroup-composite-component, I added a creationComplete-Handler in the Script part of my component in which I instanciated the states and the states-Array via as3. I copied
    this of an internet- article from 2006 that was already dealing with
    as3, but at that time the States were part of the mx-namespace. How ever when I wrote: newState1: State= new State(); my development environment did not know the class State. Did I forgot to import anything or to use a namespace in my Script block ? I imported the AS3 Finite State Machine from meekgeek.com.
    But these states have no name-property insted they got a key-property, but this did not work either though I imported correct and did use the correct namespace. I did not find any State-class-description at Adobe's doku either. All I’m trying to do is to use the standard State-includeIn-properties of UI-Components inside
    my mxml-composide-componend. I’d be much obliged if You may help me in this point.
    Best regards,
    Timan Bracht

    Thanks for the answers so far.
    I can show now the correct KmLimit on the field, thanks to a javabean method, so this problem is solved - even I don't know why on hell it does not show it automatically, since I did give to it literal/expression default value in the attribute properties of the transient field; but never mind.
    The current problem: we use a task flow, that shows an input form to enter new records. This form has a LOV, from where I get a value from, which will be then saved once the submit button has been pressed.
    So far, so good.
    I enter some values in the input fields. If now I save the record, it will be saved, and all the form fields reset to null. Perfect.
    But. If I don't press the save button, instead I pick another value from the LOV list, the values of the input fields does not reset to null, instead, they remain with the last entered value.
    It does not seem there's more to change in the task flow properties that would reset the fields automatically.
    So we're stuck with this issue, the fields remain filled, even if I do set it to null. The value is really null - I set it to null with fieldName.setValue(null) and show it in the console with fieldName.getValue() - but the form still shows the old value in the field.
    Any help is greatly appreciated,
    Sergio.

  • Sm21 log 000 sapsys event handler: event #### is not defined !!

    hello ,
              when i schedule job in background it's stauts gets in ready state and job doesn't start .and in sm21 i see a message
    sapsys   event handler:event ##### is not defined.
    kindly help me out
    thanks
    jase

    Hi,
      Did you try to see ST22 transaction for any short dump?
    Regards,
    Aravinda Sarma M.

  • Usage of for-each loop inside another for-each loop

    Hi All,
    I have tried using a for-each loop inside another for-each loop as given below.
    <?for-each:G_1?>
    <Customer Details>
    <?for-each:G_2?>
    <Address>
    <?end for-each?>
    <?end for-each?>
    Its not getting inside the second loop.I have referred this link
    Re: Loop Question but it didn't help me much.Please let me know if am going wrong somewhere.
    Regards,
    Sudeep.

    Sudeep,
    The syntax of the for-each statements looks oke. but you have omitted some question marks after the < and before the >.
    Furhermore, there cannot be spaces in XML element names. So, "Customer Details" won't work. Change it to something like: "Customer_Details". Also be reminded that the element names are case-sensitive.
    try this:
    <?for-each:G_1?>
    <?Customer_Details?>
    <?for-each:G_2?>
    <?Address?>
    <?end for-each?>
    <?end for-each?>
    Regards,
    Kevin

  • Component define data types for Webservices [Incomplete Documentation]

    I been looking around the web and in safari for a good answer to this question I have about the documentation found at
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=webservices_20.html
    When I try and recreate these examples I get this error.
    The component definition file for component 'name[]' cannot be found on this server.
    Does anyone know where I can find a zip file of this example. I am having a bear of time getting array of types to return from a coldfusion webservice and hope to at the very least recreate what is found in the documentation. I know it must be something very simple that isn't clear in the documentation so any help would be great.
    -Luke

    Ok, So I got simple with this.
    I made a directory called dashboardwebservice/testme
    and I put in there two files.
    <!--- webservice2.cfc --->
    <cfcomponent style="document">   
      <cffunction
    name="allNames" returnType="name[]" access="remote" output="false">
        <cfset var returnarray = ArrayNew(1)>
        <cfset var temp = "">
        <cfloop index="loopi" from="1" to="5">
           <cfobject component="name" name="tempname">
           <cfset tempname.Firstname = "Firstname">
           <cfset tempname.Lastname = "LastName#loopi#">
           <cfset temp = ArrayAppend(returnarray, tempname)>
         </cfloop>
         <cfreturn returnarray>
        </cffunction>
    </cfcomponent>
    and
    <!--- webservice2.cfc --->
    <cfcomponent>
        <cfproperty name="Firstname" type="string">
        <cfproperty name="Lastname" type="string">
    </cfcomponent>
    This creates the error.
    Component not found
    The component definition file for component 'dashboardwebservice.testme.name[]' cannot be found on this server.
    I don't think it knows how to create the description for the web request because it is looking for a array of that object.

  • How to call a function defined inside a module loader

    I wanna know...the method of calling a function defined
    inside a module loader component?
    Th
    <mx:ViewStack id="myViewStack" >
    <mx:Canvas id="Mgmt1">
    <mx:Label text="Gopher"/>
    </mx:Canvas>
    <mx:Canvas id="Mgmt2" >
    <mx:Label id="gopherlbl" top="-2" left="0"
    height="40"/>
    <CustomComp:MgmtGrid id="ManageCom"/>
    </mx:Canvas>
    <mx:Canvas id="Admin">
    <mx:ModuleLoader id="adminModule" url="{adminModUrl}"
    width="100%" height="100%" />
    </mx:Canvas>
    where adminModUrl="admin.swf";
    Thru the MangeCom id reference,I am able to call the fucntion
    defined inisde the CustomComponent File MgmtGrid...But I am unable
    to call the funciton defined inside adminModule
    ModuleLoader...(using id reference).Anyone pls suggest a solution
    for this..

    Ensure the module is loaded before calling the method in
    particular if you are calling it at the initialization of your
    app.

  • How to handle events between two custom components?

    Hi ,
         i want to handle events between two custom components, example if an event is generated in one custom component ,and i want to handle it any where in the application.....can any one suggest me any tutorial or meterial in this concept...
    thanks

    Events don't really go sideways in ActionScript by default. They bubble upward. If you want to send an event sideways, you will probably have to coordinate with something higher up in the event hierarchy. You can send the event to a common ancestor, and then pass it down the hierarchy as a method argument.
    Another option is to use a framework that supports Injection. There are a number around these days. The one I'm most familiar with is Mate, which allows you to handle events and inject data in MXML. Mate is meant to be used as an MVC framework, and you may want to look into it if your application is complex, but you can also use it to coordinate global event handling if you don't need that level of structure.

  • How to handle Event in JACOB API

    Hi,
    I am read the outlook mail using JACOB[Java Com Bridge] API successfully, now i want to handle events for outlook mail using JACOB. and also i can able to catch the new mail event. but i am unable to catch any deleted mail and move mail from one folder to another folder. This is extremely important for my project. so any one please tell me how to handle and catch the Outlook deleted event and move event using JACOB.
    Thanks in Advance,
    With Regards,
    Ganesh

    Windows can be closed in a number of ways and the simplest way to trap them would be to handle Window Closing in code behind.
    This is also the easiest way to show dialogs if that's how you wanted the warning message to appear.
    This:
    chxAllowToClose.IsChecked
    Looks like a checkbox to me, seeing as you have IsChecked.
    That presumably means you already have that bound to a viewmodel and visible to the user.
    You can therefore just test that value from the view.
    If you prefer to hide that instead then there are several options.
    You could have a dependency property and a binding in code behind which binds to the viewmodel. Test that in your event.
    Or
    You could save the value when it changes to application.current.resources.  Since dependency properties and bindings are a bit wordy this is easier.
    Or
    You could have just a variable in the view code behind and use messenger to tell that when the value changes from the viewmodel:
    http://social.technet.microsoft.com/wiki/contents/articles/26070.communicating-between-classes.aspx
    Please don't forget to upvote posts which you like and mark those which answer your question.
    My latest Technet article - Dynamic XAML

  • Crystal Report Templates for User-Defined Objects

    Hello Experts,
    I am running SAP B1 8.8 PL11. In the current patch SAP has default Crystal Reports that can be used as Layouts for Invoices, Credit Memo's so on. Is it possbile to have layouts for user defined objects ( say for instance i have a customized form under sales module, can i import a crystal template for this customized form?). In the report layout manager i don't see an option to import user-defind objects.
    Any help would be appreciated.
    Thanks,
    Praneeth

    If this is still a problem please re-post to the SAP Integration Kit forum.

  • How to throw and handle event defined in component interface

    Hi folks,
    I have defined a component interface with an event 'open_info'
    I have some sub components which are implementing that component interface. I also get the two events generated (the interface check box is not marked)
    I use those sub components and try to handle the event. but unfortunately the event is not handled.
    I'm not sure if I do everything right. I checked the interface checkbox at the events tab of the controller of the sub component. I then may handle the event in the embedding main component. but it appears to be a different event.
    probably I eed to access the interface controller and throw the event there, but I don't know how.
    I couldn't fnd documentation or wdr* components which deal with that issue. do you have any suggestions?
    regards
    stefan

    Hi Stefan,
    Do the following in the component being used:
    say component name is ZCMP_01
    go to COMPONENTCONTROLLER
    Create an Event with necessary parameters if needed, say Event name is EVNT_01 and has an importing parameter, say PARAM_01 type char10,
    Make sure you have set the interface check box. Now this event is available in the INTERFACECONTROLLER.
    Say ZCMP_01 has a view with a button, on click of the button, call a method in the COMPONENTCONTROLLER.
    Perform all the required operations, At the required point, fire EVNT_01
    wd_this->fire_EVNT_01_evt(
          PARAM_01 = 'sample' ).
    Now the other component that has to use ZCMP_01, say ZCMP_02
    In the component properties od ZCMP_02, add usage for ZCMP_01, say USG_CMP_01
    Go to the view in ZCMP_02 where you wish to handle the event EVNT_01 of ZCMP_01,
    Go to Methods tab, create an event hadler, say EVNT_01_HNDLR ... method type = Event Handler,
    Event = EVNT_01, Controller = INTERFACECONTROLLER, Component Use, USG_CMP_01.
    Now your event handler will have foll parametrs: WDEVENT .. type ref to CL_WD_CUSTOM_EVENT,
    PARAM_01 type CHAR10
    Handle the event as required.
    Regards,
    Reema.

  • How to handle form close event or escape key press event for user defined f

    Experts,
    Please let me know how to handle form close event or escape key press event for user defined form...
    Thanks & Regards,
    Pravin.

    Hi
    You can catch the form close event like this
    If ((pVal.FormType = 139 And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_CLOSE)) And (pVal.Before_Action = True)) Then
          Try
                   SBO_Application.SetStatusBarMessage(pVal.EventType.ToString())
          Catch ex As Exception
                    SBO_Application.SetStatusBarMessage(ex.Message)
            End Try
          End If
    Hope this helps
    Regards
    Arun

  • Can I define a constructor for a Custom Component?

    I have a custom component which I instantiate through ActionScript.  For the sake of clean code, I would like to be able to assign the variables through the constructor like any other class:
    var myComp:CustomComponent = new CustomComponent(arg1, arg2, ...);
    However, when I try to write a constructor in the Script block for the component, it gives me a compile error telling me that I have multiple constructors:
    //In Script tag//
    public function CustomeComponent(arg1, arg2 ...):void { ... }
    Are we not able to define constructors for Custom Components?

    If this post helps, please mark it as such.
    If you create an array variable in your MXML component, and then set it with myVar="[val1, val2, val3]" in the opening tag of your component, then you basically have a constructor in MXML.
    You can use the [Bindable] metadata tag in three places:
    Before a public class definition.
    The [Bindable] metadata tag makes usable as the source of a binding expression all public properties that you defined as variables, and all public properties that are defined by using both a setter and a getter method. In this case, [Bindable] takes no parameters, as the following example shows:
    [Bindable]
    public class TextAreaFontControl extends TextArea {}
    The Flex compiler automatically generates an event named propertyChange, of type PropertyChangeEvent, for all public properties so that the properties can be used as the source of a data binding expression.
    If the property value remains the same on a write, Flex does not dispatch the event or update the property, where not the same translates to the following test:
    (oldValue !== value)
    That means if a property contains a reference to an object, and that reference is modified to reference a different but equivalent object, the binding is triggered. If the property is not modified, but the object that it points to changes internally, the binding is not triggered.
    Note: When you use the [Bindable] metadata tag before a public class definition, it only applies to public properties; it does not apply to private or protected properties, or to properties defined in any other namespace. You must insert the [Bindable] metadata tag before a nonpublic property to make it usable as the source for a data binding expression.
    Before a public, protected, or private property defined as a variable to make that specific property support binding.
    The tag can have the following forms:
    [Bindable]
    public var foo:String;
    The Flex compiler automatically generates an event named propertyChange, of type PropertyChangeEvent, for the property. If the property value remains the same on a write, Flex does not dispatch the event or update the property.
    You can also specify the event name, as the following example shows:
    [Bindable(event="fooChanged")]
    public var foo:String;
    In this case, you are responsible for generating and dispatching the event, typically as part of some other method of your class. You can specify a [Bindable] tag that includes the event specification if you want to name the event, even when you already specified the [Bindable] tag at the class level.
    Before a public, protected, or private property defined by a getter or setter method.
    You must define both a setter and a getter method to use the [Bindable] tag with the property. If you define just a setter method, you create a write-only property that you cannot use as the source of a data-binding expression. If you define just a getter method, you create a read-only property that you can use as the source of a data-binding expression without inserting the [Bindable] metadata tag. This is similar to the way that you can use a variable, defined by using the const keyword, as the source for a data binding expression.
    The tag can have the following forms:
    As far as binding, you can add the [Bindable] tag before the class declaration to make bindable all public properties defined as variables, and all public properties defined by using both a setter and a getter method.

  • No monitors pulled for self defined logical component

    Hi,
    I have defined a system landscape in smsy and created solution landscapes in the sm. For some systems I had to create a new logical component.
    My problem: Although RFC destinations work fine, for all systems within the new logical component no monitors are pulled out of rz20.
    If I use a SAP-defined logical component it works.
    I use Solution Manager 3.2.
    Is there any documentation for this problem or does anybody know a solution for this?
    Thank you and best regards,
    Tim

    Hi again,
    I thought about the problem and tried several things. The problem is not the self defined logical component. The problem is the product definition. I can`t monitor systems, which I created as product SAP ERP in smsy. The check "SAP System ..." doesn`t appear when I want to setup System Monitoring.
    Does anybody have an idea what I do wrong?
    Regards,
    Tim

  • Mouse over event for every word inside a text?

    I want to do a separate mouse over event for every word inside a text.
    or at least get the string below the mouse cursor.
    any hint?
    henry

    There are no events for it but you can use TextField.getCharIndexAtPoint() to determine the character where the mouse is over, and from there you can work out the word where the mouse is over.

  • How to handle event structures for two buttons and two counters.

         *I have two buttons A and B, and have to compare the difference in hits between them.  So do I place an event structure within a while loop for each button (2 buttons, 2 event structures, 2 while loops), or does it need to be one event structure with cases for both buttons whithin one while loop? 
         *How do I pass the values of buttons A and B's hit counters out of the while loop in order to calculate the differences between them after each increment, not just the final count after the stop button is hit? 
         *How would I make one stop button work to handle both buttons A and B?   I tried to place the actual stop button in one button A's structure and its global in B's structure, but It wont seem to let me use a local variable for a latchable control
    Checker

    You should probably have not started a new thread and waited until your question in the original thread was answered. You can modify altenbach's example for a second button. You have a single event structure with a new event for the second button. You have a second shift register to track the number of times the second button is pressed. Inside the while loop but outside the event structure, you just have a subtract function in or to report the difference. do not modify the posted example for the stop button. It works perfectly as is.

Maybe you are looking for

  • Business Components Diagram in Jdev 10.1.2

    Hi, I have migrated code from Jdev 9.0.4 to Jdev 10.1.2, While doing reverse engineering (Generating BC Diagram) I am getting following error, Can anybody help me in understanding this. Message BME-99003: An error occurred, so processing could not co

  • Icon battery

    The icon on top right is white on home screen but green in safari & other apps. What should I do? Can I fix or exchange? Thanks.

  • MOVED: coffe on my msi gt60

    This topic has been moved to MSI Notebooks & Netbooks. https://forum-en.msi.com/index.php?topic=181631.0

  • Cinnecting T96 mobile phone to pc downloading photos

    I have a T96 3g mobile phone and wish to transfer my photos from my phone to my computer, have tried but without success. It is not a prepaid. I'm very new at this can anyone help.

  • [SOLVED] xfce4-mixer unexpectedly stoped working

    Hi archers, i am having this problem a couple of days now and i couldnt find something usefull in wiki xfce4-mixer panel pluginn stopped working with the following message Plugin "Mixer" unexpectedly left the panel, do you want to restart it? User is