Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.0.1-core
-
None
-
None
-
None
-
WebLogic 12c
Mojarra 2.1.5
JSF 2.1
Trinidad 2.0.1
Description
With PPR_OVER_JSF_AJAX on a tr:inputText mapped to a Date value will cause the submit to not work when a tr:subForm is nested in a tr:panelTabbed.
Firebug reports:
TrDateTimeConverter is not defined
Line 4639
The work around is to set PPR_OVER_JSF_AJAX to off.
<context-param>
<param-name>org.apache.myfaces.trinidadinternal.PPR_OVER_JSF_AJAX</param-name>
<param-value>on</param-value>
</context-param>
<?xml version='1.0' encoding='UTF-8' ?>
<tr:document xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:tr="http://myfaces.apache.org/trinidad"
title="Test">
<tr:form>
<tr:panelTabbed position="above">
<tr:showDetailItem text="View">
Other tab
</tr:showDetailItem>
<tr:showDetailItem text="Details">
<tr:subform>
<tr:inputText columns="25" label="Date:" value="#
"/>
<tr:commandButton action="#
" text="Update"/>
</tr:subform>
</tr:showDetailItem>
</tr:panelTabbed>
</tr:form>
</tr:document>
package com.example;
import java.util.Date;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
@ManagedBean
@RequestScoped
public class MyBean {
private Date date;
public void setMyDate(Date date) {
}
public Date getMyDate()
{ return date; }public String myAction()
{ System.out.println("Action method called"); return null; }}
Attachments
Issue Links
- is related to
-
TRINIDAD-2336 Resource scriptlet missing if partial update introduces new JS depedencies
- Open