My company is evaluating myFaces as the UI framework for a large
upcoming project and I am having a couple of issues:
 
1. When I display a modalDialog, I am able to scroll the page down
endlessly.  The dialog repositions itself, but portions of it are
outside of the viewable space on the page.  It seems that the
getScrolling javascript  function that gets added to the page upon
rendering does not account for reaching the bottom of the page.
 
   <h:outputLink value="#"
 
onclick="dojoDialog.show();document.getElementById('higherId').focus();"
>
    <h:outputText value="Scroll View" />
   </h:outputLink>
    ----
    <a>Tab View</a>
  </div>  
  <b:modalDialog dialogId="DialogContent" dialogVar="dojoDialog"
   dialogAttr="bgColor='white' bgOpacity='0.5' toggle='fade'
toggleDuration='250'"
   hiderIds="cancel1" styleClass="dojoDialog">
    <!-- // Main Content -->
    <h:panelGrid columns="1" id="hiderId">
    <b:commandButton id="cancel1" forceId="true" value="Cancel"
       onclick="dojo.widget.byId('DialogContent').hide();" />

 
2. When creating a dialog that will act as a form, I am unable to enter
text into the input field.
 
  <b:modalDialog dialogId="TripDatesDialogContent"
dialogVar="tripDatesDialog"
   dialogAttr="bgColor='white' bgOpacity='0.5' toggle='fade'
toggleDuration='250'"
   hiderIds="cancel2" styleClass="dojoDialog">
   <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>

Any assistance you can provide will be greatly appreciated and will be
taken into account when evaluating your product.
 
Regards,
Joshua Pheneger
 

Reply via email to