Defining Namespace of an itemRenderer

Hello,
I want to create an instance of an itemRenderer by using
ActionScript, like:
.. passingVar="{new itemRenderer()}" ...
But the problem is, the itemRenderer relies on a sub
directory.
I tried to define a namespace for datagrid itemrenderers
like: xmlns:mx.controls.dataGridClasses.DataGridItemRend
erer="item_renderer.*"
This would maybe work if I used mx-tags for defining the
renderer, but I do it by ActionScript.
I have no idea how to set another namespace, so "new
itemRenderer()" would find the correct mxml-Script.
Any ideas? Thanks.

I found the solution:
import item_renderer.*;
... passingVar="{new ClassFactory(dataGridTextAreaView)}"...

Similar Messages

  • How to define namespace with one XSD using in two different DB-Locations ?

    I'm not clear,How to define namespace, targetnamespace, schemaLocation or NoNamespaceSchemaLocation
    when using one common schema.xsd-definition
    in two different database-locations for exchange xml-documents?
    when insert xml-document I've got an error ORA-30937
    do you have an good exsample ?
    thanks
    Norbert
    schema :
    <xs:schema
    xmlns="http://sourcehost.com/namespace"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:oraxdb="http://xmlns.oracle.com/xdb"
    targetNamespace="http://sourcehost.com/namespace"
    xml-document :
    xmlns="http://Sourcehost.com/namespace"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:SchemaLocation="http://sourcehost.com/namespace http://desthost:8080/sys/schemas/PUBLIC/ADRESSEN.XSD">
    SQL> insert into ADRESSEN values
    (XMLType
    (bfilename ( 'XMLIMPORT_DIR', 'adressen.xml')
    , 0 )
    --> error :
    ORA-30937: No Schemadefinition for "SchemaLocation" (Namespace "http://www.w3.org/2001/XMLSchema-instance") in übergeordnetem Knoten "/ADRESSEN"

    Norbert
    The schema location used to register the XML schema with XML DB does not need to be a valid URL for accessing the XML Schema
    I can use the same URL , for instance
    http://xmlns.example.scom/xsd/myXMLSchema.xsd
    on machines dbserver1, and dbserver2. The only reason some people choose to use the hostname / portnumber convention is that this makes it possible to validate the XML Instance documents against the copy of the XML schema stored in the XML DB repository using an external tool like XMLSpy without have to add entries to XMLSpy's OASIS catalog files.
    I am concerned about the message you are getting. That's not correct AFAICT but I'd need to see the complete XML Schema and Instance to be sure.

  • Define namespaces at element level

    hi,
    Is it possible to define namespaces at element level. Consider the Below xml file, for which i have to generate a single XSD( not seperate XSD for every namespace)
    <sap:Envelope xmlns:sap="urn:sap-com:document:sap" version="1.0">
      <sap:Header xmlns:rfcprop="urn:sap-com:document:sap:rfc:properties">
        <saptr:From xmlns:saptr="urn:sap-com:document:sap:transport">SAPXX</saptr:From>
        <saptr:To xmlns:saptr="urn:sap-com:document:sap:transport">SAPYY</saptr:To>
      </sap:Header>
      <sap:Body>
        <rfc:ZINSERT xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
          <CARRID></CARRID>
          <CONNID></CONNID>
          <FLDATE></FLDATE>
        </rfc:ZINSERT>
      </sap:Body>
    </sap:Envelope>
    Regards,
    Siva Maranani

    Hi Siva,
    I fear there is no chance. The XSD specification requires to build one separate schema document for each namespace used. If you need to have all information in one document you can create a WSDL document that contains several schemas in its types-section.
    However, then you would need to make use of the WSDL standard which is build on top of the XSD standard.
    Greetings    Stephan

  • How to see all attributes of a particular namespace in a context

    I can see the value of a attribute for a partiuclar namespace using following query
    select sys_context ('USERENV','TERMINAL') FROM DUAL;
    select sys_context ('USERENV','DB_NAME') FROM DUAL;
    but, how to find out all attributes for a given namesapce like here 'USERENV' or any user defined namespace. Is there any query or dba view which will list all attributes for a given namespace
    Thanks for your help

    This is table called DICT, where you can find many other things.
    SS
    SQL> select * from dict where table_name like '%CONTEX%'
      2  /
    TABLE_NAME
    COMMENTS
    ALL_CONTEXT
    Description of all active context namespaces under the current session
    USER_EVALUATION_CONTEXTS
    rule evaluation contexts owned by user
    ALL_EVALUATION_CONTEXTS
    rule evaluation contexts seen by user
    USER_EVALUATION_CONTEXT_TABLES
    tables in user rule evaluation contexts
    ALL_EVALUATION_CONTEXT_TABLES
    tables in all rule evaluation contexts seen by the user
    USER_EVALUATION_CONTEXT_VARS
    variables in user rule evaluation contexts
    ALL_EVALUATION_CONTEXT_VARS
    variables in all rule evaluation contexts seen by the user
    ALL_POLICY_CONTEXTS
    All policy driving context defined for all synonyms, tables, or views accessable to the user
    USER_POLICY_CONTEXTS
    All policy driving context defined for synonyms, tables, or views in current schema
    9 rows selected.

  • Extending a component which already extends a spark list ItemRenderer

    Hello everyone,
    I have the following situation: Im displaying lists of very similar data objects (they extend the same parent) so in order to avoid a lot of changes to many itemrenderers (if i need to change something in the common properties) when displaying this data, i defined a spark list ItemRenderer (in MXML) which displays the common properties (file called BaseRenderer.mxml):
    <s:ItemRenderer>
         //in the script section i override the set data property
         //some MXML labels, checkboxes, etc
    </s:ItemRenderer>
    Then i created a specific itemrenderer which extended it (file SpecificRenderer.mxml):
    <model:BaseRenderer>
         //again i override the set data property
         //some ADITIONAL MXML labels, checkboxes, etc
    </model:BaseRenderer>
    When i run the app, and when the specific renderer is used, it works (no errors are thrown) , but it only shows the content of specific renderer, nothing from base renderer is visible. Is this the right way to do this, or do i have to override some additional stuff in my specific renderers?
    Thank you.
    One more thing, i just noticed, if i remove all MXML tags from specific renderer, the content from base renderer becomes visible, seems as if specific content overrides base content. Is there a way to add mxml tags into the specificrenderer?

    Yes i suspected them to be merged, and you gave me a great idea. As you say this behavior is true across all mxml defined components, not just itemrenderers. I want to avoid actionscript renderers because i dont (and wont) have any performance issues anyway and i like flexibility in design view, so instead i found another solution which i slightly modified. Some spark components inherit property mxmlContent, which you can override. This is what i came up with in the end: I added the property override into specific renderer and everything is shown as expected (because base elements are merged with the ones from extended component).
    override public function set mxmlContent(value:Array):void {
                                            var adding:Boolean = true;
                                            var index:int = 0;
                                            while (adding) {
        var element:IVisualElement = null;
        try {          element = super.getElementAt(index); } catch(e:Error) {          }
        if ( element != null )  {
           value.push(element);
           index += 1;
        else
          adding = false;
                                            value.reverse();
                                            super.mxmlContent = value;

  • [svn] 2716: SDK-15848 - Conditional compilation constants defined in flex-config. xml are never used if a single constant is specified on the command line

    Revision: 2716
    Author: [email protected]
    Date: 2008-08-04 01:18:12 -0700 (Mon, 04 Aug 2008)
    Log Message:
    SDK-15848 - Conditional compilation constants defined in flex-config.xml are never used if a single constant is specified on the command line
    * There's a possibility this will break a conditional complication test which disallows overwriting an existing definition -- I don't know if that will break the build, but the test should be removed either way.
    * Using append syntax ("-define+=" on the command line or ant tasks, or append="true" in flex-config) and redefining a value works now if you use an already-defined namespace and name.
    * So your flex-config may have -define=CONFIG::debug,false, and you may want -define+=CONFIG::debug,true from the commandline build, or FB build.
    * Made the ASC ConfigVar fields final as a sanity check since overwriting is now allowed. It would be harder to track changes and subtle bugs if they were mutable. This means that you must build a new ConfigVar object if you need to make changes.
    Bugs: SDK-15848
    QA: Yes. Please read the updated javadocs in CompilerConfiguration. Tests need to be added to validate that overwriting is allowed, and happens correctly in different situations: I believe the order should be that flex-config is overwritten by a custom config (can we have more than one user config? is the order deterministic? I forget...), is overwritten by commandline or OEM. Did I miss any? (I didn't write code which changes this, it works however the existing configuration system allows overwriting and appending; if we have tests for that, maybe we don't need them duplicated for this feature.)
    Doc: Yes. Please read the updated javadocs in CompilerConfiguration.
    Reviewer: Pete
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-15848
    http://bugs.adobe.com/jira/browse/SDK-15848
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/ConfigVar.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMConfiguration.java

    Please note: I AM USING:
    JkOptions ForwardKeySize ForwardURICompat -ForwardDirectories
    And that's what's supposed to fix this problem in the first place, right??

  • XML-Tag with own namespace

    Hi all,
    i have a scenario RFC-> XI -> SOAP-XML. But in SOAP-XML i have to use own namespace für each XML-Tag, e.g. <xyz:name>. Should i write a java mapping programe? Is there another way?
    regards,
    Fanglin

    I think you want to define namespace prefix for each tag. Use XMLANONYMIZERBean .  Refer this link and scn for the same discussion. You will see plenty of threads.
    http://help.sap.com/saphelp_nw04/helpdata/en/45/d169186a29570ae10000000a114a6b/content.htm

  • How to select XML value for a namespace when multiple namespaces

    Hi,
    I'm a beginner with this, but I'm doing well with your help from this forum in a recent post selecting out all the detail from my xml
    out into my oracle relational tables. Stumped, though, on how to select a value for xml tag value referenced by a defined namespace.
    Version, XML, what I want to select, and attempted sql is below. Thanks in advance!
    select * from V$VERSION
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for Solaris: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    drop table TRANSCRIPT;
    create table TRANSCRIPT (
    CONTENT xmltype
    <?xml version="1.0" encoding="UTF-8"?>
    <arb:AcademicRecordBatch xmlns:arb="urn:org:pesc:message:AcademicRecordBatch:v1.0.0">
      <hst:HighSchoolTranscript xmlns:hst="urn:org:pesc:message:HighSchoolTranscript:v1.0.0" xmlns:ct="http://ct.transcriptcenter.com">
       <TransmissionData>
          <DocumentID>2013-01-02T09:06:15|D123456789</DocumentID>
       </TransmissionData>
       <Student>
                <Person>
                    <Name>
                        <FirstName>John</FirstName>
                        <LastName>Doe</LastName>                   
                    </Name>
                </Person>
                <AcademicRecord> 
                    <AcademicSession>
                        <Course>
                            <CourseTitle>KEYBOARD 101</CourseTitle>
                            <UserDefinedExtensions>
                              <ct:TranscriptExtensions>
                                 <NCESCode>01001E010456</NCESCode>
                                 <CourseRigor>1</CourseRigor>
                              </ct:TranscriptExtensions>
                          </UserDefinedExtensions>
                        </Course>
                        <Course>
                            <CourseTitle>SCIENCE 101</CourseTitle>
                            <UserDefinedExtensions>
                              <ct:TranscriptExtensions>
                                 <NCESCode>01001E010457</NCESCode>
                                 <CourseRigor>2</CourseRigor>
                              </ct:TranscriptExtensions>
                          </UserDefinedExtensions>                       
                        </Course>
                    </AcademicSession>
                    <AcademicSession>
                        <Course>
                            <CourseTitle>MATH 201</CourseTitle>
                            <UserDefinedExtensions>
                              <ct:TranscriptExtensions>
                                 <NCESCode>01001E010458</NCESCode>
                                 <CourseRigor>2</CourseRigor>
                              </ct:TranscriptExtensions>
                          </UserDefinedExtensions>                                 
                        </Course>
                    </AcademicSession>
             </AcademicRecord>
       </Student>
      </hst:HighSchoolTranscript>
    </arb:AcademicRecordBatch>I want to be able to select the NESCODE associated to each coursetitle (01001E010456, 01001E010457, 01001E010458), with NESCode defined by namespace, but getting out NULL.
    DOCUMENTID     LASTNAME     COURSETITLE     NCESCODE
    2013-01-02T09:06:15|D123456789     Doe     KEYBOARD 101     
    2013-01-02T09:06:15|D123456789     Doe     SCIENCE 101     
    2013-01-02T09:06:15|D123456789     Doe     MATH 201     
    My SQL is below. You'll see where I commented out a couple failed alternatives too. Thanks again in advance for any guidance.
       select x0.DocumentID
             ,x1.LastName
             , x3.CourseTitle
             ,x3.NCESCode
      from TRANSCRIPT t
         , xmltable(                                                                                   
             xmlnamespaces(
               'urn:org:pesc:message:AcademicRecordBatch:v1.0.0' as "ns0"
             , 'urn:org:pesc:message:HighSchoolTranscript:v1.0.0' as "ns1"
            --, 'http://ct.transcriptcenter.com'                               as "ns1b" 
          , '/ns0:AcademicRecordBatch/ns1:HighSchoolTranscript' 
            passing t.content
            columns DocumentID       varchar2(40) path 'TransmissionData/DocumentID'
                       , Student xmltype      path 'Student'     
          ) x0
       , xmltable(
            '/Student'
            passing x0.Student
            columns LastName varchar2(20) path 'Person/Name/LastName'                       
                        ,AcademicRecord   xmltype      path 'AcademicRecord' 
          ) x1          
       , xmltable(
            '/AcademicRecord/AcademicSession' 
            passing x1.AcademicRecord
            columns GradeLevel varchar2(20) path 'StudentLevel/StudentLevelCode'
                  , Courses      xmltype      path 'Course'
          ) x2
              , xmltable(
              xmlnamespaces('http://ct.transcriptcenter.com'  as "ns2b")
              , '/Course'
            passing x2.Courses
            columns CourseTitle varchar2(40) path 'CourseTitle'
                         ,NCESCode  varchar2(20) path 'UserDefinedExtensions/ns2b:ct/NCESCode'
                         --,NCESCode  varchar2(20) path 'UserDefinedExtensions/ns2b:ct/TranscriptExtensions/NCESCode'                     
          ) x3
               

    <<I'm assuming there is more to your XML than you showed, since
    StudentLevel/StudentLevelCode
    is not in the XML, but is in your query. >>
    Yes, to simplify, I left out some of the additional XML data, which is typically present, sorry for any confusion. I should have removed those references to that data in my example which was failing to retrieve the NCESCode data which was denoted by that namespace.
    Thank you very much! Your correction worked. I was not understanding until your correction how to properly reference in the XPATH for that namespace value. I'm a newbie at this, and this is my second post. But I've been able to populate quite a few relational tables and that was the first of several namespace tags I will have to deal with next, and with that help, I should be good with that syntax now.
    Thanks again for your help on this.

  • Implication of Namespace Prefix

    Hi All,
    Something I need to understand:
    What is the implication do creating a namespace prefix? For example, I have create a SC with:
    Vendor: trial.com.ex1
    Name: TEST_PROD
    Then I create an SC with:
    Vandor: trial.com.ex1
    Name: TEST_SC
    Now I create a Development Component namespace prefix as trial.com.ex1/TEST.
    Now I go to my developer studio and create a DC with Vendor: trial.com (note: I didn't give trial.com<b>.ex1</b>).
    Name: trialdc
    What effect will this have on my build? Should it have allowed me to create a DC with this vendor? Or is this some other Development Component and has nothing to do with the DC I created. I am basically trying to understand the significance of the namespace prefix w.r.t. the categories.
    My concepts about the namespaces are not clear and I couldn't find any satisfactory explanation for this.
    Nirav

    My personal experience is that it takes a while for a defined namespace prefix to become available in the NWDS. In our case it seemed not get there at all, so we triggered an Update CMS and restarted our NWDS's. After a while the namespace prefix became available, but we're not sure if that was because of the Update CMS.
    Note that you must have defined a NameServer Configuration in the DTR for these namespace prefix definitions to become available at all in your NWDS.
    Once you have this working correctly, you will not be able to use something different than what has been defined in your NWDS as you were able to do now. On the other hand I don't think using this other vendor will give you any trouble.
    Message was edited by: Pascal Willemsen

  • Extract fails when namespace present

    I'm receiving xml results from a SOAP call,
    and am not able to extract attributes or elements
    from the xml when a namespace is present.
    The xml has a defined namespace at the top node, but is
    null 2 nodes down.
    Sample:
    <ImportLeadsResponse xmlns="http://services.wg.com">
    <ImportLeadsResult>
    <importResult count="1" failed="0" xmlns="">
    <lead>
    <steps>
    <step>company: 577813</step>
    <step>individual: 577814</step>
    <step>Survey: 74</step>
    <step>incident: 699006</step>
    <step>workNote: 4014119</step>
    </steps>
    <errors/>
    </lead>
    </importResult>
    </ImportLeadsResult>
    </ImportLeadsResponse>
    This query fails until I remove the
    xmlns="http://services.wg.com" in top node.
    select x.xmldoc.extract('//importResult/@count').getstringval() Result
    from xmldocs x
    Using XMLSpy, I have no problem extracting the attribute.
    I'm running 9.2.0.5

    Hi Antony,
    obvisiosly <extension> is not supported. You have to change the external definition. Extension means, that there are global types referred. How to avoid that?
    Open your file in XML Spy and go to Schema-View, where you see your elements grafical. Open all nodes, the referred global types are yellow marked.
    Mark the "Sequenz" symbol (tree points in it) and draw only a millimeter with control-key. You see as result the same without global definition, of course you have now to delete the global definition (the yellow marked area).
    Regards,
    Udo

  • Web service namespace.

    Could anyone share some documents about web service namespace ?
    TIA,
    -- prabaa !

    Thanks pyounguk,
    Actually we are namespace wsdl's . yes we want the stuffs how to use the namespace for wsdl artifacts and message part operations.
    It will be better if someone can specify some thing for defining namespace for clientside when we use the wsdl file or some useful doc's for that.....
    Thanks
    Mayank

  • Datagrid with checkbox in its column

    In my application I have a datagrid (a custom datagrid -
    CheckBoxDatagrid), whose first colum contains checkbox as
    itemrenderer. There is another column (Latest Version) - this
    column can have two values either "Available" or "Update".
    The requirement here is that, when the page is getting loaded
    then depending on the value of the column "Latest Version" the
    checkboxes will have to be loaded. If the value of the coluem is
    "Available", then the checkbox corresponding to that row should get
    automatically selected as soon as the page gets loaded.
    I am attaching the code snippet below,
    <configure:CheckBoxDataGrid id="swDataGrid"
    initialize="swDataGrid.dataProvider=MaintenanceViewController.softwareList"
    alternatingItemColors="[#ffffff, #ffffff]" paddingLeft="10"
    paddingRight="5"
    allowMultipleSelection="true" width="95%" height="60%"
    paddingBottom="5" selectionColor="#1b77b7"
    verticalGridLines="false"
    creationComplete="{MaintenanceViewController.checkBoxSelect()};">
    <configure:columns>
    <mx:DataGridColumn id="checkBox" dataField="softwarename"
    textAlign="center" headerText=" " width="20" sortable="false"
    itemRenderer="com.pmc.view.tasks.wizard.CheckBoxRenderer"
    editable="false">
    </mx:DataGridColumn>
    <mx:DataGridColumn id="swName" headerText="Software Name"
    dataField="softwarename" width="130"/>
    <mx:DataGridColumn id="cVersion" headerText="Current
    Version" dataField="currentversion" width="80"/>
    <mx:DataGridColumn id="updStatus" headerText="Update
    Status" dataField="updateStatus" width="80"/>
    </configure:columns>
    </configure:CheckBoxDataGrid>
    where, configure = defined namespace.

    "BlueRHBA" <[email protected]> wrote in
    message
    news:go0hkf$2kt$[email protected]..
    > In my application I have a datagrid (a custom datagrid -
    > CheckBoxDatagrid),
    > whose first colum contains checkbox as itemrenderer.
    There is another
    > column
    > (Latest Version) - this column can have two values
    either "Available" or
    > "Update".
    >
    > The requirement here is that, when the page is getting
    loaded then
    > depending
    > on the value of the column "Latest Version" the
    checkboxes will have to be
    > loaded. If the value of the coluem is "Available", then
    the checkbox
    > corresponding to that row should get automatically
    selected as soon as the
    > page
    > gets loaded.
    >
    > I am attaching the code snippet below,
    What is your question? Or are you looking to hire someone to
    fulfill your
    requirement?

  • Unable to load app with rsl

    Please help!!
    My company project has 2 component libraries (swc) and 4-5 separate flex apps that use the 2 component libraries.  So far, the entire project has been build using "merge in code" and it is working fine.  However, some of the applications are getting so big that we need to reduce the overall size of all components and apps.  Using ant (flextask), I try to compile the components and the apps using the framework RSL and I was be able to get everything compiled and linked, but when I try to load one of the application at run time, nothing happens - I got no errors, just a blank, empty default screen.
    pic 1: ant script to compile bs_vo component:
         <!-- Compile component files -->
         <target name="compile" depends="init,doWindows,doUnix" description="Compiles the mxml/as source files">
              <!-- Create the deploy directory if it doesn't exist -->
              <mkdir dir="${deploy.dir}" />
              <mkdir dir="${deploy.dir}/lib" />
              <!-- Compile Flex mxm/as files -->
              <compc output="${swc.export}" locale="${DEFAULT.LOCAL}" debug="${FLEX_DEBUG}">
                   <!-- Define namespace to be referenced in other MXML source files -->
                   <namespace uri="http://bidshift.com/vo" manifest="${manifest.xml.file}" />
                   <include-namespaces uri="http://bidshift.com/vo" />
                   <!-- Load default compiler options -->
                <load-config filename="${FLEX_HOME}/frameworks/${flex.conf.filename}" />
                   <!-- List of path elements that form the roots of ActionScript
                   class hierarchies -->
                   <source-path path-element="${FLEX_HOME}/frameworks"/>
                   <!-- Path of mxml/as source files -->
                   <compiler.source-path path-element="${src.dir}" />
                   <!-- List of SWC files or directories that contain SWC files use to
                        build and include in the component -->
                   <compiler.include-libraries dir="${lib.dir}" append="true">
                        <include name="**/*.swc"/>
                   </compiler.include-libraries>
                   <!-- Do not merge the framework SWC files -->
                   <compiler.external-library-path dir="${FLEX_HOME}/frameworks" append="true">
                        <include name="libs/**/*.swc" />
                        <exclude name="libs/framework.swc" />
                        <exclude name="libs/rpc.swc" />
                   </compiler.external-library-path>
              </compc>
            <!--*****************************************************-->
            <!-- Prepare the RSL so that it can be found at run time -->
            <!--******************************************************-->
            <!-- Extract the SWF file from the SWC file -->
            <unzip src="${swc.export}" dest="${deploy.dir}/lib">
                <patternset>
                    <include name="library.swf" />
                </patternset>
            </unzip>
            <!-- Run the flex optimizer on the extracted SWF so that it does not
                 contain any debug code or unnecessary metadata.  Note that the
                 as3 metadata that's kept, it's required -->
            <exec executable="${flex.optimizer}" dir="." failonerror="true">
                <arg line="-input ${deploy.dir}/lib/library.swf -output ${deploy.dir}/${application.name}.swf" />
                <arg line="-keep-as3-metadata='Bindable,Managed,ChangeEvent,NonCommittingChangeEvent,Transient'" />
            </exec>
            <!-- Delete the unoptimized SWF, don't need it anymore -->
            <delete file="${deploy.dir}/lib/library.swf" />
            <!-- Restore the digest from catalog.xml -->
            <exec executable="${flex.digest}" dir="." failonerror="true">
                <arg line="-digest.rsl-file ${deploy.dir}/${application.name}.swf" />
                <arg line="-digest.swc-path ${swc.export}" />
            </exec>
         </target>
    pic 2:  ant script to compile bs_comp component which includes bs_vo as dependency
         <!-- Compile component files -->
         <target name="compile" depends="init,doWindows,doUnix" description="Compiles the mxml/as source files">
              <!-- Create the deploy directory if it doesn't exist -->
              <mkdir dir="${deploy.dir}" />
              <mkdir dir="${deploy.dir}/lib" />
              <!-- Compile Flex mxm/as files -->
              <compc output="${swc.export}" locale="${DEFAULT.LOCAL}" debug="${FLEX_DEBUG}">
                   <!-- Define namespace to be referenced in other MXML source files -->
                   <namespace uri="http://bidshift.com/component" manifest="${manifest.xml.file}" />
                   <include-namespaces uri="http://bidshift.com/component" />
                   <namespace uri="http://mikenimer.com/component" manifest="${nimer.manifest.xml.file}"/>
                   <include-namespaces uri="http://mikenimer.com/component"/>
                   <namespace uri="http://hevery.com/component" manifest="${hevery.manifest.xml.file}"/>
                   <include-namespaces uri="http://hevery.com/component"/>
                   <namespace uri="http://adobe_extra.com/component" manifest="${adobe.manifest.xml.file}"/>
                   <include-namespaces uri="http://adobe_extra.com/component"/>
                   <!-- Load default compiler options -->
                <load-config filename="${FLEX_HOME}/frameworks/${flex.conf.filename}" />
                   <!-- List of path elements that form the roots of ActionScript
                   class hierarchies -->
                   <source-path path-element="${FLEX_HOME}/frameworks"/>
                   <!-- Path of mxml/as source files -->
                   <compiler.source-path path-element="${src.dir}" />
                   <!-- List of SWC files or directories that contain SWC files use to
                        build and include in the component -->
                   <compiler.include-libraries dir="${lib.dir}" append="true">
                        <include name="**/*.swc" />
                   </compiler.include-libraries>
                   <!-- List of SWC files or directories to compile against but to omit
                     from linking -->
                            <compiler.external-library-path dir="${deploy.dir}/lib">
                                 <include name="bs_vo.swc" />
                            </compiler.external-library-path>
                   <!-- Do not merge the framework SWC files -->
                   <compiler.external-library-path dir="${FLEX_HOME}/frameworks/" append="true">
                        <include name="libs/**/*.swc" />
                        <exclude name="libs/framework.swc" />
                        <exclude name="libs/rpc.swc" />
                   </compiler.external-library-path>
              </compc>
            <!--*****************************************************-->
            <!-- Prepare the RSL so that it can be found at run time -->
            <!--******************************************************-->
            <!-- Extract the SWF file from the SWC file -->
            <unzip src="${swc.export}" dest="${deploy.dir}/lib">
                <patternset>
                    <include name="library.swf" />
                </patternset>
            </unzip>
            <!-- Run the flex optimizer on the extracted SWF so that it does not
                 contain any debug code or unnecessary metadata.  Note that the
                 as3 metadata that's kept, it's required -->
            <exec executable="${flex.optimizer}" dir="." failonerror="true">
                <arg line="-input ${deploy.dir}/lib/library.swf -output ${deploy.dir}/${application.name}.swf" />
                <arg line="-keep-as3-metadata='Bindable,Managed,ChangeEvent,NonCommittingChangeEvent,Transient'" />
            </exec>
            <!-- Delete the unoptimized SWF, don't need it anymore -->
            <delete file="${deploy.dir}/lib/library.swf" />
            <!-- Restore the digest from catalog.xml -->
            <exec executable="${flex.digest}" dir="." failonerror="true">
                <arg line="-digest.rsl-file ${deploy.dir}/${application.name}.swf" />
                <arg line="-digest.swc-path ${swc.export}" />
            </exec>
         </target>
    pic 3:  ant script to compile application
         <!-- Compile Main application -->
         <target name="compile" depends="init" description="Compiles the mxml/as source files">
              <!-- get the common styles css files -->
              <copy todir="${src.assets}" includeEmptyDirs="no">
                   <fileset dir="${assets.dir}">
                        <include name="**/*.css" />
                        <include name="**/*.gif" />
                        <include name="**/*.jpg" />
                        <include name="**/*.png" />
                        <include name="**/*.svg" />
                        <include name="**/*.swf" />
                        <include name="**/*.ttf" />
                   </fileset>
              </copy>
              <!-- Compile client flex mxm/as -->
              <mxmlc file="${main.class}"
                   output="${swf.export}"
                   services="${server.conf.dir}/flex/services-config.xml"
                   context-root="${WEBAPP_CONTEXT_ROOT}"
                   use-network="true"
                   actionscript-file-encoding="${ENCODING}"
                   keep-generated-actionscript="false"
                   incremental="false"
                  debug="${FLEX_DEBUG}"
                   static-link-runtime-shared-libraries="false"
                  link-report="${deploy.dir}/bs_employee_calendar_link-report.xml">
                   <!-- Load default compiler options -->
                <load-config filename="${FLEX_HOME}/frameworks/${flex.conf.filename}" />
                   <!-- List of path elements that form the roots of ActionScript class hierarchies -->
                   <source-path path-element="${FLEX_HOME}/frameworks"/>
                   <!-- Path of mxml/as source files -->
                   <compiler.source-path path-element="${src.dir}"/>
                   <!-- List of SWC files or directories that contain SWC files use to
                        build and include in the component -->
                   <compiler.include-libraries dir="${lib.dir}" append="true">
                        <include name="**/*.swc"/>
                        <exclude name="bs_vo.swc"/>
                        <exclude name="bs_comp.swc"/>
                   </compiler.include-libraries>
                   <!--******************************************************-->
                            <!-- Location and other information about an RSL that the -->
                            <!-- application will use                                 -->
                   <!--******************************************************-->
                <!-- Framework RSL linked libraries -->
                <runtime-shared-library-path path-element="${FRAMEWORKS}/libs/framework.swc">
                    <url rsl-url="framework_3.5.0.12683.swz"/>
                    <url rsl-url="framework_3.5.0.12683.swf"/>
                </runtime-shared-library-path>
                <!-- RPC RSL linked libraries -->
                <runtime-shared-library-path path-element="${FRAMEWORKS}/libs/rpc.swc">
                    <url rsl-url="rpc_3.5.0.12683.swz"/>
                    <url rsl-url="rpc_3.5.0.12683.swf"/>
                </runtime-shared-library-path>
                <!-- Third party RSL linked libraries -->
                <runtime-shared-library-path path-element="${flex.src.dir}/deploy/lib/bs_vo.swc">
                    <url rsl-url="bs_vo.swf"/>
                </runtime-shared-library-path>
                <runtime-shared-library-path path-element="${flex.src.dir}/deploy/lib/bs_comp.swc">
                    <url rsl-url="bs_comp.swf"/>
                </runtime-shared-library-path>
              </mxmlc>
         </target>
    Thanks in advance.

    If you are going to use RSLs in a multi-SWF project, it is recommended that
    the first app load the RSLs and the others don't.

  • Vendor Name not appearing in NWDS

    Hi,
    We have successfully installed and made necessary post-installation steps, configurations in our NWDI system. Product, software unit, Software component were created in the SLD and Name Prefixes were also defined. I have also created users for developers in NWDI and SLD, and assigned them with role NWDI.Developer. But when the developers login they could successfully login with an error message login failed and import configuration. when we import this configuration into Developers NWDS and try to create a new DC only sap.com vendor appears and no other vendor is displayed.
    What could be the issue and where i have lost? Kindly suggest on this
    regards,
    Anand

    Hi Anand,
    1.Click on Home link to enter SLD Home. Click on Technical Landscape link under Landscape. 
    2.Select Web AS Java and click on New Technical Landscape button. 
    3.Technical System Wizard will appear. Select Web AS Java and click on Next button
    4.Enter the following configuration for Technical System and click on Finish.
    5.Web AS ABAP: None (Standalone J2EE)
    System Name (SID): J2E
    System Home: <Machine Name> 
    6.Choose System Landscape Directory as the Technical System Type and click on New Technical System.
    7. Select System Landscape Directory as the Technical System Type and click on Next.
    8. Enter the following configuration for Technical System and click on Finish.
    Web AS Java: <instance name> on <machine name>
    Roles: Landscape Server & Name Server both selected.
    CIM Server URL: http://<Machine Name>:<port>/sld/cimom
    Object Server: <Machine Name>
    after that go sld home page
    --> select name Reservation
    Choose Define Namespace Prefix
    Define following prefix:
    Name Category = Development Component Name
    Namespace Prefix = example.org/tech
    Purpose = Used By Developer (default)
    Owner = <user currently logged in>
    Description = can be empty
    Choose button create.
    Define second prefix:
    Name Category = Development Component Name
    Namespace Prefix = example.org/appl
    Purpose = Used By Developer (default)
    Owner = <user currently logged in>
    Description = can be empty
    Choose button create.
    After this Go devinf page and select systemLandscape and select the updateCMS page.
    Now go to the IDE and check that Sap name server appear on the IDE.
    Now its has been solved 100%.
    Please give me reward points,if its help to u
    Thanks,
    Regards,
    Mutyal

  • Asynchronous web service call doesn't work

    Hi,
    I'm trying to convert a synchronous web service call into an asynchronous call. (Folder-level Javascript, Acrobat Professional 8.1, Windows XP).
    Everything works fine when I call Soap.Request as a synchronous call. It calls the web service and gets the expected result. However, when I try to convert Soap.Request into an asynchronous call by adding the OAsync property, as described on pp. 198-199 of "Developing Acrobat Applications Using JavaScript," NONE of the various OAsync functions (i.e. result, response, wait) are ever called. IOW, the Javascript code continues executing after the Soap.Request call and doesn't wait for my web service call to return. Indeed, the web service method on the server doesn't even BEGIN to execute by the time the Javascript code runs to completion. (I can confirm this by watching my ASP.Net code execute in the Visual Studio debugger. In fact, the Javascript code runs to completion even before the Global.asax Session_Start code begins to execute, much less the web service method itself.) So, the problem is not with the web service, which works fine when Soap.Request is called as a synchronous method.
    To reiterate, my Javascript code is identical to the code on pp. 198-199 of "Developing Acrobat Applications Using JavaScript." In troubleshooting this, I've tried calling the OAsync functions (mySync.wait(), mySync.result(), mySync.response()) after calling the Soap.Request, but nothing works.
    Is there something else that I must add to my Javascript code (e.g. an additional Soap.Request property, or something after calling Soap.Request) to force the Javascript to wait until the web service method returns?
    Thanks,
    Bill

    Hi Lukasz,
    you can also define namespace the later in the operation GetOpenOrders itself, e.g.:
    <tem:GetOpenOrders xmlns:tem=u201Dhttp://tempuri.org/u201D>
    It does not need to be part of the Envelope element.
    Best regards
    Bastian

Maybe you are looking for

  • Torch Flashlight app for BlackBerry 10

    Torch Flashlight for BlackBerry 10 is now available on BlackBerry World. The app uses your BlackBerry's camera flash light or screen LED as a portable light. Screenshots available at BlackBerry World. Please feel free to download it and try it out. A

  • No longer printing with Leopard!!

    Since upgrading to Leopard I can no longer print anything on Lexmark x5470 all-in-one, regardless of what program I am using, after asking to print the program crashes. I have reinstalled both Leopard and printer sofware,also latest drivers,but it ma

  • How do I know if a core I5 and 5400 rpm drive is ok for me or if I should get a core I7, 7200 rpm dr

    Buying a new laptop.  My old Dell Inspiron is giving up the ghost. How do I know if a core I5, 5400 rpm drive is good enough for me or if I should get a core I7, 7200 rpm drive laptop?  Also can I get an I5 with 7200 rpm or an I7 with 5400 rpm?  Need

  • Bt home hub manager

    i am told to change my setting i need to go to bthomehub.home but every time i try i get told the the host is not there i have try it about five time now and i get the same message . Solved! Go to Solution.

  • Transfer GOS Attachment (Single/Multiple) from custom program to XK01

    Hi, GOS - Generic Object Service is a way one can attach single / multiple attachment. I have a custom program where there is a GOS with some attachment (used CL_GOS_MANAGER class). Next I need to send / transfer this GOS attachment from my custom pr