Re: selectOneRadio validation error

2009-06-26 Thread Sam
I think you may need to use different methods in the backing bean to return the selectitems. Each question should have it's own instance of the selectItemList. You can use a factory to return the different instances of the same list. On Thu, Jun 25, 2009 at 4:14 PM, Scott Carter

Re: selectOneRadio validation error

2009-06-26 Thread Sam
(Integer.toString(qWeight - ((qWeight / 5) * 4)) , SD); this.questionCount++; return answers; } This method does declare a new array each time On Fri, Jun 26, 2009 at 10:33 AM, Sam sam72w...@gmail.com wrote: I think you may need to use different methods in the backing bean

Re: selectOneRadio validation error

2009-06-26 Thread Sam
if there is more than one question on a page. On Fri, Jun 26, 2009 at 11:01 AM, Sam sam72w...@gmail.com wrote: How about the setter? On Fri, Jun 26, 2009 at 9:52 AM, Scott Carter carterdevli...@gmail.comwrote: So here is the method that returns the selectItem list. Each time it creates a new array

Re: selectOneRadio validation error

2009-06-26 Thread Sam
Just for kicks, could you change your getter to return a ListSelectItem instead of SelectItem[]? On Fri, Jun 26, 2009 at 10:10 AM, Sam sam72w...@gmail.com wrote: Sorry, my mistake. What's the stacktrace on your validation error? On Fri, Jun 26, 2009 at 10:05 AM, Scott Carter carterdevli

action not being invoked. Facelets 1.1.14, MyFaces 1.2.6, Spring 2.5.x

2009-06-08 Thread Sam
. Is there a sample app I can look thru? I'm using Spring to manage the backing bean. Otherwise, everything else is pretty much by the book. I can provide config and code but I think I just need a reference app to see a working sample. Sam

RE: does anyone use Spell Checker for JSF?

