Hello Bernd,
thank you very much for your answer (and by the way: thank you for tobago!)
but: that was not the problem. i was using tobago 1.0.8 SNAPSHOT, looks
like that is not compatible to the resin servlet container, several
applications (including example-facelets and addressbook-tobago) did not
work. the new navigation rule in example-facelets (helloWorldNext) did
not work and in the addressbook application i could not save anything
(cpu 100% for 15minutes)
i downgraded to tobago 1.0.7 and everything works now. well, not everything:
the navigation rules work only if i point to the xml files, not to the
jsf extension:
<navigation-rule>
<from-view-id>/login.xml</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/overview.xml</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<navigation-case>
<from-outcome>logout</from-outcome>
<to-view-id>/login.jsf</to-view-id>
</navigation-case>
</navigation-rule>
and i have 2 more problems:
if want to build a login form with username & password.
<tc:in id="password" value="${user.password}" label="Password"
password="true" required="true" />
but password="true" does not work, the password is rendered readeable.
it works if i have a method in a managed bean
public boolean getBooleanTest()
{
return true;
}
and use an EL expression:
password="${user.booleanTest}"
-> the password is echoed with *****
and one more thing: i have problems with the facet <tc:gridLayout and
the rows and columns descriptions: is there any detailed documentation
or explicit examples for this?
thank you very much!
-- felix gonschorek
Bernd Bohmann schrieb:
the navigation rule should point to /goon.jsf.
The DEFAULT_SUFFIX is .xml
this means goon.jsf whould point to goon.xml.