RE: [OT] Rendering Large ResultSet - Value List Handler Design Pattern

2003-08-14 Thread Pat Quinn
where do you keep the initial resultset? Or do you execute the query each time the user requests to page? What would be nice if i could execute an sql statement which would give me a sub set of the results as contolled by a start and end position i specify e.g. Select code, desc from products

Code of a method longer than 65535 bytes

2003-08-14 Thread David Thielen
Hi; Inside a form I have 2 address blocks - each with a selection of countries. This is more that 64K chars inside the html-el:form... Any ideas how to get around this? thanks - dave

RE: very simple if/else question

2003-08-14 Thread Stephen Brown
http://www.manning.com/bayern/appendixA.pdf for JSTL is pretty much the same thing that http://jakarta.apache.org/struts/userGuide/struts-logic.html is for struts logic. -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: August 13, 2003 5:50 PM To: 'Struts Users

RE: very simple if/else question

2003-08-14 Thread David Graham
--- Slattery, Tim - BLS [EMAIL PROTECTED] wrote: c:choose c:when test=${Fund.marketStatus != Kapaly} What are these c: ... tags? What do I have to have installed in order to use them? http://java.sun.com/products/jsp/jstl/index.html

RE: J2EE certified

2003-08-14 Thread Raghu.Ramakrishnan
Amin You can take the SCWCD (Sun Certified Web Component Developer), its for JSP and Servlets. You have to have JCP to take this exam. Raghu -Original Message- From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 11:02 AM To: [EMAIL PROTECTED]

RE: Installing struts-el - questions

2003-08-14 Thread Richard Mixon
Wendy, If we use your method of combining the two sets of jars, then we should be able to use both the el and standard tags right? I'm thinking of starting to migrate to the el tags, but did not want to have do convert everything all at once. TIA - Richard -Original Message- From: Wendy

Re: application.properties file location

2003-08-14 Thread Julie . Huang
did you put it your struts-config file? i have the following in my struts-config.xml file: message-resources parameter=resources.ApplicationResources/ ( I put it into my resources directory) Samanth Athrey [EMAIL PROTECTED] 08/13/03 10:57 AM Please respond to Struts Users Mailing List

Re: really weird - evaluating a comment

2003-08-14 Thread Steve Widmar
Dave: Browsers will ignore comments of that style - jsp processors wont. (its possible that you - or someone else - may want HTML comment content that is the result of a processed custom action, er, tag) Using jsp comment syntax will give you what you need - %-- html-el:text name=var

Re: OT: J2EE certified

2003-08-14 Thread Adam Hardy
On 08/14/2003 04:26 AM Mohd Amin Mohd Din wrote: Simple question, is there or is there not a certification for a J2EE web app? You want to certify a WEB APP? You mean the code and the database etc? The answer is no. Normally only people get the certification. Adam

Re: One more doubt

2003-08-14 Thread Jeff Kyser
???en_US.errors.whaaa??? On Wednesday, August 13, 2003, at 08:23 PM, Lilo Line wrote: Hi, Does the generated exceptions in the business classes must or can be treated in the struts-config.xml file? Thanks... -- __ http://www.linuxmail.org/ Now with

AW: Including header and footer

2003-08-14 Thread Oliver Reflé
This works, but you should have a look on tiles in Struts1.1. They are doing exactly this. -Ursprüngliche Nachricht- Von: Kommineni, Sateesh (IndSys) [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 14. August 2003 08:43 An: Struts Users Mailing List Betreff: Including header and footer

RE: J2EE certified [Off-Topic]

2003-08-14 Thread message message
He was referring to the Verifier tool AKA write once run anywhere. From: Mainguy, Mike [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: J2EE certified [Off-Topic] Date: Thu, 14 Aug 2003 09:15:42 -0400 I'll

Re: html:form and multiple modules

2003-08-14 Thread Reinhard
org.apache.jasper.JasperException: ServletException in '/datasharing/multiItem-body.jsp': Cannot retrieve definition for form bean null not sure, but as your action is /multiItem[.do] and the exception talks about /datasharing/multiitem-body.jsp I think the switching worked and your problem

database - bean - form, what is the best way to do it?

2003-08-14 Thread Andy Cheng
When doing struts, I am always loading or saving data to a bean (or a list of beans) and then display it to the form. Is there a ways to make this process very automatic, like writing a mapping file, and then everything is done? I spent in the past 2 full days just keep doing this kind of

Designing a Form, help!

2003-08-14 Thread David Erickson
I need a form with a variable length list of items. Each item needs to contain 3 strings, 1) Permission name 2) Permission Description 3) If user has permission (on/off) The items will be used to populate a list of checkboxes with the descriptions of the name and description. So the big

