Re: I do not understand html:link with action

2002-09-22 Thread Eddie Bush

Did you examine the example application at all? :-)

I belive what you're looking for is the "name=" attribute of the link tag.

You should actually look over some of the sample applications :-)  They 
didn't write them just to make the download slower ;-)

Ralf E. Stranzenbach wrote:

>Hi,
>
>i tried to use the "html:link" tag with some action parameter within my
>navigation screen. But i can't find the right notation to reference one of
>my ActionMappings from the struts-config.xml. I've read the documentation
>but i have no idea what's wrong with it.
>
>Please enlight me!
>
>I have a second question - is there some good example on how to use multiple
>sub-applications with struts-1.1 ?
>
>Many thanks,
>Ralf E. Stranzenbach
>

-- 
Eddie Bush




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: I do not understand html:link with action

2002-09-22 Thread Taylor, Jason

sorry, my last post was a bit cryptic-- it was in response to Ralf's second
question about multiple sub-apps, not his first one about html:link-- my
bad!

-Original Message-
From: Taylor, Jason 
Sent: Sunday, September 22, 2002 2:17 PM
To: 'Struts Users Mailing List'
Subject: RE: I do not understand html:link with action


I found an example with Camino 2.0.3, a struts IDE.  My stuff is
unfortunately proprietary so I can't share it, but it's real simple to do.

Basically, when you set up your web.xml, just add more "config/"
init-params for your ActionServlet.  Like this:


action

org.apache.struts.action.ActionServlet

debug
0


config
/WEB-INF/struts-config.xml


config/random
/WEB-INF/struts-config-random.xml

1


That's really it-- be sure to have a message resources file (like this:
)
specified in your struts-config files, so you can take advantage of the
per-sub-application properties if you need it.  You can always just specify
the same file for different applications if they happen to share *all* their
properties.  Otherwise, each struts-config file should have their own
message-resources.  Make sense?

-JT

-Original Message-
From: Ralf E. Stranzenbach [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 22, 2002 1:37 PM
To: Struts Users Mailing List
Subject: I do not understand html:link with action


Hi,

i tried to use the "html:link" tag with some action parameter within my
navigation screen. But i can't find the right notation to reference one of
my ActionMappings from the struts-config.xml. I've read the documentation
but i have no idea what's wrong with it.

Please enlight me!

I have a second question - is there some good example on how to use multiple
sub-applications with struts-1.1 ?

Many thanks,
Ralf E. Stranzenbach



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



RE: I do not understand html:link with action

2002-09-22 Thread Taylor, Jason

I found an example with Camino 2.0.3, a struts IDE.  My stuff is
unfortunately proprietary so I can't share it, but it's real simple to do.

Basically, when you set up your web.xml, just add more "config/"
init-params for your ActionServlet.  Like this:


action

org.apache.struts.action.ActionServlet

debug
0


config
/WEB-INF/struts-config.xml


config/random
/WEB-INF/struts-config-random.xml

1


That's really it-- be sure to have a message resources file (like this:
)
specified in your struts-config files, so you can take advantage of the
per-sub-application properties if you need it.  You can always just specify
the same file for different applications if they happen to share *all* their
properties.  Otherwise, each struts-config file should have their own
message-resources.  Make sense?

-JT

-Original Message-
From: Ralf E. Stranzenbach [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 22, 2002 1:37 PM
To: Struts Users Mailing List
Subject: I do not understand html:link with action


Hi,

i tried to use the "html:link" tag with some action parameter within my
navigation screen. But i can't find the right notation to reference one of
my ActionMappings from the struts-config.xml. I've read the documentation
but i have no idea what's wrong with it.

Please enlight me!

I have a second question - is there some good example on how to use multiple
sub-applications with struts-1.1 ?

Many thanks,
Ralf E. Stranzenbach



--
To unsubscribe, e-mail:

For additional commands, e-mail: