[JBoss JIRA] (RF-12271) Generation of custom tag for converter is not available
by Marek Novotny (JIRA)
Marek Novotny created RF-12271:
----------------------------------
Summary: Generation of custom tag for converter is not available
Key: RF-12271
URL: https://issues.jboss.org/browse/RF-12271
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: cdk
Affects Versions: 4.2.2.Final
Reporter: Marek Novotny
Seam 2.2 has got faces-config.xml CDK 3 proprietary template for generation of custom tags for custom converters. CDK 4 this doesn't allow if you use @JsfConverter annotation.
Link to real config - https://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_2/ui/src/m...
<snip>
{code:xml}
<components>
...
<converter generate="false">
<id>org.jboss.seam.ui.DateTimeConverter</id>
<classname>org.jboss.seam.ui.converter.DateTimeConverter</classname>
<description>
<![CDATA[Perform date or time conversions in the Seam timezone.]]>
</description>
<tag>
<name>convertDateTime</name>
<classname>org.jboss.seam.ui.taglib.ConvertDateTimeTag</classname>
<superclass>
javax.faces.webapp.ConverterELTag
</superclass>
</tag>
...
</converter>
...
</components>
{code}
</snip>
It is clear that JSF2 can use <f:converter id="org.jboss.seam.ui.DateTimeConverter"/> instead of creating custom tag, but you may need some additional things to add to custom tag like attributes etc.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (RF-12210) _Lang.byId - reference a reference node or an identifier must be passed
by Jean ANDRE (JIRA)
Jean ANDRE created RF-12210:
-------------------------------
Summary: _Lang.byId - reference a reference node or an identifier must be passed
Key: RF-12210
URL: https://issues.jboss.org/browse/RF-12210
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.0.Final
Environment: FireFox 12 or 8.0.7601 - GlassFish 3.1.2 - Mojarra 2.1.7 - Windows 7
Reporter: Jean ANDRE
We got the following javascript error message under firebug:
_Lang.byId: reference un noeud de référence ou un identifiant doit être passé -
jsf.js.jsf?ln=javax.faces (ligne 1).
Under IE the error message is:
Message : Erreur non spécifiée.
Ligne : 1
Caractère : 37254
Code : 0
URI : http://localhost:8080/NestedWeb/javax.faces.resource/jsf.js.jsf?ln=javax....
At this code:
){throw this.makeException(new Error(),null,null,this._nameSpace,"byId",this.getMessage("ERR_REF_OR_ID",null,"_Lang.byId","reference"));
This error did not appear in previous version of JSF - More over we have also new another error related to
<rich:tab id="#{tab.id}" onenter="enterTab('#{tab.id}');" headerClass="tab-header">
The error occurs when we want to close a dynamic tab.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] (RF-12320) f:ajax / a4j:ajax destroys rich:tooltips displayed in a rich:tree when render="@form" (when closing popup)
by Karsten Wutzke (JIRA)
Karsten Wutzke created RF-12320:
-----------------------------------
Summary: f:ajax / a4j:ajax destroys rich:tooltips displayed in a rich:tree when render="@form" (when closing popup)
Key: RF-12320
URL: https://issues.jboss.org/browse/RF-12320
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: JBoss AS 7.1.1.Final, RichFaces 4.2.2.Final, Mojarra 2.1.7
Reporter: Karsten Wutzke
The following code displays a root node with a name + link to display a popup
{code} <h:body>
<h:form>
<rich:tree value="#{nodeManager.rootTreeNode}"
var="treeNode"
nodeType="#{treeNode.emitCode}"
toggleType="client">
<rich:treeNode type="root">
<h:panelGrid columns="4">
<h:outputText value="#{treeNode.name}" id="node-name" />
<rich:tooltip value="The name is..." direction="bottomRight" target="node-name" />
<h:commandLink value="Add...">
<rich:tooltip value="Add chapter" direction="bottomRight" />
<a4j:ajax render="root-add-chapter-popup" oncomplete="#{rich:component('root-add-chapter-popup')}.show()" />
</h:commandLink>
</h:panelGrid>
</rich:treeNode>
</rich:tree>
<rich:popupPanel modal="true"
domElementAttachment="form"
onmaskclick="#{rich:component('root-add-chapter-popup')}.hide(); return false;"
id="root-add-chapter-popup">
<f:facet name="header">
<h:outputText value="Add Chapter" />
</f:facet>
<h:panelGrid columns="1" style="margin: 0px auto;">
<h:commandButton value="Rerender form and hide!">
<!--a4j:ajax render="@form" onclick="#{rich:component('root-add-chapter-popup')}.hide(); return true;" /--> <!-- works -->
<!--f:ajax render="@form" onclick="#{rich:component('root-add-chapter-popup')}.hide(); return true;" /--> <!-- breaks tooltips -->
<a4j:ajax render="@form" oncomplete="#{rich:component('root-add-chapter-popup')}.hide(); return true;" /> <!-- breaks tooltips -->
</h:commandButton>
</h:panelGrid>
</rich:popupPanel>
</h:form>
</h:body>
{code}
When rerendering the form (h:commandButton render="@form") via f:ajax onclick="" or a4j:ajax oncomplete="" the rich:tooltip elements on the rich:treeNode are lost. Note that a4j:ajax onclick="" is working.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months