Hi,
Leonardo Quijano Vincenzi wrote:
Couple of things...
1) @Forbean is deprecated. You should be using @For (which combines the
@Foreach and @ListEdit components). This is important when using it in a
form.
Oh, ok; I didn't know that. I'll look at the @For component.
2) Now, you're editing the ContactField in a form (which you omitted),
but you're not actually submitting that form anywhere! Try using
AjaxLinkSubmit or AjaxSubmit instead of AjaxDirectLink.
Yeah, that is true. (I hadn't really gotten to dealing with that form
yet.) So my "Add Field" link has to be a form submission? I was hoping
that I could use an AjaxDirectLink to do something & keep my page's
state (i.e. the getContact() method).
3) In this case it shouldn't be a problem, but IMO the "listener"
parameter for XXXSubmit is very dangerous. If you put it before the
form, the form's values are not being submitted. I suggest using the
"action" parameter unless you have a really good reason for not doing so.
Ok, thanks for the tips. When I removed listener="" and replaced it
with action="" I got an exception that said that the listener param
could not be null.
Thanks again -
Hans
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel