|
Also t:inputHtml is not working with
ajax4jsf.
I build myfaces-example-simple.war with sources
from svn (from today) and only added the ajax4jsf's filter into web.xml and
tested inputHtml.jsp page. The inputHtml control does not get initial value
and after submitting there is no text in control.
In log I get this message:
Oct 20, 2006 3:36:52 PM
org.apache.myfaces.custom.inputHtml.InputHtmlRenderer decode WARNING: There
should always be a submitted value for an inputHtml if it is rendered, its form
is submitted, and it is not read-only. Component : {Component-Path : [Class:
org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: /inputHtml.jsp][Class:
javax.faces.component.html.HtmlPanelGroup,Id: body][Class:
javax.faces.component.html.HtmlForm,Id: _idJsp0][Class:
org.apache.myfaces.custom.inputHtml.InputHtml,Id: _idJsp2]}
Alin.
I had a similar experience with the t:inputCalendar. After including
the snadbox-snapshot-1.5 the pop-up alway throws errors. I wrote that
yesterday, I think.
2006/10/19, Michael Margozzi < [EMAIL PROTECTED]>:
The Tomahawk
inputDate component doesn't function properly with Ajax4jsf
:-(
<%@ page language="java" pageEncoding="UTF-8"%> <%@ 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="https://ajax4jsf.dev.java.net/ajax"
prefix="a4j"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"> <html>
<head>
<title>Report
Builder</title>
</head>
<body>
<f:view>
<h:form
id="reportBuilderForm">
<a4j:commandButton
reRender="startDate" value="ReRender"
/>
<t:inputDate id="startDate"
type="both" popupCalendar="true"
/>
</h:form>
</f:view>
</body> </html>
If you click on the "ReRender" button, the refreshed page is
a button with "..." and it never finishes.
If you change
"popupCalendar to "false" it works beautifully. I really want the pop up!
What can I do?
Mike
Margozzi
|
- Re: Problem with <t:inputDate> and ajax4jsf Alin Dosoniu
-