Sorry for what i think is a dumb question I just can get this to work. so i
am tryng to use a dialog to navigate throught some webpages.
here is the dialog.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dialogs PUBLIC
"-//Apache Software Foundation//DTD Shale Dialog Configuration 1.0//EN"
"http://shale.apache.org/dtds/dialog-config_1_0.dtd">
<dialogs>
<dialog name="ContactManager"
start="Manage">
<action name="Manage"
method="manager.managecontacts">
<transition outcome="managecontacts"
target="contactmanager">
</transition>
</action>
<view name="contactmanager"
viewId="/jsp/manager/contacts/manageContacts.jsp">
<transition outcome="add"
target="addContact">
</transition>
<transition outcome="search"
target="searchContact">
</transition>
</view>
<view name="addContact"
viewId="/addContact.jsp" >
<transition outcome="addcontact"
target="MVPManager">
</transition>
</view>
<end name="Exit"
viewId="/manager.jsp"/>
</dialog>
</dialogs>
here is the button that calls it.
<h:form>
<h:commandButton styleClass="managerboxbutton"
style="margin-top:5%;"
value="Contacts" action="dialog:ContactManager" >
</h:commandButton>
<h:commandButton styleClass="managerboxbutton" value="Contracts"
>
</h:commandButton>
<h:commandButton styleClass="managerboxbutton" value="Projects"
action="managecontacts" >
</h:commandButton>
</h:form>
and all my managecontacts method does is return a string of managecontacts
so what am i doing wrong? I am new to shale so this is probably something
simple.
_________________________________________________________________
All-in-one security and maintenance for your PC. Get a free 90-day trial!
http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail