Here is th most basic layout of my table banner that uses outputlink tgs. on my development rig each link works 100% each time I click it.

<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"; %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"; %>
<%--
 Created by IntelliJ IDEA.
 User: owner
 Date: 26.apr.2010
 Time: 19:46:00
 To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<f:subview id="header">
   <div align="center"
           >
       <h:form>
           <table id="Table_01" width="800"
                  height="200" border="0" cellpadding="0" cellspacing="0">
               <tr>
                   <td colspan="9">
<h:outputLink value="/pages/welcome.jsf" title="#{hmsg.mainHomeLink}"> <h:graphicImage url="/images/main-home.gif" width="800"
                                           height="158"
alt="#{hmsg.brokenImage}" style="border-style:none"/>

                       </h:outputLink> </td>
               </tr>
               <tr>
                   <td colspan="9">
<h:graphicImage url="/images/jarbar-banner_02.png" width="800" height="3" alt=""/></td>

               </tr>
               <tr>
                   <td colspan="3">
<h:graphicImage url="/images/jarbar-banner_03.png" width="227" height="1" alt=""/></td>
                   <td rowspan="2">
<h:outputLink value="/pages/tutorials/tutorials.jsf"title="#{hmsg.tutorialLink}"> <h:graphicImage url="/images/tutorials.gif" width="161" height="33"
                                           
alt="#{hmsg.brokenImage}"style="border-style:none"/>
                       </h:outputLink></td>
                   <td colspan="5">
<h:graphicImage url="/images/jarbar-banner_05.png" width="412" height="1" alt="#{hmsg.brokenImage}"/></td>
               </tr>
               <tr>
                   <td rowspan="2">
<h:graphicImage url="/images/jarbar-banner_06.png" width="31" height="38" alt="#{hmsg.brokenImage}"/></td>
                   <td rowspan="2">
<h:outputLink title="#{hmsg.mainHomeLink}" value="/pages/welcome.jsf"> <h:graphicImage url="/images/home.gif" width="160" height="38"
                                           
alt="#{hmsg.brokenImage}"style="border-style:none"/>
                       </h:outputLink></td>
                   <td rowspan="2">
<h:graphicImage url="/images/jarbar-banner_08.png" width="36" height="38" alt="#{hmsg.brokenImage}"/></td>
                       <td rowspan="2">
<h:graphicImage url="/images/jarbar-banner_09.png" width="35" height="38" alt="#{hmsg.brokenImage}"/></td> <td> <h:outputLink value="/links.jsf"title="#{hmsg.linksLink}"> <h:graphicImage url="/images/downloads.gif" width="154" height="32"
                                           
alt="#{hmsg.brokenImage}"style="border-style:none"/>
                           </h:outputLink>
                       </td>
                       <td rowspan="2">
<h:graphicImage url="/images/jarbar-banner_11.png" width="28" height="38" alt="#{hmsg.brokenImage}"/></td>
                       <td>
<h:outputLink value="/pages/user/secure/contact.jsf">

<h:graphicImage url="/images/contact.png" width="173" height="32"
                                               
alt="#{hmsg.brokenImage}"style="border-style:none"/>
                       </h:outputLink></td>
                       <td rowspan="2">
<h:graphicImage url="/images/jarbar-banner_13.png" width="22" height="38" alt="#{hmsg.brokenImage}"/></td>
                   </tr>
                   <tr>
                       <td>
<h:graphicImage url="/images/jarbar-banner_14.png" width="161" height="6" alt="#{hmsg.brokenImage}"/></td>
                       <td>
<h:graphicImage url="/images/jarbar-banner_15.png" width="154" height="6" alt="#{hmsg.brokenImage}"/></td>
                       <td>
<h:graphicImage url="/images/jarbar-banner_16.png" width="173" height="6" alt="#{hmsg.brokenImage}"/></td>
                   </tr>
           </table></h:form>

   </div>
</f:subview>
If I change to the following with fqces config as follows:

<?xml version='1.0' encoding='UTF-8'?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee";
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd";
             version="1.2">
   <application>
       <locale-config>
           <default-locale>en</default-locale>
           <supported-locale>no</supported-locale>

       </locale-config>
       <resource-bundle>
           
