[JBoss JIRA] Created: (RF-10860) Richfaces 4 rich:dataScroller pages facet not working as expected
by Nikhil Patil (JIRA)
Richfaces 4 rich:dataScroller pages facet not working as expected
-----------------------------------------------------------------
Key: RF-10860
URL: https://issues.jboss.org/browse/RF-10860
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component
Affects Versions: 4.0.0.Final
Environment: Ubuntu 10.04, Eclipse 3.6, Jboss 5.1.0 GA
Reporter: Nikhil Patil
We have a rich:dataTable and a rich:dataScroller for the datatable. The rich:dataScroller uses a "pages" facet.
<rich:dataTable
rows="2"
value="#{userBean.itemsModel}"
var="item">
<rich:column>
#{item.label}
</rich:column>
<rich:column>
#{item.value}
</rich:column>
<f:facet name="footer">
<rich:dataScroller pageIndexVar="pageIndex" pagesVar="pages">
<f:facet name="pages">
<h:outputText value="#{pageIndex} / #{pages}" />
</f:facet>
</rich:dataScroller>
</f:facet>
</rich:dataTable>
The Pages facet for dataScroller does not produce the desired output (i.e. 1/3 etc.), instead it renders the default.
NB : Sorry I couldn't decide whether this is a bug or a future request. Registering it as a bug for now since the expected behavior is mentioned in the documentation.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Commented: (RF-8701) dataScroller: add facets support for customizations
by Ilya Shaikovsky (JIRA)
[ https://issues.jboss.org/browse/RF-8701?page=com.atlassian.jira.plugin.sy... ]
Ilya Shaikovsky commented on RF-8701:
-------------------------------------
page facet remained to be done. And should consider problems from description.
> dataScroller: add facets support for customizations
> ---------------------------------------------------
>
> Key: RF-8701
> URL: https://issues.jboss.org/browse/RF-8701
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.0.0.ALPHA1
> Reporter: Ilya Shaikovsky
> Assignee: Anton Belevich
> Fix For: 4.Future
>
>
> Important Note: I do not see how some block components could be inserted into datascroller currently. That could potentially add lot of confusion and usage problems in future - so we have to discuss markup again. Many guys using "pages" facet redefinition and place some block controls/div based markup there.
> And, I prefer to sacrifice the "semantic" principles there again in order to avoid problems.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (RF-3632) Lost input focus after rerendering parent form
by Benno Markiewicz (JIRA)
Lost input focus after rerendering parent form
----------------------------------------------
Key: RF-3632
URL: http://jira.jboss.com/jira/browse/RF-3632
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: RF 3.2.1.CR3
IE 6
Firefox 2.0.0.11
Java 1.5.0_15
jetty-6.1.9
WinXP SP2
Reporter: Benno Markiewicz
A control within a parent form looses its focus when the parent form is rerendered. The rerendering was forced by an event fired from the child control. See the source (based on http://livedemo.exadel.com/richfaces-demo/richfaces/support.jsf?c=support)
<h:form id="myform">
<h:panelGrid columns="2">
<h:inputText id="myinput" value="#{userBean.name}">
<a4j:support event="onkeyup" reRender="myform" />
</h:inputText>
<h:outputText id="outtext" value="#{userBean.name}" />
</h:panelGrid>
</h:form>
Notice the difference. Instead of "outtext" "myform" will be rerendered.
Background: You have a detail form with several components. Every control on the form changes the internal state. The view represents the actual state, so the whole form has to be rerendered. But when you rerender the parent form, the focus/selection state of the actual component is lost.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months
[JBoss JIRA] Created: (RF-10846) rich:validator ignores required with requiredMessage
by Lukas Fryc (JIRA)
rich:validator ignores required with requiredMessage
----------------------------------------------------
Key: RF-10846
URL: https://issues.jboss.org/browse/RF-10846
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-validators
Affects Versions: 4.0.0.Final
Reporter: Lukas Fryc
Using following code, client side validation doesn't work.
when attaching <f:validateRequired />, it works but ignores both requiredMessage and validatorMessage and displays default required message.
{code:XML}
<h:inputText id="uname" value="#{uname}" required="true" requiredMessage="Fname is reuqired">
<rich:validator/>
</h:inputText>
<h:commandButton action="index" value="Submit" />
<rich:message for="uname"/>
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 7 months