[s2] Problem with result in 2.0.6

2007-04-29 Thread Al Sutton
Hi, I've got what seems to be strange behaviour which I've tried to find the reason for, but can't seem to find an explanation. The struts.xml is at the end of the email, I'll describe the problem first in case it rings any bells. In a nutshell it seems that using any result type other than

RE: how to disable refresh button and back button

2007-05-08 Thread Al Sutton
I think I know what the guy is after and it's not browser dependant or impossible, but it's not pretty :). Basically what you have to do is have a one time ID that changes during each request and then verify that the requests one time ID is correct. So the flow looks like this; 1) Create new One

Looking for source to com.opensymphony.xwork2.ActionContext

2007-05-08 Thread Al Sutton
Can anyone tell me where the source is for com.opensymphony.xwork2.ActionContext? I've got the following exception; java.lang.NullPointerException at com.opensymphony.xwork2.ActionContext.setContext(ActionContext.java:142) at

RE: Good idea of installing a file on host machine

2007-05-10 Thread Al Sutton
Read up on Web Start, it's not all that new, and a web start application isn't going to be able to efficiently use struts for it's presentation. -Original Message- From: Kapil Sharma [mailto:[EMAIL PROTECTED] Sent: 10 May 2007 04:15 To: Struts Users Mailing List Subject: RE: Good idea of

[s2] Can someone with permissions update the wiki

2007-05-15 Thread Al Sutton
Can someone with the correct permissions change the link on http://cwiki.apache.org/confluence/display/WW/struts.xml+Examples which is labelled http://cwiki.apache.org/confluence/display/WW/Configuration+Elements Configuration Elements to point to

RE: [s2] Can someone with permissions update the wiki

2007-05-15 Thread Al Sutton
it, and it works for me as-is. L. Al Sutton wrote: Can someone with the correct permissions change the link on http://cwiki.apache.org/confluence/display/WW/struts.xml+Examples which is labelled http://cwiki.apache.org/confluence/display/WW/Configuration+Elements Configuration Elements to point

[s2] Is there a struts2 best practices site?

2007-05-15 Thread Al Sutton
Is anyone putting together a Best Practices site covering things like handling dynamic numbers of parameters on a single page, UTF-8 encoding, etc., etc., etc.? I think it's something that would be pretty useful because many people find learning by example easier than reading manuals. Al.

Best method for dynamic fields round trip

2007-05-15 Thread Al Sutton
I've got an application which has a dynamic number of customisable fields attached to each record. The customisable fields have a display name, an internal name, and a value. Some records have no fields and there is no way of determining at compile time the maximum number of fields a record can

[Fwd: Best method for dynamic fields round trip]

2007-05-16 Thread Al Sutton
Any takers?, even saying Nope, not possible in a nice way would be useful. ---BeginMessage--- I've got an application which has a dynamic number of customisable fields attached to each record. The customisable fields have a display name, an internal name, and a value. Some records have no fields

RE: [Fwd: Best method for dynamic fields round trip]

2007-05-16 Thread Al Sutton
iterate over the dynamic fields, create the tags. On submit you'd end up with a list (or map, or whatever) of the values. Did that help? d. --- Al Sutton [EMAIL PROTECTED] wrote: Any takers?, even saying Nope, not possible in a nice way would be useful. From: Al Sutton [EMAIL PROTECTED

RE: [s2] Can someone with permissions update the wiki

2007-05-16 Thread Al Sutton
someone who knows more about how the cwiki gets mirrored to the static site will know how to fix the problem. L. Al Sutton wrote: Hmm... Follow this path; 1) Log out of Confluence 2) Go to http://struts.apache.org/2.x/docs/tag-reference.html 3) Click Guides from the breadcrumbs at the top

RE: [Fwd: Best method for dynamic fields round trip]

2007-05-16 Thread Al Sutton
for dynamic fields round trip] --- Al Sutton [EMAIL PROTECTED] wrote: That's just what I was looking for, thanks Dave. I was looking for a way to do it with s:xxx/ tags, so I'm now more confident it's best done without them as opposed to thinking I might have missed something. Well, I'm just one

RE: [Fwd: Best method for dynamic fields round trip]