2007-07-18 Thread Wong, Emmanuel (Sam)
Do IE browser has it? From: Shane Petroff [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 1:01 PM To: MyFaces Discussion Subject: Re: does anyone use Spell Checker for JSF? Wong, Emmanuel (Sam) wrote: Does anyone use any Spell checker

does anyone use Spell Checker for JSF?

2007-07-17 Thread Wong, Emmanuel (Sam)
Hi: Does anyone use any Spell checker for the JSF? I tried to do a search and nothing much about using JSF with the spell checker. Thanks. -- Sam Wong

[Tobago] spell checker for textarea input exmaples?

2007-07-16 Thread Wong, Emmanuel (Sam)
Hi: Does anyone tell me where I could get spell checker for implementing Tobago textarea input field? Thanks. -- Sam Wong

Re: JSCookMenu, actionListener and Facelets

2007-04-25 Thread Sam Wang
Try to update the Tomahawk to 1.1.5. luis.roche wrote: Hi all! I would like know if someone had problems with JSCookMenu, actionListener (t:navigationMenuItem) and Facelets. I'm porting an application from JSP/JSF to Facelets and ran into a problem with the menus' actionListeners

RE: [Tobago] How to make button disable when user inputing a text field by using tc:in?

2007-04-25 Thread Wong, Emmanuel \(Sam\)
Thanks Volker and Madan. It works great as you suggested. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Volker Weber Sent: Wednesday, April 25, 2007 3:12 AM To: MyFaces Discussion Subject: Re: [Tobago] How to make button disable when user inputing a

[Tobago] How to make button disable when user inputing a text field by using tc:in?

2007-04-24 Thread Wong, Emmanuel \(Sam\)
f:facet name=confirmation tc:out value=Are you sure to submit? / /f:facet /tc:button -- Sam Wong

RE: [tobago] Can we hide the session id on the URL?

2007-04-13 Thread Wong, Emmanuel \(Sam\)
or docs for your container are probably the best place to look. On 4/12/07, Wong, Emmanuel (Sam) [EMAIL PROTECTED] wrote: Hi: Do you have an examples file to configure the container/application to store session information in cookies instead of the url? is it on the web.xml file

[tobago] Can we hide the session id on the URL?

2007-04-12 Thread Wong, Emmanuel \(Sam\)
Hi: Could we hide the session id on the URL? It seems if I capture the URL with the session id, I was able to get into the application. Thanks. -- Sam Wong

RE: [tobago] Can we hide the session id on the URL?

2007-04-12 Thread Wong, Emmanuel \(Sam\)
container/application to store session information in cookies instead of the url. On 4/12/07, Wong, Emmanuel (Sam) [EMAIL PROTECTED] wrote: Hi: Could we hide the session id on the URL? It seems if I capture the URL with the session id, I was able to get into the application

[Tobago] How to turn off directory browsing

2007-04-10 Thread Wong, Emmanuel \(Sam\)
Hi: Could someone tell me how to turn off directory browsing by configuring the web.xml in Tobago or JSF? Thank you. -- Sam Wong

RE: [Tobago] How to turn off directory browsing

2007-04-10 Thread Wong, Emmanuel \(Sam\)
-servlet.html Regards Bernd Wong, Emmanuel (Sam) wrote: Hi: Could someone tell me how to turn off directory browsing by configuring the web.xml in Tobago or JSF? Thank you. -- Sam Wong

RE: How to disable a Tab

2007-03-28 Thread Wong, Emmanuel \(Sam\)
for showing or not showing the tab.. I used Tobago. Don't if this would help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 28, 2007 12:10 PM To: Wong, Emmanuel (Sam) Subject: RE: How to disable a Tab Hi Wong, You said you made it render. Please If you

RE: How to disable a Tab

2007-03-26 Thread Wong, Emmanuel \(Sam\)
I made it as render. -Original Message- From: Dravid [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 12:55 PM To: users@myfaces.apache.org Subject: Re: How to disable a Tab Thanks for your advice Simom Kitching, Sorry for posting the message repeatedly. bye! Simon Kitching-3

[Tobago] opening a new broswer and the original IE broswer lost session

2007-03-13 Thread Wong, Emmanuel \(Sam\)
String tmp = printFile; printFile = null; return tmp; } -- Sam Wong

RE: JSF - New window to confirm delete

2007-03-12 Thread Wong, Emmanuel \(Sam\)
tc:button label=Delete action=#{yourController.delete} f:facet name=confirmation tc:out value=Do you want to delete? / /f:facet /tc:button

Re: [Tobago] for loop or each

2007-03-12 Thread Wong, Emmanuel \(Sam\)
${storeFront.imageContentBox} is an List object , and content is an refernce for that. So u can iterate as such with JSTL forEach tag. Regards, Madan -- Sam Wong

RE: forEach or st similar

2007-03-09 Thread Wong, Emmanuel \(Sam\)
Have your tried the examples http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/foreach/src/ma in/webapp/foreach.jsp?revision=476274view=markup -Original Message- From: anoe [mailto:[EMAIL PROTECTED] Sent: Friday, March 09, 2007 1:17 PM To: users@myfaces.apache.org Subject:

[Tobago] for loop or each

2007-03-05 Thread Wong, Emmanuel \(Sam\)
Hi: Is there a for loop or for each examples in Tobago or my faces? I have for records of information to print, but if I use tc:sheet, I was not able to put a nice html page format for all the records. Thanks. -- Sam Wong

How to create and config a life scyle bean for automatic authenticate username and password when user open a browser on window XP?

2007-02-09 Thread Wong, Emmanuel \(Sam\)
Hi: Do anyone knows how to create and config JSF to have a life cycle bean that is initial active when JBOSS is started? For Example: When user login into their Win XP workstation, I would grab his creditenal username and password from his workstation, then I open a URL for my

[Tobago] pop up window to notify session expired?

2007-02-07 Thread Wong, Emmanuel \(Sam\)
Hi When a user attempts to exit the browser or when session expired, if the user has un-submitted a record, the system shall display an alert message warning the user. Is there a way to do this?

Re: tableSuggestAjax nightly gives error....

2007-02-07 Thread Sam Wang
Hi Gerald, Yes. it's ok now, I found the problem is all of the fields be showing can not be null. Many thanks! Sam Gerald Müllan wrote: Hi, ok, i had thought first that you mean the issue where the highlighting of a row doesn`t work when moving down with the cursor. Have a look

RE: How to set session-timeout?

2007-02-06 Thread Wong, Emmanuel \(Sam\)
Yes, I have the same issue. Could it be implement in JBOSS? From: Thomas Chang [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 3:10 AM To: MyFaces Discussion Subject: How to set session-timeout? Hi all, I want to set a so-called session

[Tobago] inut text field or password text filed as submittion

2007-01-22 Thread Wong, Emmanuel \(Sam\)
Hi: Could anyone know how to login into the application without clicking the login button? I have a login page and would like user input the password, then user hits the ENTER key will go into the application. I tried to use valueChangeListener, is this the only way? Thanks.

[Tobago] tc:extarea for spelling check

2007-01-22 Thread Wong, Emmanuel \(Sam\)
Is Jazzy (http://sourceforge.net/projects/jazzy) is good to use in JSF or other recommendation?

RE: [Tobago] inut text field or password text filed as submittion

2007-01-22 Thread Wong, Emmanuel \(Sam\)
or password text filed as submittion Hello Sam, you can define a default Button per page. tc:button defaultCommand=true label=Login/ Regards Bernd Wong, Emmanuel (Sam) wrote: Hi: Could anyone know how to login into the application without clicking the login button

RE: [Tobago] inut text field or password text filed as submittion

2007-01-22 Thread Wong, Emmanuel \(Sam\)
, Emmanuel (Sam) wrote: Yes, I could add a button, but it would be better to take action when user hit the return key in the password text field. -Original Message- From: Bernd Bohmann [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 1:58 PM To: MyFaces Discussion Subject: Re

Re: How do you make t:inputFileUpload work?

2007-01-18 Thread Sam Wang
Madhav Bhargava-2 wrote: Hi All, I have been desperately trying to make t:inputFileUpload component work but I am facing a weird problem. JSP code: t:inputFileUpload id=fileupload value=#{loginController.upFile} accept=image/* storage=file maxlength=20/

RE: tableSuggestAjax nightly gives error....

2007-01-18 Thread Sam Wang
Hi, I also got this error in IE6 and Firefox2 with myfaces core 1.1.5-SNAPSHOT, tomahawk-1.1.5-SNAPSHOT and facelets 1.1.11. the effect is no appear suggest table when input words in the text, but when onblue mouse the IE show 'tableSuggest.inputField.value' is null or not an object in javascript

[tobago] f:selectItem with tc:selectOneChoice

2007-01-18 Thread Wong, Emmanuel \(Sam\)
Hi: Could anyone tell me how to display a specified drop down list value? Let say will would like to display 3:Medium instead of other drop down value. Please see below. Thanks. For example: On the JSP: tc:selectOneChoice value= #{

[tobago] f:selectItem with tc:selectOneChoice

2007-01-18 Thread Wong, Emmanuel \(Sam\)
Hi: Could anyone tell me how to display a specified drop down list value? Let say will would like to display 3:Medium instead of other drop down value. Please see below. Thanks. For example: On the JSP: tc:selectOneChoice value= #{

RE: [tobago] f:selectItem with tc:selectOneChoice

2007-01-18 Thread Wong, Emmanuel \(Sam\)
Subject: Re: [tobago] f:selectItem with tc:selectOneChoice You want '3' as inital value? just set it: Public class MyBean{ private int probability = 3; ... } reagards, Volker 2007/1/18, Wong, Emmanuel (Sam) [EMAIL PROTECTED]: Hi: Could anyone tell me how to display

[Tobago] tc:sheet able to highlight the current row when fist time loading a page without clicking the row

2007-01-16 Thread Wong, Emmanuel \(Sam\)
Hi: Does anyone know how to make the sheet highlight the first row when loading a page without selecting or clicking the sheet row? I know you could only highlight the row when you select that row. Thanks.

RE: [Tobago] Problem with selectOneChoice

2007-01-08 Thread Wong, Emmanuel \(Sam\)
Try to put the tc:button outside of the tc:selectOneChoice. This should work. -Original Message- From: yazid [mailto:[EMAIL PROTECTED] Sent: Monday, January 08, 2007 4:38 AM To: users@myfaces.apache.org Subject: Re: [Tobago] Problem with selectOneChoice Hi Volker,With immediate=false;

[Tobago} using actionListener to redisplay textbox input value

2007-01-03 Thread Wong, Emmanuel \(Sam\)
Hi: I have an application contains 3 tabs, I am trying to use the 2nd tab contains tc:sheet and able to redisplay what I have selected on the 2nd tab tc:sheet. I was not able to redisplay the value by calling actionListener. The reason that I am using the actionListener on the datasheet

RE: tobago tab control

2006-12-29 Thread Wong, Emmanuel \(Sam\)
Hi: When I am on the 2nd tab with link command and click the link, it will redisplay on the 1st tab. No matter you were working on the other tab, it will display the 1st tab. Do you know how to redisplay it back to the current tab that I am working on with the link command? Am I doing

RE: [Tobago] tc:selectOneChoice in sheet not firing valuechanged event

2006-12-29 Thread Wong, Emmanuel \(Sam\)
Hi: I would like to have a select dropdown box to display what I selected from the dropdown box value. Do you know what is wrong with my code not taking the valueChangeListener or what other alternative to display associate selected value from the dropdown list. My purpose is doing the

RE: Display tobago selectable tree

2006-12-20 Thread Wong, Emmanuel \(Sam\)
:52 AM To: MyFaces Discussion Subject: Re: Display tobago selectable tree Hi, just add all nodes which should displayed as selected to the selected set in the treeState: selectedTrees.getSelection().add(node); Regards, Volker 2006/12/8, Wong, Emmanuel (Sam) [EMAIL PROTECTED]: Hi

RE: Display tobago selectable tree

2006-12-20 Thread Wong, Emmanuel \(Sam\)
in the action method werd the result is stored. the way you do this is ok, but you will get the selection before rendering, not the one after submitting the page. 2006/12/20, Wong, Emmanuel (Sam) [EMAIL PROTECTED]: Now, it display the checkbox on the tree that was being selected, but when I

RE: Display tobago selectable tree

2006-12-20 Thread Wong, Emmanuel \(Sam\)
, Emmanuel (Sam) [EMAIL PROTECTED]: Now, it display the checkbox on the tree that was being selected, but when I unchecked one of the leafs or event try to resaving it. The treestate never get never pick up the leafs that was being checked. Am I doing something wrong? This is how I tried to capture

RE: Display tobago selectable tree

2006-12-20 Thread Wong, Emmanuel \(Sam\)
. -Original Message- From: Wong, Emmanuel (Sam) Sent: Wednesday, December 20, 2006 9:41 AM To: 'MyFaces Discussion' Subject: RE: Display tobago selectable tree Hi Volker: I put it in action command or action method and it did pick up the unchecked leafs. Thank you very much. -Original

Display tobago selectable tree

2006-12-08 Thread Wong, Emmanuel \(Sam\)
Hi: Is there a way you could able to display back what you have saved in the database by indicate a checkmark on the Tobago tree? I have set the selectable=multiLeafOnly. When user selected the leafs that would like to save it in the database, then user retrieve back the selected leafs