[JBoss JIRA] Created: (RF-11307) a4j:ajax doesn't render rich:datatable when it has a rendered condition.
by Abdulkerim İnanmış (JIRA)
a4j:ajax doesn't render rich:datatable when it has a rendered condition.
------------------------------------------------------------------------
Key: RF-11307
URL: https://issues.jboss.org/browse/RF-11307
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: I am usinh richfaces 4.0 and jsf 2.04 libraries. My sample code is below.
Reporter: Abdulkerim İnanmış
<h:panelGrid>
<h:panelGrid columns="3" id="kriter"
columnClasses="colPad,colPad5,colPad5,colPad5">
<h:outputText value="Tarih" style="font-weight:bolder;" />
<h:panelGroup>
<rich:calendar value="#{adminBean.dateLow}"
datePattern="d MMM,yyyy">
</rich:calendar>
<rich:calendar value="#{adminBean.dateHigh}"
datePattern="d MMM,yyyy">
</rich:calendar>
</h:panelGroup>
<h:selectOneRadio value="#{adminBean.okundu}" label="Okunma Durumu">
<f:selectItem itemLabel="Okunanlar" itemValue="#{true}" />
<f:selectItem itemLabel="Okunmamışlar" itemValue="#{false}" />
<f:selectItem itemLabel="Hepsi" itemValue="#{null}" />
</h:selectOneRadio>
</h:panelGrid>
<h:panelGrid columns="4" columnClasses="colPad5,colPad5">
<h:selectOneRadio value="#{adminBean.aramaSekli}">
<f:selectItem itemLabel="Konuda arama" itemValue="K" />
<f:selectItem itemLabel="Genel arama" itemValue="G" />
</h:selectOneRadio>
<h:outputText value="Aranacak Sözcük" style="font-weight:bolder;" />
<h:inputText value="#{adminBean.aranacakSozcuk}"
id="aranacakSozcuk" />
<h:commandButton value="Sorgula" action="#{adminBean.sorgula}"
image="resources/images/search3.jpg" style="float:right;">
<a4j:ajax execute="kriter" render="sonuclar"
onbegin="document.getElementById('showBtn').click()"
oncomplete="document.getElementById('hideBtn').click()" />
</h:commandButton>
</h:panelGrid>
</h:panelGrid>
<h:outputText value="sonuc bulunamadı"
rendered="#{empty adminBean.iletisim}" />
<rich:dataTable value="#{adminBean.iletisim}" var="i" id="sonuclar"
rendered="#{not empty adminBean.iletisim}">
<f:facet name="header">
İletişim Mesajları Arama Sonuçları
</f:facet>
<rich:column style="width:200px;">
<f:facet name="header">
Konu
</f:facet>
<h:outputText value="#{i.konu}" rendered="#{i.okundu}" />
<h:outputText value="#{i.konu}" rendered="#{not i.okundu}"
style="color:red;" />
</rich:column>
<rich:column>
<f:facet name="header">
Kimden(e-posta)
</f:facet>
<h:outputText value="#{i.email}" />
</rich:column>
<rich:column>
<f:facet name="header">
Tarih
</f:facet>
<h:outputText value="#{i.tarih}">
<f:convertDateTime dateStyle="medium" type="both" />
</h:outputText>
</rich:column>
<rich:column>
<h:commandLink value="Oku" action="#{adminBean.selectMessage(i)}">
<a4j:ajax execute="@this" render="metin sonuclar"
onbegin="beginFunc()" oncomplete="completeFunc()" />
</h:commandLink>
</rich:column>
<rich:column>
<h:commandLink value="Sil" action="#{adminBean.sil(i)}"
onclick="if(!confirm('İletiyi silmek üzeresiniz.')) return false;">
<a4j:ajax execute="@this" render="metin sonuclar" />
</h:commandLink>
</rich:column>
</rich:dataTable>
<rich:popupPanel autosized="true" id="popAciklama" modal="true">
<f:facet name="header">
Mesaj açıklaması
</f:facet>
<f:facet name="controls">
<h:outputLink
onclick="#{rich:component('popAciklama')}.hide();return false;">
X
</h:outputLink>
</f:facet>
<h:inputTextarea value="#{adminBean.selected.aciklama}" cols="80"
disabled="true" styleClass="mesajDetay" id="metin"
rows="#{(fn:length(adminBean.selected.aciklama) / 80) > 15 ? 15 : fn:replace((fn:length(adminBean.selected.aciklama) / 80) + ( 1 - ((fn:length(adminBean.selected.aciklama) / 80)%1)) % 1,'.0','')}" />
</rich:popupPanel>
<script type="text/javascript">
function beginFunc(){
document.getElementById('showBtn').click()
}
function completeFunc(){
document.getElementById('hideBtn').click()
#{rich:component('popAciklama')}.show();
}
</script>
</ui:define>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] Created: (RF-11366) Editor: add @skin attribute
by Lukáš Fryč (JIRA)
Editor: add @skin attribute
---------------------------
Key: RF-11366
URL: https://issues.jboss.org/browse/RF-11366
Project: RichFaces
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 4.1.0.Milestone1
Reporter: Lukáš Fryč
Assignee: Lukáš Fryč
Priority: Minor
Fix For: 4.1.0.Milestone2
Skin may be confired through new @config attribute or facet 'config',
however for futher optimatization it would be suitable to have skin available as component attribute.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] Commented: (RF-11154) Push - Showcase - JMS connection is left opened on JBoss AS 7
by Juraj Huska (JIRA)
[ https://issues.jboss.org/browse/RF-11154?page=com.atlassian.jira.plugin.s... ]
Juraj Huska commented on RF-11154:
----------------------------------
Just for completeness it is also noticeable on Tomcat 7
> Push - Showcase - JMS connection is left opened on JBoss AS 7
> -------------------------------------------------------------
>
> Key: RF-11154
> URL: https://issues.jboss.org/browse/RF-11154
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-push/poll, examples
> Affects Versions: 4.1.0.Milestone1
> Environment: richfaces-showcase 4.1.0.-SNAPSHOT, container JBoss AS 7.0.0.Final
> Reporter: Juraj Huska
> Assignee: Lukáš Fryč
> Fix For: 4.1.0.Milestone2
>
>
> When I am deploying showcase multiple times during running test suite(this multiple deployment is needed in Arquillian, since for every test class is application deployed again), I am encountering with java.lang.OutOfMemoryError: PermGen space error which in my opinion caused by this:
> {code}
> WARN [org.hornetq.jms.client.HornetQConnection] (Finalizer) I'm closing a JMS connection you left open. Please make sure you close all JMS connections explicitly before letting them go out of scope!
> 13:03:33,712 WARN [org.hornetq.jms.client.HornetQConnection] (Finalizer) The JMS connection you didn't close was created here:: java.lang.Exception
> at org.hornetq.jms.client.HornetQConnection.<init>(HornetQConnection.java:152)
> at org.hornetq.jms.client.HornetQTopicConnection.<init>(HornetQTopicConnection.java:35)
> at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:682)
> at org.hornetq.jms.client.HornetQConnectionFactory.createTopicConnection(HornetQConnectionFactory.java:145)
> at org.hornetq.jms.client.HornetQConnectionFactory.createTopicConnection(HornetQConnectionFactory.java:140)
> at org.richfaces.demo.push.JMSMessageProducer.initializeMessaging(JMSMessageProducer.java:86)
> at org.richfaces.demo.push.JMSMessageProducer.sendMessage(JMSMessageProducer.java:66)
> at org.richfaces.demo.push.MessageProducerRunnable.run(MessageProducerRunnable.java:57)
> at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]
> {code}
> When I am deploying showcase.war which is without Push example(4.0.0.Final), so no JMS communication is opened, no Perm Gen error is thrown.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] Created: (RF-11358) 2 failures in components/output/ui module
by Brian Leathem (JIRA)
2 failures in components/output/ui module
-----------------------------------------
Key: RF-11358
URL: https://issues.jboss.org/browse/RF-11358
Project: RichFaces
Issue Type: Sub-task
Security Level: Public (Everyone can see)
Reporter: Brian Leathem
build core (branch feature/jquery)
build cdk (branch develop)
build components (branch develop)
Results :
Tests in error:
testServerClick(org.richfaces.renderkit.html.DropDownMenuRendererTest)
testServerClick(org.richfaces.renderkit.html.MenuItemRendererTest)
Tests run: 43, Failures: 0, Errors: 2, Skipped: 1
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months