• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Ajax Updates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ajax Updates


  • Subject: Re: Ajax Updates
  • From: Mike Schrag <email@hidden>
  • Date: Mon, 12 Mar 2007 09:13:14 -0400

Well, the &quot; would explain why it's not working, probably ... Are you using 5.2 or something?  Not sure why it would be escaped here and not in mine except for something like that.

On Mar 12, 2007, at 4:45 AM, Daniele Corti wrote:



2007/3/9, Mike Schrag <email@hidden>:
>> 3) Why are you doing an onClick with an Ajax.Updater in it vs just
>> having updateContainerID = "content"?  That looks particularly
>> suspicious to me.
>>
>> because updateContainerID in AjaxSubmitButton has never worked!
>> I've found this solution on  the AjaxExample and it works!
> I use updateContainerID all the time on AjaxSubmitButton, so it
> definitely works.  This makes me think you might not be up to date.
In the case that AjaxSubmitButton did not work for you, did you have
an AjaxUpdateContainer INSIDE of a form rather than AROUND a form?  I
just tracked down (and fixed) a bug in this scenario.
ms



No, I had some problems (like WO call a method different of the one binding to action in AjaxSubmitButton), caused by this. but in the log in I've:

     <webobject name="LoginForm">
        <div class="field"><label for="">
            <webobject name="UsernamePrompt"></webobject></label><webobject name="UsernameTxt"></webobject>
        </div><div class="field"><label for="">
            <webobject name="PasswordPrompt"></webobject></label><webobject name="PasswordTxt"></webobject>
        </div>
       
        <webobject name="AjaxSubmit"></webobject>
       
    </webobject>
   

Another thing: when I use

AjaxSubmit : AjaxSubmitButton {   
    class="button";
   
    value = loginStr;
    action = "">    ;
}

it generates:
<input  type="button" name="9.3.GWSHome.5.9" value="Accedi" class="button" />

but when I use

AjaxSubmit : AjaxSubmitButton {   
    class="button";
    value = loginStr;
    action = "">     updateContainerID = "content";  
}

that generates <input  type="button" name="9.3.GWSHome.5.9" value="Accedi" class="button" />

that is link  using nothing:   <input  type="button" name="9.3.GWSHome.5.9" value="Accedi" class="button" />


AjaxSubmit : AjaxSubmitButton {   
    class="button";
   
    value = loginStr;
    action = "">}

I really don't know what to think, I've checked also my Wonder version and it is the lastest from sourceforge...

But, I've looked for an AjaxSubmitButton example, and the only one it AjaxExample is the UpdateDisplayGroupExample and it's:

SaveButton: AjaxSubmitButton {
    action = "">    value = "Save";
    ;
    ;
}

Anyone has another example?

--
Daniele Corti
AIM: S0CR4TE5
Messenger: email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Ajax Updates
      • From: "Daniele Corti" <email@hidden>
References: 
 >Ajax Updates (From: "Daniele Corti" <email@hidden>)
 >Re: Ajax Updates (From: Mike Schrag <email@hidden>)
 >Re: Ajax Updates (From: "Daniele Corti" <email@hidden>)
 >Re: Ajax Updates (From: Mike Schrag <email@hidden>)
 >Re: Ajax Updates (From: Mike Schrag <email@hidden>)
 >Re: Ajax Updates (From: "Daniele Corti" <email@hidden>)

  • Prev by Date: Re: @sum and BigDecimal
  • Next by Date: Re: @sum and BigDecimal
  • Previous by thread: Re: Ajax Updates
  • Next by thread: Re: Ajax Updates
  • Index(es):
    • Date
    • Thread