[JBoss JIRA] Created: (RF-3493) datascroller: facet pages it is displayed not skins
by Aleksej Yanul (JIRA)
datascroller: facet pages it is displayed not skins
---------------------------------------------------
Key: RF-3493
URL: http://jira.jboss.com/jira/browse/RF-3493
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Aleksej Yanul
Assigned To: Nick Belaevski
Attachments: skin.JPG
<ds:datascroller pagesVar="pages" pageIndexVar="index" onpagechange="return confirm('Do you want to go to: ' + event.memo.page + '?')" page="2" for="master" reRender="actionCount, eventCount" rendered="true" fastStep="2" actionListener="#{testBean.onAction}" renderIfSinglePage="#{testBean.renderIfSinglePage}" scrollerListener="#{testBean.doScroll}" maxPages="#{testBean.maxpage}">
<f:facet name="pages">
<h:outputText value="#{index} / #{pages}" />
</f:facet>
</ds:datascroller>
--
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
15 years, 3 months
[JBoss JIRA] Created: (RF-5483) inplaceSelect: "required" attribute does not work.
by Alexander Dubovsky (JIRA)
inplaceSelect: "required" attribute does not work.
--------------------------------------------------
Key: RF-5483
URL: https://jira.jboss.org/jira/browse/RF-5483
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: 3.3.0.CR1
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Code:
<h:messages></h:messages>
<h:form>
<rich:inplaceSelect value="#{custom.value}" label="select" required="true" defaultLabel="select...">
<f:selectItem itemLabel="item_1" itemValue="item_1" />
<f:selectItem itemLabel="item_2" itemValue="item_2" />
<f:selectItem itemLabel="item_3" itemValue="item_3" />
</rich:inplaceSelect>
<h:commandButton value="h submit" />
</h:form>
Open page and click submit button
Result: validation is passed
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (RF-5384) Currency symbol disappears after re-render of formatted currency
by Jonathan Moores (JIRA)
Currency symbol disappears after re-render of formatted currency
----------------------------------------------------------------
Key: RF-5384
URL: https://jira.jboss.org/jira/browse/RF-5384
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: Windows Vista x64, TC 6.0.18, JSF 1.2_10, RF 3.3.0 BETA 4, IE7, FF 3, Chrome
Reporter: Jonathan Moores
After re-render (clicking the save button) the currency symbol is missing.
I can post the bean code as well but its pretty simple.
- The saveBasket method is empty.
- The basketItemModel returns an ArrayList<BasketItem>() wrapped in ListDataModel
- BasketItem is just a bean
I also tried the following code for the euro symbol: &_ #x20ac; &_ euro;
<f:view>
<a4j:outputPanel>
<h:form id="myform">
<h:panelGrid>
<a4j:commandLink id="saveBasketButton" actionListener="#{basketBean.saveBasket}"
styleClass="linkButton pad10"
reRender="myform">
<h:outputText value="Save"/>
</a4j:commandLink>
</h:panelGrid>
<rich:dataTable
id="orderItemsDataTable"
value="#{basketBean.basketItemModel}" var="basketItem"
onRowMouseOver="this.style.backgroundColor='#ECF3FE'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
rowClasses="cur" footerClass="footer" width="100%" rowKeyVar="rowKeyVar">
<rich:column sortable="false" width="75px">
<f:facet name="header"><h:outputText value="Price"
style="font-weight:bold;"/></f:facet>
<h:outputText value="#{basketItem.price}">
<f:convertNumber pattern="€ ##0.00"/>
</h:outputText>
</rich:column>
<rich:column sortable="false" width="75px">
<f:facet name="header"><h:outputText value="Price"
style="font-weight:bold;"/></f:facet>
<h:outputText value="#{basketItem.price}">
<f:convertNumber type="currency" currencySymbol="€" maxFractionDigits="2" minFractionDigits="2"
minIntegerDigits="2" groupingUsed="true"/>
</h:outputText>
</rich:column>
</rich:dataTable>
</h:form>
</a4j:outputPanel>
</f:view>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (RF-4388) pickList: incorrect behavior if "required=true"
by Alexander Dubovsky (JIRA)
pickList: incorrect behavior if "required=true"
-----------------------------------------------
Key: RF-4388
URL: https://jira.jboss.org/jira/browse/RF-4388
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: 3.2.2.CR2
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
# Open page with pickList (source see below)
# Submit page => Required message appears
# Move some item to the right
# Submit page => Required message disappears
# Move all items to the left
# Submit page
Result: items moves to the right, message appears
Items should not move to the right!
Source:
<rich:pickList id="testList" copyAllControlLabel="Add All"
copyControlLabel="Add" listsHeight="90" sourceListWidth="200"
targetListWidth="200" required="true"
requiredMessage="Error input is required.">
<f:selectItem itemLabel="Human Resources" itemValue="1" />
<f:selectItem itemLabel="Product Development" itemValue="2" />
<f:selectItem itemLabel="Marketing" itemValue="3" />
<f:selectItem itemLabel="Sales" itemValue="4" />
</rich:pickList>
<h:commandButton value="submit()" />
<rich:messages></rich:messages>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (RF-4731) Sorting: (rich:dataTable + rich:cloumn + rich:columns) => Sorting is not displayed if header facet has not been defined
by Tsikhon Kuprevich (JIRA)
Sorting: (rich:dataTable + rich:cloumn + rich:columns) => Sorting is not displayed if header facet has not been defined
-----------------------------------------------------------------------------------------------------------------------
Key: RF-4731
URL: https://jira.jboss.org/jira/browse/RF-4731
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Reporter: Tsikhon Kuprevich
Assignee: Nick Belaevski
When using together rich:dataTable + rich:cloumn + rich:columns. In case if 'sortBy' is defined but there are no header facets for rich:column and rich:columns — sorting indicators are not displayed.
See example below:
<rich:dataTable id="richColumnsID" value="#{columns.data1}" var="d1"
rendered="#{columns.dataTableRendered}">
<h:column>
<h:outputText value="h: #{d1.int0}"></h:outputText>
</h:column>
<rich:column>
<h:outputText value="rich: #{d1.int0}"></h:outputText>
</rich:column>
<rich:columns value="#{columns.data2}" var="d2"
breakBefore="#{columns.breakBefore}" colspan="#{columns.colspan}"
columns="#{columns.columns}" index="index"
rowspan="#{columns.rowspan}" begin="#{columns.begin}"
end="#{columns.end}" width="#{columns.width}"
sortOrder="#{columns.orderings[index]}" sortBy="#{d1.str0}">
<h:outputText value="#{index}. "></h:outputText>
<h:outputText value="#{d1.str0}, "></h:outputText>
<h:outputText value="#{d2.str0}"></h:outputText>
<h:outputLink value="http://www.jboss.com/">
<f:verbatim>Link</f:verbatim>
</h:outputLink>
</rich:columns>
</rich:dataTable>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (RF-5773) Forms not working within DataTable
by Hugh Nguyen (JIRA)
Forms not working within DataTable
----------------------------------
Key: RF-5773
URL: https://jira.jboss.org/jira/browse/RF-5773
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0, 3.2.2, 3.2.1, 3.2.0.SR1, 3.2.0, 3.1.6, 3.1.5, 3.1.4, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0
Reporter: Hugh Nguyen
There is a problem with form handling for forms (either a4j:form or h:form) nested within a dataTable (either rich:dataTable or h:dataTable). I've already filed a bug report with JSF for h:form case, but I realised that fixing it in the JSF implementation doesn't fix a4j case, because a4j has its own version of UIForm (UIAjaxForm).
The situation is like this:
When a form is nested within a dataTable, although there is one form component in the component tree, it's rendered into multiple instances for each of the table row. A form instance is processed by each of JSF processing phases only if it's marked as having been submitted in the Decodes phase. However, when a form instance other than the one in the last row is submitted, it's submitted flag is cleared in the iterations for later rows in the Decodes phase. Thus when JSF enter subsequent phases, the form processing is skipped, and the form data would not be available in Applications phase.
I would like to propose a solution: recheck and set the submitted flag at beginning of the later phases. Here is the one line that should go at the beginning of UIAjaxForm.mustProcessed() method:
setSubmitted(context.getExternalContext().getRequestParameterMap().containsKey(getClientId(context)));
Note that problem only surface when there is data to be updated to backing bean. Purely action forms (i.e. from that handle commandLink, commandButton, dropSupport, etc.) seem not affected, because they don't seem to need Validators and Updates phases.
Also, there is a very baffling situation: if just one field is submitted with <a4j:support ajaxSingle=true/>, then the Validators and Updates phases are processed correctly for just that field, with either <h:form> or <a4j:form>.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months