• 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: two modal dialogs on a page problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: two modal dialogs on a page problem


  • Subject: Re: two modal dialogs on a page problem
  • From: Farrukh Ijaz <email@hidden>
  • Date: Sat, 18 Sep 2010 05:50:12 +0300

Hi Ted,

I am not sure it is mandatory or not. However the problem you mentioned was fixed for me under Safari by setting this property to -1. I haven't checked Firefox or any other browser. If this does not fix the problem for you then I guess you need to inspect the css and js to understand the root cause and apply a patch.

Farrukh

Sent from my iPad

On 18-Sep-2010, at 5:07 AM, Theodore Petrosky <email@hidden> wrote:

> so are we saying that:
>
> integer Height in pixels, use -1 for auto-height. When set Modalbox will operate in 'fixed-height' mode.
>
> setting height = -1 is mandatory? That is not clear from the docs nor that this would have fixed my issue.
>
> It works great and that is all that matters.
>
> Ted
>
> --- On Fri, 9/17/10, Farrukh Ijaz <email@hidden> wrote:
>
> From: Farrukh Ijaz <email@hidden>
> Subject: Re: two modal dialogs on a page problem
> To: "Theodore Petrosky" <email@hidden>
> Cc: "WO-Apple-Dev Development" <email@hidden>
> Date: Friday, September 17, 2010, 5:59 PM
>
> Hi Ted,
> The fix for this is to set the height = -1 for ModalDialogOne. It's mentioned in the documentation.
> http://webobjects.mdimension.com/hudson/job/Wonder54/javadoc/er/ajax/AjaxModalDialog.html
>
> Farrukh
> On 2010-09-17, at 11:17 PM, Chuck Hill wrote:
> I often have several on one page, so my first guess is "doing something wrong".  I don't know what.  Check for JavaScript errors.
>
> Chuck
>
>
>
> On Sep 17, 2010, at 1:03 PM, Theodore Petrosky wrote:
>
> I have a page that has links to two different AMDs.
>
> ModalDialogOne: AjaxModalDialog {
> 	title = "Dialog One";
> 	label = "Dialog One";
> 	slideUpDuration = ".1";
> 	slideDownDuration = ".1";
> 	action = bringInOne;
> 		height = -1;
> }
>
> ModalDialogTwo: AjaxModalDialog {
> 	title = "Dialog Two";
> 	label = "Dialog Two";
> 	slideUpDuration = ".1";
> 	slideDownDuration = ".1";
> 	action = bringInTwo;
> 	height = 500;
> }
>
> Notice that the only difference is ModalDialogTwo has "height = 500;"
>
> Problem:
>
> if I click the link to ModalDialogOne, it displays and has information that makes the dialog about 350 px tall. I can display ModalDialogOne over and over. But if I display ModalDialogTwo, ModalDialogOne breaks and no longer will display correctly, it is only 25px high with a scroll bar on the side. The only way to fix it is to reload the base page, or ModalDialogTwo can not have a height statement.
>
> If anyone is interested, I have a little demo that I can attach.
>
> Should I open a Jira on this? or am I doing something wrong?
>
> Ted
>
>
>
> _______________________________________________
> 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
>
>
>
>
> _______________________________________________
> 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
 _______________________________________________
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

References: 
 >Re: two modal dialogs on a page problem (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: two modal dialogs on a page problem
  • Next by Date: Re: ERModernDirectToWeb SortButton
  • Previous by thread: Re: two modal dialogs on a page problem
  • Next by thread: Help with ERXBatchFetchUtilities.batchFetch
  • Index(es):
    • Date
    • Thread