Hi all,

Sorry for the long question.  We have been learning JSF over the
past couple of months, and are starting to 'grok' it, but we have
an issue with the use of iframes and popups and I'm hoping one of
you wizards can help.

In our app, we have a page that looks like this:

+----------------------------------------------------------------+
|                        Page header stuff                       |
+----------------------------------------------------------------+
| From Date: _________  |  Data Grid Display                     |
| To Date:   _________  |                                        |
|                       |                                        |
|                       |                                        |
| + Tree Control        |                                        |
|   + Tree items        |                                        |
|   ...                 |                                        |
|                       |                                        |
+----------------------------------------------------------------+

When an item is selected in the tree control, we want to update the
contents of the data grid (with no redraw of the tree control).  In
addition, we want a resize bar between the tree control and data grid.
And ideally, we would like to use the popup feature of the MyFaces
x:inputCalendar for the date fields.

>From my understanding, we must use iframes and the h:form 'target'
attribute so that when an item is clicked in the tree, we only
refresh the contents of the data grid.  This works well.  We also
were able to implement the resize bar with some JavaScript and
handlers to resize the iframe panels.

The problem is with the x:inputCalendar popup.  It is truncated since
it is wider than our tree control frame.  Because of this we are
now using a simple text field with f:convertDateTime.

Is there a better way to set up something like this?  Using a
<table> does not work because of the 'target' requirement.

Thanks for your help.
Don

Reply via email to