Re: Initialize bean for auto-login

2005-02-21 Thread Michal Malecki
Hi, JSF-Spring would solve your problem (although I know that it's not a small tool and using it only for one case is pointless). Unfortunatelly it's now supporting only spring 1.1.2. Michal Malecki > Hi all, > > I am trying to initialize a backing bean property using the param > feature. Here is

Re: Initialize bean for auto-login

2005-02-21 Thread Heath Borders
I'm not sure that you can get something like this to go, but its definitely a case we should consider supporting. In the meantime, why not just provide a custom-setter for the user.name and user.password fields on your LoginController? On Mon, 21 Feb 2005 20:13:46 -0600, Aaron Bartell <[EMAIL P

myfaces + sitemesh, any known problems?

2005-02-21 Thread tony k
hi, i'm trying to use sitemesh to factor out the layout from the various pages in the myfaces example app, and i'm getting the stack listed below: are there any know problems with using sitemesh for this purpose within a myfaces app? are there any other preferred templating approaches to this p

RE: commandButton and onclick, does not submit properly

2005-02-21 Thread Doug Ly
Dude, Check to see if you put the commandButton tag inside the form tag. This is an issue that took me a week to find out! Doug -Original Message- From: Travis Reeder [mailto:[EMAIL PROTECTED] Sent: Mon 2/21/2005 6:31 PM To: MyFaces Discussion Subject: commandButton and onclick, does not

Initialize bean for auto-login

2005-02-21 Thread Aaron Bartell
Hi all, I am trying to initialize a backing bean property using the param feature. Here is my faces config entry: LoginCtl com.mowyourlawn.controller.LoginController session user.name java.lang.String #{param.profile}

Re: Duplicate Id Error Using Calendar Component

2005-02-21 Thread David Qain
Hi all, Additional information about the Faces Engine. My application uses Sun Faces RI. The myfaces example uses myfaces Engine. Is the Calendar component applicable for Sun Faces RI ? Thanks ! David --- David Qain <[EMAIL PROTECTED]> wrote: > Hi all, > > I got "Duplicate ID" error when

Duplicate Id Error Using Calendar Component

2005-02-21 Thread David Qain
Hi all, I got "Duplicate ID" error when using myfaces Calendar component in my application. java.lang.IllegalStateException: Duplicate component ID 'calendarForm2:_id5' found in view. The myfaces example runs correctly in my environment. Any help will be appreciated. Thanks ! David

commandButton and onclick, does not submit properly

2005-02-21 Thread Travis Reeder
If I use this: The form submits but the action never gets executed, just returns back to same page. If I use this: The action gets executed. Is there a reason for this or is this bug material? -- Travis Reeder Ecommstats Web Analytics www.ecommstats.com

Re: selectItem support for other types of value than String - REVISITED

2005-02-21 Thread Francesco Consumi
Scrive Travis Reeder <[EMAIL PROTECTED]>: What's the word on this? Looks like it worked in 1.0.7, but not in 1.0.8? Anyone know whether this has been fixed? In recent CVSs works. I'm using 1.0.8 in my projects. www.emozionifotografiche.it has been already migrated to 1.0.8 . -- Francesco C

selectItem support for other types of value than String - REVISITED

2005-02-21 Thread Travis Reeder
What's the word on this? Looks like it worked in 1.0.7, but not in 1.0.8? Anyone know whether this has been fixed? http://nagoya.apache.org/eyebrowse/SearchList?listId=&listName=myfaces-user%40incubator.apache.org&searchText=selectitem+integer&defaultField=subject&Search=Search -- Travis Reeder

Re: How to get the value of selected checkboxes from a datatable injavascript?

2005-02-21 Thread Sunil Tiwari
Hi Slawek, Thanx for ur suggestion... Its working though the number of elements include other things apart from the number of rows in the table. Thanx again Sunil - Original Message - From: "Slawek" <[EMAIL PROTECTED]> To: "MyFaces Discussion" Sent: Tuesday, February 22, 2005 1:26 AM Su

Re: How to get the value of selected checkboxes from a datatable in javascript?

2005-02-21 Thread Slawek
hi 1. you can iterate by all elements of your form 2. you can check property "checked" of _every_ element if element isnt checkbox it just havent property checked and if u try to get its value it will be created with defaullt value false so... isSomethingChecked=false; for (i=0; i if (isSomething

Re: Tree component

2005-02-21 Thread Sean Schofield
CVS has just been updated with the latest code. There is now javascript support so you do not need to post to the server for every node click. There are still a few more tweaks to be made but it is closed to finished now. One big issue still is that if you click a "leaf" which is a link which re

Hi list...

2005-02-21 Thread Alecsandru Chirosca
Today I'm facing a very strange problem I have an TabbedPane inside one page and I need either to place the tabs on sides or have multiple tabTitle tabs. Any of this possible? Please help BR, Alecs

How to get the value of selected checkboxes from a datatable in javascript?

2005-02-21 Thread Sunil Tiwari
Hi All,   I have a datatable and i have one checkbox on each row of the table. There is a delete button which deletes all the checked rows. I call a _javascript_ on delete button which prompts the user : "are you sure you want to delete?" Now the problem is that this message is displayed ev