The first time when the page shows up, the model dialog shows up and then 
disappear immediately.
   
  When clicking the button(Edit), the model dialog shows up, but its background 
is transparent. The tree is too big, but no scroll bar.
   
  When clicking a leaf tree node, an service side action is called, but it is 
very very slow.  It seems that something is stuck.
   
  What i like the model dialog to be:
  When clicking the button, I like a resizable window to show up to display a 
tree with opaque background. After user clicking a node or Cancel button, the 
window close, and the node selection is shown up in master window.
   
  Please correct me if I did not use model dialog correctly. Thanks!
   
   
  <h:commandButton value="Edit"
  onclick="dojoDialog.show(); return false;" />
   
  <s:modalDialog 
  dialogId="dialog"
  dialogVar="dojoDialog"
  dialogAttr="bgColor='white' bgOpacity='0.5' toggle='fade' toggleDuration='20'"
  hiderIds="cancel" 
  styleClass="dialog">
   
  <h:form> 
  <t:tree2 id="tree" value="#{bean.treeNode}" var="node" varNodeToggler="t" >
  ...
  </t:tree2> 
  
  <t:commandButton id="cancel" forceId="true" value="Cancel" /> 
  </h:form>
   
  </s:modalDialog>

 
---------------------------------
Have a burning question? Go to Yahoo! Answers and get answers from real people 
who know.

Reply via email to