Are you using a WOActiveImage or a WOImage surrounded by hyperlink
tags? These do not submit values.
use a WOImageButton
It is the <I> on the FORM pannel in WOBuilder.
It works just like active image but needs to be in a form. (I think
this is new in WO 4.0).
John
---"Mark F. Murphy" <[EMAIL PROTECTED]> wrote:
>
> Ok folks... I'm really getting a mental block here.
>
> Isn't the binding to an instance variable automatic when declared
for a
> WOtextField?
>
> I have a login panel I've created where I check the user name and
password,
> but so far I can't get it working. I've tried binding variables to
the
> component. I've tried to the session. I've tried to an object I
call User
> which is in an instance named currentUser.
>
> The component for the login panel has a form in it. When I hit the
submit
> button (an image) it calls my action in the component.
>
> The problem is it seems the variabled bound do not return any results.
> They are always empty or nil.
>
> Also, when the login fails, I simply return null for the page in the
action
> handler because I want to stay on the same page.
>
> The other problem is that I want the data entered into the form
variables
> to stay there. Yet, it seems to get cleared out.
>
> I know I just have a mental block... and I've been over and over the
docs
> to look for examples, but can't seem to locate any.
>
> I basically want a login panel to work the way one would expect. If
login
> unsuccessful, just stay on the same page and keep the username typed
in
> while ditching the password data.
>
> Anyone got any pointers to some good examples in the docs or examples?
>
> That cookbook idea is looking better and better.
>
> Thanks for any pointers.
>
> mark
>
---------------------------------------------------------------------------
> Mark F. Murphy, Director Software Development
<mailto:[EMAIL PROTECTED]>
> Tyrell Software Corp
<http://www.tyrell.com>
> PowerPerl(tm), Add Power To Your Webpage!
<http://www.powerperl.com>
>
---------------------------------------------------------------------------
> Member of Families Against Internet Censorship:
rainbow.rmi.net/~fagin/faic
>
>
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com