• 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: AjaxModalDialog in a Repetition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AjaxModalDialog in a Repetition


  • Subject: Re: AjaxModalDialog in a Repetition
  • From: amiel montecillo <email@hidden>
  • Date: Mon, 2 Mar 2009 10:26:23 +0800

You might want to make sure you are using the latest wonder.

On Mon, Mar 2, 2009 at 10:15 AM, Dawn Lockhart <email@hidden> wrote:
I tried that. It never went into the action binding’s method.


On 3/1/09 7:03 PM, "amiel montecillo" <email@hidden> wrote:

AjaxModalDialogOpener has an action binding, use that to set an instance to your component for the AjaxModalDialog to use.

Something like:

 <wo:AjaxModalDialogOpener dialogId="removeAMDID" label="Remove" action = "">     class="button" />

Then you operate on that "selectedItem" instance.

HTH,
Amiel

On Mon, Mar 2, 2009 at 5:09 AM, Dawn Lockhart <email@hidden> wrote:
I have a repetition with an AjaxModalDialogOpener inside it to open an
AjaxModalDialog. When the AjaxModalDialogOpener is clicked, the selected
item in the repetition is null. How do I send the AjaxModalDialog the item
that was selected? I don't see any way to bind a value to it. I tried using
the AjaxModalDialogOpener's action method to set the selected value, but it
was never fired when I clicked on the link.

<wo:AjaxModalDialog id=" removeAMDID" title="Remove" closeString="Remove"
showOpener="$false" closeUpdateContainerID="UpdateContainerID">

...
    <wo:AjaxSubmitButton action="" value="Remove" class="button"/>

</wo:AjaxModalDialog>

<wo:WORepetition list="$list" item="$item" index="$rowNumber">
...
Table rows
...
    <wo:AjaxModalDialogOpener dialogId="removeAMDID" label="Remove"
    class="button" />
...
</wo:WORepetition>

Thanks,
Dawn

 _______________________________________________
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






--
socket error: unable to connect to 127.0.0.1
 _______________________________________________
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: [SOLVED] AjaxModalDialog in a Repetition [
      • From: Dawn Lockhart <email@hidden>
References: 
 >Re: AjaxModalDialog in a Repetition (From: amiel montecillo <email@hidden>)
 >Re: AjaxModalDialog in a Repetition (From: Dawn Lockhart <email@hidden>)

  • Prev by Date: Re: AjaxModalDialog in a Repetition
  • Next by Date: Re: [SOLVED] AjaxModalDialog in a Repetition [
  • Previous by thread: Re: AjaxModalDialog in a Repetition
  • Next by thread: Re: [SOLVED] AjaxModalDialog in a Repetition [
  • Index(es):
    • Date
    • Thread