Call for Presentations now open: Community over Code EU 2024
(Note: You are receiving this because you are subscribed to the dev@ list for one or more projects of the Apache Software Foundation.) It's back *and* it's new! We're excited to announce that the first edition of Community over Code Europe (formerly known as ApacheCon EU) which will be held at the Radisson Blu Carlton Hotel in Bratislava, Slovakia from June 03-05, 2024! This eagerly anticipated event will be our first live EU conference since 2019. The Call for Presentations (CFP) for Community Over Code EU 2024 is now open at https://eu.communityovercode.org/blog/cfp-open/, and will close 2024/01/12 23:59:59 GMT. We welcome submissions on any topic related to the Apache Software Foundation, Apache projects, or the communities around those projects. We are specifically looking for presentations in the following categories: * API & Microservices * Big Data Compute * Big Data Storage * Cassandra * CloudStack * Community * Data Engineering * Fintech * Groovy * Incubator * IoT * Performance Engineering * Search * Tomcat, Httpd and other servers Additionally, we are thrilled to introduce a new feature this year: a poster session. This addition will provide an excellent platform for showcasing high-level projects and incubator initiatives in a visually engaging manner. We believe this will foster lively discussions and facilitate networking opportunities among participants. All my best, and thanks so much for your participation, Ryan Skraba (on behalf of the program committee) [Countdown]: https://www.timeanddate.com/countdown/to?iso=20240112T2359=1440
Re: [PR] Fix Myfaces 4623 & Add Test for 5.0.x [myfaces]
volosied commented on code in PR #636: URL: https://github.com/apache/myfaces/pull/636#discussion_r1376389607 ## integration-tests/myfaces4623/src/test/java/org/apache/myfaces/core/integrationtests/IntegrationTest.java: ## @@ -0,0 +1,131 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.myfaces.core.integrationtests; + +import java.io.File; +import java.net.URL; +import org.jboss.arquillian.junit.Arquillian; +import org.jboss.arquillian.container.test.api.Deployment; +import org.jboss.arquillian.container.test.api.RunAsClient; +import org.jboss.arquillian.drone.api.annotation.Drone; +import org.jboss.arquillian.test.api.ArquillianResource; +import org.jboss.shrinkwrap.api.ShrinkWrap; +import org.jboss.shrinkwrap.api.importer.ZipImporter; +import org.jboss.shrinkwrap.api.spec.WebArchive; +import org.junit.After; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.openqa.selenium.By; +import org.openqa.selenium.WebDriver; +import org.openqa.selenium.WebElement; +import org.openqa.selenium.support.ByIdOrName; +import org.openqa.selenium.support.ui.ExpectedCondition; +import org.openqa.selenium.support.ui.WebDriverWait; + +import java.time.Duration; + +@RunWith(Arquillian.class) +@RunAsClient +public class IntegrationTest +{ +@Deployment(testable = false) +public static WebArchive createDeployment() +{ +// Fix for 'Failed to scan serializer.jar' error message +String key = "tomcat.util.scan.StandardJarScanFilter.jarsToSkip"; +String value = "bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,annotations-api.jar,el-api.jar,jsp-api.jar," + + "servlet-api.jar,websocket-api.jar,jaspic-api.jar,catalina.jar,catalina-ant.jar,catalina-ha.jar," + + "catalina-storeconfig.jar,catalina-tribes.jar,jasper.jar,jasper-el.jar,ecj-*.jar,tomcat-api.jar," + + "tomcat-util.jar,tomcat-util-scan.jar,tomcat-coyote.jar,tomcat-dbcp.jar,tomcat-jni.jar," + + "tomcat-websocket.jar,tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar," + + "tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,tomcat-jdbc.jar,tools.jar," + + "commons-beanutils*.jar,commons-codec*.jar,commons-collections*.jar,commons-dbcp*.jar," + + "commons-digester*.jar,commons-fileupload*.jar,commons-httpclient*.jar,commons-io*.jar," + + "commons-lang*.jar,commons-logging*.jar,commons-math*.jar,commons-pool*.jar,jstl.jar," + + "taglibs-standard-spec-*.jar,geronimo-spec-jaxrpc*.jar,wsdl4j*.jar,ant.jar,ant-junit*.jar," + + "aspectj*.jar,jmx.jar,h2*.jar,hibernate*.jar,httpclient*.jar,jmx-tools.jar,jta*.jar,log4j*.jar," + + "mail*.jar,slf4j*.jar,xercesImpl.jar,xmlParserAPIs.jar,xml-apis.jar,junit.jar,junit-*.jar," + + "ant-launcher.jar,cobertura-*.jar,asm-*.jar,dom4j-*.jar,icu4j-*.jar,jaxen-*.jar,jdom-*.jar," + + "jetty-*.jar,oro-*.jar,servlet-api-*.jar,tagsoup-*.jar,xmlParserAPIs-*.jar,xom-*.jar,serializer.jar"; +System.setProperty(key, value); + +return ShrinkWrap.create(ZipImporter.class, "myfaces4623.war") +.importFrom(new File("target/myfaces4623.war")) +.as(WebArchive.class); +} + +@Drone +protected WebDriver webDriver; + +@ArquillianResource +protected URL contextPath; + +@Before +public void before() +{ +} + +@After +public void after() +{ +webDriver.manage().deleteAllCookies(); +} + +/* + * Test for https://issues.apache.org/jira/browse/MYFACES-4623 + */ +@Test +public void test() +{ +webDriver.get(contextPath + "index.xhtml"); + +Assert.assertTrue(webDriver.getPageSource().contains("display")); +Assert.assertTrue(webDriver.getPageSource().contains("close")); + +trigger("form1:display", webDriver -> +{ +return webDriver.getPageSource().contains("DISPLAYING COMPONENT"); +}); +
Re: [PR] MYFACES-4606 Follow up: do not send values for unselected radio / checkbox elements [myfaces]
volosied commented on PR #634: URL: https://github.com/apache/myfaces/pull/634#issuecomment-1785429084 @werpu Any updates? Thank you -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[PR] bug(sheet): Selector All Checkbox is not synchronized with selector C… [myfaces-tobago]
bohmber opened a new pull request, #4406: URL: https://github.com/apache/myfaces-tobago/pull/4406 …heckbox in each row after ajax request issue: TOBAGO-2254 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[jira] [Created] (TOBAGO-2254) Selector All Checkbox is not synchronized with selector Checkbox in each row after ajax request
Bernd Bohmann created TOBAGO-2254: - Summary: Selector All Checkbox is not synchronized with selector Checkbox in each row after ajax request Key: TOBAGO-2254 URL: https://issues.apache.org/jira/browse/TOBAGO-2254 Project: MyFaces Tobago Issue Type: Bug Components: Themes Affects Versions: 6.0.0-beta-1, 5.7.2 Reporter: Bernd Bohmann Assignee: Bernd Bohmann -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (MYFACES-4629) Manual AJAX request does not process TabView correctly
[ https://issues.apache.org/jira/browse/MYFACES-4629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17770711#comment-17770711 ] Thomas Andraschko edited comment on MYFACES-4629 at 10/30/23 9:25 AM: -- Just some notes if: If you check PartialViewContext#processPartialExecute it contains the tabView Id - but the UITabPanel#process is only invoked for PhaseId#RENDER_RESPONSE, not for validating and so on. Thats the bug. So something between is the reason, you may debug it. Another class involved is: PartialVisitContext was (Author: tandraschko): Just some notes if: If you check PartialViewContext#processPartialExecute it contains the tabView Id - but the UITabPanel#process is only invoked for PhaseId#RENDER_RESPONSE, not for validating and so on. Thats the bug. So something between is the reason, you may debug it. Another class involved is: PartialVisitContext It MIGHT MAYBE even by design: you set the TabView as AJAX source but only UIComand components or f:ajax can trigger this; so a plain TabView actually not - but not sure if we have something. > Manual AJAX request does not process TabView correctly > -- > > Key: MYFACES-4629 > URL: https://issues.apache.org/jira/browse/MYFACES-4629 > Project: MyFaces Core > Issue Type: Bug > Components: General >Affects Versions: 4.0.0, 4.0.1 >Reporter: Manuel K >Priority: Critical > Attachments: pf-tabview.zip > > > When manually calling PrimeFaces.ajax.Request.handle the validationFailed > argument is not sent to the client. > For more details and a reproducer please see > https://github.com/orgs/primefaces/discussions/123 -- This message was sent by Atlassian Jira (v8.20.10#820010)
Re: [PR] MYFACES-4623 check for duplicate ids [myfaces]
tandraschko merged PR #607: URL: https://github.com/apache/myfaces/pull/607 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[jira] [Comment Edited] (MYFACES-4623) DuplicateIdException when adding component with resource in JSTL tag handler
[ https://issues.apache.org/jira/browse/MYFACES-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17780915#comment-17780915 ] Thomas Andraschko edited comment on MYFACES-4623 at 10/30/23 9:23 AM: -- [~volosied] will you port to 4.0? was (Author: tandraschko): [~volosied] will you port to 4.0 and 4.1? > DuplicateIdException when adding component with resource in JSTL tag handler > > > Key: MYFACES-4623 > URL: https://issues.apache.org/jira/browse/MYFACES-4623 > Project: MyFaces Core > Issue Type: Bug > Components: General >Affects Versions: 4.0.1 >Reporter: Manuel K >Priority: Major > Fix For: 4.1.0, 5.0.0 > > > The following error occurs when a JSF component adding a resource is added in > a JSTL tag handler: > {code:java} > org.apache.myfaces.view.facelets.compiler.DuplicateIdException: Component > with duplicate id "j_id__rd_5" found. The first component is {Component-Path > : [Class: jakarta.faces.component.UIViewRoot,ViewId: /test.xhtml][Class: > org.apache.myfaces.component.ComponentResourceContainer,Id: > jakarta_faces_location_head][Class: jakarta.faces.component.UIOutput,Id: > j_id__rd_5]} > at > org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.createAndQueueException(CheckDuplicateIdFaceletUtils.java:139) > at > org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:95) > at > org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:109) > at > org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:103) > at > org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:81) > at > org.apache.myfaces.view.facelets.PartialStateManagementStrategy.saveView(PartialStateManagementStrategy.java:701) > at > jakarta.faces.application.StateManager.getViewState(StateManager.java:147) > [...]{code} > In our example, the resource that is apparently added to the component tree > twice is _inputmask/inputmask.js_ of the _p:calendar_ component when using it > in a {_}c:forEach{_}. > The error only happens if _STRICT_JSF_2_FACELETS_COMPATIBILITY_ is enabled, > but that is a requirement for our application. The error does not occur in > Mojarra. > I would appreciate you looking into this, as it is a pretty big problem for > us. And before you ask: We're using c:forEach because in our application > changing from c:forEach/c:if to ui:repeat/ui:fragment would result in an > increase of components in the component tree by a factor of about 5 on some > sites. > I could copy and paste more of the code here, but I think it's easier to just > look at the reproducer: > [https://github.com/mkomko/primefaces-test/tree/inputmask-duplicateid] > The error occurs when opening the dialog using the button and then clicking > "Cancel". > Thank you very much in advance! -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (TOBAGO-2253) Npm build is not working under windows
Bernd Bohmann created TOBAGO-2253: - Summary: Npm build is not working under windows Key: TOBAGO-2253 URL: https://issues.apache.org/jira/browse/TOBAGO-2253 Project: MyFaces Tobago Issue Type: Bug Components: JavaScript Affects Versions: 6.0.0-beta-1, 5.7.2 Environment: Windows Reporter: Bernd Bohmann Assignee: Bernd Bohmann -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (MYFACES-4623) DuplicateIdException when adding component with resource in JSTL tag handler
[ https://issues.apache.org/jira/browse/MYFACES-4623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17780915#comment-17780915 ] Thomas Andraschko commented on MYFACES-4623: [~volosied] will you port to 4.0 and 4.1? > DuplicateIdException when adding component with resource in JSTL tag handler > > > Key: MYFACES-4623 > URL: https://issues.apache.org/jira/browse/MYFACES-4623 > Project: MyFaces Core > Issue Type: Bug > Components: General >Affects Versions: 4.0.1 >Reporter: Manuel K >Priority: Major > Fix For: 5.0.0 > > > The following error occurs when a JSF component adding a resource is added in > a JSTL tag handler: > {code:java} > org.apache.myfaces.view.facelets.compiler.DuplicateIdException: Component > with duplicate id "j_id__rd_5" found. The first component is {Component-Path > : [Class: jakarta.faces.component.UIViewRoot,ViewId: /test.xhtml][Class: > org.apache.myfaces.component.ComponentResourceContainer,Id: > jakarta_faces_location_head][Class: jakarta.faces.component.UIOutput,Id: > j_id__rd_5]} > at > org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.createAndQueueException(CheckDuplicateIdFaceletUtils.java:139) > at > org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:95) > at > org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:109) > at > org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:103) > at > org.apache.myfaces.view.facelets.compiler.CheckDuplicateIdFaceletUtils.checkIds(CheckDuplicateIdFaceletUtils.java:81) > at > org.apache.myfaces.view.facelets.PartialStateManagementStrategy.saveView(PartialStateManagementStrategy.java:701) > at > jakarta.faces.application.StateManager.getViewState(StateManager.java:147) > [...]{code} > In our example, the resource that is apparently added to the component tree > twice is _inputmask/inputmask.js_ of the _p:calendar_ component when using it > in a {_}c:forEach{_}. > The error only happens if _STRICT_JSF_2_FACELETS_COMPATIBILITY_ is enabled, > but that is a requirement for our application. The error does not occur in > Mojarra. > I would appreciate you looking into this, as it is a pretty big problem for > us. And before you ask: We're using c:forEach because in our application > changing from c:forEach/c:if to ui:repeat/ui:fragment would result in an > increase of components in the component tree by a factor of about 5 on some > sites. > I could copy and paste more of the code here, but I think it's easier to just > look at the reproducer: > [https://github.com/mkomko/primefaces-test/tree/inputmask-duplicateid] > The error occurs when opening the dialog using the button and then clicking > "Cancel". > Thank you very much in advance! -- This message was sent by Atlassian Jira (v8.20.10#820010)
Re: [PR] Fix Myfaces 4623 & Add Test for 5.0.x [myfaces]
tandraschko merged PR #636: URL: https://github.com/apache/myfaces/pull/636 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org