RE: Role of Action Classes when using EJB and Struts

2003-09-26 Thread Brian McSweeney
http://xpetstore.sourceforge.net -Original Message- From: Kommineni, Sateesh (IndSys) [mailto:[EMAIL PROTECTED] Sent: 26 September 2003 14:58 To: Struts Users Mailing List Subject: Role of Action Classes when using EJB and Struts Hi All, What role does Action classes play when we a

Using multiple validators on one jsp

2003-10-01 Thread Brian McSweeney
Hi all, Say I have a jsp that takes two input parameters - one is an email and the other is a credit card. However I have two submit buttons, so if you enter the email, it runs Action 1, and if you enter The credit card it runs Action 2. I want to use the validator to validate the parameters a

RE: Using multiple validators on one jsp

2003-10-01 Thread Brian McSweeney
ay become words at any moment. "Brian McSweeney" <[EMAIL PROTECTED]> 01/10/03 02:58 PM Please respond to "Struts Users Mailing List" To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> cc: Subject:Using

RE: Character Encoding

2003-10-01 Thread Brian McSweeney
Sounds suspiciously like your database isn't configured for UTF-8 -Original Message- From: Stephan Wiesner [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 09:13 To: Struts Users Mailing List Subject: Re: Character Encoding Hi Remke, thanks for the link to the tool, quite useful. The head

RE: Question about minimizing javascript loaded into web page

2003-10-02 Thread Brian McSweeney
Hi Saul, Could you explain this a little more. I'm interested too. For example, at the moment I'm just using the tag: This brings down all the validator javascript in the page. 1) Is this what you mean by "static javascript"? 2) What exactly would you put in the staticJavascript.jsp p

Use Validator for two actions on same jsp

2003-10-02 Thread Brian McSweeney
Hi all, Didn't really get any clear response on this before. Is it possible to validate two actions from one jsp using the validator. This is easiest to explain with a short bit of code: :

RE: Question about minimizing javascript loaded into web page

2003-10-02 Thread Brian McSweeney
Helps very much Saul. Cheers. Final dumb question: So is the result of this that only the javascript methods pertaining to each jsp gets loaded into the page? If so, do you know why this isn't the default behaviour? Thanks, Brian -Original Message- From: Yuan, Saul (TOR-ML) [mailto:

RE: newbie: Best Practice Struts/Value-Objects?

2003-10-02 Thread Brian McSweeney
Hi Darren, I was under the impression that it works exactly the way you hope it does. Actually I'm pretty sure it does. Also what might be worth looking at ( I have to look at it myself ), is Light-value-objects where you only populate the initial value object with the 5 fields rather than the who

RE: Use Validator for two actions on same jsp

2003-10-02 Thread Brian McSweeney
but if you put the following in your jsp: The staticJavascript.jsp file is the same as in my previous post regarding validation. I think it may work, assuming you've defined the rest properly in your validation.xml file. Saul > -Original Message----- > From: Br

RE: Use Validator for two actions on same jsp

2003-10-02 Thread Brian McSweeney
actions on same jsp Great to be of some help. This is a wonderful community, isn't? Cheers, Saul > -Original Message----- > From: Brian McSweeney [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 02, 2003 11:30 AM > To: 'Struts Users Mailing List' > Subject: R

RE: ejb's and tomcat