2007-05-16 Thread Al Sutton
... so the tag might look something like: s:textfield name=pairs[fieldId].fieldName/ s:textfield name=pairs[fieldId].fieldValue/ etc. (with minor syntax changes depending on how things are shuffled to the JSP). d. --- Al Sutton [EMAIL PROTECTED] wrote: The main part I'm having trouble

Re: [Fwd: Best method for dynamic fields round trip]

2007-05-16 Thread Al Sutton
would be the field ID. That would handle non-zero-based, non-sequential field IDs cleanly. Sorry, that's what I was attempting to get at, but I'm having spurts of business today and I flailed a bit :/ d. Al Sutton wrote: A... (lightbulb moment). I thought you could

RE: checkboxlist formatted vertically?

2007-05-17 Thread Al Sutton
If you want to stay with checkboxlist you'll need to define your own theme with a template for checkboxes separated by br/s. You can find information on how to do it at; http://cwiki.apache.org/WW/themes-and-templates.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [OT] Re: frames

2007-05-21 Thread Al Sutton
You can find lots of useful links about struts and frames at this URL; http://www.google.co.uk/search?q=struts+frames -Original Message- From: jalal udeen [mailto:[EMAIL PROTECTED] Sent: 21 May 2007 05:57 To: Struts Users Mailing List Subject: Re: [OT] Re: frames hi im

[s2] Best method of passing ActionErrors through a redirect

2007-05-22 Thread Al Sutton
Simple question; Is there any way to retain messages added with addActionError or addActionMessage during a redirect? More complex explanation of my setup; ActionA gets data and has uses a jsp to display the data (using resultmy_jsp.jsp/result). my_jsp.jsp has a comment field which

RE: [s2] Best method of passing ActionErrors through a redirect

