Adding new elements to a Master Page and sharing them to existing pages

I need to include new navigation elements on the master page
and I want it to show up on pages I've already created. I've added
the new elements on a layer of their own which is part of the
master page, but the Share Layer to Pages... option is dimmed.

jcbluesman wrote:
> I'm using CS4, Jim, and here's a link to the .png
> (
http://idisk.mac.com/jconstant-Public/deimos.png
>
> The 3 tabs in the upper right on the master page are the
ones I'm trying to
> share across the existing pages. I created them in PS
(also CS4), then imported
> the .psd into this FW document, if that makes any
difference.
>
> Thanks,
> Jim
>
OK there are two related as I see it.
Each of your pages consists of a solid, opaque bitmap for a
main image.
Master Pages, by default, are at the bottom of the layer
stack. Your
tabs ARE present, you just can't see them because they are
covered up by
the bitmap.
Assuming you don't have those page images as multi-object
elements,
where you can edit the blue backgrounds, there are still two
things you
can do, both of which are pretty easy.
Go into each page and temporarily reduce the opacity of Layer
1.
Use the marquee tool to draw a selection around the area of
the tabs.
Delete the selection.
Return the lay back to full opacity.
OR
Try dragging the Master page to the top of the layer stack in
each page.
Hide or delete the Master page background.
This option is a little trickier, but I was able to do it.
Wait for the
black bar to appear before you release the mouse. You may
need to try
this a few times before it works.
HTH
Jim Babbage - .:Community MX:. & .:Adobe Community
Expert:.
http://www.communityMX.com/
CommunityMX - Free Resources:
http://www.communitymx.com/free.cfm
.:Adobe Community Expert for Fireworks:.
Adobe Community Expert
http://tinyurl.com/2a7dyp
.:Author:.
Lynda.com -
http://movielibrary.lynda.com/authors/author/?aid=188
Peachpit Press -
http://www.peachpit.com/authors/bio.aspx?a=d98ed798-5ef0-45a8-a70d-4b35fa14c9a4
Layers Magazine -
http://www.layersmagazine.com/author/jim-babbage

Similar Messages

  • NewElementInHierarchy() - Adding New Elements, progressively takes longer when adding multiple siblings

    With my ESTK script, users select model numbers from a list and then the script inserts an element with a model number entered into an attribute, one element for each model selected.
    When adding a large number of elements, each additional sibling element takes a little longer to add then the previous element. Adding 250 elements can take upwards of 3-1/2 minutes or more. While adding 20, 50, or 75 elements happens quickly, without any noticeable duration. It’s somewhere above 110 is where it starts to be noticeable.
    I even used $.hiresTimer and wrote the value to the console for each time a model was added. Since the timer is reset back to zero (0) each time it's called, it was easier to notice that the amount it incremented from one element to the next got progressively larger.
    Any thoughts as to why it’s taking so long or thoughts on what I could do to speed it up?
    The structure looks like this:
    <PartModels>
          <NoteText>Text</NoteText>
          <Model ModelNumber=”ABC01”/>
          <Model ModelNumber=”ABC02”/>
          <Model ModelNumber=”DEF03”/>
          <Model ModelNumber=”DEF04”/>
          <Model ModelNumber=”XYZ01-A”/>
          <Model ModelNumber=”XYZ*B”/>
          <Model ModelNumber=”XYZ500”/>
    </PartModels>
    The script is somewhat straight forward: cycle through an array of the model numbers selected, add a new element for each model number and set it's attribute value to the model number. This is the short version:
    Function InsertModelElements (modelsToIns, insElemLoc, GVdoc) {
         var newEleId;
         var newElemLoc = insElemLoc;
         var elemDef = GVdoc.GetNamedElementDef(“Model”);
         for(var i = 0; i < modelsToIns.length; i++){ // modelsToIns is the array of models selected
              newEleId = elemDef.NewElementInHierarchy(newElemLoc); //ElementLoc based on NoteText first, last, or not present
              SetAttribute(newEleId, "ModelNumber", null, modelsToIns[i]); //more robust function to set attribute
              /*Which also works for setting attribute*/
              //var vattributes = newEleId.GetAttributes();
              //vattributes[0].values[0] = modelsToIns[i];
              //newEleId.Attributes = vattributes;
              /*At one point I tried using a new element location from the last inserted element, no change*/
              //var newElemRange = setElementSelection(GV_doc, EleId); //function that returns range
              //newElemLoc = newNewElemRange.end;
    Any help is appreciated.
    Sincerely,
    Trent

    Thanks Russ,
    I seriously considered trying copy/paste and started to modify the code to do so. But I couldn't let it go, the answer had to be right there in front of me, just it's been too long since I've worked with this stuff, I'm not able to see it. Then it dawned on me what is happening.
    In an earlier test, I placed a timer on each action that is looped through. For example, I start with an container element that has 200 children elements, each with a specific/unique model number attribute. All 200 existing elements are deleted and then replaced with 250 new elements with a different value for the model number attribute. The timer was placed after the Element.Delete() method and ElementDef.NewElementInHierarchy() method. What I noticed with the timer is that each element deleted was deleted faster than the previous element (so it progressively took less and less time to delete an element). And of course the opposite was noticed for inserting elements, each element inserted took longer than the previous element inserted.
    These elements can be inserted in two areas of the structure, one of the areas has fewer format rules that impact the formatting and is actually a little quicker. This led me to the cause being the EDD format rules. The area that takes longer has quite a few extensive format rules that apply. Every time an element is inserted or deleted, FrameMaker runs through those rules to format the content of the elements. Since the rules apply to parent, first, last, next, previous, etc., FrameMaker has to apply format rules to all the elements in the structure that the rules apply to (which are extremely complex because of the various elements, attribute values, and combinations that can be inserted).
    Removing or thinning down the FormatRules in the EDD, it does get quicker. But each of the FormatRules are needed. So using app.ApplyFormatRules = false; right before the elements are deleted and inserted works great. But the key is to set ApplyFormatRules back to true before deleting the last element to be deleted and before inserting the last element to be inserted, so it will cycle through all the format rules of the EDD for all the elements in the hierarchy those format rules apply to. Setting ApplyFormatRules to true and assigning the ElementDef to the last element also works [EleId.ElementDef = GV_doc.GetNamedElementDef(insElemType);], but only before any other functions are performed or different elements are added.
    doc.Reformat() isn't going to reformat the content correctly after the fact because the element was created without the format rules, so it just reformats the content of the elements without the format rules.
    The FDK version that was created 10 years ago had the same problem of running slow when a large number of elements were being inserted, but was still an improvement over having to manually insert each element and type in the attribute value, so it was lived with.
    It's now working amazingly fast. I hope my explanation of what I think is happening, including the cause/solution, is understandable.
    Sincerely,
    Trent Schwartz

  • After upgrading to IOS 5 on my iPad only some books in iBooks show content. They were fine before the upgrade. I made a new version in Pages and reinstalled them on the iPad. Still nothing. What is the fix?

    After upgrading to IOS 5 on my iPad only some books in iBooks show content. They were fine before the upgrade. I made a new version of the book in Pages and reinstalled them on the iPad. Still nothing. What is the fix?

    I just got the iBooks update and that fixed the problem, except the book covers look like they were done in a government printing office.

  • Is there a way to create multiple New Tabs pages and name them?

    This feature is great but I would like to be able to create multiple new tabs pages and label them. This would be more useful than tabs groups that all load at once.

    No that is (currently) not possible.
    It will be possible in future Firefox version to specify the number of rows and columns.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=752841 bug 752841] - [New Tab Page] make the number of tabs adjustable
    <i>([https://bugzilla.mozilla.org/page.cgi?id=etiquette.html please do not comment in bug reports])</i>

  • I bought a new ipad and shared my documents in Pages from the old ipad to my cloud, but the only document showing on my new pad is the ones that was not in folders. Have I lost my documents for ever?

    I just bought a new ipad and shared my documents in Pages from the old ipad to my cloud, but the only documents showing on my new pad is the ones that was not in folders. Have I lost my documents for ever?

    Thank you, but after an hour with apple support on the phone we came to the conclusion that the documents are lost... So the lesson is, don't trust icloud as a back up solution! A month worth of work down the drain...

  • Version Control of APEX Pages and Shared Components

    Background:
    My organisation has a large customer base and over the last 2 years we have migrating from a forms to an apex user presentation layer. We have had a number of customers live on the apex front end for close to a year now.
    Our current method of releasing apex objects is at the application level (ie applications are exported for version control in PVCS and then released to Test etc). We now want to investigate exporting pages and shared components individually. Hence, I have a few questions:
    1. If I export a page and this is checked into PVCS and I forget to export a 'List of Values' shared component. What happens when the page in PVCS is created in another environment (ie Test). I guess the ‘Page Import’ would still succeed but the reference to the ‘List of Values’ would be some large made up number.
    How would we detect the missing dependency after import ?
    2. Regarding New or Changed Templates. Once again, if a page references a new template and is then exported, checked into PVCS and imported into test but the template is missed for migration to test, would the import succeed but the template reference would be broken, like in number 1.
    3. How can Application level objects be locked (reserved) when undergoing modification.
    Any comments would be appreciated especially if there are any sites using pages and shared component exports for version control and releases.
    For anyone who's interested, the method we are thinking of using is:
    ..Page Export script will be version controlled
    ..ALL the shared component export scripts will be added to 1 main SQL script
    Hence we only end up with 2 configurable objects in PVCS.

    Nigel,
    1. If I export a page and this is checked into PVCS and I forget to export a 'List of Values' shared component. What happens when the page in PVCS is created in another environment (ie Test). I guess the ‘Page Import’ would still succeed but the reference to the ‘List of Values’ would be some large made up number.
    For component export/import, the source and target worskpace ID and application ID must be identical. You can achieve the workspace "sameness" by exporting and importing the workspace from one database to another, thus preserving the workspace's numeric ID, aka security group ID. Similarly applications must be exported/imported/installed without changing their IDs in the installed-into instance. More fundamentally, the application you import/install components into must be an identical copy of the source application with respect to the internal object IDs, allowing only for differences that incent you to migrate changes from a higher rev level of the application into a copy that is at a lower rev level.
    As to the specific question, if you copied a page but didn't copy an LOV into the target application then if the LOV referenced by the page already existed in the target application then page would simply reference the existing, perhaps down-level, LOV in the application. If the LOV did not already exist but had been newly created in the source application, then the target application page would contain an invalid reference and would produce a runtime error.
    How would we detect the missing dependency after import ?
    I don't know of any reports that would tell you this. There are several types of omissions that you need to watch out for, not all of which can be detected by inspection of the target application in isolation.
    2. Regarding New or Changed Templates. Once again, if a page references a new template and is then exported, checked into PVCS and imported into test but the template is missed for migration to test, would the import succeed but the template reference would be broken, like in number 1.
    Yes, same case.
    3. How can Application level objects be locked (reserved) when undergoing modification.
    There is no provision for this as there is for pages.
    For anyone who's interested, the method we are thinking of using is:
    ..Page Export script will be version controlled
    ..ALL the shared component export scripts will be added to 1 main SQL script
    Hence we only end up with 2 configurable objects in PVCS.
    So you propose to have one script of all pages and another script for everything else? I'm not sure I got that right.
    Scott

  • How do you suppress page numbers. I am trying to print a screenplay for the first time since switching to Pages and I can't suppress Page

    How do you suppress page numbers. I am trying to print a screenplay for the first time since switching to Pages and I can't suppress Page #1 without making the rest of the pages inaccurate, as page #1 is the Title Page. Does anyone have any suggestions?

    When you signed to be able to post in the forums, you were urged to read and accept the Terms of Use ruling these forums.
    They claim :
    The contents of the "More Like This" box prove that applying the rules you would have get the wanted explanations without creating this new thread.
    Yvan KOENIG (VALLAURIS, France) mardi 26 avril 2011 10:04:03

  • I have a pdf file 50 pages and want add to 1st page a logo (icon png or gif or jpg), well I have cs4

    I have a pdf file 50 pages and want add to 1st page a logo (icon png or gif or jpg), well I have cs4 master collection... how do it?

    what is "pinch"? what cs4 program(s)
    to use for this?

  • How do I  take four pages on one page, and give them each their own page?

    How do I take four  images on one page, and put them on their own page?

    You need a unique AppleID for each iCloud account.  So grab some free gmail, hotmail, aol, yahoo or whatever email addresses to make five new AppleIDs.  Now, everybody make an iCloud account for themselves, and keep the existing shared AppleID and password just for use in the iTunes and App Stores.  You can also each use your own unique AppleIDs to make iMessage accounts and keep those separate as well.

  • Taking existing Plumtree user accounts and migrating them to existing group

    Does anyone know if it is possible through the Local Portal API or the EDK/IDK to take existing Plumtree user accounts and migrate them to existing groups? Any risks in doing this programmatically? Is it best done through the ui manually to maintain referential and database integrity? Just trying to assess risk here and decide if we should build this kind of tool for our customer which they are requesting. Does the Local Portal API or the EDK/IDK provide capability of "adding" a group affiliation to existing Plumtree users or would this be a bad idea?

    A network account is really existing only on the server but if you use "portable homefolders" (Tiger client and server) you could "migrate" the local account to a "server" one by:
    Login locally as another user with administrative rights.
    Change the name of the old account folder in /Users.
    Remove the "old" account locally (woun't remove the "old" folder as you changed the name) only Netinfo data.
    Login using the serveraccount login/password thus creating a homefolder on the server.
    Logout and back in, enable portable homefolder.
    Logout and then in as a local admin and remove the new user folder.
    Change the name on the old userfolder to what the new one had.
    I'm not a 100% sure Netinfo has the server account UID now (added by logging in and creating the portable account?) but if it does:
    (http://forums.macosxhints.com/archive/index.php/t-12077.html)
    "Finding and changing UIDs across the filesystem is a one-liner command:
    sudo find / -user UID -exec chown userName {} \;
    (replace UID with the old UID number and userName with the new user name to associate file ownership.)"
    (A portable account must have got some "kind" of UID?)
    Let the machine "sync" with the server account.
    If you want an "on network only" account I don't know what you need to remove locally afterwards.
    HTH

  • How to create mass users and map them to existing  hrms users

    Hi,
    Im running oracle ebusiness suite 12i . I want to create mass users , and map them to existing hrms users.
    The users I want to create exist in an excel spreadsheet with the columns employee id, user name. They will all be granted the same responsibility. I want to map them to existing hrms users using the employee id key.
    I have read about the package FND_USER_PKG.CREATEUSER and I can loop over it by using sql loader to create a temporary table, but I m lost on how to automatically map them to hrms users as part of the script.
    Any help.
    dula

    Thanks a lot Omka,
    I managed to create the users by running the script:
    declare
    Cursor C1 is
    select d.product_code,b.responsibility_key from FND_USER_RESP_GROUPS_ALL a,fnd_responsibility b,fnd_user c,fnd_application d
    where a.user_id = c.user_id
    and a.responsibility_id = b.responsibility_id
    and b.application_id = d.application_id
    and c.user_name ='JOCHIENG';
    Cursor employee is
    SELECT EMPLOYEE_ID,EMPLOYEE_NAME from eldoret_final;
    BEGIN
    for e in employee loop
    fnd_user_pkg.createuser
    x_user_name => e.EMPLOYEE_NAME
    *,x_owner => ''*
    *,x_unencrypted_password => 'welcome123'*
    *,x_start_date => SYSDATE - 10*
    *,x_end_date => NULL*
    *,x_description => 'CBK Employee'*
    *,X_EMPLOYEE_ID => e.EMPLOYEE_ID*
    fnd_user_pkg.addresp(upper (e.EMPLOYEE_NAME),'PER', 'CBK_EMPLOYEE_DIRECT_ACCESS','STANDARD', 'DESCRIPTION', sysdate, null);
    end loop;
    commit;
    end;
    I had first created the user JOCHIENG and assigned it the responsibility for Self service. So the script just assigns the responsibilities by copying from the one assgined to this user.
    Everything seems ok. However, when trying to log in as the new user, the login error: Login failed. Please verify your login information or contact the system administrator.
    is returned. But I can reset the password using the forms under Security > Define. Even with the correct password, the login doesn't go through.
    Any idea?
    dula

  • Added new fields in vendor master in xk01 but data is not getting saved

    Hi experts,
    To add new fields in vendor master i have followed the following steps :
    1.) Appended a structure ZRTGS in LFA1 table with required fields and activated
    2.) Added new button in xk01( vendor master ) using spro -> logistics-general -> business partner -> vendors ->
    control ->adoption of customer's owaster data fields -> prepare modification free-enhancement of vendor master record
    Created a screen group ZR and defined label tab pages with function code ZRTGS and saved entries
    3.) Created a implementation for BADIs VENDOR_ADD_DATA and VENDOR_ADD_DATA_CS.
    4.) Created a program with my own subscreen for the required fields
    The button is getting displayed in XK01, XK02 and XK03 respectively. Whenever the button is clicked the subscreen with
    the fields is also displayed. But whenever i try to save the data in either XK01 or XK02 it is not getting saved in to the
    database table LFA1.
    Request your help in this regard.
    Thanks in Advance.

    Hi,
    You may need to check this include .
    EXIT_SAPMM06E_008  -->Import Data from Customer Subscreen for Purchasing Document
    Thanks,
    vamshi

  • Adding new element to BPEL for use in PL SQL type, has binding errors

    Figured I might as well post this here since I haven't gotten a single reply in 3 days anywhere else :/
    I have a BPEL service that calls a PL SQL procedure. I have added a new element to the BPEL called quote_cart_line.
    All I had to the BPEL to accomplish this was edit 3 files -
    Async_Invoke_Import_Model.xsd (Source)
    <element name="orig_sys_line_ref" type="integer" minOccurs="1" nillable="true"/>
           <element name="quote_cart_line" minOccurs="1" nillable="true" type="integer"/>
          </sequence>
    .....APPS_NI_MODEL_IMPORT_UTIL_IMPORT_SELECTIONS.xsd (Target)
    <element name="ORIG_SYS_LINE_REF" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
             <element name="QUOTE_CART_LINE" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
          </sequence>
    .....Transform_NIE_Inputs.xsl (Transforming from Source to Target)
    <ns1:orig_sys_line_ref>
              <xsl:value-of select="/ns1:Async_Invoke_Import_ModelProcessRequest/ns1:import_line/ns1:orig_sys_line_ref"/>
            </ns1:orig_sys_line_ref>
            <ns1:quote_cart_line>
              <xsl:value-of select="/ns1:Async_Invoke_Import_ModelProcessRequest/ns1:import_line/ns1:quote_cart_line"/>
            </ns1:quote_cart_line>
          </ns1:import_line>
    .....I have done this to two other BPELs and they work fine. (1st BPEL calls the second BPEL passing this new element, which then passes it to this BPEL I am having trouble with, which then should be binding it to a PL SQL type)
    So this BPEL calls a PL SQL procedure, binding the elements from the BPEL to a PL SQL type (ni_model_import_line). So I edited the PL SQL type to accept this new parameter:
    orig_sys_header_ref       NUMBER,
           quote_cart_line           NUMBER,
           CONSTRUCTOR FUNCTION ni_model_import_line(p_part_number                IN VARCHAR2,
    MEMBER PROCEDURE add_orig_sys_header_ref(p_org_sys_header_ref          IN NUMBER),
           MEMBER PROCEDURE add_quote_cart_line(p_quote_cart_line                 IN NUMBER)
    MEMBER PROCEDURE add_quote_cart_line(p_quote_cart_line                 IN NUMBER) IS
    BEGIN
       quote_cart_line := p_quote_cart_line;
    END add_quote_cart_line;
    END;
    .....I invoke all of this, and the new element gets populated in 3 different BPELs, including this one I explained here. But when it comes time to call the PL SQL I am now getting an error:
    <fault>
    -<bpelFault>
    <faultType>0</faultType>
    -<bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'nie_import_2' failed due to: Interaction processing error.
    Error while processing the execution of the APPS.NI_MODEL_IMPORT_UTIL.IMPORT_SELECTIONS API interaction.
    An error occurred while processing the interaction for invoking the APPS.NI_MODEL_IMPORT_UTIL.IMPORT_SELECTIONS API. Cause: java.lang.NullPointerException
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary>
    </part>
    -<part name="detail">
    <detail>null</detail>
    </part>
    -<part name="code">
    <code>null</code>
    </part>
    </bindingFault>
    </bpelFault>
    </fault>This doesnt happen if I remove the references to this new element and try again, so it obviously is a problem with the element, but I have no idea what it is. It works fine when going from BPEL to BPEL, but as soon as the process tries to call the PL SQL procedure this happens. It is even more frustrating because I have done this exactly before adding another element, and it worked fine...
    Any ideas or tips please?

    Figured I might as well post this here since I haven't gotten a single reply in 3 days anywhere else :/
    I have a BPEL service that calls a PL SQL procedure. I have added a new element to the BPEL called quote_cart_line.
    All I had to the BPEL to accomplish this was edit 3 files -
    Async_Invoke_Import_Model.xsd (Source)
    <element name="orig_sys_line_ref" type="integer" minOccurs="1" nillable="true"/>
           <element name="quote_cart_line" minOccurs="1" nillable="true" type="integer"/>
          </sequence>
    .....APPS_NI_MODEL_IMPORT_UTIL_IMPORT_SELECTIONS.xsd (Target)
    <element name="ORIG_SYS_LINE_REF" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
             <element name="QUOTE_CART_LINE" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
          </sequence>
    .....Transform_NIE_Inputs.xsl (Transforming from Source to Target)
    <ns1:orig_sys_line_ref>
              <xsl:value-of select="/ns1:Async_Invoke_Import_ModelProcessRequest/ns1:import_line/ns1:orig_sys_line_ref"/>
            </ns1:orig_sys_line_ref>
            <ns1:quote_cart_line>
              <xsl:value-of select="/ns1:Async_Invoke_Import_ModelProcessRequest/ns1:import_line/ns1:quote_cart_line"/>
            </ns1:quote_cart_line>
          </ns1:import_line>
    .....I have done this to two other BPELs and they work fine. (1st BPEL calls the second BPEL passing this new element, which then passes it to this BPEL I am having trouble with, which then should be binding it to a PL SQL type)
    So this BPEL calls a PL SQL procedure, binding the elements from the BPEL to a PL SQL type (ni_model_import_line). So I edited the PL SQL type to accept this new parameter:
    orig_sys_header_ref       NUMBER,
           quote_cart_line           NUMBER,
           CONSTRUCTOR FUNCTION ni_model_import_line(p_part_number                IN VARCHAR2,
    MEMBER PROCEDURE add_orig_sys_header_ref(p_org_sys_header_ref          IN NUMBER),
           MEMBER PROCEDURE add_quote_cart_line(p_quote_cart_line                 IN NUMBER)
    MEMBER PROCEDURE add_quote_cart_line(p_quote_cart_line                 IN NUMBER) IS
    BEGIN
       quote_cart_line := p_quote_cart_line;
    END add_quote_cart_line;
    END;
    .....I invoke all of this, and the new element gets populated in 3 different BPELs, including this one I explained here. But when it comes time to call the PL SQL I am now getting an error:
    <fault>
    -<bpelFault>
    <faultType>0</faultType>
    -<bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="summary">
    <summary>
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'nie_import_2' failed due to: Interaction processing error.
    Error while processing the execution of the APPS.NI_MODEL_IMPORT_UTIL.IMPORT_SELECTIONS API interaction.
    An error occurred while processing the interaction for invoking the APPS.NI_MODEL_IMPORT_UTIL.IMPORT_SELECTIONS API. Cause: java.lang.NullPointerException
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary>
    </part>
    -<part name="detail">
    <detail>null</detail>
    </part>
    -<part name="code">
    <code>null</code>
    </part>
    </bindingFault>
    </bpelFault>
    </fault>This doesnt happen if I remove the references to this new element and try again, so it obviously is a problem with the element, but I have no idea what it is. It works fine when going from BPEL to BPEL, but as soon as the process tries to call the PL SQL procedure this happens. It is even more frustrating because I have done this exactly before adding another element, and it worked fine...
    Any ideas or tips please?

  • Adding new element block before the original nodes

    I want to form a new xml like this:
    <xml>
    <form id="name1"> // this is
    </form> // new element i'll add
    <form id="_name1"> // this is
    </form> // original element
    <form id="name2"> // this is
    </form> // new element i'll add
    <form id="_name2"> // this is
    </form> // original element
    </xml>
    how to insert new element parts into xml file by using Jdom?
    Thanks
    jj

    Sorry for my format
    I added i.previous();
                                            i.add(newFormElement);
                                            i.next();still not work properly.
    How can i do?? pls see my code again!
         public void modifyvxml(Document doc){
                   Element root = doc.getRootElement();
                   java.util.List forms = root.getChildren();
                   if(forms.size()>0)
                        for(int formloop=0; formloop < forms.size() ; formloop++)
                             List newFormList = new java.util.LinkedList();
                             Element form = (Element)forms.get(forms.size());     
                             String form_id = form.getAttributeValue("id");
                             System.out.print ("Form_id is  "+form_id+"\n");
                   ListIterator i = forms.listIterator();
                   while (i.hasNext()) {
                        Element form = (Element) i.next();
                             String form_id = form.getAttributeValue("id");
                             if(form_id != null){          
                                            int j = 0;                    
                                            StringBuffer sb_form = new StringBuffer(form_id);
                                            sb_form.insert(0, '_');
                                            form_id = sb_form.toString();
                                            form.setAttribute("id", form_id);
    //==================add new forms                         
                                            Element newFormElement = new Element("form");
                                            Element subdialog = new Element("subdialog");
                                            int index = forms.indexOf(newFormElement);
                                            newFormElement.setAttribute("id", form_id);                                        
                                            newFormElement.addContent(subdialog);
                                            subdialog.setAttribute("src", "call.jsp");
                                            i.previous();
                                            i.add(newFormElement);
                                            i.next();
    //                                        newFormList.add(formloop,newFormElement);
    //                                        newFormList.add(formloop,forms);
                        System.out.print ("new form_id is "+form_id+"\n");
    //=====================
                        try{               
                        XMLOutputter out = new XMLOutputter();
                        File myXML = new File("testvxml.xml");
                        out.output(doc,new FileOutputStream(myXML));                                   
                        }catch (IOException e) {
                        e.getMessage();
    }Thanks

  • Setting to Select Elements on a Logical Model and Have Them Pre-selected on Engineer Page

    Is there a setting somewhere that would allow me to select objects on a logical model or in the tree view and have them pre-selected in the Engineer to Relational Model window?  Coming from the Designer world  I keep selecting entities in my model and am surprised they are not already selected when I click the engineer icon.  If not I will submit this as an enhancement.  Anyone else interested in this?
    Marcus Bacon

    It is also necessary to click on the check box twice to select/de-select an item.

Maybe you are looking for

  • How to Prevent User for Multiple click on form Submit button ??

    Hi, Is there any easy solution rather than AJAX or any HARD Solution. to prevent user from being submit for only once... So database record remain consistent rather than redundant. if any JAVASCRIPT SOLUTION IT WOULD BE BETTER ONE. WHAT SHOULD I DO ?

  • Apple ID on multiple devices vs iMessage/Facetime (don't want auto setup)

    I have few devices under one Apple ID. on that Apple ID a have additional email addresses for iMessage/facetime. I don't need/want receive imessages on all devices simultaneously which was sent to one email. so I am using different email addresses on

  • Is there an app to rename photos on iPhone.

    I take pictures on the fly for a business.  But I need to rename them to keep track of things.  Plus I have to email the pictures from my phone and they must be renamed before the client receives them. I've searched all over the internet to see if th

  • Can I install Mountain lion on macbook white bought in November 2007

    Can I install Mountain lion on macbook white bought in November 2007?

  • Creating Wizard Help

    Hi, Very new to APEX so bare with me if i'm retarded :) What I want is to have PAGE 1: personal details PAGE 2: request PAGE 3: summary/report So users put their personal details in page 1 and an ID for that entry is created. Then the just created ID