Re: Tags in the body of other tags

2005-03-04 Thread Dakota Jack
Yes. This violates one of the few rules for XML. On Fri, 4 Mar 2005 11:03:28 -0500, Slattery, Tim - BLS <[EMAIL PROTECTED]> wrote: > In my JSP I want to conditionally make an image and some text into a > hyperlink, depending on conditions. So I've written this code: > > > href="e

Re: Using a CSS file

2005-03-04 Thread Tim Christopher
>> Off the top of my head I don't remember style being an attribute for the html:link tag... I'd recommend you included a 'cssStyle' global forward in your Struts config file then use something like: JSP: Struts-config.xml: Tim Christopher On Fri, 4 Mar 2005 16:16:33 -0700, Hyrum

RE: Tags in the body of other tags

2005-03-04 Thread Paul Tomsic
How about a "choose" like this: Show Me The Day --- "Slattery, Tim - BLS" <[EMAIL PROTECTED]> wrote: > > From: Joe Germuska [mailto:[EMAIL PROTECTED] > > Sent: Friday, March 4, 2005 11:14 AM > > > Solve like this: > > case > 1 > > case > 2 > > ... > > Hmmm...my

Re: Does not call action?

2005-03-04 Thread Frank W. Zammetti
Any advantage to doing this over using ForwardAction? I didn't know you could do this, I've always used ForwardAction in these cases. Just curious. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Nic Werner wrote: QUICK NOTE: Hubert brought

Re: Does not call action?

2005-03-04 Thread Nic Werner
QUICK NOTE: Hubert brought up a good point that gets asked a lot: For those of you wanting to use Struts but have some basic logic that only needs to go to JSP pages, this is a good way to do it. All your page flow still goes through Struts but you don't have to write any additional code/overhe

Re: Using a CSS file

2005-03-04 Thread Wendy Smoak
From: "Hyrum" <[EMAIL PROTECTED]> > I can't get my struts application to recognize my Style Sheet. Here is the > link I am using: > > > > I'm trying to use the css to create a style for some menu links. It works > if I use the

Using a CSS file

2005-03-04 Thread Hyrum
I can't get my struts application to recognize my Style Sheet. Here is the link I am using: My filename.css is simple: a.menu { font-size: 115%; text-decoration: none; color: Brown } I'm trying to use the css to create a style for some menu links. It works if I use t

Using a CSS file

2005-03-04 Thread Hyrum
I can't get my struts application to recognize my Style Sheet. Here is the link I am using: My filename.css is simple: a.menu { font-size: 115%; text-decoration: none; color: Brown } I'm trying to use the css to create a style for some menu links. It works if I use t

Re: Tags in the body of other tags

2005-03-04 Thread Jeff Beal
I thought about this a bit more, and I think that you can use to help alleviate concerns about duplication: On Fri, 4 Mar 2005 12:13:53 -0500, Jeff Beal <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Of course, that

Re: Does not call action?

2005-03-04 Thread Joe Germuska
At 2:55 PM -0600 3/4/05, Scott Purcell wrote: Hello, I have this in my struts-config.xml file When I call the container with "/action/manageAssets" it just forwards to the jsp page and does not use the type? I put a bunch of println statements in com.skp.action.LoginAction but it is not called

Re: Does not call action?

2005-03-04 Thread Hubert Rabago
The forward is for when you do not need to execute any Action code before showing a page, but still want the request to go through the Struts request processor instead of having the user go directly to the jsp. Hubert On Fri, 4 Mar 2005 15:15:52 -0600, Scott Purcell <[EMAIL PROTECTED]> wrote: > T

RE: Does not call action?

2005-03-04 Thread Scott Purcell
Thank you Hubert, That has been screwing me up for the past day. The docs for says there is a forward, but if the forward is used, it does not use the action? This seems kind of strange, but I got it working now. Thanks, -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECT

Re: problem in custom validation method

2005-03-04 Thread Sivakumar Santharam
Niall Pemberton blueyonder.co.uk> writes: > > The validation method signatures in Struts 1.2 changed from ActionErrors to > ActionMessages, but it looks like you're trying to use a Struts 1.1 format > method with Struts 1.2. > > Try changing your method signature to use ActionMessages. > > Nia

Re: Does not call action?

2005-03-04 Thread Hubert Rabago
You probably meant to do something this: ... where LoginAction would return mapping.findForward("success"); The way you wrote it told Struts that for requests that match "/manageAssets", it should automatically redirect the request to the "/jsp/admin/manageAssets.jsp" Hubert On

Does not call action?

2005-03-04 Thread Scott Purcell
Hello, I have this in my struts-config.xml file When I call the container with "/action/manageAssets" it just forwards to the jsp page and does not use the type? I put a bunch of println statements in com.skp.action.LoginAction but it is not called? Could I be missing something? Thanks,

Re: problem in custom validation method

2005-03-04 Thread Sivakumar Santharam
Niall Pemberton blueyonder.co.uk> writes: > > Probably the best place to look is the "upgrade notes" page in the wiki. > Unfortunately this issue wasn't on it, so I've just added a note about it. > > http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 > > Niall > > - Original Message

RE: Tags in the body of other tags

2005-03-04 Thread Slattery, Tim - BLS
> From: Joe Germuska [mailto:[EMAIL PROTECTED] > Sent: Friday, March 4, 2005 11:14 AM > Solve like this: > case 1 > case 2 > ... Hmmm...my problem is that in some cases I want the link to exist, in other cases I want it to disappear. This seems to always put the link there, but switch the URL.

Re: Tags in the body of other tags

2005-03-04 Thread Jeff Beal
Of course, that duplicates the tag, but that should not be a huge problem. -- Jeff On Fri, 4 Mar 2005 11:03:28 -0500, Slattery, Tim - BLS <[EMAIL PROTECTED]> wrote: > In my JSP I want to conditionally make an image and some text into a > hyperlink, depending

Re: Tags in the body of other tags

2005-03-04 Thread Joe Germuska
At 11:03 AM -0500 3/4/05, Slattery, Tim - BLS wrote: In my JSP I want to conditionally make an image and some text into a hyperlink, depending on conditions. So I've written this code: Pay Group 1 I'm getting a syntax error, pointing to the first

RE: Tags in the body of other tags

2005-03-04 Thread Günther Wieser
yes, it's not possible to open a tag within the body of another tag and close it somewhere else. look at the tag lifecycle in the j2ee api doc and then you'll understand why. shortly spoken: tags can only be nested in a hierarchy. kr, guenther -Original Message- From: Slattery, Tim - BLS

[OT] Spring Container talk at VeriSign on 4/6 at 7pm

2005-03-04 Thread Van
Although this is a free event open to the general public, an advance email RSVP is requested. The event will take place at VeriSign in Mountain View, California. For instructions on where to send your RSVP and directions to the meeting site, please see the full online event announcement: http://ww

Tags in the body of other tags

2005-03-04 Thread Slattery, Tim - BLS
In my JSP I want to conditionally make an image and some text into a hyperlink, depending on conditions. So I've written this code: Pay Group 1 I'm getting a syntax error, pointing to the first line. I don't see any syntax problems. Is it imper

Re: DynaActionForm question / FW: ActionForms and Interfaces

2005-03-04 Thread Chad Baker
This was posted a couple weeks back... -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 1:15 PM To: Struts Users Mailing List; Matthew Hughes Subject: Re: ActionForms and Interfaces IIRC, there's some ongoing work to provide an "exten

Re: validatorForms and deprecated actionerrors

2005-03-04 Thread Bill Siggelkow
If you want to leave your code as is, then, yes, you should just wait. I don't think the deprecation "problem" is something you need to fix -- its just a warning that, in this case, is benign. On 2005-03-03 23:38:50 -0500, Paul Tomsic <[EMAIL PROTECTED]> said: hmmm, are you saying that I should

Re: DynaActionForm question

2005-03-04 Thread Hubert Rabago
This feature is not yet supported on current Struts versions. It is, however, currently being developed with the intention of supporting this in the 1.3.x release. Hubert On Fri, 4 Mar 2005 13:06:14 -, Marco Mistroni <[EMAIL PROTECTED]> wrote: > Hello all, > Silly question.. > I have

DynaActionForm question

2005-03-04 Thread Marco Mistroni
Hello all, Silly question.. I have 3-4 different action forms which shares common properties, plus have Some properties specific to each form. I was wondering, is it possible to define a base DynaActionForm, and have all my forms extend it? If, so how? If I define and

Re: Struts Or Spring

2005-03-04 Thread Larry Meadors
Struts does not require a form bean. Doing what you are describing is trivial with struts tags or even vanilla jstl tags. If you are using servlet 2.4 (tomcat5), it is even more trivial. They all use reflection to get to the properties, and the beans can be in any scope. I guess I am making the ass

RE: Reloading Configuration File

2005-03-04 Thread Paul Tomsic
take a look at jboss. I'm late on the thread, but if all you're looking to do is hot-deploy, then this'll do it for you. JBoss uses tomcat as an MBean, so you're still getting the tomcat functionality as your container, but you're also getting a ton more. just a suggestion. --- Mark Benussi <[EMA

RE: Reloading Configuration File

2005-03-04 Thread Mark Benussi
Thanks for your replies, Wendy and Bill. Yes I could reload the webapp but, and this is a big but, the start-up of my server takes a good while longer than reloading the struts config. There are things going on that are not contained within my struts config (Such as web services instantiation, XSL