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

Similar Messages

  • Reusable components

    Hi Experts,
    Can anybody provide me some material on Reusable components in SAP/ABAP HR to have better understanding of the concept.
    Gd points will be awarded for the well wishers of mine.
    Regards,
    Rahul

    Hi Anand,
    I would say, that you are not able to open a new window or trigger a navigation
    from the component controller thru a call from anaother component.
    So the descision whether to show the view or to send directly must be done by the
    using component.
    The EMAIL component provides the view which you can embedd in the using component in a new window or just a simple view (ViewContainerUIElement).
    The using component then decides whether it should call the method directly, or navigates to the view which contains the interface view of the EMAIL component.
    Hope this helps,
    Sascha
    Message was edited by:
            Sascha Dingeldey

  • Error: "Variable State has been used outside the reusable components"

    When I open a query in the ad hoc query designer I get several error messages like "Variable State has been used outside the reusable components."  I don't what this means or how to fix it.
    "State" is one of the variables used.  And there is a error for every variable that is used.
    All the variables are in the free characteristics.
    When I open the query in Query Designer, it is ok.
    Any ideas?

    Hi Fong,
    PLease check the following link:
    http://help.sap.com/saphelp_nw04/helpdata/en/1f/03223c5f00612be10000000a11402f/content.htm
    It states that:
    You cannot integrate variables into the query directly.
    However, you can use variables in reusable structures, or restricted or calculate key figures, which are used in the Ad-hoc Query Designer
    Hope this helps...

  • Ideas on formally building SOA Components.

    Good afternoon all,
    Can anyone give me an idea on ways to formally build soa components and properly track their revisions throughout the artifacts life cycle?
    We all formally build our java code in one way or another. What is the best practice in formally building SOA Components prior to moving them to an Integrated environment? For example developer 1 is working on soa_project_1 deploying it to their local SOA Server using revision 1.0 with the check box enabled saying to overwrite if existing. Developer 1 finishes working checks the project into source control. Developer 2 picks up the source begins developing against trunk, leaving the check box checked to over write existing. checks the project into svn. No longer is the revision 1.0 anymore it's now something different. Yet we have it still deployed as 1.0.
    Thanks in advance and I look forward to your input!!!!
    Charles

    Hi,
    The developers first get the code from the Version Control system like SVN tortoise. They do changes locally on their machine, and save the changes to the SVN and deploy the changes to the SOA Unit Instance or Development Instance. If someone else is working on the same code, he needs to get an update of the latest code in the SVN repository. And also, as you know, in SVN, you can know what changes have been done by which user and what time and all. So, whoever does the changes, they will upload that changes to the trunk and test the changes and later merge the changes to the branch. This is how it goes and coming to the version for the composite it depends on how to you want to track the changes. And also, while deploying you can select the new version to be non-default and after testing that changes and if it is working as expected, then you can make that default revision. Hope i have answered your questions
    Thanks,
    N

  • How to find out the differences in minor builds for components?

    Hello,
    We use crystal 10 included in a vb6 application for reports design and viewing. When we changed our installshield version, for a reason I haven't understood yet, our versions of all the crystal components changed with it. This got identified as a problem with some minor difference in a small bit of functionality, what I'm now looking for is to know what changes were made between the builds for these components. If it's very minor changes that will not affect us we will leave these components as they are, if there are any major changes that will affect us we can either test their impact or make the decision to revert to all the old versions and re-release the software.
    I've spent just under an hour looking for the information but to no success, this forum really helped me out before with a weird crystal problem we were getting so thought I'd try here!
    These are all from the Ciphr Install\Common\Crystal Decisions\2.5\bin directory.
    File Name     Previous Version      Version in 5.1     Product
    commonobjmodel.dll     10.0.5.587     10.0.5.1017     Report Application Server
    craxddrt.dll     10.0.5.860     10.0.5.1506     Crystal Reports
    craxddrt_res_en.dll     10.0.5.860     10.0.5.1450     Crystal Reports
    craxdrt.dll     10.0.5.839     10.0.5.1519     Crystal Reports
    craxdrt_res_en.dll     10.0.5.839     10.0.5.1450     Crystal Reports
    crdb_ado.dll     10.0.5.655     10.0.5.668     Crystal Reports
    crdb_adoplus.dll     10.0.5.418     10.0.5.1210     Crystal Reports
    crdb_adoplus_res_en.dll     10.0.5.418     10.0.5.1210     Crystal Reports
    crdb_ado_res_en.dll     10.0.5.655     10.0.5.663     Crystal Reports
    crdb_cdo.dll     10.0.5.573     10.0.5.578     Crystal Reports
    crdb_cdo_res_en.dll     10.0.5.573     10.0.5.578     Crystal Reports
    crdb_com.dll     10.0.5.137     10.0.5.143     Crystal Reports
    crdb_com_res_en.dll     10.0.5.137     10.0.5.143     Crystal Reports
    crdb_dao.dll     10.0.5.606     10.0.5.611     Crystal Reports
    crdb_dao_res_en.dll     10.0.5.606     10.0.5.611     Crystal Reports
    crdb_dataset.dll     10.0.5.148     10.0.5.152     Crystal Reports
    crdb_dataset_res_en.dll     10.0.5.148     10.0.5.152     Crystal Reports
    crdb_fielddef.dll     10.0.5.568     10.0.5.574     Crystal Reports
    crdb_fielddef_res_en.dll     10.0.5.568     10.0.5.574     Crystal Reports
    crdb_filesystem.dll     10.0.5.563     10.0.5.567     Crystal Reports
    crdb_filesystem_res_en.dll     10.0.5.563     10.0.5.567     Crystal Reports
    crdb_JavaBeans.dll     10.0.5.145     10.0.5.152     Crystal Reports
    crdb_JavaBeans_res_en.dll     10.0.5.145     10.0.5.152     Crystal Reports
    crdb_odbc.dll     10.0.5.751     10.0.5.768     Crystal Reports
    crdb_odbc_res_en.dll     10.0.5.751     10.0.5.768     Crystal Reports
    crdb_oracle.dll     10.0.5.249     10.0.5.257     Crystal Reports
    crdb_oracle_res_en.dll     10.0.5.249     10.0.5.257     Crystal Reports
    crdb_p2bact3.dll     10.0.5.199     10.0.5.196     Crystal Reports
    crdb_p2bbde.dll     10.0.5.115     10.0.5.116     Crystal Reports
    crdb_p2bbtrv.dll     10.0.5.200     10.0.5.210     Crystal Reports
    crdb_p2bxbse.dll     10.0.5.113     10.0.5.114     Crystal Reports
    crdb_p2sacl.dll     10.0.5.128     10.0.5.129     Crystal Reports
    crdb_p2sdb2.dll     10.0.5.196     10.0.5.197     Crystal Reports
    crdb_p2sevta.dll     10.0.5.129     10.0.5.130     Crystal Reports
    crdb_p2sevtc.dll     10.0.5.129     10.0.5.130     Crystal Reports
    crdb_p2sexsrm.dll     10.0.5.130     10.0.5.131     Crystal Reports
    crdb_p2sexsrp.dll     10.0.5.130     10.0.5.131     Crystal Reports
    crdb_p2smapi.dll     10.0.5.133     10.0.5.134     Crystal Reports
    crdb_p2smsiis.dll     10.0.5.137     10.0.5.139     Crystal Reports
    crdb_p2soutlk.dll     10.0.5.222     10.0.5.225     Crystal Reports
    crdb_p2srepl.dll     10.0.5.130     10.0.5.131     Crystal Reports
    crdb_p2ssyb10.dll     10.0.5.176     10.0.5.179     Crystal Reports
    crdb_p2strack.dll     10.0.5.130     10.0.5.131     Crystal Reports
    crdb_p2swblg.dll     10.0.5.134     10.0.5.135     Crystal Reports
    crdb_query.dll     10.0.5.689     10.0.5.693     Crystal Reports
    crdb_query_res_en.dll     10.0.5.689     10.0.5.693     Crystal Reports
    CRDesignerCtrl.DLL     10.0.5.819     10.0.5.1016     Crystal Reports
    crdesignerctrl_res_en.dll     10.0.5.819     10.0.5.1016     Crystal Reports
    crqe.dll     10.0.5.877     10.0.5.882     Crystal Reports
    crqe_res_en.dll     10.0.5.877     10.0.5.882     Crystal Reports
    crtslv.dll     10.0.5.587     10.0.5.1017     TSLV Reader
    crviewer.dll     10.0.5.822     10.0.5.1155     Crystal Reports
    crxf_html.dll     10.0.5.72     10.0.5.75     Crystal Reports
    crxf_html_res_en.dll     10.0.5.72     10.0.5.75     Crystal Reports
    crxf_pdf.dll     10.0.5.598     10.0.5.604     Portable Document Format DLL for Crystal Reports
    crxf_pdf_res_en.dll     10.0.5.598     10.0.5.604     Portable Document Format DLL for Crystal Reports
    crxf_rtf.dll     10.0.5.603     10.0.5.604     Rich Text and MSWord Format DLL for Crystal Reports
    crxf_rtf_res_en.dll     10.0.5.603     10.0.5.604     Rich Text and MSWord Format DLL for Crystal Reports
    crxf_wordw.dll     10.0.5.603     10.0.5.604     Rich Text and MSWord Format DLL for Crystal Reports
    crxf_wordw_res_en.dll     10.0.5.603     10.0.5.604     Rich Text and MSWord Format DLL for Crystal Reports
    crxf_xls.dll     10.0.5.737     10.0.5.755     Crystal Reports
    crxf_xls_res_en.dll     10.0.5.737     10.0.5.754     Crystal Reports
    Emfgen.dll     10.0.5.587     10.0.5.1017     Crystal Reports
    exlate32.dll     10.0.5.587     10.0.5.1017     Crystal Reports For Windows
    ExportModeller.dll     10.0.5.580     10.0.5.581     ExportModeller Module
    filedialog.dll     10.0.5.587     10.0.5.1017     Report Application Server
    filedialog_res_chs.dll     10.0.5.587     10.0.5.1016     Report Application Server
    filedialog_res_de.dll     10.0.5.587     10.0.5.1016     Report Application Server
    filedialog_res_en.dll     10.0.5.587     10.0.5.1017     Report Application Server
    filedialog_res_es.dll     10.0.5.587     10.0.5.1016     Report Application Server
    filedialog_res_fr.dll     10.0.5.587     10.0.5.1016     Report Application Server
    filedialog_res_it.dll     10.0.5.587     10.0.5.1016     Report Application Server
    filedialog_res_jp.dll     10.0.5.587     10.0.5.1016     Report Application Server
    filedialog_res_ko.dll     10.0.5.587     10.0.5.1016     Report Application Server
    keycode.dll     10.0.5.417     10.0.5.847     Crystal Decisions keycode Module
    p2bbtrv.dll     10.0.5.16     10.0.5.24     Crystal Reports
    p3dbeen.dll     10.0.5.115     10.0.5.116     Crystal Reports
    p3dbten.dll     10.0.5.16     10.0.5.23     Crystal Reports
    p3dxben.dll     10.0.5.113     10.0.5.114     Crystal Reports
    p3sacen.dll     10.0.5.128     10.0.5.129     Crystal Reports
    p3sd2en.dll     10.0.5.196     10.0.5.197     Crystal Reports
    p3seven.dll     10.0.5.129     10.0.5.130     Crystal Reports
    p3sisen.dll     10.0.5.137     10.0.5.139     Crystal Reports
    p3smpen.dll     10.0.5.133     10.0.5.134     Crystal Reports
    p3srpen.dll     10.0.5.130     10.0.5.131     Crystal Reports
    p3ssten.dll     10.0.5.176     10.0.5.179     Crystal Reports
    p3stken.dll     10.0.5.130     10.0.5.131     Crystal Reports
    p3swlen.dll     10.0.5.134     10.0.5.135     Crystal Reports
    p3sxsen.dll     10.0.5.130     10.0.5.131     Crystal Reports
    pageObjectModel.dll     10.0.5.855     10.0.5.1509     PageObjectModel Module
    querybuilder.dll     10.0.5.625     10.0.5.630     Crystal Reports
    querybuilder_res_en.dll     10.0.5.625     10.0.5.630     Crystal Reports
    r3exlen.dll     10.0.5.587     10.0.5.1017     Crystal Reports For Windows
    ReportRenderer.dll     10.0.5.855     10.0.5.1509     ReportRenderer Module
    RptControllers.dll     10.0.5.798     10.0.5.1031     Report Application Server
    rptcontrollers_res_en.dll     10.0.5.798     10.0.5.1031     Report Application Server
    rptdefmodel.dll     10.0.5.587     10.0.5.1016     Report Application Server
    rptdefmodel_res_en.dll     10.0.5.587     10.0.5.1016     Report Application Server
    sacommoncontrols.dll     10.0.5.696     10.0.5.1251     Report Application Server
    sacommoncontrols_res_chs.dll     10.0.5.587     10.0.5.1016     Report Application Server
    sacommoncontrols_res_de.dll     10.0.5.587     10.0.5.1016     Report Application Server
    sacommoncontrols_res_es.dll     10.0.5.587     10.0.5.1016     Report Application Server
    sacommoncontrols_res_fr.dll     10.0.5.587     10.0.5.1016     Report Application Server
    sacommoncontrols_res_it.dll     10.0.5.587     10.0.5.1016     Report Application Server
    sacommoncontrols_res_jp.dll     10.0.5.587     10.0.5.1016     Report Application Server
    sacommoncontrols_res_ko.dll     10.0.5.587     10.0.5.1016     Report Application Server
    saxmlserialize.dll     10.0.5.587     10.0.5.1017     Report Application Server
    saxmlserialize_res_en.dll     10.0.5.587     10.0.5.1017     Report Application Server
    sscdlg.dll     10, 0, 0, 6     10, 0, 0, 7     Amigo Dialogs DLL
    sscdlg_res_chs.dll     10, 0, 0, 6     10, 0, 0, 7     Amigo Dialogs DLL
    sscdlg_res_de.dll     10, 0, 0, 6     10, 0, 0, 7     Amigo Dialogs DLL
    sscdlg_res_en.dll     10, 0, 0, 6     10, 0, 0, 7     Amigo Dialogs DLL
    sscdlg_res_es.dll     10, 0, 0, 6     10, 0, 0, 7     Amigo Dialogs DLL
    sscdlg_res_fr.dll     10, 0, 0, 6     10, 0, 0, 7     Amigo Dialogs DLL
    sscdlg_res_it.dll     10, 0, 0, 6     10, 0, 0, 7     Amigo Dialogs DLL
    sscdlg_res_jp.dll     10, 0, 0, 6     10, 0, 0, 7     Amigo Dialogs DLL
    sscdlg_res_ko.dll     10, 0, 0, 6     10, 0, 0, 7     Amigo Dialogs DLL
    sscsdk80.dll     10, 0, 0, 8     10, 0, 0, 16     Charting Engine DLL
    sscsdk80_res_chs.dll     10, 0, 0, 7     10, 0, 0, 12     Charting Engine DLL
    sscsdk80_res_de.dll     10, 0, 0, 7     10, 0, 0, 12     Charting Engine DLL
    sscsdk80_res_en.dll     10, 0, 0, 8     10, 0, 0, 16     Charting Engine DLL
    sscsdk80_res_es.dll     10, 0, 0, 7     10, 0, 0, 12     Charting Engine DLL
    sscsdk80_res_fr.dll     10, 0, 0, 7     10, 0, 0, 12     Charting Engine DLL
    sscsdk80_res_it.dll     10, 0, 0, 7     10, 0, 0, 12     Charting Engine DLL
    sscsdk80_res_jp.dll     10, 0, 0, 7     10, 0, 0, 12     Charting Engine DLL
    sscsdk80_res_ko.dll     10, 0, 0, 7     10, 0, 0, 12     Charting Engine DLL
    sviewhlp.dll     10.0.5.822     10.0.5.1155     Crystal Reports
    swebrs.dll     10.0.5.822     10.0.5.1155     Crystal Reports
    u2dapp.dll     10.0.5.548     10.0.5.550     Crystal Reports
    u2ddisk.dll     10.0.5.554     10.0.5.556     Crystal Reports
    u2dmapi.dll     10.0.5.549     10.0.5.550     Crystal Reports
    u2dpost.dll     10.0.5.560     10.0.5.562     Crystal Reports
    u2dvim.dll     10.0.5.20     10.0.5.21     Crystal Reports
    u2fcompress.dll     10.0.5.537     10.0.5.539     Crystal Reports
    u2fcr.dll     10.0.5.552     10.0.5.554     Crystal Reports
    u2fodbc.dll     10.0.5.556     10.0.5.558     Crystal Reports
    u2frdef.dll     10.0.5.23     10.0.5.25     Crystal Reports
    u2frec.dll     10.0.5.545     10.0.5.547     Crystal Reports
    u2fsepv.dll     10.0.5.59     10.0.5.62     Crystal Reports
    u2ftext.dll     10.0.5.591     10.0.5.604     Crystal Reports
    u2fxml.dll     10.0.5.582     10.0.5.584     Crystal Reports
    ufmanager.dll     10.0.5.30     10.0.5.32     Crystal Reports Professional For Windows
    UndoManager.dll     10.0.5.587     10.0.5.1017     Report Application Server
    vle.dll     10.0.5.587     10.0.5.904     VLE Module
    vle_res_en.dll     10.0.5.587     10.0.5.904     VLE Module
    webReporting.dll     10.0.5.855     10.0.5.1509     WebReporting Module
    x3dapen.dll     10.0.5.548     10.0.5.550     Crystal Reports
    x3ddken.dll     10.0.5.554     10.0.5.556     Crystal Reports
    x3dmpen.dll     10.0.5.549     10.0.5.550     Crystal Reports
    x3dpten.dll     10.0.5.560     10.0.5.562     Crystal Reports
    x3dvmen.dll     10.0.5.20     10.0.5.21     Crystal Reports
    x3fcpen.dll     10.0.5.537     10.0.5.539     Crystal Reports
    x3fcren.dll     10.0.5.552     10.0.5.554     Crystal Reports
    x3foden.dll     10.0.5.556     10.0.5.558     Crystal Reports
    x3frcen.dll     10.0.5.545     10.0.5.547     Crystal Reports
    x3frden.dll     10.0.5.23     10.0.5.25     Crystal Reports
    x3fsven.dll     10.0.5.59     10.0.5.61     Crystal Reports
    x3ftxen.dll     10.0.5.591     10.0.5.603     Crystal Reports
    x3fxmen.dll     10.0.5.582     10.0.5.584     Crystal Reports
    Thanks in advance for any pointers on where to get this info!
    Tim
    Edited by: Tim Hopkins on Sep 27, 2010 5:34 PM

    This is in the order of Filename, then the previous version number, then the build number that's now been included, then the product name.<br><br>commonobjmodel.dll     <br>     10.0.5.587     <br>     10.0.5.1017     <br>     Report Application Server     <br><br>
    craxddrt.dll     <br>     10.0.5.860     <br>     10.0.5.1506     <br>     Crystal Reports     <br><br>
    craxddrt_res_en.dll     <br>     10.0.5.860     <br>     10.0.5.1450     <br>     Crystal Reports     <br><br>
    craxdrt.dll     <br>     10.0.5.839     <br>     10.0.5.1519     <br>     Crystal Reports     <br><br>
    craxdrt_res_en.dll     <br>     10.0.5.839     <br>     10.0.5.1450     <br>     Crystal Reports     <br><br>
    crdb_ado.dll     <br>     10.0.5.655     <br>     10.0.5.668     <br>     Crystal Reports     <br><br>
    crdb_adoplus.dll     <br>     10.0.5.418     <br>     10.0.5.1210     <br>     Crystal Reports     <br><br>
    crdb_adoplus_res_en.dll     <br>     10.0.5.418     <br>     10.0.5.1210     <br>     Crystal Reports     <br><br>
    crdb_ado_res_en.dll     <br>     10.0.5.655     <br>     10.0.5.663     <br>     Crystal Reports     <br><br>
    crdb_cdo.dll     <br>     10.0.5.573     <br>     10.0.5.578     <br>     Crystal Reports     <br><br>
    crdb_cdo_res_en.dll     <br>     10.0.5.573     <br>     10.0.5.578     <br>     Crystal Reports     <br><br>
    crdb_com.dll     <br>     10.0.5.137     <br>     10.0.5.143     <br>     Crystal Reports     <br><br>
    crdb_com_res_en.dll     <br>     10.0.5.137     <br>     10.0.5.143     <br>     Crystal Reports     <br><br>
    crdb_dao.dll     <br>     10.0.5.606     <br>     10.0.5.611     <br>     Crystal Reports     <br><br>
    crdb_dao_res_en.dll     <br>     10.0.5.606     <br>     10.0.5.611     <br>     Crystal Reports     <br><br>
    crdb_dataset.dll     <br>     10.0.5.148     <br>     10.0.5.152     <br>     Crystal Reports     <br><br>
    crdb_dataset_res_en.dll     <br>     10.0.5.148     <br>     10.0.5.152     <br>     Crystal Reports     <br><br>
    crdb_fielddef.dll     <br>     10.0.5.568     <br>     10.0.5.574     <br>     Crystal Reports     <br><br>
    crdb_fielddef_res_en.dll     <br>     10.0.5.568     <br>     10.0.5.574     <br>     Crystal Reports     <br><br>
    crdb_filesystem.dll     <br>     10.0.5.563     <br>     10.0.5.567     <br>     Crystal Reports     <br><br>
    crdb_filesystem_res_en.dll     <br>     10.0.5.563     <br>     10.0.5.567     <br>     Crystal Reports     <br><br>
    crdb_JavaBeans.dll     <br>     10.0.5.145     <br>     10.0.5.152     <br>     Crystal Reports     <br><br>
    crdb_JavaBeans_res_en.dll     <br>     10.0.5.145     <br>     10.0.5.152     <br>     Crystal Reports     <br><br>
    crdb_odbc.dll     <br>     10.0.5.751     <br>     10.0.5.768     <br>     Crystal Reports     <br><br>
    crdb_odbc_res_en.dll     <br>     10.0.5.751     <br>     10.0.5.768     <br>     Crystal Reports     <br><br>
    crdb_oracle.dll     <br>     10.0.5.249     <br>     10.0.5.257     <br>     Crystal Reports     <br><br>
    crdb_oracle_res_en.dll     <br>     10.0.5.249     <br>     10.0.5.257     <br>     Crystal Reports     <br><br>
    crdb_p2bact3.dll     <br>     10.0.5.199     <br>     10.0.5.196     <br>     Crystal Reports     <br><br>
    crdb_p2bbde.dll     <br>     10.0.5.115     <br>     10.0.5.116     <br>     Crystal Reports     <br><br>
    crdb_p2bbtrv.dll     <br>     10.0.5.200     <br>     10.0.5.210     <br>     Crystal Reports     <br><br>
    crdb_p2bxbse.dll     <br>     10.0.5.113     <br>     10.0.5.114     <br>     Crystal Reports     <br><br>
    crdb_p2sacl.dll     <br>     10.0.5.128     <br>     10.0.5.129     <br>     Crystal Reports     <br><br>
    crdb_p2sdb2.dll     <br>     10.0.5.196     <br>     10.0.5.197     <br>     Crystal Reports     <br><br>
    crdb_p2sevta.dll     <br>     10.0.5.129     <br>     10.0.5.130     <br>     Crystal Reports     <br><br>
    crdb_p2sevtc.dll     <br>     10.0.5.129     <br>     10.0.5.130     <br>     Crystal Reports     <br><br>
    crdb_p2sexsrm.dll     <br>     10.0.5.130     <br>     10.0.5.131     <br>     Crystal Reports     <br><br>
    crdb_p2sexsrp.dll     <br>     10.0.5.130     <br>     10.0.5.131     <br>     Crystal Reports     <br><br>
    crdb_p2smapi.dll     <br>     10.0.5.133     <br>     10.0.5.134     <br>     Crystal Reports     <br><br>
    crdb_p2smsiis.dll     <br>     10.0.5.137     <br>     10.0.5.139     <br>     Crystal Reports     <br><br>
    crdb_p2soutlk.dll     <br>     10.0.5.222     <br>     10.0.5.225     <br>     Crystal Reports     <br><br>
    crdb_p2srepl.dll     <br>     10.0.5.130     <br>     10.0.5.131     <br>     Crystal Reports     <br><br>
    crdb_p2ssyb10.dll     <br>     10.0.5.176     <br>     10.0.5.179     <br>     Crystal Reports     <br><br>
    crdb_p2strack.dll     <br>     10.0.5.130     <br>     10.0.5.131     <br>     Crystal Reports     <br><br>
    crdb_p2swblg.dll     <br>     10.0.5.134     <br>     10.0.5.135     <br>     Crystal Reports     <br><br>
    crdb_query.dll     <br>     10.0.5.689     <br>     10.0.5.693     <br>     Crystal Reports     <br><br>
    crdb_query_res_en.dll     <br>     10.0.5.689     <br>     10.0.5.693     <br>     Crystal Reports     <br><br>
    CRDesignerCtrl.DLL     <br>     10.0.5.819     <br>     10.0.5.1016     <br>     Crystal Reports     <br><br>
    crdesignerctrl_res_en.dll     <br>     10.0.5.819     <br>     10.0.5.1016     <br>     Crystal Reports     <br><br>
    crqe.dll     <br>     10.0.5.877     <br>     10.0.5.882     <br>     Crystal Reports     <br><br>
    crqe_res_en.dll     <br>     10.0.5.877     <br>     10.0.5.882     <br>     Crystal Reports     <br><br>
    crtslv.dll     <br>     10.0.5.587     <br>     10.0.5.1017     <br>     TSLV Reader     <br><br>
    crviewer.dll     <br>     10.0.5.822     <br>     10.0.5.1155     <br>     Crystal Reports     <br><br>
    crxf_html.dll     <br>     10.0.5.72     <br>     10.0.5.75     <br>     Crystal Reports     <br><br>
    crxf_html_res_en.dll     <br>     10.0.5.72     <br>     10.0.5.75     <br>     Crystal Reports     <br><br>
    crxf_pdf.dll     <br>     10.0.5.598     <br>     10.0.5.604     <br>     Portable Document Format DLL for Crystal Reports     <br><br>
    crxf_pdf_res_en.dll     <br>     10.0.5.598     <br>     10.0.5.604     <br>     Portable Document Format DLL for Crystal Reports     <br><br>
    crxf_rtf.dll     <br>     10.0.5.603     <br>     10.0.5.604     <br>     Rich Text and MSWord Format DLL for Crystal Reports     <br><br>
    crxf_rtf_res_en.dll     <br>     10.0.5.603     <br>     10.0.5.604     <br>     Rich Text and MSWord Format DLL for Crystal Reports     <br><br>
    crxf_wordw.dll     <br>     10.0.5.603     <br>     10.0.5.604     <br>     Rich Text and MSWord Format DLL for Crystal Reports     <br><br>
    crxf_wordw_res_en.dll     <br>     10.0.5.603     <br>     10.0.5.604     <br>     Rich Text and MSWord Format DLL for Crystal Reports     <br><br>
    crxf_xls.dll     <br>     10.0.5.737     <br>     10.0.5.755     <br>     Crystal Reports     <br><br>
    crxf_xls_res_en.dll     <br>     10.0.5.737     <br>     10.0.5.754     <br>     Crystal Reports     <br><br>
    Emfgen.dll     <br>     10.0.5.587     <br>     10.0.5.1017     <br>     Crystal Reports     <br><br>
    exlate32.dll     <br>     10.0.5.587     <br>     10.0.5.1017     <br>     Crystal Reports For Windows     <br><br>
    ExportModeller.dll     <br>     10.0.5.580     <br>     10.0.5.581     <br>     ExportModeller Module     <br><br>
    filedialog.dll     <br>     10.0.5.587     <br>     10.0.5.1017     <br>     Report Application Server     <br><br>
    filedialog_res_chs.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    filedialog_res_de.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    filedialog_res_en.dll     <br>     10.0.5.587     <br>     10.0.5.1017     <br>     Report Application Server     <br><br>
    filedialog_res_es.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    filedialog_res_fr.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    filedialog_res_it.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    filedialog_res_jp.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    filedialog_res_ko.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    keycode.dll     <br>     10.0.5.417     <br>     10.0.5.847     <br>     Crystal Decisions keycode Module     <br><br>
    p2bbtrv.dll     <br>     10.0.5.16     <br>     10.0.5.24     <br>     Crystal Reports     <br><br>
    p3dbeen.dll     <br>     10.0.5.115     <br>     10.0.5.116     <br>     Crystal Reports     <br><br>
    p3dbten.dll     <br>     10.0.5.16     <br>     10.0.5.23     <br>     Crystal Reports     <br><br>
    p3dxben.dll     <br>     10.0.5.113     <br>     10.0.5.114     <br>     Crystal Reports     <br><br>
    p3sacen.dll     <br>     10.0.5.128     <br>     10.0.5.129     <br>     Crystal Reports     <br><br>
    p3sd2en.dll     <br>     10.0.5.196     <br>     10.0.5.197     <br>     Crystal Reports     <br><br>
    p3seven.dll     <br>     10.0.5.129     <br>     10.0.5.130     <br>     Crystal Reports     <br><br>
    p3sisen.dll     <br>     10.0.5.137     <br>     10.0.5.139     <br>     Crystal Reports     <br><br>
    p3smpen.dll     <br>     10.0.5.133     <br>     10.0.5.134     <br>     Crystal Reports     <br><br>
    p3srpen.dll     <br>     10.0.5.130     <br>     10.0.5.131     <br>     Crystal Reports     <br><br>
    p3ssten.dll     <br>     10.0.5.176     <br>     10.0.5.179     <br>     Crystal Reports     <br><br>
    p3stken.dll     <br>     10.0.5.130     <br>     10.0.5.131     <br>     Crystal Reports     <br><br>
    p3swlen.dll     <br>     10.0.5.134     <br>     10.0.5.135     <br>     Crystal Reports     <br><br>
    p3sxsen.dll     <br>     10.0.5.130     <br>     10.0.5.131     <br>     Crystal Reports     <br><br>
    pageObjectModel.dll     <br>     10.0.5.855     <br>     10.0.5.1509     <br>     PageObjectModel Module     <br><br>
    querybuilder.dll     <br>     10.0.5.625     <br>     10.0.5.630     <br>     Crystal Reports     <br><br>
    querybuilder_res_en.dll     <br>     10.0.5.625     <br>     10.0.5.630     <br>     Crystal Reports     <br><br>
    r3exlen.dll     <br>     10.0.5.587     <br>     10.0.5.1017     <br>     Crystal Reports For Windows     <br><br>
    ReportRenderer.dll     <br>     10.0.5.855     <br>     10.0.5.1509     <br>     ReportRenderer Module     <br><br>
    RptControllers.dll     <br>     10.0.5.798     <br>     10.0.5.1031     <br>     Report Application Server     <br><br>
    rptcontrollers_res_en.dll     <br>     10.0.5.798     <br>     10.0.5.1031     <br>     Report Application Server     <br><br>
    rptdefmodel.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    rptdefmodel_res_en.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    sacommoncontrols.dll     <br>     10.0.5.696     <br>     10.0.5.1251     <br>     Report Application Server     <br><br>
    sacommoncontrols_res_chs.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    sacommoncontrols_res_de.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    sacommoncontrols_res_es.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    sacommoncontrols_res_fr.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    sacommoncontrols_res_it.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    sacommoncontrols_res_jp.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    sacommoncontrols_res_ko.dll     <br>     10.0.5.587     <br>     10.0.5.1016     <br>     Report Application Server     <br><br>
    saxmlserialize.dll     <br>     10.0.5.587     <br>     10.0.5.1017     <br>     Report Application Server     <br><br>
    saxmlserialize_res_en.dll     <br>     10.0.5.587     <br>     10.0.5.1017     <br>     Report Application Server     <br><br>
    sscdlg.dll     <br>     10, 0, 0, 6     <br>     10, 0, 0, 7     <br>     Amigo Dialogs DLL     <br><br>
    sscdlg_res_chs.dll     <br>     10, 0, 0, 6     <br>     10, 0, 0, 7     <br>     Amigo Dialogs DLL     <br><br>
    sscdlg_res_de.dll     <br>     10, 0, 0, 6     <br>     10, 0, 0, 7     <br>     Amigo Dialogs DLL     <br><br>
    sscdlg_res_en.dll     <br>     10, 0, 0, 6     <br>     10, 0, 0, 7     <br>     Amigo Dialogs DLL     <br><br>
    sscdlg_res_es.dll     <br>     10, 0, 0, 6     <br>     10, 0, 0, 7     <br>     Amigo Dialogs DLL     <br><br>
    sscdlg_res_fr.dll     <br>     10, 0, 0, 6     <br>     10, 0, 0, 7     <br>     Amigo Dialogs DLL     <br><br>
    sscdlg_res_it.dll     <br>     10, 0, 0, 6     <br>     10, 0, 0, 7     <br>     Amigo Dialogs DLL     <br><br>
    sscdlg_res_jp.dll     <br>     10, 0, 0, 6     <br>     10, 0, 0, 7     <br>     Amigo Dialogs DLL     <br><br>
    sscdlg_res_ko.dll     <br>     10, 0, 0, 6     <br>     10, 0, 0, 7     <br>     Amigo Dialogs DLL     <br><br>
    sscsdk80.dll     <br>     10, 0, 0, 8     <br>     10, 0, 0, 16     <br>     Charting Engine DLL     <br><br>
    sscsdk80_res_chs.dll     <br>     10, 0, 0, 7     <br>     10, 0, 0, 12     <br>     Charting Engine DLL     <br><br>
    sscsdk80_res_de.dll     <br>     10, 0, 0, 7     <br>     10, 0, 0, 12     <br>     Charting Engine DLL     <br><br>
    sscsdk80_res_en.dll     <br>     10, 0, 0, 8     <br>     10, 0, 0, 16     <br>     Charting Engine DLL     <br><br>
    sscsdk80_res_es.dll     <br>     10, 0, 0, 7     <br>     10, 0, 0, 12     <br>     Charting Engine DLL     <br><br>
    sscsdk80_res_fr.dll     <br>     10, 0, 0, 7     <br>     10, 0, 0, 12     <br>     Charting Engine DLL     <br><br>
    sscsdk80_res_it.dll     <br>     10, 0, 0, 7     <br>     10, 0, 0, 12     <br>     Charting Engine DLL     <br><br>
    sscsdk80_res_jp.dll     <br>     10, 0, 0, 7     <br>     10, 0, 0, 12     <br>     Charting Engine DLL     <br><br>
    sscsdk80_res_ko.dll     <br>     10, 0, 0, 7     <br>     10, 0, 0, 12     <br>     Charting Engine DLL     <br><br>
    sviewhlp.dll     <br>     10.0.5.822     <br>     10.0.5.1155     <br>     Crystal Reports     <br><br>
    swebrs.dll     <br>     10.0.5.822     <br>     10.0.5.1155     <br>     Crystal Reports     <br><br>
    u2dapp.dll     <br>     10.0.5.548     <br>     10.0.5.550     <br>     Crystal Reports     <br><br>
    u2ddisk.dll     <br>     10.0.5.554     <br>     10.0.5.556     <br>     Crystal Reports     <br><br>
    u2dmapi.dll     <br>     10.0.5.549     <br>     10.0.5.550     <br>     Crystal Reports     <br><br>
    u2dpost.dll     <br>     10.0.5.560     <br>     10.0.5.562     <br>     Crystal Reports     <br><br>
    u2dvim.dll     <br>     10.0.5.20     <br>     10.0.5.21     <br>     Crystal Reports     <br><br>
    u2fcompress.dll     <br>     10.0.5.537     <br>     10.0.5.539     <br>     Crystal Reports     <br><br>
    u2fcr.dll     <br>     10.0.5.552     <br>     10.0.5.554     <br>     Crystal Reports     <br><br>
    u2fodbc.dll     <br>     10.0.5.556     <br>     10.0.5.558     <br>     Crystal Reports     <br><br>
    u2frdef.dll     <br>     10.0.5.23     <br>     10.0.5.25     <br>     Crystal Reports     <br><br>
    u2frec.dll     <br>     10.0.5.545     <br>     10.0.5.547     <br>     Crystal Reports     <br><br>
    u2fsepv.dll     <br>     10.0.5.59     <br>     10.0.5.62     <br>     Crystal Reports     <br><br>
    u2ftext.dll     <br>     10.0.5.591     <br>     10.0.5.604     <br>     Crystal Reports     <br><br>
    u2fxml.dll     <br>     10.0.5.582     <br>     10.0.5.584     <br>     Crystal Reports     <br><br>
    ufmanager.dll     <br>     10.0.5.30     <br>     10.0.5.32     <br>     Crystal Reports Professional For Windows     <br><br>
    UndoManager.dll     <br>     10.0.5.587     <br>     10.0.5.1017     <br>     Report Application Server     <br><br>
    vle.dll     <br>     10.0.5.587     <br>     10.0.5.904     <br>     VLE Module     <br><br>
    vle_res_en.dll     <br>     10.0.5.587     <br>     10.0.5.904     <br>     VLE Module     <br><br>
    webReporting.dll     <br>     10.0.5.855     <br>     10.0.5.1509     <br>     WebReporting Module     <br><br>
    x3dapen.dll     <br>     10.0.5.548     <br>     10.0.5.550     <br>     Crystal Reports     <br><br>
    x3ddken.dll     <br>     10.0.5.554     <br>     10.0.5.556     <br>     Crystal Reports     <br><br>
    x3dmpen.dll     <br>     10.0.5.549     <br>     10.0.5.550     <br>     Crystal Reports     <br><br>
    x3dpten.dll     <br>     10.0.5.560     <br>     10.0.5.562     <br>     Crystal Reports     <br><br>
    x3dvmen.dll     <br>     10.0.5.20     <br>     10.0.5.21     <br>     Crystal Reports     <br><br>
    x3fcpen.dll     <br>     10.0.5.537     <br>     10.0.5.539     <br>     Crystal Reports     <br><br>
    x3fcren.dll     <br>     10.0.5.552     <br>     10.0.5.554     <br>     Crystal Reports     <br><br>
    x3foden.dll     <br>     10.0.5.556     <br>     10.0.5.558     <br>     Crystal Reports     <br><br>
    x3frcen.dll     <br>     10.0.5.545     <br>     10.0.5.547     <br>     Crystal Reports     <br><br>
    x3frden.dll     <br>     10.0.5.23     <br>     10.0.5.25     <br>     Crystal Reports     <br><br>
    x3fsven.dll     <br>     10.0.5.59     <br>     10.0.5.61     <br>     Crystal Reports     <br><br>
    x3ftxen.dll     <br>     10.0.5.591     <br>     10.0.5.603     <br>     Crystal Reports     <br><br>
    x3fxmen.dll     <br>     10.0.5.582     <br>     10.0.5.584     <br>     Crystal Reports     <br><br>

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

  • Reusable Components outside ADF app

    Hi,
    If I create in JDev 11 declarative reusable component based on standard JSF components or Trinidad (without any ADF parts), can I use this component outside ADF applcation e.g. in application created with Seam and RichFaces. This question covers both - technical possibilities and licensing.
    Kuba

    anyone ? :)

  • Tutorial - Building Business Components

    I am using Oracle JDeveloper3.0 (Build 532) on Windows NT. I am trying to work through the above tutorial, but when I try to invoke the Business Components or New Entity Objects, nothing happens.
    Have not installed some components correctly ? Do I need to make any changes to the Gallery.INI file ?
    Thank you very much for your response..
    Sudarshan

    Sudarshan,
    It should never be necessary for you to edit your gallery.ini to get default installation behavior.
    Are you sure you sucessfully installed JDeveloper?
    My JDeveloper 3.1 Gallery.ini looks as pasted below. Yours should look similar.
    You may have to re-install.
    I hope this helps,
    -John
    [Gallery_Params]
    snippetStorage=E:\JD31\snippets\en
    left=241
    top=88
    width=518
    height=347
    locale=en_US
    [Gallery_Pages]
    Page1=Objects
    Page2=Business Components
    Page3=Web Objects
    Page4=Beans
    Page5=Snippets
    [Gallery_Page1]
    wizard=Application=oracle.jdeveloper.wizard.application.ApplicationWizard
    wizard=Applet=oracle.jdeveloper.wizard.applet.AppletWizard
    wizard=Frame=oracle.jdeveloper.wizard.frame.FrameBuilder
    wizard=Panel=oracle.jdeveloper.wizard.panel.PanelBuilder
    wizard=Dialog=oracle.jdeveloper.wizard.dialog.DialogBuilder
    wizard=Class=oracle.jdeveloper.wizard.cls.ClassBuilder
    wizard=Enterprise JavaBean=oracle.jdeveloper.wizard.ejb.NewEJBWizard
    wizard=CORBA Server Object=oracle.jdeveloper.wizard.corba.CORBAWizard
    wizard=SQLJ File=oracle.jdeveloper.wizard.sqlj.NewSqljBuilder
    wizard=SQL File=oracle.jdeveloper.wizard.sqlplus.NewSQLPlus
    wizard=IDL File=oracle.jdeveloper.wizard.idl.NewIdl
    snippet=Standard Menus - AWT=StandardMenu.snippet=StandardMenu.gif
    snippet=Standard Menus - JFC=SwingMenu.snippet=JFCStandardMenu.gif
    wizard=Business Components Data Form=oracle.jdeveloper.wizard.formgen.dacform.DACFormWizard
    [Gallery_Page2]
    wizard=Business Components=oracle.jbo.dt.ui.main.DtuAppAddin
    wizard=Entity Object=oracle.jbo.dt.ui.entity.EOAddin
    wizard=View Object=oracle.jbo.dt.ui.view.VOAddin
    wizard=View Link=oracle.jbo.dt.ui.viewlink.VLAddin
    wizard=Association=oracle.jbo.dt.ui.assoc.ASAddin
    wizard=Package=oracle.jbo.dt.ui.pkg.PKAddin
    wizard=Application Module=oracle.jbo.dt.ui.module.AMAddin
    wizard=Domain=oracle.jbo.dt.ui.domain.DOAddin
    [Gallery_Page3]
    wizard=HTML=borland.jbuilder.wizard.app.NewHtml
    wizard=JSP=oracle.jdeveloper.wizard.app.NewJsp
    wizard=HTTP Servlet=oracle.jdeveloper.wizard.servlet.ServletWizard
    wizard=DB Servlet=oracle.jbo.dt.ui.formgen.dbservlet.DbServlet
    wizard=Web Bean=oracle.jbo.dt.ui.wizards.webbean.WebBeanWizard
    wizard=Business Components JSP Application=oracle.jbo.dt.ui.wizards.webapp.WebAppWizard
    [Gallery_Page4]
    wizard=Bean=oracle.jdeveloper.wizard.bean.BeanBuilder
    wizard=BeanInfo=oracle.jdeveloper.wizard.bean.BeanInfoBuilder
    wizard=Customizer=oracle.jdeveloper.wizard.bean.CustomizerBuilder
    wizard=Property Editor=oracle.jdeveloper.wizard.bean.PropertyEditorWizard
    wizard=EventSet=oracle.jdeveloper.wizard.bean.EventSetWizard
    wizard=Oracle Forms PJC=oracle.jdeveloper.wizard.pjc.OracleFormsBuilder
    wizard=Enterprise JavaBean=oracle.jdeveloper.wizard.ejb.NewEJBWizard
    [Gallery_Page5]
    snippet=Example Snippet=ExampleSnippet.snippet=ExampleSnippet.gif
    snippet=Example JServer/EJB Client=ExampleJSEJBClient.snippet=ExampleEJBClient.gif
    snippet=Example OAS/EJB Client=ExampleOASEJBClient.snippet=ExampleEJBClient.gif
    snippet=Example JServer/CORBA Client=ExampleCORBAClient.snippet=ExampleCORBAClient.gif
    snippet=Example Wizard/Addin=ExampleWizard.snippet=ExampleWizard.gif
    null

  • Advise needed on writing reusable components/customizations

    My application requires heavy styling of the DataGrid
    control. Some of it is plain for the looks of things and the others
    are for data visualization.
    Many, if not all of the styling customizations will be
    interesting for reuse in other projects as well, so that I am
    attempting to create them as generic components in a library.
    Now, on one hand I would like each customization be its own
    component (be it an extended class in ActionScript or an MXML
    component) so that I can pick and chose them as needed for other
    projects. But then how do I combine a couple of styles for a
    DataGrid if each one of them is an extension of the DataGrid class?
    For example, I would have Style1DataGrid.as,
    Style2DataGrid.as, and Style3DataGrid.as and would like to use
    "styles" 1 and 3 for my applicationA and "styles" 2 and 3 for my
    applicationB.
    How should I go about this kind of reuse? What
    method/approach do you use for such a scenario?
    Thanks

    There are a few stept involved.
    1 To be able to pass a comma delimited list of items you are interested in, you need to change the lovPopup.jsp to take an extra parameter, e.g. <bean:parameter id="lovDescriptorAttributeNames" name="lovDescriptorAttributes" value=""/>
    2 Modify the JavaScript function jspLovPopup to take this as a (string) parameter. In this function you use this string to find the items in the calling form and put pointers to these items in a global variable.
    3 Change the lovSearchResults.jsp page to take a comma delimited list of values as a parameter.
    4 Modify the JavaScript function chooseLovValue to take this as a (string) parameter. In this function you copy these values to the items in the global variable with pointers.
    Jan Kettenis
    JHeadstart Team

  • Creating reusable components

    What is the best way to create a custom component that can be
    used by more than one flex application? For example, I've made a
    component that I want to be able to use in both a web flex
    application, and one the runs on AIR.
    Is there a way to add my own controls permanently to Flex
    Builder 3 ?

    You would create a library (SWC) for this. Then include your
    library in the project settings. Otherwise, if you need to tweak
    things the general convention is to put your component AS or MXML
    files in src/com/yourdomain/yourcomponent.

  • Error when building ESS components within NWDI for NW2004s

    Hi I am trying to import thr ESS version 100 source code into the JDI.
    I get the following errors
    An internal server error occurred. Please refer to SAP note 774339 for more details on how to analyse the error condition.
    Unclosed Statement detected when suspending session: com.tssap.dtr.pvc.basics.transaction.PreparedStatementReleasingConnection[insert into PVC_VSetElement( versionID , versionSetID , objectID , modOperation , isImported , deactivated , creationTime , lastModified , autoversion , activationSeqNo ) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]
    Thanks
    Theo

    In case you have not solved this. This seems a problem with your DB. Try to redeploy your dbschema. I had a similar problem and this solved it for me.
    Regards,
    Christophe

  • How do I set a breakpoint in a Java Server page (.jsp)?

    I have set up an application for remote debugging and am able to connect to it from JDeveloper. When the code execution comes to breakpoints that I have set in java (.java) files they work and the application stops so I can debug etc.
    This also applies to breakpoints set in java code that is called from Java Server pages.
    However if I set breakpoints directly in a java server page whether it is in html code or in java code (such as scriplets) the execution does not stop and the breakpoints are ignored.
    Why? Is there some extra thing I have to do? I have tried in Project Properties/Run/Debug/Profile/Edit/Launch Settings to choose server as Virtual Machine for instance but that does not change anything.
    Comment. I do not know if this is of interest but I am going to add some java server pages to an application and they are defined in a directory like this:
    . . . src\org\yawlfoundation\yawl\resourcing\jsf\jsp
    but when the tomcat deploys the .war file they end up here:
    . . . apache-tomcat-6.0.18\webapps\resourceService
    As I can find no package declaration in a .jsp file this should not matter but I mention it anyway.
    Edited by: user10477024 on Nov 25, 2008 5:32 AM

    Hi user10477024,
    thanks for explaining your background on what you are trying to do and I do understand the approach you are taking. Unlike user10689900's completely random post.
    I've tried to convey why there is no support for JSP debugging in JDev, but again the main reason is that the current frameworks do not code Java directly into a JSP. The JSP is purely used to position the components on the page aiding visual design and real Java classes in tag libs do the rest.
    So the evolution has been:
    Servlets (Java classes writing HTML logic and intermingling presentation and business logic)
    JSP 1.0 JSP (HTML looking) files where you can add scriptlets enclosed in <% ... %> <- you are here
    JSP 1.1 Introduction of Tags and Tag libraries, tag libraries are true java classes and the JSP controls layout and simpler more elegant design.
    Really JSP 1.1 is all about building reusable components together in tag libraries that can be reused across pages and improving design by not mixing presentation and business logic code together.
    If I had inherited something as you have, my advice (if you can) would be to code up some tag libraries because it would be a good learning experience and would be very helpful for moving to more advanced frameworks like JSF.
    regards,
    Brenden

  • Reusable pluggable Components

    Hi,
    Please name, suggest some J2EE Reusable Components that I can develop.
    The Components can use any or all of these
    Java, JSP, Struts, JDBC, XML, XSL and so forth -
    even webservices
    Thanks in advance.

    If you're not smart enough to think of them, you're not smart enough to build them.

  • Reusable JSF components - bundling a converter with a text field

    I am trying to create reusable text fields for different types of data (notes, amounts, percentages) that will use a JSF converter to implement formatting.
    Here is what I have done
    - created an application in JDeveloper that contains my components as JSF declarative components
    - created the Converter classes
    - registered the converter classes in faces-config.xml of the reusable components project
    - added my Converters to the inputText fields for each of my declarative components using the property palette
    - deployed the components as a jar file using the ADF Library Jar File archive type
    - created a second application to act as a consumer of the components
    - imported the jar file into the component palette using a file system connection
    - added the jar file to the active project's component library
    - added a converter entry for the converter I am trying to use to this project's faces-config.xml
    - created a consumer jspx page and dragged and dropped the control onto the page
    I put some system.outs in the getAsString() and getAsObject() methods of the converter I am trying to use and they are not output when I run the page. I've also set breakpoints in those methods to see if they are being called.
    I have no indication that my converter is being called.
    Can someone please confirm that what I am trying to do is possible using the declarative components?
    Any insight appreciated.
    Dave

    Actually this is working. I made the incorrect assumption that getAsString() in the converter class would be called on the initial request.
    Another thing I just noticed is that it is not necessary to reference the converter in the faces-config.xml of the consuming project. Not sure how this works, but its a nice feature :)

  • Create reusable jsf components as jsf components

    Hi
    I'm new to JSF (and J2EE in general, I used to use WebObjects a decade ago). I'm using JSF 1.2
    so, I'd like to know if it is possible to create reusable jsf components designing some jsp page ?
    I'm particularly interressed in reusable components that, when used, are not leafs in the html trees (but so support that the reusing page provide some piece of html to be put "inside")
    Is there any way to do that ? (WebObjects, a decade or so ago, allowed to do that...)
    Thanks for your help
    cd

    Use Facelets instead of JSP. Then you can make use of ui:composition for this.
    By the way, J2EE is dead, it's called Java EE now. This keyword must give you more r|decent Google results.

Maybe you are looking for

  • How can I tell if a contact deleted or deactivated...

    Is there a way to tell if a contact has deleted or deactivated their account? This person is my only contact and on my profile it says I have 0 contacts, but I can still see all their profile details.

  • Playing MP4 files in published Captivate 6.01

    Help!! I have added an MP4 file (7MB) to a slide using Captivate 6 and it plays fine in preview mode but not when I publish the project. I checked to make sure that I have all of the updates for Captivate installed. I am not using a media server as t

  • Video doesn't play over the internet

    Hello guys, I have an applet using JMF (JMF is installed on my local system). i have placed the applet on a remote server (win 2000, IIS). The applet works perfectly locally but not from the server, can someone plz tell me why... this is the error i

  • Can't download free movies

    Hey just wanna know how do I download free movies from toxicwap,because it downloads but it doesn't play on my phone

  • Mail spotlight is now wacked!??

    The search function in Mail is no longer working properly. for example: find "Bob" in "All Mailboxes" within "Entire Message." There are actually 50 messages that contain "Bob," however Mail shows 0 found. Is there any way to get the search (spotligh