Re: Validating user inputs

2003-04-03 Thread Steve Stair
A couple minor points 1) If your validator-rules.xml validation definition has depends=required, then you don't need to have it in the validation.xml as well. 2) Where is the form definition from your struts-config.xml? -- Steve Stair

Re: Validating user inputs

2003-04-03 Thread Steve Stair
in the execution, trying to find where the code isn't doing what you expect. If you are using IE, you might want to turn on the script debugging. You can also try loading the same page in Netscape, since it has better integrated script debugging. -- Steve Stair

SUGGESTION: Transaction token creation control instruts-config.xml (LONG)

2003-03-28 Thread Steve Stair
in the struts-config. -- Steve Stair [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [TILES] Passing attributes to tiles

2003-03-26 Thread Steve Stair
Then, inside tile-1.jsp, where you have tiles:get name=nav/ instead, put this: tiles:insert name=nav tiles:put name=hideButton beanName=hideButton beanScope=tile / /tiles:insert -- Steve Stair [EMAIL PROTECTED

Adding ActionErrors in one tile to be displayed in another

2003-03-24 Thread Steve Stair
forward=home/ /rights:notHasRights /logic:notEqual I've tried putting the error message in the session, instead of the request, and while that works, I'd have to go and remove the error or it sticks around to be displayed on every page :P Is there another way to do this? -- Steve Stair

RE: Beginner question

2003-03-19 Thread Steve Stair
I sounds like you WANT to do is redirect to a page that, when reloaded, will just redisplay the item. So, you should redirect them to a URL that contains the itemId as a parameter. -- Steve Stair - To unsubscribe, e-mail

RE: IBM AIX

2003-03-19 Thread Steve Stair
Assuming WebLogic runs under AIX, no reason that it shouldn't work. Struts is pure Java code. I'm using Struts / WebLogic on a windows box and a Sun box and both work just fine. -- Steve Stair - To unsubscribe, e-mail: [EMAIL

Re: Focus where I last clicked

2003-03-19 Thread Steve Stair
it there, is left as an exercise for the reader. :) -- Steve Stair - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with Struts Validator

2003-03-19 Thread Steve Stair
we don't want the rest of the methods to get called, since we'd get a separate alert popup for each method. The right way to do it is to call one method that gathers ALL the errors, and presents ONE alert popup. -- Steve Stair

Re: problem with vaidation of numeric field

2003-03-05 Thread Steve Stair
as a double if locale is xx_XX? (Whatever locale you are using). -- Steve Stair - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Basic Tiles question

2003-03-04 Thread Steve Stair
: [ServletException in:/tiles/test.jsp] Error - tag.getAsString : attribute 'title' not found in context. Check tag syntax' -- Steve Stair - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Unable to access title attribute in Tiles under layout(1.1-rc1)

2003-03-04 Thread Steve Stair
the documentation in Struts in Action, as well as your Tiles Advanced Features document, and still can't find this behavior explained anywhere. -- Steve Stair - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

You can also use

2003-03-04 Thread Steve Stair
You can also use action path=/someurl type=org.apache.struts.actions.ForwardAction parameter=my.default / As long as you are using Struts 1.1-rc1 -- Steve Stair - To unsubscribe, e-mail: [EMAIL

FYI: Bug fix iin RC1 changed validator behavior

2003-03-04 Thread Steve Stair
by adding required before mask in their validation configurations, but for those few who might have written code assuming this behavior, I think a note should be added to the release notes :) -- Steve Stair - To unsubscribe, e-mail

ForwardAction with Tiles in 1.1b2

2003-03-03 Thread Steve Stair
get this error message Cannot create request dispatcher for path .app.CreateUser -- Steve Stair - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Unable to access title attribute in Tiles under layout(1.1-rc1)

2003-03-03 Thread Steve Stair
=${title} / put name=header value=/tiles/header.jsp / put name=nav value=/tiles/nav.jsp / put name=messages value=/tiles/messages.jsp / put name=content value=${content} / put name=footer value=/tiles/footer.jsp / /definition -- Steve Stair

Re: Netscape 4.7x and Struts performance problems

2003-02-26 Thread Steve Stair
up 1/2 the clock cycles waiting for the server to respond. I've seen this on *nix and Windows boxes. -- Steve Stair - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Validation question

2003-02-20 Thread Steve Stair
You could create your own Validator It could keep a count of the number of fields that were validated, as well as whether any of the fields were non-empty. Then while the last field was being validated, if could add an error if the all the fields had been empty. -- Steve Stair [EMAIL PROTECTED

Re: One ActionForm for multiple JSP

2003-02-19 Thread Steve Stair
There is a bug in multipage DynaValidatorForm usage http://www.mail-archive.com/struts-user@jakarta.apache.org/msg55576.html -- Steve Stair [EMAIL PROTECTED] (512) 463-7991 - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Mutliform validation using a DynaValidatorForm

2003-02-19 Thread Steve Stair
There is indeed a bug in multipage DynaValidatorForm usage http://www.mail-archive.com/struts-user@jakarta.apache.org/msg55576.html -- Steve Stair [EMAIL PROTECTED] (512) 463-7991 - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Struts Validator: validation.xml : Doubts

2003-02-13 Thread Steve Stair
Just as with the struts-config.xml, the best documentation is in the DTD. http://jakarta.apache.org/commons/dtds/validator_1_0.dtd -- Steve Stair [EMAIL PROTECTED] (512) 463-7991 - To unsubscribe, e-mail: [EMAIL PROTECTED