2003-10-08 Thread Brian McSweeney
The answer to your problems lie here: www.sourceforge.net/projects/xpetstore -Original Message- From: ajay brar [mailto:[EMAIL PROTECTED] Sent: 08 October 2003 12:56 To: [EMAIL PROTECTED] Subject: RE: ejb's and tomcat hi! its actually for my software project at university. i am in uni.

RE: ejb's and tomcat

2003-10-09 Thread Brian McSweeney
This isn't the case for jboss at least. You gain major performance increases. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 10:35 To: Struts Users Mailing List Subject: RE: ejb's and tomcat Yes, the advantage of using local interfaces in EJBs is

RE: ejb's and tomcat

2003-10-09 Thread Brian McSweeney
riginal Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 11:08 To: Struts Users Mailing List Subject: RE: ejb's and tomcat JBoss is crap, anyway. -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 7:44 AM

RE: ejb's and tomcat

2003-10-09 Thread Brian McSweeney
x27;s an improvement, but really has little to do with EJB entity beans. -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 8:33 AM To: 'Struts Users Mailing List' Subject: RE: ejb's and tomcat Can't really agree with

RE: ejb's and tomcat

2003-10-10 Thread Brian McSweeney
h, but the only reason I posted that msg was for baiting purposes...and apparently I caught a lot of fish... ;-P Mark -Original Message----- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 9:37 AM To: 'Struts Users Mailing List' Subject: RE: ejb&#x

RE: ejb's and tomcat

2003-10-10 Thread Brian McSweeney
sment: JBoss is not worth the trouble. In short, it's crap. Oh yeah...and thanks for the waste of bandwidth with your useless msg; next time, practice what you supposedly believe and email your criticism privately. Marko Sharko -----Original Message- From: Brian McSweeney [mailto:

RE: [Slightly OT] Where/how to start?

2003-10-14 Thread Brian McSweeney
I reckon you should try to read the source code of a good open source j2ee app. Furthermore, J2EE is big - there's a lot of stuff you could use. I would recommend sticking to standards. Struts is good for this, so why not look at the struts examples that come with the struts download. Another lar

RE: Converting to Struts, where to put Servlet init() code?

2003-10-15 Thread Brian McSweeney
Easier still, you don't have to write a servlet, just a class that implements ServletContextListener, eg something like: public class StartupListener implements ServletContextListener { private Log log = LogFactory.getLog(StartupListener.class); ServletContext servletContext;

RE: Converting to Struts, where to put Servlet init() code?

2003-10-15 Thread Brian McSweeney
Cool :-) Glad to be of help! Brian -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 15 October 2003 14:36 To: Struts Users Mailing List Subject: RE: Converting to Struts, where to put Servlet init() code? Brian wrote: > Easier still, you don't have to write a servlet,

RE: [OT]formatting line breaks and tabs in emails?

2003-10-15 Thread Brian McSweeney
Are the "\n" values being pulled in from resource bundles? -Original Message- From: Otto, Frank [mailto:[EMAIL PROTECTED] Sent: 15 October 2003 14:57 To: 'Struts Users Mailing List' Subject: AW: [OT]formatting line breaks and tabs in emails? I using \n as line breaks in mails and it func

RE: [OT]formatting line breaks and tabs in emails?

2003-10-15 Thread Brian McSweeney
OT]formatting line breaks and tabs in emails? Yes, I use it in property-files. -Ursprüngliche Nachricht- Von: Brian McSweeney [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 15. Oktober 2003 18:08 An: 'Struts Users Mailing List' Betreff: RE: [OT]formatting line breaks and tabs

RE: No getter method

2003-10-16 Thread Brian McSweeney
Dad, Don't ring that guy yet, I know him myself pretty well so I'd prefer to tell him you'll give him a call. I was talking to him briefly but he was busy at work so he said he'd give me a ring back. Cheers, Brian -Original Message- From: Mariano García [mailto:[EMAIL PROTECTED] Sent:

RE: No getter method

2003-10-16 Thread Brian McSweeney
Sorry! Wrong recipient! -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: 16 October 2003 12:02 To: 'Struts Users Mailing List' Subject: RE: No getter method Dad, Don't ring that guy yet, I know him myself pretty well so I'd prefe

Help setting up sslext

2003-10-16 Thread Brian McSweeney
Hi all, Searched the archives, but couldn't quite get a good simple explanation of how to set up sslext. Here's my progress so far: 1) Hook up ssl with your keystore etc on your container 2) Download sslext from sourceforge. 3) Install the sslext.jar in my WEB-INF/lib folder 4) Install the ta

RE: Help setting up sslext

2003-10-17 Thread Brian McSweeney
under the impression that they'd switch back to normal http. Is this not correct? Cheers, Brian -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 17 October 2003 08:09 To: Struts Users Mailing List Subject: Re: Help setting up sslext On 10/16/2003 05:13 PM Brian McSwe

