Page Designs (CSS)

I am brand new to this program and i am trying to start off
with a template. When i try to start off with the "Two-Column Left
Nav," i get the prompt:
"Dreamweaver stores templates in the root folder of a site,
but there are no sites defined. Please define a site."
What do i do?

Define a site. Read DW's F1 Help about how to do that.
A word of caution. If you are not very comfortable with HTML
and CSS, not
ony will you find the learning curve into DW hard, but you
will also find
the use of the HALO templates frustratingly maddning. I don't
think it's a
good place for new users to start.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"choms33" <[email protected]> wrote in
message
news:e2jonq$1q$[email protected]..
>I am brand new to this program and i am trying to start
off with a
>template.
> When i try to start off with the "Two-Column Left Nav,"
i get the prompt:
>
> "Dreamweaver stores templates in the root folder of a
site, but there are
> no
> sites defined. Please define a site."
>
> What do i do?
>

Similar Messages

  • CSS-Page Design- Halo, Left Nav

    Hello,
    How are the Section Links activated in the CSS-Page
    Design-Halo, Left Nav. Should the Section Links be drop down menus,
    or are they simply to be used as hyperlinks?

    The HALO templates not the best choice for anyone, really.
    They are fiddly,
    and awkward.
    How comfortable are you with HTML, CSS, and javascript?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "JHTHS" <[email protected]> wrote in message
    news:ekfans$oqm$[email protected]..
    > Hello,
    > How are the Section Links activated in the CSS-Page
    Design-Halo, Left Nav.
    > Should the Section Links be drop down menus, or are they
    simply to be used
    > as hyperlinks?

  • Can I use grid layout in JSF visual page designer ?

    Hello dears...
    I am using Jdeveloper 11 g and 10 g .
    When I tried to use JSF visual editor (from the component palette), and when I drag any control to the page I found that the control go to the top left of the page
    and I even can not move the control to another place in the page by the mouse.
    the JSF visual designer seems to use flow layout for the page . (the same as using flow layout in the swing applications).
    The question is Can I change the page layout to be grid layout instead of flow layout ?????? (to be able to move any control to anywhere in the page.)
    Note that in netbeans 6.1 , when u design JSF page , you have 2 options for the page layout, grid layout and flow layout and u can choose as u like.
    Is this feature found in jdeveloper 11 ?????
    if not , Can anybody tell me any workaround to design JSF pages without using flow layout ????
    Thanks in advance
    Samy
    Edited by: user10653280 on Nov 29, 2008 1:30 PM

    We don't provide absolute positioning for JSF application - this is a bad practice since it fills your JSF page with CSS code and create applications that are not portable between different screen/monitor resolutions - so we use flow layout instead and provide a much richer set of layout components.
    See info here:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/af_orgpage.htm#CACCBCCI

  • Highlighting Current Page with CSS

    This morning I post my first Dreamweaver/CSS site. It is for
    a DVD I produced about infant massage. www.BabyBabyOhBaby.com.
    What I'd like to do is highlight the current page in the
    navigation bar using either a border or color change. I've found
    some sites like
    http://www.hicksdesign.co.uk/journal/highlighting-current-page-with-css
    but, sorry to say, I'm a beginner at both Dreamweaver & CSS and
    I can't quite follow the code.
    Is there some way within Dreamweaver to accomplish the
    highlighting in design view without writing the code? Or perhaps
    someone has some very basic elementary CSS guidance?
    Thanks for your time,
    David

    Oh, yeah. 8)
    Get that....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "E Michael Brandt" <[email protected]> wrote
    in message
    news:[email protected]...
    > <informative but also self-serving>
    >
    > Really we have made this much much easier. divaGPS
    creates you-are-here"
    > menu highlighting and is easy to add to any number of
    pages at once - even
    > Templates' Child pages. It is a commercial DW Extension
    that will save
    > you lots of time and effort.
    >
    >
    http://divahtml.com/products/divaGPS/current_menu_location.php
    >
    > <informative but also self-serving />
    >
    > --
    >
    > E. Michael Brandt
    >
    > www.divaHTML.com
    > divaGPS : you-are-here menu highlighting
    > divaFAQ : FAQ pages with pizazz
    >
    > www.valleywebdesigns.com
    > JustSo PictureWindow
    > JustSo PhotoAlbum
    >
    > --
    >
    >
    > Murray *ACE* wrote:
    >> You need to know the downside to using layers as a
    primary layout
    >> device - open your page in Firefox (or any non-IE
    browser) and bump the
    >> text size up a tick or two. Ugh....
    >>
    >> Here's your navbar -
    >>
    >> <div id="navbar"><a
    href="index.html">Home</a> | <a
    >> href="about_dvd.html"> the DVD</a> | <a
    href="preview.html">Preview</a> |
    >> <a href="reviews.html">Reviews</a> |
    <a href="infant_massge.html">Infant
    >> Massage</a> | <a
    href="contact_us.html">Contact Us</a> | <a
    >>
    href="shopping.html">Shopping</a></div>
    >>
    >> Change it to this -
    >>
    >> <div id="navbar"><a href="index.html"
    id="button1">Home</a> | <a
    >> href="about_dvd.html" id="button2"> the
    DVD</a> | <a href="preview.html"
    >> id="button3">Preview</a> | <a
    href="reviews.html"
    >> id="button4">Reviews</a> | <a
    href="infant_massge.html"
    >> id="button5">Infant Massage</a> | <a
    href="contact_us.html"
    >> id="button6">Contact Us</a> | <a
    href="shopping.html"
    >> id="button7">Shopping</a></div>
    >>
    >> Then on each page, embed a little stylesheet in the
    head by changing
    >> this -
    >>
    >> </head>
    >>
    >> to this -
    >>
    >> <style type="text/css">
    >> a#buttonX { your highlight styles }
    >> </style>
    >>
    >> and just change the "X" to whatever number button
    you want to highlight.
    >>
    >> You can do this in Design view, but it's too
    tedious.
    >>

  • Apex 5 Page Designer Suggestion and Bug

    Hi Apex Team,
    I would like to make a suggestion and report a bug related to the Page Designer.
    1. When editing the properties of an item on the Page Designer, there are two “CSS Classes” options, one under Appearance and another under Advanced (Show All options). My guess is they refer to the Item CSS Classes and HTML Form Element CSS Classes from the Component/Tree View; but this is not obvious for someone that comes new to Apex straight to the Page Designer. I would suggest renaming one of them with a more meaningful name to remove ambiguity.
    2. On the same item’s property on the Page Designer, by going to the List of Values Icon (^) of the CSS Classes or Custom Attributes, after the popup window opens, by clicking twice on the Go (>) button, the results are quadruplicated, even worse by quickly clicking multiple times. This does not happen for the Format Mask popup window.
    Thank you,
    Erick

    Hi Gerald,
    Saving the pivot view as primary default report works fine.  When you defined the pivot, did you save the setting as primary default settings (Actions > Save Report > Save As Default Report Settings, select primary)? Once you save, the report will display in pivot view when you come back to the page or reset the report.  If there is still an issue, please let me know the reproducible steps.
    Regards,
    Christina

  • Create Portal Page Design with Dynamic content in Moss2007(without using Visual Studio)

    Hi All,
    I am facing a issue while designing a page in MOSS 2007. I can't use custom code as the client doesn't want it to be used.
    The page is with dynamic content coming from sharepoint lists and picture library. I tried using SharePoint Listview after adding zones as per my page design..but was unsuccessful because I am unable to change its design and css styles in its xslt view.
    Plesae help me to find any alternative so that I can easily style my page with the dynamic content. Is there any way using Content editor webparts? Can we get List data in Content editor html as this can be easily styled. I googled and tried it by using javascript
    and jquery but again unsuccessful.
    Please help me with some solution.
    Thanks..!!

    I recommend your repost this in the WebLogic Portal forum.
    WebLogic Portal

  • If I copy/duplicate a page my css-layout changes

    If I copy/duplicate a page my css-layout changes, even though the pages are identical and use the same (external) css-file.
    This is what happens:
    I have a 2-column fixed css container. The sidebar and mainContent align perfectly on the original page, but on the duplicate page the mainContent suddenly moves to the right (it somehow adds the width of the sidebar to the margin of the mainContent).
    Does anyone know what to do about this?
    Thanks!

    Hang on. I just checked, and it only happens in the design-view inside dreamweaver. When I preview the pages in my browsers (Safari and Opera, still need to check in IE) the problem doesn't occur. So it isn't as big of a problem as I thought it was. Still very annoying though, so if anyone knows how I can fix the problem in the design/split-view, thanks...

  • How to create new pre-designed CSS layouts in DW CS4?

    Since I'm a relative newcomer to Dreamweaver and CSS, I normally begin my new pages with one of Dreamweaver CS4's pre-designed CSS layouts in the Blank Page HTML section - 2 column fixed left sidebar, 1 column elastic centered, 3 column fixed header and footer, etc.
    Lately I'm expanding to some more elaborate layouts and I'll like to be able to create new pre-designed CSS layouts of my own to add to this list. So I have a couple of questions:
    1) What types of files are these layouts? They all seem to have an accompanying style sheet in addition to having a page template. What I'm getting at is, if I were to revise one of these, how would I save my revised version so that it would show up in this list of pre-designed layouts in the future?
    2) Related to the first question, where are these pre-designed CSS layouts stored within Dreamweaver's file and folder structure? I can't seem to find them anywhere.
    I appreciate your input on this.

    Adobe scrapped the old Starter pages.  Many things have changed since they were first introduced.
    You'll find newer Templates and Starter Layouts below:
    Dreamweaver CSS Templates for beginners
    http://www.adobe.com/devnet/dreamweaver/articles/dreamweaver_custom_templates.html
    New DW Starter Pages --
    http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html
    Ultimate Multi-Column Layouts -
    http://matthewjamestaylor.com/blog/ultimate-multi-column-liquid-layouts-em-and-pixel-width s
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • How to create a multi-page collapsible & CSS styleable table of contents box?

    How to create a multi-page collapsible & CSS styleabe table of contents box?
    Is there a tool available for Dreamweaver or for standalone operation that can create for multi-page articles a collapsible & CSS styleabe table of contents box based on the page titles?

    You could do this with jQuery.
    Table of Contents -
    http://www.downloadjavascripts.com/list/javasiteccc68/Details.aspx
    Collapsible Panels, Tables & Accordions -
    http://www.downloadjavascripts.com/Collapsible_And_Free_Accordion_Panels.aspx
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Centred page design using layers

    Hi I use layers to design my web pages but would like to
    centre them, so they always
    appear in the centre of the page by default rather than
    aligned to the left hand side as positioned.
    (if you vierw my site you will see how its aligned to the
    left but would like to centre it )
    http://www.chrisleslie.co.uk)
    I know if you design with tables and you centre the page
    design it always appears centre but
    ist his possible with layers?????please, any help much
    appreciated. im using dreamweaver 8......
    chris

    > Hi I use layers to design my web pages
    This is usually a very poor choice - here's why....
    http://www.great-web-sights.com/g_layer-overlap.asp
    > ist his possible with layers?????
    Certainly.
    Change this -
    </head>
    to this -
    <style type="text/css">
    <!--
    body { text-align:center; }
    #wrapper { text-align:left; width:760px; margin:0
    auto;position:relative; }
    /* 760px will display on an 800px screen maximized browser
    window without */
    /* horizontal scrollbars. */
    -->
    </style>
    </head>
    change this -
    <body ...>
    to this -
    <body ...>
    <div id="wrapper">
    and this -
    </body>
    to this -
    <!-- /wrapper -->
    </div>
    </body>
    and see if that helps.
    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
    ==================
    "chrisleslie" <[email protected]> wrote in
    message
    news:fj0pl2$oh3$[email protected]..
    > Hi I use layers to design my web pages but would like to
    centre them, so
    > they
    > always
    > appear in the centre of the page by default rather than
    aligned to the
    > left
    > hand side as positioned.
    > (if you vierw my site you will see how its aligned to
    the left but would
    > like
    > to centre it )
    >
    http://www.chrisleslie.co.uk)
    >
    >
    > I know if you design with tables and you centre the page
    design it always
    > appears centre but
    > ist his possible with layers?????please, any help much
    appreciated. im
    > using
    > dreamweaver 8......
    > chris
    >
    >
    >

  • Ms-design-css-conversion="no" Did I add this to the right place?

    ms-design-css-conversion="no"  Did I add this to the right place?  
            <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700" rel="stylesheet" type="text/css" ms-design-css-conversion="no" />
    Do I need to add this, ms-design-css-conversion="no"  to all my css link or just
    the one above ref google fonts?
    Thank you.

    Hi,
    You are right, if the ms-design-css-conversion set to “no” which means there is no need to do the conversion for the tag.
    Example:
    <link href="/Documents/Styles/Default.css" type="text/css" rel="stylesheet" ms-design-css-conversion="no" />
    More information is here:
    http://blog.technovert.com/2013/12/understanding-html-master-pages-in-sharepoint-2013/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • File- New- General- Page Designs

    Is there a location with an SQL script, listing of fields and
    structure or something that sets up a DB and table to use with the
    page design templates?
    For example:
    To use and modify the "UI: Search" page design.
    Without opening the template and search through the HTML.
    How do I find out what are all of the fields used? What's the
    DB and table used?
    Thanks,
    ~Donavon

    You create your own page design templates and store them on
    your local machine in a folder called templates in the root of your
    site. The templates are accessible only for that site and will
    update pages only on that site.
    If you would like to use them on multiple sites, you must
    copy them, in their templates folder to the root of each site you
    want to use them in.
    Your templates folder should also be cloaked so they don't
    get posted on your actual web site. (not the end of the world, but
    they really don't need to be there.)
    So, it you want to use one of the ready made templates, open
    it from within your defined site, then save it in the templates
    folder of that site.
    I may be misunderstanding your question, but there is no DB
    or fields used in these, it is just html code, possibly with CSS
    styling. Templates will have editable and non editable regions in
    them but other than that are not much different than any other
    regular page except that Dreamweaver recognizes their presence and
    updates your template based pages when changes are made.
    Does that help at all, or am I on the wrong track here?

  • Page designer show small view when using page template and cannot be run

    Dear Experts,
    I need to make some page templates.
    I have build 2 simple page templates, let say template0 & template1 which template1 using template0.
    It show no any problem until I close my Jdeveloper & reopen it.
    When I reopen template1, it show so small in designer (Jdeveloper window).
    Is there any wrong?
    I have build another template, just 1 template.
    When I used it at the first time, no any strange behavior occur.
    After ... (I don't exactly when), it give me the same view in my designer.
    Then I force to use my first tempate (template1 which used template0 inside), I cannot run my application at all.
    After wait several minutes, I found error log in my log messages.
    *#### Server Instance DefaultServer could not be started: Server Instance was terminated.*
    Above the message, I found another error messages:
    *Jun 7, 2009 5:40:19 PM ComponentMetadataHandler _error*
    WARNING: error parsing component tag in file: null/tag:xmlContent/id:dte_160d74a
    org.xml.sax.SAXParseException: <Line 69, Column 7>: XML-20100: (Fatal Error) Expected 'EOF'.
    *     at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)*
    Is there anyone that can help me to find out why this error occured?
    Should I raise this problem to metalink or just can post it in this forum?
    Many thanks for your supporting...
    N.B: Below I attach my template0 (AHM000.jspx) and template1 (AHM001.jspx)
    Best regards,
    Dominic Chandra
    AHM000.jspx
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <c:set var="ahmwebtemplateBundleAHM000"
    value="#{adfBundle['com.ahm.lib.view.template.AHMWebTemplateBundle']}"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <af:pageTemplateDef var="attrs">
    <af:panelSplitter orientation="vertical" splitterPosition="60">
    <f:facet name="first">
    <af:decorativeBox theme="dark" topHeight="0px">
    <f:facet name="center">
    <af:panelHeader text="#{attrs.pageTitle}">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <f:facet name="legend">
    <af:panelGroupLayout>
    <af:outputText value="#{attrs.pageName}"/>
    <af:outputText value="#{sessionScope.userState.userName}"/>
    <f:facet name="separator">
    <af:spacer width="10" height="10"/>
    </f:facet>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="info">
    <af:statusIndicator/>
    </f:facet>
    </af:panelHeader>
    </f:facet>
    <f:facet name="top"/>
    </af:decorativeBox>
    </f:facet>
    <f:facet name="second">
    <af:panelSplitter orientation="vertical" positionedFromEnd="true"
    splitterPosition="20">
    <f:facet name="first">
    <af:decorativeBox theme="light" topHeight="0px">
    <f:facet name="center">
    <af:facetRef facetName="mainArea"/>
    </f:facet>
    <f:facet name="top"/>
    </af:decorativeBox>
    </f:facet>
    <f:facet name="second">
    <af:panelGroupLayout inlineStyle="text-align:right;">
    <af:outputText value="#{ahmwebtemplateBundleAHM000.VERSION} #{attrs.appVersion}"
    inlineStyle="color:Navy;"/>
    <af:outputText value="© 2009 PT Astra Honda Motor"
    inlineStyle="color:Navy; font-weight:bold;"/>
    <f:facet name="separator">
    <af:spacer width="10" height="10"/>
    </f:facet>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    </af:panelSplitter>
    <af:xmlContent>
    <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
    <display-name>AHM000</display-name>
    <facet>
    <description>Main Area</description>
    <facet-name>mainArea</facet-name>
    </facet>
    <attribute>
    <attribute-name>pageTitle</attribute-name>
    <attribute-class>java.lang.String</attribute-class>
    <default-value>Page Title</default-value>
    <required>true</required>
    </attribute>
    <attribute>
    <attribute-name>
    pageName
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    ahmxxyyynnnznn
    </default-value>
    <required>
    true
    </required>
    </attribute>
    <attribute>
    <attribute-name>
    appVersion
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    1.0.0
    </default-value>
    </attribute>
    </component>
    </af:xmlContent>
    </af:pageTemplateDef>
    </jsp:root>
    AHM001.jspx
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <c:set var="ahmwebtemplateBundleAHM001"
    value="#{adfBundle['com.ahm.lib.view.template.AHMWebTemplateBundle']}"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <af:pageTemplateDef var="attrs">
    <af:pageTemplate viewId="/template/AHM000.jspx">
    <f:facet name="mainArea">
    <af:panelSplitter splitterPosition="#{attrs.searchAreaPosition}">
    <f:facet name="first">
    <af:facetRef facetName="searchArea"/>
    </f:facet>
    <f:facet name="second">
    <af:panelSplitter positionedFromEnd="true"
    splitterPosition="#{attrs.infoAreaPosition}">
    <f:facet name="first">
    <af:facetRef facetName="mainArea"/>
    </f:facet>
    <f:facet name="second">
    <af:facetRef facetName="infoArea"/>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    <f:attribute name="pageTitle"
    value="#{attrs.pageTitle}"/>
    <f:attribute name="pageName" value="#{attrs.pageName}"/>
    <f:attribute name="appVersion" value="#{attrs.appVersion}"/>
    </af:pageTemplate>
    <af:xmlContent>
    <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
    <display-name>AHM001</display-name>
    <facet>
    <description>Search Area</description>
    <facet-name>searchArea</facet-name>
    </facet>
    <facet>
    <description>Main Area</description>
    <facet-name>mainArea</facet-name>
    </facet>
    <facet>
    <description>Info Area</description>
    <facet-name>infoArea</facet-name>
    </facet>
    <attribute>
    <attribute-name>pageTitle</attribute-name>
    <attribute-class>java.lang.String</attribute-class>
    <default-value>Page Title</default-value>
    <required>true</required>
    </attribute>
    <attribute>
    <attribute-name>
    pageName
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    ahmxxyyynnnznn
    </default-value>
    <required>
    true
    </required>
    </attribute>
    <attribute>
    <attribute-name>
    appVersion
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    1.0.0
    </default-value>
    </attribute>
    <attribute>
    <attribute-name>
    searchAreaPosition
    </attribute-name>
    <attribute-class>
    java.lang.Integer
    </attribute-class>
    <default-value>
    200
    </default-value>
    </attribute>
    <attribute>
    <attribute-name>
    infoAreaPosition
    </attribute-name>
    <attribute-class>
    java.lang.Integer
    </attribute-class>
    <default-value>
    200
    </default-value>
    </attribute>
    </component>
    <af:decorativeBox>
    <f:facet name="center"/>
    <f:facet name="top"/>
    </af:decorativeBox>
    </af:xmlContent>
    </af:pageTemplateDef>
    </jsp:root>

    Hi...
    Thanks for asking....
    As I put in my post before, I include template0 in my template1, as seen in template1 (AHM001):
    <af:pageTemplateDef var="attrs">
    *<af:pageTemplate viewId="/template/AHM000.jspx">*
    I use AHM000 inside AHM001. I use this approach to build many template based on one basic design.
    Actually, I don't think the problem is in page template usage because as I submitted paralel to Metalink, I've already not called template0 in template1 but I copy template0's contents to template1.
    Unfortunately, page designer show small view and below error messages still occured.
    *Jun 7, 2009 10:25:20 PM ComponentMetadataHandler _error*
    WARNING: error parsing component tag in file: /AhmTestTemplate-ViewController1-context-root/template/AHM001.jspx/tag:xmlContent/id:null
    org.xml.sax.SAXParseException: <Line 115, Column 51>: XML-20100: (Fatal Error) Expected 'EOF'.
    Fortunately my application can be run already altough the error message still logged.
    Many thanks,
    Dominic C.

  • How to layout beans for single page design

    Hey guys. I'm designing a site that uses the Icefaces framework. I've been reading a book called Real World Java EE patterns. I'm kind of confused how to layout the pages. Normally I would have just a POJO class implement serializable for a bean. This bean would then back each page. With a single page design I'm going to have a bunch of elements on the page. Datatables, trees, inputs, calendars etc. Is it normal or best practice to have separate beans for each datatable, calendar, etc or put that all in one bean? I'm not sure how to approach this. Right now each element is a bean and I'm using the @Inject annotation to have the data table talk to the tree and vise versa. This creates really bad code and if I put this as a member of the class I will get a circular reference because the data table bean has to inject the calendar and the calendar has to inject the data table.
    Thanks for any help.

    'best' practice is to not follow blindly what other people say, but to reason yourself what works best for you. It has been stated many times before and I will state it again: best practice does not exist. Only personal opinions about what is best exist. Personal opinions are not facts.
    So choose what works for you. Is the code easy to maintain? Is it readable? Can you perhaps re-use parts of it? Then I'd say you have a winner.
    I'll give you my personal favorite. When working with a page that has input elements, I tend to have two or three beans. Replace XXX with a logical and context sensitive name.
    XXXForm - this is a simple request scoped bean that has the action and event methods and will hold some data for reading purposes for the view, possibly taken from a database.
    XXXStorage - this is a session scoped bean that holds information from the form; if it is an editing function I initialize it with the current state first. Storing this stuff in a session bean makes it very easy to do Ajax stuff and create input cycles that span multiple requests. Also when data is split in multiple pages, the storage class is the one to remember which page is being displayed.
    Optionally, I also have an XXXSearch object, which is a session scoped bean that stores search/sort/filter parameters. I make this session scoped so the information is remembered for the duration of the user's visit, meaning he can navigate away from the page in question, come back and all his choices will still be in place.
    So no, I don't have beans specifically for each component, although I might make simple POJOs to hold information gathered from several sources (for example, information gathered from several database tables). These beans are generally used to fill the rows of a datatable and are just created from within the form class, for example in a @PostConstruct annotated method.

  • I'd like to remove a thin line that is part of the page design in one of Aperture's photo books.  I can't seem to make it happen.  Any suggestions?

    I'd like to remove a thin line that is part of the page design in one of Aperture's photo books.  I can't seem to make it happen.  Any suggestions?

    The mouse that came with my Mac does not have a right click feature. When I try to highlight and click, it just opens the link I don't want anymore. What I want to do is remove unwanted links from the top bar. For example, I no longer use GoodSearch or myEarthLink, but I can't delete them. There are also some links that never should have found their way up there, and I don't know how they ended up there, and I can't remove them either. I've read through a ton of questions and answers, and I can't find one that addresses the problem. With my Safari browser, all I have to do to remove an unwanted link is to click and drag it to the trash. It doesn't appear to work that way with Firefox, to my chagrin. I hope this better explains my question. Maybe that will give you a better insight into a solution.

Maybe you are looking for