Select Next Keyframe (in selected property) script

I find myself constantly crafting individual keyframes manually, so being able to automatically select the next/previous keyframe on a selected property with a shortcut (assigned to a script, since there's no such functionality in After Effects, being "Select Previous/Next Keyframes" the closest thing) instead of locating the keyframe and clicking on it, would save me, and everyone, hours of pointing and clicking.
After some research I thought It was not possible but after some more (looking at scripts like this AE ENHANCERS • View topic - Exponential Scaling and Re: How can I access the layer keyframes?) , I've started to wonder if it is scriptable.
Hope it is clear what I'm trying to achieve;
Basically I'd like that pressing Shift+K would take me to the next keyframe in the selected property AND select it (Shift+J for the previous one) and
pressing Ctrl+Shift+K would select the next keyframe in the selected property without actually moving the Current Time Indicator (Ctrl+Shift+J for the previous one).
(I think it makes sense and it is consistent with the almighty J and K shortcuts but I didn't know how to write the code or ask for this functionality. Haven't been lucky asking to fellow animators either).
Thanks,
Oliver

Here here!
SelectJumpNextKey:
In a selected keyframe/keyframes, will select the next one in time AND jump the CTI to the time of that keyframe or, if multiple selected, the last of the selected keyframes.
(If you don't want the time jump but only the selection, just remove the second $.global.script_doJumpToLastSelectedKey script).
$.global.script_doSelectNextKeys || (script_doSelectNextKeys = function script_doSelectNextKeys(){  
    var comp = app.project.activeItem, props, n, p, idx, max=-Infinity;  
    if (comp instanceof CompItem){  
        props = comp.selectedProperties;  
        for (n=0; n<props.length; n++){  
            p = props[n];
            if (p.numKeys && p.selectedKeys.length>0){
                // get index of the last selected key
                idx = p.selectedKeys[p.selectedKeys.length-1];
                // change to next key
                if (idx<p.numKeys) ++idx;
                // select only that key
                p.selected = false;
                p.setSelectedAtKey(idx, true);
                // update the time
                max=Math.max(max, p.keyTime(idx));
         // this sets the composition time (CTI) to max
         if (-Infinity<max) comp.time = max;
    return
script_doSelectNextKeys();
$.global.script_doJumpToLastSelectedKey || (script_doJumpToLastSelectedKey = function script_doJumpToLastSelectedKey(){   
    var comp = app.project.activeItem, props, n, p, max=-Infinity;   
    if (comp instanceof CompItem){   
        props = comp.selectedProperties;   
        for (n=0; n<props.length; n++){   
            p = props[n]; 
            if (p.numKeys && p.selectedKeys.length>0) max=Math.max(max, p.keyTime(p.selectedKeys[p.selectedKeys.length-1])); 
        if (-Infinity<max) comp.time = max; 
    return;   
script_doJumpToLastSelectedKey();
And this (nevermind the more than possible coding aberrations on my part) is what I originally aimed for. I think that not only it is simply amazing ("It just works") but so intuitive (specially using Shift+J/K) that should be an After Effects default.
Your version (select keyframes under current time in the selected properties) is super great too, but it serves a whole different purpose.
Now, for the SelectJumpPrevKey, I just have to figure how to make this bit:
$.global.script_doJumpToFirstSelectedKey || (script_doJumpToFirstSelectedKey = function script_doJumpToFirstSelectedKey(){   
    var comp = app.project.activeItem, props, n, p, max=-Infinity;   
    if (comp instanceof CompItem){   
        props = comp.selectedProperties;   
        for (n=0; n<props.length; n++){   
            p = props[n]; 
            if (p.numKeys && p.selectedKeys.length>0) max=Math.max(max, p.keyTime(p.selectedKeys[p.selectedKeys.length-1])); 
        if (-Infinity<max) comp.time = max; 
    return;   
script_doJumpToFirstSelectedKey();
actually go to the first keyframe selected and not the last (which, as simple as it may seem, to me is like watching the Matrix code and pushing random buttons in russian to see what happens).
Sorry I couldn't make your last code work and insted just stitched to scripts together! for some reason, the CTI wasn't jumping.
Mega thanks!!
Oliver

Similar Messages

  • Weird issue. Captivate 6 not letting me select a script for an Advanced Action

    Hi, So i'm facing this really weird issue on a captivate 6 project that i built. I need to add an Advance Action on a slide Exit action. This was previously set as "Continue" and now I want to set this to "Execute Advanced Action" (an Advanced Action script that I just wrote). The thing is that when I change the On Exit property to "Execute Advanced Actions", I am not able to select a script from the "Script" dropdown. I've tried everything from:
    changing machines and doing this on different computers with Captivate 6
    Making copies of the file and trying those
    Closing Captivate and Restarting my computer
    Ensuring that the slides are not locked
    but can't seem to figure this out. Also funnily, if I try to set the On Exit property of let's say slide 67 as "Execute Advanced Actions" (when it was previously just "Continue"), all other slides are also changing to this, meaning the On Exit property for all other slides has also been changed from "Continue" to "Execute Advanced Actions".
    I've been stuck with this for the last 6 hours and can't figue this out.
    Please Help!!!
    -Sean    

    If this is the same file you were having issues with before where we suspected corruption, then I'd have to say this probably confirms it.
    http://www.infosemantics.com.au/adobe-captivate-troubleshooting/recover-corrupt-project
    Usually the fix is to copy all slides into a new blank shell project of the same size to try and strip out the corruption issue.
    See item #4 here:
    http://www.infosemantics.com.au/adobe-captivate-troubleshooting/basic-troubleshooting-tech niques
    However, since you are on a Cp version earlier than 7.0.1, please note that this will also strip out all of your current advanced actions as well (which also might be where the corruption is anyway).
    Your issue is actually quite rare.  I cannot guarantee you that Cp 7 would never do the same thing, but one advantage of Cp7 is that you can try copying and pasting slides into a new shell project and it WILL bring along the advanced actions and variables as well.  So I definitely think it's worth downloading the trial version of Cp7, upgrading with the Cp 7.0.1 patch and giving it a go to see if that fixes your issue.
    Alternatively, if you haven't got lots of time-consuming Advanced Actions to recreate, just paste all slides into a new shell project and recreate them.  It's probably not going to take that long if it's only one project file.

  • Flex 4 ToggleButton selected property not working

    I am trying to set a FlexToggle buttons selected property by state value and it does not work. It only works when I click on the button.
    <buttons:MaxRestoreToggleButton id="resizeWindowButton" selected="false" selected.maximized="true"/>
    any ideas?

    Well I am creating a ToggleButtonSkin and yes, I am calling the invalidateSkinState(); but it still doesnt seem to be working.
    <?xml version="1.0" encoding="utf-8"?>
    <s:ToggleButton xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      toolTip="Maximize"
      width="20" height="20"
      skinClass="tat.skins.buttons.MaxRestoreToggleButtonSkin" change="{trace('hi');}"
      >
    <s:states>
    <s:State name="up" enterState="{invalidateSkinState();}"/>
    <s:State name="over" stateGroups="overStates" enterState="{invalidateSkinState();}"/>
    <s:State name="down" stateGroups="downStates" enterState="{invalidateSkinState();}"/>
    <s:State name="disabled" stateGroups="disabledStates"/>
    <s:State name="upAndSelected" stateGroups="selectedStates, selectedUpStates" enterState="{invalidateSkinState();}"/>
    <s:State name="overAndSelected" stateGroups="overStates, selectedStates" enterState="{invalidateSkinState();}"/>
    <s:State name="downAndSelected" stateGroups="downStates, selectedStates" enterState="{invalidateSkinState();}"/>
    <s:State name="disabledAndSelected" stateGroups="selectedUpStates, disabledStates, selectedStates" />
    </s:states>
    <!-- Skin States -->
    <fx:Metadata>
    [SkinState('up')]
    [SkinState('over')]
    [SkinState('down')]
    [SkinState("disabled")]
    [SkinState('upAndSelected')]
    [SkinState('overAndSelected')]
    [SkinState('downAndSelected')]
    [SkinState("disabledAndSelected")]
    </fx:Metadata>
    <fx:Declarations>
    </fx:Declarations>
    <fx:Script>
    <![CDATA[
    ]]>
    </fx:Script>
    </s:ToggleButton>
    <?xml version="1.0" encoding="utf-8"?>
    <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:fb="http://ns.adobe.com/flashbuilder/2009" minWidth="21" minHeight="21" alpha.disabledStates="0.5" >
        <!-- host component -->
        <fx:Metadata>
        <![CDATA[
            [HostComponent("tat.components.buttons.MaxRestoreToggleButton")]
        ]]>
        </fx:Metadata>
        <fx:Script fb:purpose="styling">
    [Bindable]public static var glowColor:uint = 0xFFFFFF;
    [Bindable]public static var backgroundColor:uint = 0xFFFFFF;
    /* Define the skin elements that should not be colorized.
               For toggle button, the graphics are colorized but the label is not. */
            static private const exclusions:Array = ["labelDisplay"];
             * @private
            override public function get colorizeExclusions():Array {return exclusions;}
             * @private
            override protected function initializationComplete():void
                useChromeColor = true;
                super.initializationComplete();
             * @private
            override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
                super.updateDisplayList(unscaledWidth, unscaledHeight);
            private var cornerRadius:Number = 2;
        </fx:Script>
        <!-- states -->
        <s:states>
            <s:State name="up" enterState="{this.hostComponent.toolTip='Maximize' }"/>
            <s:State name="over" stateGroups="overStates" enterState="{this.hostComponent.toolTip='Maximize'}"/>
            <s:State name="down" stateGroups="downStates" enterState="{this.hostComponent.toolTip='Maximize'}"/>
            <s:State name="disabled" stateGroups="disabledStates"/>
            <s:State name="upAndSelected" stateGroups="selectedStates, selectedUpStates" enterState="{this.hostComponent.toolTip='Restore'}" />
            <s:State name="overAndSelected" stateGroups="overStates, selectedStates" enterState="{this.hostComponent.toolTip='Restore'}"/>
            <s:State name="downAndSelected" stateGroups="downStates, selectedStates" enterState="{this.hostComponent.toolTip='Restore'}"/>
            <s:State name="disabledAndSelected" stateGroups="selectedUpStates, disabledStates, selectedStates" />
        </s:states>
        <!-- layer 1: shadow -->
    <s:Rect id="bg" left="0" right="0" top="0" bottom="0" radiusX="2">
    <s:fill>
    <s:SolidColor color="{backgroundColor}" alpha=".1"/>
    </s:fill>
    </s:Rect>
    <s:Rect id="glow" left="-1" right="-1" top="-1" bottom="-1" radiusX="2">
    <s:fill>
    <s:SolidColor color="{glowColor}" alpha.up="0" alpha.selectedUpStates="0" alpha.overStates=".5" alpha.downStates=".2" alpha.disabled="0"/>
    </s:fill>
    </s:Rect>
    <s:BitmapImage source.selectedStates="@Embed('../../../assets/images/windows_16.png')" source="@Embed('../../../assets/images/windows_window_16.png')"
       horizontalCenter="0" verticalCenter="0"/>
    </s:SparkSkin>

  • Change Selected Property of a Checkbox

    I'm trying to set the selected property of a checkbox
    generated by the Repeater component. The checkbox has an ID of ccb.
    I know I can access them using index notation ie. ccb[1].selected =
    true; - that works fine. However, when I put in a for loop and set
    the selected property to a value stored in a Array I get this
    error. Any ideas? Anybody?? Please????
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at Filter/intFilterComp()
    at Main/loginClickHandler()
    at Main/___Login1_loginClick()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()
    at Login/wsHandler()
    at Login/___Operation2_result()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractOperation/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::resultHandler()
    at mx.rpc::Responder/result()
    at mx.rpc::AsyncRequest/acknowledge()
    at DirectHTTPMessageResponder/completeHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

    The error means what it says: you are trying to read or write
    a value to a non-existing destination.
    Debug this to find out which line is erroring, and thus which
    reference is null.
    Tracy

  • Checkbox group selected property binding not working

    Hi,
    I've been through all the threads and tutorials relating to this problem and none of them help.
    The Situation
    I have a checkbox group which I have bound the items items property to a MySQL database (value field = int, display field = String). I have bound the Selected property to a sessionbean field which is an int[] array.
    I have a processValueChange event for my checkbox group which grabs the selected boxes values (ie the int value of the checkbox id). Based on these values it does some other processing.
    The Problem
    When the page loads everything is displayed ok. When I select a checkbox within the checkbox group the getSelected() method returns the int value of the selected checkbox and perform other processing as necessary... so far so good.
    However, when the page finishes processing and reloads the selected checkboxes are not ticked. I'm sure it has something to do with the Selected property of the checkboxgroup but I can't for the life of me work out why. For multiselect objects the Selected property must be bound to an array which I have done with my int[] array. I've tried preloading the array with default values (1, 2, etc) to mimic the int values from the database. I've tried changing the array to a boolean array but this throws exceptions. So basically i'm stuck.
    The Source
    Session Bean
        private int[] extras;
        public int[] getExtras() {
            return this.extras;
        public void setExtras(int[] extras) {
            this.extras = extras;
    Page JSP
    <ui:checkboxGroup binding="#{book_package.extras}"
                                                                                    converter="#{book_package.extrasConverter}" id="extras"
                                                                                    items="#{book_package.extrasDataProvider.options['extras.ExtrasID,extras.Name']}"
                                                                                    onClick="common_timeoutSubmitForm(this.form, 'table:tr:td:table:tr:td:table:tr:td:div:div:table:tr:td:extras');"
                                                                                    selected="#{SessionBean1.extras}" valueChangeListener="#{book_package.extras_processValueChange}"/>
    Page Java
        public void extras_processValueChange(ValueChangeEvent event) {
            // TODO: Replace with your code
            getSessionBean1().setExtrasTotal(0);
            try {
                int[] extra = (int[])extras.getSelected();
                int extrasId = 0;
                int extraPrice = 0;
                if (extra.length != 0) {
                    for (int i=0; i < extra.length; i++) {
                        extrasDataProvider.cursorFirst();
                        do {
                            extrasId = new Integer(extrasDataProvider.getValue("ExtrasId").toString()).intValue();
                            if (extrasId == extra) {
    extraPrice = getSessionBean1().getExtrasTotal() + new Integer(extrasDataProvider.getValue("Price").toString()).intValue();
    getSessionBean1().setExtrasTotal(extraPrice);
    break;
    } while (extrasDataProvider.cursorNext());
    } catch (Exception e) {
    log("Exception occurred!!", e);
    error("Error: "+e.getMessage());
    getSessionBean1().setTotalPrice(getSessionBean1().getPackagePrice() + getSessionBean1().getExtrasTotal());
    Any help appreciated.
    Thanks.

    ok, i found the problem. MySQL int value is treated as an Integer in Creator. I changed my SessionBean array from int[] to Integer[] and now it works properly... phew!!!

  • TabSet's selected property doesn't work dynamically

    I have a tab set with three tabs. Suppose I'm on the third tab, click a button on the tab and move to another page. When I'm done with that page I want to go back to the previous page (with the tab set) and display the page with the third tab showing.
    First, I tried saving the tab set's selected property in a session bean. In the page's prerender method, I retrieve the selected property from the session bean and call the tab set's setSelected method. This doesn't appear to work because the first tab is always displayed. (I ran this in the debugger to make sure the tab ID was persisted and retrieved correctly.)
    Second, I tried saving the tab set's state in a session bean. In the page's prerender method I retrieve the tab set's state and restore it with tab set's restoreState method. Again, this didn't work. (As before I verified that the state was indeed being saved and restored.)
    Any suggestions on how I can force a particular tab to be displayed when the page is rendered?

    Hi claudioaragao
    it depends on which trigger are u using it ; if using Multi-Records Block Pls Try...
    WHEN-NEW-RECORD-INSTANCE it will work just fine...! :)
    u should also mention forms version & on which trigger r u trying to use it...?!
    And according to ur condition in the IF Statment ...
    SET_ITEM_PROPERTY ('detail_block.id' ,ENABLED ,PROPERTY_FALSE);
    SET_ITEM_PROPERTY ('detail_block.id' ,NAVIGABLE,PROPERTY_FALSE);
    SET_ITEM_PROPERTY ('detail_block.id' ,UPDATE_ALLOWED,PROPERTY_FALSE);
    SET_ITEM_PROPERTY ('detail_block.id' ,INSERT_ALLOWED,PROPERTY_FALSE);Hope this helps...
    Regards,
    Abdetu.....
    Edited by: Abdetu on Jan 27, 2011 6:59 AM

  • Multiple Selection Property in Single Column Listbox

    Hello All,
    I have taken a Single-column list box and have enable the multiple selection property of the listbox.
    In fact, i want to find out the values of the multiple rows selected in the listbox. But, i couldn't found any of the property of this listbox that can indicate the index or value of the multiple lines that are selected.
    Can anybody help me to resolve this issue? What is the approach i can take to find out the multiple rows selected in the listbox?
    Regards,
    Nishant

    Nishant wrote:
    Hello All,
    I have taken a Single-column list box and have enable the multiple selection property of the listbox.
    In fact, i want to find out the values of the multiple rows selected in the listbox. But, i couldn't found any of the property of this listbox that can indicate the index or value of the multiple lines that are selected.
    Can anybody help me to resolve this issue? What is the approach i can take to find out the multiple rows selected in the listbox?
    Regards,
    Nishant
    Here is an example where the value is read from a property node.
    the Value becomes an array when you elect a selection mode that allows multiple selections. (and thats the reason you can't write Selection mode while the VI is running
    Jeff
    Attachments:
    Listbox.vi ‏7 KB

  • Problem with binding selected property of Add remove list

    Hi
    Thank you for reading my post
    i can not bind selected property of add remove list to an array Option Objects.
    it return the following exception :
    <pre>
    [#|2006-05-09T01:27:21.140+0430|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=13;|
    com.sun.rave.web.ui.component.AddRemove::     Some selected value(s) for this component is/are not present on the list of options.|#]
    [#|2006-05-09T01:27:21.187+0430|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=13;|ApplicationDispatcher[/myPortlet] Servlet.service() for servlet jsp threw exception
    javax.faces.convert.ConverterException: java.lang.ClassCastException: com.sun.rave.web.ui.model.Option
         at javax.faces.convert.IntegerConverter.getAsString(IntegerConverter.java:91)
         at com.sun.rave.web.ui.util.ConversionUtilities.convertValueToString(ConversionUtilities.java:554)
         at com.sun.rave.web.ui.component.ListSelector.getValueAsStringArray(ListSelector.java:568)
         at com.sun.rave.web.ui.renderer.ListRendererBase.renderHiddenValue(ListRendererBase.java:239)
         at com.sun.rave.web.ui.renderer.AddRemoveRenderer.renderListComponent(AddRemoveRenderer.java:159)
         at com.sun.rave.web.ui.renderer.AddRemoveRenderer.encodeEnd(AddRemoveRenderer.java:59)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
         at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:623)
         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
         at org.apache.jsp.editBanners_jsp._jspx_meth_ui_addRemove_0(editBanners_jsp.java:974)
         at org.apache.jsp.editBanners_jsp._jspx_meth_ui_form_0(editBanners_jsp.java:236)
         at org.apache.jsp.editBanners_jsp._jspx_meth_f_view_0(editBanners_jsp.java:160)
         at org.apache.jsp.editBanners_jsp._jspService(editBanners_jsp.java:127)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor598.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
         at org.apache.pluto.core.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:51)
         at com.sun.faces.portlet.ExternalContextImpl.dispatch(ExternalContextImpl.java:124)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at com.sun.faces.portlet.ViewHandlerImpl.renderView(ViewHandlerImpl.java:132)
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
         at com.sun.faces.portlet.LifecycleImpl$RenderResponsePhase.execute(LifecycleImpl.java:702)
         at com.sun.faces.portlet.LifecycleImpl.phase(LifecycleImpl.java:323)
         at com.sun.faces.portlet.LifecycleImpl.render(LifecycleImpl.java:244)
         at com.sun.faces.portlet.FacesPortlet.render(FacesPortlet.java:327)
         at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:205)
         at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:145)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:140)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
         at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
         at org.apache.pluto.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:73)
         at org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:105)
         at org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.renderPortlet(PortletContainerWrapperImpl.java:70)
         at org.apache.pluto.portalImpl.aggregation.PortletFragment.service(PortletFragment.java:168)
         at org.apache.jsp.WEB_002dINF.aggregation.ColumnFragment_jsp._jspService(ColumnFragment_jsp.java:66)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor598.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
         at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
         at org.apache.jsp.WEB_002dINF.aggregation.RowFragment_jsp._jspService(RowFragment_jsp.java:66)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor598.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
         at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
         at org.apache.jsp.WEB_002dINF.aggregation.PageFragment_jsp._jspService(PageFragment_jsp.java:75)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor598.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
         at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
         at org.apache.jsp.WEB_002dINF.aggregation.RootFragment_jsp._jspService(RootFragment_jsp.java:159)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor598.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
         at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
         at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:281)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor598.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Caused by: java.lang.ClassCastException: com.sun.rave.web.ui.model.Option
         at javax.faces.convert.IntegerConverter.getAsString(IntegerConverter.java:89)
         ... 215 more
    |#]
    [#|2006-05-09T01:27:21.218+0430|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=13;|WebModule[/myPortlet]javax.portlet.PortletException
    javax.faces.FacesException: javax.portlet.PortletException
         at com.sun.faces.portlet.ExternalContextImpl.dispatch(ExternalContextImpl.java:126)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at com.sun.faces.portlet.ViewHandlerImpl.renderView(ViewHandlerImpl.java:132)
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
         at com.sun.faces.portlet.LifecycleImpl$RenderResponsePhase.execute(LifecycleImpl.java:702)
         at com.sun.faces.portlet.LifecycleImpl.phase(LifecycleImpl.java:323)
         at com.sun.faces.portlet.LifecycleImpl.render(LifecycleImpl.java:244)
         at com.sun.faces.portlet.FacesPortlet.render(FacesPortlet.java:327)
         at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:205)
         at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:145)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:140)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
         at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
         at org.apache.pluto.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:73)
         at org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:105)
         at org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.renderPortlet(PortletContainerWrapperImpl.java:70)
         at org.apache.pluto.portalImpl.aggregation.PortletFragment.service(PortletFragment.java:168)
         at org.apache.jsp.WEB_002dINF.aggregation.ColumnFragment_jsp._jspService(ColumnFragment_jsp.java:66)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor598.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
         at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
         at org.apache.jsp.WEB_002dINF.aggregation.RowFragment_jsp._jspService(RowFragment_jsp.java:66)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor598.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
         at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
         at org.apache.jsp.WEB_002dINF.aggregation.PageFragment_jsp._jspService(PageFragment_jsp.java:75)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor598.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
         at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
         at org.apache.jsp.WEB_002dINF.aggregation.RootFragment_jsp._jspService(RootFragment_jsp.java:159)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor598.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.acce

    [#|2006-05-09T01:27:21.140+0430|INFO|sun-appserver-pe8.1_02|javax.enterprise.sy stem.stream.out|_ThreadID=13;|com.sun.rave.web.ui.component.AddRemove:: Some selected value(s) for this component is/are not present on the list of options.|#]
    The component's items property points to an array of com.sun.rave.web.ui.model.Option. Each Option element in the array has a return value and a display label. Let's call this array listOptions.
    The selected property points to an array that contains the selections. Every element of the array MUST be a member of the set of RETURN VALUES in the listOptionsarray.
    For example,
    If say you have the following:
      listOptions = new com.sun.rave.web.ui.model.Option[] {
      new Option("choice1", "My Choice 1"),
      new Option("choice2", "My Choice 2"),
      new Option("choice3", "My Choice 3")};In the above, choice1 is a value and My Choice 1 is a label.
    Say that the items property for your Listbox component is bound to listOptions.
    If you call setSelected("choice1"), then that is valid, because choice1 is a valid value. If you cal lsetSelected("choiceX") then that is not vaid, that is, it is not present in the list of options.
    In addition setSelected("My Choice 1") is not valid.
    For More Information:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/listbox_components.html
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/about_components.html#input

  • Flash CS5: Is there a keyboard shortcut to move to the next keyframe?

    I know there are keyboard shortcuts to move to the next and previous frames -- "." and "," but they're not really what I'm referring to. Also, these keys don't necessarily move to the next and previous frames, rather it just seems to move the red playhead instead of the blue highlighted box (which represents the current frame). This is something I'm also confused about with this keyboard shortcut.
    I would like to know though, if there is a keyboard shortcut to move to the next keyframe (each frame that begins with a dot). Thanks for your help.

    While I am not quite sure what you mean with
    "each frame that begins with a dot"
    you can use jsfl to program your own macros/shortcuts
    In your case start on page 575 of this document
    http://help.adobe.com/en_US/flash/cs/extend/flash_extending_reference.pdf
    How to get all keyframes of a specific layer:
    Helpful JSFL Scripts for Indexing the Flash IDE Stage | Simplest Explanation

  • If( Key.isDown(Key.RIGHT) ) advance to next keyframe

    I'm a beginner in flash. I'm trying to make a script let me advance tio the next keyframe by clicking right.I'm making a game. I tried
    if( Key.isDown(Key.RIGHT) )
    gotoAndPlay (11)
    but it doesnt work. Also, should I put the script on an object or the entire keyframe?

    First, you the code should be:
    if (Key.isDown(Key.RIGHT){
    gotoAndStop(11)
    You need brackets{} for the if... code.
    And If you want to go to the next frame, you may use nextFrame(). But there are no difference.
    If you just use gotoAndStop, or nextFrame(), the MovieClip where the code is will go to the next frame ( if it is a movieClip). It is better if you use _root.gotoAndStop. So the final code would be:
    if (Key.isDown(Key.RIGHT)){
         _root.nextFrame();
    I am using actionscrip 2. If you are using AS 1, it may not work.

  • Animations not working correctly when movieclip is shifted  to next keyframe as3

    By default I had 2 movieclips on first frame on the main timeline. And an actionscript code for first two movieclips.They are kept on each individual layer. They were working just fine but when I shifted all three keyframes from first to second frame on the maintime line. It doesn't works properly. The reason why I'm shifting them to next keyframe is because I wan't to insert a pre-loader on first frame. Here's the output message I'm getting:
      at Flashphotographygallerywebsite10_fla::MainTimeline/frame2()
              at flash.display::Sprite/constructChildren()
              at flash.display::Sprite()
              at flash.display::MovieClip()
              at flash.display::Sprite/constructChildren()
              at flash.display::Sprite()
              at flash.display::MovieClip()
              at Flashphotographygallerywebsite10_fla::envolop_3()
    Here's the actionscript code:
    /*Re-sizeable background*/
    //set stage for FBF
    stage.align = "TL";
    stage.scaleMode = "noScale";
    //define dynamic aspect ratios
    var bg_mainHeight = bg_main.height / bg_main.width;
    var bg_mainWidth = bg_main.width / bg_main.height;
    //add event listener to the stage
    stage.addEventListener(Event.RESIZE, sizeListener);
    //conditional statement to account for various initial browswer sizes and proportions
    function scaleProportional():void {
              if ((stage.stageHeight / stage.stageWidth) < bg_mainHeight) {
                        bg_main.width = stage.stageWidth;
                        bg_main.height = bg_mainHeight * bg_main.width;
              } else {
                        bg_main.height = stage.stageHeight;
                        bg_main.width = bg_mainWidth * bg_main.height;
    //center bg_mainture on stage
    function centerbg_main():void {
              bg_main.x = stage.stageWidth / 1000;
              bg_main.y = stage.stageHeight / 1000;
    // make listener change bg_mainture size and center bg_mainture on browser resize
    function sizeListener(e:Event):void {
              scaleProportional();
              centerbg_main();
    //run initial locations and size
    scaleProportional();
    centerbg_main();
    /*envelope align to center*/
    function resizeHandler(e:Event):void
      envelope_mc.x = (envelope_mc.stage.stageWidth / 2) - (envelope_mc.width / 1.15);
      envelope_mc.y = (envelope_mc.stage.stageHeight / 2) - (envelope_mc.height / 1.15);
    stage.align = StageAlign.TOP_LEFT;
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.addEventListener(Event.RESIZE, resizeHandler);
    stage.dispatchEvent(new Event(Event.RESIZE));
    stop();

    Here's the message after setting permit debuggining option:
    frame2:59]
              at flash.display::Sprite/constructChildren()
              at flash.display::Sprite()
              at flash.display::MovieClip()
              at flash.display::Sprite/constructChildren()
              at flash.display::Sprite()
              at flash.display::MovieClip()
              at Flashphotographygallerywebsite10_fla::envolop_3()
    Sorry I didn't get your last line. Could you please specifiy me where I should insert what code?

  • How to move to next keyframe using arrows?

    Hi all,
    I want to be able to use the UP and DOWN arrow keys (or any keys, really) to navigate to the next keyframe in the timeline, the same way I navigate to the next/previous clip on the timeline. Final Cut can do this, is it possible in Premiere Pro? Using CS6.

    The keyboard preferences and hence the existing available shotcuts are freely customisable by the user.
    You can make the keys you want the shortcuts provided keyframe navigation is listed, type keyframe in the search box
    If it is not there you are stuck, CS6 will not be updated with migration to the CC now the Adobe way

  • Noob question - is there next keyframe shortcut?

    I'm new to Flash and can't find if there is a way to get to the next/previous keyframe on a layer by using something faster than dragging the playhead.

    No. There aren't keyboard shortcuts to automatically skip ahead to the next keyframe or back to the previous keyframe, but I want them too and I think I'll create them using JSFL. With JSFL you can write new functions for the IDE (integrated development environment). They show up on the Commands menu, and you can assign shortcut keys to them. It looks like the following properties and methods can be used to create these functions:
    timeline.layers [an array of the layers on the timeline]
    timeline.setSelectedLayers()
    timeline.setSelectedFrames()
    timeline.getFrameProperty(startFrame) [the previous keyframe]
    timeline.getFrameProperty(duration)  [the distance between keyframes]
    To jump to the previous keyframe, my function would loop through each layer, on the current frame, and look for the greatest startFrame. To jump to the next keyframe, my function would loop through each layer, on the current frame, and look for the smallest startFrame+duration.
    I'm not sure when I'll have time to do this but when I do I'll post about it here. Maybe someone will beat me to it.

  • How to set multi select by script to a list box.

    Hi All,
    I have a list box with multiple select on the form with list (Say A,B,C,D,E,F,G ..)
    When I select A,C,E ans say this.RawValue I get A,C,E separated by carrage returns.
    When i submit the form in my Fm I get A#C#E its all fine.
    Now when the form is openend for the 2nd time to update values I get the value as A,C,E separated by carrage return thats fine too.
    Now i need to set these 3 values as selected by default so i had some java script in form ready.
    Where i iterate tru these list match the entries in the dropdown its fine untill here.
    this.setItemState(index,true)
    is the code to set them as selected but when i do only the 1st found is set to selected not the remaining ones.
    Am i doing something wrong here, please let me know with your suggestions.
    below is my script.
    var ddValue =  this.rawValue;
    ddValue = ddValue.replace("#","\n");
    var ddArray = ddValue.split("\n");
    var ddLen = ddArray.length;
    var textValue = "";
    GM_INTAKE_STRUCTURE.sf80.sfItemBuilder.sfHeaderConditions.dlExpenseType.clearItems;
    GM_INTAKE_STRUCTURE.sf80.sfRequestSummary.dlItem.clearItems;
    for(var i = 0;i<ddLen;i++){
         for(var j = 0;j<this.length;j++){
              if(this.getSaveItem(j) == ddArray<i>){
                   this.setItemState(j,true);                
                   GM_INTAKE_STRUCTURE.sf80.sfItemBuilder.sfHeaderConditions.dlExpenseType.addItem(this.items.nodes.item(j).value,this.getSaveItem(j));
    Thanks & Regards,
    Sai

    Hi Sai,
         The replace function is only replacing the first occur of #, not all of them. But you don't even need to replace the # before you do the split, just change your first lines to split directly with the # character. Your code should look as follow:
    var ddValue =  this.rawValue;
    var ddArray = ddValue.split("#");
    var ddLen = ddArray.length;
    var textValue = "";
    GM_INTAKE_STRUCTURE.sf80.sfItemBuilder.sfHeaderConditions.dlExpenseType.clearItems;
    GM_INTAKE_STRUCTURE.sf80.sfRequestSummary.dlItem.clearItems;
    for(var i = 0;i<ddLen;i++){
         for(var j = 0;j<this.length;j++){
              if(this.getSaveItem(j) == ddArray<i>){
                   this.setItemState(j,true);                
    GM_INTAKE_STRUCTURE.sf80.sfItemBuilder.sfHeaderConditions.dlExpenseType.addItem(this.items.nodes.item(j).value,this.getSaveItem(j));
    Best regards, Aldo.
    Any comments and feedback are welcome.

  • Loading a layer mask as Selection in Script

    If you have a layer (Layer 1), that has a mask on it, if you look at the Channel list in Photoshop, you will see a channel named "Layer 1 Mask" of which you can load the selection using the "Load Selection..." dialog.
    If a layer has a mask, even if the layer is the active layer, the mask is not a channel object in script. At least, it not exposed.
    activeDocument.channels.length returns the number of component channels plus any alpha channels. In an RGB image with only the layer mask it returns 3.
    activeDocument.channels.getByName("Layer 1 Mask") throws an error.
    So I don't see a way to tell if a layer already has a mask or how to load that mask as a selection, apply or discrad the mask, or turn the mask off without using scriptlistner.
    I personally am using C#, and I tried the following which worked:
    curDoc.Selection.Load(curDoc.Channels["Blue] ,null, null);
    But this doesn't:
    curDoc.Selection.Load(curDoc.Channels["Layer 1 Mask"] ,null, null);
    Any help would be appreciated
    Carl

    As far as I know scriptlistner is the only way to deal with a layer's channel masks. A vector mask is part of the pathItems collection when the layer is active.

Maybe you are looking for

  • How to download content of a view into a Excel File.

    Hi All, Is there a way to download Content in a table maintenance screen to a local file Guru.

  • Networking a G4 to a G5

    I have a iMac G5 connected to a cable modem and have moved my old 1.25 iMac G4 upstairs. What is the cheapest way to network the two? Neither computer has been upgraded in any way. iMac G5 2.0   Mac OS X (10.4.3)  

  • TABLE_ENTRIES_GET_VIA_RFC doesn't return all data for table VBRP

    Hi guys, I'm trying to import data from table VBRP using fm TABLE_ENTRIES_GET_VIA_RFC in Microsoft access. However it only seem to import first few fields of table and then nothing ! Am I missing something. It works fine for other tables, i tries EKP

  • Afraid to make the switch.....Convince me otherwise!

    I have been a PC guy since 1988 (had the original macintosh before then) and overall quite happy. Now, with owning an iPod for the past year and purchasing it for others, I have been bombarded with apple products while visiting the local store. Actua

  • Bank Reconcilation configuration in SAP

    Hi, Can anybody give me the configuration steps for Bank Reconcilation statement with types of G.L. accounts required to create. anand