RE: [FRIDAY] Childern

2003-08-14 Thread Mark Galbreath
Hey, Christian Brothers make a pretty mean brandy! -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 3:41 AM To: Struts Users Mailing List Subject: Re: [FRIDAY] Childern at last a joke I can forward to my reborn-christian brother! Shane

Help please - indexed field in ActionForm

2003-08-14 Thread David Thielen
Hi; I've been fighting this all day with no luck. And it has to be a simple thing to do. I have a form where I have N lines in it. Each line needs to have some text displayed and an edit box. How do I set this up in the .jsp file and in the ActionForm? I've found a number of examples on the

RE: Relay Actions

2003-08-14 Thread Erez Efrati
I don't like it but it is written in Ted Husted Struts in Action section 8.4, black on white :) Yes it reuses the same form bean, but it resets it again, and repopulate it again. That is why he had inserted in his scaffolds package BaseForm.java a method for set/getMutable() so that the first

RE: OT: J2EE certified

2003-08-14 Thread message message
You mean you have to refer to it as J2EE COMPLIANT. This is an advisory post, please do not misconstrue it as a complaint. From: PREETAM Balijepalli [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: OT: J2EE

RE: Struts Validator

2003-08-14 Thread Brian McSweeney
Hi Steve, Have you looked at the struts-validator sample app? The 'types' examples show most of the basic validations. If you've already looked at it, is there anything that would make it easier to understand? No I had not heard about the sample app. I looked again on the main Struts page and

Re: [OT] Primate Programming

2003-08-14 Thread Paul Thomas
On 06/08/2003 17:13 Mike Jasnowski wrote: A Web site that spoofs the computer programming industry by offering chimpanzees and baboons to work for as little as 50 cents an hour has taken its monkey business too far, according to the Iowa Primate Learning Sanctuary.

RE: [OT] - [TOPIC] - [VOTE]

2003-08-14 Thread message message
What is the criteria of the list ? From: James Mitchell [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: [OT] - [TOPIC] - [VOTE] Date: Tue, 5 Aug 2003 06:20:51 -0400 -1 We tried this a long time ago. Fact is,

redirect problem

2003-08-14 Thread Alan Williamson
I am using 1.1 and I get an error illegalStateException: Configuration is frozen at org.apache.struts.config.ForwardConfig.setRedirect(...). I am switching the version of Struts from 1.0 to 1.1. Any ideas? Thanks. - To

Re: Layout Struts with XSLT

2003-08-14 Thread Kris Schneider
Well, there really are a *lot* more than two possibilities. I don't have any practical experience with either of those projects, but you might also want to consider JSTL's XML and XSLT support. Without a better idea of what you need XSLT to do, I doubt anyone can really give you an informed

Re: UPON APPLICATION STARTUP!!!!!!!!!!!!!!!!

2003-08-14 Thread Curtney Jacobs
Thanks Nathan, Andrew. I am sorry that my earliler post was not specific and a little bit on the sassy side. Yes. My forms are session mapped forms and I will be getting the default values from my database. Andrew, the reason why I decided not use an action to load the default values in the

RE: JSTL ot struts taglibs?

2003-08-14 Thread Edgar Dollin
I guess if you just don't like JSTL (the ambiguity, lack of developmental feedback, lack of refactoring support, etc) you are SOL. Edgar -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 3:32 PM To: Struts Users Mailing List Subject: RE:

Getting values from a Flash form

2003-08-14 Thread yan
not sure what you mean by 'Have it sent to an Action and you should be good to go' Can you give me any further assistance/examples or point me towards any? This is my first attempt at this sort of thing so I am still feeling my way around. many thanks again yan - Original Message -

RE: validation mask for currency

2003-08-14 Thread david chan
Thanks. But the comma can be in anywhere in between first digit and the period. so this is valid also: 1,23,22 1234,2.3 how to do that? (I am really new to regular expression) Thanks. David --- Yansheng Lin [EMAIL PROTECTED] wrote: Try: field property= depends=mask

Struts Validator-validwhen

2003-08-14 Thread SKaringula
Hi, The struts Validator 'validwhen' I could not find anywhere in struts,even though it was mensioned in documentation. If it is available Could anybody please help me where exactly it is available? Thanks, Shailaja -- A . S . C . A . P.-- This message,

How to display error message coming from DynaValidatorForm?

2003-08-14 Thread Laurent MARQUEZ
I would like to display error message coming from my DynaValidatorForm. /html:error doesn't work. html:form action=/project table width=45% border=0 tr tdbean:message key=project.data.name/:/td tdhtml:text property=name//td

Re: Dumbo Question

2003-08-14 Thread David Graham
--- Mehta, Chirag (IT) [EMAIL PROTECTED] wrote: Sorry, heres another newbie question. I have a bean that stores collections of data that have been retrieved from a database. When I try and logically iterate these collections on my JSP page, it says Cannot find bean Results in any scope

Re: browse for a directory

2003-08-14 Thread ian_d_stewart
The browse functionailty is actually implemented by the browser. There for browsing behaviour will be browser (and probably platform) specific. Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 213-6100 Kelly

validation philosophical question

2003-08-14 Thread David Thielen
Hi; Everyone who hits my site has a high-speed connection. So I am thinking that it makes sense to do server side validation only as that provides a better method than the javascript pop-ups. And in this case, it seems to me that the logical place for all validation then is inside the

Re: validation philosophical question

2003-08-14 Thread Adam Levine
My personal preference is there should be as little reliance on the front-side as possible. I personally hate little JS boxes popping up at me this entry isn't right.. fix it!, and much prefer a submit-correct cycle with quiet, unobtrusive indicators showing me what I need to change. If you

RE: Dumbo Question

2003-08-14 Thread Nicholas L Mohler
Look at the way that you have named your ColumnNames property in the jsp and your form. Try it with property=columnNames with form methods getColumnNames and setColumnNames. We've had seen that problem a couple times on our team and lining the names up properly does the trick. Nick

Form Populating Error, help!!

2003-08-14 Thread David Erickson
Getting this error: exception javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254) at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.j ava:821) at