<base-name>org.bar.jar.view.resources.messages.header_messages</base-name>
           <var>hmsg</var>
       </resource-bundle>
       <resource-bundle>
           
<base-name>org.bar.jar.view.resources.messages.link_messages</base-name>
           <var>linkmsg</var>
       </resource-bundle>
       <resource-bundle>
           
<base-name>org.bar.jar.view.resources.messages.logged_in_messages</base-name>
           <var>loggedInMsg</var>
       </resource-bundle>
       
<resource-bundle><base-name>org.bar.jar.view.resources.messages.welcome_messages</base-name>
           <var>welcomeMsg</var>
       </resource-bundle>
       <resource-bundle>
           
<base-name>org.bar.jar.view.resources.messages.tutorial_index_messages</base-name>
           <var>tutMsg</var>
       </resource-bundle>
       <resource-bundle>
           
<base-name>org.bar.jar.view.resources.messages.user_options_messages</base-name>
           <var>uOptMsg</var>
       </resource-bundle>
       <resource-bundle>
           
<base-name>org.bar.jar.view.resources.messages.login_messages</base-name>
           <var>loginMsg</var>
       </resource-bundle>
       <resource-bundle>
           
<base-name>org.bar.jar.view.resources.messages.register_messages</base-name>
           <var>registerMsg</var>
       </resource-bundle>
       
<message-bundle>org.bar.jar.view.resources.messages.my-messages</message-bundle>
       <resource-bundle>
           
<base-name>org.bar.jar.view.resources.messages.registeredMessages</base-name>
           <var>registeredMsg</var>
       </resource-bundle>
       <resource-bundle>
           
<base-name>org.bar.jar.view.resources.messages.footer_messages</base-name>
           <var>footMsg</var>
       </resource-bundle>
       <resource-bundle>
           
<base-name>org.bar.jar.view.resources.messages.comments_messages</base-name>
           <var>commentMsg</var>
       </resource-bundle>
       <resource-bundle>
           
<base-name>org.bar.jar.view.resources.messages.commented_messages</base-name>
           <var>commentedMsg</var>
       </resource-bundle>
       <resource-bundle>
           
<base-name>org.bar.jar.view.resources.messages.contact_messages</base-name>
           <var>contactMsg</var>
       </resource-bundle>


   </application>
   <validator>
       <validator-id>emailPValidate</validator-id>
       
<validator-class>org.bar.jar.view.validators.EmailPatternValidator</validator-class>
   </validator>
   <validator>
       <validator-id>emailEValidate</validator-id>
       
<validator-class>org.bar.jar.view.validators.EmailExistsValidator</validator-class>
   </validator>
   <validator>
       <validator-id>uNameEValidate</validator-id>
       
<validator-class>org.bar.jar.view.validators.UserNameExistsValidator</validator-class>
   </validator>
   <managed-bean>
       <managed-bean-name>user</managed-bean-name>
       
<managed-bean-class>org.bar.jar.model.UserManagerBean</managed-bean-class>
       <managed-bean-scope>request</managed-bean-scope>


   </managed-bean>
   <managed-bean>
       <managed-bean-name>tutIndexBacker</managed-bean-name>
       
