RE: Handling multiple submits from a single form

2004-03-15 Thread Shobhana.S, ASDC Chennai
You can use Dispatch Action. IXT_5_720IXT_5_719The purpose of the IXT_5_722IXT_5_721DispatchAction class is to allow multiple operations that normally would be scattered throughout multiple Action classes to reside in a single class. The idea is that there is related functionality for a service,

Re: Handling multiple submits from a single form

2004-03-15 Thread Geeta Ramani
Sajith: This very question was asked and answered recently (just within the past couple of weeks, I think??).. Maybe you can search the archives..? Here's the url for the archives: http://www.mail-archive.com/[EMAIL PROTECTED]/ Write back to the list if you cannot find what i am referring to

RE: validation

2004-03-15 Thread Shobhana.S, ASDC Chennai
you can hve more than one resource bundle ..In struts-config file: message-resources parameter=org.apache.struts.webapp.example.ApplicationResources/ message-resources parameter=org.apache.struts.webapp.example.AlternateApplicationResources key=alternate /message-resources

Re: Using optionsCollection - LabelValueBean

2004-03-15 Thread Dean A. Hoover
I'm also a newbie, but here is an example of what I found by getting some help from the people on the list plus experimentation. Here is a helper class I wrote: package fi.els.form; import java.util.*; import org.apache.struts.util.LabelValueBean; public class CreditCardOptions { public static

Re: SV: Form Validation

2004-03-15 Thread Jignesh Patel
this though, you can just go ahead and modify the javascript you'll find in the validation-rules.xml file. -Original Message- From: Jignesh Patel [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 5:55 AM To: Struts Users Mailing List Subject: Re: SV: Form Validation I am trying

Re: SV: Form Validation

2004-03-15 Thread Christoph Kutzinski
Joe Hertz wrote: Check the Bugzilla. I believe it works in the html:errors tag, but you won't get a javascript popup. If memory serves, there's a security concern about using minlength in password fields -- basically the logic goes something like, Do you really want to be providing a front

Re: SV: Form Validation

2004-03-15 Thread Max Cooper
the registration form) to no security consequences. -Max - Original Message - From: Christoph Kutzinski [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, March 15, 2004 5:06 AM Subject: Re: SV: Form Validation Joe Hertz wrote: Check the Bugzilla. I believe

Re: SV: Form Validation

2004-03-15 Thread Jignesh
Ok Christophe, Guide me what part of validation-rule.xml, I will modify to make it validate clientside. Jignesh Patel Bang Software Technologies Pvt Ltd [EMAIL PROTECTED] (O) 022 –28304761 Ext. 17 022- 28343742 Ext. 17

Re: SV: Form Validation

2004-03-15 Thread Christoph Kutzinski
Mailing List [EMAIL PROTECTED] Sent: Monday, March 15, 2004 5:06 AM Subject: Re: SV: Form Validation Joe Hertz wrote: Check the Bugzilla. I believe it works in the html:errors tag, but you won't get a javascript popup. If memory serves, there's a security concern about using minlength in password

RE: security framework!!!

2004-03-15 Thread David Friedman
into it to ensure good http/https lock-downs. Do you have any hints/suggestions for a better methodology/way? Regards, David -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 4:25 AM To: Struts Users Mailing List Subject: Re: security framework!!! Right, I

RE: Example commons_logging.properties

2004-03-15 Thread Julio Cesar De Salvo
My version is set to work with log4j, that's where you set the logging level to INFO. Commons-logging.properties -- # Directly selects log4j logging implementation class. org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Lo g4jFactory # Maps to a

Re: [SwitchAction] How do you switch in between application contexts?

2004-03-15 Thread Mike Zatko
Ok, I don't think SwitchAction is going to do what I thought it was meant for. I need to know how to forward control to another web application. Right now, in my action, I'm doing a response.sendRedirect and returning null to the action forward. I figure there has to be a more graceful way

RE: Someone out there must have done this with Struts 1.0

2004-03-15 Thread Au-Yeung, Stella H
Thanks Niall. That's it. Puttingthe 'attrbute' in html:select solve my problem. Thanks. -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 10:54 AM To: Struts Users Mailing List Subject: Re: Someone out there must have done

RE: [OT] Jericho == Struts 2.0?

2004-03-15 Thread Joe Germuska
At 11:33 AM +0100 3/15/04, Jesse Alexander (KAID 11) wrote: + 1 Struts 2 or Struts v2 say what it is: a new major version of struts. Struts2 or Struts2EE imply: It is not Struts. It may be based on Struts, or is something similar. Jericho, or whatever other name choosen, just say nothing at

Re: iBatis, displaytag, and 10,000 rows

2004-03-15 Thread Andy Engle
Vic Cekvenich [EMAIL PROTECTED] wrote: That is bad design. Oh, I totally agree. There is no way I would want to shlep through 10,000 rows, nor would I want anybody else to have to do the same. But for some reason (as I mentioned in my initial post on this thread) my friend at work wanted to

RE: [OT] Jericho == Struts 2.0?

2004-03-15 Thread Paul, R. Chip
:) -Ursprungliche Nachricht- Von: Joe Germuska [mailto:[EMAIL PROTECTED] Gesendet: Montag, 15. Marz 2004 15:21 An: Struts Users Mailing List Betreff: RE: [OT] Jericho == Struts 2.0? At 11:33 AM +0100 3/15/04, Jesse Alexander (KAID 11) wrote: + 1 Struts 2 or Struts v2 say what it is: a new major version

RE: [OT] Jericho == Struts 2.0?

2004-03-15 Thread Brandon Goodin
so not kidding) 2. Chevrolet tried selling Chevy Nova's in Mexico Like you said, its just words... Andreas :) -Ursprungliche Nachricht- Von: Joe Germuska [mailto:[EMAIL PROTECTED] Gesendet: Montag, 15. Marz 2004 15:21 An: Struts Users Mailing List Betreff: RE: [OT] Jericho == Struts 2.0