RE: Help setting up sslext

2003-10-20 Thread Brian McSweeney
b.xml for a URL. To get it to switch back from SSL into unencrypted, putting in the action mapping is necessary. HTH Adam On 10/17/2003 04:53 PM Brian McSweeney wrote: > I've put in the change in the action-mappings in the > struts-config.xml file > > > > but the proble

RE: Help setting up sslext

2003-10-20 Thread Brian McSweeney
ied in your logs anywhere? I don't follow your hotmail example either. Are you talking about container-managed logins or roll-your-own? Adam On 10/20/2003 12:41 PM Brian McSweeney wrote: > It still isn't switching back to http for other actions when > I specify > >

Actions which create sessions seem to hang

2003-11-21 Thread Brian McSweeney
Hi guys, This is a bit of a vague question I know, but perhaps someone can help. It may be a struts issue or a jboss issue. I'm not sure. I'm using JBoss 3.2.2 and struts. After about 24 hours of my application running, struts actions which create a http session seem to hang. I have no idea why

RE: Actions which create sessions seem to hang

2003-11-21 Thread Brian McSweeney
questions to the most specific user community. HTH, Paul > -----Original Message- > From: Brian McSweeney [mailto:[EMAIL PROTECTED] > Sent: 21 November 2003 11:11 > To: 'Struts Users Mailing List' > Subject: Actions which create sessions seem to hang > > &g

RE: Actions which create sessions seem to hang

2003-11-21 Thread Brian McSweeney
tter -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 6:11 AM To: 'Struts Users Mailing List' Subject: Actions which create sessions seem to hang Hi guys, This is a bit of a vague question I know, but perhaps someone can hel

RE: Actions which create sessions seem to hang

2003-11-21 Thread Brian McSweeney
ing Tomcat as the servlet runner (I don't know a lot about Jboss) or is there a built-in one in Jboss? worse is better -Original Message----- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 8:54 AM To: 'Struts Users Mailing List' Subject:

RE: Actions which create sessions seem to hang

2003-11-21 Thread Brian McSweeney
e. > > cheers > srinivas > > Brian McSweeney <[EMAIL PROTECTED]> wrote: > Hi Mike, > > Thanks very much for the reply. I think in jboss there is a standard > session timeout anyway of 30 minutes. I've changed this now to 10 > minutes. Is there a way to

RE: Struts Validator

2003-08-14 Thread Brian McSweeney
Validator > -----Original Message- > From: Brian McSweeney [mailto:[EMAIL PROTECTED] > Sent: August 14, 2003 6:29 AM > To: 'Struts Users Mailing List' > Subject: RE: Struts Validator > > > +1 for it works for me too. > Not knowing javascript well, using the va

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 y

RE: Struts Validator

2003-08-14 Thread Brian McSweeney
+1 for it works for me too. Not knowing javascript well, using the validator allowed me to quickly do client side validation. +1 for it isn't so easy to use. I think a "REALLY" simple default app that shows exactly how each different field validation works would dramatically increase the use of

RE: file upload problem - FileNotFoundException

2003-08-18 Thread Brian McSweeney
Sounds like we're having similar problems. I'm using JBoss. I got that problem when I didn't have the commons-fileupload.jar in my ejb server's classpath. I know you said you have that, but make sure! -Original Message- From: Kuba [mailto:[EMAIL PROTECTED] Sent: 18 August 2003 10:31 To:

RE: file upload problem

2003-08-18 Thread Brian McSweeney
ssion from read-only??Its just a guess Thanks Prashanth Brian McSweeney <[EMAIL PROTECTED]> wrote: Hi all, I'm trying to do a file upload action based on the example struts-upload.war. I want to save the uploaded file to a folder on disk. However when I try to run the action I get an

RE: file upload problem

2003-08-18 Thread Brian McSweeney
not a folder for the upload path (i.e. /tmp/upload/upload.txt not /tmp/upload). HTH, Shane -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 7:24 AM To: 'Struts Users Mailing List' Subject: RE: file upload problem Thanks Prasha

RE: file upload problem

2003-08-18 Thread Brian McSweeney
I would also love to know the solution to this problem. I'm doing the exact same thing as you Erez. Also working with JBoss_Tomcat. Is there some way to tell tomcat to serve files from a specific directory outside the context root? -Original Message- From: Erez Efrati [mailto:[EMAIL P

RE: file upload problem

2003-08-18 Thread Brian McSweeney
cific environment. -Shane -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 10:47 AM To: 'Struts Users Mailing List' Subject: RE: file upload problem I would also love to know the solution to this problem. I'm doing the exa

RE: file upload problem

2003-08-20 Thread Brian McSweeney
P access those files. Lost in the wilderness :) How is it done? 2) I could always store those files in the database but then I would have to access them through an action, is this wise? Thanks a bunch, Erez -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: M

[OT] Shopping cart best practices - Cookie, HttpSession or DB

2003-08-20 Thread Brian McSweeney
Hi all, Quick question. I want to implement a shopping cart. I know this has been done a million times in a million open source projects however I have a few questions, and seeing as everyone in here seems so knowledgeable. What I'd like: 1) User can add to shopping cart without having to c

RE: [OT] Shopping cart best practices - Cookie, HttpSession or DB

2003-08-21 Thread Brian McSweeney
Hey Tero, Thanks for the reply. Really appreciate the tips. Brian -Original Message- From: Paananen, Tero [mailto:[EMAIL PROTECTED] Sent: 20 August 2003 18:36 To: 'Struts Users Mailing List' Subject: RE: [OT] Shopping cart best practices - Cookie, HttpSession or DB > The options I hav

RE: [OT] Shopping cart best practices - Cookie, HttpSession or DB

2003-08-21 Thread Brian McSweeney
s - Cookie, HttpSession or DB I think you'd make your life easier if your required login. .V Brian McSweeney wrote: > Hi all, > > Quick question. I want to implement a shopping cart. I know this has > been done a million times in a million open source projects however I > ha

RE: [OT] Shopping cart best practices - Cookie, HttpSession or DB

2003-08-21 Thread Brian McSweeney
ut by getting folks paying asap, the extras don't become show stoppers. Cheers Mark On Thursday, August 21, 2003, at 02:33 PM, Brian McSweeney wrote: > Hi Vic, > > Definitely life would be easier, but I don't think it's as good :-) > > Thanks though, > Brian >

Validating uploaded file as an image only

2003-08-22 Thread Brian McSweeney
Hi everyone, I've managed to get the struts file upload working successfully, using the struts FormFile class and the upload example. Cool :-) However, in my app, I only want images to be uploaded. I'm going to store the images on disk and put the path of the image file into the database. S

RE: Validating uploaded file as an image only

2003-08-22 Thread Brian McSweeney
- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: 22 August 2003 11:13 To: 'Struts Users Mailing List' Subject: Validating uploaded file as an image only Hi everyone, I've managed to get the struts file upload working successfully, using the struts FormFile class

RE: [OT] Shopping cart best practices - Cookie, HttpSession or DB

2003-08-22 Thread Brian McSweeney
Thanks for the info Greg, Another good idea :-) I appreciate it, Brian -Original Message- From: Greg Ludington [mailto:[EMAIL PROTECTED] Sent: 21 August 2003 16:39 To: 'Brian McSweeney'; 'Struts Users Mailing List' Subject: RE: [OT] Shopping cart best practices - Co

RE: [OT] Shopping cart best practices - Cookie, HttpSession or DB

2003-08-22 Thread Brian McSweeney
Thanks Adam, Makes sense, Appreciate it, Brian -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 21 August 2003 22:07 To: Struts Users Mailing List Subject: Re: [OT] Shopping cart best practices - Cookie, HttpSession or DB I think the issue of using up server memory wi

RE: Validating uploaded file as an image only

2003-08-22 Thread Brian McSweeney
. The only thing I don't do is validate the mime-type. I haven't tried uploading images from a text browser (ie lynx or links), yet, to see what sort of mime-type it would attach.. but the ones from IE always seem to be fine. cheers! -- adam - Original Message - From: "B

RE: Validating uploaded file as an image only

2003-08-22 Thread Brian McSweeney
27; allow anything over 1M), and then image dimensions. The only thing I don't do is validate the mime-type. I haven't tried uploading images from a text browser (ie lynx or links), yet, to see what sort of mime-type it would attach.. but the ones from IE always seem to be fine. cheers

how to handle unknown exceptions/errors

2003-08-26 Thread Brian McSweeney
Hi all, Is there a standard way to handle all unknown exceptions in Struts? For example in my Action classes I normally Catch specific exceptions and forward to specific error pages. But for all other exceptions should I just forward to a global Errors page? Eg: In my struts action

RE: how to handle unknown exceptions/errors

2003-08-27 Thread Brian McSweeney
exceptions? Cheers, Brian -Original Message----- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: 26 August 2003 12:50 To: 'Struts Users Mailing List' Subject: how to handle unknown exceptions/errors Hi all, Is there a standard way to handle all unknown exceptions in Struts?

RE: how to handle unknown exceptions/errors

2003-08-27 Thread Brian McSweeney
Hi Dave, That's all I wanted to know. :-) thanks, Brian -Original Message- From: David Tobey [mailto:[EMAIL PROTECTED] Sent: 27 August 2003 15:56 To: Brian McSweeney; 'Struts Users Mailing List' Subject: RE: how to handle unknown exceptions/errors Brian: The below

Internationalizing Email updates

2003-09-16 Thread Brian McSweeney
Hi all, I'm trying to support internationalization in my app using standard resource bundles etc. However, I was going to use resource bundles to internationalize email updates to users of the app too. However, I've just been told that you can't internationalize emails (subjects at least). Is thi

Re: [OT] FRIDAY: HTML Checkboxes SUCK!!!

2003-06-16 Thread Brian McSweeney
I was just thinking about doing the same because of the many messages discussing the evils of checkboxes. I would also like to use what you suggested Andrew --> an empty option that doesn't pass validation. However, I wonder is it possible to do this type of validation with the validator? thanks,

Re: [OT] FRIDAY: HTML Checkboxes SUCK!!!

2003-06-16 Thread Brian McSweeney
submit that field from a select box > and provide a blank option whose value is an empty string my validation code > will pick it up when the user selects it and add an ActionError to the > effect that the field wasnt filled in... > > -Original Message- > From: Brian McS

Re: [OT] FRIDAY: HTML Checkboxes SUCK!!!

2003-06-16 Thread Brian McSweeney
Hey Tib, thanks for the tip. I've never used the mask validator before. If I'm right, it's used for custom regular expression validation. So how would you do that for yes|no ? Something like: mask yes|no Forgive my woeful lack of regular

Re: [OT] FRIDAY: HTML Checkboxes SUCK!!!

2003-06-16 Thread Brian McSweeney
thanks for all the help Tib, I'll give it a try. Brian - Original Message - From: "Gemes Tibor" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, June 16, 2003 12:03 PM Subject: Re: [OT] FRIDAY: HTML Checkboxes SUCK

Displaying an object stored in the http session

2003-06-17 Thread Brian McSweeney
Hi all, I've a quick question. I have an object stored in the http session. The object has about 20 parameters. I want to display this object's values in a page. At the moment I was using the

RE: Displaying an object stored in the http session

2003-06-17 Thread Brian McSweeney
aat Informatiefabriek The Netherlands "Brian McSweeney" <[EMAIL PROTECTED]> 06/17/2003 05:17 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To <[EMAIL PROTECTED]> cc Subject Displaying an object stored in the http session

Anyone using Orion?

2003-06-20 Thread Brian McSweeney
Just a quick question. Is anyone using struts on an Orion J2EE server? Thanks, Brian

I8ln question

2003-06-24 Thread Brian McSweeney
Hi folks, In my application I have multiple category entries stored in a database table named "categories". For each entry, I have a name and a description field. I want to internationalize the application with struts and have identified two possible approaches. 1) Set up a resource bun

requiredif - simple example

2003-06-26 Thread Brian McSweeney
Hi all, The validator package works well for me. But I'm trying to use the requiredif and failing. I know there has been previous discussion of this, but I'm trying to a simple validation based on a checkbox so perhaps someone could tell me where I'm going wrong. For example, I want to v

RE: requiredif - simple example

2003-06-26 Thread Brian McSweeney
alidator doc on the struts documentation. Just expand the struts-documentation webapp that comes with your version of struts, it is under User and Developer Guides. -Kevin --- Brian McSweeney <[EMAIL PROTECTED]> wrote: > Hi all, > > The validator package works well for me

problems

2003-07-02 Thread Brian McSweeney
Hi all, I'm trying to display errors on a jsp to which my form returns if the data submitted is invalid. My form extends org.apache.struts.validator.ValidatorForm some fields use the validator form validation, but for custom server side validation I overwrite the validate method as follows:

RE: problems

2003-07-02 Thread Brian McSweeney
egards IV > from:Brian McSweeney <[EMAIL PROTECTED]> > date:Wed, 02 Jul 2003 10:28:03 > to: [EMAIL PROTECTED] > subject: Re: problems > > Hi all, > > I'm trying to display errors on a jsp to which my form returns if the >

RE: problems

2003-07-02 Thread Brian McSweeney
k trace saying that your message is not in this file? Regards IV > from: Brian McSweeney <[EMAIL PROTECTED]> > date:Wed, 02 Jul 2003 11:13:54 > to: [EMAIL PROTECTED] > subject: RE: problems > > Hi IV, > Thanks for the help. I gave that a go, > Put

RE: problems

2003-07-02 Thread Brian McSweeney
stuff ActionErrors errors = super.validate( mapping, request ); if (errors == null) { errors = new ActionErrors( ); } ... return errors; } Quoting Brian McSweeney <[EMAIL PROTECTED]>: > IV, > > >You want to have the message key in your ActionError and struts will

