Re: Tomcat5.5 web application to Tomcat6.0

2010-01-28 Thread Damar Thapa
. Regards, Jakob 2010/1/28 Damar Thapa thapa.da...@gmail.com Hi, It may be off-topic here, but I appreciate if somebody in the list could give me some pointers! I have an old JSF application running under Tomcat 5.5., and this has to be moved to a server where Tomcat 6.0.24

Tomcat5.5 web application to Tomcat6.0

2010-01-28 Thread Damar Thapa
Hi, It may be off-topic here, but I appreciate if somebody in the list could give me some pointers! I have an old JSF application running under Tomcat 5.5., and this has to be moved to a server where Tomcat 6.0.24 is running. Are there any documentation that I need to go about in converting the

t:inputDate value problem in tomahawk 1.1.9

2010-01-02 Thread Damar Thapa
Hi, I just tested the following code: t:inputDate id=bDate type=date value=#{user.bDate} popupCalendar=true/ I am using Myfaces-1.2.8, facelets-1.1.15, and tomahawk-1.1.9. Everything looks fine, but the value of the input date comes out to be a day earlier. For example, if I choose 15 January

t:inputDate value problem in tomahawk 1.1.9

2010-01-02 Thread Damar Thapa
Hi, Happy New Year 2010 to all. I just tested the following code: t:inputDate id=bDate type=date value=#{user.bDate} popupCalendar=true/ I am using Myfaces-1.2.8, facelets-1.1.15, and tomahawk-1.1.9. Everything looks fine, but the value of the input date comes out to be a day earlier. For

t:inputDate value problem in tomahawk 1.1.9

2010-01-02 Thread Damar Thapa
Hi, Happy New Year 2010 to all. I just tested the following code: t:inputDate id=bDate type=date value=#{user.bDate} popupCalendar=true/ I am using Myfaces-1.2.8, facelets-1.1.15, and tomahawk-1.1.9. Everything looks fine, but the value of the input date comes out to be a day earlier. For

Re: t:inputDate value problem in tomahawk 1.1.9

2010-01-02 Thread Damar Thapa
On Sat, Jan 2, 2010 at 4:46 PM, Damar Thapa thapa.da...@gmail.com wrote: Hi, Happy New Year 2010 to all. I just tested the following code: t:inputDate id=bDate type=date value=#{user.bDate} popupCalendar=true/ I am using Myfaces-1.2.8, facelets-1.1.15, and tomahawk-1.1.9. Everything

t:selectOneMenu f:selectItems problem

2010-01-02 Thread Damar Thapa
Hi, I am trying to create a selctOneMenum, and I have the following snapshot of xhmtl file: t:selectOneMenu value=#{libraryUser.group} f:selectItems value=#{choice.groups}/ /t:selectOneMenu Choice.java (choice.groups) is as follows: public class Choice { private ListSelectItem

Re: t:inputDate value problem in tomahawk 1.1.9

2010-01-02 Thread Damar Thapa
- From: Damar Thapa [mailto:thapa.da...@gmail.com] Sent: Samstag, 2. Januar 2010 09:49 To: MyFaces Discussion Subject: Re: t:inputDate value problem in tomahawk 1.1.9 On Sat, Jan 2, 2010 at 4:46 PM, Damar Thapa thapa.da...@gmail.com wrote: Hi, Happy New Year 2010 to all. I just

Re: t:selectOneMenu f:selectItems problem

2010-01-02 Thread Damar Thapa
= groups; } } Regards, Jakob 2010/1/2 Damar Thapa thapa.da...@gmail.com Hi, I am trying to create a selctOneMenum, and I have the following snapshot of xhmtl file: t:selectOneMenu value=#{libraryUser.group} f:selectItems value=#{choice.groups}/ /t:selectOneMenu

Re: c:if question

2008-01-05 Thread Damar Thapa
] wrote: On Sat, 2008-01-05 at 00:44 +0800, Damar Thapa wrote: Hi, I have the following snapshot: h:selectOneRadio id=myRadio value=#{email.htmlOrText} f:selectItem itemValue=text itemLabel=Text/ f:selectItem itemValue=html itemLabel=Html

c:if question

