Hi
Addendum: The "offending" lines:
<dialog name="Log On"
start="Check Cookie">
<action name="Check Cookie"
method="#{profile$logon.check}">
<transition outcome="authenticated"
target="Exit"/>
<transition outcome="unauthenticated"
target="Logon Form"/>
</action>
-----Opprinnelig melding-----
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sendt: 20. september 2005 09:55
Til: [email protected]
Emne: SV: [Shale] NullpointerException when running struts-shale-usecas
es
Hi
Well, its the demo webapp from shale, but heres the version that I have:
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2004-2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
See the License for the specific language governing permissions and
limitations under the License.
$Id: dialog-config.xml 289940 2005-09-18 15:46:04Z wsmoak $
-->
<!--
Dialog definitions for Shale Use Cases Example Web Application
-->
<!DOCTYPE dialogs PUBLIC
"-//Apache Software Foundation//DTD Shale Dialog Configuration
1.0//EN"
"http://struts.apache.org/dtds/shale-dialog-config_1_0.dtd">
<dialogs>
<!-- Log On / Create Profile Dialog -->
<dialog name="Log On"
start="Check Cookie">
<action name="Check Cookie"
method="#{profile$logon.check}">
<transition outcome="authenticated"
target="Exit"/>
<transition outcome="unauthenticated"
target="Logon Form"/>
</action>
<view name="Logon Form"
viewId="/profile/logon.jsp">
<transition outcome="authenticated"
target="Exit"/>
<transition outcome="create"
target="Create Profile"/>
</view>
<subdialog name="Create Profile"
dialogName="Edit Profile">
<transition outcome="success"
target="Exit"/>
</subdialog>
<end name="Exit"
viewId="/usecases.jsp"/>
</dialog>
<!-- Edit Profile Dialog -->
<dialog name="Edit Profile"
start="Setup">
<!-- Global transitioh definitions -->
<transition outcome="cancel"
target="Cancel"/>
<transition outcome="finish"
target="Finish"/>
<action name="Setup"
method="#{profile$edit.setup}">
<transition outcome="success"
target="Page 1"/>
</action>
<view name="Page 1"
viewId="/profile/profile1.jsp">
<transition outcome="next"
target="Page 2"/>
</view>
<view name="Page 2"
viewId="/profile/profile2.jsp">
<transition outcome="next"
target="Page 3"/>
<transition outcome="previous"
target="Page 1"/>
</view>
<view name="Page 3"
viewId="/profile/profile3.jsp">
<transition outcome="next"
target="Exit"/>
<transition outcome="previous"
target="Page 2"/>
</view>
<action name="Cancel"
method="#{profile$edit.cancel}">
<transition outcome="success"
target="Exit"/>
</action>
<action name="Finish"
method="#{profile$edit.finish}">
<transition outcome="password"
target="Page 1"/>
<transition outcome="success"
target="Exit"/>
<transition outcome="username"
target="Page 1"/>
</action>
<end name="Exit"
viewId="/usecases.jsp"/>
</dialog>
</dialogs>
-----Opprinnelig melding-----
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] vegne av Craig
McClanahan
Sendt: 20. september 2005 09:37
Til: Struts Users Mailing List
Emne: Re: [Shale] NullpointerException when running
struts-shale-usecases
Hermod,
Admittedly, the error message you received is not particularly helpful.
However, it is clearly related to a problem parsing your
dialog-config.xmlresource file. Could you please examine the area
around line 41 of this
file, and/or post the entire file for us to take a look at?
Craig
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR
Group
cannot accept any payment orders or other legally binding correspondence
with
customers as a part of an email.
This email message has been virus checked by the virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]