Building custom components in jsf 1.2

HI all
i am having custom component which has one text field and button together which is extended from a panelgroup component and adding text field and button and child component to this.
in jsf1.1 i am not getting any error, but jsf 1.2 i am getting arrayoutofbounds exception in processrestorestate.
when printing the log in jsf1.2 uicomponentbase we can see that after text and button fields are rendered again textfield is rendered.and kid of panel is 4. can you suggest how building the above custom component.
kid.........4 facet count.0 family javax.faces.Panel
stateStruct.........[Ljava.lang.Object;@c0f87elength.......2
childstate.....[Ljava.lang.Object;@fa302clength...2
Child Count4
kids....4
kid.........0 facet count.0 family javax.faces.Input
stateStruct.........[Ljava.lang.Object;@170d9d4length.......2
kid.........0 facet count.0 family javax.faces.Command
stateStruct.........[Ljava.lang.Object;@1ed1c32length.......2
kid.........0 facet count.0 family javax.faces.Input
Aug 13, 2008 6:32:49 PM com.sun.faces.lifecycle.Phase doPhase
SEVERE: JSF1054: (Phase ID: RESTORE_VIEW 1, View ID: ) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@1d63e96]
Aug 13, 2008 6:32:49 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.ArrayIndexOutOfBoundsException: 2
     at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1185)
     at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1189)
     at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1189)
     at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1189)
     at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1189)
     at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1189)
     at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1189)
     at org.ajax4jsf.application.AjaxStateManager.restoreView(AjaxStateManager.java:235)
     at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:316)
     at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:337)
     at org.ajax4jsf.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:116)
     at org.ajax4jsf.application.AjaxViewHandler.restoreView(AjaxViewHandler.java:131)
     at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:176)
     at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
     at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)
     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
     at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:256)
     at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:362)
     at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:488)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at mgeretail.gateway.SecurityFilter.doFilter(SecurityFilter.java:205)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
     at java.lang.Thread.run(Unknown Source)