2008-01-04 Thread Damar Thapa
Hi, I have the following snapshot: h:selectOneRadio id=myRadio value=#{email.htmlOrText} f:selectItem itemValue=text itemLabel=Text/ f:selectItem itemValue=html itemLabel=Html/ a4j:support event=onchange reRender=body /

JSF sun 1.2 RI, facelets 1.1.13, RichFaces 3.1.3 and apache tomahawk 1.1.6

2007-12-14 Thread Damar Thapa
Hi, I have a project running JSF sun 1.2 RI + facelets 1.1.13 + RichFaces 3.1.3, where I would like to add apache tomahawk 1.1.6. feature. I followed the instruction at http://wiki.apache.org/myfaces/How_to_add_MyFaces_support_to_a_Sun_JSF_RI_application (1) I added the following in web.xml:

Re: JSF sun 1.2 RI, facelets 1.1.13, RichFaces 3.1.3 and apache tomahawk 1.1.6

2007-12-14 Thread Damar Thapa
not load tomahawk tag configuration because it does not have one. You must create it, or use Tomahawk-Facelets, the link can be reach from the link above. Damar Thapa escreveu: Hi, I have a project running JSF sun 1.2 RI + facelets 1.1.13 + RichFaces 3.1.3, where I would like to add

Re: how to create a SelectOneMenu with dynamic list

2006-11-29 Thread Damar Thapa
. Damar Thapa wrote: Hi, This link found to be dead now, any idea? http://example.irian.at/example-sandbox-20061118/ajaxChildComboBox.jsf Damar -- With regards, Damar Thapa

Re: how to create a SelectOneMenu with dynamic list

2006-11-28 Thread Damar Thapa
, Damar Thapa [EMAIL PROTECTED] wrote: Hi, Somebody on the list may have implemented this. I have two SelectOneMenu, A and B, with the same list. But, when Menu A is selected, the list of B has to be recreated with (full list minus the item selected in Menu A). My valueChangeEvent

how to create a SelectOneMenu with dynamic list

2006-11-17 Thread Damar Thapa
(item); this.setListB(listA); In my case, valueChangeEvent is called, but the list remains the same. What do I have to do? Any pointers would be highly appreciated. With regards, Damar Thapa

Re: Selectable DataTable or similar to that

