hi,
i am new to Shale and need some help!
i got this error "Cannot find transition
'org.apache.shale.dialog.basic.START_OUTCOME' for state 'activateLog' of
dialog 'logon' "
what ii have:
<h:commandLink id="logindialog" action="dialog:logon">
<dialog name="logon"
start="activateLog">
<action name="activateLog"
method="#{login.activateLog}">
<transition outcome="success"
target="main"/>
</action>
the appropriate <View> and the <end> tag
</dialog>
public String activateLog()
{
FacesContext context = FacesContext.getCurrentInstance();
DialogContext dcontext = DialogHelper.getDialogContext(context);
logindata currentuser =(logindata)dcontext.getData();
//only test
currentuser.setUser(Messages.getString("Login.2"));
currentuser.setPass(Messages.getString("Login.3"));
return Messages.getString("Login.4");
}
what i am missed to implement?
Thanks in advance
sam
--
View this message in context:
http://www.nabble.com/Dialog-transition-outcome-tf3540140.html#a9882207
Sent from the Shale - User mailing list archive at Nabble.com.