Hello!
Did i understood it right? On example-page
(LINK<http://www.irian.biz/tobago-example-demo/faces/content/20/popup.xhtml?windowId=e43>)
i cant comprehend how do they define the pop for the second row to open it.
does it only depend on the popup-id? or do i also have to code something in
my controller?
<f:facet name="popup">
<tc:popup width="500" height="300" id="popupId" >
<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>
</f:facet>
<tc:sheet .... >
<tc:column> ......</tc:column>
<tc:column>
<tc:panel>
<tc:button label="But1"
actionListener="#{Controller.doAnything}">
<tc:attribute name="renderedPartially"
value="popupId"/>
<tc:popupReference for="popupId"/>
<f:param name="variableForPopUp" value="#{var}" />
</tc:button>
</close tags>
thanks for your help!
2012/4/21 Volker Weber <[email protected]>:
> 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