SWFElements & ImageElements not unloading on set element

I originally was using a serial element to handle the loading and unloading however due to being unable to seek on a serial element with the current code release or latest from svn (http://forums.adobe.com/thread/552041?tstart=0) I opted to set MediaPlayer element directly for navigating. I now have another issue with the SWFElement or ImageElement not unloading.
If I load VideoElements it seems to work fine however ImageElements and SWFElements stay on display and obscure video elements.
According to the documentation it should remove the prior element when the new element is set.
I even tried to unload them manually with:
                    if(view.mediaContainer.element != null && view.mediaContainer.element.container){
                        view.mediaContainer.element.container.removeMediaElement(view.mediaContainer.element);
I am using the latest from svn because I am trying to get somthing together I can demo. ( I could not get release .8 to work as stated in my other post ). It is dificult to pitch OSMF when the workaround is almost as bad. I am still hopefull though. Any ideas on how to get navigation working in release .8 or svn trunk would be helpful.  Not sure if I should post another bug?
Thank you
Greg

Hi Greg,
I've logged a bug for the seeking issue in TemporalProxyElement - I'll keep you posted on it.
I don't fully understand the unloading issue you mention. I tried setting a SerialElement on the media player with a SWF (wrapped inside a TemporalProxyElement) followed by a VideoElement, and the SWF got unloaded correctly. Do you encounter this problem when you call 'set media()' on MediaPlayer with the VideoElement? Could you post a smaller code sample that reproduces the unloading issue?
One other thing you might try is to log the value of the 'canLoad' property before you set the new MediaElement. It is what determines whether the MediaPlayer will do a courtesy unload of the previous media element (it should return 'true', but just want to make sure). Alternatively, you can force an unload of the previous element by explicitly calling 'unload' on the LoadTrait as follows:
var loadTrait:LoadTrait = player.media.getTrait(MediaTraitType.LOAD) as LoadTrait;
try
{     loadTrait.unload();
catch (e:Error)
     // you can probably simply ignore the error
Let me know if this helps.
Thanks,
Vijay

Similar Messages

  • "The stylesheet does not contain a document element" error

    Hi,
    I'm using Hyperion Financial Management 11.1.1.3
    I successfully created intercompany transactions but when I select the "auto match" to perform the matching process, the running task page ensure that the process is completed successfully. However, when I press "log" I found the following error:
    Error Number:-2147467259
    Error Description:The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML document.
    Error Source:msxml6.dll
    Page On which Error Occurred:/hfm/Administration/ShowRunningTaskLog.asp
    My environment is win server 2003 on a VM and EPM 11.1.1.3
    Thank you and best regards,
    Ahmed.

    Hi taku,
    Yes I've solved my issue.
    Firstly, make sure that the entities and accounts used in the Intercompany Transaction are allowed for ICP in the metadata file by setting the attribute "IsICP=Y" to yes.
    Then, after you press the "Match" button, wait until the process finished and don't open the log. Just close the running task page, after the status showed that it is completed, and open the "process IC transactions" page again you will find the square sign becomes green which means that the transactions are matched.
    I followed the following example on Oracle by Example [http://www.oracle.com/technetwork/middleware/financial-management/tutorials/mictrans-094190.html?ssSourceSiteId=otncn]
    It's about "Managing Intercompany Transactions in Financial Management".
    I wish you can solve your issue soon.
    Best wishes,
    Ahmed.

  • Problem in printing elements of a Set element

    I am using iterator to print the elements of a set as below:
    Set<String> set = new HashSet<String>();
    set.add("element");
    Iterator it = set.iterator();
    while (it.hasNext()) {
                     System.out.println(it.next() + "\n");
    }The above code perfectly prints all the elements in the set.
    I am facing problem when I am trying to store the value of set element in a string and print as below:
    while (it.hasNext()) {
                     System.out.println(it.next() + "\n");
                     String e = (String)it.next();
    System.out.println(e);
    }All the elements in the set are not printed. Why is it behaving like so?

    while (it.hasNext()) {
                     System.out.println(it.next() + "\n");
                     String e = (String)it.next();
    System.out.println(e);
    }You are calling it.next() method twice so it is printing alternate values.
    try this:-
    while (it.hasNext()) {
                     String e = (String)it.next();
                     System.out.println(e + "\n");
    System.out.println(e);
    }

  • UnloadStyleDeclarations not unloading Font

    We are developing an app that will allow the user to choose from any number (30+ and counting) fonts. Each font is being put in its own SWF using a CSS that is compiled to a SWF. Each CSS has no styling, just @font-face entries to include the various weights and styles. But after the user samples ~15 font, the player and browser crash.
    So I added some code to only keep the last 5 SWF by calling unloadStyleDeclarations on the others. But after calling that, the font is still available and usable (if I set the fontFamily, I can still see the "unloaded" font). If I call Font.enumerateFonts(false) the font is still listed there. And after ~15 different fonts are sampled, it still crashes.
    No where in the app do I call Font.registerFont.
    Thinking there was something in the application. I made the following, simple as you get, example, and it does not unload the fonts.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="400" minHeight="600">
        <fx:Script>
            <![CDATA[
                import mx.events.StyleEvent;
                private function LoadFont(swfName:String):void {
                    var myEvent:IEventDispatcher = styleManager.loadStyleDeclarations(swfName, true, false, null, null);
                    //var myEvent:IEventDispatcher = styleManager.loadStyleDeclarations(swfName, true, false, ApplicationDomain.currentDomain, null);
                    myEvent.addEventListener(StyleEvent.COMPLETE, function(evt:StyleEvent):void { FontSWFLoadComplete(swfName, evt); } );
                    lblStatus.text = "Loading " + swfName;
                private function UnLoadFont(swfName:String):void {
                    styleManager.unloadStyleDeclarations(swfName, true);
                protected function FontSWFLoadComplete(swfFilename:String, evt:StyleEvent):void {
                    lblStatus.text = "Finished loading " + swfFilename;
                    ListLoadedFonts();
                private function ListLoadedFonts():void {
                    loadedFonts.text = "";
                    for each (var curFont:* in Font.enumerateFonts(false)) {
                        loadedFonts.text += curFont.fontName + "\r\n";
                [Bindable]
                private var fontName:String = "";
            ]]>
        </fx:Script>
        <s:VGroup>
            <s:HGroup>
                <s:VGroup>
                    <s:Button click="LoadFont('BPdiet.swf');" label="Load BPDiet"/>
                    <s:Button click="UnLoadFont('BPdiet.swf');" label="UnLoad BPDiet"/>
                    <s:Button click="fontName = 'BPDiet';" label="Apply"/>
                </s:VGroup>
                <s:VGroup>
                    <s:Button click="LoadFont('UglyQua.swf');" label="Load UglyQua"/>
                    <s:Button click="UnLoadFont('UglyQua.swf');" label="UnLoad UglyQua"/>           
                    <s:Button click="fontName = 'UglyQua';" label="Apply"/>
                </s:VGroup>
                <s:VGroup>
                    <s:Button click="LoadFont('kids.swf');" label="Load kids"/>
                    <s:Button click="UnLoadFont('kids.swf');" label="UnLoad kids"/>           
                    <s:Button click="fontName = 'Kids';" label="Apply"/>
                </s:VGroup>
                <s:VGroup>
                    <s:Button click="LoadFont('NoFontsStyle.swf');" label="Load NoFonts"/>
                    <s:Button click="UnLoadFont('NoFontsStyle.swf');" label="UnLoad NoFonts"/>           
                    <s:Button click="fontName = '';" label="Apply"/>
                </s:VGroup>               
            </s:HGroup>
                <s:Label id="lblStatus" text="Status Area"/>
            <s:TextArea id="SampleTextArea" width="320" heightInLines="5" fontFamily="{fontName}" fontSize="25" >
                Some sample text to think about
            </s:TextArea>
            <s:Button click="ListLoadedFonts();" label="Reload list"/>
            <s:TextArea id="loadedFonts" width="320" heightInLines="15"/>
        </s:VGroup>   
    </s:Application>
    Interestingly, I will sometimes see [Unload SWF] on the console, and that SWF's font is still able to be used.
    After that didnt work, I did add the following style to one of the CSS files, and when I call unload, that style is removed, but the font is still available as mentioned.
    s|Label {
        fontSize:    15;
        fontFamily: BPDiet;
        color: #FF9933;
    (that made all of the text on the buttons change to the BPDiet font and be orange)
    I'm at a loss on this tacked.  I am now trying something based on info I gleaned from here: Flex and Embedded Fonts by making a SWF that has the font embedded in an .as file and then creating a textfield (text area, heck rendering a bitmap) that uses that embedded font, but thats not working either. I'll bug you all about that if we dont find an answer to unloading the fonts that are in the CSS files.

    Yeah, Fonts in a style module get registered and won't unload.  To have
    unloadable fonts, put the font in a regular module.

  • FI  posting not allowed for WBS Element

    Hi All,
    While doing down payment billing I'm getting error that FI posting is not allowed for WBS element. But FI periods are open for all months in 2008.
    Please suggest how to resolve this issue.
    Regards,
    Harish

    Hello
    Account assignment
    If you want to post actual costs and commitments to a WBS element, you have to indicate that the WBS element is an account assignment element in the WBS. All objects that can be assigned costs and commitments within a project (for example, orders, networks, or purchase orders) can only be assigned to a WBS element if you have set the account assignment indicator for the element.
    In Customizing for the Project System, you can set an indicator to specify that costs are planned for all WBS elements or only for specific WBS elements.
    Billing
    If you want to post revenues to a WBS element, you have to indicate that the WBS element is a billing element in the WBS.
    Reg
    assign points if useful

  • Setting Element in Container

    I am using the folloiwng code to set elements in a workflow container then triggering an event.  The workflow is being triggered and the container is being created but my elements are not being set.  Can someone see the error in my code?
    include
    <cntn01>.
    DATA Container
    define swc_container.
    data begin of &1 occurs 0.
      include structure swcont.
    data end of &1.
    end-of-definition.
    swc_container chkreq.
      swc_create_container chkreq.
             BREAK-POINT.
      checkkey = zcheckrequest-belnr.
      object_key = checkkey.
      chkreq = zcheckrequest-belnr.
      swc_set_element chkreq 'PurchaseType' zreqtype.
      swc_set_element chkreq 'subspubsnumber'  znumber.
      call function 'SWE_EVENT_CREATE'
       exporting
          objtype                       = 'ZREQCHECK'
          objkey                        = object_key
          event                         = 'park'
        tables
          event_container               = chkreq.
      commit work.

    CLaudio,
    I did a debug on the program to see the container elements and they appear to be populated.  But when the workflow starts, the container is empty.  See the bold items below.  Those are the values that I am expecting to see but they are not set in the workflow container.
                                                                                    Table       CHKREQ                                                                 
      Table Type  Standard Table[9x5(297)]                                               
        LineELEMENT[C(32 )]TAB_INDEX[N(6 )]ELEMLENGTH[N(3 )]TYPE[C(1 )]VALUE[C(255 )]    
            VENDOR         000000          010              C                            
        1   AUTHPURCHASE   000000          001              C                            
        2   CONSULTANT     000000          001              C                            
        3   DATASYSTEM     000000          001              C                            
        4   EMPMORALE      000000          001              C                            
        5   FISCYR         000000          004              N          2010              
        6   FOOD           000000          001              C                            
    7   PURCHASETYPE   000000          005              C          RFC
    8   SUBSPUBSNUMBER 000000          005              N          00041
        9   VENDOR         000000          010              C

  • Dreamweaver 2004 MX is not recognizing my form elements

    Has anyone run into a problem with an insert or update server
    behavior not recognizing form elements? I created the page and now
    when I try to make any changes I get an error.
    "Column 'sccb_comments' is mapped to a form element that does
    not exist. Please map the column to an existing form element or set
    its value to 'None'."
    The problem is that the insert dialog box recognizes the
    form, but not any of the elements in it.
    I know that I need to upgrade to CS4, tell my director to
    cough up the funds.

    There must be something else happening on your page. But I
    have no idea
    what that might be. This should work. Sorry.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Reidster" <[email protected]> wrote in
    message
    news:[email protected]...
    > Murray,
    >
    > You replied,
    > "It wouldn't matter. It's perfectly valid to have
    <div> tags in side
    > <form>
    > tags. And it's not DW's preferences you need to worry
    about - it's HTML's
    > preferences, so to speak. I suspect that something else
    entirely is
    > causing the
    > problem. Without seeing your code, though, we cannot
    know what that might
    > be."
    >
    > Sometimes what should work or one would think should
    work doesn't. As in
    > my
    > case, the <div> tags inside my for was the issue.
    Here is the original
    > code
    > that did not allow me to assign form objects to fields
    in my database. The
    > server behavior also displayed an '!' in the application
    window until I
    > moved
    > the <div> tags outside of my form.
    >
    > <form name="frmEditRelease" id="frmEditRelease"
    method="POST"
    > action="<?php
    > echo $editFormAction; ?>">
    > <div id="new_prod_rel">
    > <p><select name="sccb_status"
    id="sccb_status">
    > <option value="0" <?php if (!(strcmp(0,
    > $row_rsEditRelease['sccb_status']))) {echo "SELECTED";}
    ?>>Open</option>
    > <option value="1" <?php if (!(strcmp(1,
    > $row_rsEditRelease['sccb_status']))) {echo "SELECTED";}
    > ?>>Pending</option>
    > <option value="2" <?php if (!(strcmp(2,
    > $row_rsEditRelease['sccb_status']))) {echo "SELECTED";}
    > ?>>Approved</option>
    > <option value="3" <?php if (!(strcmp(3,
    > $row_rsEditRelease['sccb_status']))) {echo "SELECTED";}
    ?>>Denied</option>
    > <option value="4" <?php if (!(strcmp(4,
    > $row_rsEditRelease['sccb_status']))) {echo "SELECTED";}
    > ?>>Deleted</option>
    > <option value="5" <?php if (!(strcmp(5,
    > $row_rsEditRelease['sccb_status']))) {echo "SELECTED";}
    > ?>>Deferred</option>
    > </select>
    > <label for="sccb_status">SCCB Status</label>
    > </p>
    > <p>
    > <select name="sRelease">
    > <?php do { ?>
    > <option value="<?php echo
    $row_rsProj['project_vchar']?>"
    > <?php
    > if (!(strcmp($row_rsProj['project_vchar'],
    > $row_rsEditRelease['release'])))
    > {echo "SELECTED";} ?>><?php echo
    $row_rsProj['project_vchar']?></option>
    > <?php } while ($row_rsProj =
    mssql_fetch_assoc($rsProj));
    > $rows = mssql_num_rows($rsProj);
    > if($rows > 0) {
    > mssql_data_seek($rsProj, 0);
    > $row_rsProj = mssql_fetch_assoc($rsProj);
    > }
    > ?>
    > </select><label for="sRelease">
    Release</label>
    > </p>
    > <p>
    > <select name="lifecycle">
    > <option value="System Reqts." selected="selected"
    <?php if
    > (!(strcmp("System Reqts.",
    $row_rsEditRelease['lifecycle']))) {echo
    > "SELECTED";} ?>>System Reqts.
    > <option value="Analysis" <?php if
    (!(strcmp("Analysis",
    > $row_rsEditRelease['lifecycle']))) {echo "SELECTED";}
    ?>>Analysis
    > <option value="Design" <?php if
    (!(strcmp("Design",
    > $row_rsEditRelease['lifecycle']))) {echo "SELECTED";}
    ?>>Design
    > <option value="Code" <?php if (!(strcmp("Code",
    > $row_rsEditRelease['lifecycle']))) {echo "SELECTED";}
    ?>>Code
    > <option value="Testing Phase 1" <?php if
    (!(strcmp("Testing Phase
    > 1",
    > $row_rsEditRelease['lifecycle']))) {echo "SELECTED";}
    ?>>Testing Phase 1
    > <option value="Testing Phase 2" <?php if
    (!(strcmp("Testing Phase
    > 2",
    > $row_rsEditRelease['lifecycle']))) {echo "SELECTED";}
    ?>>Testing Phase 2
    > <option value="Alpha" <?php if (!(strcmp("Alpha",
    > $row_rsEditRelease['lifecycle']))) {echo "SELECTED";}
    ?>>Alpha
    > <option value="Beta" <?php if (!(strcmp("Beta",
    > $row_rsEditRelease['lifecycle']))) {echo "SELECTED";}
    ?>>Beta
    > <option value="Gen. Release" <?php if
    (!(strcmp("Gen. Release",
    > $row_rsEditRelease['lifecycle']))) {echo "SELECTED";}
    ?>>Gen. Release
    > </select><label for="lifecyle">
    Lifecycle</label>
    > <input name="sub_ticket_id" type="hidden"
    id="sub_ticket_id"
    > value="<?php echo
    $row_rsEditRelease['sub_ticket_id']; ?>">
    > </p>
    > <p>
    > <input <?php if
    (!(strcmp($row_rsEditRelease['test_only'],1)))
    > {echo
    > "checked";} ?> name="test_only" type="checkbox"
    id="test_only" value="1">
    > <label for="test_only">
    Test Only
    > <input name="ticket" type="hidden" id="ticket"
    value="<?php echo
    > $row_rsEditRelease['Ticket']; ?>" />
    > </label>
    > </p>
    > <p><label for="sccb_comments">SCCB
    Comments</label><br /><textarea
    > name="sccb_comments" cols="60" rows="5"><?php echo
    > $row_rsEditRelease['sccb_comments'];
    ?></textarea>
    > </p>
    > <p>
    > <input type="submit" name="Submit" value="Submit"
    />
    > </p>
    > </div>
    > <input type="hidden" name="MM_update"
    value="frmEditRelease">
    > </form>
    >
    > It's not until if move the <div> tags outside of
    the <form> tags does the
    > '!'
    > on the update server behavior go away.
    >
    > Any thoughts?
    >

  • The Firefox 29 process not unloading - I think I've solved the problem I stated at pmcjr's post.

    I went back to basic Firefox 29. Set options etc, then added extensions one by one. Two extensions appear to cause the Firefox process problem in my system. They are 'Disconnect' and 'Colorful tabs'. Extensions I have successfully installed are ADBlock, Https-Everywhere, Better Privacy, Self-destructing Cookies, FlagFox and IMTranslator and all appears OK with all of them running. Add Disconnect or Colorful Tabs and the Firefox process does not unload on exit. They have to be removed, not disabled, for a functioning Firefox. This works for me. I did not have the problem in version 28.

    Updated to 29.0.1. I went through the following:-
    1 - The process did not unload after the update (did restart, reboot).
    2 - Reset Firefox; 'closed' the embarrased notice and back to basic Firefox - no extensions, etc.
    3 - Set options, added all my preferred extensions.
    4 - My Firefox 29.0.1 now seems OK; the process has unloaded every time I close (I use the X). I will advise if the problem reoccurs.

  • Display Help for Field not referred through Data Elements in ALV

    Hi,
    I am working on a report program where the output is in ALV_LIST display format.The internal table used to define the field catalog contains fields that are not declared using Data elements.For these fields, when i press F1 from the output, the message I receive is 'No Document Available'.Can someone tell me how I can attach a help document to these fields without creating a new data element for each of these fields....
    For eg : My internal table that forms the field catalog is
      Data : Begin of i_itab occurs 0,
             matnr like mara-matnr,
             Name(50),
             end of i_itab.
    When this table is displayed in ALV, if F1 is pressed on the field matnr the corresponding dictionary help pops out.But since the field Name has no help document attached to it, i cannot view any help for this..Kindly tell me how i can attach my own help document to this field.
    Thanks,
    Swathi

    Hi,
    This issue was solved using the followiing steps.
    1. There is a parameter 'IT_EVENT_EXIT 'in the FM REUSE_ALV_LIST_DISPLAY or REUSE_ALV_GRID_DISPLAY.
    2.Set the value of the field of this paramter as
    EXIT-UCOMM= '&ELP'  " F1
    EXIT-BEFORE = 'X'
    This will make the control go directly to the user command functio written inside the program rather than the standard SAP define duser command....
    3. Inside the perform -usercommand in the ALV program use the FM HELP_DOCULINES_SHOW to show the appropriate help document
    This method may be used to display help text for those fields/columns in the ALV which are not referred to the fields/data elements in the data dictionary tabel

  • Setting elements 13 as my external photo editor

    I have set elements 13 as my external photo editor in preferences , however when i select this the elements editor program does not open. Can anyone help with this please.

    I don't know if this still applies, but:
    http://barbarabrundage.com/2011/10/05/adobe-hide-and-seek-setting-pse-10-as-exte rnal-editor/

  • Unloadclip does not unload everything

    I create a menu system to load an external SWF movie by using
    loadclip.
    no problem so far, the swf movie load.
    but when I use unloadclip to unload the external SWF movie,
    the movie dissapear which it is good but....
    the external SWF movie has a setinterval running, if I unload
    before it finish, it still running in the background even I use the
    unloadclip to unload it.
    I thought the unloadclip show remove everything from that
    external SWF movie even thought there is a setinterval running.
    I am not sure if this is a bug where the unloadclip does not
    unload everything.

    Hmmm,
    well, for the application that I am doing putting up a
    cleanUP()function in the external SWF(movie1.fla) will not work.
    To define in the parent(main Menu) is better but how do I do
    it. see the code here, there are 2 FLA file, one for the Menu and
    the other is for the Movie file
    also, I am unsing unloadMovie(); to unload it. and not
    unloadClip;
    I don't know how to set a intervalID on the movie1.fla and
    then return that value to the main Menu program so I could kill it.
    as you can see in the movie1.fla, I put
    "trace(bar_mc.scrub._x + " this is the videoInterval ID=
    "+videoInterval);" so when I unload it from the main Menu, it keep
    running for testing.
    Menu program
    var mcLoader:MovieClipLoader=new MovieClipLoader();
    load_btn.onRelease=function(){
    mcLoader.loadClip("movie1.swf", dummy_mc);
    unload_btn.onRelease=function(){
    dummy_mc.unloadMovie();
    Movie file(movie1.fla)
    //Create video stream
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    tstooge.attachVideo(ns);
    ns.play("video/Microsoft IPOD.flv");
    play_btn.onRelease = function() {
    ns.pause();
    rewind_btn.onRelease = function() {
    ns.seek(0);
    var videoInterval = setInterval(videoStatus,100);
    var amountLoaded:Number;
    var maxWidth:Number = 241;
    var duration:Number = 175;
    function videoStatus() {
    amountLoaded = ns.bytesLoaded/ns.bytesTotal;
    bar_mc.progress._width = maxWidth * amountLoaded;
    bar_mc.scrub._x = ns.time / duration * maxWidth;
    trace(bar_mc.scrub._x + " this is the videoInterval ID=
    "+videoInterval);
    if(bar_mc.scrub._x > 241){
    clearInterval(videoInterval);
    //scrubber code
    var scrubberInterval;
    bar_mc.scrub.onPress = function()
    clearInterval(videoInterval);
    scrubberInterval = setInterval(scrubIt,10);
    this.startDrag(false, 0 , this._y, maxWidth, this._y);
    bar_mc.scrub.onRelease = bar_mc.scrub.onReleaseOutside =
    function()
    clearInterval(scrubberInterval);
    videoInterval = setInterval(videoStatus,100);
    this.stopDrag();
    function scrubIt()
    ns.seek(Math.floor(bar_mc.scrub._x / maxWidth * duration));

  • Not unload tape for library after backup

    Hi,
    I am have 01 library configured with oracle secure backup version 10.3.
    After backup the tape not is unload.
    Is possbile include load and unload in dataset. Anyone have any example the use dataset with unload tape?
    Someone already went through this (not unload after backup) ?
    Ps - I am open SR in oracle, but are looking to see if it is bug.
    Thanks,
    Rogerio Pereira

    By default, OSB does not unload a tape immediately after a backup. If a backup completes, OSB will leave the tape in drive for user-configurable amount of time...5 minutes by default.
    You can configure how this setting in web tool or command line. Using the web tool:
    Configure: Defaults and Policies > Devices
    Max drive idle time .... change default of 5 minutes to what time desired
    Conversely, you could write an after backup script to unload tape.
    Donna

  • JAXB is not generating the setter method for my tag

    Hi,
    I am generating java classes form my .xsd file using JAXB.
    The xsd definition has defnes a Form as a sequence of FormElement, where FormElement is a choice of graphical components like text etc. Form can have 0 or unbounded elements of typeFormElement
    Example
    <xs:element ref="sswfm:FormElement" minOccurs="0" maxOccurs="unbounded"/>
    It is creating the getter method for this tag like this-
    java.util.List getFormElement();
    but does not create setter method, namely, setFormElements which I would like to use when marshalling from swing to XML.
    If i remove the maxOccurs="unbounded, it is creating the setter method for this tag.But i want to keep this tag as it it and needs the setter method also.
    What should i do? Has one tried this before. HELP if you can
    Thank you in advance.

    Hi RavindraKshirsagar,
    We have a problem like you faced. Our requirement is that, we need to generate dynamically the PERSON element in our javabean.
    <xs:element name='SERVICE_REQUESTER'>
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref='ORGANIZATION' />
                        <xs:element ref='PERSON' maxOccurs='unbounded' />
                   </xs:sequence>
              </xs:complexType>
         </xs:element>For this maxOccurs, as JAXB is not generating any Setter Method. As we need to get data dynamically from external application. If you could help us in handling this case dynamically, it will be well and good.
    Please send us the script / code asap.

  • [Error ORABPEL - 10900]... : Can not find definition for element 'process'

    Hi,
    When I try to deploy a bpel process using JDeveloper I'm having the following xml parse error:
    Error(21):
    [Error ORABPEL-10900]: xml parser error
    [Description]: in line 21 of "file:/C:/JDeveloper/jdev/mywork/NERGA/CriarProjectoSA/bpel/CriarProjectoSA.bpel", XML parsing failed because file:/C:/JDeveloper/jdev/mywork/NERGA/CriarProjectoSA/bpel/CriarProjectoSA.bpel<Line 21, Column 63>: XML-24538: (Error) Can not find definition for element 'process'.
    [Potential fix]: Fix the invalid XML.
    I don't understand why... Any idea?

    Ok.
    This is my BPEL code. The sapattern tags are from a program that is generating part of the code. The JDeveloper doesn't show any error, I only get the error when I try to deploy.
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <process name="CriarProjectoSA"
    targetNamespace="http://xmlns.oracle.com/CriarProjectoSA"
    suppressJoinFailure="no"
    xmlns="http://xmlns.oracle.com/CriarProjectoSA"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns4="http://xmlns.oracle.com/CriarProjectoSA"
    xmlns:ns7="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns5="http://schemas.oracle.com/xpath/extension"
    xmlns:ns6="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns11="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns9="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns1="http://xmlns.oracle.com/ValidacaoProjectos"
    xmlns:ns3="http://www.nerga.pt" xmlns:ns2="http://tempuri.org/"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:ns10="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns8="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    <!--Generated by Telelogic System Architect on 05/01/2007 11:06:18 by easm-->
    <sapattern>
    <guid>41207640-d934-480f-902a-b3764f3d9c9f</guid>
    </sapattern>
    <partnerLinks>
    <partnerLink name="client" partnerLinkType="ns4:CriarProjectoSA"
    myRole="CriarProjectoSAProvider"/>
    <partnerLink name="NergaIS" partnerLinkType="ns2:ServiceSoap_PL"
    myRole="ServiceSoap_Role" partnerRole="ServiceSoap_Role"/>
    <partnerLink name="ValidacaoProjectos"
    partnerLinkType="ns1:ValidacaoProjectos"
    myRole="ValidacaoProjectosRequester"
    partnerRole="ValidacaoProjectosProvider"/>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
    <guid>3111d1af-0b31-4d02-b3fc-73d14ce95405</guid>
    <guid>e9cdca59-888a-4e67-af54-a63ce2347ad3</guid>
    </sapattern>
    </partnerLinks>
    <variables>
    <variable name="outputVariable"
    messageType="ns4:CriarProjectoSAResponseMessage"/>
    <variable name="inputVariable"
    messageType="ns4:CriarProjectoSARequestMessage"/>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>2503e820-3add-4cd1-bbc5-5cc5fff57090</guid>
    <guid>8bcc3532-46b7-4e88-816f-72ecdaee76ab</guid>
    </sapattern>
    <variable name="invocaVP_initiate_InputVariable"
    messageType="ns1:ValidacaoProjectosRequestMessage"/>
    <variable name="recebeVP_onResult_InputVariable"
    messageType="ns1:ValidacaoProjectosResponseMessage"/>
    <variable name="InvocaAdicionarProjecto_InputVariable"
    messageType="ns2:AdicionarProjectoSoapIn"/>
    <variable name="InvocaAdicionarProjecto_OutputVariable"
    messageType="ns2:AdicionarProjectoSoapOut"/>
    </variables>
    <sequence>
    <receive name="recebeTemplate" joinCondition="False" partnerLink="client"
    portType="ns4:CriarProjectoSA" operation="process"
    variable="inputVariable" createInstance="yes">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
    <guid>68e62379-55ac-48eb-b681-aee8f5a7696d</guid>
    </sapattern>
    </receive>
    <scope variableAccessSerializable="no" name="ValidarExigências"
    joinCondition="False">
    <faultHandlers>
    <catchAll>
    <assign name="assignInvalid">
    <bpelx:append>
    <bpelx:from expression="concat(ns8:getVariableData('inputVariable','payload','/ns3:Template/ns3:Projecto/ns3:Observacoes'), string('Projecto inválido!!'))"/>
    <bpelx:to variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto/ns3:Observacoes"/>
    </bpelx:append>
    </assign>
    </catchAll>
    </faultHandlers>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>2e56af66-6622-43e0-9adc-6d5f109cf374</guid>
    </sapattern>
    <sequence name="ValidarExigências" joinCondition="False">
    <assign name="assignVPIn">
    <copy>
    <from variable="inputVariable" part="payload"/>
    <to variable="invocaVP_initiate_InputVariable" part="payload"/>
    </copy>
    </assign>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>2e56af66-6622-43e0-9adc-6d5f109cf374</guid>
    </sapattern>
    <invoke name="invocaVP" joinCondition="False"
    partnerLink="ValidacaoProjectos" portType="ns1:ValidacaoProjectos"
    operation="initiate"
    inputVariable="invocaVP_initiate_InputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>f3bc9c04-f4d2-4e96-acc8-7a6c88a8ced5</guid>
    </sapattern>
    </invoke>
    <receive name="recebeVP" joinCondition="False"
    partnerLink="ValidacaoProjectos"
    portType="ns1:ValidacaoProjectosCallback" operation="onResult"
    createInstance="no" variable="recebeVP_onResult_InputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e9cdca59-888a-4e67-af54-a63ce2347ad3</guid>
    <guid>1eba96a8-330a-4e4d-a14b-cdf6641fa614</guid>
    </sapattern>
    </receive>
    <assign name="assignVPOut">
    <copy>
    <from variable="recebeVP_onResult_InputVariable" part="payload"/>
    <to variable="inputVariable" part="payload"/>
    </copy>
    </assign>
    </sequence>
    </scope>
    <scope variableAccessSerializable="no" name="AdicionarProjecto"
    joinCondition="False">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>89c02eae-7788-4892-a616-e46b65ef1b50</guid>
    </sapattern>
    <sequence name="InvocarISAdicionarProjecto" joinCondition="False">
    <assign name="assignIS">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto/ns3:NomeProjecto"/>
    <to variable="InvocaAdicionarProjecto_InputVariable" part="parameters"
    query="/ns2:AdicionarProjecto/ns2:nome"/>
    </copy>
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto/ns3:TipoProjecto"/>
    <to variable="InvocaAdicionarProjecto_InputVariable" part="parameters"
    query="/ns2:AdicionarProjecto/ns2:tipo"/>
    </copy>
    </assign>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>89c02eae-7788-4892-a616-e46b65ef1b50</guid>
    </sapattern>
    <invoke name="InvocaAdicionarProjecto" joinCondition="False"
    partnerLink="NergaIS" portType="ns2:ServiceSoap"
    operation="AdicionarProjecto"
    inputVariable="InvocaAdicionarProjecto_InputVariable"
    outputVariable="InvocaAdicionarProjecto_OutputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>76519bd3-c506-4c79-8190-8ff09abdd27d</guid>
    </sapattern>
    </invoke>
    </sequence>
    </scope>
    <assign name="assignOutput">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto"/>
    <to variable="outputVariable" part="payload"/>
    </copy>
    </assign>
    <reply name="devolveProjecto" joinCondition="False" partnerLink="client"
    portType="ns4:CriarProjectoSA" operation="process"
    variable="outputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
    <guid>0dbefef0-3d04-4356-abbc-b291ea40d256</guid>
    </sapattern>
    </reply>
    </sequence>
    </process>

  • .v2.XMLParseException:Can not find definition for element 'descriptor'

    I am getting the following error, while running 'empps.jsp' ...when executing the tutorial given at
    ERROR Details:
    500 Internal Server Error
    javax.servlet.jsp.JspException: javax.faces.el.EvaluationException: Error getting property 'employees' from bean of type jsftoplink.model.EmployeesClient: Exception [TOPLINK-25004] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.XMLMarshalExceptionException Description: An error occurred unmarshalling the documentInternal Exception: Exception [TOPLINK-27101] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.platform.xml.XMLPlatformExceptionException Description: An error occurred while parsing the document.Internal Exception: oracle.xml.parser.v2.XMLParseException: Can not find definition for element 'class-descriptor-type'     at com.sun.faces.taglib.html_basic.DataTableTag.doEndTag(DataTableTag.java:501)     at emps.jspService(_emps.java:629)
    Pls help me in resolving this issue.

    I am still gettng the same error. The xml file is now
    <?xml version="1.0" encoding="UTF-8"?>
    <CUSTOMER xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="" ID="568945">
    <FIRSTNAME>Arnold</FIRSTNAME>
    <LASTNAME>McEriccson</LASTNAME>
    <ADDRESS>
    <LINE1>31, Nomadic Avevnue</LINE1>
    <LINE2>Pasadena Clove</LINE2>
    <CITY>WoolTown, MT</CITY>
    <ZIP>45263</ZIP>
    </ADDRESS>
    <BIRTHDATE>1967-08-13</BIRTHDATE>
    </CUSTOMER>
    The xsd file is:
    <?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:element name="CUSTOMER">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="FIRSTNAME" type="xs:string"/> <xs:element name="LASTNAME" type="xs:string"/> <xs:element name="ADDRESS"> <xs:complexType>
    <xs:sequence>
    <xs:element name="LINE1" type="xs:string"/> <xs:element name="LINE2" type="xs:string"/> <xs:element name="CITY"/>
    <xs:element name="ZIP" type="xs:int"/> </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="BIRTHDATE" type="xs:date"/> </xs:sequence>
    <xs:attribute name="ID" type="xs:double"/> </xs:complexType>
    </xs:element>
    </xs:schema>
    There seems to be something fairly obvious that i am missing.

Maybe you are looking for

  • 'UIComponent is null' error while opening a tab in ADF

    Hi, I am using JDeveloper 11.1.1.5.0 I am navigating from one ADF page to other in my ADF task flow. 2nd ADF page is having multiple tabs with showDetailItem. My requirement is that i need to open a particular tab in 2nd page from 1st page (1st page)

  • How to cluster LDAP?

    I've been searching for a couple of days on how to cluster LDAP. I've found several places that say you can do it but nothing showing how. Does anyone have a link to some documentation on this? I have a couple of OES2SP3 servers in a cluster and I ha

  • How to make address and awesome bar not auto-expand?

    I'm looking to customize firefox's appearance. I want two rows: one with the menu button, tabs, and awesome bar (in that order), and another with the forward/back buttons, address bar, home button, and bookmarks toolbar items (also in that order). In

  • CSS alternative for tables

    Hi, I used to do more web pages back in the late 1990s when layout was done in tables. I have tried to use just CSS, but there are some things that I am not confident of how to do in CSS and make it look consistent across browsers and resolutions.  I

  • TCP/IP Printer installs - How do I get the proper driver settings?

    I saw an older thread relating to this but I thought I would start a new one to revisit this thought.  I want to deploy my printers as TCP/IP and not rely on a shared print server.  This is in case the print server goes down, the users will still be