Custom Validation question

2003-07-02 Thread Brian McSweeney
Seeing as I'm doing so well today, getting my problems solved, I thought I'd give this one a go. I am validating some fields automatically using a ValidatorForm. However, some fields I validate myself by overwriting the validate method as follows: public ActionErrors validate( ActionMappin

RE: problems

2003-07-02 Thread Brian McSweeney
other developers eyeballing your code... Quoting Brian McSweeney <[EMAIL PROTECTED]>: > Reasons why people should love this list: > > 1) People solve bugs for you that you didn't even know you had! > > Thanks SO much Kris, > I turned off javascript, and yes, I was

Testing Frameworks - experience/recommendation

2003-07-02 Thread Brian McSweeney
Hi all, I know this has been discussed previously, but I’d like some user feedback. I’m going to start writing test cases soon, and I’d like to know people’s experience using the various frameworks available. First off, my environment: I’m using Struts talking to ejbs (session façade to entity

RE: Testing Frameworks - experience/recommendation

2003-07-03 Thread Brian McSweeney
Thanks to both Erik and Simon for the excellent advice/links, Regards, Brian -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 17:11 To: Struts Users Mailing List Subject: Re: Testing Frameworks - experience/recommendation Brian McSweeney wrote: >

How to pass parameters to a javascript popup

2003-07-03 Thread Brian McSweeney
Hi all, In my jsp I want to create a standard help with this field which will use javascipt to create a little popup dialog. I want my site to be internationalized, so the contents of the dialog box is also a jsp which is going to read from my resource bundle to get the help message. I was t

RE: How to pass parameters to a javascript popup

2003-07-03 Thread Brian McSweeney
an -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 03 July 2003 13:42 To: Struts Users Mailing List Subject: Re: How to pass parameters to a javascript popup Brian McSweeney wrote: > a) if this makes any sense yes it does > b) how to pass the parameter (sho

RE: Réf. : Re: How to pass parameters to a javascript popup

2003-07-03 Thread Brian McSweeney
PROTECTED]> 03/07/2003 16:24 Veuillez répondre à "Struts Users Mailing List" Pour : Struts Users Mailing List <[EMAIL PROTECTED]> cc : Objet : Re: How to pass parameters to a javascript popup Brian McSweeney wrote: > > onClick="openWin

