Do resources in template pages always appear after those in content pages?

Hi everyone.
I want 'jquery162.js' in template.jspx appear before the scripts in content.jspx, what should I do?
/template.jspx :
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
          xmlns:f="http://java.sun.com/jsf/core" xmlns:trh="http://myfaces.apache.org/trinidad/html">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
        <af:resource type="javascript" source="/scripts/jquery162.js"/>
     <af:resource type="javascript" source="/scripts/json2.js"/>
    <af:pageTemplateDef var="attrs" definition="private">
   </af:pageTemplateDef>
</jsp:root>/content.jspx :
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
        <af:document title="content" id="d1">
            <af:resource type="javascript" source="/scripts/jquery.ztree.core-3.0.min.js"/>
                <af:pageTemplate viewId="/template.jspx" id="pt1">
                </af:pageTemplate>
      <af:document>
   </f:view>
</jsp:root>now I get this...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html class="p_AFMaximized" lang="zh-CN" dir="ltr">
<head>
<title>content</title>
<script src="/scripts/jquery.ztree.core-3.0.min.js" language="javascript" type="text/javascript">
<script src="/scripts/jquery162.js" language="javascript" type="text/javascript">         <!-- how can I get this one rendered earilier? -->
<script src="/scripts/json2.js" language="javascript" type="text/javascript">
</head>
</html>Any advice? Thanks

> So it will probably not work there
> either.
nope- it won't.
for flash objects in locked parts of a template to work on
the child pages,
they must have a site root relative path because they are
currently inserted
with the active content javascript to write them. So the path
isn't managed
in the child pages like it is for links and images.
you could put it in the root level of you own site, with
unique filenames?
If there aren't many pages, you could rename them in the
files panel to
something like aaa_index.html and aaa_contact.html so they
are grouped
together. also be sure to upload the Scripts folder in the
public root
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/

