About custom components...

Hello everybody (and sorry for my bad english ( it could be my sign on sun forums :) ) )
I am actually working on my custom JSF components. I can't understand the interest of the saveState and restoreState functions on a class extending UIComponentBase.
I have readen things about this (and even on this forum), but without result. Effectively, it is generally said that it allows to save and restore the state of a component!!! Don't help a lot :) .
What state are we speaking about:
attributes of a component between two requests for the same user? (but it is generally the backing bean that contains informations needed for a component, no?). i can admit some component attributes have to be saved, but in this case, I don't understad exactly the meaning of the following code:
public Object saveState(FacesContext context) {
  Object values[] = new Object[2];
  values[0] = super.saveState(context);
  values[1] = this.attribute;
return values;
public void restoreState(FacesContext context, Object state) {
  Object values[] = (Object[]) state;
  super.restoreState(context, values[0]);
  this.attribute = (Integer)values[1];
}More particularly, if you save the state of the current object by calling super.saveState, what is the goal of values[1]. Why don't do in restore state:
public Object saveState(FacesContext context){
  return super.saveState(context);
public void restoreState(FacesContext context, Object state){
  CurrentClassExtendingUIComponentBase object= (CurrentClassExtendingUIComponentBase) state;
  super.restoreState( context, object);
  this.attribute= object.getAttribute();
} I am not really sure of what happens with these methods,
Thank you by advance.

Finally, by reading the sources, I can see that UIComponentBase does the same thing in its saveState method and put its attributes in an object array.

Similar Messages

  • Quick question about custom Components and Panels

    Okay, so here is the situation.
    I created a custom component that overrides paintComponent. All this component does is draw a diagonal line.
    If I add this component directly to a JFrame it displays fine.
    The issue: I made a custom JPanel that at the moment only contains this component. If I add it to the JPanel then add that to the JFrame, it only displays a dot.
    Any suggestions?

    Layout issue. The intermediate JPanel has a default FlowLayout manager which shows its child components at their preferredSizes. These sizes are computed by the layout manager in the process of laying out the children. When there are no children the size reported to the parent is the default size which for JPanel is (10, 10). You can change the layout manager for the intermediate panel or specify a preferredSize for the graphic component in one of two ways:
    1 - use the setPreferreSize method
    2 override the getPreferredSize method in the class:
    class Pseudo extends Jpanel {
        protected void paintComponent(Graphics g) {
            // custom drawing...
        public Dimension getPreferredSize() {
            return new Dimension(desiredWidth, height);
    }

  • Customs components are not updated on the scene

    Hello!
    i am working on a simple component, it is a movie clip.
    On each frames I have a label and an icon.
    In the component properties I set up a list where every itemshas the same title as the frames's labels.
    With this component I can set any icon I want by selecting it in the list.
    This is working fine and I am pretty happy about it.
    The Problem:
    If I change the name of one item in the list, add one or even reorder the list, the changes are not applied on all the components presents on the scene.
    and I have more or less 50 of thoses components in my scene...
    Is there a way to have the components updated ? Or at least update manually all the "old" components?
    this issue occure with Flash CS5 and CS6 all my doccuments are made in AS3.
    thanks a lot !

    Hello guys,
    Does anybody have the same issue with customs components?

  • Subcontracting Flow with Customer Components

    Hi experts,
    I have tricky scenario in our project, that maybe you can help me to solve.The scenario is the following:
    1) Customer X, ask for Material 1
    2) Material 1, is produced by Vendor Y (Subcontractor).
    3) Material 1, has as component Material 2 and Material 3
    4) Material 2, is provided by another vendor Z.
    5) Material 3 is provided by Customer X, Free of Charge.
    6) Components are then sent to Subcontractor.
    This whole process is supported by Scheduling Agreements, which means, that we run MPS and MRP, and from Customer Demand, we get the information about how much we need from Vendor Y (for finished goods), Vendor Z for Material 2, and Customer X (also a Vendor) for Material 3.
    The stock of Material 3 should be non-valuated, since is not our property, but we are legally responsible for it (if pieces are lost, we have to pay the customer).
    The issue we have right now, is that, in order to have this requirement we had to setlle a Scheduling Agreement with 0,01 price...for Customer, when actually there is no price at all.
    We need to:
    1 - Manage Inventory of Customer Components
    2 - This Stock must be unvaluated
    3 - We need to plan how much of components need from Customer
    4 - We need a Free of Charge Order/Schedluling Agreement in order not to have a 0,01 residual value
    Did you have a similar situationbefore? How did you solve it? We thought in have a Vendor consigment, but anyway, we should pay when consuming the materials....and it is the same issue..
    I hope you can help me....Thank you very much in advace!
    Best Regards,
    Lucas

    Hi,
    1. Define your customer materials (both component and finished product) as non valuated material, because these materials not effecting the our inventory.
    2. create Bom for finished product.
    3. Create sales order for service charges with reference to your customer PO.
    4. Receive the component from your customer through 501 E (with out po sales order specific).
    5. Create Production order with reference to sales order through MRP or manual.
    6. confirm the production order and receive the
    finished product.
    7. Delivery to customer as in normal sales process.
    8. Then create performa invoice or billing to your customer.
    You can follow the above process, if have any further quarry please let me know.
    Subrahmanayam

  • Handling exception in custom components

    Hello,
    Is there any info about handling exceptions in custom components? I would like to expose some exceptions to the Livecycle process.
    Thank you

    I have faced this situation for a while and found solution.
    1.Create your custom Exception say (custom exception)
    2. Set the properties like errorcode,errormessage, and throwable (if u want to bubble up the exceptions).
    3. Create a custom object to hold the results (i.e like a java bean)
    4. In your custom component methods just return the custom object and set exception as a property.
    for e.g.
    public class CustomReturn {
    private String result;
    private CustomException exception;
    //getters & setters
    public class CustomException {
    private int errorCode = -1;
    private String errorMessage;
    private Throwable error;
    //getters & setters
    public class CustomClass {
    public CustomReturn testValue() {
    CustomReturn returnValue = new CustomReturn();
    try {
    //perform operations
    catch(Exception ex) {
    CustomException cex = new CustomException ();
    cex .setErrorCode(1000);
    cex .setErrorMessage(ex.getMessage());
    cex .setErr(ex);
    returnValue .setException(cex);
    return returnValue;
    return returnValue;
    As you see , you can check for the exception in your return type using the bean property.
    This will overcome the limitation of not able to retrieve the error stack incase of errors with default livecycle components.
    Hope this helps.
    -Senthil

  • Creating custom components in CS3

    Can anyone here point me to a place to look to learn how to
    make custom components in CS3? I found only two tutorials on it on
    the entire internet - FlashBrighton and a SWC version posted by
    someone named smackme. Neither of them really explains the AS logic
    to how they work. Yes I can follow their instructions and get a
    component to show up but neither helps me understand how to make my
    own fairly sophisticated components.
    Why is there such silence on this issue? Why doesn't Adobe
    document how they work?
    I don't get why a fairly important aspect of the software
    isn't documented or explained. If anyone can point me somewhere to
    look to learn about it, I'd appreciate it.
    Thanks.

    This may help
    http://www.flashbrighton.org/wordpress/?p=31
    senocular(adobe employee) said on another forum that info
    about components would be available shortly on the adobe
    site.

  • Exception handling through custom components

    Please let me know if there is any info about handling exceptions using custom components?
    Please share if any sample references are available.
    Many Thanks.

    You should in fact never explicitly catch RuntimeExceptions or Errors, unless you have a really, really good excuse. RuntimeExceptions are a sign of a "developer error" and needs to be bugfixed by just adding solid prechecks, so let them go. Errors are in any way unrecoverable, so let them go as well.
    To avoid ArrayIndexOutOfBoundsException just add a precheck on the array length and so on.

  • Upgrading packages from 2005 to 2012 : Custom components and delyavalidation woes

    Hey folks
    I've two specific cases with upgrading SSIS 2005 to 2012
    1st : most annoying
    I have a custom transformation written in c# 2005. It references sql server 2005 dlls such as from 
    Microsoft.SQLServer.DTSRuntimeWrap
    Microsoft.SQLServer.ManagedDTS
    Microsoft.SqlServer.PipelineHost
    Those are stored under 
    C:\Program Files\Microsoft SQL Server\90\SDK\Assemblies
    The requirement is to upgrade the package to 2012 and the code as well. Since 2005 was not installed on new server , I copied the referenced dlls from old server , added them back to C# project and rebuilt the Custom components dlls then added to GAC
    When I open the packages , they complain about the version
    Error 2
    Validation error. : The component metadata for "My_Comonents, clsid {874F7595-FB5F-40FF-96AF-FBFF8250E3EF}" could not be upgraded to the newer version of the component. The PerformUpgrade method failed.  
    So I thought , I can add the dll to the toolbox and add it again. WHen I try this , I get this error
    "Could not load file or assembly Microsoft.SqlServer.PipelineHost  ,version = 9.0.242.0"
    Now I assume this is because I don't have 2005 components installed.
    Before getting things messy , what should be the right approach :
    a- Should I just leave the custom components dlls as they are and add them to GAC ? but they will still need 2005 dlls , should I install 2005 client components ?
    b- I can not change the code of the c# project to use new SQL 2012 components , it's a lot of work. so what should be right approach here ?
    That was the important part
    2- Validation
    Even for disabled tasks , like data flow task , setting delyavalidate= True still doesn't help against them being validated and raising error. removing them will help but I do not want , any workaround ?
    Thanks

    Thanks a lot Joost , appreciate the feedback
    This is what I thought too.
    I came to the blog you mentioned , but I wasn't sure how it should be related to my problem. Now I think I'll need to make the code changes.
    Indeed , I see some declarations of *****90
    public void CreateExternalMetaDataColumn(IDTSOutput90 output, int outputColumnID)
                IDTSOutputColumn90 oColumn = output.OutputColumnCollection.GetObjectByID(outputColumnID);
                IDTSExternalMetadataColumn90 eColumn = output.ExternalMetadataColumnCollection.New();
        public override DTSValidationStatus Validate() {
                IDTSVariables90 variables = null;
    public override void SetOutputColumnDataTypeProperties(int outputID, int outputColumnID, Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType dataType, int length, int precision, int scale, int codePage) {
                IDTSOutputCollection90 outputColl = this.ComponentMetaData.OutputCollection;
                IDTSOutput90 output = outputColl.GetObjectByID(outputID);
                IDTSOutputColumnCollection90 columnColl = output.OutputColumnCollection;
                IDTSOutputColumn90 column = columnColl.GetObjectByID(outputColumnID);
    SO I should use 2012 references and start migrating this code over ? is it as easy as so ?
    Thanks

  • Custom components handling during Portal upgrade from 7.0 to 7.3

    Greetings,
    I started the upgrade of our development portal from version 7.0 to 7.3. I'm stuck in the configuration step when the upgrade program asks what to do with the custom java components found in the system.
    I have 8 components for which I can only select Scan inbox or Remove. The problem is that I would like to keep them as-is but the option Keep does not appear in the combo box.
    Does anybody have an idea about how to keep those components as they are?
    thank you in advance,
    Sébastien

    Even i am running into same issue where it doesn't show the option to keep the custom components. Can i know how did you fix the issue?

  • How to combine Custom Converters on Custom Components

    Hi, guys:
    I created a custom component just following: http://today.java.net/pub/a/today/2004/07/16/jsfcustom.html
    meanwhile, I also created a custom converter to convert any format of credit number to xxxx-xxxx-xxxx-xxxx. Right now, I'm wanting to use this custom converter with this custom component.
    However, whenever directly use them as:
                             <cc:creditCardInput id="credit_card_number" size="19"
                                               value="#{customerReg.paymentValue.creditCardNumber}">
                            <f:converter  converterId="CreditCardConverter"/>
                         </cc:creditCardInput> MyEclipse IDE complains:
    According to TLD, tag cc:creditCardInput must be empty, but is now.
    Anyone can help me to solve it?
    Thanks a lot
    Paul

    Thanks all of you for responses.
    The related tld as below:
    <taglib>
      <tlib-version>0.03</tlib-version>
      <jsp-version>1.2</jsp-version>
      <short-name>Credit Card Example Component Tag Library</short-name>
      <uri>http://bill.dudney.net/cc/component</uri>
      <description>
           This tag library has the tags for the java.net article about custom
           JSF components. Most of the attributes are actually ignored in this
           simple example.
      </description>
      <tag>
        <name>creditCardInput</name>
        <tag-class>alt.jsf.tags.CreditCardInputTag</tag-class>
        <body-content>empty</body-content>
        <description>
          This is the tag for the credit card input component.
        </description>
        <attribute>
          <name>value</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
          </description>
        </attribute>
        <attribute>
          <name>id</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
           </description>
        </attribute>
        <attribute>
          <name>immediate</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
          </description>
        </attribute>
        <attribute>
          <name>rendered</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
          </description>
        </attribute>
        <attribute>
          <name>required</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
          </description>
        </attribute>
        <attribute>
          <name>validator</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
           </description>
        </attribute>
        <attribute>
          <name>valueChangeListener</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
          </description>
        </attribute>
        <attribute>
          <name>accesskey</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
          </description>
        </attribute>
        <attribute>
          <name>alt</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
          </description>
        </attribute>
        <attribute>
          <name>disabled</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
          </description>
        </attribute>
        <attribute>
          <name>maxlength</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
          </description>
        </attribute>
        <attribute>
          <name>onblur</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
           </description>
        </attribute>
        <attribute>
          <name>onchange</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
           </description>
        </attribute>
        <attribute>
          <name>onclick</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
           </description>
        </attribute>
        <attribute>
          <name>ondblclick</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
           </description>
        </attribute>
        <attribute>
          <name>onfocus</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
          </description>
        </attribute>
        <attribute>
          <name>onkeydown</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
            </description>
        </attribute>
        <attribute>
          <name>onkeypress</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
           </description>
        </attribute>
        <attribute>
          <name>onkeyup</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
           </description>
        </attribute>
        <attribute>
          <name>onmousedown</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
          </description>
        </attribute>
        <attribute>
          <name>onmousemove</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
            </description>
        </attribute>
        <attribute>
          <name>onmouseout</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
           </description>
        </attribute>
        <attribute>
          <name>onmouseover</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
           </description>
        </attribute>
        <attribute>
          <name>onmouseup</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
           </description>
        </attribute>
        <attribute>
          <name>onselect</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
          </description>
        </attribute>
        <attribute>
          <name>readonly</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
              Flag indicating that this component will prohibit
              changes by the user.  The element may receive focus
              unless it has also been disabled.
          </description>
        </attribute>
        <attribute>
          <name>size</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
              The number of characters used to determine
              the width of this field.
          </description>
        </attribute>
        <attribute>
          <name>style</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
              CSS style(s) to be applied when this component is rendered.
          </description>
        </attribute>
        <attribute>
          <name>styleClass</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
              Space-separated list of CSS style class(es) to be applied when
              this element is rendered.  This value must be passed through
              as the "class" attribute on generated markup.
          </description>
        </attribute>
        <attribute>
          <name>tabindex</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
              Position of this element in the tabbing order
              for the current document.  This value must be
              an integer between 0 and 32767.
          </description>
        </attribute>
        <attribute>
          <name>binding</name>
          <required>false</required>
          <rtexprvalue>false</rtexprvalue>
          <description>
             The value binding expression linking this component to a property in a backing bean
          </description>
        </attribute>
      </tag>
    </taglib>

  • DID YOU KNOW?? - ABOUT ADVANCED COMPONENTS IN THE PALETTE??

    <br>
    Hi All,
    DID YOU KNOW??
    The IDE ships with the following Advanced Components in the Palette.
    These advanced components are a set of JavaServer Page markup tags for advanced users. The components have no visual appearance and are useful to developers with experience in JSP and JavaServer Faces technologies.
    * Encoding
    * Faces Action Listener
    * Faces Converter
    * Faces Validator
    * Faces Value Change Listener
    * Faces Verbatim
    * Link
    * Load Bundle
    * Markup
    * Meta
    * Parameter
    * Script
    Lets look at MARKUP component in more detail.
    The MARKUP Component
    You can drag the Markup component Markup component icon from the Palette's Advanced category to the Visual Designer to create a standard HTML tag. The Markup component enables you to insert HTML elements into the JSP page in places that HTML is not permitted.
    When you drop this component on a page in the Visual Designer, you cannot see it on the page until you set the tag property. You can see it in the Outline window and you can select it there to edit its properties in the Properties window.
    Use the tag property to specify the type of HTML element to insert. For instance, to insert an <hr> tag, set the tag property to hr with no angle brackets and select the singleton property .
    To provide compliance with XHTML, if the HTML element you are inserting is a singleton element, you must specify the singleton property, which causes a trailing /> to be generated in the rendered HTML. For example, the <br> element is a singleton element that must be rendered as
    to make it XHTML compliant.
    If you want to specify HTML attributes in addition to id and style for the element you are inserting, use the extraAttributes property.
    Learn more :-
    http://developers.sun.com/prodtech/javatools/jscreator/reference/docs/help/2update1/components/advanced_list.html
    We would like to know the following from you :-
    1) Are you using these Advanced Components in applications you are building? If so How and Where?
    2) Did you face any challenges while using them?
    3) Did you find any special usages/scenarios for using these components?
    Thanks for all your inputs and for joining in the discussion.
    K
    </br>

    What would you like in the documentation? Do you have specific questions about particular components? Do you want examples? What's missing from the online help at http://developers.sun.com/prodtech/javatools/jscreator/reference/docs/help/2update1/components/advanced_list.html?

  • 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

  • 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.

  • Customize no longer works for me in FF 29. It just brings up "about:customizing" in the URL box

    I like the new interface in FF29, but my back and forward arrows no longer show in the toolbar. No problem, I thought. I'll just correct the lost customization. But when I choose customize, I don't get the usual customize menu. "about:customizing" is simply inserted in the URL box.

    Have you tried it in "Safe Mode" - F10 > Help > Restart with addons disabled?
    When I enter "about:customizing" it takes me to the same customising view as does using right-mouseclick on a non-active part of the main toolbar.
    Another gotcha might be that at the bottom-left there is a drop down list where menus can have their visibility set. It's possible for some buttons to be hidden because these menus are set "off". Just for when you do find your customise page ...

Maybe you are looking for

  • Local Adjustment Brush does not work in Windows 7, 64-bit

    All other tools and functions work OK.  My issue is just with the Adjustment Brush;  The Adjustment Panel opens when the brush is selected and the brush moves, but none of the adjustments are applied to the image.  The problem is clearly related to t

  • Currency (unit) conversion in Spotlight?

    Hi! With Leopard came the ability to use Calculator.app within Spotlight. Brilliant. But is there any way to use Calculator's awesome unit conversion in Spotlight, too? I find myself going to google every time (d'uh). Peter

  • Visual C++ 2010 IntelliSense and browsing information is not available

    Hello, I've just intalled visual studio 2010 and faced the issue with C++ projects: when I create a new console application or win32 project I see the message: "An error occurred while creating or opening C++ browsing database file z:\test\test.sdf.

  • Synchronize system time and set system time zone in SAP

    Hi, How to Synchronize system time and set system time zone in any SAP system?

  • Query on button

    hi expert   i create three text box and one button on form.now i want to add all edit text  box text in database when i clicked the button how i write  sql query on butoon