[JBoss JIRA] Created: (RF-4421) contextMenu: attachTo will be ignored if context menu is outside destination component
by Tatyana Romanovich (JIRA)
contextMenu: attachTo will be ignored if context menu is outside destination component
--------------------------------------------------------------------------------------
Key: RF-4421
URL: https://jira.jboss.org/jira/browse/RF-4421
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Reporter: Tatyana Romanovich
Assignee: Nick Belaevski
1. Create test-paeg:
<h:panelGrid columns="1">
....
<h:outputText id="text3" value="Some text with context menu3" />
<rich:contextMenu attachTo="text3">
<rich:menuItem value="b">
<f:param name="cmdParam" value="b" />
</rich:menuItem>
<rich:menuItem value="c">
<f:param name="cmdParam" value="c" />
</rich:menuItem>
</rich:contextMenu>
....
</h:panelGrid>
Here there is contextMenu component with defined attachTo attribute for other component. I think it's normal. But after running application on the server user gets error that parent component should have id
--
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
17 years, 7 months
[JBoss JIRA] Created: (RF-4420) Problem with 1 action with target and 1 action without target
by Marine Wacheux (JIRA)
Problem with 1 action with target and 1 action without target
-------------------------------------------------------------
Key: RF-4420
URL: https://jira.jboss.org/jira/browse/RF-4420
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.6
Environment: MyFaces 1.1.5 + RichFaces 3.1.6 + Firefox (2 or 3)
Reporter: Marine Wacheux
I have a problem with two (or more) htmlCommandLink in one form :
- button A has a "target" property to open the result in a new window
- button B has no "target" property
If I first click on button A, result opens correctly in a new Firefox tab. But when I then click on button B (from first tab), result also open in a new tab, which should not happen.
If I click on button B without having clicked on A before, result is correct (the page opens in the same tab).
I also noticed that there is the same problem with 2 panelMenuItem, one having a target property, and the other without target property.
--
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
17 years, 7 months
[JBoss JIRA] Created: (RF-4448) RichFaces 3.2.2 does not working with Firefox 2.x (UTF-8)
by Anderson Braz (JIRA)
RichFaces 3.2.2 does not working with Firefox 2.x (UTF-8)
---------------------------------------------------------
Key: RF-4448
URL: https://jira.jboss.org/jira/browse/RF-4448
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2, 3.2.1, 3.2.0.SR1, 3.2.0
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16
Reporter: Anderson Braz
Priority: Blocker
Fix For: 3.2.2
Attachments: screenshot-1.jpg
We are using UTF-8 application and when XHTML will be rendered the following message was thrown:
Portuguese message:
Erro no processamento de XML: entidade não definida
Posição: http://localhost/showcase/
Número da linha 68, Coluna 51:<td><span class="label" style="color:#4D586C;">Usuário</span></td>
---------------------------------------------------------------------------------------------------------------------^
Translating to english:
Error in XML parse: Undefined Entity
Location: http://localhost/showcase/
Number of line 68, Column 51: <td><span class="label" style="color:#4D586C;">Usuário</span></td>
--------------------------------------------------------------------------------------------------------------------^
Our XHTML code:
<h:outputText value="#{UI.idUsuario}" styleClass="label"/>
This line would be rendered as "Usuário"
<rich:tabPanel styleClass="screen-size" switchType="client" headerAlignment="center">
<ui:insert name="left-menu"/>
<rich:tab label="#{UI.opcoes}">
<h:panelGrid columns="3">
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="welcome"
action="welcome"
immediate="true">
<h:graphicImage value="template/resources/decorator/home.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.pagina_inicial}" styleClass="label tab-item"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="alterarsenha"
action="alterarsenha"
immediate="true">
<h:graphicImage value="template/resources/decorator/alterarsenha.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.alterar_senha}" styleClass="label tab-item"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="logout"
action="#{Login.logout}"
immediate="true">
<h:graphicImage value="template/resources/decorator/logout.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.sair}" styleClass="label tab-item"/>
</h:panelGrid>
</h:panelGrid>
</rich:tab>
<rich:tab label="#{UI.mylanguage}">
<h:panelGrid columns="2">
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="idioma"
action="idioma"
immediate="true">
<h:graphicImage value="template/resources/decorator/idioma.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idIdioma}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="palavra"
action="palavra"
immediate="true">
<h:graphicImage value="template/resources/decorator/palavra.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idPalavra}" styleClass="label"/>
</h:panelGrid>
</h:panelGrid>
</rich:tab>
<rich:tab label="#{UI.mysecurity}">
<h:panelGrid columns="7">
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="concessao"
action="concessao"
immediate="true">
<h:graphicImage value="template/resources/decorator/concessao.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idConcessao}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="perfil"
action="perfil"
immediate="true">
<h:graphicImage value="template/resources/decorator/perfil.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idPerfil}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="log"
action="log"
immediate="true">
<h:graphicImage value="template/resources/decorator/log.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idLog}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="regra"
action="regra"
immediate="true">
<h:graphicImage value="template/resources/decorator/regra.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idRegra}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="sessao"
action="sessao"
immediate="true">
<h:graphicImage value="template/resources/decorator/sessao.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idSessao}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="tela"
action="tela"
immediate="true">
<h:graphicImage value="template/resources/decorator/tela.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idTela}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="usuario"
action="usuario"
immediate="true">
<h:graphicImage value="template/resources/decorator/usuario.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idUsuario}" styleClass="label"/>
</h:panelGrid>
</h:panelGrid>
</rich:tab>
<rich:tab label="#{UI.myaddress}">
<h:panelGrid columns="2">
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="pais"
action="pais"
immediate="true">
<h:graphicImage value="template/resources/decorator/pais.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idPais}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="tipologradouro"
action="tipologradouro"
immediate="true">
<h:graphicImage value="template/resources/decorator/tipologradouro.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idTipoLogradouro}" styleClass="label"/>
</h:panelGrid>
</h:panelGrid>
</rich:tab>
<rich:tab label="#{UI.mypackage}">
<h:panelGrid columns="3">
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="parametro"
action="parametro"
immediate="true">
<h:graphicImage value="template/resources/decorator/parametro.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idParametro}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="aplicativo"
action="aplicativo"
immediate="true">
<h:graphicImage value="template/resources/decorator/aplicativo.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idAplicativo}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="atualizacao"
action="atualizacao"
immediate="true">
<h:graphicImage value="template/resources/decorator/atualizacao.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idAtualizacao}" styleClass="label"/>
</h:panelGrid>
</h:panelGrid>
</rich:tab>
</rich:tabPanel>
--
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
17 years, 7 months
[JBoss JIRA] Created: (RF-3417) inputNumberSlider handler doesn't influenced with initial value.
by Ilya Shaikovsky (JIRA)
inputNumberSlider handler doesn't influenced with initial value.
----------------------------------------------------------------
Key: RF-3417
URL: http://jira.jboss.com/jira/browse/RF-3417
Project: RichFaces
Issue Type: Sub-task
Affects Versions: 3.2.1
Reporter: Ilya Shaikovsky
Assigned To: Nick Belaevski
Look to demosuite.
paint2D page
in previous revisions - properties of paintData was defined in faces config as
<managed-property>
<property-name>color</property-name>
<property-class>long</property-class>
<value>1000</value>
</managed-property>
<managed-property>
<property-name>scale</property-name>
<property-class>float</property-class>
<value>2</value>
</managed-property>
But handlers was in 0 positions.
The definition was rewriten and now the default values =0. But this is just workaround. Parent Bug should be reopened in order to return old values(better look and feel of the page) after this will be fixed.
--
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
17 years, 7 months
[JBoss JIRA] Created: (RF-3614) Sorting a dataTable changes seam-link
by Rainer Flicker (JIRA)
Sorting a dataTable changes seam-link
-------------------------------------
Key: RF-3614
URL: http://jira.jboss.com/jira/browse/RF-3614
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: RichFaces 3.2.1.GA
JBoss Seam 2.0.2.SP1
JSF 1.2 + Facelets 1.1.14
JBoss 4.2.2.GA
JDK 1.5.0_11
Reporter: Rainer Flicker
Sorting a dataTable changes seam-link. Before sorting the list, seam-link opens the appropriate
item. After sorting, seam-link always opens the last item of the unsorted list. Selecting for example
item 10 of 20 opens after sorting always item 20.
------ xhtml snippet ---------------------------------------------------------------------------------------------------
<rich:dataTable value="#{hazards}" var="hazard">
<rich:column sortBy="#{hazard.name}">
<f:facet name="header">
<h:outputText styleClass="headerText" value="name" />
</f:facet>
<h:outputText value="#{hazard.name}"></h:outputText>
</rich:column>
<s:link action="#{hazardDetailsManager.select(hazard)}" >
<h:graphicImage url="/img/buttons/edit.gif"></h:graphicImage>
</s:link>
</rich:column>
</rich: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
17 years, 7 months
[JBoss JIRA] Created: (RF-4166) Ajax4J - KeepAlive - ajaxOnly Attribute
by Denis Silva (JIRA)
Ajax4J - KeepAlive - ajaxOnly Attribute
---------------------------------------
Key: RF-4166
URL: https://jira.jboss.org/jira/browse/RF-4166
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: WebLogic 10.x and TomCat6
JDK 5
Reporter: Denis Silva
I had a problem when using, Ajax4j Tag, KeePAlive, if the attribute ajaxOnly set to true.
There is a simple error in a expression, that put the Bean in FacesContext.
When the ajaxOnly is set to true, the beanName is not placed in FacesContext Map properly.
String beanAttributeName = isAjaxOnly?AjaxPhaseListener.AJAX_BEAN_PREFIX:AjaxPhaseListener.VIEW_BEAN_PREFIX+beanName;
facesContext.getViewRoot().getAttributes().put(beanAttributeName, bean);
return Tag.SKIP_BODY;
when isAjaxOnly evaluate to true, the String AjaxPhaseListener.AJAX_BEAN_PREFIX is setted to beanAttributeName. and the Bean.
--
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
17 years, 7 months
[JBoss JIRA] Created: (RF-3801) 'multi select' slows down the AJAX submit of a Form while ha
by Judy Mercer (JIRA)
'multi select' slows down the AJAX submit of a Form while ha
------------------------------------------------------------
Key: RF-3801
URL: http://jira.jboss.com/jira/browse/RF-3801
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.0.1
Environment: Solaris 10x
Java 6
JBOSS 4.2.2.
Reporter: Judy Mercer
With IE (both 6.x and 7.x), a performance problem arises performing an AJAXSubmit of a form having a "multi select" TAG with thousands of items.
Activating the AJAX tracing with IE, I noticed that while the multi select is populated with 2000 items, the request phase is performed by AJAX in more than 5 seconds (with a pentium core duo 2GHz), while Firefox takes about nothing.
The cause:
In my opinion the problem is caused by the way AJAX javascript within IE is performing the preparation of the request. In detail, each time an AJAX submit is performed, the application code calls the function A4J.AJAX.Submit(). Following the sequence of commands...
A4J.AJAX.Submit->A4J.AJAX.SubmitRequest->A4J.Query->appendFormControls->'select-multiple'
...I found that the time is spent inside 'select-multiple' function whose purpose is basically to add the selected items to the list of parameters of the request. It consumes all the time looping on the child nodes of the DOM SELECT object.
A proposed solution:
to change the loop using the "options" collection instead of the generic "childNodes" collection. The change basically does what done in the case "select-multiple" of method Sarissa.formToQueryString()
example:
richfaces-impl-3.2.1.GA.jar/org/ajax4jsf/javascript/scripts/AJAX.js.:
Code:
...
'select-multiple' : function(control){
var cname = control.name;
var childs = control.childNodes;
for( var i=0 ;i< childs.length;i++ ){
var child=childs
;
if( child.tagName == 'OPTGROUP' ){
var options = child.childNodes;
for(var j=0; j < options.length; j++){
this._addOption(cname, options[j]);
}
} else {
this._addOption(cname, child);
}
}
},
is more efficient rewritten in this way:
Code:
'select-multiple' : function(control){
var options = control.options;
for( var i=0 ;i< control.length;i++ ){
var option = options
;
this._addOption(cname, option);
}
},
Note: the change keeps support of 'OPTGROUP' tags
--
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
17 years, 7 months
[JBoss JIRA] Created: (RF-3618) AjaxContextImpl: Usage of @PostConstruct on decode(FacesContext context)
by Gena Batalski (JIRA)
AjaxContextImpl: Usage of @PostConstruct on decode(FacesContext context)
-------------------------------------------------------------------------
Key: RF-3618
URL: http://jira.jboss.com/jira/browse/RF-3618
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0, 3.2.0.SR1, 3.2.1, 3.2.2
Environment: RichFaces from SVN ~3.2.1, SAP Netweaver CE7.1
Reporter: Gena Batalski
Hello,
i've installed a Seam application with RichFaces on SAP Netweaver CE 7.1. The server rejected the richfaces-impl.jar because of usage of @PostConstruct annotation on the AjaxContextImpl.decode(FacesContext context) method. According to Javadoc, the @PostConstruct must not have any parameters. Does it have any reason to use the @PostConstruct in this case?
Since i removed this annotation, the richfaces also work in the SAP Netweaver JEE environment!
Gena
--
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
17 years, 7 months
[JBoss JIRA] Created: (RF-4191) tabPanel css position attribute setted to relative causes a mess with tab content in IE
by Paulo Freitas (JIRA)
tabPanel css position attribute setted to relative causes a mess with tab content in IE
---------------------------------------------------------------------------------------
Key: RF-4191
URL: https://jira.jboss.org/jira/browse/RF-4191
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.1
Environment: linux, tomcat, myfaces, ie.
Reporter: Paulo Freitas
this is the code (generated by tabPanel) that wraps a tab content:
<table class="dr-tbpnl-cntnt-pstn rich-tabpanel-content-position" cellspacing="0" cellpadding="10" border="0" width="100%" style="position: relative;">
it's style position:relative is the cause of IE do not render a div (tab content) with position: absolute in a proper way.
I cannot wrap this with a css class once it's directly on style attribute.
In other words what I want to be able to do is to absolute position an element with noninterference of tabPanel.
the code generated has the same effect with style="position:static" (simply not set) and it's more flexible once the user would be able to customize it.
My suggestion is to put position:relative in rich-tabpanel-content-position class
--
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
17 years, 7 months