Similar Messages

  • I've tried to update my ipad 2 with IOs 6 but it was not possible. An error message always appear after some time during e download. Is there an solution?

    I've tried to update my ipad 2 with IOs 6 but it was not possible. An error message always appear after some time during e download. Is there an solution?

    Are you trying to update via wifi or connected to your computer?
     Cheers, Tom

  • How To Add A Template Page

    Hi! So in school, I am required to write up a newspaper and conveniently I have a Late 2013 Retina 13.3" Macbook Pro. After playing around with the pages Newsletter templates, I decided to go with the first option. However I could not find any option or tools to add a new template page. My teacher in school seems to have done it by going to Sections and then selecting various template pages. It seems as if this feature was removed in the new Yosemite update for Pages. Is there an alternative or another option for me to get additional template pages? Thanks!

    Hi KindaKing,
    It seems you would like to know how to save a document you've created as a Pages template. You can do this easily by following the steps in this article:
    Pages for Mac 5.0: Add custom templates
    If you create a document that you want to use again as a model for other documents, you can save it as a template. Creating your own template can be as simple as adding your company logo to an existing template, or you can design a completely unique template. 
    You can add your custom template to the template chooser, or save it as a file to share with others or to install and use on your iOS device. 
    You can install a custom template from an email attachment, iTunes, a WebDAV server, or other apps. If you create a custom template on your Mac, you can save it to iCloud. 
    Save a document as a template
    Choose File > Save as Template (the File menu is at the top of your computer screen).
    Click one of the options:
    Add to Template Chooser: Type a name for the template, then press Return. Your template appears in the My Templates category in the template chooser. 
    Save As: Type a name for the template, then choose where you want to save it. 
    If you save it to iCloud, the next time you open Pages on your iOS device, the template appears as a downloadable file in the document manager. 
    If you save a template to a web server or upload it to webmail, it must have the file extension .template.zip to install it and use it in Pages on your iOS device. 
    Install a custom template
    If you saved the custom template to your computer, to a server, or to iCloud, you can quickly install it. Templates saved to iCloud appear in the document manager and are identified as templates by a template badge. 
    Double-click the template file (it has the file extension .template), then click Add to Template Chooser.
    Rename or delete a custom template
    In the template chooser, Control-click the template name, then choose Rename or Delete.
    If you’re renaming, type a new name, then press Return.
    Custom templates always appear in the My Templates category in the template chooser. You can’t rearrange templates; they always appear in the order in which they were added.
    Thank you for contributing to Apple Support Communities.
    Take care,
    Bobby_D

  • Photos on photo page not appearing after republishing to ftp site

    A photo template page (9 photos) created in iWeb used to appear online along with my other pages when published to an ftp site. However, after changing a few of the photos, none of the photos appear after republishing. The page appears as a menu, but no photos.
    I've recreated the photo page using iWeb's template, but to no avail. The photos are about 150KB each. Any suggestions? My next step would be to create a photo page without using iWeb's template for photos.

    It was likely FTP because when I was online chatting with an FTB service rep hours after republishing the site, the photos all of a sudden appeared.
    At any rate, I very much appreciate your time. Now if I just figure various other things, like why a photo on one of my pages also appears in a text box on the same page! Had to replace the text box with a pdf file to get the text to appear. Strange stuff.

  • There is always a blue screen appears after the Apple logo during the booting process. And then everything is back to normal. What is this thing? Is there something wrong with my screen or something?

    There is always a blue screen appears after the Apple logo during the booting process. And then everything is back to normal. What is this thing? Is there something wrong with my screen or something?

    Nah - that's just the normal boot process.
    Clinton

  • Single page PDF file in mail always appears in message body, instead of as an attachment, contrary to a multiple page PDF. Why?

    When sending a single page PDF file in mail, it always appears as an open file in the message body. Multiple page PDF files appear as attachments. Why the difference and how to change the behavior of single page PDF files so that they appear as attachments instead of open files?

    Hello billsbs,
    Welcome to the Apple Support Communities!
    I understand that when you add a PDF to mail you see its entire contents, but when you add two or more pages Mail shows them as a document icon. To change this behavior for that specific email, please follow the instructions in the attached article. 
    Mac OS X Mail: About PDF attachments
    Have a great day,
    Joe

  • OSX 10.9 Mavericks is there any way to hide servers which always appear in finder after login (hide login items doesn't work as stardered)

    hi all my boss has just got himself a nice new mac and wants to connect it on to my windows domain at work, no problems there it’s all connect fine, one thing we done was to map a few of our network drives on our domain so he can easily load them to his mac, works great when it’s on the domain however when he goes home and logs in for each mapped drive it throws up a window saying it can’t connect or when it is connect opens up every drive, even after disabling them at login, now on the apple website the text reads "if you don’t want an item's window to be visible after login, select hide. (Hide does not apply to servers, which always appear in the finder after login), does anyone know any work around that can maybe solve this or point me in the direction where I can find one.
    Cheers
    Gordon
    Network Admin
    BPDZenith

    hi all my boss has just got himself a nice new mac and wants to connect it on to my windows domain at work, no problems there it’s all connect fine, one thing we done was to map a few of our network drives on our domain so he can easily load them to his mac, works great when it’s on the domain however when he goes home and logs in for each mapped drive it throws up a window saying it can’t connect or when it is connect opens up every drive, even after disabling them at login, now on the apple website the text reads "if you don’t want an item's window to be visible after login, select hide. (Hide does not apply to servers, which always appear in the finder after login), does anyone know any work around that can maybe solve this or point me in the direction where I can find one.
    Cheers
    Gordon
    Network Admin
    BPDZenith

  • Cannot download trial version. This always appear "You are running an operating system that After Effects no longer supports. Refer to the system requirements below for a full list of supported platforms." PLEASE HELP.

    Cannot download trial version. This always appears "You are running an operating system that After Effects no longer supports. Refer to the system requirements below for a full list of supported platforms." PLEASE HELP.

    Hello,
    in this case please have a look here where you can compare it with your equipment : System requirements | After Effects.
    Good luck!
    Hans-Günter

  • A small icon of 404 not found is always appearing on the lower right of my screen whenever I open firefox,whichever page I go,it's still there on the same place

    I can go to whichever page I like,but the small message is always appearing.It is just a small paralilogram whith the message 404 not found and a strange server name.

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    Check the connection settings.
    *Tools > Options > Advanced : Network : Connection > Settings
    *https://support.mozilla.org/kb/Options+window+-+Advanced+panel
    If you do not need to use a proxy to connect to internet then try to select "No Proxy" if the "Use the system proxy settings" setting or one of the others doesn't work properly.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    See also:
    *http://kb.mozillazine.org/Preferences_not_saved
    *https://support.mozilla.org/kb/Preferences+are+not+saved

  • After installing new operating system, Mac started to open word when I turn on the mac and a question always appear about FaceTime.

    After installing new operating system, Mac started to open Word when I turn  on the Mac  and a question about face time always appear when turn on the mac. What should I do?

    Look in system preferences>users and groups>log in items.
    Barry

  • Head page Graphic to always appear above graphics?

    How can i keep the master page header to always appear above any graphics on linked pages?

    Select the element on the Master page that you would like to appear above any object on linked pages and move it to Master Foreground through the context menu.
    Thanks,
    Vinayak

  • Adobe CS5.5 Always appear Trial version after few weeks

    Hi I Bought a Licence of Adobe CS5.5 Dreamweaver. for Windows but Every Few Weeks it displays a Trial Version 30 days
    PC Specs
    Dell Optiplex 990
    Windows 7 SP1 Pro
    320Gb HDD
    2gb DDR3
    Intel Core i3 2400
    things that i have already done
    - reinstall software,
    - re enter serial Key
    last part
    Reformat the PC but still no avail
    the 30 day trial still appears after a succesful Intallation of the Dreamweaver.
    any idea how to resolve this..
    Thanksss

    Weird problem.  When you say re-install, did you first de-activate the software (Help --> Deactivate), then run the Clean Tool ( http://www.adobe.com/support/contact/cscleanertool.html ) and then re-install?  Or did you just re-install without those steps?
    Also if this problem persists, try creating a new user account on the machine because it is not uncommon to have a corrupt user account where some system files/folders that Adobe uses becomes unwritable or unusable thus putting the program back into that state, although the trial usually has more to do with the registry on the Windows side if I'm not mistaken.

  • Templates - pages not updating

    Hi. I have created a simple webpage with a separate CSS file.
    I have now saved this page as a template, the template folder is
    created in my root directory and the template appears within this
    folder. I now create a new page based on the template. This opens
    and I save it as a new page in a new folder within my root
    directory. If I close all pages and then open up the template and
    edit some of the editable areas and then save it asks me if I would
    like to update all the pages created by this template. I say yes,
    however it will not update the pages. Also going into each page and
    manually forcing an update doesn't work either. I have deleted the
    pages and the template about five times and each time it still
    doesn't work. Can't find an answer on this forum or the internet as
    each soloution doesn't work either. Help!! Thanks.

    Changes to editable regions of template files DO NOT
    PROPAGATE TO CHILD
    PAGES. It is only the changes to the non-editable regions of
    the template
    that propagate.
    This is how templates have always worked. If it were not the
    case, you
    could never have unique content on any child page.
    > Can't find an answer on this forum
    There is a long thread just today about this exact topic -
    Subject: Meta description
    > each soloution doesn't work either
    That's because there is no solution other than to learn how
    to use
    templates. That *will* work! 8)
    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
    ==================
    "chrisf_70" <[email protected]> wrote in
    message
    news:g6nca1$2nq$[email protected]..
    > Hi. I have created a simple webpage with a separate CSS
    file. I have now
    > saved
    > this page as a template, the template folder is created
    in my root
    > directory
    > and the template appears within this folder. I now
    create a new page based
    > on
    > the template. This opens and I save it as a new page in
    a new folder
    > within my
    > root directory. If I close all pages and then open up
    the template and
    > edit
    > some of the editable areas and then save it asks me if I
    would like to
    > update
    > all the pages created by this template. I say yes,
    however it will not
    > update
    > the pages. Also going into each page and manually
    forcing an update
    > doesn't
    > work either. I have deleted the pages and the template
    about five times
    > and
    > each time it still doesn't work. Can't find an answer on
    this forum or the
    > internet as each soloution doesn't work either. Help!!
    Thanks.
    >

  • Portal Favorites iview always appear in detailed navigation

    Hello,
    I have a problem regarding the Detailed Navigation with the Portal Favorites iview.
    The iview always appears in the Detailed Navigation, although the only thing it shows is the message "there are no items to display" (meaning that there are no favorites). This causes the detailed navigation to always appear even when there is no need for it (no navigation links and no other content attached to it).
    I tried removing the Portal Favorites iview (because we don't use that iview in the portal and have no need for it) from the innerpage of the default framework page, and it works, but after the next restart of the portal, the iview returns.
    Is there any way to remove it completely so that it won't appear again?
    We're running EP7 SP14.
    Thanks in advance,
    Tal.

    Hi,
    Create a new framework page by creating a delta link of the original page and then modify that framework page.
    Also you will have to create a new portal desktop and use the modified page and also set the desktop rules accordingly.
    Thanks,
    GLM

  • How can i add a template page on my document ? Pages 5.0

    Hi to everyone.
    I have a problem after i updated Pages to the new one (5.0 (1465)). I'm not able to add a template page (for exemple chapter page or photo page or so on), while i'm writing my document. How can i do it ?
    (For example with Keynote i have only to click on "+" in the left bottom corner, and i can choose wich slide i want).
    Can someone help me please ? I need that for my thesis.
    Thank you so much

    If you use the Help menu in Pages 5.0 you will be linked to http://help.apple.com/pages/mac/5.0
    Here is soem of the text you get from the search add custom template.
    Save a document as a template
    Choose File > Save as Template (the File menu is at the top of your computer screen).
    Click one of the options:
    Add to Template Chooser: Type a name for the template, then press Return. Your template appears in the My Templates category in the template chooser.
    Save As: Type a name for the template, then choose where you want to save it.

Maybe you are looking for

  • Not sure if Windows Vista will meet the video requirements

    I checked for all the requirements to download iTunes. My computer meets all of them except for _2GHz Pentium class processor or better._ My computer has only 1.90GHz. What does the mean? Will i not be able to put movies in my iPod nano [Third Genera

  • How to connect my Inspire 5200 5.1 Speakers to my XBOX? Pls Help!!!

    Dear all, I am in need of dire assistance to connect my Creative Inspire 5200 5.1 Speakers to my XBOX. If possible, I would like to maintain the full 5.1 functionality when watching my movies and playing games (that support 5.1 sound). What other cab

  • External LaCie HD not being recognized after 10.5.6 upgrade?

    My LaCie HD used for Super Duper backup is not being recognized by OSX. I also use a WD HD for Time Machine backup. Before I upgraded to 10.5.6 i repaired permissions and backedup to the LaCie. Now when I turn on the drive, OSX does not see the drive

  • Best Ways to research a FI/CO topic ???

    Hello! I am relatively new in the SAP consulting world - I have been an Oracle Financials Functional Consultant till now. Just got my SAP FI/CO certification a couple of months back (after 4 months hands-on training) and am only now getting to use re

  • Working with buttons

    Hello! import flash.text.TextFormat; btn2.visible = false; btn.addEventListener(MouseEvent.CLICK, myClickReaction); function myClickReaction (e:MouseEvent):void{ trace("I was clicked! myclickreaction"); tekst.text = "This is my text"; btn.visible = f