Re: security framework!!!

2004-03-15 Thread Adam Hardy
: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 4:25 AM To: Struts Users Mailing List Subject: Re: security framework!!! Right, I get it. So you not only want the higher level user to take on the lower level user's role, you want them to have their complete ID or username etc

RE: [SwitchAction] How do you switch in between application contexts?

2004-03-15 Thread Robert Taylor
Mike, I don't believe the Servlet spec. allows you to forward to another web application. You will have to redirect. robert -Original Message- From: Mike Zatko [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 9:14 AM To: Struts Users Mailing List Subject: Re: [SwitchAction

RE: Multibox and selected values

2004-03-15 Thread Saul Q Yuan
, March 14, 2004 11:13 PM To: [EMAIL PROTECTED] Subject: Re: Multibox and selected values Saul, How can I access the current user from the form bean? The current user is in the session. So in other words my question is how can I access the session from the form bean? Thanks

RE: [OT] Jericho == Struts 2.0?

2004-03-15 Thread Paul, R. Chip
? -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 9:27 AM To: [EMAIL PROTECTED] Subject: RE: [OT] Jericho == Struts 2.0? I'm thinking Titanic, Soddom, Gommorah, Hindenburg are equally excellent names. :D [EMAIL PROTECTED] 3/15/2004 8:15:06 AM

RE: [OT] Jericho == Struts 2.0?

2004-03-15 Thread Larry Meadors
Doing a google search for struts jericho might be a good start. :) [EMAIL PROTECTED] 03/15/04 8:40 AM On a more on-topic note, where can I get info on the new features / differences in Struts 1.1 and 2.0? - To unsubscribe,

RE: Multibox and selected values

2004-03-15 Thread Amish Patel
is used. Thanks in advance for your help! From: Saul Q Yuan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Multibox and selected values Date: Mon, 15 Mar 2004 10:40:09 -0500 I am not sure you can get

Re: [SwitchAction] How do you switch in between application contexts?

