[JBoss JIRA] Created: (RF-2265) Indicating rich:messages 'level' still creates empty boxes
by Juan Ignacio S?nchez Lara (JIRA)
Indicating rich:messages 'level' still creates empty boxes
----------------------------------------------------------
Key: RF-2265
URL: http://jira.jboss.com/jira/browse/RF-2265
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: MyFaces 1.1.5, SJSAS 8.2
Reporter: Juan Ignacio S?nchez Lara
If I put several rich:messages with different levels and I add one message, the other box is still rendered.
For example:
<style>
.info { border: 1px blue solid; background: green; }
.error { border: 1px red solid; background: orange; }
</style>
...
<rich:messages level="info" styleClass="info" />
<rich:messages level="error" styleClass="error" />
Adding an error message renders an orange box with it, plus a green empty one.
I attatch a war. The rendered page has links which adds messages of different levels.
--
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-2701) ListShuttleDemo: missing attribute exception
by Nick Belaevski (JIRA)
ListShuttleDemo: missing attribute exception
--------------------------------------------
Key: RF-2701
URL: http://jira.jboss.com/jira/browse/RF-2701
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Nick Belaevski
Assigned To: Vladimir Molotkov
Fix For: 3.2.0
org.apache.jasper.JasperException: /pages/index.jsp(107,4) PWC6131: Attribute moveControlsVerticalAlign invalid for tag listShuttle according to TLD
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:62)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:357)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:185)
at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1198)
at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:834)
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1482)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2307)
at or
--
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-3031) FileUpload in portlets
by Nick Belaevski (JIRA)
FileUpload in portlets
----------------------
Key: RF-3031
URL: http://jira.jboss.com/jira/browse/RF-3031
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Reporter: Nick Belaevski
Assigned To: Andrei Markavtsov
Fix For: 3.2.1
java.lang.ClassCastException: org.jboss.portal.portlet.impl.jsr168.api.PortletSessionImpl at org.richfaces.renderkit.FileUploadRendererBase.initMaxFilesCount(FileUploadRendererBase.java:136) at org.richfaces.renderkit.html.FileUploadRenderer.doEncodeEnd(FileUploadRenderer.java:206) at org.richfaces.renderkit.html.FileUploadRenderer.doEncodeEnd(FileUploadRenderer.java:380)
--
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-1341) Problems with Ajax requests within a a4j:repeat loop
by Peter Mahoney (JIRA)
Problems with Ajax requests within a a4j:repeat loop
----------------------------------------------------
Key: RF-1341
URL: http://jira.jboss.com/jira/browse/RF-1341
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Environment: MyFaces, Richfaces 3.1.3 snapshot
Reporter: Peter Mahoney
I have come across two problems following a change to put some fields in an a4j:repeat loop. The backing beans have not changed. This is the code:
<a4j:repeat id="termClauses" value="#{collectionSearchHandler.termClauses}" var="clause">
<a4j:region id="vocabularyFilterRegion">
<h:selectOneMenu id="vocabularyFilter" value="#{clause.vocabulary}">
<a4j:support id="vocabularyAjaxSupport" event="onchange" reRender="termFilterPanel" ajaxSingle="true" />
<f:selectItem itemValue="#{collectionSearchHandler.blankVocabulary}" itemLabel="#{msgs.quizFirstVocabularySelectItemDescription}" />
<f:selectItems value="#{collectionSearchHandler.vocabularyFilterItems}" />
</h:selectOneMenu>
<a4j:status startText="#{msgs.quizTermSearchInProgressMessage}" />
</a4j:region>
<a4j:region id="termFilterRegion">
<a4j:outputPanel id="termFilterPanel">
<h:panelGroup rendered="#{clause.hasVocabulary}">
<ul style="list-style-type:none; margin:0px;">
<a4j:repeat id="termFilters" value="#{clause.termFilters}" var="termFilter" rowKeyVar="idx">
<li>
<h:selectOneMenu id="termFilter" value="#{termFilter.term}" converter="com.dbplc.quiz.Term" style="width:100%">
<a4j:support id="termAjaxSupport" event="onchange" reRender="termFilterPanel,qbankSearchResultsPanel" ajaxSingle="true" actionListener="#{collectionSearchHandler.searchPerformed}" />
<f:selectItem itemValue="#{collectionSearchHandler.blankTerm}" itemLabel="#{msgs.quizFirstTermSelectItemDescription}" />
<f:selectItems value="#{clause.termFilterItemMap[idx]}" />
</h:selectOneMenu>
<h:commandButton actionListener="#{collectionSearchHandler.searchPerformed}" />
</li>
</a4j:repeat>
</ul>
</h:panelGroup>
</a4j:outputPanel>
<rich:messages />
</a4j:region>
</a4j:repeat>
Firstly I get the following error when the form is submitted by changing the "VocabularyFilter" value:
/questionsearch.xhtml @25,77 value="#{clause.vocabulary}": Target Unreachable, identifier 'clause' resolved to null
If I add an onchange="this.form.submit()" to the field, to bypass the Ajax, it works fine.
So, with the above workaround, I then get the problem that the collectionSearchHandler.searchPerformed() method (referenced by the a4j:support tag) is only called every second form submit. This worked without problems before adding the outer a4j:repeat. Using the commandButton to submit the form works every time.
--
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-2046) "immediate" attribute for inputs
by Nick Belaevski (JIRA)
"immediate" attribute for inputs
--------------------------------
Key: RF-2046
URL: http://jira.jboss.com/jira/browse/RF-2046
Project: RichFaces
Issue Type: Bug
Components: doc
Affects Versions: 3.1.4, 3.2.0
Reporter: Nick Belaevski
Assigned To: Svetlana mukhina
Fix For: 3.1.4, 3.2.0
Cite from orderingList.xml:
<property>
<name>immediate</name>
<classname>boolean</classname>
<description>True means, that the default ActionListener should be executed immediately
(i.e. during Apply Request Values phase of the request processing lifecycle), rather than waiting until the Invoke Application phase
</description>
</property>
That applies to command components only, not the input ones
--
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-3295) dataGrid: "elements" doesn't return number of elements in Grid.
by Mikhail Vitenkov (JIRA)
dataGrid: "elements" doesn't return number of elements in Grid.
---------------------------------------------------------------
Key: RF-3295
URL: http://jira.jboss.com/jira/browse/RF-3295
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: IE, FF, Safari, Opera(3.2.1.CR2)
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Priority: Minor
Code:
Java bean:
public class TestBean {
...
private String elements;
public TestBean() {
elements = "0";
}
getter & setter;
}
xhtml:
<h:dataTable id="c1" border="1" value="#{testBean.tables}"
var="table">
<h:column>
<rich:dataGrid id="c2" columns="2" value="#{table.cells}"
var="cell" border="12px" dir="RTL"
elements="#{testBean.elements}">
<h:outputLabel value="Value:" for="field" />
<h:inputText id="field" value="#{cell.value}" required="true"/>
</rich:dataGrid>
</h:column>
</h:dataTable>
--
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