Re: DynaActionForm in session scope

2002-12-13 Thread Gemes Tibor
2002. december 13. 20:00 dátummal Charles ezt írtad: Thanks for your help. But I'm still a little confused. How do you extend a DynaActionForm? I thought it was created on the fly. Only the properties are created on the fly, the class itself is org.apache.struts.action.DynaActionForm. So here

Re: replacement values

2002-12-13 Thread Gemes Tibor
2002. december 13. 08:30 dátummal Mohan Radhakrishnan ezt írtad: Hi, bean:message accepts only five replacement values. Is there an alternative ? JSTL ? Split up the message. I can hardly think of any case in which you have more than 3 values... Or extend the taglib. Tib -- To

RE: org.apache.jasper.JasperException: No getter method for property appauth.aAuthLevel of bean element

2002-12-13 Thread shirishchandra . sakhare
Hi, The problem has to do with java beans specification 1.01 section 8.8 The mechanism used by java beans introspection to derive method names from property names is like this. 1.Append get/set to peoperty name and capitilise first letter of property.(e.g. for a property name, method names

Re: Using HTML frames in Struts

2002-12-13 Thread Mark
Alex I'm not qualified to say what's best practice... So i won't bulshit you by pretending i am. If i wanted to have a submit button in a seperate frame for a form in another frame i'd be looking at the following.. Form 1 exectutes and action that then executes the submit action for your second

Re: How to access CVS log information

2002-12-13 Thread Mark
Once you project is checked out use ' cvs log '. This will print the cvs log to your terminal. Cheers mark On 13-12-2002 3:44, David Graham [EMAIL PROTECTED] wrote: I use eclipse to open up a particular .java file in the resource history view. This shows all the changes that were made, by

Re: Struggling with indexed/repeating input fields in forms

2002-12-13 Thread Michael Olszynski
The same problem with the nested tags occurs. So I´m still trying to figure out why it doesn´t work. But thanks for u´r help! Take care Michael -- Fehlerfreie Software wirkt weniger komplex und diskreditiert damit den Entwickler! - Original Message - From: Stephen Ting [EMAIL PROTECTED]

Last Nightly build

2002-12-13 Thread Fabrice BLANQUART
Hi Is it normal that the contrib part( especialy struts-el) of the binary nightly build has disappeared ? Rgs Fabrice BLANQUART -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Struggling with indexed/repeating input fields

2002-12-13 Thread Michael Olszynski
Hi Brian, I didn´t really get everything what u wrote. (It´s a problem of my bad english, I guess). But I made myself some thoughts about what u worte about id. And finally I got my error why I only could read from my formbean but not submit any changes in the bean. The error was the id (I

Re: Last Nightly build

2002-12-13 Thread Gemes Tibor
2002. december 13. 10:34 dátummal Fabrice BLANQUART ezt írtad: Is it normal that the contrib part( especialy struts-el) of the binary nightly build has disappeared ? There is a mail about this issue on the list by every 1-2 days. Try to access the cvs. Tib -- To unsubscribe, e-mail:

Re: Last Nightly build

2002-12-13 Thread V. Cekvenich
As I was peeking on the dev list, it might take them a few days to fix so it's in the build. .V Fabrice BLANQUART wrote: Hi Is it normal that the contrib part( especialy struts-el) of the binary nightly build has disappeared ? Rgs Fabrice BLANQUART -- To unsubscribe, e-mail:

ActionErrors = Null

2002-12-13 Thread Jordan Thomas
Hi, If I call ActionErrors errors = languageForm.validate( mapping, request ); How can be errors null? thanks Jordan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Why is token checking only available when control has passed to the Action class?

2002-12-13 Thread Edgar P. Dollin
One solution is to make the increment of the array size a separate request so that your Bean can be expanded, i.e. insert rows, add record. Edgar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 6:21 PM To: '[EMAIL PROTECTED]'

Re: ActionErrors = Null

2002-12-13 Thread Gemes Tibor
2002. december 13. 11:12 dátummal Jordan Thomas ezt írtad: Hi, If I call ActionErrors errors = languageForm.validate( mapping, request ); Because if you receive the execute method of your Action, you will be ensured that there was no validating error in the Form. If there were any error,

OptionsCollection

2002-12-13 Thread Mark
Hello I've a number of collections already defined that end up being passed to my jsp's via the request object. Users in this case is a map defined in my business logic class that does db queries. users = (ListUsers).getUsers(); request.setAttribute(users,users); I itertate through this

RE: OptionsCollection

2002-12-13 Thread shirishchandra . sakhare
Also i dont understand why u need to access the request directly.I mean why are u setting all the collections as request attributes.GEnerally I think the good design is when u r FormBEan represents the screen data.So in this case whatever u need on screen will become attribute of form. I know

Re: DynaActionForm in session scope

2002-12-13 Thread Charles
Hi Tibor, Good examples and explanations. I have a clearer picture of how it works now. Thanks! - Original Message - From: Gemes Tibor [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, December 13, 2002 12:15 AM Subject: Re: DynaActionForm in session scope

Re: OptionsCollection

2002-12-13 Thread Mark
I've read the documentation.. The confusion is how do i access a collection when the action returns another Imagine i've a user form and a list of users on the same page. [list returned via request via action] Joe Bloggs Another User Etc Add user form Name input box Company select menu I've

RE: ActionErrors = Null

2002-12-13 Thread Jordan Thomas
OK, thanks for that. cheers Jordan -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Friday, 13 December 2002 11:31 AM To: Struts Users Mailing List Subject: Re: ActionErrors = Null 2002. december 13. 11:12 dátummal Jordan Thomas ezt írtad: Hi, If I call

Re: OptionsCollection

2002-12-13 Thread Mark
Okay... But a drop down menu is screen data. And a list of companies is something that will be used more than once. So I have a normal class in my model layer ListCompanies In my UserAction (ListCompanies).getCompanies(); But this Action's primary job is to return a list of users (which it

Re: [Way-OT] Struts and Swing

2002-12-13 Thread hammett
Thanks a lot for your help! :-) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

format messages

2002-12-13 Thread Mohan Radhakrishnan
Hi, We are trying to format messages with the resource bundle. Our messages depend on the user selection stored in the form bean. Is it a good practice to directly access the form bean from the scope and look for the values in the JSP page using tags ? The only way to access a

Validate - Struts-Config.xml - input attribute

2002-12-13 Thread Edgar P. Dollin
Has anyone ever asked for the ability to control the input attribute, i.e. for validation in a multipage form? Edgar To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

multiple file upload

2002-12-13 Thread Amit Badheka
My requirement is to upload some files, the no of files are not known as the user can add no of files to be attched/uploaded. So, I have two options for doing that - 1. I create the file button dynamically with different name, but in this case how can I add that parameter in form bean. 2. I

Could not parse taglib

2002-12-13 Thread Shabbir Khadir Mohammed
Hi Friends Iam getting the follwoing Error. What could be the Reason? Iam using weblogic5.10 as app server. * Parsing of JSP File '/Sample Hello.jsp' failed:

Use of Struts 1.0.2 template tag doesn't display jsp errors in included files

2002-12-13 Thread Michael Echerer
Hi all, I'm using Tomcat 4.1.15 with Struts 1.0.2 and set up a framework to use templates with the template-Tags. I already set template:get flush=false but I still don't get any exceptions dumps if a part of jsp code is incorrect in any of the included files. The template part causing that

Re: OptionsCollection

2002-12-13 Thread V. Cekvenich
Put it in application scope. Mark wrote: I've read the documentation.. The confusion is how do i access a collection when the action returns another Imagine i've a user form and a list of users on the same page. [list returned via request via action] Joe Bloggs Another User Etc Add user form

Re: OptionsCollection

2002-12-13 Thread V. Cekvenich
Use Struts-menu from sf.net. Mark wrote: Hello I've a number of collections already defined that end up being passed to my jsp's via the request object. Users in this case is a map defined in my business logic class that does db queries. users = (ListUsers).getUsers();

Re: OptionsCollection

2002-12-13 Thread V. Cekvenich
Confused as to what your confusion is. Are you confused that you see one thing and display another (which I get a lot from my students?). There are 2 things going on, a client/browser side join not a db/server side join. Example, you have a formBean with dept 101 a numeric field. You unit

Struts Console

2002-12-13 Thread Edgar P. Dollin
Is there a way to copy entries as the normal cut and paste windoze operations don't seem to function. Thanks Edgar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: Struts Console

2002-12-13 Thread James Holmes
The normal Ctrl-C, Ctrl-V stuff should work. If you have a specific example that isn't let me know. -james --- Edgar P. Dollin [EMAIL PROTECTED] wrote: Is there a way to copy entries as the normal cut and paste windoze operations don't seem to function. Thanks Edgar -- To

RE: Re: OptionsCollection

2002-12-13 Thread shirishchandra . sakhare
Hi, There are many ways of doing this.So first is as the collection is being displayed on screen,make it an attribute of form and popolate it in action on form.So in jsp u will access like a form attribute. But the problem with this approach is If u get an error and forward back the user to

Struts validating with beta2 not working

2002-12-13 Thread Kwabla, Bens
Hi All! I had the client-side validation working under struts version before the beta 2. Now my application has been migrated to the beta 2 of struts. Since then, my client-side validation is no longer working. I understand the validating logic has been adopted into commons. Can some tell me what

Regarding implementation of struts using iPlanet4.1

2002-12-13 Thread Shiva Kumar T
Hi, Is it possible to use struts framework in iPlanet4.1 server. iPlanet 4.1 does n't support taglibraries etc. Please let me know if anybody implemented any project on iPlanet4.1 using struts framework. Thanx Shiva -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Use of Struts 1.0.2 template tag doesn't display jsp errors in included files

2002-12-13 Thread mech
Solved the problem myself by migrating to Struts 1.1b2 and using the tiles instead. Now I get an jsp error message in each tile and can debug more easily. Also solved some other difficulties with pathes to resources that can now be context relative instead of template relative... -Original

RE: Submitting to the same JSP

2002-12-13 Thread Sri Sankaran
Can you please elaborate? Are you saying that the following works JSP-1 - Action-1 - JSP-2 but JSP-1 - Action-1 - JSP-1 doesn't. Make sure that you are referring to the bean with the same id under which you have saved it (to request/session). Can you post the relevant JSP (both JSP-1

a question about transaction tokens

2002-12-13 Thread Andy Kriger
I'm wondering how these are used. They're not mentioned in the O'Reilly book or in the docs. After calling generateToken, do I need to wrap my action's execute code in an isTokenValid block to check for an existing token? For example... execute(...) { generateToken(request);

RE: a question about transaction tokens

2002-12-13 Thread shirishchandra . sakhare
search the mailing list archive for Token mechanism in Struts: U will find teh answers...a few very good mails... -Original Message- From: akriger [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 4:09 PM To: struts-user Cc: akriger Subject: a question about transaction tokens

RE: [ANNOUNCE] Shameless Plug: Struts Kick Start now available for shipping at Amazon

2002-12-13 Thread Dudley . Butt
looks like a good buy, but how do u feel your book is different or offers something advantageous in comparison to Chuck Cavaness' or Craig's book? -Original Message- From: James Turner [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 8:05 AM To: [EMAIL PROTECTED] Cc: [EMAIL

validation problem with JVM of j2sdk1.4.1_01

2002-12-13 Thread Iris
Hello, I've spend hours to find why my validation suddenly doesn't work. When I remembered that I've change my JVM j2sdk1.4.0 to j2sdk1.4.1_01, effectivly if when I put back the JVM j2sdk1.4, the validation works again. I doesn't find any bug report on this. Is anybody else had a validation

Chaining actions

2002-12-13 Thread mailinglists
Hopefully someone can advise me how to get round this. Essentially I have an action that prepares a page, then forwards to a jsp. The jsp submits back to the same action, the action carries out certain operations dependant upon a hidden flag, then if necessary forwards on to another action,

RE: a question about transaction tokens

2002-12-13 Thread Andy Kriger
i'd love to do that however whenever i text search i get an error 'Text search not available for this list'. i reported this on the mailing list a few days ago but got no response. so, can someone answer my question here? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: Struggling with indexed/repeating input fields

2002-12-13 Thread Brian DeLuca
Yes Micheal you've got it. Let me warn you though. In the scenario I was giving you there was a level of nesting that you don't have. If you ever come across the scenario where you need to have foo.something[0].property You will find that putting logic:iterate

catch MaxLengthExceededException

2002-12-13 Thread Bernhard Oberndorfer
Hello I want to set a limit for uploaded files. So my struts-config.xml looks like this: controller maxFileSize=1M contentType=text/html locale=true/ But howto do I recognize, that a file larger than 1M was uploaded. Can I catch the MaxLengthExceededException or can I overload

RE: a question about transaction tokens

2002-12-13 Thread Sri Sankaran
I've found The Mail Archive's (Marc) search to be most useful. Try http://marc.theaimsgroup.com/?l=struts-user Sri -Original Message- From: Andy Kriger [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 10:21 AM To: Struts Users Mailing List Subject: RE: a question about

RE: a question about transaction tokens

2002-12-13 Thread Brian DeLuca
To implement is pretty straight forward Action A -- generate token route to JSP A JSP A routes to Action B -- In action B call isTokenValid if you want to continue Token validation call saveToken then route to JSP C. JSP C then routes to Action C -- call isTokenValid then call

RE: [ANNOUNCE] Shameless Plug: Struts Kick Start now available for shippingat Amazon

2002-12-13 Thread Kevin . Bedell
As James co-author, let me speak to this. To begin with - I'd like to say that all authors that have put together books on Struts have put a lot of work into it and have all done well. I've read most all the books that are currently available and have to honest - they're all good! No bad words

Page scope bean and nested:iterate

2002-12-13 Thread Jim Krygowski
Hi- I'm using nested:iterate and have not been successful in using the id attribute of the iterate tag. The documentation for nested:iterate is just the documentation for logic:iterate so I would imagine that nested:iterate should support id. I have some code like where theBean is the source of

nested tag error

2002-12-13 Thread Brian Buckley
Here's a snippet of JSP which is not working: nested:nest property=foo nested:select property=bar / nested:options collection=prompt_set property=key labelProperty=value / /nested:select /nested:nest It is giving a compile error org.apache.jasper.JasperException: Options tag must be

RE: [ANNOUNCE] Shameless Plug: Struts Kick Start now available for shipping at Amazon

2002-12-13 Thread Ron Day
I'd like to second what Kevin has said. I have bought and read every book on Struts, in the order that they were published. I got Kick Start this Wednesday. (Sams sent it overnight for $8.). My three favorite books are Chuck's, Ted's and Kick Start. All three are different, have the personalities

Re: nested tag error

2002-12-13 Thread Justin Ashworth
Your nested:select is closing itself off. Remove the / at the end of the tag and it should work. Justin - Original Message - From: Brian Buckley [EMAIL PROTECTED] To: Struts Users [EMAIL PROTECTED] Sent: Friday, December 13, 2002 10:54 AM Subject: nested tag error Here's a snippet of

Re: Using HTML frames in Struts

2002-12-13 Thread Brian DeLuca
check your frame SRC in your frameset. Secondly are you running it through a servlet container. Because merely clicking on it as a file will not work because the JSP needs to be compiled? -- silly but we use it and it is not a problem. hth b- --- On Thu 12/12, David Rothschadl

Integer Validation - Not catching invalid input.

2002-12-13 Thread Walk, Christopher
I'm experiencing a problem with the integer validator. The validator is not catching invalid integer input at the client (in the javascript). I've traced through the execution path and the validateInteger() function exits out on the oInteger = line below (IOW, never makes it to alert(2)):

RE: How to access CVS log information

2002-12-13 Thread James Higginbotham
Try: cvs log filename James -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 8:44 PM To: [EMAIL PROTECTED] Subject: Re: How to access CVS log information I use eclipse to open up a particular .java file in the resource

RE: [ANNOUNCE] Shameless Plug: Struts Kick Start now available for shipping at Amazon

2002-12-13 Thread Dudley . Butt
thanx for the info guys, i think everyones done a damn nice job of it all, i've decided that I'm just going to have to buy all 3, i just can't seem to decide which one or two to buyexcellent job!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday,

Re: nested tag error

2002-12-13 Thread Brian Buckley
!!! That fixed it indeed. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: nested tag error

2002-12-13 Thread Cory Newey
Your problem is that your opening nested:select tag is closed (see the '/' at the end?). Change the tag to: nested:select property=bar and everything should work. [EMAIL PROTECTED] 12/13/02 08:54AM Here's a snippet of JSP which is not working: nested:nest property=foo nested:select

RE: How to access CVS log information

2002-12-13 Thread James Higginbotham
Sorry, I forgot to add the help.. It allows you to specify the date range as well, and you can do just one file or a whole tree.. I think Ant offers a tag for this in 1.5.1 that can assist with additional options as well. HTH, James Usage: cvs log [-lRhtNb] [-r[revisions]] [-d dates] [-s

RE: Page scope bean and nested:iterate

2002-12-13 Thread Sri Sankaran
The id attribute of the nested:iterate is a handle to the current element in the iteration. So, by definition, the reference cannot be null -- 'cos if it were, you'd be out of the iteration. Make sense? So, methinks you *shouldn't* need to test if it is present. I know all this doesn't

RE: Page scope bean and nested:iterate

2002-12-13 Thread Jim Krygowski
Hi Sri- Thanks for trying. If I don't nest the element.getName() in the logic tag it completely blows up with a big fat NullPointerException. The element is definitely not there. I stepped through the code and it looks like id is always getting removed from the page context! This is the code

Null pointer exception with

2002-12-13 Thread Declan O'Shanahan
Hi there, Has anybody seen the following error before. I am using Jdk1.4.1, Tomcat 4.0.3 and Struts 1.1b2. I was previously using Jdk1.3.1_04 with no problems and the problem has only surfaced since moving to Jdk1.4.1. Any hints on this would be appreciated.

no getter method exception ?

2002-12-13 Thread Sash Sash
I have a form bean that has getter methods that return a string and setter methods that take a string. That all works great. I decided to add some setter methods (used in my action class) that accept an int as a parameter. As soon as I overloaded the original setter methods, i get the

Re: ActionErrors = Null

2002-12-13 Thread David Graham
null is a valid return from the validate method. It indicates there were no errors. An empty ActionErrors object also indicates that. See the javadoc for details. David From: Jordan Thomas [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts-User [EMAIL

[FRIDAY] Best error message ever

2002-12-13 Thread Nelson, Laird
Just ran across this error message in an old legacy system (I couldn't make this up if I tried): Unspecified security problem. Please investigate yourself, but call [name changed to protect the innocent] team if you get stuck. Cheers, Laird -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

Re: Struts validating with beta2 not working

2002-12-13 Thread David Graham
You need to tell us exactly what not working means. Did you replace all the jars in WEB_INF/lib with the new ones for beta 2? David From: Kwabla, Bens [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: Struts

RE: Move to TilesRequestProcessor results in forwarding exception.

2002-12-13 Thread Jerome Jacobsen
Cedric, My webapp makes no use of Tiles yet. The first step in my refactoring was to add the tiles plug-in. That is where I'm stuck. I have no tiles definitions yet. So do I still need a tiles definitions file? For some reason I can't get Tiles logging to work. I see that it uses the

Context Based Rollbacks from Action

2002-12-13 Thread Hookom, Jacob John
I'm looking for best practices for context based rollbacks. An example would be: department.do?dptId=4559 --submit on addEmployeeForm.do --error occurred, rollback to department.do?dptId=4559 Of course the departmentId would be passed in the employee form, so it could be passed back in the

RE: Page scope bean and nested:iterate

2002-12-13 Thread Sri Sankaran
Where did you derive the code snippet you sent? Is it possible there is some name collision ('element')? AFAIK, the nested tags simply set the stage (set the bean name and property) and delegate the actual iteration to their logic counterpart. Sri -Original Message- From: Jim

RE: no getter method exception ?

2002-12-13 Thread Karr, David
Sorry. Read the JavaBeans specification. A JavaBeans property has only one type. It's unfortunate that it's not easy to diagnose mistakes in following the JavaBeans specification. You often get unintelligible errors like you got. -Original Message- From: Sash Sash [mailto:[EMAIL

RE: Using HTML frames in Struts

2002-12-13 Thread Viggio, Alex
Thanks Mark, Any other suggestions for having a submit button in one frame submit a form in a separate frame? Our web dev policy is to avoid Javascript, so any ideas along those lines are appreciated. - Alex -Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, December

RE: Using HTML frames in Struts

2002-12-13 Thread Brian DeLuca
My guess is that you will need Javascript. Working in a frames environment and making things happen in an other frame other than the one you are working in is tricky stuff and the only way I have been able to do it is through the use of Javascript. The only flaw i see below is that you

RE: Move to TilesRequestProcessor results in forwarding exception.

2002-12-13 Thread Jerome Jacobsen
With just the controller processorClass=org.apache.struts.tiles.TilesRequestProcessor/ I get the following error. 2002-12-13 17:07:57 action: Error - TilesRequestProcessor : Definition Factory not found for subapp ''. Do you have declared appropriate plugin in struts-config.xml ? If instead I

Re: [FRIDAY] Best error message ever

2002-12-13 Thread Peter S. Hamlen
LOL! Please investigate yourself? Do you need to hire a private investigator to run a background search on yourself? :) -Peter On Fri, 2002-12-13 at 12:42, Nelson, Laird wrote: Just ran across this error message in an old legacy system (I couldn't make this up if I tried): Unspecified

News server

2002-12-13 Thread John Zoetebier
Hi, Does anybody know where the news server of this mailing list can be found ? Link http://www.proj.com/subscribe.jsp is broken. -- John Zoetebier -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: [FRIDAY] Best error message ever

2002-12-13 Thread James Turner
Laird Nelson wrote: Just ran across this error message in an old legacy system (I couldn't make this up if I tried): Unspecified security problem. Please investigate yourself, but call [name changed to protect the innocent] team if you get stuck. Cheers, Laird Not even close: Back when I

RE: Page scope bean and nested:iterate

2002-12-13 Thread Edgar P. Dollin
If you look at the tag, I believe it is keeping a reference to the original property of the bean, and basing everything from that. Edgar -Original Message- From: Jim Krygowski [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 11:39 AM To: 'Struts Users Mailing List' Subject:

how do i set the HTML name attribute of an input element?

2002-12-13 Thread Andy Kriger
I would like to set the HTML name attribute of an input element (e.g. image). The name attribute in Struts html-tag land refers to the form bean backing the HTML form. Is there a different attribute that handles the HTML name attribute? thx andy -- To unsubscribe, e-mail: mailto:[EMAIL

Re: [FRIDAY] Best error message ever

2002-12-13 Thread Eddie Bush
LMAO - that's too funny! (I guess the server is back up now!) James Turner wrote: Laird Nelson wrote: Just ran across this error message in an old legacy system (I couldn't make this up if I tried): Unspecified security problem. Please investigate yourself, but call

Re: Move to TilesRequestProcessor results in forwarding exception.

2002-12-13 Thread Cedric Dumoulin
It is true that the tiles config file is optional. But if you don't have a tiles config file, this means that you don't use tiles definitions. So, you don't need the TilesRequestProcessor and the TilesPlugin ... The TilesRequestProcessor is used to catch definition names. It queries the

RE: how do i set the HTML name attribute of an input element?

2002-12-13 Thread Karr, David
In Struts tags, the property attribute maps to the HTML name attribute. -Original Message- From: Andy Kriger [mailto:[EMAIL PROTECTED]] I would like to set the HTML name attribute of an input element (e.g. image). The name attribute in Struts html-tag land refers to the form bean

html:errors location

2002-12-13 Thread Joao Araujo
Hi, According to the TIP Don't settle for html:error/ at http://husted.com/struts/tips/index.html, from Ted Husted I can add an error by the side of the property that caused it. something like this: To specify that this message is for the username

Test

2002-12-13 Thread Eddie Bush
testing ... testing ... please ignore me. -- Eddie Bush -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: html:errors location

2002-12-13 Thread Scott Reisdorf
To place the error beside the text field, you explicitly call it next to each field. In your case, simply do this: html:text property=username /nbsp;html:errors property=username / br html:password property=password /nbsp;html:errors property=password / Hope this helps, -scott At 06:52 PM

RE: nested tag error

2002-12-13 Thread Edgar P. Dollin
As an aside on this issue, I have found that using XML syntax for jsp helpful as it would have given you a message about unmatched tags. Not just jsp but also html and other tags (handy for really large tables, etc). Edgar -Original Message- From: Cory Newey [mailto:[EMAIL PROTECTED]]

[OT] Re: Test

2002-12-13 Thread micael
You okay Eddie? Why is this such a slow Friday? Ignore me too? At 05:13 PM 12/13/2002 -0600, you wrote: testing ... testing ... please ignore me. -- Eddie Bush -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Micael

logic:iterate, length, offset

2002-12-13 Thread Cathy Osekizoglu
Hi: I have 12 items in a collection. I want to display the first 10 items on the first page, and the rest 2 items in the next page. How can I control it using logic:iterate tag. I used length=10 and offset=%= pagerOffset% as the attribute of logic:iterate. But it only show the first

RE: a question about transaction tokens

2002-12-13 Thread Andy Kriger
When you say 'In action B' call isTokenValid, do mean wrap action B's code with an if block. And if you do that, what do you do for else (since you have to return some kind of ActionForward from the execute method. In this case, I just want to ignore subsequent clicks to submit the form. -a

html:errors location

2002-12-13 Thread Joao Araujo
Hi, According to the TIP Don't settle for html:error/ at http://husted.com/struts/tips/index.html, from Ted Husted I can add an error by the side of the property that caused it. something like this: To specify that this message is for the username property, we would code this

RE: html:errors location

2002-12-13 Thread Yee, Richard K,,DMDCWEST
Joao, Did you do this? PUsername: html:text property=username/html:errors property=username//P PPassword: html:password property=password/html:errors property=password//P Regards, Richard -Original Message- From: Joao Araujo [SMTP:[EMAIL PROTECTED]] Sent: Friday,

RE: [ANNOUNCE] Shameless Plug: Struts Kick Start now available for shipping at Amazon

2002-12-13 Thread Chappell, Simon P
I just received my copy, so I'll post a review sometime next week. The initial look is very good and it looks well researched. Simon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 10:16 AM To: [EMAIL PROTECTED] Subject: RE:

logic:iterate

2002-12-13 Thread Cathy Osekizoglu
Hi: I have 12 items in a collection. I want to display the first 10 items on the first page, and the rest 2 items in the next page. How can I control it using logic:iterate tag. Thank you for your help. Regards, Cathy - Post your free ad now! Yahoo! Canada

RE: Submitting to the same JSP

2002-12-13 Thread Harshal D
Yes I am doing: JSP-1 - Action-1 - JSP-1 Action handler class: ProductVO pv = new com.openstack.struts.testapp.ProductVO(); pv.setProductID(AH); request.setAttribute(pv, pv); In JSP: logic:present parameter=pv bean:define id=pv name =pv scope=request

RE: no getter method exception ?

2002-12-13 Thread Brian DeLuca
That is the JavaBean specification, but depending on what you are doing you can always create a method named getIntRounds() setIntRounds( int i ) etc.. get the idea don't name the extra getters/setters the same name of the member. Then in bean write you can always call and it

Re: [OT] Re: Test

2002-12-13 Thread Eddie Bush
Best I can tell nagoya got hosed up somehow. issues.apache.org was down, which is the same server the lists run on. If you're ever in doubt on whether the list is probably down, just try to hit bugzilla. If you can't connect, it's likely down. micael wrote: You okay Eddie? Why is this such

Re: logic:iterate, length, offset

2002-12-13 Thread Dan Tran
Please look up key word paging in this mail archive. There are plenty of discussions about what you'd like to do. -D - Original Message - From: Cathy Osekizoglu [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, December 13, 2002 12:09 PM Subject:

Re: News server

2002-12-13 Thread V. Cekvenich
It will be fixed in Jan. I am moving to larger servers do to volume. 2 CPU 2.8 Ghz Xeons, with RAID 15K RPM drives. John Zoetebier wrote: Hi, Does anybody know where the news server of this mailing list can be found ? Link http://www.proj.com/subscribe.jsp is broken. -- To unsubscribe,

RE: how do i set the HTML name attribute of an input element?

2002-12-13 Thread Brian DeLuca
http://jakarta.apache.org/struts/userGuide/struts-html.html#image --- On Fri 12/13, Andy Kriger wrote:From: Andy Kriger [mailto: [EMAIL PROTECTED]]To: [EMAIL PROTECTED]: Fri, 13 Dec 2002 16:02:21 -0500Subject: how do i set the HTML name attribute of an input element?I would like to set

RE: logic:iterate, length, offset

2002-12-13 Thread Mohan Radhakrishnan
Hi, logic:iterate offset=0 length=10 So you are doing it two times like this. Isn't it ? logic:iterate ... offset=9 length=2 Mohan -Original Message- From: Cathy Osekizoglu [mailto:[EMAIL PROTECTED]] Sent: Saturday,

RE: html:errors location

2002-12-13 Thread Joao Araujo
thank you guys. Joao, Joao, Did you do this? PUsername: html:text property=username/html:errors property=username//P PPassword: html:password property=password/html:errors property=password//P Regards, Richard -Original Message- From: Joao Araujo [SMTP:[EMAIL

Re: logic:iterate

2002-12-13 Thread Affan Qureshi
You can do it manually by keeping the collection and state variables in the session which indicate the page nos and the current status of the collection. However there are some Tag Libraries available taht do just that. Check out Struts-Layout and Ed Hill's TagLibs on the Struts resources page.

Finding app context in action class???

2002-12-13 Thread Pete Serafin
Its been a while since Ive had to write code to access the application context from a struts action class and I have forgotten how to do so. Can anyone give point me in the right direction as to how to do this?

  1   2   >