• 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: Proper way to Pop a Modal Edit Form from a list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proper way to Pop a Modal Edit Form from a list?


  • Subject: Re: Proper way to Pop a Modal Edit Form from a list?
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 29 Jan 2010 15:00:49 -0800


On Jan 29, 2010, at 2:18 PM, James Cicenia wrote:

Hmmm

So I created a component for my dialog. I put the AjaxModalDialog in component that holds the ajax grid that way
it would be outside the repetition.

Not clear what you are describing there.


Now I need to call it with AjaxModalDialogOpener from the grid cell controller... is that correct?

"grid cell controller"?


If so how does it know and/or how do I pass the current object into it for it to do its rendering?

The AjaxModalDialogOpener goes in a component that is used to render a cell. The AjaxGrid JavaDocs explain how to access the row data.


Chuck


On Jan 29, 2010, at 3:49 PM, Chuck Hill wrote:

Did you define the AjaxModalDialog? Lots of pieces to co-ordinate here. Check AjaxExamples.


Chuck


On Jan 29, 2010, at 1:46 PM, James Cicenia wrote:

Hmm.

I click and nothing happens.. no popup, no error in any console. It does fire my action method:

public AdminEditFestivalArtist selectFestivalArtistToEdit() {
AdminEditFestivalArtist nextPage = (AdminEditFestivalArtist)pageWithName("AdminEditFestivalArtist");
FestivalArtist fa = (FestivalArtist )grid .displayGroup ().allObjects ().objectAtIndex (grid.displayGroup().allObjects().indexOfObject(grid.row()));
((Session)session()).setCurrentFestivalArtist(fa);
nextPage.setTheFestivalArtist(fa);
return nextPage;
}



Is that not correct?


Thanks James

On Jan 29, 2010, at 3:35 PM, Chuck Hill wrote:

AjaxModalDialogOpener.


On Jan 29, 2010, at 1:33 PM, James Cicenia wrote:

Hello -

I am using AjaxGrid and that works great. I can even communicate to it, etc.

However, now I want to create a link to popup a modal edit window. I am
confused on what link to use. I would prefer it to render a page after loading
vs. putting hundreds of forms inline for each repetition.


What is the proper way to do this?

thanks
James




_______________________________________________ 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

-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects









_______________________________________________ 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

-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects









_______________________________________________ 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

-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








_______________________________________________
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: Proper way to Pop a Modal Edit Form from a list?
      • From: James Cicenia <email@hidden>
References: 
 >Proper way to Pop a Modal Edit Form from a list? (From: James Cicenia <email@hidden>)
 >Re: Proper way to Pop a Modal Edit Form from a list? (From: Chuck Hill <email@hidden>)
 >Re: Proper way to Pop a Modal Edit Form from a list? (From: James Cicenia <email@hidden>)
 >Re: Proper way to Pop a Modal Edit Form from a list? (From: Chuck Hill <email@hidden>)
 >Re: Proper way to Pop a Modal Edit Form from a list? (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Proper way to Pop a Modal Edit Form from a list?
  • Next by Date: Re: Proper way to Pop a Modal Edit Form from a list?
  • Previous by thread: Re: Proper way to Pop a Modal Edit Form from a list?
  • Next by thread: Re: Proper way to Pop a Modal Edit Form from a list?
  • Index(es):
    • Date
    • Thread