hi
is there a problem in rendering code in have given for the component. please tell me what is wrong in the code.
my component code is
package components;
import javax.faces.component.html.HtmlInputText;
import javax.faces.component.html.HtmlCommandButton;
import javax.faces.component.html.HtmlPanelGroup;
public class CGLookup extends HtmlPanelGroup
    private HtmlInputText text1;
    private HtmlCommandButton btn1;
    private String key,valueText,id;
    private String width,valueChangeListener;
    private int maxLength;
    private boolean required;
    private static Class valueChangeListenerArgs[]= (new Class[] {javax.faces.event.ValueChangeEvent.class});
    public CGLookup()
        super();
        //this.setSeparator("");
        this.setStyle("width:198px;");
        text1= new HtmlInputText();
        text1.setStyle("width: 150px;");
        btn1 = new HtmlCommandButton();
       // btn1.setMini(true);
       // btn1.setStyle("width: 7px; height: 20px");
        btn1.setLabel("?");
        this.getChildren().add(text1);
        this.getChildren().add(btn1);
    public void setId(String id)
        super.setId(id);
        text1.setId(id+"_txt");
        btn1.setId(id+"_btn");
    public String getText()
        if(text1.getValue() !=null)
            return text1.getValue().toString().toUpperCase();
        return null;
    public void setText(String value)
        if(value!=null)
            text1.setValue(value.toUpperCase());
        else
            text1.setValue(null);
    public int getMaxLength()
        return text1.getMaxlength();
    public void setMaxLength(int value)
        text1.setMaxlength(value);
    public void setRequired(boolean value)
        text1.setRequired(value);
    public void setDisabled(boolean value)
            text1.setDisabled(value);
            btn1.setDisabled(value);
    public String getValueText()
        return valueText;
    public void setValueText(String value)
        valueText = value;
    public String getKey()
        return key;
    public void setKey(String value)
        key = value;
    public String getWidth()
        return width;
    public void setWidth(String value)
        width = value;  
        if (width != null)
            resize();
    public void resize()
        this.setStyle("width:"+width);
        int index = width.indexOf("px");
        String temp = width.substring(0, index);
        int _width = Integer.parseInt(temp);
        _width = _width -48;
        HtmlInputText t1 = (HtmlInputText) this.getChildren().get(0);
        t1.setStyle("width:"+ String.valueOf(_width)+"px");   
}my tag code is
package taglib;
import javax.faces.component.html.HtmlInputText;
import javax.faces.component.html.HtmlCommandButton;
import com.sun.rave.web.ui.el.ConstantMethodBinding;
import java.util.Map;
import javax.faces.application.Application;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.webapp.UIComponentTag;
public class CGLookupTag extends UIComponentTag
    /** Creates a new instance of CGLookupTag */
    public CGLookupTag() {
        block = null;
        separator = null;
        style = null;
        styleClass = null;
        visible = null;
        public String getComponentType()
        return "CGLookuptype";
    public String getRendererType()
        return "javax.faces.component.html.HtmlPanelGroup";
    public void release()
        super.release();
        block = null;
        separator = null;
        style = null;
        styleClass = null;
        visible = null;
    public void setRequired(String value)
    {        this.required = value;    }
      public String getText()
    {   return text;   }
    public void setText(String value)
    {        text = value;    }
    public String getValueText()
    {   return valueText;   }
    public void setValueText(String value)
    {        valueText = value;    }
    public String getKey()
    {   return key;   }
    public void setKey(String value)
    {        key = value;    }
      public String getAction()
    {   return action;   }
    public void setAction(String value)
    {        action = value;    }
      public String getvalueChangeListener()
    {   return valueChangeListener;   }
    public void setvalueChangeListener(String value)
    {        valueChangeListener = value;    }
     public String getWidth()
    {   return width;   }
    public void setWidth(String value)
    {        width = value;    }
     public void setMaxLength(String maxLength)
        this.maxLength = maxLength;
    protected void setProperties(UIComponent _component)
        super.setProperties(_component);
        if(block != null)
            if(isValueReference(block))
                javax.faces.el.ValueBinding _vb = getFacesContext().getApplication().createValueBinding(block);
                _component.setValueBinding("block", _vb);
            } else
                _component.getAttributes().put("block", Boolean.valueOf(block));
        if(separator != null)
            if(isValueReference(separator))
                javax.faces.el.ValueBinding _vb = getFacesContext().getApplication().createValueBinding(separator);
                _component.setValueBinding("separator", _vb);
            } else
                _component.getAttributes().put("separator", separator);
        if(style != null)
            if(isValueReference(style))
                javax.faces.el.ValueBinding _vb = getFacesContext().getApplication().createValueBinding(style);
                _component.setValueBinding("style", _vb);
            } else
                _component.getAttributes().put("style", style);
        if(styleClass != null)
            if(isValueReference(styleClass))
                javax.faces.el.ValueBinding _vb = getFacesContext().getApplication().createValueBinding(styleClass);
                _component.setValueBinding("styleClass", _vb);
            } else
                _component.getAttributes().put("styleClass", styleClass);
        if(visible != null)
            if(isValueReference(visible))
                javax.faces.el.ValueBinding _vb = getFacesContext().getApplication().createValueBinding(visible);
                _component.setValueBinding("visible", _vb);
            } else
                _component.getAttributes().put("visible", Boolean.valueOf(visible));
          if(action != null)
            if(isValueReference(action))
                javax.faces.el.MethodBinding _mb = getFacesContext().getApplication().createMethodBinding(action, actionArgs);
               HtmlCommandButton btn = (HtmlCommandButton) _component.getChildren().get(1) ;
                btn.getAttributes().put("action", _mb);
            } else
                javax.faces.el.MethodBinding _mb = new ConstantMethodBinding(action);
                 HtmlCommandButton btn = (HtmlCommandButton) _component.getChildren().get(1) ;
                 btn.getAttributes().put("action", _mb);
            if(required != null)
            if(isValueReference(required))
                javax.faces.el.ValueBinding _vb = getFacesContext().getApplication().createValueBinding(required);
                HtmlInputText txt = (HtmlInputText) _component.getChildren().get(0) ;
                txt.setValueBinding("required", _vb);
            } else
                HtmlInputText txt = (HtmlInputText) _component.getChildren().get(0) ;
                txt.getAttributes().put("required", Boolean.valueOf(required));
          if(text != null)
            if(isValueReference(text))
                javax.faces.el.ValueBinding _vb = getFacesContext().getApplication().createValueBinding(text);
                HtmlInputText txt = (HtmlInputText) _component.getChildren().get(0) ;
                txt.setValueBinding("text", _vb);
            } else
                HtmlInputText txt = (HtmlInputText) _component.getChildren().get(0) ;
                txt.getAttributes().put("text", text);
          if(key != null)
            if(isValueReference(key))
                javax.faces.el.ValueBinding _vb = getFacesContext().getApplication().createValueBinding(key);
                _component.setValueBinding("key", _vb);
            } else
                _component.getAttributes().put("key", key);
          if(valueText != null)
            if(isValueReference(valueText))
                javax.faces.el.ValueBinding _vb = getFacesContext().getApplication().createValueBinding(valueText);
                _component.setValueBinding("valueText", _vb);
            } else
                _component.getAttributes().put("valueText", valueText);
          if(valueChangeListener != null)
            if(isValueReference(valueChangeListener))
                javax.faces.el.MethodBinding _mb = getFacesContext().getApplication().createMethodBinding(valueChangeListener, valueChangeListenerArgs);
                HtmlInputText txt = (HtmlInputText) _component.getChildren().get(0) ;
                txt.getAttributes().put("valueChangeListener", _mb);
            } else
                throw new IllegalArgumentException(valueChangeListener);
          if(width != null)
            if(isValueReference(width))
                javax.faces.el.ValueBinding _vb = getFacesContext().getApplication().createValueBinding(width);
                _component.setValueBinding("width", _vb);
            } else
                _component.getAttributes().put("width", width);
            if(maxLength != null)
            if(isValueReference(maxLength))
                javax.faces.el.ValueBinding _vb = getFacesContext().getApplication().createValueBinding(maxLength);
                HtmlInputText txt = (HtmlInputText) _component.getChildren().get(0) ;
                txt.setValueBinding("maxLength", _vb);
            } else
                HtmlInputText txt = (HtmlInputText) _component.getChildren().get(0) ;
                txt.getAttributes().put("maxLength", Integer.valueOf(maxLength));
    public void setBlock(String block)
        this.block = block;
    public void setSeparator(String separator)
        this.separator = separator;
    public void setStyle(String style)
        this.style = style;
    public void setStyleClass(String styleClass)
        this.styleClass = styleClass;
    public void setVisible(String visible)
        this.visible = visible;
    static Class _mthclass$(String x0)
        try
        {return Class.forName(x0);}
        catch (ClassNotFoundException x1)
        {throw new NoClassDefFoundError(x1.getMessage());}
    private String block;
    private String separator;
    private String style;
    private String styleClass;
    private String visible;
    private static Class actionArgs[] = new Class[0];
    private static Class actionListenerArgs[];
    private static Class validatorArgs[];
    private static Class valueChangeListenerArgs[];
    private String text,valueText,key,required;
    private String action,valueChangeListener;
    private String width,maxLength;
    static
        actionListenerArgs = (new Class[] {
            javax.faces.event.ActionEvent.class
        validatorArgs = (new Class[] {
            javax.faces.context.FacesContext.class, javax.faces.component.UIComponent.class, java.lang.Object.class
        valueChangeListenerArgs = (new Class[] {
            javax.faces.event.ValueChangeEvent.class
}the component type CGLookuptype refers to first code. in jsf 1.2 UIComponentTag says it is deprecated. what should i use instead of it.

Similar Messages

  • Building JSF 1.2 Custom Components with EL and standard components

    Hi all,
    I have built custom components in jsf 1.1 with great success but i am finding replicating the same functionality in jsf 1.2 very difficult. I have some conditions for my new custom component.
    - Using jsf 1.2
    - Must use unified EL, i am using a UIComponentELTag
    - iam using jsf standard html components from javax.faces.component.html here in particular i wont HtmlCommandLink.
    Essentially i am constructing a real time command menu. I have a backing bean from which i get command names and descriptions values. I wont to then in real time construct a table of links (using HtmlCommandLink) - all this work is to be processed by a custom component. Basically the commandLink issues a command in my backing bean, a parameter (param) is passed with the commandLink, this is later picked up in the backing bean method.
    I can generate the table, and all the HtmlCommandLinks, i have simply looped throught and encoded each of them.
    What i can do: i can see the table and the HtmlCommandLinks, but the links dont perform any action when i press them.
    What i want help with:
    I want to encode a HtmlCommandLink in my custom component with a param, traditionally i would set the action but this is now deprecated, and i need to use the setActionExpression method. I have tried to do this but the actions are note fired its simply doesnt function.
    Note:
    In jsf 1.1 I use to loop through all the HtmlCommandLink and peform their processDecodes method within my custom components very own processDecodes. The same in jsf 1.2 doesnt seem to yield any results.
    Can someone give be an example or solution to this? I have read articles on the net and they seem to all discuss jsf 1.1 which i have done and it works, but i am using unifed EL and jsf 1.2 now.
    Many Thanks,
    Kev

    Hi all,
    I have built custom components in jsf 1.1 with great success but i am finding replicating the same functionality in jsf 1.2 very difficult. I have some conditions for my new custom component.
    - Using jsf 1.2
    - Must use unified EL, i am using a UIComponentELTag
    - iam using jsf standard html components from javax.faces.component.html here in particular i wont HtmlCommandLink.
    Essentially i am constructing a real time command menu. I have a backing bean from which i get command names and descriptions values. I wont to then in real time construct a table of links (using HtmlCommandLink) - all this work is to be processed by a custom component. Basically the commandLink issues a command in my backing bean, a parameter (param) is passed with the commandLink, this is later picked up in the backing bean method.
    I can generate the table, and all the HtmlCommandLinks, i have simply looped throught and encoded each of them.
    What i can do: i can see the table and the HtmlCommandLinks, but the links dont perform any action when i press them.
    What i want help with:
    I want to encode a HtmlCommandLink in my custom component with a param, traditionally i would set the action but this is now deprecated, and i need to use the setActionExpression method. I have tried to do this but the actions are note fired its simply doesnt function.
    Note:
    In jsf 1.1 I use to loop through all the HtmlCommandLink and peform their processDecodes method within my custom components very own processDecodes. The same in jsf 1.2 doesnt seem to yield any results.
    Can someone give be an example or solution to this? I have read articles on the net and they seem to all discuss jsf 1.1 which i have done and it works, but i am using unifed EL and jsf 1.2 now.
    Many Thanks,
    Kev

  • Can I write Design-time for JSP custom tag(not JSF components)

    I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
    Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
    How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
    the Exception is shown as follow:
    java.lang.ClassCastException
         at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
    [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
         at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
         at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
         at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
         at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
         at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
         at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
         at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
         at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
         at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
         at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
         at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
         at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
         at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
         at com.sun.rave.text.Document$5.run(Document.java:631)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

    I have some old JSP custom tags(not JSF components), and I want to use them in the IDE through the toolbox.
    Now I have already written the BeanInfos for these tags, and they can be drag from the toolbox; but it will throw a Exception when render the tags, and the properties in the Property Editor are not which I describe in the BeanInfos.
    How can I write Design-time for these tags? or whether it is possible to write the Design-time for these tags?
    the Exception is shown as follow:
    java.lang.ClassCastException
         at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1347)
    [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1086)
         at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:993)
         at com.sun.rave.css2.FacesSupport.getFacesHtml(FacesSupport.java:152)
         at com.sun.rave.css2.CssContainerBox.addNode(CssContainerBox.java:373)
         at com.sun.rave.css2.CssContainerBox.createChildren(CssContainerBox.java:354)
         at com.sun.rave.css2.DocumentBox.createChildren(DocumentBox.java:90)
         at com.sun.rave.css2.DocumentBox.relayout(DocumentBox.java:160)
         at com.sun.rave.css2.PageBox.layout(PageBox.java:392)
         at com.sun.rave.css2.PageBox.relayout(PageBox.java:454)
         at com.sun.rave.css2.DocumentBox.redoLayout(DocumentBox.java:313)
         at com.sun.rave.css2.PageBox.redoLayout(PageBox.java:460)
         at com.sun.rave.css2.DocumentBox.changed(DocumentBox.java:634)
         at com.sun.rave.designer.DesignerPaneUI$UpdateHandler.changedUpdate(DesignerPaneUI.java:1012)
         at com.sun.rave.text.Document.fireChangedUpdate(Document.java:851)
         at com.sun.rave.text.Document$5.run(Document.java:631)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • Generating a clientId for Custom Components

    I am creating a custom component that will be made up of smaller form elements and maybe even smaller custom components. Does JSF provide the mechanism for generating the clientId for each of these components and thier sub-components.
    What I don't want to do is this:
    writer.writeAttribute("name", clientId + "_id" + subComponentCounter++);
    ...

    I got that part. But what if your component has sub-components. Do you just name them whatever you want? I know that you could. But what if they are dynamically generated? And what if your sub-components have sub-components.
    So for example:
    Custom Control: Shipping Form
    |_Custom Control: Name Form
    | |_TextBox: First Name
    | |_TextBox: Last Name
    |_Custom Control: Address Form
    |_TextBox: Street
    |_TextBox: City
    |_TextBox: State
    |_TextBox: Postal Code

  • What do I need to create Flex custom components for Xcelsius 2008 SP3?

    Hello, and thanks for your time. 
    I have recently been roped into creating some custom components in Flex 3 for use in Xcelsius 2008 SP3.  I can create custom components in Flex, but I have no idea how to get them into Xcelsius. 
    I have begun my own research into everything I am going to need, but I am hoping someone out there who has done this can provide a user-friendly itemized list of all the parts that are needed to accomplish this task.  I want to make sure I do not miss anything.
    Thanks for any insight you may be able to provide.
    What I have so far:
    Flex Builder 3
    Xcelsius Engage Server 5.3 (2008)
    What I think I need:
    Xcelsius 2008 component SDK
    Cheers!
    Edited by: midasxl on May 5, 2011 6:11 PM

    Hi Manisha,
    Even we have a requirement to create doughnut chart in flex and need to add it in xcelisus.I can bulid that in flex and it is working with static data.Please provide me the sample code of how to pass dynamic data from xcelsius excel to this chart and how to create properties file for this chart.I have looked at horizantal slider example but that doesn't help much.
    Thanks in Advance.
    Regards,
    Karthik

  • How to create a new custom tag in JSF 1.2

    Hi there,
    In JSF 1.2, all the classes (CommandButtonTag, CommandLinkTag, DataTableTag,...) in package com.sun.faces.taglib.html_basic are defined as final class. In JSF 1.1, we can create a custom tag that extends the tag in JSF taglib; it save us lots of time.
    Could anybody know how to create a new custom tag in JSF 1.2?
    Many thanks,
    Emily

    If I recall, it was done because how tags were to be handled in 1.2 was very different from 1.1 and it was felt that developers shouldn't rely on implementation specific classes (unless they were SPI) for several other reasons (application portability being the big one here).
    If it's felt that this was the wrong decision, please feel free to log an issue [1] against the RI (to date, no one has).
    As to the 'borked' dependency URLs, please log an issue [1] if you find these. We have nightly builds going that work from a clean workspace and checking today's result, it seems ok.
    [1] https://javaserverfaces.dev.java.net/issues

  • Building reusable components

    I've built a few classes that extend from UIComponent, These
    components do some custom drawing in updateDisplayList and properly
    implement the measure method.
    When I give the class to others to use, it shows up in their
    toolbox in the designer, but when they drag it into a container, it
    is sized 0x0 by default and never draws itself. How do I give it a
    default size that is not 0x0 and how do I make it paint itself in
    the designer?
    Looking back at the forums, I see a few other people have had
    this question but they never got an answer. So please, if you from
    Adobe and know what the answer is, even if the answer is "its not
    possible", please answer the question.
    Thanks,
    Robert Temple
    Sr. Director Advanced Development
    ESPN.com

    I think the way custom components are displayed in the design
    view has been improved in Flex Builder 3. Maybe download the beta
    and have a look. I'm not sure to be honest, but I seem to remember
    this being talked about.
    cheers
    glenn

  • Declaratice Custom Componente - leading zeros

    Hello,
    i'm currently building some custom components in JDev 11.1.2.3.0. Now sometimes it happens that some input fields are displaying 4 digits and they must display leading zeros, if those values are smaler than 4 digits.
    I've tried it via the convertNumber component, it is displaying a single 0 if i give the pattern 0000 and those input fields are empty, but i could input some values with less than 4 digits and the required leading zero is gone.
    So, how is the corect behaviour with always leading zeros for less than 4 digits achieved?
    Thanks and best regards.
    Alex

    Frank Nimphius wrote:
    Hi,
    numbers are not showing leading numbers.Converting numbers into Strings thus is the way to go.
    FrankBut where could i define the format for the string?

  • Cannot get facelets custom components to work

    Hi,
    I'm switching to facelets but I fail to get my custom components to work. I hope any of you can help me point out what is going wrong. My component is built into a seperate jar file:
    package be.xxx.web.tag;
    import java.io.IOException;
    import javax.faces.component.UIOutput;
    import javax.faces.context.FacesContext;
    import javax.faces.context.ResponseWriter;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    public class IfTag extends UIOutput {
         public IfTag() {
              super();
              Log log = LogFactory.getLog(IfTag.class);
              log.debug("THIS IS THE IFTAG FACELETS IMPLEMENTATION");
              setRendererType(null);
         public boolean getRendersChildren() {
              return true;
         @Override
         public void encodeBegin(FacesContext facesContext) throws IOException {
              // We're rendering a table row
              facesContext.getResponseWriter().startElement("span", null);
         @Override
         public void encodeChildren(FacesContext facesContext) throws IOException {
              ResponseWriter writer = facesContext.getResponseWriter();
              writer.append("This if the IF tag");
         @Override
         public void encodeEnd(FacesContext facesContext) throws IOException {
              facesContext.getResponseWriter().endElement("span");
         @Override
         public String getFamily() {
              return COMPONENT_TYPE;
    }The taglib file in META-INF of the jar file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE facelet-taglib PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN" "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
    <facelet-taglib>
         <namespace>http://www.xxx.be/jsf/mw</namespace>
         <tag>
              <tag-name>menu</tag-name>
              <component>
                   <component-type>be.xxx.web.Menu</component-type>
              </component>
         </tag>
         <tag>
              <tag-name>if</tag-name>
              <component>
                   <component-type>be.xxx.web.If</component-type>
              </component>
         </tag>
    </facelet-taglib>Also in META-INF of the same jar, a faces-config.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
                  version="1.2">
      <component>
        <component-type>be.xxx.web.Menu</component-type>
        <component-class>be.xxx.web.tag.MenuTag</component-class>
      </component>
      <component>
        <component-type>be.xxx.web.If</component-type>
        <component-class>be.xxx.web.tag.IfTag</component-class>
      </component>
    </faces-config>Finally, in the main project where the jar with above files is used, I try to call a custom tag:
    <html xmlns="http://www.w3.org/1999/xhtml"
         xmlns:mw="http://www.xxx.be/jsf/mw"
         xmlns:ui="http://java.sun.com/jsf/facelets">
    <mw:if></mw:if>
    </html>The result is that the if tag just writed out nothing, so "<mw:if></mw:if>" in the output just becomes "".
    I haven't found a way to debug this either (as in: I don't think the java code is even executed), so any tips would be greatly appreciated!
    Thanks

    Looks like I posted the wrong class. Here is the problematic one:
    public class MenuTag extends FacesBean implements BodyTag {
         private transient PageContext pc = null;
         private transient Tag parent = null;
         private transient BodyContent bodyContent;
         public void setPageContext(PageContext p) {
              pc = p;
         public void setParent(Tag t) {
              parent = t;
         public Tag getParent() {
              return parent;
         public int doStartTag() throws JspException {
              String url = null;
              try {
                   WebSession ws = (WebSession) getBean("ws");
                   if (ws.isLoggedIn()) {
                        // Get the value of the applicable menu rule
                        url = ws.getPolicy().getMenu();
                        if (url != null && !"".equals(url)) {
                             // Some logic to get correct file
                             String inputLine;
                             while ((inputLine = in.readLine()) != null)
                                  pc.getOut().write(inputLine);
                             in.close();
                             // We printed the menu, so skip the default menu
                             // that is in this tag's body.
                             return SKIP_BODY;
                   } else {
                        getLog().info("The user is not logged in, reverting to default menu.");
              } catch (FileNotFoundException ex) {
                   getLog().warn("Menu file not found (" + url + "), reverting to default menu.");
              } catch (Exception ex) {
                   throw new JspTagException("Error when applying the menu rule.", ex);
              return EVAL_BODY_BUFFERED;
         public int doEndTag() throws JspException {
              try {
                   if (bodyContent != null) {
                        bodyContent.writeOut(bodyContent.getEnclosingWriter());
              } catch (IOException e) {
                   throw new JspException("Error: " + e.getMessage());
              return EVAL_PAGE;
         public void release() {
              pc = null;
              parent = null;
         private String resolveServerUrl() {
              HttpServletRequest req = (HttpServletRequest) FacesContext
                        .getCurrentInstance().getExternalContext().getRequest();
              String url = req.getScheme() + "://" + req.getServerName();
              if (req.getServerPort() != 80) {
                   url += ":" + req.getServerPort();
              return url;
         public void doInitBody() throws JspException {
         public void setBodyContent(BodyContent bc) {
              bodyContent = bc;
         public int doAfterBody() throws JspException {
              return 0;
    }So, problem is that this is not working in facelets as a component, while it did in JSP's.
    Can I get any hints what I am doing wrong here?
    Thanks

  • Ques: Adding custom components

    There are lots of great custom components being developed by
    the community. How do I add them to FlexBuilder so they can be
    selected at design time?

    Project-->Properties-->Flex Build Path-->Library
    Path-->Add SWC ...
    You will see the component listed in the Custom Tree folder
    at the top of the Components View Pane. This will only be visible
    in design view.

  • Issue with SSIS Custom Components - 64 bit SQL 2012

    Hello All,
    Our SSIS packages built on SQL 2008 R2 make use of some custom components. These custom components are installed as part of an MSI. The dll's are copied over to the Windows/assemble [GAC Folder] and also to the Program Files(x86)/SQL Server/110/DTS/* folder.
    The installation does not copy the dll's to the 64 bit program files folder.
    X:\Program Files\Microsoft SQL Server\110\DTS
    These packages are executed via SQL Agent jobs on a 64 bit SQL server and there does not seem be any issue.
    Now we are upgrading our servers to SQL 2012 and we have a new installer for the custom components as well. The new custom components use .NET Framework 4.0 and when installed the dll files get copied over to the Ms.NET 32 bit runtime GAC folder and also
    to the SQL Server DTS Folder in x86. The upgraded packages work only when we set the runtime mode to 32 bit. The packages successfully executes within the 32 bit dtexec utility, but when we try to run the same package using a 64 bit dtexec utility the
    process errors out with a component failed to load message. The package moves data between two SQL Server instances.
    The custom components have always been built for 32 bit runtime. I can run a older package through the dtexec utility (from the 64 bit folder in program files) and it does work without any issues. After the upgrade the package will only execute on
    a 32 bit utility. can someone help me understand this issue?
    Regards, Dinesh

    Thank you Arthur.
    i think we got the answer as well, as the .NET framework 3.0 installer copied the files over to the C:\windows assembly the dtexec utility [32 bit/64 bit] was able to load the components.
    Now with the new installer the files are copied to specific runtime gac folders as Arthur has mentioned. The 64  bit  utility does not find the dlls in the GAC whereas the 32 bit version will find them.
    Regards, Dinesh

  • How To create a custom tag in jsf

    I'm trying to create a custom tag in jsf.what should be the approach to create it.it would be better if somebody will explain me from the skretch.

    There's a decent tutorial here, Priyo:
    http://www.exadel.com/tutorial/jsf/HowToWriteYourOwnJSFComponents.pdf
    Hope it helps,
    Illu

  • Error while accessing application with custom components

    Hi experts,
    I have an application (HAP_MAIN_DOCUMENT) of component FPM_OIF_COMPONENT which uses a Webdynpro component with the same name (HAP_MAIN_DOCUMENT). This Webdynpro component (HAP_MAIN_DOCUMENT) uses 2 other components (HAP_DOCUMENT_BODY and HAP_DOCUMENT_HEADER).
    For my client requirement, i need to create the custom components by copying from standard components as the UI layout changes are quiet huge and not manageable with the enhancements. To accomodate this i have changed the standard configurations by replacing the standard web dynpro components with the custom ones copied. Apart fomr this there are no changes to the standard.
    While trying to access the application, i am getting the error as Null object reference. the details of the error is as below. Please advice.
    Portal Error
    Error when processing your request
    What has happened?
    The URL http://ddrsap12.dubal.domain:8001/sap/bc/webdynpro/sap/HAP_MAIN_DOCUMENT/ was not called due to an error.
    Note
    The following error text was processed in the system DSD : Access via 'NULL' object reference not possible.
    The error occurred on the application server ddrsap12_DSD_01 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: WDDOINIT of program /1BCWDY/LUR96POELQNL3TIUWPYS==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/LUR96POELQNL3TIUWPYS==CP
    Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP
    Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
    Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
    Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
    Method: INIT of program CL_WDR_VIEW_MANAGER===========CP
    Method: INIT_CONTROLLER of program CL_WDR_INTERFACE_VIEW=========CP
    ST22 Dump Analysis
    Short text
        Access via 'NULL' object reference not possible.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Information on where terminated
        Termination occurred in the ABAP program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP" -
         in "WDDOINIT".
        The main program was "SAPMHTTP ".
        In the source code you have the termination point in line 4640
        of the (Include) program "/1BCWDY/B_LUXVEOR5WUW66V6QRRNU".
        Termination occurred in a Web Dynpro application
          Web Dynpro Component          ZWD_HAP_DOCUMENT_HEADER
          Web Dynpro Controller         VW_HEADER_MAIN
        The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
        procedure "WDDOINIT" "(METHOD)", but it was neither handled locally nor
         declared
        in the RAISING clause of its signature.
        The procedure is in program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP "; its source
         code begins in line
        4619 of the (Include program "/1BCWDY/B_LUXVEOR5WUW66V6QRRNU ".
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
          Name
       33 METHOD       /1BCWDY/LUR96POELQNL3TIUWPYS==CP    /1BCWDY/B_LUXVEOR5WUW66V6QRRNU       4640
          CL_VW_HEADER_MAIN_CTR=>WDDOINIT
          Web Dynpro Component          ZWD_HAP_DOCUMENT_HEADER
          Web Dynpro Controller         VW_HEADER_MAIN
       32 METHOD       /1BCWDY/LUR96POELQNL3TIUWPYS==CP    /1BCWDY/B_LUXVEOR5WUW66V6QRRNU         70
          CLF_VW_HEADER_MAIN_CTR=>IF_WDR_VIEW_DELEGATE~WD_DO_INIT
          Web Dynpro Component          ZWD_HAP_DOCUMENT_HEADER
          Web Dynpro Controller         VW_HEADER_MAIN
       31 METHOD       CL_WDR_DELEGATING_VIEW========CP    CL_WDR_DELEGATING_VIEW========CM003     3
          CL_WDR_DELEGATING_VIEW=>DO_INIT
       30 METHOD       CL_WDR_CONTROLLER=============CP    CL_WDR_CONTROLLER=============CM00Q     3
          CL_WDR_CONTROLLER=>INIT_CONTROLLER
       29 METHOD       CL_WDR_VIEW===================CP    CL_WDR_VIEW===================CM00K     5
          CL_WDR_VIEW=>INIT_CONTROLLER
       28 METHOD       CL_WDR_CONTROLLER=============CP    CL_WDR_CONTROLLER=============CM002     7
          CL_WDR_CONTROLLER=>INIT
       27 METHOD       CL_WDR_VIEW_MANAGER===========CP    CL_WDR_VIEW_MANAGER===========CM008    70
          CL_WDR_VIEW_MANAGER=>GET_VIEW
       26 METHOD       CL_WDR_VIEW_MANAGER===========CP    CL_WDR_VIEW_MANAGER===========CM005    23
          CL_WDR_VIEW_MANAGER=>BIND_ROOT
       25 METHOD       CL_WDR_VIEW_MANAGER===========CP    CL_WDR_VIEW_MANAGER===========CM00B    17
          CL_WDR_VIEW_MANAGER=>INIT
       24 METHOD       CL_WDR_INTERFACE_VIEW=========CP    CL_WDR_INTERFACE_VIEW=========CM004    11
          CL_WDR_INTERFACE_VIEW=>INIT_CONTROLLER
       23 METHOD       CL_WDR_CONTROLLER=============CP    CL_WDR_CONTROLLER=============CM002     7
          CL_WDR_CONTROLLER=>INIT
       22 METHOD       CL_WDR_VIEW_MANAGER===========CP    CL_WDR_VIEW_MANAGER===========CM008    70
          CL_WDR_VIEW_MANAGER=>GET_VIEW
    Thanks in advance,
    Regards,
    Ravi.

    Hi ,
    How are you able to configure Custom Web dynpro application to Appraisal document instead of HAP_MAIN_DOCUMENT. could you please share the steps. We have created custom application a copy of HAP_MAIN_DOCUMENT and the other two webdynpro components are also copied.
    We dont know how to link this to Appraisal template. BADI HRHAP00_BSP_TMPL is used to change application names for BSP application. How to change application name for Web dynpro ABAP. Please share the stpes which will help us
    Thanks and Regards,
    Kothand

  • Error while accessing application with the custom components

    Hi experts,
    I have an application (HAP_MAIN_DOCUMENT) of component FPM_OIF_COMPONENT which uses a Webdynpro component with the same name (HAP_MAIN_DOCUMENT). This Webdynpro component (HAP_MAIN_DOCUMENT) uses 2 other components (HAP_DOCUMENT_BODY and HAP_DOCUMENT_HEADER). For my client requirement, i need to create the custom components by copying from standard components as the UI layout changes are quiet huge and not manageable with the enhancements. To accomodate this i have changed the standard configurations by replacing the standard web dynpro components with the custom ones copied. Apart fomr this there are no changes to the standard.
    While trying to access the application, i am getting the error as Null object reference.
    the details of the error is as below. Please advice.
    Heading 1: h1. P:ortal Error
    The URL http://******************/sap/bc/webdynpro/sap/HAP_MAIN_DOCUMENT/ was not called due to an error.
    Note
    The following error text was processed in the system DSD : Access via 'NULL' object reference not possible.
    The error occurred on the application server ddrsap12_DSD_01 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: WDDOINIT of program /1BCWDY/LUR96POELQNL3TIUWPYS==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/LUR96POELQNL3TIUWPYS==CP
    Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP
    Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
    Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
    Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
    Method: INIT of program CL_WDR_VIEW_MANAGER===========CP
    Method: INIT_CONTROLLER of program CL_WDR_INTERFACE_VIEW=========CP
    Heading 2: h2. ST22 - Dump Analysis
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
         caught in
        procedure "WDDOINIT" "(METHOD)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        You attempted to use a 'NULL' object reference (points to 'nothing')
        access a component.
        An object reference must point to an object (an instance of a class)
        before it can be used to access components.
        Either the reference was never set or it was set to 'NULL' using the
        CLEAR statement.
    Information on where terminated
        Termination occurred in the ABAP program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP" -
         in "WDDOINIT".
        The main program was "SAPMHTTP ".
        In the source code you have the termination point in line 4640
        of the (Include) program "/1BCWDY/B_LUXVEOR5WUW66V6QRRNU".
        Termination occurred in a Web Dynpro application
          Web Dynpro Component          ZWD_HAP_DOCUMENT_HEADER
          Web Dynpro Controller         VW_HEADER_MAIN
        The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
        procedure "WDDOINIT" "(METHOD)", but it was neither handled locally nor
         declared
        in the RAISING clause of its signature.
        The procedure is in program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP "; its source
         code begins in line
        4619 of the (Include program "/1BCWDY/B_LUXVEOR5WUW66V6QRRNU ".
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
          Name
       33 METHOD       /1BCWDY/LUR96POELQNL3TIUWPYS==CP    /1BCWDY/B_LUXVEOR5WUW66V6QRRNU       4640
          CL_VW_HEADER_MAIN_CTR=>WDDOINIT
          Web Dynpro Component          ZWD_HAP_DOCUMENT_HEADER
          Web Dynpro Controller         VW_HEADER_MAIN
       32 METHOD       /1BCWDY/LUR96POELQNL3TIUWPYS==CP    /1BCWDY/B_LUXVEOR5WUW66V6QRRNU         70
          CLF_VW_HEADER_MAIN_CTR=>IF_WDR_VIEW_DELEGATE~WD_DO_INIT
          Web Dynpro Component          ZWD_HAP_DOCUMENT_HEADER
          Web Dynpro Controller         VW_HEADER_MAIN
       31 METHOD       CL_WDR_DELEGATING_VIEW========CP    CL_WDR_DELEGATING_VIEW========CM003     3
          CL_WDR_DELEGATING_VIEW=>DO_INIT
       30 METHOD       CL_WDR_CONTROLLER=============CP    CL_WDR_CONTROLLER=============CM00Q     3
          CL_WDR_CONTROLLER=>INIT_CONTROLLER
       29 METHOD       CL_WDR_VIEW===================CP    CL_WDR_VIEW===================CM00K     5
          CL_WDR_VIEW=>INIT_CONTROLLER
       28 METHOD       CL_WDR_CONTROLLER=============CP    CL_WDR_CONTROLLER=============CM002     7
          CL_WDR_CONTROLLER=>INIT
       27 METHOD       CL_WDR_VIEW_MANAGER===========CP    CL_WDR_VIEW_MANAGER===========CM008    70
          CL_WDR_VIEW_MANAGER=>GET_VIEW
       26 METHOD       CL_WDR_VIEW_MANAGER===========CP    CL_WDR_VIEW_MANAGER===========CM005    23
          CL_WDR_VIEW_MANAGER=>BIND_ROOT
       25 METHOD       CL_WDR_VIEW_MANAGER===========CP    CL_WDR_VIEW_MANAGER===========CM00B    17
          CL_WDR_VIEW_MANAGER=>INIT
       24 METHOD       CL_WDR_INTERFACE_VIEW=========CP    CL_WDR_INTERFACE_VIEW=========CM004    11
          CL_WDR_INTERFACE_VIEW=>INIT_CONTROLLER
       23 METHOD       CL_WDR_CONTROLLER=============CP    CL_WDR_CONTROLLER=============CM002     7
          CL_WDR_CONTROLLER=>INIT
       22 METHOD       CL_WDR_VIEW_MANAGER===========CP    CL_WDR_VIEW_MANAGER===========CM008    70
          CL_WDR_VIEW_MANAGER=>GET_VIEW
    Thanks In advance,
    Regards,
    Ravi.

    Hi, I'm closing this thread and opening the same in another as the content got pasted in reader un friendly format and i'm unable to change the format.
    Thanks,
    Ravi.

  • Component Panel ( Design mode) loosing custom components

    Wonder if anyone else encounter this phenomenon?
    After placing custom Flash components ( compiled intoa SWC
    file) in the project's <Libs> directory, they are available
    and working in Source mode, but you can't see them in the custom
    Folder (In the Design Mode). Only after closing and opening the
    project they appear.
    However, they keep disappearing ( randomly) from the folder,
    and only after Open/Close project they reappear. Other custom
    components such as MXML modules behave ok.
    As far as the application these components work fine and are
    recognized by the compiler.
    I'm using Stand Alone, FB3 version 1201207; on WXP Sp2.
    ( Reported this as a bug
    http://bugs.adobe.com/jira/browse/FB-11554
    Did anyone else experienced this (similar) behavior ?

    Same problem here. Except I have even less luck getting it to
    consistently appear than you. Sometimes it works great, other times
    they vanish and nothing I can do to get them to return. MXML
    modules seem fine.. it's just with the Flash SWC files. Plus
    sometimes I have no visual indication in design view of the Flash
    module on my canvas, and other times it displays. (This is with no
    changes to the SWC file at all). But it always runs okay.

Maybe you are looking for

  • Ifs-21030 Database operation timed out

    Hi, We have installed cmsdk 9.0.4.2.2 with oas10g 10.1.2.0.2. The application runs fine, but sometimes we got the following error: [AJPRequestHandler-ApplicationServerThread-6] ERROR cmsdk.CmsdkUtil - Error with gettting document oracle.ifs.common.If

  • Can't update my iPhone 3GS

    My iPhone 3GS is version 4.2.1 when I try to update it to the newest version it says the device isn't eligible for the requested version. It has never been jailbroken. I am afraid to restore it because it can pop up the same error and I won't be able

  • Cd/DVD drive not listed anywhere.

    I do not have the dvd/cd drive listed in the device manager. the drive spools up and acts like it is reading.

  • Can I put the original JPEGs on DVD with slideshow

    I have built a slideshow but I'd like to have the original JPEGs available on the DVD also. Can I do this within Encore ? I have a memory of reading it's possible but I can't find the reference and am wondering if I'm maybe mixing up with Premier. Th

  • Can I use Incredimail on macbook pro?

    I have always used "Incredimail" on my PC and I love it, but I don't know if my new Macbook will be compatible.  Anybody out there use Incredimail?