On 2/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello !

When trying to begin a dialog with V1.0.3 (basic dialog manager) with the
"dialog:" prefix in an action, I get:

java.lang.IllegalArgumentException: You have requested a transition outcome
named "dialog:Dienststellensuche" from a state named "Dienststellenliste" in a
dialog named "Dienststellensuche", but no transition definition can be found.
Double check the spelling of the transition outcome name.

Any hints?

<snip/>

Seems to imply that a dialog is already in progress, which won't do.

As an aside, if possible, use v1.0.4. It has improvements in the
dialog manager space that are probably worth the upgrade. More on the
v1.0.4 dialog manager features is here [1].

-Rahul

[1] http://shale.apache.org/1.0.4/shale-dialog/index.html


jsp:
            <h:commandLink id="logon" action="dialog:Dienststellensuche">
                <h:outputText value="start"/>
            </h:commandLink>


dialog-config.xml:
<dialogs>
        <dialog name="Dienststellensuche" start="Suchparameter Form">
                <view name="Suchparameter Form" viewId="Dienststellensuche.jsp" 
>
                        <transition outcome="suchen" target="Dienststellenliste" 
/>
                </view>
                <view name="Dienststellenliste" viewId="Dienststellenliste.jsp" 
>
                        <transition outcome="ok" target="Ende" />
                </view>
                <end name="Ende" />
        </dialog>
</dialogs>

Jan K.


Reply via email to