Hey Peter, actually I would have been more than happy to share the code, but before I did I wanted to avoid anything embarrassing by giving another thorough once over =) What was causing the issue for me (clearly my own error) was that I had the form bound to "user", while the variable in the event object for my user object was actually called "currentUser".
Updating the bind attribute to "currentUser" in the form tag corrected my mistake. Thanks for the reply! Brian On Sep 6, 1:03 pm, "Peter J. Farrell" <[email protected]> wrote: > Brian, you can use whatever you want for a default value. Could you > share the code you have for the form? > > .pjf > > Brian FitzGerald said the following on 09/06/2010 12:46 PM: > > > > > Hey all, > > > I'm trying to plug the awesome new form tag library into my > > application, and I'm hitting one little snag. I noticed that the form > > tag library documentation states that: > > > "We recommend that if you use a "please select an option" value in the > > drop down that you use - (dash) as a value by default." > > > The issue for me is, my form is an add/edit forms (manage users) where > > if an existing user is selected it's an edit, and if not, it's an > > add. As a result, the listeners and model are currently written to > > look for the value of 0 to indicate a new user rather than an existing > > user. However, when I use 0 rather than "-" in my "please select a > > user" option tag, it never gets selected. Is there a way around this, > > or do I need to modify my model and listeners to look out for the dash > > rather than the 0 when indicating a new user. > > > Thanks in advance for any insight! > > > Brian -- You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en ***New URLs as of April 29th, 2010*** SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
