myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ernst Fastl" <ernst.fa...@gmail.com>
Subject Re: Tomahawk Sandbox
Date Sun, 12 Aug 2007 18:29:33 GMT
Try using tomahawk 1.1.7 as well.

If the problem still occurs increase the log-level
of the org.apache.myfaces package in your logging configuration
to debug and check for messages
that resources could not be served or found.

regards

Ernst

On 8/10/07, Lyn Büsching <buesching@lat-lon.de> wrote:
> Hi,
>
> i'm new on faces and have some problmes with Tomahawk/Sandbox, using
> Ajax support.
>
> The aim is to create a page, where only a part of this page should be
> rendered after the input.
>
>
> The code of the side:
> ------------------------------------------------------------------------------------
> <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
>         pageEncoding="ISO-8859-1"%>
> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
> <%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s"%>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
> <title>Insert title here</title>
> </head>
> <body>
> <f:view>
>         <h3>Ergebnis der Flächenberechnung</h3>
>         <i>Dieses Programm berechnet die Fläche eines Quadrats anhand der
>         eingegebenen Seitenlänge</i>
>         <br></br>
>         <h:form>
>          Ergebnis der Berechnung:<br></br>
>          Ihre Eingabe war:
>
>          <h:outputText value="#{Square.length}"></h:outputText>
>
>                 <br>damit ist der Flächeninhalt:
>                 <s:pprPanelGroup id="ppr" partialTriggers="pprSubmitButton">
>                         <h:outputText value="#{Square.area}"></h:outputText>
>                 </s:pprPanelGroup>
>
>                 <br></br>
>                 Eingabe:
>                 <h:inputText value="#{Square.length}"></h:inputText>
>                 <h:commandButton id="pprSubmitButton" value="ok"
> action="success"></h:commandButton>
>         </h:form>
>         <br></br>
>         <br></br>
>         <i>Aktuelle Systemzeit: </i>
>         <h:outputText value="#{Square.systemtime}"></h:outputText>
> </f:view>
> </body>
> </html>
> ------------------------------------------------------------------------------------
>
> Unfortunately the Ajax support does not work. The side is new generated
> every time. There are no error messages in Tomcat, only the Firebug
> (Firefox 1.5 as well as 2.0) shows the JavaScript Error:
> 'dojo is not defined'.
>
> I'm using MyFaces 1.1.5, Tomahawk 1.1.5, Tomahawk-Sandbox 1.1.7, Apache
> Pluto 1.1.3 with and Apache Portlet Bridge for JSF in Tomcat 5.5.20.
>
> Can any one tell me how to resolve this error?
>
> Thanks!!!
>
> Lyn
>
>
> --
> Lyn Büsching
>
> l a t / l o n  GmbH
> Aennchenstrasse 19            53177 Bonn, Germany
> phone ++49 +228 18496-0       fax ++49 +228 18496-29
> http://www.lat-lon.de         http://www.deegree.org
>

Mime
View raw message