Carlin,

Unfortunately that did not work either, the base tag still reports the link
with localhost.

As a further note, the <netui:anchor> tag also does the same exact thing.
Any thoughts on why it would generate the tags in this way?  I am guessing
that these are tied together in some manner.

Ron

On 1/3/07, Ronald R. DiFrango <[EMAIL PROTECTED]> wrote:

All,

I am trying to create a simple PageFlow controller that re-directs to
other PageFlows [essentially Navigational type control].  In any even the
page looks like the following:

<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<[EMAIL PROTECTED] uri="http://beehive.apache.org/netui/tags-html-1.0";
prefix="netui"%>
<[EMAIL PROTECTED] uri=" http://beehive.apache.org/netui/tags-databinding-1.0";
prefix="netui-data"%>
<[EMAIL PROTECTED] uri="http://beehive.apache.org/netui/tags-template-1.0 "
prefix="netui-template"%>

<netui:html>
    <head>
        <netui:base/>
    </head>
    <netui:body>
        <table>
            <tr><td colspan="2">Welcome to the RTV Automatch
Application</td></tr>
            <tr><td><netui:anchor action="toRtvList" >Display RTV
List</netui:anchor></td><td><netui:anchor action="toVendorList">Display
Vendor List</netui:anchor></td></tr>
    </netui:body>
</netui:html>

And the controller looks like the following:

package com.circuitcity.rtvcrms.controller;

import org.apache.beehive.netui.pageflow.PageFlowController;
import org.apache.beehive.netui.pageflow.annotations.Jpf;

@Jpf.Controller(
        simpleActions={
                @Jpf.SimpleAction(name="begin", path="index.jsp"),
                @ Jpf.SimpleAction(name="toVendorList",
path="getVendorList/GetVendorListController.jpf"),
                @Jpf.SimpleAction(name="toRtvList",
path="getRtvList/GetRtvListController.jpf")
        }
        )
public class NavController extends PageFlowController {
    private static final long serialVersionUID = -710645148L;
}

The problem I am having when it gets expanded at runtime I get the
following for the <netui:base/> tag:

<base href="
http://localhost:7001/RtvCrMsWeb/com/circuitcity/rtvcrms/controller/index.jsp
">

It is likely obvious, but the localhost part does not work when the client
is remote.  Any thoughts on how I can fix this?

Thanks in advance,

Ron

Reply via email to