U can do that..
Create a globel forward(Because if you are using forwards with links, they have to be 
global forwards.)

<forward name="myLinkl" path="/MyDefinitionAction.do"/>

Then create a action mapping for the path.
<action
                path="/MyDefinitionAction"
                type="aa.ScreenForwardingAction"
                name="SomeForm">
            <forward name="success" path="tiles.definition"/>
</action>

Here the screen forwarding action does nothing but just does a forward to 
success....THis can be used any where just by defining different success forward.


And that solves the problem.

regards,
Shirish
-----Original Message-----
From: Jeff Kyser [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 4:48 PM
To: Struts Users Mailing List
Subject: Re: Tiles Two JSP's for Displaying One Form .


So if it is just a link, can't you create a forward action that points
to a definition in your tiles-config.xml?

for example:

         <action path="/catalog/ChooseCategory"
                 parameter="order_entry.catalog.ChooseCategory"
                 type="org.apache.struts.actions.ForwardAction">
         </action>

where order_entry.catalog.ChooseCategory is mapped to a JSP in my 
tile-config.xml

no?

i think I need to throw in the towel :)

-jeff

On Tuesday, June 3, 2003, at 09:30  AM, Nimish Chourey , Tidel Park - 
Chennai wrote:

> Yes .. now you exacly understand my problem ..
> See these form pages are direct links from the Menu and not result of 
> some
> action ..
> I mean there is no form Submission and no action .. Just a link is 
> clicked
> ..
> Can you give an example for that .. if possible ..I mean how I can 
> avoid
> writing index.jsp ...
>


---------------------------------------------------------------------
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]

Reply via email to