RE: Réf. : Re: How to pass parameters to a javascript popup

2003-07-03 Thread Brian McSweeney
pass parameters to a javascript popup I didn't stop to think about it, but now that I do, where did you get "openWindow()" from? Not heard of it before. window.open() is the correct javascript. Brian McSweeney wrote: > Thanks for your help Adam, > > Meissa

two little questions

2003-07-14 Thread Brian McSweeney
Question1: If my application allows users to enter text which will then later be displayed on web pages, do I have to ensure that the text they write isn't html. For example, lets say a message board application. If a user enters in loads of text which is html, will this not mess up the page w

RE: two little questions

2003-07-14 Thread Brian McSweeney
ny that aren't in the allowable ones! Cheers Simon - Original Message - From: "Brian McSweeney" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 14, 2003 11:49 AM Subject: two little questions > Question1: > > If my application allows users to ente

RE: two little questions

2003-07-14 Thread Brian McSweeney
ve is similar - convert the < and > to < and > etc... >so it outputs as though it was text. > >-Original Message- >From: Brian McSweeney [mailto:[EMAIL PROTECTED] >Sent: Monday, 14 July 2003 18:38 >To: 'Struts Users Mailing List' >Subject: RE: two li

Dependent select boxes

2003-07-22 Thread Brian McSweeney
Hi all, I have an application that uses dependent select boxes, ie, by picking one item in a select box, then the contents of the next one will be decided. This is used as a way to navigate a tree structure. I know that this is a common way of representing this structure type. The problem

RE: Dependent select boxes

2003-07-22 Thread Brian McSweeney
erate javascript arrays dynamically and use them in the functions, I hope it will be helpful http://www.jguru.com/faq/view.jsp?EID=923880 - Original Message - From: "Brian McSweeney" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 22, 2003 1:45 P

RE: Ranko like question: What is the sense of some of these tags libs?

2003-07-23 Thread Brian McSweeney
What's really so wrong with scriptlets? -Original Message- From: Mike Jasnowski [mailto:[EMAIL PROTECTED] Sent: 23 July 2003 15:30 To: Struts Users Mailing List Subject: RE: Ranko like question: What is the sense of some of these tags libs? IMO, I wouldn't take examples like that as a "

Design Question - same action, many jsps/views

2003-07-28 Thread Brian McSweeney
Hi all, I've come across a situation which I'm not sure how to handle with struts. I have an action which, depending on from which page it's called, should forward to different jsps pages. Currently, for each resultant jsp, I create a new action with the exact same logic code inside which for

RE: STRUTS with EJB

2003-07-28 Thread Brian McSweeney
http://xpestore.sourceforge.net -Original Message- From: Laurent MARQUEZ [mailto:[EMAIL PROTECTED] Sent: 28 July 2003 10:33 To: [EMAIL PROTECTED] Subject: STRUTS with EJB Hi, I'm new in using of Struts. I would like to integrate STRUTS with EJB. I would like to have a complete example of

RE: Design Question - same action, many jsps/views

2003-07-28 Thread Brian McSweeney
urent PETIT [mailto:[EMAIL PROTECTED] Sent: 28 July 2003 10:37 To: 'Brian McSweeney '; '[EMAIL PROTECTED] ' Subject: RE: Design Question - same action, many jsps/views Hello, one way to solve it is not to duplicate code in different Action classes, but have many ActionMappi

RE: Design Question - same action, many jsps/views

2003-07-28 Thread Brian McSweeney
.findForward("page1/page2/page3")); } In s-c: Hue. > -Original Message- > From: Brian McSweeney [mailto:[EMAIL PROTECTED] > Sent: 28 July 2003 10:39 > To: [EMAIL PROTECTED] > Subject: Design Question - same action, many jsps/views > > > Hi a

struts-user@jakarta.apache.org

2003-07-29 Thread Brian McSweeney
Hi all, I have parameters in a form bean and I want to use it as the key for an associated value in a resource bundle. I was considering using /> is this valid syntax? Thanks, Brian

RE:

2003-07-29 Thread Brian McSweeney
Hi David, Thanks for the quick reply. I know that JSTL might be the best way, but for the moment I'd really prefer to just get it working with the struts tags first because it's an entire app using the struts tags. If my proposed method isn't valid how about something like: "/> Perhaps this wo

RE:

2003-07-29 Thread Brian McSweeney
gt; -Original Message- > From: David Graham [mailto:[EMAIL PROTECTED] > Sent: 29 July 2003 16:04 > To: Struts Users Mailing List > Subject: Re: > --- Brian McSweeney <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I have parameters in a form bean and I

RE:

2003-07-29 Thread Brian McSweeney
7; Subject: RE: Paul -Original Message----- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: 29 July 2003 16:17 To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE: "/> Perhaps this would work? I know it's a bit nasty, but I just want to get it workin

RE:

2003-07-29 Thread Brian McSweeney
ssage- > From: David Graham [mailto:[EMAIL PROTECTED] > Sent: 29 July 2003 16:04 > To: Struts Users Mailing List > Subject: Re: > --- Brian McSweeney <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I have parameters in a form bean and I want to use

RE:

2003-07-29 Thread Brian McSweeney
Thanks Thomas! This makes things way easier! I was looking at old documentation for that tag and didn't realize that you can now use it that way. Thanks again, Brian -Original Message- From: Thomas Cornet [mailto:[EMAIL PROTECTED] Sent: 29 July 2003 17:22 To: Struts Users Mailing List

New to Struts

2003-04-02 Thread Brian McSweeney
Hi all, I'm relatively new to struts, have used Forms before and am thinking of switching to use DynamicActions instead of normal Actions to get the use of the Validator package. Can people tell me if this is a worthwhile endevour and also, is there a good resource on how to make this change.

Re: New to Struts

2003-04-02 Thread Brian McSweeney
like being able to declare all my forms, and _not_ creating an ActionForm class for each form I create. > > > -Original Message- > From: Brian McSweeney [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 02, 2003 11:23 AM > To: [EMAIL PROTECTED] > Subject: New to Strut

Re: New to Struts

2003-04-02 Thread Brian McSweeney
ostings in the archives to see about validation issues with DynaForms. But try them out first, and see how it goes. > The source code examples in the stuts_src.tar worked very well for me. Was not too difficult to understand. > > -----Original Message- > From: Brian McSweeney [mailto:

Page Iteration

2003-04-02 Thread Brian McSweeney
Hi all, I want to iterate over a collection and display a certain amount of items per page and list all the further pages available (just like on google). I presume this is a feature that has been added a million times. Did a quick search on the list and I see that use of the iterator with p

Re: Page Iteration

2003-04-03 Thread Brian McSweeney
e page. > > If you aren't pulling from the DB, look at JSTL under Taglibs->Standard at > Jakarta's web site. Their demo war for JSTL goes over scoped iteration. > > -Jacob > > | -Original Message- > | From: Brian McSweeney [mailto:[EMAIL PROTECTED

Re: Page Iteration

2003-04-03 Thread Brian McSweeney
ults > returned, like MySql's LIMIT on SELECT queries (btw, google uses MySql). By > bounding the data returned from the DB in the first place, you just return > all objects received in the scope of the SELECT statement to the page. > > If you aren't pulling from the DB, look at

Re: Page Iteration

2003-04-03 Thread Brian McSweeney
g this taglib can u please verify and > let me know if i am missing some thing > > Ashish > > --- Brian McSweeney <[EMAIL PROTECTED]> > wrote: > > Hi all, > > > > I want to iterate over a collection and display a > > certain amount of items per pag

  1   2   >