2006-11-14 Thread Damar Thapa
) { selectableApplicant = (SelectableApplicant) tmpRowData; selectableApplicants.add(selectableApplicant); } } -Original Message- From: Damar Thapa [mailto:[EMAIL PROTECTED] Sent: Friday, November 10, 2006 11:30 AM To: MyFaces Discussion Subject: Re: Selectable DataTable

Re: Selectable DataTable or similar to that

2006-11-10 Thread Damar Thapa
getUIDataParent(ActionEvent e) { UIComponent component = e.getComponent(); while (component != null !(component instanceof UIData)) { component = component.getParent(); } return (UIData) component; } cheers, Gerald On 11/10/06, Damar Thapa [EMAIL

Re: Selectable DataTable or similar to that

2006-11-09 Thread Damar Thapa
Hi, Sorry to bother you all again! What is the command in action event method to get the dataTable's data so as to manipulate it? I will start googling for this tonight. Thanks, Damar On 11/9/06, Damar Thapa [EMAIL PROTECTED] wrote: Thanks, Simon. I will try this. Damar On 11/9/06

Re: Selectable DataTable or similar to that

2006-11-08 Thread Damar Thapa
of selectBooleanCheckbox ie applicationProcess.selected is not the property of Applicant class, is it going to be the problem Any pointers would be highly appreciated, and sorry for lengthy and too novice questions. With regards, Damar On 11/8/06, Damar Thapa [EMAIL PROTECTED] wrote: Hi, I found a typo

Re: Selectable DataTable or similar to that

2006-11-08 Thread Damar Thapa
. Obviously, you can now iterate over the rows in the data model, checking the boolean flag and if set processing the associated applicant object. Regards, Simon Damar Thapa wrote: Hi, Thanks for your help – truly appreciated. Now, I am in the last stage of this problem, ie I have to save

Re: Selectable DataTable or similar to that

2006-11-07 Thread Damar Thapa
Thanks for your message. But, there is no validation error. With regards, Damar On 11/7/06, Jeff Bischoff [EMAIL PROTECTED] wrote: Have you checked to make sure there are no validation errors? Damar Thapa wrote: Hi, I have managed to workout with dataTable now; thank you. But, I have

Re: Selectable DataTable or similar to that

2006-11-07 Thread Damar Thapa
] wrote: Hi, you mean the new list is not re-displayed? Is the valuechange-method called? You have given a wrong binding (left out the #{ } ), in this case maybe thats the problem. regards, Gerald On 11/7/06, Damar Thapa [EMAIL PROTECTED] wrote: Thanks for your message

Re: Selectable DataTable or similar to that

2006-11-07 Thread Damar Thapa
Hi, It is me again. Just to confirm that valuechange-method is not called -- console shows no actions. How can I ensure that it is called? With regards, Damar On 11/8/06, Damar Thapa [EMAIL PROTECTED] wrote: Hi, since no values are displayed at all, possibly valuechange-method

Re: Selectable DataTable or similar to that

2006-11-07 Thread Damar Thapa
Hi, I found a typo instead of onchange I had typed onChange, and it was causing the problem of not executing the valueChange method. Sorry for this and thanks for your help. With regards, Damar On 11/8/06, Damar Thapa [EMAIL PROTECTED] wrote: Hi, It is me again. Just to confirm

Selectable DataTable or similar to that

2006-11-06 Thread Damar Thapa
Hi, I have the following snapshot of my page: h:selectOneMenu value=#{applicationProcess.courseTitle} f:selectItems value=#{applicationProcess.courses}/ /h:selectOneMenu t:dataTable var=applicants value=#{applicationProcess.applications} border=1 preserveDataModel=true t:column h:outputText

Re: Selectable DataTable or similar to that

2006-11-06 Thread Damar Thapa
://wiki.apache.org/myfaces/ManagingCheckboxes Regards, Jeff Bischoff Kenneth L Kurz Associates, Inc. Damar Thapa wrote: Hi, I have the following snapshot of my page: h:selectOneMenu value=#{applicationProcess.courseTitle} f:selectItems value=#{applicationProcess.courses

Help in writing Validator

2006-11-02 Thread Damar Thapa
Hi, I have one h:inputText field that I would like to validate against the availability of that entry in the database -- accept only if the input text is in the database. Can somebody in list list give me some pointers on this? Thanks, With regards, Damar Thapa

Re: Help in writing Validator

2006-11-02 Thread Damar Thapa
Cagatay On 11/2/06, Damar Thapa [EMAIL PROTECTED] wrote: Hi, I have one h:inputText field that I would like to validate against the availability of that entry in the database -- accept only if the input text is in the database. Can somebody in list list give me some pointers on this? Thanks

General JSF question -- Class object!

2006-10-31 Thread Damar Thapa
Hi, I have following classes: Class Course( String title, String startDate. ….. …. } and Class Apply{ String studnetName; Course firstChoice; . ……. ….. } In the apply form (page), I havae a field to accept course title from the applicant ie h:inputText

Re: General JSF question -- Class object!

2006-10-31 Thread Damar Thapa
://www-128.ibm.com/developerworks/java/library/j-jsf3/ Damar Thapa a écrit : Hi, I have following classes: Class Course( String title, String startDate. ….. …. } and Class Apply{ String studnetName; Course firstChoice; . ……. ….. } In the apply form (page

Re: General JSF question -- Class object!

2006-10-31 Thread Damar Thapa
in value whatever you want, JSF will take care that when an item is selected for selectbox, the backing bean will be update with something like setFirstChoice(selectedItem.getValue()). Btw, sorry, this is not h:selectOne but h:selectOneMenu :D Damar Thapa a écrit : Hi David, Thanks for your prompt

Re: General JSF question -- Class object!

2006-10-31 Thread Damar Thapa
/06, Rene Guenther [EMAIL PROTECTED] wrote: Is firstChoice != null? Regards Rene On Tue, 31 Oct 2006 20:32:40 +0800 Damar Thapa [EMAIL PROTECTED] wrote: Hi, I have following classes: Class Course( String title, String startDate. ….. …. } and Class Apply