Hi Helmut,
i think the transition will work if you click the button instead of
hit return on the keyboard.
Can you test this, and if so add a jira entry for transition not
working on defaultCommand submit without click.
Regards,
Volker
2007/3/22, H. Swaczinna <[EMAIL PROTECTED]>:
Hi,
normally I see a progress bar and the page grayed out when I switch
between pages or execute long running actions. But not in my login page
when the user logs in. Maybe the page transition mechanism doesn't
work, when the page is called from outside JSF, like the login page?
Here's my code:
<tc:loadBundle basename="login" var="bundle"/>
<f:view>
<tc:page id="loginPage"
width="1020px" height="600px"
label="#{bundle.page_label}">
<f:facet name="layout">
<tc:gridLayout border="0" cellspacing="0"
marginTop="100px" marginLeft="375px"
rows="fixed" columns="260px"/>
</f:facet>
<tc:box label="#{bundle.box_label}">
<f:facet name="layout">
<tc:gridLayout
rows="fixed;fixed;fixed;fixed;*"
columns="1*;1*"/>
</f:facet>
<tc:cell spanX="2">
<tc:messages/>
</tc:cell>
<tc:out value="#{bundle.out_value_username}"/>
<tc:in id="username"
required="true"
value="#{loginController.userData.username}"/>
<tc:out value="#{bundle.out_value_password}"/>
<tc:in id="password"
required="true"
password= "true"
value="#{loginController.userData.password}"/>
<tc:cell/>
<tc:button id="loginButton"
defaultCommand="true"
transition="true"
label="#{bundle.button_label}"
action="#{loginController.login}"/>
<tc:cell spanX="2"/>
</tc:box>
</tc:page>
</f:view>
Regards
Helmut