RE: Struts 1.1: what's the preferred way to use databases?

2003-08-14 Thread David G. Friedman
I can attest to hibernate being clear and pretty easy. I got it working for my Login application the other night along with simple use of tiles, validation, and exceptions. I'm just working on a facade for it/me. David ---Original Message--- From: Steve Raeburn [EMAIL PROTECTED]

RE: Dynamically generating Action Forms

2003-08-14 Thread Mehta, Chirag (IT)
Yea thanks a million mate. I was doing the same thing but wasn't sure how to iterate on the JSP page -Original Message- From: Nicholas L Mohler [mailto:[EMAIL PROTECTED] Sent: 14 August 2003 12:33 To: Struts Users Mailing List Subject: Re: Dynamically generating Action Forms I

RE: validation philosophical question

2003-08-14 Thread Adam Levine
If you reread my post, you'll see the validation happens only in one spot, and that's in the business logic area. This keeps the same validation logic present, regardless of the presentation layer. AFAIK, the Validation framework Struts provides should only be used as a cursory check (is this

Re: Getting values from a Flash form

2003-08-14 Thread Vic Cekvenich
There is a flash mail list on news.basebeans.com (only via newsreader like outlook express or netscape for now) (also news.basebeans.com has mail lists for javascript, mssql, oracle, jdom, axis, etc. a dozen of the best mail lists). Paananen, Tero wrote: I have a login panel created in

RE: RE : multiple applicationresources.properties file.

2003-08-14 Thread Rohit Aeron
Try putting another file in web.xml Regards Rohit Aeron -Original Message- From: deepaksawdekar [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 5:47 PM To: Struts Users Mailing List Subject: RE: RE : multiple applicationresources.properties file. Can you please send me

RE: using modules versus simply using multiple struts-config file s

2003-08-14 Thread Bailey, Shane C.
I think if you are going to use messages like that then one place you may run into problems is with the Validator. I can't remember if not all or none of the elements in the Validator (which had the key attribute) didn't have a bundle attribute (so I don't know how it would determine which

RE: J2EE certified

2003-08-14 Thread Mohd Amin Mohd Din
I meant getting a web application certified -Original Message- From: Raghu.Ramakrishnan [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 9:59 AM To: Struts Users Mailing List Subject: RE: J2EE certified Amin You can take the SCWCD (Sun Certified Web Component

RE: Struts Validator-nextreleasewhen (was validwhen)

2003-08-14 Thread Van Riper, Mike
With great trepidation, I must inquire as to the likelihood of a next release of the commons-validator in the near term future. (ducking for cover now as the flames telling me to read the Apache release process policy on the web site are fired off in my direction ;-)). Seriously, I did look in

RE: Helllllllllllllo - Digester Issue

2003-08-14 Thread Craig R. McClanahan
On Wed, 13 Aug 2003, Raj Atchutuni wrote: Date: Wed, 13 Aug 2003 09:24:14 -0700 (PDT) From: Raj Atchutuni [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Helo - Digester Issue Mike, The output messages appear to

RE: [OT] going insane

2003-08-14 Thread James Childers
Well, my immediate borderline smart-alec response is Yeah, Tomcat 5.0.x is an alpha product. Don't expect it to work. Politely, I would say that you can't be assured of consistent or even correct behavior from an unfinished product. However, you're luckier than I am. I can't even get the

Re: J2EE certified

2003-08-14 Thread Adam L
It's filed under URGENT This list is about using Struts. Yes, Struts is built on Java technology. Sun is the producer of Java. They've got all the info you could ever want about Java, and associated certifications, and forums to chat with other java dorks about Java in general, and various

How to set a field within a collection while lopping through.....

2003-08-14 Thread Monajit Choudhury
Hi How can I set the value of a field while looping through a collection. Ok let me put it this way. I have a ValueObject vo1 which contains a collection of Vos VO2. Now in the page I iterate and display the contents of vo2 in a logic:iterate.Now the fields are shown in text fields so the

RE: Form Populating Error, help!!

2003-08-14 Thread Alawadhi, Mona
It looks like there is a method expecting a certain type of param, and it's getting something other than expected. -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 2:01 PM To: Struts Mailing List Subject: Form Populating Error, help!!

RE: application.properties file location - Internationalisation

2003-08-14 Thread Paananen, Tero
However what happens if the browser is configured to spanish when you only have a file for French and English ? Is there a default or will this cause an error ? It will fall back to using the default resources defined in application.properties. If you do not have a default properties file,

RE: Struts Validator

2003-08-14 Thread David Graham
--- Mark Galbreath [EMAIL PROTECTED] wrote: Chuck keeps threatening me to come up to MD to show me that it actually does work, but I think he has refrained from doing so because secretly he knows it's crap, too. What are you using instead? Once you get past the setup step it's *far* easier

Re: Mapping Struts controller servlet to webapp root: trouble

2003-08-14 Thread Paul Yunusov
On August 13, 2003 05:30 pm, Sgarlata Matt wrote: As far as I know this is an issue that is specific to your web server and outside the scope of struts. For example, in tomcat I believe the solution is to put your app in the tomcat root/webapps/ROOT directory. No, I was wondering about

RE: very simple if/else question

2003-08-14 Thread Steve Raeburn
Dude, did you bother to look at the links David gave you? Or ask on the correct mailing list? Or even do some research yourself? Google. Fifth link down. JSTL reference. Steve -Original Message- From: Bailey, Shane C. [mailto:[EMAIL PROTECTED] Sent: August 13, 2003 2:50 PM To:

'action' variable on a submit button?

2003-08-14 Thread yan
What is the equivalent to this html:link page=editRegistration.do?action=edit/html:link on an html:form tag i.e, how do I define the 'action' variable on a submit button? thanks yan KickStartESolutions - Intelligent Web Services [EMAIL PROTECTED]

RE: Struts Validator

2003-08-14 Thread David Graham
--- Jerry Jalenak [EMAIL PROTECTED] wrote: +1 - Validator works. I started using it wy back in the pre-RC1 days. Everytime that Validator hasn't worked for me, I've found that it was due to a screw up on my part (usually something in the validation.xml file). Except for rare occasions,

RE: Struts Validator

2003-08-14 Thread Brian McSweeney
Cheers David, I'll take a look Brian -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: 14 August 2003 16:14 To: Struts Users Mailing List Subject: RE: Struts Validator --- Brian McSweeney [EMAIL PROTECTED] wrote: Hi Steve, Have you looked at the struts-validator

J2EE certified

2003-08-14 Thread Mohd Amin Mohd Din
A colleague mentioned to me something about getting J2EE certified. I could only find getting an application server certified not the application. Anyone knows how to get a web application J2EE certified or is there a certification for Java web apps? Amin

Re: Vertical Checkboxes..

2003-08-14 Thread Sgarlata Matt
Hi Mona - I'm glad the javascript worked out for you, but now that I have a solid idea of what you're trying to do, I should tell you that what you're doing may not be a good idea. When you construct a URL and pass it to window.open or location.href=, you are issuing a GET request. GET

RE: [OT] going insane

2003-08-14 Thread Craig R. McClanahan
On Wed, 13 Aug 2003, John Cavacas wrote: Date: Wed, 13 Aug 2003 14:33:07 -0400 From: John Cavacas [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: [OT] going insane I couldn't agree more :) At the same time

RE: Mapping Struts controller servlet to webapp root: trouble

2003-08-14 Thread Bailey, Shane C.
I guess I am more saying, I'm pretty sure, by looking at Struts source code (granted a week or so ago), that you can't do /*. So I am suggesting to use a filter. But looking at a different piece of the source maybe the solution is to not have a mapping specified at all. Sounds ugly,

Re: very simple if/else question

2003-08-14 Thread David Graham
--- Seyhan BASMACI (Internet Yazilimlari Yetkilisi) [EMAIL PROTECTED] wrote: how can I change following code to if/else structure using tags , c:choose c:when test=${Fund.marketStatus != Kapaly} html:radio property=fundNo idName=Fund value=fundNo / /c:when c:otherwise nbsp; /c:otherwise

Dynamically generating Action Forms

2003-08-14 Thread Mehta, Chirag (IT)
Hello, Does anyone know if there is a way of generating an Action form from the resultset's column metadata? I have a jsp that allows the user to enter SQL statements. I do not know what thier query will be so from the resultset I would like to create action forms according to the columns to

RE: Urgent: generating PDF from form data

2003-08-14 Thread Greg Ludington
Hi All I use struts. I wanted to know if there is a we can generate a PDF with the form data the user submits so that the users can print the pages. Please let me know if there is any resource on it or if there is something related to it. You may wish to look into these two open source

RE: Struts Validator

2003-08-14 Thread Mark Galbreath
Dave, My only complaint with the authors of validator is that (a) they say it's really cheeky, but (b) a host of developers, including me, have complaints about it. It just doesn't work within the framework documented. The List is full of complaints and requests along these lines. You can

Re: message resource bundles and client-side validation

2003-08-14 Thread Jeff Kyser
Hey Steve, Thanks for the response - I can certainly live with incorporating the default error messages in my main app resource bundle until the enhancement is available, and will switch to the use of the errors.prefix/suffix. thanks again! -jeff On Thursday, August 14, 2003, at 12:25 AM,

JSTL and struts tag libraries

2003-08-14 Thread Butt, Dudley
Hi, Is it true to say that one should use JSTL instead of the struts taglibs? If so, is JSTL a seperate topic to be learned and therefore will not be covered in any of the struts books for sale? thx NOTICE: This message contains privileged and confidential information intended only for

RE: Struts Validator

2003-08-14 Thread Stephen Brown
Get a life, Mark. You offered this to the OS community with insufficient documentation. Yeah, that's what open source is all about. Deal with it. Oh, did you find the open source project with the good documentation? Urban myth. -Original Message- From: Mark Galbreath

RE : How to display error message coming from DynaValidatorForm?

2003-08-14 Thread Julie . Huang
yes, it works fine. but I can't see any html:errors/ in your code? Laurent MARQUEZ [EMAIL PROTECTED] 08/14/03 09:24 AM Please respond to Struts Users Mailing List To: 'Struts Users Mailing List' [EMAIL PROTECTED] cc: Subject:RE : How to display error

Re: Code of a method longer than 65535 bytes

2003-08-14 Thread David Thielen
I'm using JRun 4 - and need it for the EJB support so Tomcat's out. I also use [EMAIL PROTECTED] file=countries.jsp% to pull the countries in. But regardless of how they are pulled in, they will be expanded within the form to be the actual select text. I guess I'll push Macromedia to eliminate

RE: J2EE certified

2003-08-14 Thread Mohd Amin Mohd Din
Struts is the de facto framework for J2EE. Does this mean my app using Struts is J2EE certified? Or is the such a thing as J2EE certified web app. Plus, not all question on the list are about struts -Original Message- From: Shane Mingins [mailto:[EMAIL PROTECTED] Sent: Thursday, August

RE: Struts Validator

2003-08-14 Thread Yansheng Lin
In the default Struts-1.0 binary download, there is an file called struts-example.war, among other war files. Cheers:). -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: August 14, 2003 9:10 AM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE:

Re: tiles problem

2003-08-14 Thread Adam Hardy
I think you are being far too optimistic expecting tiles to refresh only half the page. If you managed to prevent tiles on the server from processing the left hand pane, then your page's left hand content would be blank - the browser would not carry over the content from the previous page.

Dynamic Forward

2003-08-14 Thread Yamini Krishnamurthi Ayyagari
Hello All, I have a web page with multiple line items and radio buttons against each of them. Based on which radio button the user selects I need to forward the user to the appropriate jsp. Is it possible to set the path of a forward dynamically with Struts? Cheers, Yamini

RE: database - bean - form, what is the best way to do it?

2003-08-14 Thread Wendy Smoak
When doing struts, I am always loading or saving data to a bean (or a list of beans) and then display it to the form. Is there a ways to make this process very automatic, like writing a mapping file, and then everything is done? I spent in the past 2 full days just keep doing this kind of

RE: Bizarre Tag issue - help

2003-08-14 Thread Paul McCulloch
It looks like the id attribute of the tag doesn't accept run time expressions. Have a look at the .tld for the attribute in quesion. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 14 August 2003 01:16 To: Struts Users Mailing List Subject: Bizarre Tag

RE: Redirect problem/bug?

2003-08-14 Thread Paananen, Tero
forward name=Success path=/https://www.company.com/purchase; ^ That's what you're missing. -TPP - This email may contain confidential and privileged material for the sole use of the

RE: Struts Validator

2003-08-14 Thread Mark Galbreath
Validator is crap; don't waste your time. Mark -Original Message- From: Stephen Bennett [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 11:39 AM To: [EMAIL PROTECTED] Subject: Struts Validator Has anyone had any problems getting the Struts Validator to work? I have a

RE: One form multiple Action mapping

2003-08-14 Thread Bailey, Shane C.
What about: html:form action=/Reg.do c:if ... html:hidden property=method value=dispatchMeth1 / /c:if c:otherwise html:hidden property=method value=dispatchMeth2 / /c:otherwise /html:form -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13,

Re: Trouble with validation of nested properties -indexedListProperty?

2003-08-14 Thread John Tangney
in article [EMAIL PROTECTED], Mark Lowe at [EMAIL PROTECTED] wrote on 8/13/03 5:10 PM: The js array that is generated doesn't generate the indexed property attributes. Right. I've been wanting to look in this, so far I've got as far as adding myindexedprop[0].property as the property in

RE: very simple if/else question

2003-08-14 Thread David Graham
--- Bailey, Shane C. [EMAIL PROTECTED] wrote: Why isn't there a page for JSTL reference that is as nice and easy to use as: http://jakarta.apache.org/struts/userGuide/struts-logic.html ??? You would be much closer to substantiating your claim of JSTL being faster to develop with if

RE: Urgent: generating PDF from form data

2003-08-14 Thread Peter Abbot
I have used FOP to generate PDF within struts and it works great. In the beginning to save to with dealing with the formatting of the PDF document I used FOP to translate genereate web pages into PDF. The only thing is that your generated webpage needs to be in xhtml format. If using the struts

RE: RE : multiple applicationresources.properties file.

2003-08-14 Thread deepaksawdekar
Can you please send me some article or examples. Thanks and Regards Deepak -Original Message- From: Laurent MARQUEZ [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 5:25 PM To: 'Struts Users Mailing List' Subject: RE : multiple applicationresources.properties file. I think

RE: Code of a method longer than 65535 bytes

2003-08-14 Thread Mark Galbreath
Don't use the page directive (@), use jsp:include/ and you will find the 64k limitation can be circumvented. Mark -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 9:37 AM To: Struts Users Mailing List Subject: Re: Code of a method longer

Re: Cancel Button Not Working in 1.1

2003-08-14 Thread Natalie D Rassmann
I got the cancel button to work All I did was replace what I had.. html:cancel bean:message key=button.cancel bundle=PRTR_RESOURCE_KEY/ /html:cancel With the statement below: html:cancel/ It works now. Thanks for all your help. Natalie Yansheng Lin wrote: Try: html:cancel

Form with fields and the display tag? Please help

2003-08-14 Thread Andy Cheng
Hi, I think I have some problem on understanding certain concept in struts, and wondering if anyone can help me. Basically I have a jsp page, an action and an actionform, which load the data from the database, and display on the jsp. There is a part which use the display:* tags, which display a

RE: accessing Attribute of a parent-tile-definition

2003-08-14 Thread Holman, Cal
Reinhard I use the template definitions to pass page specific attributes - the most common are the page's name to make a common index.jsp highlight the menu item the user is currently viewing. I also pass some crumb info, page title, page key words, and the definition name (used to debug,

RE: multi page validation and page attribute

2003-08-14 Thread Yansheng Lin
You need to set your page attribute in html:javascript tag. For example: html:javascript formName=myForm page=2 / -Original Message- From: Anand M S [mailto:[EMAIL PROTECTED] Sent: August 5, 2003 10:42 AM To: [EMAIL PROTECTED] Subject: multi page validation and page attribute Here

Action Forms

2003-08-14 Thread michel Van Asten
Hi, I am completly new using the strut framework and I am a litlle bit confuse about the use of ActionForms... Suppose that you have an application flow similar to the (stupid) flow below : 1) Wich beans is used to initialize the values of my DoAction2.jsp... I Expect Action2Form is it true ?

Re: html:select problem

2003-08-14 Thread prashant . mdesai
Thanks. yes, the userBean is the actionform associated with the jsp page. I tried it using the below given code..i used userID instead of user ..just for test.. html:select name=userDataBean property=userID html:optionsCollection name=userDataBean property=roleUser label =roleID value=desc /

RE : Seven Lessons from the Trenches: 4. Protect JSPs behind WEB-INF

2003-08-14 Thread Laurent MARQUEZ
SORRY, i like using UPPERCASE. Error is: org.apache.jasper.JasperException: /index.jsp(2,0) Attribute action invalid according to the specified TLD -Message d'origine- De : Laurent PETIT [mailto:[EMAIL PROTECTED] Envoyé : vendredi 8 août 2003 16:30 À : Laurent MARQUEZ; 'Struts Users

Re: Struts and Weblogic Portal 4

2003-08-14 Thread Gregory F. March
...just had the BEA folks here. I think you may want to consider 8.1 instead of 4 if you can. Of course, they want to sell the new version, but everything they were saying indicated that 8.1 was struts ready and none of the previous versions were. Then again, I've never used portal, so I could

ForwardAction and modules

2003-08-14 Thread Travis Stevens
I have a module in which I have a forward action, and it seems that I have to add the module name to the parameter of the forward page. (actual example) action path=/adminIndex parameter=/admin/adminIndex.jsp type=org.apache.struts.actions.ForwardAction

RE: [FRIDAY] Childern

2003-08-14 Thread Mark Galbreath
So, you pastorized it, did you? -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 8:59 AM To: Struts Users Mailing List Subject: RE: [FRIDAY] Childern I sent it to my pastor. :-) -Original Message- From: Adam Hardy

Re: Displaying an incorrect email using email validator

2003-08-14 Thread Nagendra Kumar O V S
hi, email error message requires only one variable i guessso u should be using arg0 name="email" key="${var:email}" resource="false"-- nagi ---Original Message--- From: Struts Users Mailing List Date: Monday,

Re: Struts is incomplete

2003-08-14 Thread Juan Alvarado
Well why don't you just not use Struts and roll your own framework and come back in about a year and let us know how it went. I'm sure by then you will think Struts had everything you needed and you won't be crying like a little baby over some iterate tag and/or how bad the doc is. The doc

RE: Bean tag help

2003-08-14 Thread Vance Heredia
Hm Why do I need a bean name and type in struts-conifg. The JSP I'm running is a basic page all it does is user the bean tag eg: snippet %@ page language=java import=java.net.URLEncoder contentType=text/html;charset=utf-8 % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib

Re: [OT] - [TOPIC] - [VOTE]

2003-08-14 Thread Puneet Agarwal
www.tcs.com : Check-it-out guys its a billion dollar company...!!! Regards, Puneet Agarwal Tata Consultancy Services, C-56, Phase - II, NOIDA 201305 (India) Phone: +91-120-2461001, 2, 7, 8, 9, 12, 13 (Ext. 1031) FAX              : +91-120-246 1521 Struts ... Action ... Struts in Action ...

RE: Help please - indexed field in ActionForm

2003-08-14 Thread Gary Kephart
Haven't used JSTL yet, but let me try this... class MyActionForm { private static final MAX_ENTRIES = 50; private ArrayList text; public MyActionForm() { text = new ArrayList(MAX_ENTRIES); for (int x = 0; x MAX_ENTRIES; x++) { text.add(); // avoids

RE: modules, somethings missing

2003-08-14 Thread Bailey, Shane C.
That would be great, if all the Struts users changed their mapping to *.asp Bill G. would think the whole world is using ASP and he would get a real Viagra moment from that. -Original Message- From: Travis Stevens [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 6:32 PM

Re: content type header

2003-08-14 Thread Adam Hardy
Your Number 2 should definitely work in struts 1.1 Presumably you do not have any English content type defined in the JSPs. I assume you are looking at the content type in the page properties in the browser. It is stuck on iso-8859-1 presumably? Are you sure it is not a cache problem? Adam

  1   2   3   4   5   6   7   8   9   10   >