<managed-bean-class>org.bar.jar.backing.tutorialIndexBacking</managed-bean-class>
       <managed-bean-scope>request</managed-bean-scope>


   </managed-bean>
   <managed-bean>
       <managed-bean-name>comment</managed-bean-name>
       <managed-bean-class>org.bar.jar.model.CommentManager</managed-bean-class>
       <managed-bean-scope>request</managed-bean-scope>


   </managed-bean>
   <managed-bean>
       <managed-bean-name>logout</managed-bean-name>
       <managed-bean-class>org.bar.jar.model.LogoutForm</managed-bean-class>
       <managed-bean-scope>request</managed-bean-scope></managed-bean>
   <managed-bean>
       <managed-bean-name>logoutForm</managed-bean-name>
       <managed-bean-class>org.bar.jar.model.LogoutForm</managed-bean-class>
       <managed-bean-scope>request</managed-bean-scope>
   </managed-bean>

   <navigation-rule>
       <from-view-id>*</from-view-id>
       <navigation-case>
           <from-outcome>home</from-outcome>
           <to-view-id>/pages/welcome.jsf</to-view-id>
           <redirect/>
       </navigation-case>
       <navigation-case>
           <from-outcome>editUser</from-outcome>
           <to-view-id>/pages/user/EditUser.jsp</to-view-id>
       </navigation-case>
   </navigation-rule>
   <navigation-rule>
       <from-view-id>*</from-view-id>
       <navigation-case>
           <from-outcome>links</from-outcome>
           <to-view-id>/links.jsf</to-view-id>
           <redirect/>

       </navigation-case>
       <navigation-case>
           <from-outcome>links</from-outcome>
           <to-view-id>/links.jsf</to-view-id>
           <redirect/>

       </navigation-case>
   </navigation-rule>
   <navigation-rule>
       <from-view-id>/pages/user/*</from-view-id>
       <navigation-case>
           <from-outcome>loggedOut</from-outcome>
           <to-view-id>/pages/welcome.jsf</to-view-id>
           <redirect/>

       </navigation-case>
       <navigation-case>
           <from-outcome>editUser</from-outcome>
           <to-view-id>/pages/user/EditUser.jsp</to-view-id>
       </navigation-case>
   </navigation-rule>
   <navigation-rule>
       <from-view-id>*</from-view-id>
       <navigation-case>
           <from-outcome>tutorials</from-outcome>
           <to-view-id>/pages/tutorials/tutorials.jsf</to-view-id>
           <redirect/>

       </navigation-case>
   </navigation-rule>
   <navigation-rule>
       <from-view-id>*</from-view-id>
       <navigation-case>
           <from-outcome>register</from-outcome>
           <to-view-id>/createUser.jsf</to-view-id>
           <redirect/>

       </navigation-case>
   </navigation-rule>
   <navigation-rule>
       <from-view-id>*</from-view-id>
       <navigation-case>
           <from-outcome>registered</from-outcome>
           <to-view-id>/confirmCreate.jsf</to-view-id>
           <redirect/>

       </navigation-case>
   </navigation-rule>
   <navigation-rule>
       <from-view-id>*</from-view-id>

   </navigation-rule>
   <navigation-rule>
       <from-view-id>/createUser.jsp</from-view-id>
       <navigation-case>
           <from-outcome>registered</from-outcome>
           <to-view-id>/confirmCreate.jsf</to-view-id>
       </navigation-case>
   </navigation-rule>
    <navigation-rule>
       <from-view-id>*</from-view-id>
        <navigation-case>
           <from-outcome>commented</from-outcome>
           <to-view-id>/commentSuccess.jsf</to-view-id>
       </navigation-case>


   </navigation-rule>

</faces-config>

Note the <redirect> tags... it works again but fails online

--------------------------------------------------
From: "Hassan Schroeder" <hassan.schroe...@gmail.com>
Sent: Thursday, May 20, 2010 7:00 AM
To: "Tomcat Users List" <users@tomcat.apache.org>
Subject: Re: Keeping tomcat up-to-date on linux

On Wed, May 19, 2010 at 8:55 PM, Dale Ogilvie
<dale.ogil...@trimble.co.nz> wrote:

I'm pleased to hear that the upgrade process is trivial with your setup.
If you're going to have special practices, they might as well be simple.

Since I don't use package management for anything important, it's
not "special practice" :-)

On what did you base your init.d scripts?

Don't remember, actually; I've been using pretty much the same
basic version for a long time. I mean, it's just a shell script, eh?

And what is your underlying distro? We use redhat/fedora.

As a consultant, whatever the client's running; my own dev desktop
system is SuSE, my own production server is RHEL, and I've got a
couple of different Linux VMs on my MBP for testing. That changes
periodically. And of course I'm running multiple Tomcats on the Mac
too :-)

Which, now that I think of it, is a good reason to install from the
tar file; it's the same everywhere. I don't have to use "yum" here,
"rpm" there -- the same simple drill works *everywhere*.

Obviously, your situation sounds quite different from mine :-)

--
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to