Hi,
i think, but not sure, the problem is the popup inside the sheet.
try define the popup outside the sheet and open it via
tc:popupReference in the button.
Regards,
Volker
Am 20. April 2012 14:57 schrieb AM <[email protected]>:
> Hello!
>
> I'd like to insert into a method of my controller, when i click on the
> last button (labeled as "This Button doesn't work")
> I have following jsp-code:
>
> <tc:sheet .... >
>
> <tc:column> ......</tc:column>
>
> <tc:column>
>
> <tc:panel>
>
> <tc:button label="But1"
> actionListener="#{Controller.doAnything}">
>
> <f:facet name="popup">
>
> <tc:popup width="500" height="300">
>
> <tc:box label="TXT">
>
> <f:facet name="layout">
> <tc:gridLayout columns="*"
> rows="fixed;*;fixed"/>
> </f:facet>
>
> <tx:textarea label="Input1" />
>
> <tc:panel>
>
> <f:facet name="layout">
> <tc:gridLayout
> columns="*;fixed;fixed" rows="fixed"/>
> </f:facet>
>
> <tc:out/>
>
> <tc:button label="This Button
> doesn't work" action="#{Controller.doImportantStuff}">
> <tc:attribute
> name="popupClose" value="afterSubmit" />
> </tc:button>
> <close tags/>
>
> In debugging mode, nothing happens, it looks like i dont have coded
> any action on this button =/
>
> Thanks a lot for spending your time to help me!
--
inexso - information exchange solutions GmbH
Ofener Str. 30 | 26121 Oldenburg
Tel.: +49 441 219 730 0 |
FAX: +49 441 219 730 66 | eMail: [email protected]
Firmensitz: Oldenburg | Amtsgericht Oldenburg HRB 205251
Geschäftsführer: Stefan Schulte, Michael Terschüren