MerchantSearch extends Action?

----- Original Message -----
From: "Dan Bachelder" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 05, 2001 8:46 PM
Subject: Re: Action is always LoginUser


> In the page source you don't see LoginUser anywhere?
>
> Are you trying to use Merchant search to login? if so you need to set the
> action.login to MerchantSearch I believe... once you are authenticated
your
> MerchantSearch should work fine..
>
> ----- Original Message -----
> From: "Rob Ward" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, September 05, 2001 8:38 PM
> Subject: Action is always LoginUser
>
>
> >
> > After a hiatus of a few weeks, I returned to looking into a problem with
> > logging into Turbine. And I still can't figure out the problem, despite
> > extensive debugging. I am totally stumped as to the source of this
> problem.
> >
> > Basically, I created a very simple application based on the sample
> > application, creating my own LoginUser action (it doesn't do anything
> > special right now - just the normal authentication), an Index template
> > containing a form, and page (template and screen) to be displayed as the
> > result of an action of the form. I also created an action "LoginUser"
and
> > "MerchantSearch".
> >
> > Trouble is, I find the action passed to the Turbine servlet is *always*
> > "LoginUser" (I got the Turbine source and put lots of debug in there to
> see
> > what was happening). The parameters on the form get passed fine, but the
> > action is always LoginUser!
> >
> > My form is as follows:
> >
> > <form name="$link.setAction("MerchantSearch")" method="post">
> > <!-- form text omitted for clarity -->
> > <input type=submit name="eventSubmit_doSearch" value="Search">
> >
> > Note that I also used tried, using the setTemplate/setScreen method in
> there
> > too, but it's not needed. I tested that by manually pasting the
generated
> > URL into the browser (e.g.
> > http://localhost:8080/test/servlet/test/action/MerchantSearch) and it
> works
> > fine.
> >
> > As I said, the action itself works fine when I paste it into the browser
> > manually (after a successful login, of course). BUT, if I click the
> "Search"
> > button on the form I mention, Turbine (the servlet) ALWAYS receives the
> URL
> > http://localhost:8080/test/servlet/test/action/LoginUser
> >
> > I checked, and rechecked the actual form, and yep, the only form/action
> > there is "MerchantSearch" and I'm not explicitly setting the LoginUser
> > action anywhere.
> >
> > Has anyone seen this?? Any guesses as to what is happening here??
> >
> > Any help will very, very much appreciated!
> >
> > Rob
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to