Dave Newton wrote:
Shervin Asgari wrote:
Well since I am quite new to Struts, I just thought maybe something
was wrong with the ActionForm, because the forwards doesn't work. They
work for some parts of the system, but for others they don't.
In tiles-defs I have:
<definition name=".domainAdminEdit" extends=".tiles-adminpage" >
<put name="content" value="/website/domainAdminEdit.jsp" />
</definition>
and in the class DomainWebsiteAdminAction I have
* @struts.action-forward name="domainwebsiteAdminEdit.page"
path=".domainwebsiteAdminEdit"
I don't know whatt magic transformations whatever your doclet markeup
makes, but here you have ".domainwebsiteAdminEdit" whereas your
definition is called ".domainAdminEdit"
Those are different.
Are you, perhaps, redirecting to a tile that does not exist?
Dave
No, this is because I didn't copy paste everything.
Here is what my xdoclet code says:
* @struts.action name="domainWebsiteForm"
path="/admin/domainwebsiteAdmin" scope="request"
* parameter="method"
* @struts.action-forward name="domainwebsiteAdmin.page"
path=".domainwebsiteAdmin"
* @struts.action-forward name="domainwebsiteAdminEdit.page"
path=".domainwebsiteAdminEdit"
* @struts.action-forward name="domainwebsiteAdminDeleteOK.page"
path=".domainwebsiteAdminDeleteOK"
*
I also have in my titles-def corresponding definitions:
<definition name=".domainAdminEdit" extends=".tiles-adminpage" >
<put name="content" value="/website/domainAdminEdit.jsp" />
</definition>
<definition name=".domainwebsiteAdminEdit" extends=".tiles-adminpage" >
<put name="content" value="/website/domainwebsiteAdminEdit.jsp" />
</definition>
So as you can see, (or at least from what I can see), all the linkings
should be correct, but still it shows me a blank page when I want to
redirect to the domainAdminEdit.jsp file.
So I am still confused of why this is...
Shervin
---------------------------------------------------------------------
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]