[JBoss JIRA] Created: (RF-3453) rich:modalPanel does not work with event listeners added using a4j:support
by Paul Speijers (JIRA)
rich:modalPanel does not work with event listeners added using a4j:support
--------------------------------------------------------------------------
Key: RF-3453
URL: http://jira.jboss.com/jira/browse/RF-3453
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5, 3.1.x
Reporter: Paul Speijers
Fix For: 3.1.6, 3.1.x
I wanted to perform some finalization work when I hide a modalPanel and an obvious solution would be to register an action to the onhide event using an a4j:support. However, the action is never executed and it seems like the event listener is not registered with the onhide event.
<rich:modalPanel id="#{modalPanelId}" height="600" top="20" left="112" width="900" resizeable="false" moveable="true"
onshow="focusFirstModalPanelElement('#{modalPanelId}')">
<a4j:support event="onhide" action="#{modalPanelDelegator.closePanel}" oncomplete="alert('test2')"/>
.....
</rich:modalPanel>
--
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
16 years, 1 month
[JBoss JIRA] Created: (RF-5240) Exception processing in the richfaces custom listeners
by Anton Belevich (JIRA)
Exception processing in the richfaces custom listeners
-------------------------------------------------------
Key: RF-5240
URL: https://jira.jboss.org/jira/browse/RF-5240
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.3.0
Reporter: Anton Belevich
Assignee: Anton Belevich
Fix For: Future
exception which could occur in our listeners should be wrapped with AbortProcessingException (see MethodBindingValueChangeListener, MethodExpressionValueChangeListener for the implementation details)
Hint: It's seems we should change componentTag.vm (setProperties) component.vm (getters generation) templates in our component generator for this purpose and implement custom MethodExpressionListeners, MethodBindingListeners like sun do with valueChangeListener, actionListener
--
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
16 years, 1 month
[JBoss JIRA] Created: (RF-3305) Calendar: doExpand doesn't work with custom events
by Nick Belaevski (JIRA)
Calendar: doExpand doesn't work with custom events
--------------------------------------------------
Key: RF-3305
URL: http://jira.jboss.com/jira/browse/RF-3305
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Nick Belaevski
Assigned To: Pavel Yaschenko
Priority: Minor
Fix For: 3.2.2
<rich:modalPanel id="modalPanelID"...
<f:facet name="header">
<h:outputText value="Heder goes here..." />
</f:facet>
<f:facet name="controls">
<h:graphicImage value="/pics/error.gif" onclick="Richfaces.hideModalPanel('modalPanelID');return false;" />
</f:facet>
...
<rich:componentControl event="onshow" for="calendarID" operation="doExpand"></rich:componentControl>
...
</rich:modalPanel>
...
<rich:calendar id="calendarID"></rich:calendar>
Step 1. Navigate to page contained modalPanel & calendar components.
Step 2. Call modalPanel.
Step 3. Verify calendar activity.
Actual behavior:
Calendar doesn't expand.
--
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
16 years, 1 month
[JBoss JIRA] Created: (RF-3786) subTable in dataTable adds additional <th>
by Andreas Heiduk (JIRA)
subTable in dataTable adds additional <th>
------------------------------------------
Key: RF-3786
URL: http://jira.jboss.com/jira/browse/RF-3786
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1, 3.2.0.SR1
Environment: RF-3.2.[01], JSF-RI implementation
Reporter: Andreas Heiduk
As soon as a dataTable contains both subTable and a column "header" facet an additional <th> element is rendered.
Example:
<rich:dataTable value="#{capitalsBean.capitals}" var="capital">
<rich:column>
<f:facet name="header">Capital Name</f:facet>
<h:outputText value="#{capital.name}" />
</rich:column>
<rich:column>
<f:facet name="header">Property Name</f:facet>
</rich:column>
<rich:column>
<f:facet name="header">Property Value</f:facet>
</rich:column>
<rich:subTable value="#{capital.detailList}" var="detail">
<rich:column />
<rich:column>
<h:outputText value="#{detail.key}" />
</rich:column>
<rich:column>
<h:outputText value="#{detail.value}" />
</rich:column>
</rich:subTable>
</rich:dataTable>
Now <thead> contains *four* <th> elements instead of three. The last <th> element looks like this:
<th class="dr-table-subheadercell rich-table-subheadercell" scope="col"/>
--
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
16 years, 2 months
[JBoss JIRA] Created: (RF-5474) Javascript error in ui.pack.js
by hello All (JIRA)
Javascript error in ui.pack.js
------------------------------
Key: RF-5474
URL: https://jira.jboss.org/jira/browse/RF-5474
Project: RichFaces
Issue Type: Bug
Components: portal
Affects Versions: 3.2.2
Environment: Richfaces - 3.2.2.GA (also tested with 3.3.0Beta)
JBoss Portal - 2.7.0 CR1
Jboss App - 4.2.2.GA
IE version 7
Windows OS
Ajax4JSF
Reporter: hello All
I am using RichFaces tree and on click of a node, I get a javascript error - Object doesn't support this property or method. The error occurs in ie version 7 and not in Firefox. On debugging, the javascript error is thrown in the while statement in ui.pack.js :
Code:
var C=0;
while(D&&Element.isChildOf(D,this.element)){C+=D.offsetTop;
D=D.offsetParent
}D=F;
Here is my tree code:
<rich:tree style="width:230px" switchType="client"
value="#{reportCenterMgr.projectsTreeNode}" id="projectNamesTree"
var="item2" bypassUpdates="true" nodeFace="#{item2.type}">
<rich:treeNode highlightedClass="myClass" selectedClass="myClass"
type="#{item2.type}" icon="/images/#{item2.icon}" iconLeaf="/images/#{item2.icon}">
<h:outputText value="#{reportCenterMgr.selectedProjectName}" style="font-weight: bold;color: white;" rendered="#{reportCenterMgr.singleProjectAccessible}"/>
<a4j:commandLink value="#{item2.name}" rendered="#{!reportCenterMgr.singleProjectAccessible}"
actionListener="#{reportCenterMgr.projectNameClicked}"
event="onclick" reRender="sharedReportsTreePanel,myReportsTreePanel">
<f:param name="projectName" value="#{item2.name}" />
<f:param name="projectId" value="#{item2.id}" />
</a4j:commandLink>
</rich:treeNode>
</rich:tree>
--
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
16 years, 2 months
[JBoss JIRA] Created: (RF-2029) Modal Panel: top and left ="aout" do not influence to MP in FF
by Ilya Shaikovsky (JIRA)
Modal Panel: top and left ="aout" do not influence to MP in FF
--------------------------------------------------------------
Key: RF-2029
URL: http://jira.jboss.com/jira/browse/RF-2029
Project: RichFaces
Issue Type: Bug
Environment: FF
Reporter: Ilya Shaikovsky
Assigned To: Nick Belaevski
modal panel opens in top left corner of the screen in FF
<rich:modalPanel id="_panel" autosized="true" minHeight="550"
minWidth="200" moveable="true" style="overflow: true;" top="auto" left="auto" showWhenRendered="true">
<f:facet name="header">
<h:outputText value="Events..." />
</f:facet>
<f:facet name="controls">
<h:outputLink value="#"
onclick="Richfaces.hideModalPanel('_panel'); return false;" >
X
</h:outputLink>
</f:facet>
<h:outputText value="Eventsaaaaaaaaaaaaaaaa ..." />
</rich:modalPanel>
--
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
16 years, 2 months
[JBoss JIRA] Created: (RF-5301) columns: "visible" attribute doesn't work under myfaces.
by Mikhail Vitenkov (JIRA)
columns: "visible" attribute doesn't work under myfaces.
--------------------------------------------------------
Key: RF-5301
URL: https://jira.jboss.org/jira/browse/RF-5301
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62(3.3.0.BETA3) myfaces 1.2.5
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Set visible="false".
#2. Navigate to the page.
Actual behavior:
Exception occurs:
SEVERE: An exception occurred
javax.faces.FacesException: /Columns/Columns.jsp(38,2) Unable to find setter method for attribute: visible
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:347)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.buildView(JspViewHandlerImpl.java:486)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:337)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:197)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:307)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:407)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:534)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:246)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
--
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
16 years, 2 months
[JBoss JIRA] Created: (RF-1291) <a4j:repeat> doesn't work.
by Sergey Halipov (JIRA)
<a4j:repeat> doesn't work.
--------------------------
Key: RF-1291
URL: http://jira.jboss.com/jira/browse/RF-1291
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: jdk 1.6.0_03
jsf 1.2_05
tomcat 6.0.13
Reporter: Sergey Halipov
Priority: Critical
Fix For: 3.2.0
<a4j:repeat> throws strange exception.
My JSP:
<body>
<f:view>
<h:form>
<a4j:repeat value="#{bean.lists}" var="list" id="repeat">
<h:outputText value="#{list.controlsType}" />
</a4j:repeat>
</h:form>
</f:view>
</body>
I have in main bean:
public List<OrderingListDemoBean> getLists() {
return lists;
}
public void setLists(List<OrderingListDemoBean> lists) {
this.lists = lists;
}
In OrderingListDemoBean class:
public String getControlsType() {
return controlsType;
}
public void setControlsType(String controlsType) {
this.controlsType = controlsType;
}
Stack trace:
Nov 6, 2007 4:20:35 PM com.sun.faces.lifecycle.Phase doPhase
SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /pages/q.jsp) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@24226649]
Nov 6, 2007 4:20:35 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
org.apache.jasper.el.JspPropertyNotFoundException: /pages/q.jsp(18,4) '#{list.controlsType}' Property 'controlsType' not found on type java.lang.String
at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:104)
at javax.faces.component.UIOutput.getValue(UIOutput.java:184)
at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:201)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:284)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:154)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:849)
at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:286)
at org.ajax4jsf.renderkit.html.RepeatRenderer$1.process(RepeatRenderer.java:53)
at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:101)
at org.ajax4jsf.component.UIDataAdaptor.walk(UIDataAdaptor.java:994)
at org.ajax4jsf.renderkit.html.RepeatRenderer.encodeChildren(RepeatRenderer.java:59)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:825)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:148)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:825)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:256)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:187)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:143)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:273)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
--
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
16 years, 3 months
[JBoss JIRA] Created: (RF-2677) Transition sentences
by Svetlana mukhina (JIRA)
Transition sentences
--------------------
Key: RF-2677
URL: http://jira.jboss.com/jira/browse/RF-2677
Project: RichFaces
Issue Type: Task
Components: doc
Affects Versions: 3.1.0
Reporter: Svetlana mukhina
Assigned To: Michael Sorokin
Priority: Optional
Fix For: 3.2.1
It's necessary to write more transition sentences in between chapters (or some section) to summarize the old chapter and introduce the next chapter.
e.g.
"This chapter covers the main functinality of ...
Here we'd like to discuss the result of ...
Now you know how to install ...
The main purpose of this chapter is to tell you about ..."
and so on.
Find more examples in other guides online.
--
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
16 years, 3 months
[JBoss JIRA] Created: (RF-4428) 3.2.2.CR4: ajaxValidator doesn't find ValidatorMessages.properties
by Juergen Zimmermann (JIRA)
3.2.2.CR4: ajaxValidator doesn't find ValidatorMessages.properties
------------------------------------------------------------------
Key: RF-4428
URL: https://jira.jboss.org/jira/browse/RF-4428
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: RF 3.2.2.CR4, JSF 1.2_09, JBoss 4.2.3, Hibernate Validator 3.1.0.CR2, JDK 1.6.0_07
Reporter: Juergen Zimmermann
I have this entity class:
public class Kunde implements java.io.Serializable {
@Column(length=NACHNAME_LENGTH_MAX)
@NotNull(message="{kundenverwaltung.kunde.nachname.notNull}")
@Length(min=NACHNAME_LENGTH_MIN, max=NACHNAME_LENGTH_MAX, message="{kundenverwaltung.kunde.nachname.length}")
@Pattern(regex=NACHNAME_PATTERN, message="{kundenverwaltung.kunde.nachname.pattern}")
@XmlElement(required=true)
protected String nachname = "";
...}
The message keys like kundenverwaltung.kunde.nachname.length are declared in ValidatorMessages.properties and ValidatorMessages_de.properties. Both files are in the root of an EAR file. When doing Hibernate validation within the EJB module (resp. .jar file) there is no problem: the messages are picked up in the right language.
However, when changing an xhtml page to use the new rich:ajaxValidator like the following fragment, then only a message pops up containing the message key, e.g. kundenverwaltung.kunde.nachname.length (see above).
<h:form id="createForm">
<a4j:region>
<h:panelGrid id="panelGrid" columns="3" columnClasses="kundendetailsBezeichner, kundendetailsDaten">
<h:outputLabel value="#{i18n['createEinenKunden.nachname']}" for="nachname"/>
<h:inputText id="nachname"
value="#{kv.neuerFirmenkunde.nachname}"
required="true"
requiredMessage="#{i18n['createEinenKunden.nachname.required']}">
<rich:ajaxValidator event="onblur" reRender="fehlermeldungNachname"/>
</h:inputText>
<rich:message id="fehlermeldungNachname" for="nachname" errorClass="error" showSummary="true" showDetail="true">
<f:facet name="errorMarker">
<h:graphicImage url="/images/error.gif"/>
</f:facet>
</rich:message>
--
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
16 years, 4 months
[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
16 years, 4 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
16 years, 4 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
16 years, 4 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
16 years, 4 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
16 years, 4 months
[JBoss JIRA] Created: (RF-4320) Hi All, I have created a suggestionbox using richfaces which consists nationalitylist, but the problem is when I click on any letter only the first one in the is getting selected not the one which am trying to select.
by Samala Swathi (JIRA)
Hi All, I have created a suggestionbox using richfaces which consists nationalitylist, but the problem is when I click on any letter only the first one in the is getting selected not the one which am trying to select.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: RF-4320
URL: https://jira.jboss.org/jira/browse/RF-4320
Project: RichFaces
Issue Type: Bug
Environment: Windows XP
Reporter: Samala Swathi
This is nationality.xhtml
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<h:form id="suggestionbox_form">
<h:inputText value="" id="text" />
<rich:suggestionbox id="suggestionBoxId" for="text"
suggestionAction="#{capitalsBean.autocomplete}" var="result"
fetchValue="#{result.countryName}"
nothingLabel="No capitals found" columnClasses="center">
<h:column>
<h:outputText value="#{result.countryName}" />
</h:column>
</rich:suggestionbox>
</h:form>
</ui:composition>
This is the action class capitalsBean.java
package com.manam.sakana.session;
import java.io.IOException;
import java.io.Serializable;
import java.net.URL;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.faces.FacesException;
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import javax.faces.model.SelectItem;
import javax.persistence.EntityManager;
//import org.apache.commons.digester.Digester;
//import org.apache.commons.digester.xmlrules.DigesterLoader;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.xml.sax.SAXException;
import com.manam.sakana.entity.NationalityList;
@Name("capitalsBean")
public class CapitalsBean {
private String nationality;
private ArrayList<NationalityList> nationalityList = new ArrayList<NationalityList>();
@In EntityManager entityManager;
public List autocomplete(Object suggest) {
String pref = (String)suggest;
System.out.println("Received Letters " +pref);
ArrayList<NationalityList> result = new ArrayList();
Iterator iterator = getAllData().iterator();
while (iterator.hasNext()) {
NationalityList elem = ((NationalityList) iterator.next());
if ((elem.getCountryName() != null && elem.getCountryName().toLowerCase().indexOf(pref.toLowerCase()) == 0) || "".equals(pref))
{
result.add(elem);
}
}
return result;
}
public ArrayList<NationalityList> getAllData(){
ArrayList<NationalityList> tempList2 = new ArrayList<NationalityList>();
ArrayList<NationalityList> nationalityList = new ArrayList<NationalityList>();
tempList2 = (ArrayList<NationalityList>)entityManager.createQuery("from NationalityList order by id").getResultList();
if(tempList2!=null)
{
for(NationalityList nationality : tempList2)
{
nationalityList.add(nationality);
}
}
return nationalityList;
}
public String getNationality() {
return nationality;
}
public void setNationality(String nationality) {
this.nationality = nationality;
}
public ArrayList<NationalityList> getNationalityList() {
return nationalityList;
}
public void setNationalityList(ArrayList<NationalityList> nationalityList) {
this.nationalityList = nationalityList;
}
}
--
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
16 years, 5 months
[JBoss JIRA] Created: (RF-4889) Suggestion box hides behind modalPanel in IE 7
by Darrel Su (JIRA)
Suggestion box hides behind modalPanel in IE 7
----------------------------------------------
Key: RF-4889
URL: https://jira.jboss.org/jira/browse/RF-4889
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6
Reporter: Darrel Su
In IE7, suggestionbox is hidden behind modalpanel.
Using zindex attribute suggestionbox can be shown up front in firefox, but IE7 it is still a problem.
In richfaces 3.1.6 suggestionbox.js has zindex 200 setting so the workaround is not working.
For some reasons, we can not upgrade to 3.2.x. Is there a new workaround to fix this problem?
<rich:suggestionbox id="caseAssignSuggestionBoxId" for="loginName" tokens=","
rules="#{bundle.AutoSuggestRules}"
suggestionAction="#{switchUserBean.autocomplete}" var="result"
fetchValue="#{result.loginName}" rows="#{bundle.AutoSuggestRows}"
first="#{bundle.AutoSuggestFirst}"
minChars="#{bundle.AutoSuggestMinchars}"
shadowOpacity="#{bundle.AutoSuggestShadowOpacity}"
border="#{bundle.AutoSuggestBorder}" width="#{bundle.AutoSuggestWidth}"
height="#{bundle.AutoSuggestHeight}"
shadowDepth="#{switchUserBean.shadowDepth}"
zindex="9999" >
<h:column>
<h:outputText value="#{result.loginName} (#{result.firstName} #{result.lastName})" />
</h:column>
--
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
16 years, 5 months
[JBoss JIRA] Created: (RF-4321) I created suggestion box
by gopi b (JIRA)
I created suggestion box
------------------------
Key: RF-4321
URL: https://jira.jboss.org/jira/browse/RF-4321
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: Seam frame work using Rich faces server Jboss
Reporter: gopi b
Fix For: 3.2.2
I created suggestion box for country(nationality) using rich faces, and seam the problem am facing is "Only the topmost name in the list of the countries is displaying if also I select the country in the list of countries (like If I type "A", countries name starting with 'A' are displaying, at this time only the top most country is selected, If I select any of them).
--
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
16 years, 5 months