2004-03-15 Thread Mike Zatko
. robert -Original Message- From: Mike Zatko [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 9:14 AM To: Struts Users Mailing List Subject: Re: [SwitchAction] How do you switch in between application contexts? Ok, I don't think SwitchAction is going to do what I thought it was meant

RE: [OT] Jericho == Struts 2.0?

2004-03-15 Thread Ted Husted
The Apache convention is to give proposals a codename. Once a working implementation is available, then, and only then, do we start making decisions that might ultimately lead to assigning version numbers. Absolutely no one is saying that this proposal is going to be Struts 2.0. It's just a

Re: [OT] Jericho == Struts 2.0?

2004-03-15 Thread Jignesh Patel
http://raibledesigns.com on this it is available find out.But not difference just download test build1.2 and make difference note and post it. -Jignesh On Monday 15 March 2004 21:14, Larry Meadors wrote: Doing a google search for struts jericho might be a good start. :) : [EMAIL

Re: [OT] Jericho == Struts 2.0?

2004-03-15 Thread Brandon Goodin
no hablar engles? [EMAIL PROTECTED] 3/15/2004 9:15:54 AM http://raibledesigns.com on this it is available find out.But not difference just download test build1.2 and make difference note and post it. -Jignesh On Monday 15 March 2004 21:14, Larry Meadors wrote: Doing a google search for

RE: Multibox and selected values

2004-03-15 Thread Craig Tataryn
class, and in your action class, try get the current user and set it in the form bean. -Original Message- From: Amish Patel [mailto:[EMAIL PROTECTED] Sent: Sunday, March 14, 2004 11:13 PM To: [EMAIL PROTECTED] Subject: Re: Multibox and selected values Saul, How can I

RE: [SwitchAction] How do you switch in between application contexts?

2004-03-15 Thread Robert Taylor
In your struts-config.xml file you can define forwards to redirect instead of forwarding. robert -Original Message- From: Mike Zatko [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 11:11 AM To: Struts Users Mailing List Subject: Re: [SwitchAction] How do you switch

RE: Multibox and selected values

2004-03-15 Thread Amish Patel
And then how do I get the session from there? I looked at the API and the servlet context object does not have access to the HttpSession object. From: Craig Tataryn [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Multibox and selected

RE: Multibox and selected values

2004-03-15 Thread Saul Q Yuan
. -Original Message- From: Amish Patel [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 11:05 AM To: [EMAIL PROTECTED] Subject: RE: Multibox and selected values How can I do what you are telling me do. Look at my code logic:iterate name=associateUserRoleForm property=allRoles id

RE: Multibox and selected values

2004-03-15 Thread Craig Tataryn
to the HttpSession object. From: Craig Tataryn [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Multibox and selected values Date: Mon, 15 Mar 2004 10:36:58 -0600 (CST) I've done this in the past within an ActionForm like so

RE: Multibox and selected values

2004-03-15 Thread Wendy Smoak
From: Craig Tataryn [mailto:[EMAIL PROTECTED] this.servlet.getServletContext().getAttribute() should give you access to beans in the user session. Application/Context scope != Session scope -- Wendy Smoak - To

RE: validator validwhen error (Repost)

2004-03-15 Thread Betty Koon
Anyone has any idea? I haven't seen anyone's reply. Thanks. -Betty -Original Message- From: Betty Koon [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 8:07 PM To: [EMAIL PROTECTED] Subject: validator validwhen error Hi, I got the following validator error, but not sure why.

RE: ActionForm necessary?

2004-03-15 Thread Johann Reyes
Hello Frank ActionForm in no necesary if you don't use the html:form tag.. if you use it then you have to use an actionform even if you don't have any validation on it. Hope it helps, Johann -Original Message- From: Frank Burns [mailto:[EMAIL PROTECTED] Sent:

RE: ActionForm necessary?

2004-03-15 Thread Wendy Smoak
From: Frank Burns [mailto:[EMAIL PROTECTED] I have a jsp form which has fields that require no validation. So I don't need to validate the form input. If I don't include an ActionForm, I get a ... null form ... error message. Does this mean that I MUST create ActionForms, even if they

RE: extending using struts

2004-03-15 Thread Qureshi, Affan
How are you transferring control from ServletA to ServletB? The request objects will only be shared if you do a server-side forward or include (using requestDispatcher for example). Otherwise if both the servlets belong to the same application the session and servletContext object will be

RE: Accessing boolean attribute using logic

2004-03-15 Thread Robert Taylor
Try this: logic:equal scope=session name=userid property=admin value=false robert -Original Message- From: Theodosios Paschalidis [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 2:04 PM To: [EMAIL PROTECTED] Subject: Accessing boolean attribute using logic Hi all, I

RE: Multibox and selected values

2004-03-15 Thread Craig Tataryn
Oh right, sorry yeah my code looks in the Application scope in this instance. For getting the request scope variables I needed I had subclassed DispatchAction for my project and set the properties on my form bean which were grabbed from the request from within an overriden dispatchMethod

RE: error message display

2004-03-15 Thread Paul, R. Chip
, footer after the last, and each error is wrapped between prefix in suffix. This goes in your ApplicationResources.properties file. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 2:14 AM To: [EMAIL PROTECTED] Subject: RE: error message

Re: Context relative URL

2004-03-15 Thread Geeta Ramani
Hi JP: I believe you can use html:rewrite for this. As in: onmouseover=this.src='html:rewrite page=/images/inicio-over.gif /' etc. Hope this helps, Geeta Joao Batistella wrote: Hello! How can I have this generated with all the images with myapp before the source of the image? Like this:

Re: dynamic javascript forms

2004-03-15 Thread Geeta Ramani
How about usng more Javascript and using onFocus() (or is it onChange()?) to populate hidden fields which can be picked up by your form bean..? (Not a solution I like but then i hate most all Javascript..) regards, Geeta mike barretta wrote: thanks in advance for any help... i have a form

RE: dynamic javascript forms

2004-03-15 Thread Hookom, Jacob
http://www-106.ibm.com/developerworks/web/library/wa-resc/ -Original Message- From: mike barretta [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 1:35 PM To: [EMAIL PROTECTED] Subject: dynamic javascript forms thanks in advance for any help... i have a form where i let the user

Re: Users logs off

2004-03-15 Thread mike barretta
, invalidated or all of its attributes have been removed before you made it to this page. ATTA - Original Message - From: Syed Kazim Hussain [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, March 12, 2004 3:03 PM Subject: RE: Users logs off Sorry, my

RE: Fundamental Struts Concept

2004-03-15 Thread Robert Nocera
Ed, I'm not sure I understand your question exactly, but I'll answer the best I can. The only information that is sent to the client is the HTML that you see in the browser. The JSP gets converted to a servlet and the servlet just writes to the HTTPResponse, not the HTTPRequest. The request

RE: dynamic javascript forms

2004-03-15 Thread Robert Nocera
I'm pretty sure you can do it if the text inputs are set up in the form as an Array of Strings and if you create your input tags to match what struts would expect from an array. If you do that, you can have your javascript create the fields dynamically as you said. It sounds like you tried this

Re: [OT] Jericho == Struts 2.0?

2004-03-15 Thread Nadeem Bitar
Which role will struts play when JSF matures, and JSF 2.0 is released is what interests me more than the proposed name of struts 2.0. On Mon, 2004-03-15 at 09:26 -0700, Brandon Goodin wrote: no hablar engles? [EMAIL PROTECTED] 3/15/2004 9:15:54 AM http://raibledesigns.com on this it

RE: server side date validation

2004-03-15 Thread Anderson, James H [IT]
formset form name=ActivityViewForm field property=starting depends=date arg0 key=ActivityViewForm.starting.displayname/ var var-namedatePatternStrict/var-name var-valueMM/dd//var-value /var

Re: [OT] Search string tokenizer

2004-03-15 Thread Larry Meadors
String.split() may be able to do that if you are a regex stud (or know one...or are good with google).. Larry [EMAIL PROTECTED] 03/15/04 2:20 PM I did a google search on this and didn't really come up with anything useful. Before I implement this myself, is there an existing implementation of

RE: Struts Validator prints all javascript functions

2004-03-15 Thread Kunal H. Parikh
Hi Guys ! Does anyone think that this could be happening because I am using Tiles ? Kunal -Original Message- From: Kunal H. Parikh [mailto:[EMAIL PROTECTED] Sent: Monday, 15 March 2004 10:12 To: 'Struts Users Mailing List' Subject: RE: Struts Validator prints all javascript functions

Re: Struts Validator prints all javascript functions

2004-03-15 Thread Theodosios Paschalidis
Hi Kunal, I do not use Tiles nor the DynaValidator but I get the same in a certain Form. I use Struts 1.1 Theo - Original Message - From: Kunal H. Parikh [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, March 15, 2004 9:38 PM Subject: RE: Struts

Re: [OT] Search string tokenizer

2004-03-15 Thread Jason Lea
Regular Expressions should work: There are a few implementations too like http://jakarta.apache.org/oro/index.html With a pattern like this: (.+|[\d\w]*) You should get close to what you need (i think the above will return the space character as a token too, not sure). And here is a program

Re: [OT] Search string tokenizer

2004-03-15 Thread Michael McGrady
I have not investigated this at all, but Lucene should, if it doesn't, do this. At 01:20 PM 3/15/2004, you wrote: I did a google search on this and didn't really come up with anything useful. Before I implement this myself, is there an existing implementation of parsing a search string which

RE: Tiles tags in the Struts-EL subproject

2004-03-15 Thread Wendy Smoak
From: Joshua Tuberville [mailto:[EMAIL PROTECTED] In a Struts 1.1 project, I am trying to find the tiles tld file that uses the el classes in the struts-el subproject. I assumed that the naming scheme would be consistent so I looked for struts-tiles-el.tld under contrib/struts-el but I only

RE: Tiles tags in the Struts-EL subproject

2004-03-15 Thread Joshua Tuberville
Wendy On Mon, 2004-03-15 at 14:49, Wendy Smoak wrote: Are you sure you're not looking at the release notes on the website, which would be for the nightly builds? There is a 1.2.0 release out now, although AFAIK it has not been promoted to an official/stable version. Yes you are correct this

RE: [OT] Search string tokenizer

2004-03-15 Thread Robert Taylor
- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 5:30 PM To: Struts Users Mailing List Subject: Re: [OT] Search string tokenizer Regular Expressions should work: There are a few implementations too like http://jakarta.apache.org/oro/index.html With a pattern

RE: Passing Value to Tile

2004-03-15 Thread Gopalakrishnan, Jayesh
Tiles attributes can be made available as request attributes using the tiles:importAttribute / or tiles:useAttribute / tags. Any name/value that you tiles:put can be made available. eg: template.jsp tiles:insert page=/test/tt.jsp tiles:put name=param1 value=1 /

RE: What is the best way to pass a parameter to a forward?

2004-03-15 Thread Gopalakrishnan, Jayesh
I have used this technique and it seems to be the only way to have the name/value pair be passed as request parameters. Don't think there's a request.setParameter() !! But request.get/setAttribute() would be the 'ideal' way to go. -jayash -Original Message- From: Glanville, Jay

Re: What is the best way to pass a parameter to a forward?

2004-03-15 Thread Joshua Tuberville
Jay, Since Struts does not differentiate between a POST and a GET, passing data as query parameters is the same as form data. You could create a form that has only the one field id which would be populated if you called a URL of /someAction?id=foo. This is what I use when I create dynamic

Re: What is the best way to pass a parameter to a forward?

2004-03-15 Thread Martin Cooper
What you are doing will not work - at least, not the way you are doing it. You are trying to modify the ActionForward instance that is owned by Struts, and calling setPath() on that instance will result in an IllegalStateException. You need to create your own ActionForward instance, instead of

RE: security framework!!!

2004-03-15 Thread Benz Lim
in struts... http://www.onjava.com/pub/a/onjava/2004/02/18/strutssecurity.html God Bless, Benz Lim -Original Message- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 10:00 PM To: Struts Users Mailing List Subject: RE: security framework!!! Adam, I should have

Re: problem with adding ActionMessage to ActionErrors

2004-03-15 Thread yoge
Use *html:messages id=msg message=false bean:write name=msg/ /html:messages* instead of *html:errors* Bradford M. Ayers wrote: I noticed in the documentation that ActionError is deprecated, so I was trying to be a good doobie and use ActionMessage like the docs say to. So in my code,

Re: Context relative URL

2004-03-15 Thread subramaniam . o
Try using html:rewrite page='/images/inicial.gif'/ Subramaniam Olaganthan Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Joao Batistella [EMAIL PROTECTED] 03/16/2004 12:35 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To 'Struts

Re: validation

2004-03-15 Thread Axel Gross
: Shobhana.S, ASDC Chennai [mailto:[EMAIL PROTECTED] Gesendet: Montag, 15. März 2004 13:43 An: Struts Users Mailing List Betreff: RE: validation you can hve more than one resource bundle ..In struts-config file: message-resources parameter

Re: Using optionsCollection - LabelValueBean

2004-03-14 Thread Hubert Rabago
The html:select needs to be provided with the property it's associated to, the one on your form bean that will hold the actual value selected. html:select property=mySelectValue style=font-size: 10px; property=goTo size=1 html:optionsCollection name=PageDetailView

Re: Checking if user has a valida session

2004-03-14 Thread Adam Hardy
List' [EMAIL PROTECTED] Sent: Saturday, March 13, 2004 5:34 PM Subject: RE: Checking if user has a valida session How about this: public boolean isUserAdmin(HttpServletRequest request) { //Check if the Admin is logged on if (isLogged(request)) { HttpSession session

Re: security framework!!!

2004-03-14 Thread Adam Hardy
On 03/13/2004 05:48 PM David Friedman wrote: My bigger problem is my scenario, which no one supports. I'd like to allow manager accounts to become one of if it's sub-accounts. My system would support at least 5 levels where 4 could 'drill down' and back up again: admin, reseller, client,

Re: html:cancel doesn't perform as advertised

2004-03-14 Thread Adam Hardy
The javascript will be output by the html:form tag and it stops javascript validation. The cancel button should look like this: input type=submit name=org.apache.struts.taglib.html.CANCEL value=Cancel onclick=bCancel=true; / The JSP should look like this: html:cancelCancel or

Re: html:cancel doesn't perform as advertised

2004-03-14 Thread Dean A. Hoover
What about the non-Javascript validation?... that's what I want to avoid. The whole Javascript validation thing is optional anyway and doesn't seem like the best way to implement it (because its optional). Dean Adam Hardy wrote: The javascript will be output by the html:form tag and it stops

Re: html:cancel doesn't perform as advertised

2004-03-14 Thread Adam Hardy
Server-side validation is skipped by struts when it sees the org.apache.struts.taglib.html.CANCEL request param. On 03/14/2004 12:20 PM Dean A. Hoover wrote: What about the non-Javascript validation?... that's what I want to avoid. The whole Javascript validation thing is optional anyway and

Re: how to use bean:define for this

2004-03-14 Thread Axel Gross
or maybe use jsp:useBean .. will create a default bean, if it can't find an instance so, if you make a bean which uses the the static method for initialisation of a collections property (in default constructor) you can go without the scriptlet regards, axel On 2004-03-13 at 14:08:13 -0500, Geeta

Re: Using optionsCollection - LabelValueBean

2004-03-14 Thread Timo Tjäder
Hi, Thanks Hubert, the problem was on the html page. 1. I forgot to add second form tag to handle page linking system on footer. 2. Also as you mentioned all the parameters must be match with the form beans I am posting. After making those changes the combox box was redered nicely on same

RE: a security framework!

2004-03-14 Thread Mailing List
Lipofsky [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 2:37 AM To: Struts Users Mailing List Subject: RE: a security framework! I did something similar. I extended each struts HTML tag to take a rule and evaluate it in doStartTag. It then returns SKIP_BODY to hide it or super.doStartTag

Re: a security framework!

2004-03-14 Thread Adam Hardy
! Surprising no one mentioned it. Why?! Is there some thing wrong with using this tag! Thanks -Original Message- From: Daniel Lipofsky [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 2:37 AM To: Struts Users Mailing List Subject: RE: a security framework! I did something similar. I

Re: html:cancel doesn't perform as advertised

2004-03-14 Thread Dean A. Hoover
Adam, OK, I get that part now... I mistakenly changed html:submit property=methodbean:message key=button.cancel//html:submit to html:cancel property=methodbean:message key=button.cancel//html:cancel which turns into input type=submit name=method value=Cancel onclick=bCancel=true; instead of

RE: security framework!!!

2004-03-14 Thread David Friedman
: Sunday, March 14, 2004 5:21 AM To: Struts Users Mailing List Subject: Re: security framework!!! On 03/13/2004 05:48 PM David Friedman wrote: My bigger problem is my scenario, which no one supports. I'd like to allow manager accounts to become one of if it's sub-accounts. My system would support

Re: Checking if user has a valida session

2004-03-14 Thread Theodosios Paschalidis
: Sunday, March 14, 2004 10:11 AM Subject: Re: Checking if user has a valida session Struts is rock solid - if something's going wrong, you can bet your bottom dollar it's something you've done. Doing it in your jsps is, as someone else said earlier, way too late. If you're not going to use

Re: Switching from HTTPS to HTTP

2004-03-14 Thread Marino A. Jonsson
PROTECTED] Sent: sexta-feira, 12 de março de 2004 13:30 To: Struts Users Mailing List Subject: Re: Switching from HTTPS to HTTP There's some java thingy you can use to do this, sslext or something.. If you are using apache for your webserver you can use mod_rewrite which means less

Re: Newbie needs help: Validator not working with Struts/Velocity

2004-03-14 Thread Marino A. Jonsson
I see nothing wrong - the actions look fine and #errorMarkup() should take care of displaying any form errors. Did you model this after the validator example in the velstruts appliction that comes with Velocity Tools 1.1-rc1? cheers, Marinó [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: Web site URL disappearing when using mod_proxy

2004-03-14 Thread Srikanth Shenoy
Ian, The Struts tags might be assuming the base href = http://localhost:8081. This is very much a possibility if you are using html:base/ tag as the servlet container interprets urls with respect to its base rather than your web server doc root. Consider using your own tag that generates base

Re: Web site URL disappearing when using mod_proxy

2004-03-14 Thread Ian Wright
Hi, Thanks, Srikanth. I removed the html:base/ tag from Welcome.jsp and that did the trick. Ian. On 14 Mar 2004, at 5:02 pm, Srikanth Shenoy wrote: Ian, The Struts tags might be assuming the base href = http://localhost:8081. This is very much a possibility if you are using html:base/ tag

Re: Struts Validator prints all javascript functions

2004-03-14 Thread Joe Germuska
At 8:55 AM +1100 3/15/04, Kunal H. Parikh wrote: Hi All! I am attempting to use Struts Validator. All works well, but I am only using the required validation in my code. However, the JavaScript that gets generated, include other functions like checkEmail, minLength, etc. etc. Is this expected

Re: [SwitchAction] How

2004-03-14 Thread James Mitchell
http://sourceforge.net/project/showfiles.php?group_id=49385package_id=74324 release_id=147944 -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx MSN: [EMAIL PROTECTED] Yahoo IM:[EMAIL PROTECTED] Mike Zatko [EMAIL PROTECTED] wrote in message

Re: Struts Validator prints all javascript functions

2004-03-14 Thread Marino A. Jonsson
hmm ... that's not my experience - the dynamic parts are rendered as they should, but all the static javascript is then rendered too (instead of just the relevant static methods). I haven't tested 1.2 though. Marino Joe Germuska [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 8:55

RE: Struts Validator prints all javascript functions

2004-03-14 Thread Kunal H. Parikh
] Subject: Re: Struts Validator prints all javascript functions hmm ... that's not my experience - the dynamic parts are rendered as they should, but all the static javascript is then rendered too (instead of just the relevant static methods). I haven't tested 1.2 though. Marino Joe Germuska

Re: html:cancel doesn't perform as advertised

2004-03-14 Thread Adam Hardy
Hi Dean, I'm not sure what you're doing in your LookupDispatchAction, so I can't really say. I'm not too hot on DispatchActions. Isn't there a default? Or some other way that DispatchAction handles cancels? Adam On 03/14/2004 03:34 PM Dean A. Hoover wrote: Adam, OK, I get that part now... I

Re: security framework!!!

2004-03-14 Thread Adam Hardy
14, 2004 5:21 AM To: Struts Users Mailing List Subject: Re: security framework!!! On 03/13/2004 05:48 PM David Friedman wrote: My bigger problem is my scenario, which no one supports. I'd like to allow manager accounts to become one of if it's sub-accounts. My system would support at least 5

Re: Checking if user has a valida session

2004-03-14 Thread Adam Hardy
- Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, March 14, 2004 10:11 AM Subject: Re: Checking if user has a valida session Struts is rock solid - if something's going wrong, you can bet your bottom dollar it's

Re: dtd validation of tld's

2004-03-14 Thread Adam Hardy
On 03/14/2004 08:59 PM hanasaki wrote: Any thoughts on why Tomcat would be giving an error saying: Digester error... SEVERE Parse error Document is invalid: no grammar found This is happening on all TLD's. They are JSTL and Struts. I am thinking it has something to do with the DTD

Re: security framework!!!

2004-03-14 Thread Jason Lea
David Friedman wrote: I've also been looking into security frameworks and the only solutions I've really found are: 1. Standard (container) JAAS 2. SecurityFilter http://securityfilter.sourceforge.net 3. Pow2ACL http://pow2acl.sourceforge.net/ I was hoping, at some point, to use an SSL switching

Re: dtd validation of tld's

2004-03-14 Thread hanasaki
I am using whatever is in tomcat 4.1.24. Not sure what version of xerces that is or how to find out. Funny thing is it worked some time ago. The project just came out of 5mo mothballs. Adam Hardy wrote: On 03/14/2004 08:59 PM hanasaki wrote: Any thoughts on why Tomcat would be giving an

Re: urgent:multibox client side validation

2004-03-14 Thread Saul Q Yuan
If you havn't done so, I'd suggest you view souce and see if you have the correct javascript code rendered in you jsp. If you set staticJavascript=true in your html:javascript ... tag, then the javascript should be rendered inside your jsp. You can even put in some alert box in your

Re: Multibox and selected values

2004-03-14 Thread Saul Q Yuan
If I understand your questions correctly, you can define two String arrays in your form bean, one for allRoles, and the other for selectedRoles, which is the array of roles of the current user. Before forwarding to your jsp, in your action class, you can retrive all the roles of the currently

RE: security framework!!!

2004-03-14 Thread David Friedman
-Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Sunday, March 14, 2004 6:28 PM To: Struts Users Mailing List Subject: Re: security framework!!! You mean you don't want to force the user to log out and back in again? I would have thought that was a reasonable demand since

RE: security framework!!!

2004-03-14 Thread David Friedman
the admin), then become a client, then become a manager then become an employee to look at or fix something for them. Regards, David -Original Message- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: Sunday, March 14, 2004 6:49 PM To: Struts Users Mailing List Subject: Re: security framework

Re: Using optionsCollection - LabelValueBean

2004-03-14 Thread ddd ddd
Hi All I am new bie and learning to populate the drop box by all different ways . 1. By Collections of strings 2. By collections beans 3. Hard coding I am unable to achieve even first way tried a lot but failed can any body suggest me where I am wrong. Also pl. suggest me

Re: Multibox and selected values

2004-03-14 Thread Amish Patel
PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Multibox and selected values Date: Sun, 14 Mar 2004 20:42:31 -0500 If I understand your questions correctly, you can define two String arrays in your form bean, one for allRoles, and the other for selectedRoles, which

Re: urgent:multibox client side validation

2004-03-14 Thread Jignesh Patel
Yes Yuan, It is working for all other function even password comparision also. I need one more help for fixing password size I used minimum length but it is not working, may not supporting '* char. What need to be done for the same? -Jignesh On Monday 15 March 2004 06:43, Saul Q Yuan wrote: If

Re: where are these classes?

2004-03-14 Thread ddd ddd
hi pl. right the conplete directories according ur tomcat installation set classpath=%classpath%;root directory\WEB-INF\lib\struts.jar;root directory\WEB-INF\lib\commons-beanutils.jar;root directory\WEB-INF\lib\commons-validator.jar; set the class path or make as batch file run before

RE: Why is it so difficult to unsubscribe?

2004-03-14 Thread Van Riper, Mike
Kenneth, Did you get any replies to your unsubscribe emails? It is a two step process. You have to follow the instructions in the unsubscribe confirmation email to complete the process. As I recall, you simply need to reply to the confirmation email to make it stick. This is to prevent someone

<    3   4   5   6   7   8   9   10   11   12   >