Blank page returned from ActionForm

2005-05-26 Thread Andy
'/logon.jsp' As you can see it correctly returns the page to /login.jsp when errors are returned, but the page is blank and the html is - . There are no exceptions in the log. Why is something so basic turning out to be so hard? TIA, Andy. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Blank page returned from ActionForm

2005-05-26 Thread Andy
, as you say, didn't RTFM enough :) I think I'll have to give up on my own template app, and just modify the struts mailreader example as a starting point ... at least this way if it breaks I can just rollback my changes. Andy. >-Original Message- >From: Andrew Thorel

RE: Blank page returned from ActionForm

2005-05-26 Thread Andy
desk in frustration. Andrew, Dave and Michael thank you for help. I'm sure your posts contain answers to problems I have yet to encounter :) Perhaps the DTD should be updated for this field to dissallow forward slashes. Andy. >-Original Message- >From: Dave Newton [ma

RE: Blank page returned from ActionForm

2005-05-26 Thread Andy
I should qualify my last e-mail. I did change the execute method, to include amongst other things the saveError call (thanks Dave), as shown in the Struts example. Andy. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Newbie Question : Session Management without cookies

2005-05-30 Thread Andy
goodness!) For the different implementation methods, this has been covered before - http://www.mail-archive.com/struts-user@jakarta.apache.org/msg24504.html This used to be in the Struts FAQ I think. Andy. >-Original Message- >From: Martin Gainty [mailto:[EMAIL PROTECTED] >Sent: 29

Newbie Q - Rendering drop down menu

2005-06-02 Thread Andy
Hi All, Why does the following render as a box containing text (you know what I mean - where you can select multiple items) rather than a drop down menu ? I mean how else can you define select and options? *confused* Andy

RE: Newbie Q - Rendering drop down menu

2005-06-02 Thread Andy
box; they may use any other >mechanism, such as a drop-down menu." > >In other words, the size attribute that you are using *tells* the >browser to show up to ten rows from the selection list at once. What >did you think it was for, out of curiosity? > >-- Jeff &g

file upload help

2009-04-17 Thread Andy
;. Any ideas? I'm using Struts2.16, default interceptor stack, tiles, spring.. Thanks! Andy _ Windows Live™: Life without walls. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1b_explore_042009

RE: recipes for 2.0.x?

2009-04-17 Thread Andy
Just want to say that I am not using the s2 DWR plugin but I am using the spring DWR plugin in my s2 app and it rocks. JQuery also rocks but I like how DWR wires ajax to java class and marshals/unmarshals everything. > Date: Fri, 17 Apr 2009 16:24:24 -0400 > Subject: Re: recipes for 2.0.x?

file upload interceptor alternative

2009-04-19 Thread Andy
It seems there are some big holes in the file upload interceptor. Validation doesn't work as stated and and max file size configs are not being used properly. I verified by checking the 2.1.6 JIRA list. Is there any "robust" alternative that people are using? Thanks ___

RE: Any hint of JQuery on struts2 tutorial, thanks!

2009-04-30 Thread Andy
I agree with you 100%. For me, same goes for DWR. Andy > Date: Fri, 1 May 2009 11:11:02 +1000 > Subject: Re: Any hint of JQuery on struts2 tutorial, thanks! > From: zo...@sparecreative.com > To: user@struts.apache.org > > We¹ve been using jQuery in a Struts2 project witho

determine if iphone user?

2009-05-01 Thread Andy
Hi, is there an easy way to tell in an s2 action if the request is coming from an iphone/mobile device? Thanks! _ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM

RE: determine if iphone user?

