I will file a bug with the dojo team to investigate the dialog scrolling issue.
Can you clarify your response on the form text field issue? Is it possible/recommended to use a form within a dialog that is sitting on top of another dialog? What would the code look like? The following code does not allow the text field to be edited. <b:modalDialog dialogId="TripDatesDialogContent" dialogVar="tripDatesDialog" dialogAttr="bgColor='white' bgOpacity='0.5' toggle='fade' toggleDuration='250'" hiderIds="cancel2" styleClass="dojoDialog"> <h:form> <h:panelGrid> <input type="text" name="something" value="myvalue" id="newdates" size="25"/> <b:commandButton id="cancel2" forceId="true" value="Cancel" onclick="dojo.widget.byId('TripDatesDialogContent').hide();" /> </h:panelGrid> </h:form> </b:modalDialog> Regards, Joshua Pheneger -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz Sent: Wednesday, January 31, 2007 8:22 AM To: users@myfaces.apache.org Subject: Re: modalDialog scrolls endlessly on page Gerald Müllan schrieb: > Hi, > > the modalDialog component uses the dojo js-lib dialog widget. Any js > related problems can not be solved by myfaces developers, they are > only dojo-related. Maybe you can find help with this issue on the dojo > list. > The dialog issue is an issue with the dojo dialog itself, there is a parameter in the dojo baselib which can prevent this behavior (it is called centerdialog or so, you really have to check the dialog sources for this) I rember having such a param at least in dojo 0.4.1 which is the latest currently being in tomahawk I am not sure if it already is exposed. There also is the possibility to use floating panes instead of the dialog. > Apart from this, it maybe an issue you can live with; i also use the > modalDialog in an application and it works very well. > > The current sandbox snapshot with the dialog component is deployed here: > > http://example.irian.at/example-sandbox-20070131/dojo/dojoDialog.jsf > > If you click on "searchOuterForm", the dialog accomplishes the same > usecase as you have with the form. Seems to work there.Have a look at > the source of the example, maybe it can assist. > > What you mean by unable to enter? Are the input fields hidden, or > disabled? Does the post not happen? > The code looks to me as if the form is declared outside of the dialog this is not possible due to browser limitations, mainly caused by the broken ie css implementation. If you want to use the dialog in conjunction with forms use it outside of any form definition and put the form into the dialog, there are various ways to savestate the affected values, so that you do not have to push all page related values into the dialog. (for most cases a simple savestate on a bean should do it)