Re: Re: Huge Files Intended for Chuck Cavaness

2002-12-04 Thread micael
Looks like the same files that supposedly came from your yahoo account are the ones that Eric Tse is talking about having downloaded recently from O'Reilley. That is probably a no-brainer, but just mentioning it. At 09:22 PM 12/4/2002 -0500, you wrote: I'm not sure what's going on, but I haven'

Re: Restrict acces to certain pages/actions

2002-12-04 Thread gus
Steve Vanspall schrieb: ahhh, that's what I was looking for, makes alot more sense. So does every user have to be entered into the tomcat-users.xml, or can you just define the user types there. If your using the Tomcat MemoryRealm you have to enter all users in tomcat-users.xml. Will look it u

Oreilly Banking example - Login

2002-12-04 Thread Eric Tse
Hi all, I tried the online banking example from Oreilly (http://examples.oreilly.com/jakarta/) . And I have a question of it and hope you can help. In struts-config.xml, it shows: My understanding of the example is the following, please correct me if I understand wrong. 1. http:/

Re: Re: Huge Files Intended for Chuck Cavaness

2002-12-04 Thread micael
Seems odd that our wires would be crossed. Any sleuths out there with any clue? Odd? Micael At 09:22 PM 12/4/2002 -0500, you wrote: I'm not sure what's going on, but I haven't sent those to myself lately and I can't imagine how they made it to you. Sorry for whatever's going on! Chuck > > F

RE: if condition with "or"

2002-12-04 Thread Andrew Hill
what is the difference between having a scriptlet or what you use above? Hehe I rather agree Jim! (Mind you I am rather anti-JSP so my view is probably a bit biased!) Your question reminds me of an old article I read several months ago by Jason Hunter (author of the O'Rielly Servlet book) writt

Re: if condition with "or"

2002-12-04 Thread Jim Collins
- Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, December 05, 2002 12:20 AM Subject: Re: if condition with "or" > > > On Wed, 4 Dec 2002, Jana Navaneethan wrote: > > > Date: Wed, 4 Dec 2002 17:23:42 -

RE: Huge Files Intended for Chuck Cavaness

2002-12-04 Thread Bill Chmura
I got my copy in a few weeks ago... Of course I preordered at least a month ago... Ah well -Original Message- From: micael [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 9:14 PM To: Struts Users Mailing List Subject: Re: Huge Files Intended for Chuck Cavaness Storefront

Re: Validator DTD - local resolution

2002-12-04 Thread Dan Tran
esday, December 04, 2002 5:30 PM Subject: RE: Validator DTD - local resolution > > Spot on, grabbed the 20021204 build of struts turned off the proxy, and all > is fine and dandy. > > Thanks Craig > > -Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PRO

Re: Help with Multiple Input!

2002-12-04 Thread Parveen Kumar Hooda
Hi try the following code. import org.apache.struts.util package in your form bean String sub =StrutsValidatorUtil.getMessage(request,"your message key"); hope this will help you. - Original Message - From: "Jana Navaneethan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Struts U

Re: Re: Huge Files Intended for Chuck Cavaness

2002-12-04 Thread Chuck Cavaness
I'm not sure what's going on, but I haven't sent those to myself lately and I can't imagine how they made it to you. Sorry for whatever's going on! Chuck > > From: micael <[EMAIL PROTECTED]> > Date: 2002/12/04 Wed PM 09:14:12 EST > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Subject:

Re: Huge Files Intended for Chuck Cavaness

2002-12-04 Thread micael
Storefront wars and sourcecode. Says you were sending them to yourself, and I got them. I have been waiting for your book and complained to Amazon about it. Think they are out to get me? Micael At 09:09 PM 12/4/2002 -0500, you wrote: Micael, What kind of files are they and who are they fr

Chuck Cavaness

2002-12-04 Thread micael
Says something about storefront war, Chuck. And storefront source. Micael --- This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. Th

Re: Huge Files Intended for Chuck Cavaness

2002-12-04 Thread micael
From: chuck cavaness <[EMAIL PROTECTED]> Subject: Storefront source and updated Packaging Chapter To: [EMAIL PROTECTED] At 09:09 PM 12/4/2002 -0500, you wrote: Micael, What kind of files are they and who are they from? I'm not sure what's going on but if you find out, please let me know! C

Re: Huge Files Intended for Chuck Cavaness

2002-12-04 Thread Chuck Cavaness
Micael, What kind of files are they and who are they from? I'm not sure what's going on but if you find out, please let me know! Chuck > > From: micael <[EMAIL PROTECTED]> > Date: 2002/12/04 Wed PM 08:58:31 EST > To: [EMAIL PROTECTED] > Subject: Huge Files Intended for Chuck Cavaness > > I a

Huge Files Intended for Chuck Cavaness

2002-12-04 Thread micael
I am getting these huge files intended for Chuck Cavaness at my home email. What is up? It has the intended target as [EMAIL PROTECTED] Anyone have a clue what is up? Micael --- This electronic mail transmission and any accompanying docum

RE: Validator DTD - local resolution

2002-12-04 Thread Frost, Gary [IT]
Spot on, grabbed the 20021204 build of struts turned off the proxy, and all is fine and dandy. Thanks Craig -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, 5 December 2002 11:23 AM To: Struts Users Mailing List Subject:Re

Re: why no styleId for html-el:image?

2002-12-04 Thread Brian Moseley
Karr, David wrote: You'll find that humorous then, because all I did was add the attribute to the tld. It was already completely handled in the tag class, it just wasn't recognized by the JSP compiler. that was definitely the first thing i tried, but i got some kind of exception that i no long

RE: Restrict acces to certain pages/actions

2002-12-04 Thread Steve Vanspall
ahhh, that's what I was looking for, makes alot more sense. So does every user have to be entered into the tomcat-users.xml, or can you just define the user types there. Will look it up anyway, basically there could be any number of users in the database, one of a handful of role codes. So it woul

RE: Restrict acces to certain pages/actions

2002-12-04 Thread Steve Vanspall
Thatnks everyone, I've pretty much resolved to writing my own filter. It's going to be less complicated that way -Original Message- From: edgar [mailto:[EMAIL PROTECTED]] Sent: Thursday, 5 December 2002 11:15 AM To: 'Struts Users Mailing List' Subject: RE: Restrict acces to certain pages/a

Re: Restrict acces to certain pages/actions

2002-12-04 Thread Craig R. McClanahan
On Thu, 5 Dec 2002, Steve Vanspall wrote: > Date: Thu, 5 Dec 2002 10:03:42 +1100 > From: Steve Vanspall <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts User Mailing List <[EMAIL PROTECTED]> > Subject: Restrict acces to certain pages/actions > > Hi there

Re: Validator DTD - local resolution

2002-12-04 Thread Craig R. McClanahan
On Thu, 5 Dec 2002, Frost, Gary [IT] wrote: > Date: Thu, 5 Dec 2002 09:56:16 +1100 > From: "Frost, Gary [IT]" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: Validator DTD - local resolution > > Hi, I posted

Re: if condition with "or"

2002-12-04 Thread Craig R. McClanahan
On Wed, 4 Dec 2002, Jana Navaneethan wrote: > Date: Wed, 4 Dec 2002 17:23:42 -0500 > From: Jana Navaneethan <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: if condition with "or" > > Hi, > I want t

Re: File Uploads

2002-12-04 Thread Dan Tran
Could you elaborate more on "populate bean with required uploaded file" ? -D - Original Message - From: "Wendy Cameron" <[EMAIL PROTECTED]> To: "Struts Users Mailing List (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, December 04, 2002 3:24 PM Subject: File Uploads I noticed in struts th

RE: Request losing data after container security check

2002-12-04 Thread edgar
If you care enough about this situation you can satisfy most of it with an authentication filter and a custom logon action. When the container times out the session it doesn't touch the browser. When the user clicks on a field to create an action the request is still available to the container.

RE: Restrict acces to certain pages/actions

2002-12-04 Thread edgar
If container managed security doesn't work for you, you should write a security filter which takes care of the rules you envision. You would then also write some authentication action. There is a good chapter about it in Wrox Professional JSP. Edgar -Original Message- From: Eddie Bush [

validating float fields

2002-12-04 Thread Richmond Te
i have a 2dimensional array of fields that accept items and amount. i have amended the validateFloat method and validateMask method to keep iterating if errors are found so that error messages would appear for the whole list and not one by one, per row. (by commenting out the return false) th

Re: Restrict acces to certain pages/actions

2002-12-04 Thread Eddie Bush
CMA is a J2EE standard - not container-specific at all. It's implementation (how the information is made available) certainly may vary from server to server :-( but the way you access it is the same - regardless of your container. David brings up a hot topic - JAAS. Also, please note that (I

File Uploads

2002-12-04 Thread Wendy Cameron
I noticed in struts there is a package for file uploads? Does anyone know how to handle file uploads from servlet and populate bean with required uploaded file? Anyone have some sample code? Regards Wendy -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: accessing value

2002-12-04 Thread John Devine
Ignore this question -- browsers ignore the value of the . Apparently it's used just for javascript, though I can't see how. Guess I'll just us a link-image with a javascript submit. -Original Message- From: John Devine [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 5:11

RE: How does Struts handle arrays of fields?

2002-12-04 Thread micael
David, why don't you wrap your Collection in a bean, or even make a utility inner class, and use it as a utility to the bean? At 02:37 PM 12/4/2002 -0800, you wrote: You can call it a "subclass", or you can say it "implements" something. It's the same thing. I believe that you'll get into troubl

RE: Restrict acces to certain pages/actions

2002-12-04 Thread Karr, David
To some extent, you will always have to deal with some container-specific configuration, no matter what you're trying to do. Fortunately, integration of JAAS (Java Authentication and Authorization System) can usually be done by plugging in some container-specific configuration pieces, and letting t

accessing value

2002-12-04 Thread John Devine
The documentation lists a "value" attribute for the tag, but I can't seem to get it to do anything for me. Is this attribute of use or just a leftover since it inherited from the tag? I would like to use an in a list of query results to activate an action on a certain result. Each tag would

Re: Dynamically generated forms

2002-12-04 Thread Mark
My silly billy theory was correct then.. :) I ended up doing just that .. The cheque the cigar and medal are in the post.. Thanks micael On 4-12-2002 23:29, "micael" <[EMAIL PROTECTED]> wrote: > I am not sure I understand where you are coming from, Mark, but I think I > do. If you intend to dyn

RE: Restrict acces to certain pages/actions

2002-12-04 Thread Steve Vanspall
yeah, no the admin section is fine. Pity struts doesn't have anything, in the process of a conversion from tomcat to websphere (business partnership thing), So I am trying to get away from any container specific configurations. -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTE

RE: if condition with "or"

2002-12-04 Thread Todd Pierce
How you do it depends on what you're trying to do. logic:equal probably won't do it for you, as it doesn't have anything that works like an "or" operator. If you're formatting the content based on whether it's odd or even , I use a boolean flag in the <% scriptlet code %>. If you want to use tags,

Re: Tool for visually documenting Tiles hierarchy?

2002-12-04 Thread Emmanuel Boudrant
And Easy Struts for Eclipse soon ;) -emmanuel http://easystruts.sf.net James Holmes <[EMAIL PROTECTED]> a écrit : Struts Console allows you to visually edit the Tiles config file. http://www.jamesholmes.com/struts/ -james --- "Chetty, Arun" wrote: > Is anyone aware of any tools in the mark

Re: Restrict acces to certain pages/actions

2002-12-04 Thread Eddie Bush
Struts doesn't provide any custom authentication/authorization mechanism -- make use of that which is provided by your servlet container (lookup container-managed authentication). Once this is done, Struts does provide you ways to build selective content, based upon the roles you've given to a

Re: Tool for visually documenting Tiles hierarchy?

2002-12-04 Thread James Holmes
Struts Console allows you to visually edit the Tiles config file. http://www.jamesholmes.com/struts/ -james --- "Chetty, Arun" <[EMAIL PROTECTED]> wrote: > Is anyone aware of any tools in the market that > would help visually document > the complete Tiles hierarchy used in an application. > If n

Restrict acces to certain pages/actions

2002-12-04 Thread Steve Vanspall
Hi there, I was wondering if struts had some mechanism to restrict acces according to user level. Basically our users may be of variying levels in our system. From customer to administrator. This is defined by a columns in a table in our database. Each user should have differing levels of acces

Validator DTD - local resolution

2002-12-04 Thread Frost, Gary [IT]
Hi, I posted a message a few days ago about my validator not working, that a message was present in my logfile outputs saying that Jakarta.apache.org could not be resolved. Jorge Martins helped me out by telling me how to set up a proxy in my webserver (Tomcat 4) (-DproxySet=true, -DproxyHost= -Dp

Re: problem using html:form in different struts-modules

2002-12-04 Thread Michael Delamere
Jan, are you doing a redirect in order to get to your login screen? If so, try redirect="false" ... I remember having a similar problem... Regards, Michael - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 04,

Tool for visually documenting Tiles hierarchy?

2002-12-04 Thread Chetty, Arun
Is anyone aware of any tools in the market that would help visually document the complete Tiles hierarchy used in an application. If not, any ideas on how you would go about doing this. A speedy reply would be greatly appreciated Thanks in advance Arun -Original Message- From: Karr, Davi

RE: How does Struts handle arrays of fields?

2002-12-04 Thread Karr, David
You can call it a "subclass", or you can say it "implements" something. It's the same thing. I believe that you'll get into trouble if you try to make a class which is both a bean AND a collection. You'll end up having to make a bean which contains a collection property AND a size property. I'm

RE: why no styleId for html-el:image?

2002-12-04 Thread Karr, David
You'll find that humorous then, because all I did was add the attribute to the tld. It was already completely handled in the tag class, it just wasn't recognized by the JSP compiler. > -Original Message- > From: Brian Moseley [mailto:[EMAIL PROTECTED]] > > Karr, David wrote: > > Because

Re: problem using html:form in different struts-modules

2002-12-04 Thread zet
Hi, i already tried to use html:form action="/account/Login.do" but i only get an error: [ServletException in:/jsp/tiles/general/footer.jsp] Cannot retrieve mapping for action /account/Login' - Original Message - From: "Michael Delamere" <[EMAIL PROTECTED]> To: "Struts Users Mailing L

Re: Dynamically generated forms

2002-12-04 Thread micael
I am not sure I understand where you are coming from, Mark, but I think I do. If you intend to dynamically generate a struts form, I think that is trouble. Struts forms are the dynamicer that generates the html dynamicee. So, don't you want to use struts (or something else) to dynamically ge

Best "indexed reference/nested bean" alternative for Struts 1.0.2 app?

2002-12-04 Thread Alex
I have a requirement to implement a JSP with a certain look and feel in an existing pseudo Struts 1.0.2 application. The rendered HTML would have this approximate look (assuming the last action was the user clicking the Add Participant button to add the new row with the "type here" placeholder text

Re: action-mapping

2002-12-04 Thread Emmanuel Boudrant
You a 3 type of action-mapping : A simple forward A simple include Or a typed action : With the forward/include action, you don't need to create an action class, they are using only to forward/include one path. With an typed action, you can define multiple forwards depending of the s

if condition with "or"

2002-12-04 Thread Jana Navaneethan
Hi, I want to use in my JSP to replace the following code. if (count = 0 || count = 2 || count = 4) do something. How to achieve this using By the count is index value of the iterator i.e indexId. Thanks in advance, Jana. -- To unsubscribe, e-mail: Fo

Re: problem using html:form in different struts-modules

2002-12-04 Thread Michael Delamere
Hi Jan, Try : html:form action="/account/Login.do" Regards, Michael :-) - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 04, 2002 11:14 PM Subject: problem using html:form in different struts-modules Hi, i want to use seperate mod

problem using html:form in different struts-modules

2002-12-04 Thread jzimmek
Hi, i want to use seperate modules in my application (i.e. general, account, registration ... ). At the bottom of my website is a login panel ( username and password field ). I used the html:form jsp-tag to render the login panel, but i seems like the html:form tag cannot lookup action mapping

RE: get key value for a hashmap row-similar to result in jstl

2002-12-04 Thread Vinh Tran
Unless I completely misunderstand your question..just do the following... Assuming you added the properties as I described in my previous post By the way, I named the method incorrectly in my previous postit should be.. class hashMapQuestionRows { private String c

Re: Request losing data after container security check

2002-12-04 Thread David Graham
That's the way session time outs are supposed to work. This is a security feature when people leave in the middle of something. The user must complete the transaction in one sitting. If you don't want that to happen then set your session timeout to an incredibly large number of minutes or (I

Re: Internationalization of checkbox label

2002-12-04 Thread David Graham
You don't; you use it where you're using right now. David From: "Jana Navaneethan" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: Internationalization of checkbox label Date: Wed, 4 Dec 2002 16:

RE: get key value for a hashmap row-similar to result in jstl

2002-12-04 Thread Vijay Balakrishnan
Hi Vinh, I have already defined that and am getting a row which is a hashmap composed of columns and values for eg "nameId" is a column within this hashmap row.This same concept is used in *result* I think in JSTL. I want to access a particular named key like hashMapQuestionRow.get("nameId") with

Re: Request losing data after container security check

2002-12-04 Thread Michael Lee
i know. a.jsp calls a.do which forwards to b.jsp user enters data in a.jsp user leaves session times out user clicks submit on a.jsp a.do action is of scope request when we get to b.jsp, it should display the data entered on a.jsp (verify screen) it does not if the session times out and the user ha

Re: Internationalization of checkbox label

2002-12-04 Thread Jana Navaneethan
How do I use in my ActionForm ? Thanks, Jana. - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 04, 2002 4:11 PM Subject: Re: Internationalization of checkbox label > Your items array should contain keys in your message resou

Re: action-mapping

2002-12-04 Thread David Graham
It's talking about the properties of the element. You can define multiple forwards for an action to use. David From: "LUCERO,DENNIS (HP-Boise,ex1)" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "' ([EMAIL PROTECTED])'" <[EMAIL PROTECTED]> Subject: actio

Re: Internationalization of checkbox label

2002-12-04 Thread David Graham
Your items array should contain keys in your message resources. Then use the or tag to output the key's value. David From: "Jana Navaneethan" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Interna

Re: Request losing data after container security check

2002-12-04 Thread David Graham
The session only times out if it's idle; it won't timeout in mid request. You lose session data when it times out. You lose request data after the response has been sent for a particular request. David From: "Michael Lee" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL

action-mapping

2002-12-04 Thread LUCERO,DENNIS (HP-Boise,ex1)
I am a newbie but I am a little confused about the following. In the struts api it states the following about the forward property of the action mapping class Exactly one of the forward, include, or type properties must be specified. But, in the examples I downloaded with the struts package the

Internationalization of checkbox label

2002-12-04 Thread Jana Navaneethan
Hi, I want to use values, labels for the multibox from my application properties file. I want to create a String[] in my form bean containing elements from properties file (keys). for example in the code below I want to create string [] items form my properties file, i.e. UPS should come fro

Re: why no styleId for html-el:image?

2002-12-04 Thread Brian Moseley
Karr, David wrote: Because I forgot to add it to "html-el:image" after I added it to "html:image", even though I noted it was missing in the struts-html-el.xml file, that's why. I'll update that, hopefully today. cool, thanks. i thought it was something like that :) i tried to work up a patch,

Re: Request losing data after container security check

2002-12-04 Thread Michael Lee
?This doesnt sound right. Its just an http request. It shouldn't lose anything except session data. The container should route the http request and all the request items from the form. thanks, Mike - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

RE: get key value for a hashmap row-similar to result in jstl

2002-12-04 Thread Vinh Tran
Another option is to add some supporting fields to retrieve a hashMapQuestionRow by key. For example: class hashMapQuestionRows { private String currentKey; private hashMapQuestionRow currentQuestionRow; public getHashMapQuestionRow() {

RE: How does Struts handle arrays of fields?

2002-12-04 Thread David Graham
My custom Collection class is not a subclass of anything. It implements the Collection interface and adds a getSize() method so the EL will work . This solution works. What I really need to know is if Struts can populate a Collection class instead of a String[] for arrays of fields. It acts

RE: How does Struts handle arrays of fields?

2002-12-04 Thread Karr, David
If I'm seeing your problem correctly, you probably know by now that the EL only references bean properties, except when it's referencing collections :) . It checks whether something is a collection before it checks whether it is a bean, so creating a SUBCLASS of a collection class and adding bean

Re: Help with Multiple Input!

2002-12-04 Thread David Graham
Struts stores a MessageResources object in the ServletContext under the Globals.MessagesKey. You can grab it from there or use ResourceBundle.getBundle(). See the javadoc for more details. David From: "Jana Navaneethan" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PR

Re: How to figure out the caller of in a Tiles JSP file?

2002-12-04 Thread Colin Kilburn
Hi Zsolt, Did you ever figure out a programmatic way to do this? I'd be very interested in knowing how as well. Anyone else? Colin Zsolt Koppany wrote: Hi, in Tiles JSP files, request.getRequestURI() seems to return the URL of the includes Tiles file. How can I figure out the URL of the

Re: redundant tag declarations and JSTL

2002-12-04 Thread David Graham
You might try putting all your taglib declarations into a taglibs.jsp file and include that file on the rest of your pages. This has the added benefit of localizing the declarations to one place. David From: "Brian Buckley" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL

get key value for a hashmap row-similar to result in jstl

2002-12-04 Thread Vijay Balakrishnan
HI, I am trying to get the key values for a hashmap row from a collection of hashmaps.I want to access the specific key value from the hashmap eg: I want to access the key value "nameId" from the hashMapQuestionRow directly.How can i do that ? I am doing it this way right now.Is there an easier w

redundant tag declarations and JSTL

2002-12-04 Thread Brian Buckley
Hello: My JSPs contain a bunch of include file statements inside of tags. For example, <%@ include file="/util/xxx/editor.jsp" %> They work great. However, when I attempt to add JSTL into my pages, I get a compile error when Tomcat attempts to process a JSP: org.apache.jasper.JasperExcept

Re: tiles: some questions

2002-12-04 Thread John Nicholas
Paul Hodgetts wrote: John Nicholas wrote: > Yes, you want to have all page access go through the controller > even when it seems like it's not doing anything. There is a > default Action for this. > > type="com.aapromo.RestrictedForewardAction" > > >

Internet is still required to startup validator plugin

2002-12-04 Thread Dan Tran
Hi, my struts app uses nightly build of struts and common-validator on 12/03. And I am still having the problem with http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14506 My configurations are: 1.4.1 JKD, Tomcat 4.1.12, W2K, no internet connection My validator files (validator-rules.xml, etc)

Re: Help with Multiple Input!

2002-12-04 Thread Jana Navaneethan
Hi, Thanks for your valuable suggestion. It solved my problem. I have a basic question, How can I retrieve messages from my properties file in my form bean? I need to do this for some checkbox labels and values I want to use the messages from the ApplicationResources.properties file. Your hel

Re: Request losing data after container security check

2002-12-04 Thread David Graham
If the session times out then you probably want the user to go back to the start page anyways. Request data is only stored by the container long enough to complete a request for one page so it won't be around after that request. David From: "Michael Lee" <[EMAIL PROTECTED]> Reply-To: "St

problem with startup of 1.1

2002-12-04 Thread Curtis, Sean
Hey all.. just trying to get my server started witht the web-example, and Im getting an initialization error trying to deploy the sample app: anyone have a similar problem that they could share some insight on? Thanks Sean .. [04/Dec/2002:14:13:59] info ( 3323): Loading IWSSessionManager b

Request losing data after container security check

2002-12-04 Thread Michael Lee
I have a screen a.jsp that calls a.do which then forwards to b.jsp I have a form called AForm.java. I have a field called email in AForm.java. In a.jsp a user can set email, call a.do and then forward to b.jsp which does a . This works just fine and outputs the email. Problem is, if the session t

RE: why no styleId for html-el:image?

2002-12-04 Thread Karr, David
Because I forgot to add it to "html-el:image" after I added it to "html:image", even though I noted it was missing in the struts-html-el.xml file, that's why. I'll update that, hopefully today. > -Original Message- > From: Brian Moseley [mailto:[EMAIL PROTECTED]] > > why does html-el:ima

How does Struts handle arrays of fields?

2002-12-04 Thread David Graham
I have a set of hidden fields all named "deletedId" but with different values. What type should this be in my ActionForm? It works if I have private String[] deletedId; and related accessor methods. My problem is that I want to use the JSTL's EL to get the size of this array. I tried ${myForm

Re: Struts-EL Tag Library Problem (Even More Info)

2002-12-04 Thread Brian Moseley
Karr, David wrote: If it's possible at all, you might try the first few nightly builds that included Struts-EL. I know the first one won't work very well, as I made some major mistakes in the first commit. It was a few days before I got it mostly right. Whether this (combining 1.1b2 with a nigh

why no styleId for html-el:image?

2002-12-04 Thread Brian Moseley
why does html-el:image not support styleId like most of the other html tags do? i found a message in the archive with the justification for options not supporting it, but not for image. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: tiles: some questions

2002-12-04 Thread Paul Hodgetts
John Nicholas wrote: > Yes, you want to have all page access go through the controller > even when it seems like it's not doing anything. There is a > default Action for this. > > type="com.aapromo.RestrictedForewardAction" > > > I'm sorry if this is a dumb

RE: readonly property in html:text tag not working

2002-12-04 Thread Wendy Smoak
> In my .jsp page, I have the following code. > > I'm getting "Unable to find setter method for attribute: readonly" while > compiling that .jsp file. You didn't say what version of Struts you're using. I'm on a recent nightly build (Nov 18th, I think) and this is working fine: -- Wendy Smo

RE: test jsp pages developed by tag developers to test the tags

2002-12-04 Thread Vijay Balakrishnan
No, what I meant was - I saw some pages being used by the developers of the tags to test these tags out through various nesting conditions.I didn't see those in the various examples folders which comes along with the struts distribution. -Original Message- From: [EMAIL PROTECTED] [mailto:[

Dynamically generated forms

2002-12-04 Thread Mark
Appologies if this message appears multiple times... Hello I'm building a form based on values stored in a db.. So i run some sql and read this into a struture (fanbabbydozy)... I make sure the struture is available to my jsp and Action class (same thing). So i can iterate through the results

Dynamically generated forms

2002-12-04 Thread Mark
Appologies if this message appears multiple times... Hello I'm building a form based on values stored in a db.. So i run some sql and read this into a struture (fanbabbydozy)... I make sure the struture is available to my jsp and Action class (same thing). So i can iterate through the results

Dynamically generated forms

2002-12-04 Thread Mark
Hello I'm building a form based on values stored in a db.. So i run some sql and read this into a struture (fanbabbydozy)... I make sure the struture is available to my jsp and Action class (same thing). So i can iterate through the results, and do the things one does with data strutures. Bu

RE: readonly property in html:text tag not working

2002-12-04 Thread Richard Doust
There's an attribute called "disabled" that makes it impossible for the user to modify the field's value if set to true. Maybe that would suit your purposes? -Original Message- From: Jaisankar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 11:17 AM To: [EMAIL PROTECTED] Subj

Re: struts 1.1. modules examples.

2002-12-04 Thread Craig R. McClanahan
On Wed, 4 Dec 2002 [EMAIL PROTECTED] wrote: > Date: Wed, 4 Dec 2002 12:00:44 CET > From: [EMAIL PROTECTED] > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: struts 1.1. modules examples. > > What do you mean with : > "where you need to modify the "

RE: Struts-EL Tag Library Problem (Even More Info)

2002-12-04 Thread Karr, David
If it's possible at all, you might try the first few nightly builds that included Struts-EL. I know the first one won't work very well, as I made some major mistakes in the first commit. It was a few days before I got it mostly right. Whether this (combining 1.1b2 with a nightly struts-el) wi

How to get the action mapping

2002-12-04 Thread Jordan Thomas
Hi All, A newbie with a basic question (I hope...). How do I get the action mapping from the current request? thanks Jordan -- To unsubscribe, e-mail: For additional commands, e-mail:

Dynamically generated forms

2002-12-04 Thread Mark
Hello I'm building a form based on values stored in a db.. So i run some sql and read this into a struture (fanbabbydozy)... I make sure the struture is available to my jsp and Action class (same thing). So i can iterate through the results, and do the things one does with data strutures. Bu

readonly property in html:text tag not working

2002-12-04 Thread Jaisankar
Hi, In my .jsp page, I have the following code. I'm getting "Unable to find setter method for attribute: readonly" while compiling that .jsp file. Looking for help. regards Jai

Re: calling ACTION from SEARCH button, results displayed in new w indo w

2002-12-04 Thread Gemes Tibor
2002. december 4. 16:31 dátummal Cook, Graham ezt írtad: > The field on the form is part of a company name, the popup window will be a > list of all names in the database that match what the user has typed in the > input field. > > I know that I need to use Javascript to create the popup, what i ne

html:form relative action howto?

2002-12-04 Thread Pablo Casado
hello, how do I do the following, --struts config-- --myjsp.jsp -- so the possible values in the html:form action can be /x/y/myaction or /a/b/myaction Thanks. - Pablo. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Ver

RE: calling ACTION from SEARCH button, results displayed in new windo w

2002-12-04 Thread Cook, Graham
The field on the form is part of a company name, the popup window will be a list of all names in the database that match what the user has typed in the input field. I know that I need to use Javascript to create the popup, what i need to know is whether or not i can pass the JSP field into a javas

Re: tiles: some questions

2002-12-04 Thread John Nicholas
Chris Ruegger wrote: Question 1: I'm setting up an app to use Tiles. I'm using tiles definitions in an XML file and I successfully start at my welcome page, which is inserted into the master template. Now suppose this page has direct links to other JSPs, like this: next page When I follow this

odd behaviour form beans?

2002-12-04 Thread David Bolsover
I have seen some odd behaviour relating to initial capital letters I have the following on a jsp: Note the capital P Note the lower case f In the corresponding Actionform: private String pCBSerial = ""; private String function1 = ""; public String getPCBSerial(){ return this.pCBSerial; }

Re: calling ACTION from SEARCH button, results displayed in new windo w

2002-12-04 Thread Gemes Tibor
2002. december 4. 15:43 dátummal Cook, Graham ezt írtad: > How do you go about calling an action from a SEARCH button on a JSP, and > passing in one of the JSP fields to the action in order to bring up a popup > window with data related to the field on the JSP. eg. like part of a name > that you wa

  1   2   >