Hi,

i also prefer option 3.

regards
 Volker

2006/11/30, Udo Schnurpfeil <[EMAIL PROTECTED]>:
Hi Bernd,

I prever Number 3.

Regards,

Udo

Bernd Bohmann wrote:
> Hello,
>
> Volker has added rendering of popups with ajax.
>
> You have to add some javascript to close the popup, until now.
> I would like to avoid this before we can release 1.0.9.
>
> A better solution would be to declare the immediate close and the
> submit&close button.
>
> I think we have following options:
>
> 1. Adding id attributes for close and submit&close Command to popup.
> (I don't like this)
>
> 2. Adding a property to command button
> <tc:button ... closeAfterSubmit
> <tc:button ,.. closeImmediate
> (I don't like this, too)
>
> 3. Adding support for an attribute popupClose in Link and ButtonRenderer.
> <tc:button >
>   <f:attribute name="popupClose" value="immediate" />
>
>   <f:attribute name="popupClose" value="afterSubmit" />
> </tc:button>
>
>
> 4. Adding a tag
>
> <tc:button >
>  <tc:popupClose value="immediate" />
>
>   <tc:popupClose" value="afterSubmit" />
> </tc:button>
>
> I would prefer option 3 or 4.
>
>
> Any thoughts?
>
> Regards
>
>
> Bernd
>
>

Reply via email to