2009-05-01 Thread Andy
> I think the HTTP_USER_AGENT header should be similar to: > > Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ > (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3 > > If a request comes from the IPhone browser > > On Fri, May 1, 2009 at 3:06 PM, An

stream result causing action to be called multiple times

2009-05-04 Thread Andy
Hi, I have an action that returns a stream result type and for some reason my action is getting called multiple times: ${attachmentContentType} filename="${attachmentFileName}" This causes some inefficiency since the action is retrieving an image from the database on each call. IDeas?

RE: stream result causing action to be called multiple times

2009-05-05 Thread Andy
g on a Mac. OSX/Firefox. I will try testing on windows/IE. Thanks > Date: Tue, 5 May 2009 04:08:49 -0200 > Subject: Re: stream result causing action to be called multiple times > From: poulw...@gmail.com > To: user@struts.apache.org > > Hi Andy, > If so maybe the b

RE: stream result causing action to be called multiple times

2009-05-05 Thread Andy
://sheetalshundori.blogspot.com/2008/02/struts2-dynamic-file-download.html > Date: Tue, 5 May 2009 15:23:23 -0400 > From: d...@newfield.org > To: user@struts.apache.org > Subject: Re: stream result causing action to be called multiple times > > Andy wrote: > > I have an action that retu

RE: stream result causing action to be called multiple times

2009-05-05 Thread Andy
Yep that totally fixed it. Thanks!! Andy > Date: Tue, 5 May 2009 16:28:53 -0400 > From: d...@newfield.org > To: user@struts.apache.org > Subject: Re: stream result causing action to be called multiple times > > Andy wrote: > > I may be reading this doc wrong, but

RE: About the "struts.multipart.saveDir" for file upload

2009-06-03 Thread Andy
It defaults but I think he's wondering how he can set the dir programatically. > Date: Wed, 3 Jun 2009 15:35:33 -0500 > Subject: Re: About the "struts.multipart.saveDir" for file upload > From: burtonrho...@gmail.com > To: user@struts.apache.org > > I wasn't aware that it was required. If you

RE: About the "struts.multipart.saveDir" for file upload

2009-06-03 Thread Andy
That's great Wes. I am using the file upload but only sparingly (and hacked) due to some existing glitches. I read how the Stripes framework does file upload: http://www.stripesframework.org/display/stripes/File+Uploads Thought you might find it interesting/useful..

RE: [OT]Moving from Struts2 to grails, your thoughts

2009-06-10 Thread Andy
Two words - Stripes framework. > Date: Wed, 10 Jun 2009 22:06:11 -0400 > Subject: [OT]Moving from Struts2 to grails, your thoughts > From: bhaara...@gmail.com > To: user@struts.apache.org > > Guys, > > I've been doing struts2 for about 2 years, although I dont know everything > about it but

RE: unit testing Struts2 application (with Spring and Hibernate)

2009-07-17 Thread Andy
Couldn't agree more. > From: w...@wantii.com > To: user@struts.apache.org > Subject: Re: unit testing Struts2 application (with Spring and Hibernate) > Date: Thu, 16 Jul 2009 21:59:35 -0400 > > On Thursday 16 July 2009 07:14:30 pm Dave Newton wrote: > > > > IMO that's outside the purview of uni

RE: session tracking in struts

2008-02-21 Thread Andy
gt; Subject: Re: session tracking in struts> > 2008/2/21, > Andy Hahn <[EMAIL PROTECTED]>:> > I haven't seen many Struts1 questions since > I have joined so hopefully this is the right place to be asking.> > Yes it is > :-)> > > I am using Struts/Tomcat

Regex in Struts 1 tags?

2008-02-24 Thread Andy
Is there any kind of support or even a workaround to using regex in Struts 1 tags? For example, if I have a Form variable called 'description', I would like to use a logic tag in a jsp to see if the the value of that form variable starts with '001_&#

RE: [struts] [OT] Re: Multiple / Nested Forms

2008-02-26 Thread Andy
I didn't catch this original post but I was actually wondering how to manage embedded forms with Struts1. In the example below, it would be nice to submit the inner form and then in the inner action class have available the inner form and the outer form, and to do so without having to manual

RE: [struts] [OT] Re: Multiple / Nested Forms

2008-02-26 Thread Andy
I dont have that but I was trying to describe the concept Im going for. Thoughts appreciated. > Date: Tue, 26 Feb 2008 14:11:53 -0800> From: [EMAIL PROTECTED]> Subject: RE: > [struts] [OT] Re: Multiple / Nested Forms> To: user@struts.apache.org> > --- > Andy <[EMA

Struts1 forms with empty Strings

2008-02-29 Thread Andy
configure something globally if possible. Thanks.. Andy _ Helping your favorite cause is as easy as instant messaging. You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join

Preventing duplicate form submissions

2008-12-28 Thread Andy
Hi, I am looking for some best-practice advice for avoiding duplicate form submissions in Struts2. I recently created a form that accepts user input, however after submitting the form the user may still refresh the page which resubmits the form. This wasn't handled so elegantly in Struts1 so

RE: Preventing duplicate form submissions

2009-01-03 Thread Andy
or is doing.. Andy > Date: Sun, 28 Dec 2008 13:05:20 +0100 > From: nil...@gmail.com > To: user@struts.apache.org > Subject: Re: Preventing duplicate form submissions > > Take a look at the TokenInterceptor [1]. > > Nils-H > > [1] - http://struts.apache.org/2.0.14/docs

RE: Performance issue

2009-01-06 Thread Andy
I would be interested in seeing new benchmark results if anyone happens to generate some. Might want to avoid database-based tests due to caching. > Date: Tue, 6 Jan 2009 16:19:36 -0500> From: pierre.thibaud...@gmail.com> To: > user@struts.apache.org> Subject: Re: Performance issue> > Yes the

RE: Error Throwing With Struts 2 Tags

2009-01-08 Thread Andy
This would be a nice-to-have.. Patch would be to add a LOG.info() or throw an exception in org.apache.struts2.components.Property.start().. > Date: Tue, 6 Jan 2009 16:23:40 -0500> From: newton.d...@yahoo.com> To: > user@struts.apache.org> Subject: Re: Error Throwing With Struts 2 Tags> > >

Searching Value Stack - OGNL

2009-01-08 Thread Andy
Would specifying a scope (ex. #request) speed up OGNL searches of the Value Stack? Otherwise I would image the Value Stack would have to search all scopes if scope was not specified? If I have 1,000 items in the Value Stack and the Value Stack is searched 50 times (50 tags in my JSP), then th

ServletRequestAware interface

2009-01-13 Thread Andy
Having my s2 action classes implement ServletRequestAware works great for getting request parameters. However it doesn't look like non-action classes can implement this interface to get the parameters. Since I offload my action class execute() processing to a service class (which is injected

RE: ServletRequestAware interface

2009-01-13 Thread Andy
uts.apache.org > Subject: Re: ServletRequestAware interface > > Andy wrote: > > Having my s2 action classes implement ServletRequestAware works great > > for getting request parameters. > > It's not necessary, though, as S2 will set request parameters into > acti

application entry point

2009-01-16 Thread Andy
What is the recommended design for adding an entry point into a Struts2 application instead of using in web.xml? _ Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL

RE: exception handling

2009-01-18 Thread Andy
Regarding the OP - I tried your code and it worked for me so not sure why your not seeing the exception stack. Regarding to the first responder - you could take this a step further and have ActionUnhandledExceptionHandler redirect to another action (Redirect After Post)‏. > Date: Sun, 18 J

A different exception handling question

2009-01-18 Thread Andy
Does anyone know why you can't pass the exceptionStack from a global result to an action class? Other parameters pass fine, just not that one: Ex. error ${exceptionStack} I get the following exception: java.lang.ArrayIndexOutOfBoundsException: 8192

RE: exception handling

2009-01-19 Thread Andy
pache.org > Subject: RE: exception handling > > > I must be misunderstanding something, is that not what I am already doing my > chaining to another action? > > > > Andy Hahn wrote: > > > > Regarding to the first responder - you could take this a step furt

RE: Struts 2 session problem

2009-01-19 Thread Andy
I agree with ya. I have been doing something very similar with hidden fields in my app for some time. The server knows if a new browser instance is requested by checking the hidden field. If its empty it then creates a new key and sets the hidden field. Basically partitions the session base

Handling JSP exceptions in Struts2

2009-01-20 Thread Andy
Using the Exception interceptor works great for catching exceptions throw by actions. However I am wondering what is the recommended method for catching and handling exceptions thrown by a JSP? I assume that JSP exceptions are outside the S2 scope and are to be handled at the container level?

RE: Handling JSP exceptions in Struts2

2009-01-22 Thread Andy
is is what I was trying to use (web.xml): java.lang.Exception /canvas.action > Date: Thu, 22 Jan 2009 11:19:35 + > From: ahardy.str...@cyberspaceroad.com > To: user@struts.apache.org > Subject: Re: Handling JSP exceptions in Struts2 > > Andy on 20/01/09

RE: how to redirect from prepare() method in struts 2

2009-01-24 Thread Andy
Just got done reading Struts2 In Action and highly recommend it, as well as the documentation :) > From: w...@wantii.com > To: user@struts.apache.org > Subject: Re: how to redirect from prepare() method in struts 2 > Date: Sat, 24 Jan 2009 14:48:53 -0500 > > On Saturday 24 January 2009 14:11:

RE: Handling JSP exceptions in Struts2

2009-01-26 Thread Andy
e has any thoughts, please let me know. Thanks! > Date: Mon, 26 Jan 2009 14:21:39 + > From: ahardy.str...@cyberspaceroad.com > To: user@struts.apache.org > Subject: Re: Handling JSP exceptions in Struts2 > > Did you sort this out already Andy? > > I can't

RE: Handling JSP exceptions in Struts2

2009-01-27 Thread Andy
any of you know.> > Regards> Nageswara Rao Please dont hijack threads, start your own. > Date: Mon, 26 Jan 2009 22:50:45 -0800> From: nag...@btpsoft.com> To: > user@struts.apache.org> Subject: RE: Handling JSP exceptions in Struts2> > > > > > Andy Hahn wro

RE: Exception while upgrading from S 2.0.11 to 2.1.6

2009-01-28 Thread Andy
fyi I had to add commons-fileupload to my classpath only after upgrading to 2.1.6 from 2.0.14.. Before the upgrade it wasnt required. > Date: Tue, 27 Jan 2009 23:11:40 -0500> From: newton.d...@yahoo.com> To: > user@struts.apache.org> Subject: Re: Exception while upgrading from S 2.0.11 > to 2

RE: How to stop action getting called on click of refresh button

2009-02-01 Thread Andy
I would recommend redirecting to another action/jsp after the form post (PRG pattern). > Date: Sun, 1 Feb 2009 12:55:23 +0530 > Subject: Re: How to stop action getting called on click of refresh button > From: go4m...@gmail.com > To: user@struts.apache.org > > > > > So is there any way to stop

RE: [S2] Creating and calling a servlet in sturts2 app

2009-02-04 Thread Andy
I ran into the same thing as the OP. I think the FilterDispatcher is catching all requests to the servlet since it uses a url-mapping of /*. The Struts in Action book, from what I remember, suggests having an Action receive the request and then dispatch to a servlet. If anyone has direc

struts2 rest plugin

2009-02-07 Thread Andy
Can this plugin re-write the urls generated by struts2 jsp tags to be more rest/rubyonrails-like? ex. ?user=123 --> /user/123 The plugin doesn't appear to be regex-based, is that correct? I'm trying to decide if I am going to use the rest plugin or http://tuckey.org/urlrewrite. Thanks

RE: [S1]struts with hibernate

2009-02-10 Thread Andy
There are several things it could be. You could be running out of connections or you could be closing a connection and then trying to access it. Not sure its entirely struts related.. > From: lrampers...@ceis.cujae.edu.cu > To: user@struts.apache.org > Subject: Re: [S1]struts with hiber

RE: Struts 2 Architecture - Best Practices...

2009-02-24 Thread Andy
Right now I am using Struts2, Spring, and Hibernate. Although the Spring JdbcTemplate is looking better all the time. I follow this: Action --> Service --> Dao Yes it is more code, but the benefits are in testibility, componentization, and maintenance. I even have this: Action -->

RE: issues when using urlrewritefilter with struts2

2009-02-24 Thread Andy
would have to be able to generate URLs RESTfully as well as break apart requests using regex, IMO. Andy > Date: Tue, 24 Feb 2009 10:09:44 +0100 > Subject: Re: issues when using urlrewritefilter with struts2 > From: krom...@gmail.com > To: user@struts.apache.org > >

RE: Struts 2 Architecture - Best Practices...

2009-02-24 Thread Andy
; Why might you switch back to jdbc as opposed to hibernate. What > obstacles are you facing there? > > On 2/24/09, Andy wrote: > > > > Right now I am using Struts2, Spring, and Hibernate. Although the Spring > > JdbcTemplate is looking better all the time.

DWR and S2 setup problem

2009-03-29 Thread Andy
I am trying to incorporate DWR into my Spring/Struts2 application, but receive a 404 when accessing http://localhost:8080/myapp/dwr. It seems the DWR servlet is not being reached. Any ideas? Thanks Here is the error: There is no Action mapped for action name dwr/. - [unknown location] Her

RE: DWR and S2 setup problem

2009-03-31 Thread Andy
define my stuff in applicationContext.xml instead of using a dwr.xml file. Just my preference. Thanks for the post. Andy > Date: Mon, 30 Mar 2009 00:21:10 -0500 > Subject: Re: DWR and S2 setup problem > From: c...@burlesontech.com > To: user@struts.apache.org > > I hav

[ot] eclipse vs. IDEA

2004-05-19 Thread Andy Engle
Hi all, I am wondering (for you Mac users out there) if IDEA is less of a resource hog than eclipse? When I fire up eclipse on my Mac it seems like that thing takes a lot o' juice. Is IDEA just as bad, or is it a little lighter? Thanks,

From bean into "for" loop

2004-05-24 Thread Andy Engle
x27;m trying to do: <% for(int i = 0; i < ${productData.someCount}; i++) { %> // Write my text here <% } %> What am I missing here? If you could help me I'd appreciate it -- enough time wasted on this thin

Re: From bean into "for" loop

2004-05-24 Thread Andy Engle
Hi all, Thanks to all of you who responded to my question. I certainly should be able to solve the problem now. I appreciate your responses! Have a great day. Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

DynaValidatorForm property is not updated with values that the user inputs

2004-05-24 Thread Andy Leonardo
that the DynaValidatorForm does not take the Qty values updated by users. The qty values are always 0 regardless what value I put in. What am I missing? Tips or hints?? TIA Andy $$Form declaration$$ $$The rendered Html$$ PartID: Part Qty

MySQL, iBatis, and mysql_insert_id

2004-06-03 Thread Andy Engle
get that ID back so I can use it on secondary inserts which will need that ID as a key. Has anyone ever done anything like this before? If not, what sorts of methods did you use in this scenario to accomplish this? Thanks very much for your help, as always. Andy

Re: Charts with struts

2004-06-14 Thread Andy Engle
here I have the licensed version yet, but the demo I got a week or two ago is working out pretty well with my Struts app. Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: a fine example of an example

2004-06-21 Thread Andy Engle
r good sites that have good code on them for your benefit, but these are the ones that seem to have been the most helpful to me. Hopefully they'll be helpful to you as well. Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts, XDoclet, and Maven...

2004-06-24 Thread Andy Akins
right direction. I have "XDoclet in Action" to learn the XDoclet stuff - but I'd like to use Maven instead of just Ant. Thanks for any help/insight... Andy Akins - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] FW: Timothy J Theis is out of the office

2004-06-24 Thread Andy Engle
Robert Taylor <[EMAIL PROTECTED]> wrote: > Should we call Mike, and tell him to tell Tim to unsubscribe when > he is out of the office :) I think we should. How annoying! Or we could have one of the list managers to unsubscribe him fo

Re: RE : Struts, XDoclet, and Maven...

2004-06-26 Thread Andy Akins
Thank you! This was exactly what I was looking for. Sadly, being new to Maven, I was unaware of the genapp plugin. Very useful! Again, thanks! Andy On Jun 24, 2004, at 8:00 AM, Heritier Arnaud wrote: Did you try : maven -Dtemplate=struts-jstl genapp Arnaud -Message d'origine---

Taglibs generating lots of warning messages

2004-08-04 Thread Andy Schmidgall
e log file) Does anyone know how to either fix what it's complaining about, or prevent these messages from displaying? The tags seem to be working just fine otherwise. Thanks, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED]

missing reload method on ActionServlet

2004-08-10 Thread Andy Dailey
application will not compile. I do not see a deprecated ActionServlet.reload() method message anywhere in 1.0.2 or 1.1. Can someone point me in the right direction with this? Is there a different method I should be using. Thanks, Andy

RE: missing reload method on ActionServlet

2004-08-10 Thread Andy Dailey
supported. http://struts.apache.org/faqs/newbie.html#reload --- Andy Dailey <[EMAIL PROTECTED]> wrote: > I am currently in process of upgrading to version 1.1, an application > that was build on version 1.0.2. Right now it seems that I am stuck. I > have extended the ActionServlet

RE: Taglibs generating lots of warning messages

2004-08-10 Thread Andy Schmidgall
Does anyone know anything about this? This is generating HUGE catalina.out files, and I would really like to use log4j to catch these rather than having to build and/or configure yet another app just to rotate this one file... Thanks, Andy -Original Message- From: Andy Schmidgall Sent

RE: Validator - Javascript question

2004-08-12 Thread Andy Schmidgall
form[oIdentical[x][0]] Where x is the index of the field. (0 would be the first field to validate, 1 the second, etc.) You can also reference the field arguments and variables if you have those defined. I hope this helps, Andy -Original Message- From: Ratnakar Parakala [mailto:[EMAIL PROT

Displaying bean values within tiles

2004-08-13 Thread Andy Engle
nd I look forward to receiving your responses. Best Regards, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Displaying bean values within tiles

2004-08-13 Thread Andy Engle
Whatever() in step #1. Is that the way this thing works? Thank you for your help! Andy --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Andy Engle [mailto:[EMAIL PROTECTED] > > Sent: Friday, August 13, 2004 12:05 PM

RE: Validation plug-in & Websphere Studio 5.0.1

2004-08-18 Thread Andy Dailey
To unsubscribe, e-mail: [EMAIL PROTECTED] > -Original Message- > From: Jones, Demian [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 18, 2004 2:13 PM > To: 'Struts Users Mailing List' > Subject: RE: Validation plug-in & Websphere Studio 5.0.1 > > PLEASE TAKE ME OFF THIS MAILING >

Tiles set up

2004-08-22 Thread andy wix
t.java:802) All the webapp/tiles/*.jsp files are where they should be and the Struts stuff alone works OK. I have tried adding the following to struts-config with the same result. I have also read somewhere that I may need an XML parser? Can anyone spot anything obviously wrong or know of a sim

Tiles set up

2004-08-23 Thread andy wix
t.java:802) All the webapp/tiles/*.jsp files are where they should be and the Struts stuff alone works OK. I have tried adding the following to struts-config with the same result. I have also read somewhere that I may need an XML parser? Can anyone spot anything obviously wrong or know of a sim

Tiles and well formed html

2004-08-24 Thread andy wix
the tiles and in the layout.jsp). Does anyone know what is considered best practice for this requirement. It seems counter-intuitive to have your tiles not well formed html but if this is the solution which tile would you pick for the 'main' html tags or does it even m

RE: Tiles and well formed html

2004-08-25 Thread andy wix
etc... and my test.css file looks like: #headerTile { font-family: sans-serif; color: white; background-color:blue; font-size: 10pt; } #bodyTile { font-family: sans-serif; color: red; background-color:blue; font-size: 15pt; } etc... and my header.

Re: Tiles and well formed html

2004-08-26 Thread andy wix
Hi, My tiles pages (for testing) are straight forward jsp pages. Main Hello Regards, Andy _ Want to block unwanted pop-ups? Download the free MSN Toolbar now! http://toolbar.msn.co.uk

Identifying the 'clicked' line when iterating over collection

2004-08-30 Thread andy wix
k was selected and add this to the request/session. Does Struts have a 'posher' way of doing this and, if not, does anyone have the JavaScript required? Cheers, Andy _ Want to block unwanted pop-ups? Download the free

Re: Identifying the 'clicked' line when iterating over collection

2004-08-31 Thread andy wix
Modify Note that I am not using any Struts Forms for this Action as I receive the ArrayList from the session. I added an html form tag as above because you had one in the example code. Cheers, Andy __

RE: Identifying the 'clicked' line when iterating over collection

2004-09-01 Thread andy wix
t.name} The c:out tag at the end is the only bit that works (writes to the page) so I assume the taglib declaration at the top of the file is OK. Cheers, Andy _ Use MSN Messenger to send music and pics to you

Basic JSTL

2004-09-01 Thread andy wix
= new ArrayList(); xxx.add(con1); xxx.add(con2); %> Name: Should this ouput the 2 names to the page? I can do a Thanks, Andy _ Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo

Log4j output

2004-09-01 Thread andy wix
Hi, I am using Log4j for my web app logging. Does anyone know how to set it up such that the Struts output goes to one file and my own log statements go to another file. Thanks, Andy _ Want to block unwanted pop-ups? Download the

No validation when html:cancel is clicked

2004-09-07 Thread andy wix
I thought this would auto-magically do the trick but my form still gets validated when I click this. Thanks, Andy PS - thanks to the chaps who helped with the 'Identifying the clicked line when iterating over collection' thing - I finally got it working! __

Re: No validation when html:cancel is clicked

2004-09-07 Thread andy wix
Hi, Sorry, my heading was a little mis-leading. The problem is that I get validation carried out when I click the html:cancel button and I don't want validation carried out in this case. Thanks, Andy _ Express yourself with

html:cancel usage

2004-09-07 Thread andy wix
different approach? Thanks, Andy _ Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: html:cancel usage

2004-09-08 Thread andy wix
buttons inside seperate form tags but this seems a little contrived. Thanks, Andy _ It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.

Gracefully handling invalid paths

2004-09-08 Thread Andy Engle
t? Thanks very much. Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: html:cancel usage

2004-09-09 Thread andy wix
clicked by the user to satisfy the Dispatch Action class. (I say this as I assume there will often be a submit button as well that should invoke validation). Does anyone know a way out of this hole I find myself in? Thanks, Andy _ Wa

tag

2004-09-13 Thread andy wix
ression (i.e., size="<%=Field.MY_SIZE%>") and it just gets ignored if I use a jsp expression (i.e., size="Field.MY_SIZE"). What's the normal approach? Thanks, Andy _ Use MSN Messenger to send m

Re: html:cancel usage

2004-09-14 Thread andy wix
orks but I'm not looking forward to the code review! Regards, Andy _ Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger - To uns

RTEXPR in struts html tags

2004-09-14 Thread andy wix
If I include the following in my jsp file: then I get the following exception: /login.jsp(13,0) According to TLD or attribute directive in tag file, attribute focus does not accept any expressions and yet according to the documentation this attribute should accept them. Thanks,

OT: file chooser

2004-09-16 Thread andy wix
Hi, I am going to implement a file upload facility and, from the archives, see that Jakarta commons file upload will do the trick. Does anyone know of any 'file select' functionality for the client side? Cheers, Andy _

JSTL String concatenation

2004-09-20 Thread andy wix
catenate "/" + path + "${sound.fileName}" so that the href gets the full path and but only the filename is displayed. Cheers, Andy _ It's fast, it's easy and it's free. Ge

JSTL, maps and type safe enum

2004-09-21 Thread andy wix
final class MessageType { public static final MessageType MSG1 = new MessageType(); public static final MessageType MSG2 = new MessageType(); } If I set up test data with Strings as the keys then it's all ok. Any ideas? (unfortunately, I have to keep the typesafe enum pattern!). Th

JSTL and scope

2004-09-22 Thread andy wix
uldn't have seen it? The upshot of all this is that I am iterating through a map that can have any one of about 30 keys. Do I really have to put all these keys into the session or some other scope every time I load the page? Thanks, Andy

best practice

2004-09-23 Thread andy wix
contrived solution is to have a dummy object which I add at position zero in the arraylist which has a name field of 'select', but this is nasty as there are times I want to use the arraylist (stored in the sesion) without this item and it means shipping a db with a 'must-hav

Re: best practice

2004-09-24 Thread andy wix
ssage): So the issue really is to be able to add the 'select' option to the options list in a similar manner to the code you suggested. Thanks, Andy _ It's fast, it's easy and it's free. Get MS

Struts validation issue

2004-10-11 Thread Andy Richards
ped on this one. cheers, andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

The old 'please wait' issue

2004-10-13 Thread andy wix
ag as this should go in the head of the document. Likewise I can't use on-load javascipt as I don't have a body tag. Thanks, Andy _ It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.u

Re: Struts validation issue

2004-10-15 Thread Andy Richards
Thanks, pedro Couldnt resolve this one! upgraded to struts 1.2.4 and used a reqular expression to validate instead. Not quite the method i wanted to take but one which resolved the issue. Thanks for your contribution Andy Pedro Salgado wrote: Have you checked if you aren't duplic

Refresh problem

2004-09-29 Thread andy wix
ing a refresh change the token's value. The Action class API states that the 'isTokenValid' method compares the session token with the one in the request but I never see one in the request. The logic seems sound so am I missing something (excep

  1   2   3   >