[jira] Created: (MYFACES-1528) Regression: h:DataTable empty with CachedRowSet
Regression: h:DataTable empty with CachedRowSet - Key: MYFACES-1528 URL: https://issues.apache.org/jira/browse/MYFACES-1528 Project: MyFaces Core Issue Type: Bug Affects Versions: 1.1.4, 1.1.5-SNAPSHOT Environment: Linux, Tomcat-5.5.20, org.postgres.Driver jdbc3-8.1 Reporter: Steffen Neumann Hi, I have a working application (myfaces-1.1.3.jar) that fills a CachedRowSet and displays in a h:dataTable. When replacing with myfaces-1.1.4 or myfaces-1.1.5-SNAPSHOT (I tried with SNAPSHOT January1st, February 1st) the dataTable is empty, no rows are rendered and no exceptions are thrown. (Actually I have two applications in three different environments which reproducible fail to render the table) I am unsure whether this relates to TOMAHAWK-89, but that refers to t:dataTable Yours, Steffen Bean: public CachedRowSet getRsdates(){ ResultSet d = null; CachedRowSet crs = null; try { con = getDBConnection(); pstm = con.prepareStatement(select date, count(date) as count from userdates group by date order by date;); d = pstm.executeQuery(); crs = new CachedRowSetImpl(); crs.populate(d); con.close(); } catch (SQLException e) { // TODO Auto-generated catch block e.printStackTrace(); } return crs; } *.jsp: h:dataTable value=#{tisch.rsdates} var=tupel h:column h:outputText value=#{tupel.date} / /h:column /h:dataTable -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
MyFaces PMC += Wendy Smoak
Please welcome our new MyFaces PMC member Wendy Smoak! Wendy has been a well known MyFaces contributor and committer for some time and helped on many places (MyFaces infrastructure, releases, tests, ...). Therefore last week there was a vote to invite her to the MyFaces Project Management Committee (PMC) and fortunately she did accept. Wendy, Please subscribe to the [EMAIL PROTECTED] list and update your status on the site. Thanks. Kind Regards, Manfred
Re: MyFaces PMC += Wendy Smoak
Wendy, welcome aboard! -M On 2/2/07, Manfred Geiler [EMAIL PROTECTED] wrote: Please welcome our new MyFaces PMC member Wendy Smoak! Wendy has been a well known MyFaces contributor and committer for some time and helped on many places (MyFaces infrastructure, releases, tests, ...). Therefore last week there was a vote to invite her to the MyFaces Project Management Committee (PMC) and fortunately she did accept. Wendy, Please subscribe to the [EMAIL PROTECTED] list and update your status on the site. Thanks. Kind Regards, Manfred -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com
Re: MyFaces PMC += Wendy Smoak
Congrats Wendy, On 2/2/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: Wendy, welcome aboard! -M On 2/2/07, Manfred Geiler [EMAIL PROTECTED] wrote: Please welcome our new MyFaces PMC member Wendy Smoak! Wendy has been a well known MyFaces contributor and committer for some time and helped on many places (MyFaces infrastructure, releases, tests, ...). Therefore last week there was a vote to invite her to the MyFaces Project Management Committee (PMC) and fortunately she did accept. Wendy, Please subscribe to the [EMAIL PROTECTED] list and update your status on the site. Thanks. Kind Regards, Manfred -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com
Re: MyFaces PMC += Wendy Smoak
Hi Wendy! Welcome! Ciao, Mario
Re: MyFaces PMC += Wendy Smoak
Congratulations Wendy Manfred Geiler schrieb: Please welcome our new MyFaces PMC member Wendy Smoak! Wendy has been a well known MyFaces contributor and committer for some time and helped on many places (MyFaces infrastructure, releases, tests, ...). Therefore last week there was a vote to invite her to the MyFaces Project Management Committee (PMC) and fortunately she did accept. Wendy, Please subscribe to the [EMAIL PROTECTED] list and update your status on the site. Thanks. Kind Regards, Manfred
[jira] Commented: (TOMAHAWK-830) s:selectManyPicklist doesn't show preselected values
[ https://issues.apache.org/jira/browse/TOMAHAWK-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469765 ] Cagatay Civici commented on TOMAHAWK-830: - I couldn't reproduce it. Are you sure the selection list is a subset of the availability list. I mean if operationsList is {A,B,C,D} then selectedOperationsList must be stuff like {A,B}, {C} and etc. Preselection list is rendered fine for me and no problems after the submit. s:selectManyPicklist doesn't show preselected values -- Key: TOMAHAWK-830 URL: https://issues.apache.org/jira/browse/TOMAHAWK-830 Project: MyFaces Tomahawk Issue Type: Bug Components: New Component Affects Versions: 1.1.5-SNAPSHOT Environment: Os: Windows XP Browser: IE,Firefox Reporter: chintan parekh Assigned To: Cagatay Civici Priority: Blocker am facing one issues with selectManyPickList. I am putting my code here. JSP code: t:panelGroup t:panelGrid columns=3 t:outputLabel value=ABC/ t:outputLabel value=:/ %-- Sandbox component --% s:selectManyPicklist size=10 style=width:175px; valueChangeListener=#{accessDelegationController.selectionChangedForOperations } value=#{accessDelegationController.selectedOperationsList} immediate=true f:selectItems value=#{accessDelegationController.operationsList } / /s:selectManyPicklist /t:panelGrid /t:panelGroup Java Code: Creating 2 Lists. one for SelectedValues and other for default values. private List selectedOperationsList = new ArrayList(); private List operationsList = new ArrayList(); //here both lists have getter and setter method(which i have not mentioned here) //logic to add values in above lists. (Note: I am iterating the values which i am getting from backend. and adding to selectedOperationList list) List OperationList1 = (List)Service1.getCreatedOperationRulesList(); //Iterator for selected operation Iterator iter = OperationList1.iterator(); int i = 0; while( iter.hasNext()){ Operation operation = (Operation)OperationList1.get(i); selectedOperationsList.add(new SelectItem(Integer.toString(operation.getId()),operation.getName())); i++; iter.next(); } //same for default operation lists List operationList2=(List)Service2.getOperationsList(); Iterator iter1 = operationList2.iterator (); int j = 0; while(iter1.hasNext()){ Operation operation1 = (Operation)operationList2.get(j); operationsList.add (new SelectItem(Integer.toString(operation1.getId()),operation1.getName())); j++; iter1.next(); } While rendering only left-hand side value comes.( i mean operationsList). Right-hand side box(selecteOperationsList) contains no values. though both the lists are having values in it. I dont know what is the problem? can you please help me? Thanks Chintan -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[INFO] myfaces core release 1.1.5 procedure started
FYI I have just started preparing the core release 1.1.5. See http://wiki.apache.org/myfaces/CoreRelease115#diary for details on the proceedings. --Manfred
[jira] Commented: (TOMAHAWK-830) s:selectManyPicklist doesn't show preselected values
[ https://issues.apache.org/jira/browse/TOMAHAWK-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469773 ] David Wainwright commented on TOMAHAWK-830: --- Hallo Catagay, i've just been working on ths myself. I have found a solution to the problem, but am not sure if it is a bug or a feature. My problem was, that I was filling the (preselected) values in the picklist from a getter method. I didn't have and don't need a coresponding setter method in my backing bean (I handle the saving of selected values with event handlers). As soon as I have an empty setter method (just a declaration), everathing works perfectly. Cheers, David. s:selectManyPicklist doesn't show preselected values -- Key: TOMAHAWK-830 URL: https://issues.apache.org/jira/browse/TOMAHAWK-830 Project: MyFaces Tomahawk Issue Type: Bug Components: New Component Affects Versions: 1.1.5-SNAPSHOT Environment: Os: Windows XP Browser: IE,Firefox Reporter: chintan parekh Assigned To: Cagatay Civici Priority: Blocker am facing one issues with selectManyPickList. I am putting my code here. JSP code: t:panelGroup t:panelGrid columns=3 t:outputLabel value=ABC/ t:outputLabel value=:/ %-- Sandbox component --% s:selectManyPicklist size=10 style=width:175px; valueChangeListener=#{accessDelegationController.selectionChangedForOperations } value=#{accessDelegationController.selectedOperationsList} immediate=true f:selectItems value=#{accessDelegationController.operationsList } / /s:selectManyPicklist /t:panelGrid /t:panelGroup Java Code: Creating 2 Lists. one for SelectedValues and other for default values. private List selectedOperationsList = new ArrayList(); private List operationsList = new ArrayList(); //here both lists have getter and setter method(which i have not mentioned here) //logic to add values in above lists. (Note: I am iterating the values which i am getting from backend. and adding to selectedOperationList list) List OperationList1 = (List)Service1.getCreatedOperationRulesList(); //Iterator for selected operation Iterator iter = OperationList1.iterator(); int i = 0; while( iter.hasNext()){ Operation operation = (Operation)OperationList1.get(i); selectedOperationsList.add(new SelectItem(Integer.toString(operation.getId()),operation.getName())); i++; iter.next(); } //same for default operation lists List operationList2=(List)Service2.getOperationsList(); Iterator iter1 = operationList2.iterator (); int j = 0; while(iter1.hasNext()){ Operation operation1 = (Operation)operationList2.get(j); operationsList.add (new SelectItem(Integer.toString(operation1.getId()),operation1.getName())); j++; iter1.next(); } While rendering only left-hand side value comes.( i mean operationsList). Right-hand side box(selecteOperationsList) contains no values. though both the lists are having values in it. I dont know what is the problem? can you please help me? Thanks Chintan -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [INFO] myfaces core release 1.1.5 procedure started
On 2/2/07, Manfred Geiler [EMAIL PROTECTED] wrote: FYI I have just started preparing the core release 1.1.5. See http://wiki.apache.org/myfaces/CoreRelease115#diary for details on the proceedings. --Manfred I think you've just discovered that some things in the maven project need to be released first. :) The same procedure should work w/ release:prepare and release:perform. The files should land in people.apache.org/builds/myfaces/m2-staging-repository when you perform the release, so that we can vote on them first. After you release the master pom, you'll just need to add that repo to your settings.xml so your Maven client can find the file when you build with a clean local repository. For individual things under myfaces/maven, you can add -DtagBase so Maven SCM knows where to put the tag. Unfortunately I'll be unavailable for the rest of the day, but I'll be around this evening and tomorrow afternoon (GMT -7) if you need any help. Thanks! -- Wendy
Re: [INFO] myfaces core release 1.1.5 procedure started
:) Thank You Paul Spencer Manfred Geiler wrote: FYI I have just started preparing the core release 1.1.5. See http://wiki.apache.org/myfaces/CoreRelease115#diary for details on the proceedings. --Manfred
Re: MyFaces PMC += Wendy Smoak
From: Manfred Geiler [EMAIL PROTECTED] Please welcome our new MyFaces PMC member Wendy Smoak! Congratulations Wendy! Wendy has been a well known MyFaces contributor and committer for some time and helped on many places (MyFaces infrastructure, releases, tests, ...). Therefore last week there was a vote to invite her to the MyFaces Project Management Committee (PMC) and fortunately she did accept. Wendy, Please subscribe to the [EMAIL PROTECTED] list and update your status on the site. Thanks. Kind Regards, Manfred
SV: MyFaces PMC += Wendy Smoak
Congratulations Wendy. Keep up the good work. Hermod -Opprinnelig melding- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Manfred Geiler Sendt: 2. februar 2007 12:40 Til: MyFaces Development Emne: MyFaces PMC += Wendy Smoak Please welcome our new MyFaces PMC member Wendy Smoak! Wendy has been a well known MyFaces contributor and committer for some time and helped on many places (MyFaces infrastructure, releases, tests, ...). Therefore last week there was a vote to invite her to the MyFaces Project Management Committee (PMC) and fortunately she did accept. Wendy, Please subscribe to the [EMAIL PROTECTED] list and update your status on the site. Thanks. Kind Regards, Manfred
[VOTE] myfaces maven-project artifact 1.0.5
Please vote for the release of MyFaces artifact maven-project version 1.0.5! You can find the release candidate here: http://svn.apache.org/repos/asf/myfaces/maven/branches/1_0_5 Revision 502632 Please note: The released maven-project artifact is the basis for releasing myfaces-shared 2.0.5 and myfaces-core 1.1.5. --Manfred
Re: [VOTE] myfaces maven-project artifact 1.0.5
Here is my +1 --Manfred On 2/2/07, Manfred Geiler [EMAIL PROTECTED] wrote: Please vote for the release of MyFaces artifact maven-project version 1.0.5! You can find the release candidate here: http://svn.apache.org/repos/asf/myfaces/maven/branches/1_0_5 Revision 502632 Please note: The released maven-project artifact is the basis for releasing myfaces-shared 2.0.5 and myfaces-core 1.1.5. --Manfred
Re: [VOTE] myfaces maven-project artifact 1.0.5
+1 Dennis Byrne On 2/2/07, Manfred Geiler [EMAIL PROTECTED] wrote: Here is my +1 --Manfred On 2/2/07, Manfred Geiler [EMAIL PROTECTED] wrote: Please vote for the release of MyFaces artifact maven-project version 1.0.5! You can find the release candidate here: http://svn.apache.org/repos/asf/myfaces/maven/branches/1_0_5 Revision 502632 Please note: The released maven-project artifact is the basis for releasing myfaces-shared 2.0.5 and myfaces-core 1.1.5. --Manfred -- Dennis Byrne
Re: [VOTE] myfaces maven-project artifact 1.0.5
Manfred Geiler wrote: Please vote for the release of MyFaces artifact maven-project version 1.0.5! You can find the release candidate here: http://svn.apache.org/repos/asf/myfaces/maven/branches/1_0_5 Revision 502632 Please note: The released maven-project artifact is the basis for releasing myfaces-shared 2.0.5 and myfaces-core 1.1.5. --Manfred Hmm in the past several releases, there was one vote thread for the product and its dependencies, i.e. myfaces-core, myfaces-shared, + maven-project all voted as one thread. New policy? I'm just a user, but if I had a vote it would be +1 for all of the above, as I have been testing them with no problems. :)
Re: [VOTE] myfaces maven-project artifact 1.0.5
+1 let`s get the release out! cheers, Gerald On 2/2/07, Jeff Bischoff [EMAIL PROTECTED] wrote: Manfred Geiler wrote: Please vote for the release of MyFaces artifact maven-project version 1.0.5! You can find the release candidate here: http://svn.apache.org/repos/asf/myfaces/maven/branches/1_0_5 Revision 502632 Please note: The released maven-project artifact is the basis for releasing myfaces-shared 2.0.5 and myfaces-core 1.1.5. --Manfred Hmm in the past several releases, there was one vote thread for the product and its dependencies, i.e. myfaces-core, myfaces-shared, + maven-project all voted as one thread. New policy? I'm just a user, but if I had a vote it would be +1 for all of the above, as I have been testing them with no problems. :) -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces
Re: [VOTE] myfaces maven-project artifact 1.0.5
+1 Cagatay On 2/2/07, Gerald Müllan [EMAIL PROTECTED] wrote: +1 let`s get the release out! cheers, Gerald On 2/2/07, Jeff Bischoff [EMAIL PROTECTED] wrote: Manfred Geiler wrote: Please vote for the release of MyFaces artifact maven-project version 1.0.5! You can find the release candidate here: http://svn.apache.org/repos/asf/myfaces/maven/branches/1_0_5 Revision 502632 Please note: The released maven-project artifact is the basis for releasing myfaces-shared 2.0.5 and myfaces-core 1.1.5. --Manfred Hmm in the past several releases, there was one vote thread for the product and its dependencies, i.e. myfaces-core, myfaces-shared, + maven-project all voted as one thread. New policy? I'm just a user, but if I had a vote it would be +1 for all of the above, as I have been testing them with no problems. :) -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces
[jira] Commented: (TOMAHAWK-843) myfaces not releasing memory gracefully?
[ https://issues.apache.org/jira/browse/TOMAHAWK-843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469825 ] Rajan Chandi commented on TOMAHAWK-843: --- Hi, We also are facing the high memory consumption with the Myfaces application. We are using tables and and complex pages in out web app. Thanks and Regards, Rajan Chandi myfaces not releasing memory gracefully? Key: TOMAHAWK-843 URL: https://issues.apache.org/jira/browse/TOMAHAWK-843 Project: MyFaces Tomahawk Issue Type: Bug Affects Versions: 1.1.3 Environment: tomcat 5.5.12 Reporter: Dez Hi, I've been using Myfaces implementation of JSF for couple of months and just noticed that memory usage is pretty high - many times I got out of memory error. It works fine for simple pages, but when the page is large and complex, it doesn't seem to release the memory used by component states. Here is the scenario: I'm using t:datatable for rendering employees info. Each row corresponds to a employee object, the row has 10 columns. It works fine in terms of memory footprint and CPU, when the dataset the table renders is small, but when the size of the datasets is large(talking about 500 or more), I get Out of memory error even though the Managed Bean is request-scoped. No pagination being employed(that's the last resort). So when the number of user increases, this leads to a serious issues of server crash, hang etc. On profiling using yourtoolkit, I found that faces context never releases the memory used by UI Components and the behaviour is erratic. The GC kicks in after certain stage which is not very useful. Even for a table of small data rows(20-30), it doesn't seem to release the memory, in fact it accumulates the memory. So even the pagination doesn't seem to solve the out- of- memory issue as the web site will be used by large number of users. FYI, I'm using the client STATE_SAVING_METHOD. context-param param-namejavax.faces.STATE_SAVING_METHOD/param-name param-valueclient/param-value /context-param Has anyone faced similar issues? Is this a bug or known issues of myfaces? No one seem to have resolved this issues, I did see similar issues being posted in different forums. Would appreciate your help in this regard. thanks Dezmax -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [VOTE] myfaces maven-project artifact 1.0.5
+1 On 02/02/07, Cagatay Civici [EMAIL PROTECTED] wrote: +1 Cagatay On 2/2/07, Gerald Müllan [EMAIL PROTECTED] wrote: +1 let`s get the release out! cheers, Gerald On 2/2/07, Jeff Bischoff [EMAIL PROTECTED] wrote: Manfred Geiler wrote: Please vote for the release of MyFaces artifact maven-project version 1.0.5! You can find the release candidate here: http://svn.apache.org/repos/asf/myfaces/maven/branches/1_0_5 Revision 502632 Please note: The released maven-project artifact is the basis for releasing myfaces-shared 2.0.5 and myfaces-core 1.1.5. --Manfred Hmm in the past several releases, there was one vote thread for the product and its dependencies, i.e. myfaces-core, myfaces-shared, + maven-project all voted as one thread. New policy? I'm just a user, but if I had a vote it would be +1 for all of the above, as I have been testing them with no problems. :) -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces
Re: MyFaces PMC += Wendy Smoak
Welcome onboard Wendy! Thanks for living :) Bruno On 02/02/07, Hermod Opstvedt [EMAIL PROTECTED] wrote: Congratulations Wendy. Keep up the good work. Hermod -Opprinnelig melding- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Manfred Geiler Sendt: 2. februar 2007 12:40 Til: MyFaces Development Emne: MyFaces PMC += Wendy Smoak Please welcome our new MyFaces PMC member Wendy Smoak! Wendy has been a well known MyFaces contributor and committer for some time and helped on many places (MyFaces infrastructure, releases, tests, ...). Therefore last week there was a vote to invite her to the MyFaces Project Management Committee (PMC) and fortunately she did accept. Wendy, Please subscribe to the [EMAIL PROTECTED] list and update your status on the site. Thanks. Kind Regards, Manfred
Re: [VOTE] myfaces maven-project artifact 1.0.5
+1 Manfred Geiler schrieb: Please vote for the release of MyFaces artifact maven-project version 1.0.5! You can find the release candidate here: http://svn.apache.org/repos/asf/myfaces/maven/branches/1_0_5 Revision 502632 Please note: The released maven-project artifact is the basis for releasing myfaces-shared 2.0.5 and myfaces-core 1.1.5. --Manfred
[jira] Created: (MYFACES-1529) StreamingAddResource fails if org.apache.myfaces.RESOURCE_VIRTUAL_PATH is set to something else other than /faces/myFacesExtensionResource
StreamingAddResource fails if org.apache.myfaces.RESOURCE_VIRTUAL_PATH is set to something else other than /faces/myFacesExtensionResource -- Key: MYFACES-1529 URL: https://issues.apache.org/jira/browse/MYFACES-1529 Project: MyFaces Core Issue Type: Bug Affects Versions: 1.1.5-SNAPSHOT Environment: Windows XP, Weblogic 9.0 Reporter: Costa Basil I tried to use a different resource path than /faces/myFacesExtensionResource. Example: context-param descriptionChange the url-pattern from the ExtensionsFilter Default is /faces/myFacesExtensionResource Note: The filter-mapping for ExtensionsFilter, the url-pattern is this value + /*, else there comes a exception/description param-nameorg.apache.myfaces.RESOURCE_VIRTUAL_PATH/param-name param-value/p/resource/param-value /context-param filter-mapping filter-nameMyFacesExtensionsFilter/filter-name url-pattern/p/resource/*/url-pattern /filter-mapping then I get: java.lang.StringIndexOutOfBoundsException: String index out of range: -32 at java.lang.String.substring(II)Ljava.lang.String;(Unknown Source) at org.apache.myfaces.component.html.util.StreamingAddResource.serveResource(StreamingAddResource.java:768) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:128) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) The problem, I think, is this code in StreamingAddResource.java at line 764: String classNameStartsAfter = RESOURCE_VIRTUAL_PATH + '/'; It should be replaced with String classNameStartsAfter = getResourceVirtualPath(context) + '/'; -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [VOTE] myfaces maven-project artifact 1.0.5
1.1.5 has been through TCK, right? Dennis Byrne On 2/2/07, Manfred Geiler [EMAIL PROTECTED] wrote: Please vote for the release of MyFaces artifact maven-project version 1.0.5! You can find the release candidate here: http://svn.apache.org/repos/asf/myfaces/maven/branches/1_0_5 Revision 502632 Please note: The released maven-project artifact is the basis for releasing myfaces-shared 2.0.5 and myfaces-core 1.1.5. --Manfred -- Dennis Byrne