Repeating html menu inside cfm pages.

I have a html/css menu and I need to repeat this menu in all of my cfml pages.
How can I do this without type the code every time ?
I thought create html menu only and , I call this html inside cfm page.
How can I do this?
Thanks

Thanks you

Similar Messages

  • How to use HTML tags inside JSF pages

    I am creating a Menu using dataTable and outputLink in a JSF page.
    <div class="bodyarea">
    <div id="location">
    <ol>
    <h:dataTable value="#{menuItem.breadCrumb}" var="bread" >
    <h:column>
    <li>
    <h:outputLink id="crumbID" value="#{bread.menuLink}">
    <h:outputText id="crumpName" value="#{bread.menuLabel}" style="width: 165px;"/>
    </h:outputLink>
    <li>
    </h:column>
    </h:dataTable>
    </ol>
    </div>
    </div>
    I want to use <li> HTML tag as shown in code above before and after every <tr> tag formed, but when i run it and see view source, this is how it shows:
    NOTE: you can see it has thrown out of <table> tag itself.
    <div class="bodyarea">
    <div id="location">
    <ol>
    <li>
    </li>
    <table>
    <tbody>
    <tr>
    <td><a id="_id0:0:crumbID" href="/eApps/admin/loginPage.jsp?MenuItem=-1"><span id="_id0:0:crumpName" style="width: 165px;">Home</span></a></td>
    </tr>
    <tr>
    <td><a id="_id0:1:crumbID" href="/eApps/admin/loginPage.jsp?MenuItem=3~-1"><span id="_id0:1:crumpName" style="width: 165px;">HIM Admin</span></a></td>
    </tr>
    </tbody>
    </table>
    </ol>
    </div>
    </div>
    Can some one help me, how do i use HTML tags inside <h:dataTable>.
    Or is their any other way i should form my Menus, to fully utilize to HTML tags.
    Thanks
    Ravi

    Hello,
    You can embed the verbatim elements in your datatable, ie,
    <h:dataTable value="#{menuItem.breadCrumb}" var="bread" >
      <h:column>
        <f:verbatim><li></f:verbatim>
        <h:outputLink id="crumbID" value="#{bread.menuLink}">
          <h:outputText id="crumpName" value="#{bread.menuLabel}" style="width: 165px;"/>
        </h:outputLink>
        <f:verbatim></li></f:verbatim>
      </h:column>
    </h:dataTable>

  • How to repeat my menu in every page.

    i have created a baner with 5 buttons and i want to have it
    in every page that i go that are linked. if i click a button i dont
    whant the banner and buttons to disappear and show up again. if i
    click a button i want the banner and buttons to stay were they are
    and the rest of the page to change according to the button
    pressed.

    Just create the same menu system for every page... look at
    using the
    Dreamweaver Template feature or even a library item if the
    site is a small
    one. If it's a large one, then look at using server side
    includes (SSI).
    Once the intial page has been loaded in to the visitors'
    browser, you
    shouldn't see a noticeable difference in the loading of the
    navigation
    buttons on subsequent pages.
    Yes, as the other poster mentioned, it seems you are talking
    about using
    frames, but I'd strongly advise against that... frames come
    with problems
    of their own. Just do a search of the forum for 'frames' and
    you'll see
    what I mean.
    Nadia
    Adobe® Community Expert : Dreamweaver
    CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    ~ Customisation Service Available ~
    http://www.csstemplates.com.au
    >i have created a baner with 5 buttons and i want to have
    it in every page
    >that
    > i go that are linked. if i click a button i dont whant
    the banner and
    > buttons
    > to disappear and show up again. if i click a button i
    want the banner and
    > buttons to stay were they are and the rest of the page
    to change according
    > to
    > the button pressed.
    >

  • Can I import HTMLs from inside the project and use as portlet page ?

    As you know, I am using Java Studio Creator 2 Update 1 for my current portal project. I have created JSR-168 JSF Portlet Project for my portlet development.
    As I have some html pages ready for my development,
    Can I import HTMLs from inside the project and use as portlet page for my project?
    I did the followings steps:
    1: In side the project - File -> Add Existing Item -> Web Page ( imported test.html page from my local folder)
    2: Let it convert some of the tags for me ( so now it becomes - �test.jsp� )
    3: Set it to initial view.
    4. A default portlet page � newPortletPage.jsp is still there with no initial view.
    Now after doing this, No Visual Designer and Properties window available to for that �test.jsp� page. Though it allowed me to �build� the project successfully.
    When I build and run the portlet application, got the error message �Error occurred in portlet!� on Pluto Portal. Please advice.

    You do not open fcpproject files. You don't double click or anything else. The files have to be in the correct folder structure in the Final Cut Projects folder and the application opens them automatically. Can you post screen shots of the Final Cut Projects folder and its location.

  • Create a static HTML page from a CFM page

    How do I take the results of a dynamic CFM page and write it
    to a static HTML page.

    You can also use the CF administrator.
    Schedule the task. (Or just create the task to be hit by a
    call from a page.) When you set up the "task" Click Publish Save
    output to a file
    and assign the path you want it to write to. I do this for
    high volume front pages and have them created every few minutes to
    reduce the load on the sql and cf servers..

  • Abort a failed process inside a .cfm page

    Hello everyone,
    I have been bothered by this for a while.
    I have a cfm page that is doing a process of extracting data
    and ftp to locationA. I have this running for about two years. Then
    there came the need to do the same process and ftp to locationB. I
    did not want to repeat the process, so I added ftp locationB at the
    end of the program, to use the same data file
    The process runs well all the time when I only had
    LocationA. The problem is locationB ftp server sometimes would
    close and not to let me connect. this would stall the whole process
    (I gues it was a rollback feature in cold fusion?), including the
    steps of ftp to locationA, even though locationA's connection was
    fine and open.
    Is there a way in Cold fusion pages to abandon a step that
    fails? In this case, I can put the code to ftp locationB in a
    template. If this template fail, go on to the the next line in the
    main page and not to quit the whole thing? I have seen this in
    other programming languages which have the "abort" function.
    Thanks in advance,

    I figured it out!
    Here is the code:
    <cftry>
    <cfftp action = "putfile"
    username = "anonymous"
    password = "mypassword"
    server = "clientserver"
    localFile = "c:/#filename#.xml"
    remoteFile = "/uploads/#filename#.xml"
    >
    <!--- <p>... other processing goes here --->
    <!--- specify the type of error for which we search
    --->
    <cfcatch type = "application">
    <!--- the message to display --->
    <h3>You've Thrown a Application
    <b>Error</b></h3>
    <cfoutput>
    <!--- and the diagnostic message from the ColdFusion
    server --->
    <p>#cfcatch.message#</p>
    <p>Caught an exception, type = #CFCATCH.TYPE#
    </p>
    </cfoutput>
    </cfcatch>
    </cftry>
    All I care is that the program does not stop because of the
    ftp error. I don't need the detail error message. Once I took out
    the lines in the example, it worked fine.

  • Firefox won't display a html photo inside a frame.

    in facebook, it will not display an png or html file inside a a frame. it will show only a jpg

    Do you see that missing image in Tools > Page Info > Media?
    You can access Page Info via the right-click context menu on a web page and the Tools menu (Alt+T).
    Press the F10 key or tap the Alt key to bring up the "Menu Bar" temporarily if the menu bar is hidden.

  • Showing HTML content in jspx page

    Hi,
    We have stored text/html email messages in database and we want to display this on our page.
    I tried with af:richTextEditor its not showing actual space & font. Few extra line breaks are added.
    I tried af:outputText with escape=false it looks perfect. But all the menu items, command links, tab header label are started showing underlines and the UI looks odd. When I check the documentation it says
    "In addition, nearly all attributes are ignored when "escape" is set to false"
    I believe this is the reason the UI is showing odd.
    All I need is just to show a html content inside a panelGroupLayout. Any suggestions?
    Thiru

    Hi,
    here's what I think works best:
    1. add an ADF Faces inlineFrame component to the page
    2. Have the inlineFrame source property pointing to a servlet that reads and streams the HTML from the database as an HTML document
    Frank

  • Help with IE drop down menu stretching across page, Chrome & Firefox work perfectly.

    I have set up a spry menu in my page.  file:///C:/Users/Kim/Documents/PQH_xhtml/index.html
    Everything works great in Chrome and Firefox. Just not in IE.  The only problem I am having is in IE the drop down menus stretch out all the way across the page.
    I have tried changing the width, but it messes up Chrome and Firefox.  Just need IE to shorten up the width of sub menus.
    Any help is GREATLY appreciated!!!

    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: auto;
    background-color: #f9f8f6;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: bold;
    font-style: oblique;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 14.28%;
    float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: 100%;
    position: absolute;
    left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    float: none;
    clear:left;
    width: auto;
    white-space: nowrap;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    left: auto;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    background-color: #EEE;
    padding: 0.5em 0.75em;
    color: #333;
    text-decoration: none;
    border: thick ridge #3b87d5;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    background-color: #33C;
    color: #FFF;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    background-color: #33C;
    color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarDown.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarDownHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
      display: inline;
      f\loat: left;
      background: #FFF;

  • Load html document inside flash

    I have been informed that it is possible to load an html
    document inside flash, that you use an HTML tag, but I cannot find
    it in the scripts, can anyone show an example and explain how to
    make it work or if there is a tutorial for creating this inside of
    flash.
    Thanks

    Dear All
    I do not know why they call themselves professionals in flash and html, while they can not help us with a simple webpage inside a flash movie.
    No offense
    I was trying the whole week to do that by checking if any body post any tip over the internet, but as usual the profs said that you can only make it in test and only text and bla bla bla.....
    Let me tell you that I have managed to open a whole webpage in my flash website.
    I have this page that is html and have so many codes and things that I do not know, and in my flash website I have a menu which one of its buttons must open that html file, and as every body knows that you will loose the whole work if you poped up another window from your flash website.
    So Cheer up I have managed to open my html page in my flash movie website.
    You can check it up following this link www.compuhometech.com/html_inside_flash/index.html
    If you like to have it please mail me : [email protected]
    Thank you

  • Navigation menu on main page working yet?

    I still do not have the main nav menu on the homepage working.  Right now I have it marked as not displaying and have copied and pasted it onto each page which is a pain.  This is really a basic function of any website and no matter how many other bells and wistles you have the basic site navigation needs to be a priority when providing a website building software.
    I really love muse and have a pretty good working website for a very satisfied customer, however I accidentally discovered the missing navigation menu when trying to train an employee of the company to use their site.  It was pretty embarrasing and did not impress them.  It shows up fine in safari which is why I never noticed it, but when they use Explorer it is not there, and this is only on the main home page ther rest of the pages display it fine.  If you click  on where it is supposed to be on the home page the navigation works.  It is just not displayed, which is kind of stupid looking.
    Please let me know when this very important feature gets really fixed!!!

    Yes.  Dreamweaver Templates (DWT files) allow you to define repeatable areas on your site pages such as common #headers, #footers, #menus as well as editable regions for unique page content.
    Server-Side Includes (SSIs) are also a good way of inserting commonly used code snippets using a single file.  Once uploaded, the include file parses to all parent pages which contain a reference to it.
    Guidance  on when to use DW Templates, Library Items and SSIs -
    http://www.adobe.com/devnet/dreamweaver/articles/ssi_lbi_template.html
    More  on DWTemplates and SSIs:
    http://www.smartwebby.com/web_site_design/dreamweaver_template.asp
    http://www.smartwebby.com/web_site_design/server_side_includes.asp
    Templates Make your life easier
    http://forums.adobe.com/message/2328300#2328300
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Custom File Not Found for CFM pages in CF7

    Hello,
    I realize you can use a custom error page within the CF Admin
    but for this site I don't have access. I'd like to build my own
    error catching page but it's being bypassed if I put it in my
    application.cfm page.
    For example, I enter a page that doesn't exist like
    www.mysite.com/content/foo234.cfm, it just outputs the content from
    the file WEB-INF\exception\exception_en.xml file. I'd like to catch
    it with this in my Application.cfm page:
    <cferror type="exception" template="errorPage.cfm" />
    <cferror type="request" template="errorPage.cfm" />
    Then email me the details.
    What am I missing? Is this not caught by CF? If I use a .html
    extension then IIS uses its 404 page that I can modify.

    Hi,
    According to your post, my understanding is that the top navigation bar not working in some page.
    Did you custom the master page or use different master pager for this pages?
    You can check whether the issued pages have different master page or some one has changed the master page.
    There are some articles about creating custom site map provider, you can check the steps with the following articles then check whether it works.
    http://msdn.microsoft.com/en-us/library/office/cc789625(v=office.14).aspx
    http://www.helpmeonsharepoint.com/2012/03/custom-sharepoint-top-menu-and.html
    http://blogs.msdn.com/b/gauravbadhan/archive/2013/04/02/creating-a-custom-navigation-for-sharepoint-2010.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Can't open any cfm pages

    I installed a trial version of ColdFusion MX , to work
    through some tutorials from a book on E-learning.
    It installed OK. But I now want to access the Index page in
    order to add a New Data Source, and it won't open! It says it
    doesn't recognise the file extension (cfm). My computer is saying
    that all cfm pages are "Homesite+" files. (I had Homesite before,
    but uninstalled it).
    Is there any way out of this? It would be a shame not to be
    able to try out the product.

    Hi Craig.
    No, I'm afraid that doesn't work. If I try and go through the
    Start-Programs menu, I just get a blank page. If I type the address
    in the browser, I get an error (page not available). I can see all
    the files on my hard drive, and i can open any other file type
    (html, css) through the browser, but not the cfm files. If I look
    in the root folder, I can see all the files listed, but my system
    won't open any of them. I saw an earlier posting that said I needed
    to change configuration mappings in IIS for coldfusion files (check
    'Check file exists' box) but that made no difference. I'm stumped.
    I'm using Windows XP Pro with IIS(5.1) if that's any
    help.

  • Repeat Group Header on Each Page in Subreport won't reflect when generate by JRC

    Hi All,
    I have a report that contain several Subreports. Inside the Subreport, there are Group Header section. I have checked the option of "Repeat Group Header on Each Page". It works fine when I preview in Crystal Report. But when I using JRC to generate the report result. The group header only display on the first page of the group details.
    More, Crystal 10 Common Monthly Hot Fix (English) already installed.
    Any idea?
    Thanks a lot for your help!
    Donald

    Hi,
    Doesthe JRC engine uses CR10 jars or XI\R2 jars? Can you possibly try it with latest set of Eclipse jars? You can download it from Diamond.
    Thanks
    Aasavari

  • How can I add an existing cfm page to a project?

    CFB3 Question: How can I add an existing cfm page to a project? I created a project and copied a file into the project folder but I can't seem to find a way to add the cfm file into the project.

    @Carl - Well heck, yes I did... But after reading your response I went back and tried right-clicking on and refreshing different things and what worked was right-clicking on the project name in the Navigator window and then clicking on refresh in that context menu.
    Thank you Carl!

Maybe you are looking for

  • No gateway reply after installing Nokia PC Suite a...

    Having used the usb connection for the first time I now have a no gateway reply problem. Seem to be a lot of issues around this - any experience in this particular situation? Thanks

  • How do I get messages to work on my itouch?

    Every time I try to access messages on my itouch it gives me an error message.  It says "could not sign in. Please check your network connection and try again". But I know my wifi is working because I can download apps and send emails.  Would the fac

  • File addapter cmd before processing message

    hello I have a file adapter sender scenario. I would like to run a simple command that run before processing the message, and need to do a rename to the file that I would like to load. for example, I have aaa.txt, I have a script that changes the nam

  • Need to know ,how SAP is Posting wrong Enrtry at the Table level for Same .

    Hello SAP Experts , Good Morning Gems!!! I have a Typical Issue here , SAP Is Posting In wrong tables .  Production  is currently processed everything that it should process.  This works as designed.             PO = 7800507594 (From Plant  5400 to P

  • Disappearing Folders

    I've updated my Macbook and iMac (latest model) to OS X 10.7 Lion and have "lost" the Library folder in my User account on the iMac but not on the Macbook. I used Tinker Tool to try to confirm that it exists - it does but I can't seem to make it "vis