Tab over?, do you mean tab out? If you always post on tab out, then
there is no reason to click the button. Actions are only fired from
command* components. Auto submit on an input text only generates a
value change, not an action.

Perhaps you should re-describe what exactly you want to do (don't
include implementation details, just what the users sees and how it
should behave)?

-A

On Fri, Jul 18, 2008 at 3:01 PM, veena pandit <[EMAIL PROTECTED]> wrote:
> In other words,  I want to be able to execute a method in two cases,
> when I tab over after entering the zip code or even when i do not
> tab over but I click the button.
>
> Thanks,
>
> Veena
>
> On 7/18/08, Andrew Robinson <[EMAIL PROTECTED]> wrote:
>> Not sure what you are referring to. The auto submit will cause the zip
>> code to POST the form, so your button will never be clicked. If you
>> want to only submit as a result of a button press, then set auto
>> submit to false.
>>
>> On Fri, Jul 18, 2008 at 2:12 PM, veena pandit <[EMAIL PROTECTED]> wrote:
>> > I have a zip code field that when submitted populated the city and state.
>> > The zip code field is an input text box.  How do I submit the zip code
>> > field without tabbing but at the same time as when i click a button.
>> > The button also has an action method associated with it.  Right now,
>> > I have autosubmit= true on the zip code field has a valuechangelistener
>> > associated with a listener method.
>> >
>> > I tried adding a javascript  onchange="clickLink('hiddenLink')" based on
>> > some solutions to a different problem by Andrew Robinson on this
>> > mailing list archive.  But when I click the button that calls the
>> > zipChangeaction associated with the hiddenLink, but does not execute
>> > the action associated
>> > with the button.
>> >
>> > Thanks in advance for your help,
>> >
>> > Veena
>> >
>>
>

Reply via email to