Cannot insert second lib item on same page (DW CS3)

Hi, I am asked to build a website with 53 pages. My client, most likely, will come up with changes/desired extra pages in future, so I thought library items would be appropriate for navigation (correct? I am new to lib).
After inserting one library item (vertical menu with roll-over images) in a page, I also want to use this type of nav horizontally at the top of the pages.
However, DW (cs3) does not allow me to do so. This is the message: "Making this change would require changing code that is locked by a template or a translator. The change will be discarded."  The parent page is not a template, just an ordinary new html page. I inserted the vertical nav lib into a div.
I understood it should be possible to insert more than one lib item in a page, what can be the problem here?
Thank you very much for any tips, suggestions and help.

function(){return A.apply(null,[this].concat($A(arguments)))}
You know what? I stopped working with the lib items, because I found out that working with SSI is much easier!
Same here.
I haven't used DW's Templates or Library Items for several years. I used to spend too much time having to find my way around the editables and non-editables. They just got in my way. SSIs are much easier to create and far, far easier to maintain.
function(){return A.apply(null,[this].concat($A(arguments)))}
(Server must be php complient).
Not necessarily.
SSIs can be used on plain HTML pages, PHP, ASP, ASP.NET and ColdFusion pages.
The principle is the same, but the Include code in the parent page is different.
ASP and .NET includes use the same syntax as plain SSI:
<!--#include virtual="/includes/filename.htm" -->
ColdFusion
<cfinclude template="/includes/filename.htm">
PHP
<?php require_once('/includes/filename.htm'); ?>

