Working with Custom Properties in JavaScript

Hi,
On a form, In JavaScript, I'm trying to reference the custom properties (manually created by navigating to File > Form Properties > Info > Custom Properties).  I don't need to set the properties, just get them.  I know how to get the default properties (e.g. Title, Description, Version, etc...), and I can get/set variables that I've created (File > Form Properties > Variables), but the custom properties have stumped me.
The closest I've found is the FormData.extras object, which is documented as "An enclosure around one or more sets of custom properties. The content of this element may be used by custom applications" but it doesn't contain anything.
I feel like I'm overlooking an easy answer, but I'm stumped.  Is this even possible?

  event.target.info.<yourvariablename>

Similar Messages

  • Discoverer Viewer/Plus does not work with Custom EUL owned by APPS user

    I am facing a unique issue with one of my customers. They have a custom EUL named XX_EUL_US and this does not allow connecting through discoverer viewer or discoverer plus.
    I have worked with custom EULS before at other customers and this was never the case. I am being told that this issue is happening as the EUL owner is APPS instead of some other user. Is this the case? Can discoverer viewer not be used with EULs owned by apps user?
    Please not that the Default EUL in ICX profiles is set to this EUL and no other EUL profiles are set.
    Appreciate any thoughts on this.

    Hi,
    I am not sure what you mean when you say you have a "custom EUL named XX_EUL_US". The EUL table should be created in a schema named XX_EUL_US. This will then be the EUL owner. You will then need to connect to Discoverer Administrator as the EUL owner and grant privileges to Apps users and/or responsibilities.
    The user should then be able to connect to Discoverer Plus/View using their apps username, responsibility and password.
    To be able to connect directly from an apps menu you need to have the ICX parameters set correctly. The ICX: Discoverer Default End User Layer Schema Prefix should be set to XX_EUL (without the _US). The ICX: Discoverer End User Layer Language Override should be set to US or not set at all.
    Rod West

  • Can Actions Menu of Interactive Reports work with Custom Authentication?

    My testing is leading my to believe that Actions Menu do not work with Custom Authentication (but only work with APEX Authentication) in APEX 3.1.2? If that's true then is there a work around to this?
    Just to clarify, I've posted/asked this question twice before:
    1) Re: Actions Menu in Interactive Reports does not sort, filter, select cols etc
    2) Interactive Report actions don't work for users (i.e. for non-developers)
    But I've come to believe this is the main problem. I just don't know how to resolve/work around this?
    Thanks for any help.

    I haven't setup a sample because my custom authentication is using LDAP authentication. I'm not sure how I can replicate that on the samples server?
    I'm using LDAP authentication with a Page Sentry function. My further testing reveals that the Page Sentry function is setting the APEX variable user to NULL (ie blank) whenever there's any code in the Page Sentry function box. PL/SQL code as simple as
    BEGIN return TRUE; END;
    in the Page Sentry function box sets the "user" is set to <null>. When the Page sentry function box is left empty (no code specified) it sets the "user" properly after authentication against the specified LDAP directory.
    What all this has to do with Interactive Reports...
    It seems like when the user is NULL it messes-up Interactive Reports that are stored in the flows database. Although it shows the default report properly, but no runtime interactive actions (filtering, sorting, column break, etc.) work.
    Can someone please correct or confirm this?
    Thanks.

  • Anyone worked with customizing the requisition account generator workflow?

    Has anyone worked with customizing the requisition account generator workflow?
    please let me know
    I need help asap.
    thanks

    Hi Malla,
    Solution here:
    http://garethroberts.blogspot.com/2007/08/gl-account-code-combinations-on-fly-key.html
    Regards,
    Gareth

  • Adobe forms work with custom Z transactions?

    Hi everybody,
    Does anybody know if the Adobe interactive forms works with custom Z transaction?

    Hi Bertrand,
                 Me too need the sample code could u send me to this [email protected]
    Thnx,
    Vishnu

  • ADF wont work with custom LoginModule! Question for Mr. Nimphius!

    ive setup login module as shown in:
    http://www.oracle.com/technology/products/jdev/howtos/10g/jaassec/index.htm
    code:
    actionContext.getHttpServletRequest().isUserInRole("Administrators") works! but i also want this code to work in ADF:
    appmod.getSession().isUserInRole("Administrators")
    with default loginmodule "oracle.security.jazn.tools.Admintool" everything is ok! i can get roles in adf but with custom login module i cant!
    in ApplicationModule config i have setup
    jbo.security.config =
    jbo.security.context = oracle.security.jazn
    jbo.security.enforce = Must
    jbo.security.loginmodule = oracle.sample.dbloginmodule.DBTableLM.DBTableLoginModule
    please help!

    thank you very much for the reply!!!!
    i did what you told but no luck... :(((
    i still can not get user role from application module!
    this code:
    if (AppModule.getSession().isUserInRole("Administrators"))
    System.out.println("User is in role! ");
    simply does not work!
    ive tested on standallone oc4j, ive tested on embeded jdveloper 10.1.2.1 !
    i get NullPointerException at at oracle.jbo.server.security.jazn.JboJAZNUserManager.isUserInRole(JboJAZNUserManager.java:113)
    the thing is that i can use isUserInRole() from request but i can not from application modulle....
    ...ive lost hours in decompiling and tracking down ADF code just to realize that there is no way to use custom login module with ADF because the thing is hard coded to use xml or ldap..
    the only way i see how to solve the problem is to extend oracle.jbo.server.SessionImpl
    and override
    getUserRoles()
    and
    isUserInRole(String s)
    i can substitute session class with my own by setting
    SessionClass = oracle.jbo.server.ExtendedSessionImpl
    in file jboserver.properties (which is inside bc4jmt.jar)
    the easier way is to write my own function isUserInRole() in EntityImpl... i always can get user principal name with AppModule.getUserPrincipalName()
    what do you think?

  • Not able to work with customized Java roles which were edited in ABAP stack

    Hello All,
    I am trying to copy standard roles into customized roles (i.e. Z roles) using PFCG in XI system. All ABAP based roles are working fine, but all JAVA based roles are not working. I generated profiles as well. And I check all the authorization objects in both standard and customized roles. Everything look same but customized roles are not working.
    And when I check the logs on JAVA stack I found the error which says " User XXXXXXXXXX IP address HTTP request processing failed. HTTP error [403] will be returned. The error is [You are not authorized to view the requested resource.No details available]."
    I thought there might be any Jco RFC connections missing between the stacks and I tried to check in Visual Admin, but I was not able to find much info regarding these roles.
    Am I missing anything or is there any other way for these roles to make customized roles.
    And can any one tell me how to run a trace for JAVA stack activitites as we do in ABAP using ST01. Any help will be rewarded. Thanks in advance.
    Regards,
    Farooq.

    Java roles work with influence of permissions in Application Server which we call actions in UME. As you are aware in PI user master record will be in ABAP stack. So the roles in ABAP stack will be having only RFC connections to JAVA stack for the specific JAVA based role. So you need to edit the permission on Java App Server. For that you need to log on to server through visual admin and then go to services and you will find the standard groups assigned to actions. But I don’t remember that under which service you will find them
    Under that service you will find some 200 actions. And you have to add the name of the custom created JAVA roles on ABAP to all those actions where you find the standard roles. And its a very very lengthy procedure. So SAP advice to go for customized ABAP roles and Standard JAVA roles.
    Hope this answer clears your query.
    Farooq.

  • BT848 TV not working with custom 2.6.22 kernel

    Hi,
    I installed a custom compiled 2.6.22 kernel (built the traditional way, using menuconfig in /usr/src/linux-2.6.22) but then tvtime could not work with my BT848 TV card (error message - "not a video4linux device" and "cannot open capture device /dev/video". The device is there and a simple video app. I wrote myself says:
    cyclops: Opened V4L2 device: /dev/v4l/video0
    cyclops: VIDIOC_QUERYCAP: error 25, Inappropriate ioctl for device
    The TV worked with kernel 2.6.21, although to listen to radio with gqradio I had to start tvtime first to get any sound. I double checked my config but can't see anything missing, I have compiled custom kernels many times and so I could say I am not inexperienced. I am using latest Arch x86-64 on an AMD Athlon 64 machine.
    Has anyone else experienced this problem?
    My thanks in advance!

    Hi,
    I installed a custom compiled 2.6.22 kernel (built the traditional way, using menuconfig in /usr/src/linux-2.6.22) but then tvtime could not work with my BT848 TV card (error message - "not a video4linux device" and "cannot open capture device /dev/video". The device is there and a simple video app. I wrote myself says:
    cyclops: Opened V4L2 device: /dev/v4l/video0
    cyclops: VIDIOC_QUERYCAP: error 25, Inappropriate ioctl for device
    The TV worked with kernel 2.6.21, although to listen to radio with gqradio I had to start tvtime first to get any sound. I double checked my config but can't see anything missing, I have compiled custom kernels many times and so I could say I am not inexperienced. I am using latest Arch x86-64 on an AMD Athlon 64 machine.
    Has anyone else experienced this problem?
    My thanks in advance!

  • QTP doesn't work with custom SparkList ItemRenderer

    I am trying to support our QA department which uses QTP for automation testing. QTP is failing miserably at recognizing custom item renderers for Spark List (and DataGroup too). There is nothing special going on in the custom item renderer. There is a basic Group layout with some labels and buttons. I would like to be able to click on a button inside the item renderer; but, QTP sees the whole item renderer as a SparkListLabel. QTP is not able to recognize anything inside the item renderer.
    I know there are custom automation delegates that need to be created for some components; but this is basic layout inside an ItemRenderer. I would expect that to work with out creating custom automation classes to support it.

    Well the Hierarchy for 0GLACCEXT is designed in such a way ,am not sure how you have defined the custom hierarchy.
    For Insights you may wish to refer below-
    http://help.sap.com/saphelp_nw04/helpdata/en/04/7b95fb42b0f94aba334c0890dbbda4/content.htm
    The hierarchy for characteristic 0GLACCEXT is used as the financial statement version in BW queries. To technically enable the particular exception aggregation for contra items, the hierarchy table of characteristic 0GLACCEXT contains the attribute Balance-Dependency of a Hierarchy Node (technical name 0BAL_DEPEND).
    The attribute 0BAL_DEPEND can take three different values:
    ·         Normal aggregation on the hierarchy node of 0GLACCEXT(“ “, default value):
    The financial statement item is always either on the assets side or the liabilities side of the financial statement. This is the case for almost all financial statement items.
    ·         Aggregation on the hierarchy node for 0GLACCEXT is only performed if the balance is positive (“1”):
    First, the system determines the total for those financial statement items that are subordinate to the hierarchy node of 0GLACCEXT. If this total is positive, the subordinate financial statement items are aggregated on the hierarchy node of 0GLACEXT. If this total is negative, no aggregation occurs, and the values on the subordinate financial statement items are set to zero.
    ·         Aggregation on the hierarchy node of 0GLACCEXT is only performed if the balance is negative (“2”):
    The exception aggregation is performed in the same way as for case “1”, except that the +/- signs of the balance are reversed.
    Hope it Helps
    Chetan
    @CP..

  • JDev 9.0.3 - Working with Custom Tags Hangs JDev Repeatedly!

    All,
    I recently upgraded from JDev 9.0.2 to 9.0.3 because of the new support for JSP 1.2 and Servlets 2.3. As you probably know, JSP 1.2 includes additional support for custom tag development. Unfortunately, JDev 9.0.3 keeps hanging repeatedly when trying to work with a custom tag library. I have seen a couple other postings on this forum that indicate the fact that I'm not alone in this experience.
    It seems that I am able to open a taglib and make a modification, and then save the taglib without a problem. However, if I attempt to make any further changes to that taglib again without restarting JDev, it just hangs JDev and I have to kill the JDev process and restart JDev. This has made JDev extremely frustrating and unusable developing custom tags. I do not have this problem with JDev 9.0.2, but that version does not support the additionally tag library functionality of JSP 1.2, which is supported by 9.0.3.
    Is this a bug with 9.0.3? Does anyone know of a workaround I can try?
    Thanks in advance,
    Kyle Corley

    Hi,
    Logged as bug 2725712.
    Thanks,
    Brian
    JDev Team

  • jsp:setProperty doesn't work with short properties

    Hi,
              Setting bean properties doesn't work with properties that are of type short.
              Any ideas what's going on? I'm using WLS 6.1SP1 on W2K.
              --John
              <jsp:useBean id="test" scope="session" class="test.Test" />
              <jsp:setProperty name="test" property="*" />
              -- Test.java
              package test;
              * @author john
              public class Test {
              /** Creates new Test */
              public Test() {
              public short getShort() {
              return 0;
              public void setShort(short val) {
              Produces the following error while attempting to compile the jsp:
              Compilation of
              'C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp
              warCleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java'
              failed:
              C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp_
              war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java:104:
              setShort(short) in test.Test cannot be applied to ()
              probably occurred due to an error in /test.jsp line 7:
              <jsp:setProperty name="test" property="*" />
              C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp_
              war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java uses or
              overrides a deprecated API.
              Full compiler error(s):
              C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp_
              war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java:104:
              setShort(short) in test.Test cannot be applied to (<null>)
              test.setShort(null); //[ /test.jsp; Line: 7]
              ^
              Note:
              C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp_
              war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java uses or
              overrides a deprecated API.
              Note: Recompile with -deprecation for details.
              1 error
              Fri Nov 09 00:24:58 PST 2001
              [test.war]
              

    It looks like a bug in JSP generator. If you look and the .java
              created by 6.1 it doesn't make any sence:
              String _propertyValue = request.getParameter("short");
              if (_propertyValue != null && !_propertyValue.equals(""))
              test.setShort(null);
              (needless to say that this works correctly in Resin).
              John Hampton <[email protected]> wrote:
              > Thanks for reply,
              > Changing getShort and setShort to getId and setId makes no difference. I
              > still get the error described below:
              > C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp_
              > war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java:104:
              > setId(short) in test.Test cannot be applied to (<null>)
              > test.setId(null); //[ /test.jsp; Line: 7]
              > John
              > "Jignesh" <[email protected]> wrote in message
              > news:[email protected]...
              >>
              >> hi,
              >> i think you have not given the property name properly.
              >> give some other name than short becuase short is the keyword (data-type)in
              > java.
              >> bye,
              >> Jignesh
              >>
              >>
              >> "John Hampton" <[email protected]> wrote:
              >> >Hi,
              >> >
              >> >Setting bean properties doesn't work with properties that are of type
              >> >short.
              >> >Any ideas what's going on? I'm using WLS 6.1SP1 on W2K.
              >> >
              >> >--John
              >> >
              >> ><jsp:useBean id="test" scope="session" class="test.Test" />
              >> ><jsp:setProperty name="test" property="*" />
              >> >
              >> >-- Test.java
              >> >package test;
              >> >
              >> >/**
              >> > *
              >> > * @author john
              >> > */
              >> >public class Test {
              >> >
              >> > /** Creates new Test */
              >> > public Test() {
              >> > }
              >> >
              >> > public short getShort() {
              >> > return 0;
              >> > }
              >> >
              >> > public void setShort(short val) {
              >> > }
              >> >}
              >> >
              >> >Produces the following error while attempting to compile the jsp:
              >> >
              >> >Compilation of
              >>
              >>'C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tm
              > p
              >> >warCleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java'
              >> >failed:
              >>
              >>---------------------------------------------------------------------------
              > -
              >> >----
              >>
              >>C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp
              > _
              >> >war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java:104:
              >> >setShort(short) in test.Test cannot be applied to ()
              >> >probably occurred due to an error in /test.jsp line 7:
              >> ><jsp:setProperty name="test" property="*" />
              >> >
              >>
              >>C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp
              > _
              >> >war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java
              >> >uses or
              >> >overrides a deprecated API.
              >> >
              >>
              >>---------------------------------------------------------------------------
              > -
              >> >----
              >> >Full compiler error(s):
              >>
              >>C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp
              > _
              >> >war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java:104:
              >> >setShort(short) in test.Test cannot be applied to (<null>)
              >> > test.setShort(null); //[ /test.jsp; Line: 7]
              >> > ^
              >> >Note:
              >>
              >>C:\bea\wlserver6.1\config\cleanoffer\applications\.wlnotdelete\WEB-INF\_tmp
              > _
              >> >war_CleanOffer Server_CleanOffer Server_test\jsp_servlet\__test.java
              >> >uses or
              >> >overrides a deprecated API.
              >> >Note: Recompile with -deprecation for details.
              >> >1 error
              >> >
              >> >
              >>
              >>---------------------------------------------------------------------------
              > -
              >> >----
              >> >Fri Nov 09 00:24:58 PST 2001
              >> >
              >> >
              >> >
              >> >
              >> >begin 666 test.war
              >> >M4$L#!!0`" `(`,@`:2L````````````````4``0`345402U)3D8O34%.249%
              >> >M4U0N34;^R@``X^4"`%!+!PBLA:(4! ````(```!02P,$% `(``@`R !I*P``
              >> >M``````````````\```!714(M24Y&+W=E8BYX;6RE4DMOVS ,/L^ _P/GTP9,
              >> >M4NH=M@YIBC3I@ )M&G3IAIX*1V9B!;)D6'0>WY2GDT6# /FD&1WX,4V]?+
              >> >M4L,<:Z>LN4HN>"L!--+FRDRODN?1=_8UN>[$4?L]8W$$)]^/QL"P&6LEX5Y)
              >> >M- YA8,G_Q5$<C0H$:0VA(0=V`E0H!Q.E$;(:P37C&4H"LKZ 9Y3BZ.<F%?A0
              >> >M\"$T)=M2\I'#BVV@S%9@+$'C?0_JN)18$2@31]*6E5:9D0@+1<7:::O!H>O3
              >> >M5:M-LCT,7B6;9TIGXQ"4XJ@@JKX)L5@LN&L,]Y)B-]UCK:;*9!IZ-E\S!T@W
              >> >MF!G'(93OC"+EJWV<H[85UCNO'2^.=L0P_H.2M74K1UBZ3YXL.0QM37X#SAM4
              >> >M*T\J""XN+[^PM-5J!4X<G2%UM8:GT.O@"1W6<\QY'#'6";'#2_8?>Z.7X2TL
              >> >M<,RRJMH\Z_#YYOZN!PD3XGP8(?JC/OS",70KOU29A620\E2(VT&R$4FVRYKY
              >> >M%>ZW-4L114ZY$UO#U_0UY1Y(UHG:6[2SD6@[=.'5F3^=B9IV#D>WKY JT3;4
              >> >M.;['SZTWK>)\[P$_4O<1M$^*+-P/T\J%_G='Z(F9,CDN^<Q5;SU/^O]!H*!2
              >> >M_[?"7P3^!'?3M<5A[;\!4$L'"/]33>'A`0``! 0``%!+`P04``@`" #(`&DK
              >> >M````````````````" ```'1E<W0N:G-P-4X[#L(P#-US"A.I"P/>D1LAQ,14
              >> >MB5X@M!84M4E4&XG>GJ:!R<_OIT?5*?D'0Q>#<M!V25Q;Y8_B4Z?15LY0!OFP
              >> >M[QWIH".[ZZV!9HT1EI]P4PW=8[\X8^@EZ?@6/K,/,/2Y4=2"=#'7"XL,,5CH
              >> >M1B]2Q$.[.="5K+ V\VJ>=8'@)_XW0/JQM=T7=W+F$@/O=H9PQ81E`F&9_050
              >> >M2P<(E)0WZYL```#@````4$L#!!0`" `(`,@`:2L````````````````?````
              >> >M5T5"+4E.1B]C;&%S<V5S+W1E<W0O5&5S="YC;&%S<TV/OT[#,!#&OTO2IDT+
              >> >M_4.I6-D*`C(@)A +$E,$0ZKN3K!:5R&1$K=/Q<*$Q, #\%"(LQ-%]7!W_MU]
              >> >MW]F_?]\_<'&-><#IQ,?,QRFA^Z!RI1\)[N)B1?">BC=)&$4JER^[]T262Y%D
              >> >M3*91D8IL)4IE[@WT]$95A$&D9:7#)8=[0F\M=;PI2FT]8P95"[Q%;+:X>Y$1
              >> >MB'M!7.S*5#XK8]<W#C=;L1=#>.@P:'T)8\/#3.3K\#79RE3C' [_Q!P79 0<
              >> >MNWR[Y4R<.Y=?H$\N'/@<`\[ F <GZ'$UK(?0YPZX'EAB#*X:`\?]:-5=2V8'
              >> >M2J=5'N&X4=Y9CL.UM?#,"N=ULQ&::L0/,LLF=G[Z#U!+!PA>>AD-#@$``*4!
              >> >M``!02P$"% `4``@`" #(`&DKK(6B% 0````"````% `$````````````````
              >> >M````345402U)3D8O34%.249%4U0N34;^R@``4$L!`A0`% `(``@`R !I*_]3
              >> >M3>'A`0``! 0```\`````````````````2@```%=%0BU)3D8O=V5B+GAM;%!+
              >> >M`0(4`!0`" `(`,@`:2N4E#?KFP```. ````(`````````````````&@"``!T
              >> >M97-T+FIS<%!+`0(4`!0`" `(`,@`:2M>>AD-#@$``*4!```?````````````
              >> >M`````#D#``!714(M24Y&+V-L87-S97,O=&5S="]497-T+F-L87-S4$L%!@``
              >> >0```$``0`!@$``)0$````````
              >> >`
              >> >end
              >> >
              >>
              Dimitri
              

  • Working with custom events

    I am trying to work with the EventDispatcher class to dispatch a custom event to stop a video from playing. The video plays inside a MovieClip with an attached class file called PlayerProfile. I want the video in the PlayerProfile MovieClip to stop playing when the user clicks on another MovieClip called ScrollBox. I'm getting no compile or runtime erros, but the code is not stopping the video. I have seen use of a public static constant to represent the custom event. Is that what I am missing here.
    Any help, as always, is much appreciated.
    Here is the code for the PlayerProfile MovieClip with relevant code in bold:
    package
        import flash.display.MovieClip;
        import gs.TweenLite;
        import flash.events.MouseEvent;  
        import flash.events.Event;
        public class PlayerProfile extends MovieClip
            public function PlayerProfile()
                this.ProfileButton_mc.buttonMode = true;
                this.StatisticsButton_mc.buttonMode = true;
                this.HomeButton_mc.buttonMode = true;
                this.VideoButton_mc.buttonMode = true;
                this.ProfileButton_mc.addEventListener(MouseEvent.CLICK, profileClickHandler);
                this.StatisticsButton_mc.addEventListener(MouseEvent.CLICK, statisticsClickHandler);
                this.HomeButton_mc.addEventListener(MouseEvent.CLICK, homeClickHandler);
                this.VideoButton_mc.addEventListener(MouseEvent.CLICK, videoClickHandler);
                TweenLite.from(this, .5, {alpha:0});
                //adds the listener to receive the stopVideo custom event
                this.addEventListener("stopVideo", stopVideoHandler);
           //method to stop the video
            private function stopVideoHandler(event:Event):void
                this.Video_mc.stop();
            private function profileClickHandler(event:MouseEvent):void
                this.Video_mc.stop();
                this.gotoAndStop("Profile");
                TweenLite.from(event.target, .5, {alpha:0});
            private function statisticsClickHandler(event:MouseEvent):void
                this.Video_mc.stop();
                this.gotoAndStop("Stats");
                TweenLite.from(event.target, .5, {alpha:0});
            private function homeClickHandler(event:MouseEvent):void
                this.Video_mc.stop();
                event.target.root.gotoAndStop("Home");
            private function videoClickHandler(event:MouseEvent):void
                this.gotoAndStop("Video");
                TweenLite.from(event.target, .5, {alpha:0});
    Here is the code on my Main Timeline that dispatches the event, again with relevant code in bold:
    stop();
    //adds listeners to call the profile functions
    this.ScrollBox.addEventListener(MouseEvent.CLICK, clickHandler);
    //functions to advance the movie to the profiles
    function clickHandler(event:MouseEvent):void
        gotoAndStop(event.target.name);
    //code to dispatch the custom event
    this.ScrollBox.addEventListener(MouseEvent.CLICK, stopVideoHandler);
    function stopVideoHandler(event:Event):void
        dispatchEvent(new Event("stopVideo"));

    you have a scope issue.   your PlayerProfile instance is listening for that custom event.  your PlayerProfile instance must dispatch that event for the listener to detect it.  ie, if pp is your PlayerProfile instance on your main timeline, use:
    pp.dispatchEvent(new Event("stopVideo"));

  • Look Up function is not working with custom dictionary - How can I solve this?

    Hi everyone,
    I recently installed a Chinese-English dictionary known as 小词典 or Xiao CiDian using the .mpkg file that I downloaded from the website (here's a link: http://xiaocidian.com/). The dictionary package was added to the native Dictionary application on my Mac. When I go to the Dictionary application and search for Chinese words, there are no problems – results just come up as they should. The website claims that the Look Up function should work with this dictionary as well, and that I should be able to look up the definitions of any Chinese words that I come across (which makes sense, seeing as it's integrated into the native Dictionary application). The problem? It's not happening. I've tried all the ways that I have found to get to the Look Up pop-up dialog box – Ctrl-Cmd-D, right-click and the Lion three-finger double-tap gesture – but all that ever happens is that the dialog box comes up, saying "No results found". Does anyone know why this is happening? Should I try reinstalling the dictionary? Thanks in advance to anyone who can give some advice.

    If you don't get an answer here, you might want to search/ask in the Chinese Mac list:
    http://groups.google.com/group/chinesemac

  • Why EL doesn't work with custom tags ?!

    I don't know why expression lang. doesn't work with me.
    here's an example, and please tell me why :
    --- the jsp page with EL ==> doesn't work :
    <%-- In the name of ALLAH most gacious most merciful --%>
    <%@ page language="java" %>
    <%@ taglib uri="/cartlib" prefix="cart" %>
    <html>
    <jsp:useBean id="product" class="ch16.cart.ProductCatalog" scope="application" />
    <cart:showCatalog productCatalog="${product}" addToShoppingCartUri="<%= response.encodeURL("AddToShoppingCart.jsp") %>" />
    </html>
    when using expressions instead, the page works .
    the new page is :
    <%-- In the name of ALLAH most gacious most merciful --%>
    <%@ page language="java" %>
    <%@ taglib uri="/cartlib" prefix="cart" %>
    <html>
    <jsp:useBean id="product" class="ch16.cart.ProductCatalog" scope="application" />
    <cart:showCatalog productCatalog="<%= product %>"
    addToShoppingCartUri="<%=
    response.encodeURL("AddToShoppingCart.jsp") %>" />
    </html>
    The error was :
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: jsp.error.beans.property.conversion
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper
    .java:512)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.apache.jasper.JasperException: jsp.error.beans.property.conversion
    org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(Js
    pRuntimeLibrary.java:885)
    org.apache.jsp.ShowProductCatalog_jsp._jspService(ShowProductCatalog_jsp.java:77
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.

    Regarding setup, see this post reply #6
    http://forum.java.sun.com/thread.jspa?threadID=629437&tstart=0
    Other potential things to check: make sure you are getting the right value passed in
    productCatalog="${applicationScope.product}"
    ${product} by preference would take a pageContext, request or session attribute before the application level one (it uses pageContext.findAttribute).
    What do you get if you just print out ${product} on the screen?
    It should call a toString() on it for rendering purposes.

  • PO PDF errors when using custom RTF Template, but works with custom xsl

    Hi,
    I have done following set up steps for PO PDF
    Setup / Organizations / Purchasing Options / Control TAB / set 'PO Output Format' = 'PDF'
    setup / purchasing / document types / select "Standard Purchase Order" / Set the Document Type Layout to your new template.
    But with the RTF template the PO Output for communication completes with error. However when I use custom XSL-FO style sheet, it works.
    Can anyone help me how I can make my RTF work? When click on the preview of the template, it shows the PDF output though. Am I missing any other set up steps? Your help is greatly appreciated.
    Thanks,
    Sharmila

    I think the only way to have control over the html output is to enclose the tags or any information within a borderless table and align the text and table as necessary...
    Thanks,
    Bipuser

Maybe you are looking for