hi,Carlin:
I have extented the Netui_OnPopupDone function in the javascript.It
can work now.thank you very much!!!
jephen
Carlin Rogers-2 wrote:
>
> When you configure a popup without setting the onPopupDone property, the
> popup window defaults to use a NetUI JavaScript routine. Before closing,
> the
> popup window calls the routine in the original page. That routine takes a
> map of name value pairs of the retrieved data and updates the fields in
> the
> original page.
>
> You can take a look at the routine to see what it does. Edit your JSP so
> that the <netui:configurePopup> does not include the onPopupDone
> attribute.
> Then hit the page so it is rendered in your browser window and view the
> source of the page. Look for the routine called "Netui_OnPopupDone" that
> takes a map as a parameter.
>
> The onPopupDone property is provided so that a developer can
> override/extend
> the NetUI JavaScript routine. This allows you to change the the default
> field-mapping behavior. If you still want the same field mapping behavior,
> you could have your "done()" JavaScript method do something similar to
> Netui_OnPopupDone(), or just call it.
>
> Hope that helps. Kind regards,
> Carlin
>
> On 8/28/06, jephen <[EMAIL PROTECTED]> wrote:
>>
>>
>> hi,all:
>> my netui:retrievePopupOutput can't work when the configurePopup have the
>> onPopupDone property.
>> for example:
>> <netui:anchor action="begin" popup="true">begin
>> <netui:configurePopup height="200" onPopupDone="done" width="200">
>> <netui:retrievePopupOutput dataSource="outputFormBean.code"
>> tagIdRef="labelCode" />
>> </netui:configurePopup>
>> </netui:anchor>
>> ... <snip> ...
>> </netui:form></p>
>> <netui:scriptBlock placement="after">
>> function done() {
>> alert("1");
>> }
>> </netui:scriptBlock>
>> </netui:body>
>> But It can receive the retrieved value without onPopupDone property.
>> Why? can you help me?
>>
>> --
>> View this message in context:
>> http://www.nabble.com/retrievePopupOutput-can%27t-work-when-using-onPopupDone-tf2181631.html#a6033325
>> Sent from the Beehive - User forum at Nabble.com.
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/retrievePopupOutput-can%27t-work-when-using-onPopupDone-tf2181631.html#a6055635
Sent from the Beehive - User forum at Nabble.com.