Similar Messages

  • How to validate a item in page based on previous item in same page

    Hi,
    I need to know how we can hide items based on page item
    ie i have 5  item in same page like weighed(radio button) yes / no if user select yes na it ll automatically enable remaining fields like weight,packing charges, courier charges and net total
    and based on packing charges,courier charges, other charges the net charge ll be auto calculated.....
    please any one reply asap..
    Regards,
    Priya

    i have  to align the items in single page(form)....
    ie i have  to arrange the regions in sequential manner
    for example i have x , y , z , a  , b , c , d ,l m  regions
    y  and z in horizontal  in first row
    b  and c  in vertical  in first column
    x and a  in  vertical in second column
    d in vertical in third column
    l  and m in horizontal  in last  row
    y -----------------------  z
    b    x
    c    a    d
    l------------------------m
    to achieve this wat i have to do

  • SQL Insert and Select statements on same page

    Newbie here.
    Is it possible to insert data from a form to a database and then get data from the database using "select" from the same page.
    I have a form that submits the authors details to an Access database but I need to get the AuthorID (which is an autonumber in the table) to show on the same page.
    <%@ page language="java" contentType="text/html" import="java.sql.*" %>
    <html>
    <head>
    <title>Confirm Details Submission</title>
    </head>
    </body>
    <%
    String title = request.getParameter("title");
    String surname = request.getParameter("surname");
    surname = surname.replaceAll("'", "''");
    String forename = request.getParameter("forename");
    forename = forename.replaceAll("'", "''");
    String address = request.getParameter("address");
    address = address.replaceAll("'", "''");
    String address2 = request.getParameter("address2");
    address2 = address2.replaceAll("'", "''");
    String town = request.getParameter("town");
    town = town.replaceAll("'", "''");
    String postcode = request.getParameter("postcode");
    String email = request.getParameter("email");
    email = email.replaceAll("'", "''");
    String dob = request.getParameter("dob");
    String telephone = request.getParameter("telephone");
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection Conn = DriverManager.getConnection("jdbc:odbc:Novbase","","");
    Statement Stmt = Conn.createStatement();
    String Query = ("INSERT INTO Author (Title, Surname, Forename, Address, Address2, Town, Postcode, EMail, DOB, TelNo) VALUES ('" + title + "', '" + surname + "', '" + forename + "', '" + address + "', '" + address2 + "', '" + town + "', '" + postcode + "', '" + email + "', '" + dob + "', '" + telephone +"')");
    //Stmt.executeUpdate(Query) is where the records are inserted.
    int SQLStatus = Stmt.executeUpdate(Query);
         if(SQLStatus != 0)
    %>
    Thank you. Your Author ID number is ??
    <%
    else
    %>
    Error - Your details have not been submitted</font></h4>
    <br>
    Please click back on your browser and try again. If you experience further difficulties please go to our <a href ="help.html">help</a> pages.<br>
    <%
    Stmt.close(); Conn.close();
    %>
    </body>
    </html>

    Hi,
    You could execute queries as many times as you want using the same connection.
    For ex;
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection Conn = DriverManager.getConnection("jdbc:odbc:Novbase","","");
    Statement Stmt = Conn.createStatement();
    String Query = ("INSERT INTO Author (Title, Surname, Forename, Address, Address2, Town, Postcode, EMail, DOB, TelNo) VALUES ('" + title + "', '" + surname + "', '" + forename + "', '" + address + "', '" + address2 + "', '" + town + "', '" + postcode + "', '" + email + "', '" + dob + "', '" + telephone +"')");
    //Stmt.executeUpdate(Query) is where the records are inserted.
    int SQLStatus = Stmt.executeUpdate(Query);
    if(SQLStatus != 0)
    Query = "SELECT Forname FROM Author;";
    ResultSet name = stmt.executeQuery(Query);
    //Now name will have all the Forname fields in the database. You could retrieve that using the get methods.
    %>
    Thank you. Your Author ID number is ??
    <%
    else
    %>
    Error - Your details have not been submitted</font></h4>
    <br>
    Please click back on your browser and try again. If you experience further difficulties please go to our <a href ="help.html">help</a> pages.<br>
    <%
    Stmt.close(); Conn.close();
    %>
    I hope that can help you.
    Rajesh

  • Inserting a library item on a page using Javascript

    Hello,
    I have a library with 6 different layouts in it.  I need to be able to place these on the page from an external program.  I have all my code in place to send commands to Indesign, but I'm not sure how to reference the Library items.  Can I reference them by name?  As well, I would like my external custom app to be able to list all the library items so that the user can select which one to insert.  I'm at a total loss as to how to do this.
    I need help with these two things:
    1) obtain an array or list of all the items in a particular Library, which is already open.
    2) Once I have the list of library items I need to be able to place one or multiple on the page keeping track them so I can place images and text in the appropriate boxes.
    Any help with this would be greatly appreciated.  I'm using Indesign CS3 and my external app is coded in Objective-C on a Mac.  I prefer Javascript as I'm very familiar with it as opposed to Applescript.
    Thanks for any help provided.
    Dave Williams

    Assuming you have access to the equivalent of doScript, when that is used to run a JavaScript, the final value of the script is returned (coerced to a string? I'm not sure).
    Of course, you can always pass information from one place to another by using keyed labels. In my work (I spend most of my time writing scripts for Typefi Publish wherein the same script might get executed at the end of every page as the Typefi Engine composes the document), I often will add a keyed label to the document that passes information from one run of the script to the next. Here's an example (that includes reading the script itself to extract version information from the second line) -- while slightly inefficient, it has the benefit of putting the version info in a defined, easy to find place:
        function registerFirstCall(aDoc, interactive) {
            var scriptFile = getScriptPath();
            var scriptName = scriptFile.name;
            if (aDoc.extractLabel(scriptName) == "" || interactive) {
                scriptFile.open("r");
                var firstLine = scriptFile.readln();
                var secondLine = scriptFile.readln();
                scriptFile.close();
                if (secondLine.indexOf("//VERSION: ") == 0) {
                    var msg = secondLine.split("//VERSION: ")[1].split("\n")[0];
                } else {
                    var msg = "unknown";
                aDoc.insertLabel(scriptName, "Registered");
                TPSlog(scriptName + " version: " + msg, interactive);
        }// end registerFirstCall
    Ah, I see it uses the getScriptPath function, so for completeness, here it is:
        function getScriptPath() {
            // This function returns the path to the active script, even when running ESTK
            try {
                return app.activeScript;
            } catch(e) {
                return File(e.fileName);
            } // end try
        } // end getScriptPath
    The TPSlog function either pops up an alert (when working interactively -- usually means during debugging) or adds a log message for the session (that also is managed with a document keyed label). The keyed label in this case is performing the trivial task of recording that the script has previously been run against this document, in which case, it doesn't need to log a message identifying its version info.
    Hope this helps.
    Dave

  • Social Widgets Insert two youtube videos on same page

    and muse dies 4evah.
    Not incredibly familar with what to do about removing a page when merely having muse generate a thumbnail for it causes the designer to die a quick death.  Or even how to ask about it.  Would strongly prefer not to retreat to a back up copy if at all possible.

    Well, I did see the other people who are having this same issue.
    In case it is at all helpful to someone else...  If you're better off with the file you have instead of a prior version,
    this is what I did in windows.
    Restart
    Bring up muse and let it explode.
    Bring it up again and it will ask you if you want to recover your file
    Say no.
    It will be your file without all of the changes made since the last save.  In my case, that was lots better than retreating to a backup copy.

  • Creating Items without a Page

    Hello
    It is possible to create an Item that is not associated to a Page?. And it is possible to insert an existing Item in a Page?
    Thanks in advanced

    Hello,
    I would like to Create a Content Management Application in order to manage all the Content that is being created. The intention is to have an Area to create and classificate Content and to use this content all over the Portal.
    This means that if I am creating my personal page I would like to include in my page some interesting content. For that purpose I will search through all the content repository and finally I will add in my page some item that seems interesting. I am not creating any content only reusing an existing one.
    Thanks in advance

  • Cannot add Second Exchange Account to Outlook 2013

    Cannot add second exchange account to same profile on Outlook 2013. I went through control panel, mail and tried to add the second exchange account there but I keep getting rundll32 has stopped working error. Using Windows 8.1. Any suggestions on what
    I should do?

    Hi,
    I have some suggestions to troubleshoot this problem.
    Run Windows on Clean Boot mode. Here is the link.
    http://support.microsoft.com/kb/929135
    Reinstall Office
    Following are the steps for configuring multiple-account in Outlook.
    Click File in Outlook then click Account Settings.
    Choose E-mail Accounts.
    Click New and input your Second Exchange Account information, then click
    Next.
    If the issue persists, please post your issue in Outlook forum. Here is the link.
    http://social.technet.microsoft.com/Forums/office/en-US/home?forum=outlook
    Thanks.

  • Creation of new button on same page after insert command

    Hello All,
    I have an application running on apex.oracle.com where my workspace name is shruti_work,username is [email protected] and password is buwigi. The application name inside this is "app2"
    I am trying to achieve one functionality there but unable to get it so felt like seeking an help from experts here. I have two forms there one page1 form which is simplly made on an html region with go button which is navigating the page 1 items value to page 2 but simply passing their address witout updting the database table.
    In Page 2 i created page on a table or view, which made some extra buttons which i dont want like applychanges ,delete button, cancel button. I created a create button even which is updating my database with insert sql command. What i am seeing is after my create button is pressed i got navigated to same page 2 which i want to but the applychange button, cancel and delete button got appeared. I dont get the idea why it is so. i have checked the buttons even i didnt found anything there.
    All i want is when i press create button in page 2, my database get update and at the same page (2) a new button get appears which i have to use for other things. Approaching to this solution i created a button with giving databse action update and condition to this button "value of item in expression 1 is not null" and in expression 1 i passed p2_id...... but my new button is not getting created.
    Any help on this?

    Hi Jeff,
    I dont want applychanges button and delete button in my page 2. But when i created form on a table or view this but got created and i cannot delete it even. When i am navigating my page from page 1 to page 2 and filling the fields in page 2 and clicking create button, at that time i want after updating my table and running my plsql process which i have created which you can see in page processing, my button at same page get generate which i will use to navigate to other form. This button which i want to generate after clicking my create button will be meaningful only if my record get inserted in table. so that is why i want it at that time.
    I dont want any report so i am not creating form on a table or view

  • New details on same page won't insert

    Hi,
    I am not able to get a master-detail-on-same-page to work properly.
    It is created with a wizard.
    After adding the first row and entering data, the row is lost when clicking Apply Changes of the master.
    The row is not inserted in the database.
    When I first add a second row without entering data, the first row is inserted when clicking Apply Changes of the master.
    Also when adding the second row, an extra Apply Changes button appears for the details.
    I am using theme '14. Modern' in APEX 3.0.1 on 10g XE.
    Any help will be welcome,
    Martijn

    Hi again,
    The same problem can be seen when following the Advanced Tutorial topic 'How to Create a Master Detail PDF Report'.
    After following the instructions you get a report with master detail form.
    When all detail rows are deleted, the Apply Changes button of the details table disappears.
    You now can add a fill in a new row. However the Apply Changes button won't save your new detail row. Though adding a next row without entering data will save the first row, and the Apply Changes button reappears.
    So, after all the job is done. However it is not the way of working we will instruct end users.
    Is their a way to get the Apply Changes reappear just after adding the first row?
    Thanks in advance,
    Martijn

  • How to insert into 2 tables from the same page (with one button  link)

    Hi,
    I have the following 2 tables....
    Employees
    emp_id number not null
    name varchar2(30) not null
    email varchar2(50)
    hire_date date
    dept_id number
    PK = emp_id
    FK = dept_id
    Notes
    note_id number not null
    added_on date not null
    added_by varchar2(30) not null
    note varchar2(4000)
    emp_id number not null
    PK = note_id
    FK = emp_id
    I want to do an insert into both tables via the application and also via the same page (with one button link). I have made a form to add an employee with an add button - adding an employee is no problem.
    Now, on the same page, I have added a html text area in another region, where the user can write a note. But how do I get the note to insert into the Notes table when the user clicks the add button?
    In other words, when the user clicks 'add', the employee information should be inserted into the Employees table and the note should be inserted into the Notes table.
    How do I go about doing this?
    Thanks.

    Hi,
    These are my After Submit Processes...
    After Submit
    30     Process Row of NOTES     Automatic Row Processing (DML)     Unconditional
    30     Process Row of EMPLOYEES     Automatic Row Processing (DML)     Unconditional
    40     reset page     Clear Cache for all Items on Pages (PageID,PageID,PageID)     Unconditional
    40     reset page     Clear Cache for all Items on Pages (PageID,PageID,PageID)     Unconditional
    40     reset page     Clear Cache for all Items on Pages (PageID,PageID,PageID)     Unconditional
    40     reset page     Clear Cache for all Items on Pages (PageID,PageID,PageID)     Unconditional
    50     Insert into Tables     PL/SQL anonymous block     Conditional
    My pl/sql code is the same as posted earlier.
    Upon inserting data into the forms and clicking the add button, I get this error...
    ORA-06550: line 1, column 102: PL/SQL: ORA-00904: "NOTES": invalid identifier ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
         Error      Unable to process row of table EMPLOYEES.
    Is there something wrong with the pl/sql code or is it something else?

  • URGENT: Insert multiple rows in a view object cache from the same Page

    Please let me know whether I can get insert multiple rows in the same view object from a single page.
    I'm using UIX on Jdeveloper 9.0.5.2
    Thanks a lot.

    Hi,
    please check Duncan Mills how-to on this
    http://www.oracle.com/technology/products/jdev/tips/mills/JSP_Multi_Row_Edits.html
    Frank

  • Server side function not get called after dispatching cairngorm event second time on same page

    Hi All,
    I am facing a urgent issue regarding cairngorm event. Actually my page contain 3 button add,delete,save
    and  clicking of any button I do the respected functionality. For ex:
    I click the add button & on clicking of add button I fire a cairngorm evnt & after getting response from server side that the record is added
    I displayed a message that the record is added & update the data source.
    After addition of the record , with out going to other page if I perform the same functionaly(Like adding another record) on same page the cairngorm
    event not call the server side function  -  after debugging I find out that cairngorm event  reach to the corresponding excutecommand function & called that function  but it is not calling my server side function & I also din't get any error message .
    I dont know why  the server side function not get called?. similarly if I try for delete or update case the same things happend. Only for the first time it works properly but not for the second  time.
    Could any of  you please tell me why the cairngorm event not calling the server side function.
    Thank you for your kind assistance.
    Regards,
    Ujjwal

    Okay, well I think I've worked out the problem.
    In ASP.NET we would typically bind repeating controls such as DataLists and Repeaters manually using <i>Control</i>.DataBind(), because we're usually using a separate class library containing collections for our objects. Seems the SAP Table control doesn't like this approach.
    I changed the code so that the databinding is specified on the control, and call the Page's DataBind() method and it all worked fine.
    One tip: because the collection I used to bind to is in a separate class library, I receieved a <i>BC306523: Reference required to assembly MyAssemblyName...</i> message, even though I had a reference to the assembly in my project and the DLL is being properly deployed. To fix this, you must include the following directive at the top of the component's ASCX file:
    <%@ Assembly Name="AssemblyName" %>

  • Same page for insert/update

    Hi there,
    Do someone knows about JSF patterns for using the same page/form for inserting and updating the same entities information ?
    2 use cases:
    1 --> the user browses a list of objects (DataTable), let's say Employees, clicks on one line and gets redirected to the employee details page so he can update the information;
    2 --> the user wants to create a new employee and goes to the same page which is empty.
    The way I am actually doing it: I have an employeeForm page and an EmployeeForm managed bean (session scope) which contains an instance of Employee. This Employee is initialized when an empty form is needed or sent by DataTable controller when employee details' are requested.
    This is not really nice to my point of view since the EmployeeForm controller has to re-initialize it's Employee instance after each usage.
    Does someone has a link or can provide a comment for a "best practise" on that topic?
    Thanks in advance,
    Fabrice.

    I think you should consider using the request scope of the employee bean, when navigating from dataTable to employeeForm overwrite the bean with the value from datatable
    otherwise the bean is created on every request.

  • Whenever i try to sync iphone5(version8.0.2) with itunes 12 on macbookpro.it appears cannot sync the purchased items on itune store. authorize your computer.i authorized it many times. but same response comes again to authorize.

    whenever i try to sync iphone5(version8.0.2) with itunes 12 on macbookpro.it appears cannot sync the purchased items on itune store. authorize your computer.i authorized it many times. but same response comes again to authorize.

    If you are sure that you are authorizing the correct account/ID then:
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases

  • Final total cannot appear when the last line item reached the page end

    Hi All,
    My report included 2 pages. Problem is the final total cannot appear when the last line item reached the page end. (page 2)
    final total will appear on the middle of last page (page 3) when i comment (type    = 'BOTTOM').
    Below is the program.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          dialog   = 'X'
          form     = 'ZBOTM_VOUCHER'
          language = sy-langu.
      sort itab by vblnr.
      LOOP AT itab INTO wa_itab.
        move wa_itab-vblnr to reguh-vblnr.
        move wa_itab-lifnr to reguh-lifnr.
        move wa_itab-rbetr to reguh-rbetr.
        reguh-rbetr = reguh-rbetr * -1.
        CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            window  = 'MAIN'
            element = 'DETAIL'.
        t_rbetr = reguh-rbetr + t_rbetr.
        AT LAST.
          CALL FUNCTION 'WRITE_FORM'
            EXPORTING
              window = 'LINE'.
          CALL FUNCTION 'WRITE_FORM'
            EXPORTING
              element = 'TOTAL'.
              type    = 'BOTTOM'
              WINDOW  = 'MAIN'.
        ENDAT.
    Thanks.

    Hi,
    Where should I include the code for bottom?
    How to open text editor?
    Thanks.
    Edited by: Alice8 on Feb 7, 2011 9:09 AM

Maybe you are looking for

  • How do show JTree DnD drop location with custom TreeRenderer?

    I am adding DnD support to a JTree with a custom renderer. With the custom renderer I am losing the display of drop location on the tree. Is there a method to determine if the passed in node object in the getTreeCellRendererComponent is currently a d

  • HT204291 I

    I have an iPad 4 and an iPhone 5. I can't connect either to my Apple TV. I have been able to connect them to a friends but when I use my Apple TV I don't get an airplay icon?? I have airplay open on the TV and both are on the same wifi network

  • FS-CD Dunning

    Hi FS-CD gurus, After running VPVA transaction the dunning levels are created in the FKKMAKO table. But the print dates are not updated. Due to this VYM10(Dunning history) transaction is not showing this dunning level in the output. Please advise on

  • Please Help Me Regarding OS Authentication..

    Hi All, I am using Oracle Database 10g on Windows XP. My problem is when I provide my Operating System Username and Password(Host Credentials) for example, Username: Administrator and Password: *******. I am getting the error shown below : Validation

  • My speakers don't show up as an audio output. How do I fix this?

    I honestly have to say that everything was fine yesterday, but somehow I can't select my speakers as an audio output. When I searched many forums about this problem, people seem to think there's an option for that in the sound settings. Well take a l