And yet another problem (bug?), 1.0.10-SNAPSHOT I have this code:
<tc:form>
<tc:sheet
value="#{clientManagedBean.newOrderControler.attachmentsController.tempAttachments}"
id="sheet"
columns="*;*;*"
var="tempAttachments"
showHeader='false'
showRowRange='none'
showPageRange='none'
showDirectLinks='none'>
/>
<tc:column
id="file"
align="center">
<tc:out
value="#{tempAttachments.file.name}" />
</tc:column>
<tc:column>
<tc:button label="Details"
action="#{tempAttachments.showDetails}">
<%-- Popup --%>
<f:facet name="popup">
<tc:popup width="250"
height="300"
rendered="#{clientManagedBean.newOrderControler.attachmentsController.fileDetailsController.showDetails}">
<tc:box label="Szczegóły
pliku">
<f:facet name="layout">
<tc:gridLayout
rows="*;fixed;fixed" />
</f:facet>
<tc:out escape="false"
value="#{clientManagedBean.newOrderControler.attachmentsController.fileDetailsController.details}"
/>
<tc:cell spanY="2">
<tc:button
label="Zamknij"
action="#{clientManagedBean.newOrderControler.attachmentsController.fileDetailsController.hideDetails}"
/>
</tc:cell>
</tc:box>
</tc:popup>
</f:facet>
</tc:button>
</tc:column>
<tc:column
id="delete"
align="center">
<tc:button label="Delete"
action="#{tempAttachments.delete}"/>
</tc:column>
</tc:sheet>
</tc:form>
After pressing Details button the rendered property of popup turns to
true but the popup is not rendered :(
On 06/02/07, Michał 'Gandalf' Stawicki <[EMAIL PROTECTED]> wrote:
Hi all,
I've came across another popup problem:
I have a popup to change password, there is one button for Cancel and
one button for Change Password. Now, when user presses Change Password
there are two possibilities:
if all the data he has entered is correct, then I want to execute some
action and close the popup, this works fine
but if he has entered too short passwords or the old password doesn't
match, then I want to display some error message in tc:out and leave
the popup open.
Is there a way to achieve this? <tc:attribute name="popupClose" ... >
will always close the window
regards
Michael
--
[EMAIL PROTECTED]
http://stawicki.jasliska.pl
GG: 3691111
JID: [EMAIL PROTECTED]
--
[EMAIL PROTECTED]
http://stawicki.jasliska.pl
GG: 3691111
JID: [EMAIL PROTECTED]