2007-05-22 Thread Al Sutton
Guru -Original Message- From: Al Sutton [mailto:[EMAIL PROTECTED] Sent: 22 May 2007 17:22 To: 'Struts Users Mailing List' Subject: [s2] Best method of passing ActionErrors through a redirect Simple question; Is there any way to retain messages added with addActionError

Re: jar files

2007-05-23 Thread Al Sutton
Is someone going to drop this guy form the mailing list. I don't know about others but I'd prefer the list to stick to Struts related issues and not start becoming a help center for any java queries. jalal udeen wrote: hi all, sorry for asking non related struts Questions

RE: jar files

2007-05-23 Thread Al Sutton
ignore OT posts if they get on your nerves. They will eventually go away. As much as I'd love to see some folks disappear from certain lists, it's not very democratic. :( - -chris Al Sutton wrote: Is someone going to drop this guy form the mailing list. I don't know about others but I'd prefer

[Semi-OT] was RE: jar files, now: OT posters, should they stay or should they go now? If they stay there may be trouble, and if they go will there be double?

2007-05-23 Thread Al Sutton
] Sent: 23 May 2007 15:01 To: Struts Users Mailing List Subject: Re: jar files -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Al, Al Sutton wrote: I'm just a bit worried about a snowball effect where people start seeing OT posts as acceptable and the number slowly grow as more people make them

RE: JSP pre-compile question

2007-05-23 Thread Al Sutton
The short answer is no because this is how the browser receives the data about the page, and pretty much all browsers display the data as soon as they can after get it. There are things you can do to reduce the visibility of this to the user (smaller tables and div areas, smaller pages, etc.),

RE: JSP pre-compile question

2007-05-23 Thread Al Sutton
- From: Al Sutton [mailto:[EMAIL PROTECTED] Sent: 23 May 2007 16:06 To: 'Struts Users Mailing List' Subject: RE: JSP pre-compile question The short answer is no because this is how the browser receives the data about the page, and pretty much all browsers display the data as soon as they can after get

RE: JSP pre-compile question

2007-05-23 Thread Al Sutton
etc) you should specify them too. Lance. Al Sutton wrote: P.S. If you're considering pre-compiling, the only thing you'll loose is the lag for the first time the page is displayed, every time after the first time you view a page almost all servlet engines will use the version which

RE: JSP pre-compile question

2007-05-23 Thread Al Sutton
(menu area, header area etc) you should specify them too. Lance. Al Sutton wrote: P.S. If you're considering pre-compiling, the only thing you'll loose is the lag for the first time the page is displayed, every time after the first time you view a page almost all

RE: Problem regarding iterator tag

2007-05-24 Thread Al Sutton
Vijay, You've been given a good hint about Struts can offer to help. If you feel you need to improve the formatting maybe you should look for a JSP formatting tag library and ask the question on their list. Regards, Al. -Original Message- From: Vijay Prajapati [mailto:[EMAIL PROTECTED]

RE: [S2] Results Based on URL File Types

2007-05-24 Thread Al Sutton
Kevin, From my knowledge you can't achieve exactly what you're looking for in struts2 because struts2 uses the first part of the last section of the url resource identifier as the key for the action lookup (i.e. for all 4 of your examples the action would be mapped to he same action for

RE: Problem regarding iterator tag

2007-05-24 Thread Al Sutton
Ever get the feeling someones homework is due in or a deadline is looming? -Original Message from Vijay Prajapati- . . . . Please reply me ASAP - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: [S2] Results Based on URL File Types

2007-05-24 Thread Al Sutton
Just a small observation Roger, whilst you're solution is perfectly workable, you would need to have a big switch statement (or something similar) which could get messy. imho, the use of the extra directory and namespace (i.e. /xml/, /html/, etc.) that I suggested earlier is slightly simpler

RE: [S2] Results Based on URL File Types

2007-05-24 Thread Al Sutton
Just read the your post again, I see you're using the result as a two step process as oppose to needing a dispatch switch statement, cool idea, but I think it will still be a bit more complex than using the separate directories. -Original Message- From: Al Sutton [mailto:[EMAIL PROTECTED

RE: [S2] Results Based on URL File Types

2007-05-24 Thread Al Sutton
If you don't have any other resources ending in .xml .html .etc inside your webapp you can modify the filter-mapping, if you do then you might have to consider the idea of a directory in which all objects are mapped to actions and a separate directory where they are not, e.g.;

RE: Best practice - Wizard flow

2007-05-24 Thread Al Sutton
Store the values in the session and clear them down when the user either completes the wizard or restarts it? -Original Message- From: Charbel Abdul-Massih [mailto:[EMAIL PROTECTED] Sent: 24 May 2007 16:04 To: Struts Users Mailing List Subject: RE: Best practice - Wizard flow I would

Re: Best practice - Wizard flow

2007-05-24 Thread Al Sutton
I know you said you didn't like sessions, but they're the only clean way of doing things stateful things between stateless pages. -Original Message- From: Al Sutton [mailto:[EMAIL PROTECTED] Sent: 24 May 2007 16:10 To: 'Struts Users Mailing List' Subject: RE: Best practice - Wizard flow

RE: Best practice - Wizard flow

2007-05-24 Thread Al Sutton
As I see it the problem with that approach is if I'm at stage 3, I got back two screens to stage 1, change something, when I click next I've lost all the previously entered data in step 2. -Original Message- From: Marco Carnevale [mailto:[EMAIL PROTECTED] Sent: 24 May 2007 16:34 To:

RE: Weird behavior - Struts 2 - Firefox vs. IE

2007-05-25 Thread Al Sutton
Just a thought, have you checked the final output is valid HTML and there aren't any mismatched tags? Firefox has a pretty good plug-in which helps with this at https://addons.mozilla.org/en-US/firefox/addon/60 -Original Message- From: Charbel Abdul-Massih [mailto:[EMAIL PROTECTED]

RE: [ANN] Starting with Struts2 Book

2007-05-25 Thread Al Sutton
I couldn't even get to the site earlier, seems OK now. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ted Husted Sent: 25 May 2007 12:40 To: Struts Users Mailing List Subject: Re: [ANN] Starting with Struts2 Book Is anyone else having trouble logging

RE: [ANN] Starting with Struts2 Book

2007-05-25 Thread Al Sutton
Do I get a prize for reporting the first typo :)... On Page 64 there's a code snippet which reads; ww:iterator value=peopleList status=stat s:property value=peopleList[#stat.index].id / s:property value=peopleList[#stat.index].name / s:property value=peopleList[#stat.index].age /

RE: [ANN] Starting with Struts2 Book

2007-05-26 Thread Al Sutton
this book. who can send a copy to my email. thanks very much! 2007/5/26, Ian Roughley [EMAIL PROTECTED]: doh. Thanks. The issue with starting in ww and moving to struts :-) /Ian Al Sutton wrote: Do I get a prize for reporting the first typo :)... On Page 64 there's a code snippet which

RE: [S2] Obtaining Session/Request Object

2007-05-29 Thread Al Sutton
Maybe you should start with; http://java.sun.com/products/servlet/articles/tutorial/ Instead of wikipedia or the struts documentation. When you've got a grasp of what servlets and webapps are, then it might be time to re-visit struts. -Original Message- From: [EMAIL PROTECTED]

Wierd behaviour with redirect, result, and store interceptor

2007-05-30 Thread Al Sutton
I have the following; Action A --- forwards to --- A.jsp --- submits to --- Action B --- redirects to --- Action A The B to A redirect uses the store interceptor to pass action messages and action errors to Action A. When I add an ActionError in Action B (using addActionError from

RE: Wierd behaviour with redirect, result, and store interceptor

2007-05-31 Thread Al Sutton
Anyone seen the same behaviour? -Original Message- From: Al Sutton [mailto:[EMAIL PROTECTED] Sent: 30 May 2007 13:23 To: 'Struts Users Mailing List' Subject: Wierd behaviour with redirect, result, and store interceptor I have the following; Action A --- forwards to --- A.jsp

RE: Wierd behaviour with redirect, result, and store interceptor

2007-05-31 Thread Al Sutton
:37 To: Struts Users Mailing List Subject: RE: Wierd behaviour with redirect, result, and store interceptor --- Al Sutton [EMAIL PROTECTED] wrote: Anyone seen the same behaviour? I think that if there are action errors it will try to show the input result because, well, it thinks there are errors

RE: s:url tag Why isn't includeParams='none' the default setting?

2007-05-31 Thread Al Sutton
+1 to support the change. It'd reduce my code by a chunk on pages that take a parameter and have a link menu on one side. -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: 31 May 2007 15:25 To: Struts Users Mailing List Subject: Re: s:url tag Why isn't

RE: OptionTransfer Select - id number formatting

2007-05-31 Thread Al Sutton
Had the same problem recently, the choice I made was to make the parameter for the second action the same type as the parameter for the first, i.e.; ActionA has public Integer getValue() ActionB has public setValue(Integer x) Worked for me with Longs. -Original Message- From: Brian

RE: what is going on? struts 2

2007-12-24 Thread Al Sutton
Thats normal. redirect-action throws those warnings when you set parameters in your objects via it. Al. -Original Message- From: Ray [mailto:[EMAIL PROTECTED] Sent: 24 December 2007 08:49 To: Struts Users Mailing List Subject: Re: what is going on? struts 2 Vinny Wrote: What exactly

RE: 3 columns s:iterator

2007-12-24 Thread Al Sutton
Have a look at display tag (http://displaytag.sourceforge.net/11/), once you've read the docs and put the jars in place it makes handling multi-column iterators a lot simpler. For example, displaying three attributes from objects in a java.util.List called processes where the first two columns

RE: Application logs

2007-12-27 Thread Al Sutton
Is there any reason to not use the JDK logging facilities these days if you're just looking for a basic logging solution? I've seen classpath conflicts caused by log4j, and I'm not a fan of adding extra levels of abstraction (such as commons-logging) when the JDK logger does the job for most

RE: ExtJS Plugin for Struts2

2007-12-27 Thread Al Sutton
ExtJS's license isn't directly compatible with Struts 2. Basically ExtJS allows for three free uses (anything else costs); 1) Want to use Ext in an open source project that precludes using non-open source software - This isn't compatible because Struts 2 doesn't preclude using non-open source

RE: appending tags

2007-12-27 Thread Al Sutton
Do it in your action code. A JSP is not the place for manipulating objects such as Lists (repeat this 100 times). -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper Sent: 27 December 2007 23:56 To: user@struts.apache.org Subject: Re: appending tags Henry

Submit buttons

2007-12-28 Thread Al Sutton
I've been bashing my head against a brick wall on this one so maybe someone can help ease the pain... Within a single form I have several buttons. Each button has an ID associated with it and a name. What I would like to do is show the name to the user and submit the ID to my action when it's

RE: Render preselected value in s:select ../

2007-12-28 Thread Al Sutton
Make sure the value selectedMonth in your action is set to 02. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 28 December 2007 19:29 To: Struts Users Mailing List Subject: Render preselected value in s:select ../ Hi all, This struts code s:select

RE: Outputting raw HTML with s:property tag

2007-12-31 Thread Al Sutton
Have a look at; http://struts.apache.org/2.x/docs/property.html And read the parameters section, the answer starts with an e. -Original Message- From: shai200 [mailto:[EMAIL PROTECTED] Sent: 31 December 2007 06:35 To: user@struts.apache.org Subject: Outputting raw HTML with s:property

RE: Submit buttons

2007-12-31 Thread Al Sutton
List Subject: Re: Submit buttons The name of the button is what gets submitted. The value, I believe, is the user display value which doesn't get sent in the submission. On Dec 28, 2007 12:43 PM, Al Sutton [EMAIL PROTECTED] wrote: I've been bashing my head against a brick wall on this one so

RE: Outputting raw HTML with s:property tag

2007-12-31 Thread Al Sutton
I think he's after letting users enter HTML into an input field and allowing them to edit it later maintaining BLAH rather than getting lt;BLAHgt; Something tells me he's not tried it yet :). Al. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 31 December 2007

RE: problem in tab layout

2007-12-31 Thread Al Sutton
That reply is calssified as () In-line with general opinion ( ) Unreasonable ( ) Unacceptable -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 31 December 2007 15:12 To: Struts Users Mailing List Subject: Re: problem in tab layout --- Vidhyakar Kadarkarai [EMAIL

RE: HNY

2007-12-31 Thread Al Sutton
No, it's the nice part he fails on :). Only kidding (love ya really dave). Happy new early Friday... I mean new years to everyone (dumb and nasty people included). Al. -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 31 December 2007 18:05 To: Struts Users

RE: saveToken() help!!!!!

2008-01-02 Thread Al Sutton
I think you misunderstood him. Have you looked at the showcase?, if so where did you have a problem understanding how it should work? -Original Message- From: Partha Maitra [mailto:[EMAIL PROTECTED] Sent: 02 January 2008 12:19 To: Struts Users Mailing List Subject: Re: saveToken()

RE: saveToken() help!!!!!

2008-01-02 Thread Al Sutton
Is the information at http://www.jaxmag.com/itr/online_artikel/psecom,id,648,nodeid,147.html about half way down the page (titled Handle duplicate form submission) any use? -Original Message- From: Partha Maitra [mailto:[EMAIL PROTECTED] Sent: 03 January 2008 04:59 To: Struts Users

RE: Outputting raw HTML with s:property tag

2008-01-02 Thread Al Sutton
A polymorphic array would be my suggestion. Have an array of objects which contain an identifier for the struts tag type, and the data needed to populate it. For example; In your action you would have ; private MyPolyObject[] blah; Where MyPolyObject contains; class MyPolyObject {

[S2] Opening a new window upon a link click without Javascript

2008-01-03 Thread Al Sutton
Heres channelge for the day... I have a page which contains a link, when the user clicks the link they get a PDF which they need to go off and do something with (not part of the webapp). What I'd like to do is open a new browser window with the PDF in and retain the page with link in the

RE: Interceptor best practices ...

2008-01-04 Thread Al Sutton
imho, you shouldn't be validating the users username and password in an interceptor. You should validate them in an action, then set a token in the session indicating the user had been validated, then check for your chosen token in the interceptor. That way you don't need to keep hitting your

RE: Struts training...

2008-01-09 Thread Al Sutton
Please READ the original emails before spamming the list with adverts!!! Your training in india is as relevant as a chocolate kettle to the thread -Original Message- From: Deepak Kumar [mailto:[EMAIL PROTECTED] Sent: 09 January 2008 12:58 To: Struts Users Mailing List Subject:

RE: Struts training...

2008-01-10 Thread Al Sutton
As an aside, if anyone is looking for training I'd advise them to post the name of any trainers on this list. If the trainer is not not subscribed to this list you're probably dealing with someone who is either working off written material (which you could probably get yourself for cheaper), or

RE: [S2] OpenSessionInView implementation with Spring

2008-01-10 Thread Al Sutton
I tend to write it as a struts interceptor. That way I don't have to use Spring, and all of the application specific cross cuts are configured in one place (the interceptor stack), as opposed to having some as servlet filters and some as interceptors. Al. (Before anyone says it, by application

Shouldn't this work?

2008-01-10 Thread Al Sutton
I've got the following in a page inside a displaytag table; s:checkbox name=#attr.userPermission.id theme=simple value=#attr.userPermission.startable/ What I would expect to see for an entry with the id 1234 set to true would be something along the lines of; input type=checkbox name=1234

RE: Shouldn't this work?

2008-01-10 Thread Al Sutton
] Sent: 10 January 2008 14:13 To: Struts Users Mailing List Subject: Re: Shouldn't this work? The name attribute is assumed to be an string, as that would be the most common use case. Just use %{expr} and it will work as you expect. musachy On Jan 10, 2008 6:03 AM, Al Sutton [EMAIL PROTECTED

Re: JSP syntax errors through icnlude

2008-01-14 Thread Al Sutton
First question; Why do you think this is a Struts bug? I encountered the same problem when I upgraded from Eclipse 3.2 to 3.3 without changing the project. Have you tried downgrading your version of Eclipse to see if that resolves the problem?, have you also tried compiling and testing the

Re: JSP syntax errors through icnlude

2008-01-14 Thread Al Sutton
: Al Sutton [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Monday, January 14, 2008 1:18 PM Subject: Re: JSP syntax errors through icnlude First question; Why do you think this is a Struts bug? I encountered the same problem when I upgraded from Eclipse 3.2 to 3.3

Dynamic session timeout

2008-01-16 Thread Al Sutton
Heres a problem people may want to take a crack at... In one of my webapps I allow the admin users to set how long a users session is valid for, in a servlet I can set this by doing session.setMaxInactiveInterval when the user logs in, but can I do this in a struts action?

Re: Netbeans 6.0 Editor Error with struts2 library

2008-01-16 Thread Al Sutton
Might be an idea to ask the Netbeans list, sounds like they've got some optimization problems with empty methods being eliminated. - Original Message - From: Igor Vlasov [EMAIL PROTECTED] To: user@struts.apache.org Sent: Wednesday, January 16, 2008 11:00 AM Subject: Netbeans 6.0

Re: Dynamic session timeout

2008-01-16 Thread Al Sutton
, January 16, 2008 9:23 AM Subject: Re: Dynamic session timeout I do that with ServletActionContext.getRequest().getSession().setMaxInactiveInterval Hope this helps Il giorno 16/gen/08, alle ore 10:14, Al Sutton ha scritto: Heres a problem people may want to take a crack at... In one of my

Re: Struts 2 with RAD 6

2008-01-17 Thread Al Sutton
First off, I'd say try to go with jdk5. There is some discussion about dropping 1.4 support in S2.1 and it looks like it could be a strong possibility. The exception you're seeing indicates the JDK is 1.4 and your trying to use the 1.5 distribution. I've got no idea what RAD-6 or RAD-7 is,

Re: New Struts2 Book : Feedback Requested

2008-01-21 Thread Al Sutton
Jayson, Some comments; 1) Reduce the amount of side bars. At the moment the readability is impaired by having two right hand bars reducing the meat of your book to only 2/3rds of the width of the page. 2) Put up more than one chapter. If you want comments on your formatting then we need to

Re: Struts tags and Filter Dispatcher Url Pattern-struts 2.1.1

2008-02-01 Thread Al Sutton
As a first side note S2.1.1 hasn't been released, so you're either using the very old S2.1.0 snapshot, or you're using the latest from the Subversion repository. Most of the tags in S2.1 need the stack due to the way they are rendered, if you are using any tags you should have the filter in

Re: Populate Form from DAO

2008-02-01 Thread Al Sutton
Any reason you're not using ModelDriven? - Original Message - From: Richard Sayre [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Friday, February 01, 2008 1:01 PM Subject: Re: Populate Form from DAO Yes, I know I can do it this way. I'm just being

Re: [OT] Re: Best Tool to develop html pages

2008-02-05 Thread Al Sutton
My vote is for vi Al. - Original Message - From: Dave Newton [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, February 05, 2008 11:58 AM Subject: [OT] Re: Best Tool to develop html pages --- mohammed hussain [EMAIL PROTECTED] wrote: Hi anybody

Re: [OT] Re: Best Tool to develop html pages

2008-02-05 Thread Al Sutton
to develop html pages --- Al Sutton [EMAIL PROTECTED] wrote: My vote is for vi I don't even know you, man. d. Al. - Original Message - From: Dave Newton [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, February 05, 2008 11:58 AM Subject: [OT

Re: [OT] Re: Best Tool to develop html pages

2008-02-05 Thread Al Sutton
, Al Sutton [EMAIL PROTECTED]: My vote is for vi http://xkcd.com/378/ Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: Actualizar Strust 1 a Strust 2

2008-02-11 Thread Al Sutton
No apology needed, If you're helping someone out, then any language is good, and since Alvaro's English isn't that great then it's the only way to go. As for translation, it's probably only worth giving an overview of the problem (e.g. Alvaro had a problem with X and Y), that way if anyone

Re: Simple dropdown box population

2008-02-13 Thread Al Sutton
or use something like; MapString, String dropdownValues then do a series of; dropdownValues.put(companyId, companyName) and then have s:select label=Select Company name=company list=dropDownValues / If you're not using a object-relation bridge of some kind (e.g. Hibernate), it's usually

Re: [Friday] Re: [S2] OGNL Syntax Question

2008-02-23 Thread Al Sutton
Go guerilla my friend and just do it, go to the business group paying for the development, and say If I install browser X as part of the system look how much prettier and easier things become. Once you've sold it to the business group the techies will have to follow :) - Original

Re: VTD-XML 2.3

2008-02-25 Thread Al Sutton
Have you got a solution for people spamming lists with unrelated product announcements? - Original Message - From: jimmy Zhang [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, February 26, 2008 2:27 AM Subject: Re: VTD-XML 2.3 We are trying to

Re: The next version of the Struts2

2008-02-27 Thread Al Sutton
At the moment few issues in JIRA which are being checked over and fixed, once these are out of the way a build will be produced and tested. I'm sure you would prefer a tested working release as opposed to a release made on a date just because that's the day someone said it would happen ;).

Re: setting actionerror and result input annoyance

2008-02-27 Thread Al Sutton
Why do you need an action to create a menu? Is there any reason you can't use a combination of something like SiteMesh (http://www.opensymphony.com/sitemesh/) and struts-menu (http://struts-menu.sourceforge.net/) to create a menu which is automatically added to your pages? - Original

Re: Any idea on Struts 2.1.1

2008-02-28 Thread Al Sutton
It is, but when it arrives will depend largely on how quickly outstanding issues get fixed. Al. - Original Message - From: Joakim von Brandis [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, February 28, 2008 4:13 PM Subject: Re: Any idea on

Re: Struts 2 issue with Spring, Hibernate, and Tiles

2008-03-06 Thread Al Sutton
Don't put the struts.xml in your classes directory, put it in the root of your source directory (i.e. if your packages are in ProjectRoot\src, put struts.xml in ProjectRoot\src). Al. - Original Message - From: Kelly.Graus [EMAIL PROTECTED] To: user@struts.apache.org Sent: Thursday,

Re: struts wml

2008-03-14 Thread Al Sutton
I think it's a babelfish (babel.altavista.com) translation from another language. Anyway, isn't it nice to offer free embraces :). Al. - Original Message - From: Antonio Petrelli [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org; CarloSilva [EMAIL PROTECTED]

Re: Please answer this struts basic qtn

2008-03-28 Thread Al Sutton
Here is clear cut answer; READ THE TUTORIALS. We're not going to do you homework for you, and we're certainly not going to help you pass an interview which is designed to look for peoplewho have worked on struts much. Al. - Original Message - From: pannar [EMAIL PROTECTED] To:

Re: Actionerrors the Store Interceptor

2008-04-03 Thread Al Sutton
Chris, I've used the StoreInterceptor and my opinion is that it just isn't flexible enough to use. To illustrate the point, consider try following; 1) You have a View Action which displays all of the data of a specific type, which uses the StoreInterceptor in retrieve in order to show

[DEV-IMPLICATIONS] Re: Actionerrors the Store Interceptor

2008-04-03 Thread Al Sutton
: Thursday, April 03, 2008 7:31 AM Subject: Re: Actionerrors the Store Interceptor On Wed, Apr 2, 2008 at 11:17 PM, Al Sutton [EMAIL PROTECTED] wrote: Chris, I've used the StoreInterceptor and my opinion is that it just isn't flexible enough to use. To illustrate the point, consider try following

Re: [DEV-IMPLICATIONS] Re: Actionerrors the Store Interceptor

2008-04-03 Thread Al Sutton
[EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, April 03, 2008 4:42 PM Subject: Re: [DEV-IMPLICATIONS] Re: Actionerrors the Store Interceptor On Thu, Apr 3, 2008 at 1:03 AM, Al Sutton [EMAIL PROTECTED] wrote: Chris, I'm familiar with the code

Re: [OT] What do you code today?

2008-04-05 Thread Al Sutton
http://www.enterprise-password-safe.com/ At the moment the code is under a major overhaul to use S2.1 (yes, 2.1) and add some new features, hence my big interest in 2.1 :). Al. - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List

Re: [OT] What do you code today?

2008-04-06 Thread Al Sutton
- From: Martin Gainty [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Sunday, April 06, 2008 4:54 AM Subject: Re: [OT] What do you code today? Al- Any pointers you can share on porting ? M- - Original Message - From: Al Sutton [EMAIL PROTECTED] To: Struts

RE: can't build Struts 2 ...

2007-06-01 Thread Al Sutton
It seems the whole ftp.ggi-project.org site has gone. Going to the front page gives you a redirect to ibiblio, and the file isn't found using that path at ibiblio. -Original Message- From: Al Sutton [mailto:[EMAIL PROTECTED] Sent: 01 June 2007 11:33 To: 'Struts Users Mailing List

RE: can't build Struts 2 ...

2007-06-01 Thread Al Sutton
The file in the URL isn't valid. When I try it I get a 404 and I have full web access (i.e. no filtering) -Original Message- From: Giovanni Azua [mailto:[EMAIL PROTECTED] Sent: 01 June 2007 11:12 To: Struts Users Mailing List Subject: Re: can't build Struts 2 ... Hi! Thanks for the

RE: Wierd behaviour with redirect, result, and store interceptor

2007-06-01 Thread Al Sutton
for ActionA. L. Al Sutton wrote: The problem is that it's trying to pick up the input result for the action after the redirect from the action where the error occurred, so it's basically trying to do the following in one step; ActionB --input result redirect-- ActionA --input result

RE: Wierd behaviour with redirect, result, and store interceptor

2007-06-01 Thread Al Sutton
Well, switching from the default interceptor stack to the i18n stack seems to have fixed the problem, and as the i18n stack doesn't have the validation in it I'm assuming it must be something to do with it. Is this one for JIRA? -Original Message- From: Al Sutton [mailto:[EMAIL

RE: Wierd behaviour with redirect, result, and store interceptor

2007-06-01 Thread Al Sutton
behaviour with redirect, result, and store interceptor --- Al Sutton [EMAIL PROTECTED] wrote: There is no validation or parameters for ActionA, but it does extend ActionSupport. It gets a summary of all comments (via Hibernate) and creates a Set which is iterated over in the JSP. I'm not sure

RE: [S2] ActionMessages and redirects

2007-06-03 Thread Al Sutton
Hi Gunnar, I've been through the same thing, so I can help you out :). If your actions extend com.opensymphony.xwork2.ActionSupport you can then call the method; addActionMessage(string) Or addActionError(string); Please note, string is the literal message, not a key into a properties file.

Re: [S2] ActionMessages and redirects

2007-06-04 Thread Al Sutton
of where the error occurred (i.e. the input result of ActionB). Al. Dave Newton wrote: --- Al Sutton [EMAIL PROTECTED] wrote: at the moment there appears to be a bug in that if you use addActionError, the message store Interceptor, and you have the validation interceptor enabled

  1   2   3   >