You are trying to pass the form fields from the original window to the popup window? If so, then yes, you want to use the "updateFormFields" attribute on the configurePopup tag. If you want to update fields in the form of the original page, then the configurePopup tag should contain a retrievePopupOutput tag for each field in the original form that needs to be updated on completion of the nested page flow popup window. You can both update fields in the popup as well as in the original form on completion of the popup. There is a NetUI test in the SVN repository that does this. It might serve as an example. Look at the controllers in... http://svn.apache.org/repos/asf/beehive/trunk/netui/test/webapps/drt/src/tags/popupFormBean/ and pages in... http://svn.apache.org/repos/asf/beehive/trunk/netui/test/webapps/drt/web/tags/popupFormBean/
Good luck, Carlin On 9/19/06, jephen <[EMAIL PROTECTED]> wrote:
Now my problem is that i can't get input values from original window without using "updateFormFields" but not get values from popup window. The input values will be transferd to popup nested flow by controller. thank you! Carlin Rogers-2 wrote: > > Try to use the retrievePopupOutput tag within the configurePopup tag. > The configurePopup tag doc has a simple example of the markup... > > http://beehive.apache.org/docs/1.0.1/netui/apidocs/taglib/index.html > > something like this... > > <netui:configurePopup ...> > <netui:retrievePopupOutput tagIdRef="stateField" > dataSource="outputFormBean.state" /> > <netui:retrievePopupOutput tagIdRef="zipCodeField" > dataSource="outputFormBean.zipCode" /> > </netui:configurePopup> > > Where the tagIdRef attributes identify the form elements to be updated > that have the given tagId. > > Thanks, > Carlin > > On 9/19/06, jephen <[EMAIL PROTECTED]> wrote: >> >> i think it's problem of the "UpdateFormFields" attribute. >> The new popup window can be opened after i removed that attribute,but now >> i >> can't get the values in the Form Fields which should be needed .How can i >> do? thank you!! >> >> >> >> Carlin Rogers-2 wrote: >> > >> > I'm not sure why you see the www.localhost.com name. Do you explicitly >> use >> > a >> > URI with that name. The NetUI tags should be generating the HTML >> markup >> > with the URLs associated to the actions given as attributes to the >> tags. >> > Have you looked at the source view of the page in the browser before >> > trying >> > to launch the popup. >> > >> > Note, I think your scenario should work. I was able to make a popup >> window >> > open a new popup window for another nested page flow. >> > >> > Kind regards, >> > Carlin >> > >> > On 9/18/06, jephen <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> when i try to open a new popup window which will be another screen >> from >> >> an >> >> existing popup window,it say"connecting to www.localhost.com.....". >> >> why? >> >> thanks a lot! >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/can%27t-popup-new-window-from-an-existing-popup-window-tf2290129.html#a6360636 >> >> Sent from the Beehive - User mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/can%27t-popup-new-window-from-an-existing-popup-window-tf2290129.html#a6400352 >> Sent from the Beehive - User mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/can%27t-popup-new-window-from-an-existing-popup-window-tf2290129.html#a6401553 Sent from the Beehive - User mailing list archive at Nabble.com.
