[ANNOUNCE] release of myfaces orchestra 1.4

2009-12-18 Thread Leonardo Uribe
The Apache MyFaces team is pleased to announce the release of Apache MyFaces Orchestra Core 1.4 This release add support for portlets and new modules for compile orchestra with jsf 1.2 and 2.0 implementations. Also, orchestra core15 was merged in orchestra core module, because JDK 1.4 has reached

how to restrict inputDate to be the 1st date of each month within a range of date

2009-12-18 Thread lwu1
Hi,  with the following code, I don't think it suits my need.  Please advise if there is way to achieve only allowing 1st day of each month within a certain range, say within Oct 15, 2008 - Oct 30, 2010 to be selectable.  If this is not possible, backend validation is the only choice.     

Re: Trinidad TreeTable

2009-12-18 Thread Jakob Korherr
Hi Majid, Great! You're welcome! Please always write to the mailing list, if you have any questions related to myfaces. However, I am watching the mailing list, so I will answer your questions, if I am able to. Regards, Jakob 2009/12/18 omaji7 > > Hi, > > Thanks Jakob, i got it. Now i think,

RE: conversion error in selectmanyCheckbox - IllegalArgumentException - Cannot convert java.util.ArrayList

2009-12-18 Thread Michael Heinen
Thanks Jakob. This is a clear statement and I will change my impl instead of debugging frameworks. The converter was just a desperate approach. But this is another compability issue which I can’t really understand. It is working with JSF 1.1, is not working with JSF 1.2 and will be working again

Re: Trinidad TreeTable

2009-12-18 Thread omaji7
Hi, Thanks Jakob, i got it. Now i think, i will be able to initially select my required nodes in the tree. Can i get help anytime i need from u? Thanks :-) Majid Jakob Korherr wrote: > > Hi, > > Try to create the TreeModel only once by multiple calls to getTree(), for > example > > private

Re: Trinidad TreeTable

2009-12-18 Thread Jakob Korherr
Hi, Try to create the TreeModel only once by multiple calls to getTree(), for example private TreeModel tree; private TreeModel getTree() { if (tree == null) { // create tree } return tree; } I did that in my example case. Regards, Jakob 2009/12/18 omaji7 > > Hi > Jakob,

Re: Trinidad TreeTable

2009-12-18 Thread omaji7
Hi Jakob, i have done it as u said, but the problem is, it get null at this condition in the getSelectedRowKeys() method. if (getTree().getRowKey() != null) { System.out.println("called 4"); List l = (List) getTree().getRowKey(); if (l.size() == 2 &

Re: conversion error in selectmanyCheckbox - IllegalArgumentException - Cannot convert java.util.ArrayList

2009-12-18 Thread Jakob Korherr
Hi Michael, The problem is that the creates a new ArrayList (or array depending on the type of the property) every time you submit it. You cannot tell it to use another implementation of List in JSF 1.2. However, it will be possible in JSF 2.0 (actually I implemented this functionality on MyFaces

Re: Trinidad TreeTable

2009-12-18 Thread Jakob Korherr
Hi, You need to adapt this if (l.size() == 2 && l.get(0) == 0 && l.get(1) == 1) { selectedRowKeys.add(); } to fit your selection. Regards, Jakob 2009/12/18 omaji7 > > Thanks Jakob for your suggested solution, i have tried your suggestion, but > still unable to initial selected nodes in t

conversion error in selectmanyCheckbox - IllegalArgumentException - Cannot convert java.util.ArrayList

2009-12-18 Thread Michael Heinen
Hi, I have another migration problem and cannot solve it so far. One of my selectManyCheckboxes is not working anymore. A Conversion error is thrown after form submission: SCHWERWIEGEND: Cannot convert [soccer, tennis] of type class java.util.ArrayList to class com.recommind.litigation.client

Re: Trinidad TreeTable

2009-12-18 Thread omaji7
Thanks Jakob for your suggested solution, i have tried your suggestion, but still unable to initial selected nodes in the treetable. My code look like this now : public TreeModel getTree() throws Exception { HttpSession session = (HttpSession) FacesContext.getCurrentInstance().getExterna

Re: Trinidad TreeTable

2009-12-18 Thread Jakob Korherr
Hi, I wasn't familiar with tr:tree, but I tried a few scenarios and I came up with this solution: public RowKeySetTreeImpl getRowKeySet() { if (rowKeySet == null) { rowKeySet = new RowKeySetTreeImpl(); rowKeySet.setCollectionModel(getTreeModel());

Re: [Trinidad] request backed TreeTable

2009-12-18 Thread omaji7
Hi, My project is build in JSF, Hibernate and Faclets. i m using trinidad treetable tag to build a tree with multiselection nodes. Now i m facing a problem to initially selection of the nodes when page is loaded at the first time. i have tried alot to accomplish this task, but still unable to ret

Re: [Trinidad] treeTable and disclosedRowKeys

2009-12-18 Thread omaji7
Hi, My project is build in JSF, Hibernate and Faclets. i m using trinidad treetable tag to build a tree with multiselection nodes. Now i m facing a problem to initially selection of the nodes when page is loaded at the first time. i have tried alot to accomplish this task, but still unable to ret

Re: TreeTable

2009-12-18 Thread omaji7
Hi, My project is build in JSF, Hibernate and Faclets. i m using trinidad treetable tag to build a tree with multiselection nodes. Now i m facing a problem to initially selection of the nodes when page is loaded at the first time. i have tried alot to accomplish this task, but still unable to ret

Re: Trinidad TreeTable

2009-12-18 Thread omaji7
Hi, My project is build in JSF, Hibernate and Faclets. i m using trinidad treetable tag to build a tree with multiselection nodes. Now i m facing a problem to initially selection of the nodes when page is loaded at the first time. i have tried alot to accomplish this task, but still unable to ret

Re: [Tobago] Script error - tx:date

2009-12-18 Thread Alf Felis
Hello Bernd, yes... the current nightly build works fine for IE6 :) But now I have another problem with the date picker. Sometimes I want to disable the datefield and the datepicker using javascript (depending on other js events). The datefield has an ID... so I can set the disabled attribute. B