Simple Navigation.

I am trying to create a simple Horizontal Navigation Bar that has links for the subpages of a Page Group rootpage.
I have been using the "subpages" itemtype, but this obviously only works when the user is on the rootpage, if they then go to a sub-page they see the sub-pages of that subpage in the navigation.
This should be easy to implement? I've used several other portal content management systems and Oracle portal doesn't seem to do this?
Any suggestions?

Anyone?
Why is there no simple scripting functionality?
I've developed using MediaSurface which uses Oracle,
They provide a simple scripting language to things like this, e.g.
str_links($item, $template, $detail, $sortfield, $sortfunction, $itemtypename, $method, $number)
Where I can just pass parameters to the function and it creates a list of links from $item and uses the html in $template and whatever $sort I place on it.
Is there nothing like this with Oracle Portal? Or am I missing something?

Similar Messages

  • Simple Navigation in Flash

    Im trying to make a simple navigation system with buttons in
    flash.
    I've made a blank layer called actions and ive named the
    keyframes after the 'pages' in the site (home, about, etc)
    I've also used keyframes to change the text and title on each
    page, and just before the next page i've put stop(); in the
    action-script.
    My final layer has the buttons I'm using. How do I make these
    buttons link to the different 'pages' (frame names in the 'actions'
    layer). I think this is done in action-script so can someone tell
    me the code to input. Am I going about this in the correct way?
    Thanks

    with timeline label navigation you use: gotoAndPlay([frame
    label]); from your buttons onPress handlers. there is a basic
    timeline nav example
    HERE

  • Simple navigation iView

    Hello Gurus,
    I am looking for a way to create a simple navigation iView. It does not have to be dynamic or anything.
    My Page will hold the said navigation iView on the left side and an iView on the right side where the selected web content (JSP pages) should be shown. It is necessary to forward a parameter to the JSPs.
    The navigation tree should have a classic appearance, wich folders holding the actual links.
    I would prefer to use a readily available component.
    Thanks in advance!

    Hi Martin,
    Also check out the weblog at https://weblogs.sdn.sap.com/pub/wlg/2453. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    and the documentation at http://help.sap.com/saphelp_nw04/helpdata/en/43/0174a642406db7e10000000a422035/frameset.htm.
    Hope this helps.
    Daniel

  • How to make a simple navigating form

    Hello All,
    i m very new to forms 6i.
    I have created a form having 2 text items and a push buttons prev,nxt to navigate rows in the table..
    To get a single record is ok .. but i want to make a navigating form ..That is by pressing prev button i can b able to c prev row and same by pressing nxt i can c next record..
    Can any one tell me how i can do for da below simple query..
    Select ename,sal from emp;

    Ravi,
    Forms has a built-in called
    next_record;
    previous_record;
    that you can try to navigate in a form.
    I interprested your post in that "c" means "see" and "b" means "be". Not sure if this was your intention, but if it was, please don't use any abbreviations that confuse the content of your question, because not everybody is willing to spend time on wild guesses.
    Frank

  • Error doing simple navigation in a JSP page

    Hi
    When I do a click on the login.jsp page of a project, the next page do not show. Instead of that, JBoss shows the next dump in its console:
         at javax.faces.component.UIComponentBase.isIdValid(UIComponentBase.java:1050)
         at javax.faces.component.UIComponentBase.setId(UIComponentBase.java:274)
         at javax.faces.webapp.UIComponentTag.createComponentInstance(UIComponentTag.java:721)
         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:596)
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:312)
         at org.apache.jsp.consulta.listardestinos_jsp._jspx_meth_t_navigationMenuItem_0(listardestinos_jsp.java:264)
         at org.apache.jsp.consulta.listardestinos_jsp._jspService(listardestinos_jsp.java:159)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
         at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Unknown Source)
    19:41:59,109 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
    javax.faces.FacesException: Subsequent characters of component identifier must be a letter, a digit, an underscore ('_'), or a dash ('-')! But component identifier contains " "
         at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:422)
         at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.jasper.JasperException: Subsequent characters of component identifier must be a letter, a digit, an underscore ('_'), or a dash ('-')! But component identifier contains " "
         at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
         ... 27 more
    19:50:25,968 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
    java.lang.IllegalArgumentException: Subsequent characters of component identifier must be a letter, a digit, an underscore ('_'), or a dash ('-')! But component identifier contains " "
         at javax.faces.component.UIComponentBase.isIdValid(UIComponentBase.java:1050)
         at javax.faces.component.UIComponentBase.setId(UIComponentBase.java:274)
         at javax.faces.webapp.UIComponentTag.createComponentInstance(UIComponentTag.java:721)
         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:596)
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:312)
         at org.apache.jsp.consulta.listardestinos_jsp._jspx_meth_t_navigationMenuItem_0(listardestinos_jsp.java:264)
         at org.apache.jsp.consulta.listardestinos_jsp._jspService(listardestinos_jsp.java:159)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
         at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Unknown Source)
    19:50:25,968 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
    javax.faces.FacesException: Subsequent characters of component identifier must be a letter, a digit, an underscore ('_'), or a dash ('-')! But component identifier contains " "
         at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:422)
         at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:74)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.jasper.JasperException: Subsequent characters of component identifier must be a letter, a digit, an underscore ('_'), or a dash ('-')! But component identifier contains " "
         at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
         ... 27 more
    the faces-config.xml is this:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config>
         <application>
         <locale-config>
         <default-locale>es</default-locale>
         <supported-locale>en</supported-locale>
         <supported-locale>de</supported-locale>
         <supported-locale>fr</supported-locale>
         </locale-config>
         </application>
         <navigation-rule>
              <description>Navegaci�n desde p�gina de login</description>
              <from-view-id>/general/login.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>loginAction</from-outcome>
                   <to-view-id>/consulta/listardestinos.jsp</to-view-id>
              </navigation-case>     
         </navigation-rule>
         <navigation-rule>
              <description>Reglas de Navegacion del Men�</description>
         <from-view-id>*</from-view-id>     
         <!-- Incluir aca cada uno de los casos de navegaci�n del men� -->
         <navigation-case>
         <from-outcome>listDestiniesAction</from-outcome>
         <to-view-id>/consulta/listardestinos.jsp</to-view-id>
         </navigation-case>
         <navigation-case>
         <from-outcome>createPackageAction</from-outcome>
         <to-view-id>/envio/crearpaquete.jsp</to-view-id>
         </navigation-case>
         <navigation-case>
              <from-outcome>createLoadAction</from-outcome>
              <to-view-id>/envio/crearpaquete.jsp</to-view-id>
         </navigation-case>
         <navigation-case>
              <from-outcome>confirmLoadAction</from-outcome>
              <to-view-id>/envio/confirmardespachocarga.jsp</to-view-id>
         </navigation-case>
         </navigation-rule >
         <!-- Beans -->
         <managed-bean>
         <description>Este objeto maneja los envios</description>
         <managed-bean-name>envioBean</managed-bean-name>
         <managed-bean-class>despachador.web.bean.EnvioBean</managed-bean-class>
         <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
         <managed-bean>
         <description>Este objeto maneja las consultas</description>
         <managed-bean-name>consultaBean</managed-bean-name>
         <managed-bean-class>despachador.web.bean.ConsultaBean</managed-bean-class>
         <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
    </faces-config>
    Could somebody help me with this problem?

    It is a pretty weird problem indeed.
    I know little about Oracle Portal. When I googled, I found the following in http://www.oracle.com/technology/obe/obe1014portal/standards_portlets/stdsplts.htm
    "Note: If you receive the following message, then the portlet is in a transient state. Simply refresh the page.
    Error: Could not get markup. The cookie or session is invalid or there is a runtime exception."
    In case you are still searching for an answer, it should be better that you post to one of the portal forums in Fusion Middleware forums

  • Insanely Simple Navigation Not Working

    Working w/the Core book, which is not much help on exception cases. Here are my files:
    WEB.XML
         <!-- Faces Servlet -->
         <servlet>
              <servlet-name>Faces Servlet</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup> 1 </load-on-startup>
         </servlet>
         <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>/faces/*</url-pattern>
         </servlet-mapping>
         <listener>
                <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
         </listener>...
    FACES-CONFIG.XML
    <?xml version="1.0"?>
    <!DOCTYPE faces-config PUBLIC
         "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
         "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
    <faces-config>
         <navigation-rule>
              <!--  <from-view-id>/faces/login.jsp</from-view-id>  -->
              <navigation-case>
                   <from-outcome>login</from-outcome>
                   <to-view-id>/welcome.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
         <managed-bean>
              <managed-bean-name>user</managed-bean-name>
              <managed-bean-class>com.ontometrics.web.test.User</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
    </faces-config>LOGIN.JSP
    <html>
         <%@ taglib uri="http://java.sun.com/jsf/core" prefix="o" %>
         <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
         <o:view>
              <head>
                   <title>Login Screen</title>
              </head>
              <body>
                   <h:form>
                        <h3>Please enter your name and password.</h3>
                        <table>
                             <tr>
                             <td>Name:</td>
                             <td>
                                  <h:inputText value="#{user.email}"/>
                             </td>
                             </tr>
                             <tr>
                                  <td>Password:</td>
                                  <td>
                                       <h:inputSecret value="#{user.password}"/>
                                  </td>
                             </tr>
                             </table>
                             <p>
                                  <h:commandButton id="login" value="Login" action="login"/>
                             </p>
                        </h:form>
                   </body>
         </o:view>
    </html>WELCOME.JSP
    <?xml version 1.0 ?>
    <jsp:root version="2.0"
         xmlns:jsp="http://java.sun.com/JSP/Page"
         xmlns:o="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html">
         <o:view>
              <o:verbatim><![CDATA[<!DOCTYPE html
                   PUBLIC "-//W3C/DTD XHTML 1.0 Transitional//EN"
                   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">]]>
              </o:verbatim>
              <html xmlns="http://www.w3.org/1999/xhtml">
                   <head>
                        <title>Welcome Screen</title>
                   </head>
                   <body>
                        <h3>
                             Welcome to Java Server Faces,
                             <o:outputText value="#{user.first}"/>!
                        </h3>
                   </body>
              </html>
         </o:view>
    </jsp:root>I am loading the page with:
    http://localhost:8080/web/faces/login.jspand that prompts these warnings in the log file:
    Aug 9, 2004 2:24:29 AM com.sun.faces.application.ViewHandlerImpl getFacesMapping
    WARNING: Unable to determine FaceServlet mapping for servlet path '/faces'.
    Aug 9, 2004 2:24:29 AM com.sun.faces.application.ViewHandlerImpl getFacesMapping
    WARNING: Unable to determine FaceServlet mapping for servlet path '/faces'.
    Aug 9, 2004 2:24:30 AM com.sun.faces.application.ViewHandlerImpl getFacesMapping
    WARNING: Unable to determine FaceServlet mapping for servlet path '/login.jsp'.Then when I click submit, I get this:
    StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    javax.servlet.jsp.JspException: Cannot find FacesContext
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:399)
         at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)
         at org.apache.jsp.login_jsp._jspx_meth_o_view_0(login_jsp.java:92)
         at org.apache.jsp.login_jsp._jspService(login_jsp.java:69)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:268)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:258)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:205)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:709)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
         at java.lang.Thread.run(Thread.java:552)

    JSF matches patterns based on your web.xml file. You don't put your jsp pages in a folder called /faces or name them with a .faces extension. You just have a normal directory structure, like so:
    ${context_root}/
    somePage.jsp
    folder1/someOtherPage.jsp
    In order to use jsf, you have to have a faces servlet & mapping in your web.xml file:
         <!-- Faces Servlet-->
         <servlet>
              <description>
                   This is the Faces Servlet; the central controller for all jsf applications.
              </description>
              <display-name>The Faces Servlet</display-name>
              <servlet-name>Faces Servlet</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <init-param>
                   <param-name>config</param-name>
                   <param-value>/WEB-INF/faces-config.xml</param-value>
              </init-param>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <!-- Faces Mapping -->
         <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>/faces/*</url-pattern>
         </servlet-mapping>
    This tells the web container that any URL request for /faces/somePage.jsp must be routed through the FacesServlet, where the actual jsp to process is /somePage.jsp. Similarly, if the server gets a request for /faces/folder1/someOtherPage.jsp, it will process /folder1/someOtherPage.jsp through the faces servlet.
    So, if your web container is at http://localhost:8080
    And your context root is: /webapp_contextroot
    And your jsp is: /folder/page.jsp
    And your FacesServlet mapping pattern is: /faces/*
    Then to request that page you must type the url:
    http://localhost:8080/webapp_contextroot/faces/folder/page.jsp
    On the other hand, if you had the same setup as above but your faces mapping was *.faces, you would have to access this url:
    http://localhost:8080/webapp_contextroot/folder/page.faces
    That's how it works, someone please correct me if I'm wrong...

  • Simple navigation question

    I have an htlml form region with fields for update of some database columns.
    I also have a list of children in the form of a report at the bottom of the page.
    These children each have an edit button that will navigate to another form page for edtiting their details.
    When I am done editing the child, I want to navigate back to the original page (parent) without changing any of the displayed values on the parent. So if I type in a change on the parent, but don't save it (yet), then navigate to a child - either save or cancel there, I still want to see the unsaved changes on the parent, but I would also want to see values that have changed in the childrens row on the parent page.
    As it is, when ever I navigate back to the parent form, it requeries and the unsaved changes are lost.
    btw, I am not using automatic row processing on either page.
    How can I easily do this?

    How are you grabbing values from the child form into the parent form? I'm guessing u must have used "source type" for items on parent page as "Item (application or page item name)", and then specified the name of the corresponding item on the child form.
    Just a suggestion, Make sure that your "Source used" for the items on the parent form is set to "Only when current value in session state is null", and not "Always, replacing existing values".

  • Apple Script - Simple Navigation thru Preferences

    Howdy,
    I'm trying to us Apple Script to simply change my Network Location. I thought it would be easy, I must be missing something. Here is the code I've written so far that works...
    tell application "System Preferences"
    activate
    set current pane to pane "Network"
    end tell
    Now, I want to change the Location field (I believe it's called an anchor) to my secondary (Home, for example). So, I added a line like such...
    tell application "System Preferences"
    activate
    set current pane to pane "Network"
    set anchor to "Location"
    end tell
    This 4th line doesn't work, but you get the idea. I have written many variations of this 4th line (i.e. 'set "Location" to "Home"'), nothing seems to work. And there doesn't seem to be much documentation on anchors (other than what's in the Dictionary).
    Recording doesn't save it, so that's out of the question.
    Does anyone have any ideas?? Thanks.
    Bryan
    iMac Intel   Mac OS X (10.4.7)  
    iMac Intel   Mac OS X (10.4.7)  

    Surround the line...
    click button "Apply" of sheet 1
    ... with 'try ... end try', as shown below ...
    try
    click button "Apply" of sheet 1 -- Select the'Apply' button of drop down sheet.
    end try
    Full code, with comments:
    property tMenu : "Home" -- The menu item to select.
    tell application "System Preferences" -- Launch application
    activate
    set current pane to pane "com.apple.preference.network" -- Select 'Network' utility.
    end tell
    tell application "System Events" to tell process "System Preferences"
    tell window 1
    click pop up button 1 -- Select the 'Localtion' popup button.
    click menu item tMenu of menu 1 of pop up button 1 -- Select the 'tMenu' menu item.
    click button "Apply Now" -- Select the 'Apply Now' button.
    click button 1 -- Select the Close button.
    try
    click button "Apply" of sheet 1 -- Select the'Apply' button of drop down sheet.
    end try
    end tell
    end tell

  • Any tutorials on simple responsive navigation bar?

    I made a simple navigation bar using using lists with 4 links.
    The problem I'm having is adjusting the navbar for different media like the ipad or desktop where the navbar has to go from display:block (mobile) to display inline horizontally. for a desktop view. I can't find any tutorials that deal with dreamweaver cc and inserting a responsive navbar. Can anyone help me? Thanks in advance.

    Very simple, very basic....can be elaborated on to include a sandwich icon which are common with mobile menus. Alternatively Google youtube there's plenty of tutorials, some complex and some simple - solution depends what it is you want to do.
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Mobile Menu</title>
    <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script>
    $(document).ready(function() {
    $('#showMenu').css('cursor' , 'pointer').click(function() {
    $('nav').slideToggle();
    $(window).on('resize', function(){
    var win = $(this); //this = window
    if (win.width() >= 600) { $('nav').show(); }
    if (win.width() <= 599) { $('nav').hide(); }
    </script>
    <style>
    body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 15px;
    nav {
    display: block;
    background-color:#333;
    nav ul {
    margin: 0;
    padding: 0;
    nav li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
    width: 100%;
    nav a {
    text-decoration: none;
    color: #fff;
    padding: 10px;
    display: block;
    border-bottom: 1px solid #fff;
    nav a:hover {
    background-color: #999;
    #showMenu {
    display: block;
    padding: 10px;
    nav {
    display: none;
    @media screen and (min-width: 600px) {
    #showMenu {
    display: none;
    nav {
        display: block;
    nav li {
    display: inline;
    nav a {
    display: inline-block;
    border-bottom: none;
    </style>
    </head>
    <body>
    <div id="showMenu">Show Menu</div>
    <nav>
    <ul>
    <li><a href="#">Link 1</a></li>
    <li><a href="#">Link 2</a></li>
    <li><a href="#">Link 3</a></li>
    <li><a href="#">Link 4</a></li>
    </ul>
    </nav>
    </body>
    </html>

  • Need Help with Navigation for an Online Art Gallery

    I am trying to create a web site for an online art gallery.
    I am new to DW8 and I have been reading several books,
    forums, etc trying to figure out how to build a simple and elegant
    navigation system.
    I have successfully built simple navigation using a frame set
    as the index.html page. I have successfully built and incorporated
    the art gallery using Photo Assist (Photo Assist is a DW8 extension
    that creates photo albums using AJAX). The gallery.html page built
    with Photo Assist has thumbnail browsing and a slideshow mechanism.
    Photo Assist also uses CSS that I have been able to modify for my
    personal tastes in terms of creating a simple and elegant user
    interface for the gallery section of the web site.
    My index.html frame set consists of navFrame.html and
    mainDisplayFrame.html pages. I created a navigation button (using
    Fireworks 8) that links the gallery.html as its source and targets
    mainDisplayframe.html.
    My plan was to just add about 5 or 6 more navigation buttons
    and target the mainDisplayFrame.html from each navigation button to
    display some static information.I think the site looks fairly good
    except that the frame set requires scroll bars when browsed with
    800 x 600 screen resolutions. I thought that I could just use
    'layers' instead of a frame set, but there is not a "target"
    mechanism when usings layers.
    At the end of the day, I would prefer to just use one web
    page for displaying the navigation and all of my other web pages
    including the gallery.html page. I think I have the right idea but
    I can't seem to get a good handle on a navigation system that is
    better than a frame set.
    My online art gallery that is under construction is:
    http://www.andrew.cmu.edu/user/tburak/
    Photo Assist 1.0.1 DW extension URL is:
    http://www.webassist.com/professional/products/productdetails.asp?PID=108
    Please note that I am not a web designer that has deep
    knowledge of HTML, CSS, javascript, server side stuff, etc. I do
    know a little bit about C++ and Java programming and a little bit
    about html tags, and also a little bit about how CSS works. Beyond
    that, I am pretty much a point and click type of web page builder.
    My real expertise is more or less on photographing and digitizing
    the art.
    I should mention that I eventually want to build in PayPal
    eCommerce if at all possible, but I realize I might not have the
    skills to do so.
    Any help, suggestions and comments are very much
    appreciated.

    [discussion moved to LiveCycle Forms forum.]

  • JSF Portlet keeps last navigated page

    I have a small JSF application where there is a simple navigation from first displayed JSP pageA to JSP pageB:
    (of course with a managed bean
    <navigation-rule>
    <from-view-id>/portlets/pageA.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/portlets/pageB.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    As a standalone Web app the first pageA is always redisplayed with the main app url.
    However configured as a JSF portlet, after navigating to pageB, the portlet will always redisplay pageB!
    What configuration am i missing to reset to first pageA when redisplay main portal page?
    thanks.

    on a second thought the behavior i see might be valid due to the fact that i specify in my navigation rule a <from-view-id>, which as soon as i'm on pageB no longer applies, meaning there is no rule from pageB for same outcome, so pageB is still displayed.
    I added an extra rule for pageB and a "Back" button on pageB and now i can go back to initial page.
    for me it is a bit unexpected, due to this view "statefulness", but does make sense, need to better master JSF ...

  • Drop navigation links to 2 lines for phone size

    Hi everyone, Happy Thursday (Or brain dead Thursday for me)!
    I'm working on a new "responsive" project.  Being a new project, I'm starting with the smallest width and working my way up.
    I have a simple navigation at the top of the page with six text "roll-over" links.
    On the smaller size (smart phone - 320px), I need to "wrap" the text links to 2 lines, then one line for all the rest of the larger sizes.  I also need to move a graphic that is directly below the links down to accomodate for the extra line, then back up again when the window size changes.  For some reason, I can't figure how to go about doing this.  Also, the navigation will be added to an existing HTML page when completed.
    My question is:
          How do I tell Edge to move the nav from two lines of text to one line (and move the graphic) when I hit a particular window size (media query)?
    I will have media queries set up in the CSS for the HTML portion of the page.  Could I simply "show/hide" a particular div, one with the two lines for the nav and one with one line using CSS, or is there a better way?
    If it is possible to do the "show/hide" div idea, would it be better (or even possible) to make different navigation animations for each media queries (where needed)?
    Sorry about my temporary (I hope!) "brain dead" condition :-)
    James

    OK, I thought I'd post this for others trying to get Edge Commons to work for their projects.
    When you go to the Edge Commons "tutorial" video:
    http://tv.adobe.com/watch/create-like-crazy-with-adobe-edge/flexible-l ayouts-using-adobe-edge-animate-and-the-edge-commons-library/
    http://tv.adobe.com/watch/create-like-crazy-with-adobe-edge/flexible-layouts-using-adobe-e dge-animate-and-the-edge-commons-library/(Great video and a "must watch" for anyone contemplating using the Edge Commons plugin) They now have a download link for the Edge Commons code files!
    Keep in mind, however, that their example is using static images for each size mentioned (300px, 600px, 900px).
    If you have "animated" symbols, these will not work as intended!  They WILL play each symbol depending on the screen resolution (300px, 6000px, 900px - Or whatever you set them to) but only the first image!
    Fortunately, the solution below is simple!
    1. Follow their instructions for setting Edge Commons up:
    Under the "Open actions for stage" option ( left of the "Stage" Action in the timeline, click on the {} symbol), add the following code to the 2 options mentioned below:
    resize:
    if (EC) {
              EC.applyAdaptiveLayout(sym, "adaptiveContainer");
    compositionReady:
    yepnope({
              load: "http://simonwidjaja.github.com/EdgeCommons/live/EdgeCommons-0.4.0.js",
              //load: "http://localhost/Aktiv/Intern/EdgeCommons/GitHub/master/sprint/EdgeCommons-Sprint-0.0.4.js",
              //load: "http://localhost/Aktiv/Intern/EdgeCommons/GitHub/master/live/EdgeCommons-0.4.0.js",
              callback: function() {
                        EC.setAdaptiveLayouts( [300, 600, 900] );
                        EC.applyAdaptiveLayout(sym, "adaptiveContainer");
    2. For each symbol you are playing, add the following code the to  "creationComplete" action:
    sym.play(); (or just click on the "play" button to the right)!
    That's It!
    Everything should work just fine for each screen size you added in the "compositionReady" action!
    Hope that helps!
    James

  • ICWC: Transaction Launcher from a Navigational link

    Hi All,
    I have successfully created a new navigational bar navigational link and able to call an R/3 Transaction via BOR..
    Now my question is:: <b>is it possible to call an R/3 Transaction via BOR from a simple navigational link ( not from navbar navigational link ).</b>
    note: while creating a transaction launcher for an R/3 Transaction by wizard it will ask for the navbar id, for which the transaction is to be called.
    Thank You,
    sudeep..

    Hello Sudeep,
    I am working on CRM 5.0 ( transaction launcher profile is attached to the navigation bar profile, unlike CRM 4.0 ). I want to launch a BOR transaction and have configured the transaction launcher accordingly. But still the understated error comes up: -
    404   Not Found
    SAP J2EE Engine/7.00
    The requested resource does not exist.
    Kindly throw some light on the matter. Also please do send across the steps you followed to successfully call an R/3 transaction via BOR.
    My email id is : [email protected]
    Your help would be greatly appreciated & rewarded.
    Kindly do help.
    Regards,
    Khushboo

  • Keyboard Navigation - migrating from Windows to Apple

    In Windows I used the "Control Home or End" command a lot - particularly in Excel especially as I use huge worksheets and require to get to the top or bottom quickly.
    On my MacBook Pro there is no button called "Home" or "End".
    Can anyone assist - what are the Apple Mac commands to achieve this simple navigation requirement?

    In addition you may find the following link useful, it has many keyboard shortcuts. BTW if you can't find what you in Excel and you're using the native Mac version of Office you can easily create your own keyboard shortcuts.
    http://support.apple.com/kb/HT1343
    I suspect you're a recent Windows convert, if you are then I'd recommend studying these sites. They can help make your transition much smoother.
    http://www.apple.com/support/switch101/
    http://www.apple.com/findouthow/mac/
    http://www.apple.com/support/mac101/
    http://support.apple.com/kb/HT2477
    http://www.tuaw.com/2010/06/15/mac-101-moving-files-from-your-old-pc-to-your-new -mac/
    http://switchtoamac.com/
    Roger

  • Why wont my  navigation menu bar navigate to the next page

    Im using DW CS5 and I have assigned links to my navigation menu its hyperlinked but when I click on the button it doesnt navigate to the rest of the pages why is that I am new to DW

    The code is below I just want a simple navigation bar that when I click on biography it takes me to the biography page and so on...I even tried the "href" nothing works I try it in live view and it doesnt work I try it out of live view and it still doesnt work Im using DW CS5 This page was made using a DW template but I changed it around to fit my liking
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>WebIntersect &Bull;Find ElizabethVictoria</title>
    <style type="text/css">
    <!--
    body {
    background: #000;
    margin: 0;
    padding: 0;
    color: #FCCFDD;
    background-color: #000;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 100%;
    line-height: 1.4;
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
    padding: 0;
    margin: 0;
    h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;  /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
    padding-right: 15px;
    padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
    color: #FCCFDD;
    font-weight: bold;
    text-align: center;
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
    border: none;
    color: #000;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
    color:#808080;
    text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
    color: #FCCFDD;
    text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
    text-decoration: none;
    color: #FCCFDD;
    /* ~~ this container surrounds all other divs giving them their percentage-based width ~~ */
    .container {
    width: 80%;
    max-width: 1260px;/* a max-width may be desirable to keep this layout from getting too wide on a large monitor. This keeps line length more readable. IE6 does not respect this declaration. */
    min-width: 780px;/* a min-width may be desirable to keep this layout from getting too narrow. This keeps line length more readable in the side columns. IE6 does not respect this declaration. */
    background: #000;
    margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
    background: #000;
    color: #FCCFDD;
    .sidebar1 {
    float: left;
    width: 20%;
    padding-bottom: 10px;
    background-color: #000;
    background-image: url(images/Untitled-6.gif);
    background-repeat: no-repeat;
    .content {
    padding: 10px 0;
    width: 60%;
    float: left;
    .sidebar2 {
    float: left;
    width: 20%;
    padding: 10px 0;
    background-color: #000;
    background-image: url(images/Untitled-6.gif);
    /* ~~ This grouped selector gives the lists in the .content area space ~~ */
    .content ul, .content ol {
    padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
    /* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
    ul.nav {
    list-style: none; /* this removes the list marker */
    border-top: 1px solid #666; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
    margin-bottom: 15px; /* this creates the space between the navigation on the content below */
    ul.nav li {
    border-bottom: 1px solid #666; /* this creates the button separation */
    ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
    padding: 5px 5px 5px 15px;
    display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
    text-decoration: none;
    background: #8090AB;
    color: #000;
    ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
    background: #6F7D94;
    color: #FFF;

Maybe you are looking for