Re: Passing Query String to Action through Interceptor

2016-05-23 Thread Nick Broadhurst
Wow! I am embarrassed I did not know that and had not come across it yet. Of course it resolved the issue. Thank you very much, Nick On Mon, May 23, 2016 at 1:39 AM, Lukasz Lenart wrote: > 2016-05-23 3:01 GMT+02:00 Nick Broadhurst : > > Hello, > > > > I have an interc

Passing Query String to Action through Interceptor

2016-05-22 Thread Nick Broadhurst
. Implementing ParamAware to get ID from URL and that works fine. Tried a couple different things, but can't seem to make it work. Used lots of interceptors, just never needed to maintain a param across its execution. Thanks, Nick

Re: Editing a JPA entity

2016-01-07 Thread Nick Broadhurst
Just to make sure - you are POSTing the object back to the action and THEN merging the entity correct? Not just calling the merge function in the action from the page? Sorry, I had to ask because it sort of sounds like that is what you are saying. I am using Struts2 and JPA and I routinely post obj

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-13 Thread nick
Hi Gerald, I missed your reply due to mail subscription. In my case i have all these upgraded library in my classpath asm and commons-lang and all from struts2 latest distribution only. -- View this message in context: http://struts.1045723.n5.nabble.com/Struts2-Not-Working-Af

Re: Two Docs from One Link/Action

2011-09-16 Thread Nick Broadhurst
u form your e-mail into a question? What are you trying to > accomplish? Do you want the user to be able to download two documents at > the same time? Do you want links to the documents? What didn't work? > > > > From: > Nick Broadhurst > To: > Struts Users Mailing

Two Docs from One Link/Action

2011-09-16 Thread Nick Broadhurst
Grasped at a couple of straws with multiple param sets and results but nothing worked. I need to use result type redirect (for second doc) and stream at same time it seems. Thanks, Nick

Re: Multiple matches with single

2011-06-29 Thread Nick Broadhurst
ing JSTL when > functionality overlaps. JSTL didn't exist when the first iterations of S1 > tags were developed :) > > If you're using Struts 2 there's less of an advantage, but the OP is on S1. > I've tended to use S2 tags for most stuff in S2 apps. > > Dave

Re: Multiple matches with single

2011-06-29 Thread Nick Broadhurst
"...antiquated Struts tags..." you're concerning me. That's all I use. On Wed, Jun 29, 2011 at 10:17 AM, Dave Newton wrote: > How about using JSTL? It's the recommended solution when both it and Struts > tags provide equivalent functionality, and it's arguably better than using > the antiquated

Re: Emails

2011-06-14 Thread Nick Broadhurst
Ollbogh On Jun 14, 2011 9:48 AM, "Eric Reed" wrote: > After registering for this mailing list about a month ago I have been receiving spam emails from Ghanna every other day. Is anyone else receiving these? > > > > > - > To unsubs

Re: [OT] Re: Could somebody tell me where can I find struts2 sample maven archetypes?

2011-03-25 Thread Nick Broadhurst
Dave, It only matters when you don't have one. How ironic<http://www.wired.com/magazine/2010/12/pr_burningquestion_legalwarning/> . <http://www.wired.com/magazine/2010/12/pr_burningquestion_legalwarning/>Nick On Fri, Mar 25, 2011 at 9:02 AM, Dave Newton wrote: > I

JPA Collection Update on Post

2011-03-21 Thread Nick Broadhurst
hing right in my page with all the entity properties. Any thoughts? Thanks. Nick

Re: Handling dynamic set of radio buttons

2011-02-17 Thread Nick Broadhurst
Thanks Dave. So are you saying have a Map property in the Action and the first radio button would have Map position 1 as its name? Nick On Thu, Feb 17, 2011 at 2:40 PM, Dave Newton wrote: > Use a map or array rather than actual field names that include the index as > part of the field

Handling dynamic set of radio buttons

2011-02-17 Thread Nick Broadhurst
. Basically I need to capture a yes/no and explanation of each box selected in a different part of app. Any ideas would be appreciated. Nick

Rtf Templating

2011-02-07 Thread Nick Broadhurst
these: jRTF (small inde project): http://code.google.com/p/jrtf/ and Apache POI: http://poi.apache.org/ <http://code.google.com/p/jrtf/>and wondered if anyone has used these or anything like them before I start down the rabbit hole! Nick

Re: Another Date Time Format

2011-01-29 Thread Nick Broadhurst
Thanks for the suggestion. This is what I ended figuring out after I figured out what date/time format my property of type java.util.Date would accept: "/> A ugly hack in order nest in the hidden field. If anyone know how to do this properly just using I would appreciate it.

Another Date Time Format

2011-01-28 Thread Nick Broadhurst
alues. Or is there a better way to do it? Thanks, Nick

Re: UpDownSelect & JPA

2010-11-05 Thread Nick Broadhurst
our DB design IMHO. If you expect multiple values > for an entity property why do you declare as a plain string? You > should consider to represent as at least an integer array (or even as > an entity). > > > 2010/11/5 Nick Broadhurst : >> Hi All, >> >> I am us

UpDownSelect & JPA

2010-11-04 Thread Nick Broadhurst
rialize it? Doesnt sound like a good fit and I just don't know what struts is expecting when it needs to display multiple items selected. Thanks for any ideas. Nick

Problems with s:datetimepicker

2008-11-13 Thread Nick Maunder | Oathouse
bug gives up at 350 ish log entries. I have commented out all other page content until the only thing that is on the page is the date time picker and its containing form. Could someone give me a pointer as to where the problem lies? Cheers Nick Maunder

Re: Struts2 upload

2008-11-10 Thread Nick J
Thanks to everyone who responded. It is now working. I removed the - it's not needed I added method="post" to the HTML form element - I had forgotten it. The extends="json-default" in the pacjage is needed because of one of the other actions produces a JSON response.

using apostrophes in a properties file with

2008-11-05 Thread Nick Maunder | Oathouse
w do I make the text appear as: You won't be able to bid ? Cheers Nick Maunder

Struts2 upload

2008-11-01 Thread Nick J
Hi, I am having some trouble with Uploads in Struts 2. Here is the action: /upload.html Here is the HTML form: Here's the appropriate part of the action class: public String imageUpload()

RE: Unit Testing Action Classes that are "Aware"

2008-10-24 Thread Nick Maunder | Oathouse
Ah ... my book doesn't mention RequestAware at all... useless!! lol Preseumably the objects I want to get at (the session data primarily) are then accessible as plain old java, and can be tested using JUnit? could you give me a pointer to find out more? Nick -Original Message-

Unit Testing Action Classes that are "Aware"

2008-10-24 Thread Nick Maunder | Oathouse
either. I can test all of the parts of the class which are not aware using JUnit, but I really want to test the methods that are using the HttpServletRequest. Ideas would be gratefully accepted. Cheers Nick

FW: using GET urls and parameters

2008-10-21 Thread Nick Maunder | Oathouse
Please excuse my stupidity I was separating parameters from url with "&" instead of ? duh!! Time for the pub Nick -Original Message----- From: Nick Maunder | Oathouse [mailto:[EMAIL PROTECTED] Sent: 21 October 2008 17:18 To: 'Struts Users Mailing List' Sub

using GET urls and parameters

2008-10-21 Thread Nick Maunder | Oathouse
n the Struts2 website using GET URLs I must be mr thicky today!! Any help gratefully accepted Nick

RE: Migrating from Struts 1: dynamically loading

2008-10-21 Thread Nick Maunder | Oathouse
Good try but it doesn't work... tried #pageTitle as well, and a host of variations using tiles:useAttribute I can't be the only one to want to internationalise/localize page titles?? Couldn't find anything on the web either This is the last fmt tag in my application. It need

RE: Migrating from Struts 1: dynamically loading

2008-10-21 Thread Nick Maunder | Oathouse
bute on the ognl stack Cheers Nick -Original Message- From: Lukasz Lenart [mailto:[EMAIL PROTECTED] Sent: 21 October 2008 14:53 To: Struts Users Mailing List Subject: Re: Migrating from Struts 1: dynamically loading > I am looking for a way to dynamically load try

Migrating from Struts 1: dynamically loading

2008-10-21 Thread Nick Maunder | Oathouse
heers Nick Maunder

Re: Struts2 static content

2008-10-03 Thread Nick J
/css/{1} /js/{1} Nick J wrote: > > I am using struts2. > I don't want .action or .do on the end of the url's, so I set > struts.action.extension='' (empty string) > -- View this message in context: http://www.nabble.com/Struts2

Struts2 static content

2008-10-02 Thread Nick J
I am using struts2. I don't want .action or .do on the end of the url's, so I set struts.action.extension='' (empty string) Now this leaves me with a bit of a problem serving static content, since struts swallows up all of my requests, and nothing gets through to the default servlet. How can I s

Re: [S2] Form doesn't redirect

2008-07-30 Thread Nick Scavelli
t, and I need to redirect to the login page. In my circumstance the div is replaced by the login jsp, which just looks strange. What are the best practices with dealing with these situations using Ajax. - Nick On Mon, Jul 28, 2008 at 8:28 AM, Dave Newton <[EMAIL PROTECTED]> wrote: > --

Re: [S2] Issues with extending themes

2008-07-03 Thread Nick Scavelli
it worked. My other problem was that I had templates in my application root instead of /WEB-INF/classes/. Once I added it there I saw freemarker errors, telling me it was the theme variable issue. Thanks, Nick On Thu, Jul 3, 2008 at 3:14 AM, Jeromy Evans <[EMAIL PROTECTED]> wrote: > Nick Sca

[S2] Issues with extending themes

2008-07-02 Thread Nick Scavelli
ruts.ui.templateDir=templates /templates/ccast2_0/theme.properties parent=css_xhtml Please advise because this is so annoying. - Nick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: SV: [OT] What slows you down?

2008-06-20 Thread Nick Scavelli
Musachy abused the first rule, dont' feed the trolls... :) > Subject: SV: [OT] What slows you down? > Date: Fri, 20 Jun 2008 18:27:10 +0200 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > > As I said: > I'm not that a great coder, and not an expert php or java coder. > Coding pure logi

Extending Theme Issue (Struts 2.1.2)

2008-06-20 Thread Nick Scavelli
directory to see if that worked and no dice. I must be doing something extremely stupid here because I haven't seen any posts regarding this issue. Please advise ! Cheers, Nick _ Need to know now? Get instant answers with Win

Re: Passing parameters to a struts action in URL

2007-01-19 Thread Nick Tucker
Hi I ve had similar problems (with struts 2 , but working in IE and not in Firefox). The problem was with the browser using a cached copy from a version of the page that did not work properly, but had now been corrected. Clearing the browser cache got rid of the problem for me. Nick nuwan

RE: [s2] Getting started - Just a question..

2007-01-18 Thread Nick Tucker
he spring files, Go to the apps directory Unzip file struts2-blank-2.0.1.war (jar -xf struts2-blank-2.0.1.war will do the trick) the extracted lib folder will contain the spring jars. Nick John Bateman wrote: > > * > Sorry I hit 'send' on this WAY too early... >

Re: [S2] client validation problem

2007-01-01 Thread Nick Tucker
action only is supplied, instead of failing to generate the code ? Nick Musachy Barroso-2 wrote: > > S2 needs to know the exact namespace of the action. If you do this: > > > namespace="/validation"> > > > > > >

[S2] client validation problem

2006-12-31 Thread Nick Tucker
the client validation problems would be to only supply the action attribute when absolutely necessary. I hope that this will be of some use. Nick Tucker -- View this message in context: http://www.nabble.com/-S2--client-validation-problem-tf2902

Re: [S2] Redirecting to another action with preserving error messages

2006-12-31 Thread Nick Tucker
out of the box there is the Message Store Interceptor. I have not tried it myself. Nick Dariusz Wojtas wrote: > > ok, this is the obvious candidate if I want to make it 'by hand'. > Some little method in the base action or filter that takes care for it > as I would do it

Re: [S2] Redirecting to another action with preserving error messages

2006-12-30 Thread Nick Tucker
Hi You could put the message in a session attribute and then get the second action to check for the attribute and display it if found (remembering to remove it once displayed) . How to get access to the session is in the Struts 2 faq. Nick Dariusz Wojtas wrote: > > Excellent hint,

Re: [S2] Redirecting to another action with preserving error messages

2006-12-29 Thread Nick Tucker
Hi If you are always going to display the same message then you could get the action you redirect to to display the message. I have done this to get "Processing Successful" messages output after updates e.g. in your action:- return "missingid"; redirect this result to a me

Re: Struts 2.0.2 and Freemarker

2006-12-29 Thread Nick Tucker
I've just tried again tonight using the latest nightly struts2 jar files (no configuration changes) and the problem has gone away. Nick Laurie Harper wrote: > > My guess would be that you're missing the Freemarker JAR(s) from your > classpath. If that's not th

Re: display tag - urgent

2006-12-27 Thread Nick Tucker
Hi Abhimanyu To change media types columns display in use the media attribute. for example :- The id column will not display in exports, whilst the longDescription will only display in exported files. Nick Abhimanyu

Struts 2.0.2 and Freemarker

2006-12-27 Thread Nick Tucker
On converting from Struts 2.0.1 to 2.0.2 I get the following error when I try and use Sitemesh Freemarker Decorators. The decorators work with 2.0.1. Some advice on what changes I need to make would be appreciated Thanks Nick Tucker 2006-12-27 18:53:19,166 ERROR

Re: has struts reached the saturation

2006-03-15 Thread Nick Heudecker
Then again, I'm probably the easiest guy to sell a car too... be straight > with me from the start, and even if your story (read; price) isn't as good > as the salesman who isn't as straight, you probably made the sale :) > > I've got a loads of stuff to sell you. I don't know how well it works,

Re: looking for struts,ejb,jboss,ant demo

2006-02-09 Thread Nick Sophinos
An alternative would be to find an EJB example that you are comfortable with and then find a Struts example that you could lay over it. There are plenty of each out there, but not so much all together. Maybe JBoss's site? - Nick On 2/9/06, Joey Watson <[EMAIL PROTECTED]> wro

Re: Validator Skipping Action

2006-02-07 Thread Nick Sophinos
case. - Nick On 2/7/06, Tom Ansley <[EMAIL PROTECTED]> wrote: > Hey Hubert, > > But how is anything going to ever validate correctly if I have not had time > to initially populate the form. The action which is being skipped allows me > to prepopulate the form before sending it

Re: Validator Skipping Action

2006-02-07 Thread Nick Sophinos
I guess that the big question is: "What about CamperForm?, what does it look like?" If it is a Java class that you created, what does the validate() method look like? If it is a DynaValidatiorForm (make sure that it is not a DynaActionForm), what does the XML look like? - Nick On 2

Re: Secure - Non Secure problem (http-https)

2006-01-27 Thread Nick Sophinos
Nick Sophinos, OK well surely lifted from someone else. * */ public class SSLFilter implements Filter { private FilterConfig filterConfig; Log log; public void init(FilterConfig config) throws ServletException { this.filterConfig = config; log = Core.getLogger(); } public

Re: [OT] Anyone else mess around with Wicket?

2006-01-21 Thread Nick Heudecker
I figure I'm obligated to respond, since my comments were cited in the original email. :) I have to disagree with complaints about Wicket's complexity, but only because I've been using it to build a product for the last few months. Without heavy usage, I don't think I'd have the same positive opin

Re: more on wicket

2006-01-16 Thread Nick Heudecker
an IntegerValidator to a TextField, it's pretty simple: TextField age = new TextField("age"); age.add(IntegerValidator.range(0, 130)); add(age); The last call adds the TextField to the Form object. Nick, Wicket does look interesting, but I'm curious, how does Wicket >

Re: more on wicket

2006-01-16 Thread Nick Heudecker
> ...which are currently configured by what, XML? Doesn't this remove > some of the zero-conf advantages? And, there's going to have to be a > way to configure it in 1.2 somehow also. I guess "almost zero > configuration" isn't as catchy? :-) > There is configuration, but it's minor and contained

Re: more on wicket

2006-01-16 Thread Nick Heudecker
You can create aliases in the current version to provide shorthand names for pages. Wicket 1.2 will allow you to mount pages at specified URLs, which should get around this problem. On 1/16/06, David G. Friedman <[EMAIL PROTECTED]> wrote: > > More wicket articles? I'm getting a message here: I b

Re: [OT] If you hate positioning with css raise your hand... actually some help:)

2006-01-03 Thread Nick Heudecker
Have you tried the table, table-row and table-cell display properties? But if that works, I'd just go back to tables.

Re: [Somewhat OT] JSTL problem in Websphere

2005-12-01 Thread Nick Sophinos
We had a similar problem with Jetty and had to resort to referencing the taglib via a file path to the tld file. These files come with the download of JSTL. - Nick On 12/1/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > I'm trying to deploy a Struts-based app to Websphere

Re: DispatchAction parameter getting dropped by IE

2005-12-01 Thread Nick Heudecker
ti > Yahoo: fzammetti > MSN: [EMAIL PROTECTED] > > On Thu, December 1, 2005 12:45 pm, Nick Heudecker said: > > Now I'm thinking this has something to do with the charset not getting > > set in IE. Users are copying and pasting content from Word into > > textareas

Re: DispatchAction parameter getting dropped by IE

2005-12-01 Thread Nick Heudecker
Now I'm thinking this has something to do with the charset not getting set in IE. Users are copying and pasting content from Word into textareas and getting this error. Is it possible Tomcat can't parse the incoming form data and nothing gets passed to the Action? On 12/1/05, Nick

DispatchAction parameter getting dropped by IE

2005-12-01 Thread Nick Heudecker
Occasionally, one my my users will receive the following error message: "javax.servlet.ServletException: Request[/foo] does not contain handler parameter named 'p'. This may be caused by whitespace in the label text." There isn't any whitespace in the label text, and this only occurs with IE. I

Re: JSTL messages problem

2005-11-22 Thread Nick Sophinos
Place this in your web.xml file: javax.servlet.jsp.jstl.fmt.localizationContext com.omnytext.blah.blah.properties.ApplicationResources Where ApplicationResources.properties is the name of the message bundle in question. - Nick On 11/22/05, Frank W. Zammetti <[EMAIL PROTECTED]>

Re: access rights for JAR

2005-11-22 Thread Nick Sophinos
nature of your question, I would start with that general solution. - Nick On 11/22/05, Deepa Khetan <[EMAIL PROTECTED]> wrote: > > Can i specify in my Config Files(web.xml or struts-config.xml) that a JAR > file cannot be downloaded without logging into the system?? > Regards, > Deepa > >

Re: How to make a preview

2005-11-18 Thread Nick Sophinos
Given that we are talking about an MVC framework, that kind of controlling input should be processed in the controller. In other words, it would be best to request.getParameter("preview") in the action class. - Nick On 11/18/05, Jesper Preuss <[EMAIL PROTECTED]> wrote: > >

Re: STRUTS AND JAVADOC.

2005-11-04 Thread Nick Heudecker
I didn't know people were still using Strutsdoc. I should probably start maintaining it again. On 11/4/05, Collin VanDyck <[EMAIL PROTECTED]> wrote: > > Hi Soren, > > You can javadoc your Struts Java types, although I'm not sure of a way > to get your Struts configurations in normal JavaDoc. > >

Re: [OT] How fast can you code?

2005-09-30 Thread Nick Heudecker
Too bad I won't be there. I'd win using just cat and sed to write code. ;) On 9/30/05, James Mitchell <[EMAIL PROTECTED]> wrote: > > For those who might have missed it (especially if you live in or near > Atlanta, GA): > > There is a coding competition being held on Wed (next week)...check > it ou

Re: Hibernate data at startup

2005-09-29 Thread Nick Heudecker
You have a few options. To initialize Spring, you can either use the Struts plugin or the web app context listener. Once that's done you can either use a startup servlet or a Struts plugin to load the data and put it into the servlet context. That way it only needs to be loaded once and is shared t

Re: Error: java.lang.ClassCastException: org.apache.struts.taglib .htm l.MessagesTei

2005-08-15 Thread Nick Heudecker
This error is caused by a jsp-api.jar in your application. On 8/15/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > You said you were using Struts 1.2.7. I'm guessing those 1.1 TLDs are > declaring the TEI class Tomcat's failing to load in the old location. Try > using the TLDs (and other configura

Re: Struts and Hibernate lazy

2005-08-09 Thread Nick Heudecker
The most common way to solve this problem is to use the Open Session In View pattern, which leaves the Hibernate session open until the JSP has finished rendering. Typically accomplished with a filter, there is also a Struts plugin to help with this pattern. Google for "Open Session In View" and

Re: XSL:FO orJasper Reports

2005-08-08 Thread Nick Heudecker
See if this helps: http://jasperreports.sourceforge.net/tutorial/index.html#parameters On 8/8/05, Rafael Taboada <[EMAIL PROTECTED]> wrote: > Talking about JasperReports and iReports... I'm trying to generate my > reports using iReports in order to make my .jrxml. I'm trying to make my SQL > quer

Re: XSL:FO orJasper Reports

2005-08-08 Thread Nick Heudecker
I would go with JasperReports. Make sure to also download iReport, which is a great time-saver. On 8 Aug 2005 07:58:16 -, d d <[EMAIL PROTECTED]> wrote: > > I am generating reports from Oracle DB in my struts application, I am > confused whether to use XSL:FO or Jasper Reports to generate

Re: [STRUTS 2X]: Ideas

2005-07-31 Thread Nick Heudecker
> I think there are a lot of people out there who feel as you do, but > backwards-compatibility has always been a major theme for those While backwards compatibility is nice, I would rather see a better framework for the 2.x release. My personal opinion is that version compatibility should be req

Re: Good Java host

2005-07-31 Thread Nick Heudecker
I use eapps.com and have been very happy with them. On 7/31/05, Martin Gainty <[EMAIL PROTECTED]> wrote: > James- > > Steer clear of RCN > I hosted with them and found out later they are a TV Cable company that got > into Internet hosting as a 'side business' > Plus RCN tech support is pretty muc

ClassCastException

2005-07-25 Thread Nick Heudecker
I'm using Tomcat 5.5, JDK 1.5, Struts 1.2.7 and Tiles. I'm getting the following exception when I navigate to a Tiles page, I'm getting the following: java.lang.ClassCastException: org.apache.struts.taglib.tiles.UseAttributeTei at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagIn

Re: [OT] UML class diagrams

2005-07-11 Thread Nick Heudecker
ArgoUML will do it. On 7/11/05, David Whipple <[EMAIL PROTECTED]> wrote: > Anyone have any suggestions for an opensource/freeware tool for reverse > engineering java code to class diagrams? > > Thanks, > Dave > > > - > To uns

Re: [OT] Re: Fired???? was...Re: Struts Books Recommendations

2005-07-06 Thread Nick Andros
talk about an OT thread! > 1) The inconsistency in what is protected. For example everyone today > talks about "tolerance." But what does this mean? What it ends up > meaning is "There are no moral absolutes so the only valid belief system > protected is one that doesn't espouse moral judgments."

Re: [OT] M Galbreath

2005-07-06 Thread Nick Andros
> Oh, please. That's why the idiot shouldn't have been using a government > email address. I've skipped almost all of this, but at the very least he > _did_ make threatening noises. You just can't go doing that on government > time. Yep. If you can't say it to your boss' face, then you shouldn

Re: Printing Bills

2005-07-06 Thread Nick Heudecker
I would either use JasperReports to create a simple report definition, or use IText to create the PDF. When we tried to use FOP, we had to embed the fonts which resulted in HUGE PDFs. On 7/6/05, Martin Gainty <[EMAIL PROTECTED]> wrote: > Rafael > > Now I understand.. > You can use Crystal Report

Re: Sending dynamic parameters to a forward

2005-06-14 Thread Nick Heudecker
Here's something I'm using to accomplish this: http://www.systemmobile.com/wp/?p=114 It's pretty simple, but can be refit to be fairly complex. On 6/14/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Sorry, my bad... it's not setURL, it's setPath. It's actually a method > of ForwardConfig, wh

Re: Cannot find bean error in any scope

2005-05-10 Thread Nick Heudecker
> or as you say change the message resources default - or even make it always > null=false? I prefer this suggestion. Speaking only for myself, null=false is the most sensible default. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: PDF Streamed To Client

2005-04-26 Thread Nick Heudecker
> Follow Up: This works but im having a little trouble outputting the content > type appropriately. > > -B > > -Original Message- > From: Nick Heudecker [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 26, 2005 1:47 PM > To: Struts Users Mailing List > Subje

Re: Dispatch Action "Whitespace In Label Text" and Missing Parameters

2005-04-26 Thread Nick Heudecker
ice". For example, if you stick value into edit box, IE strips out > spaces and newlines. Maybe it related somehow. Maybe your value > actually DOES contain spaces, and IE sometime strips them out, but > sometimes don't (hm, why?). > > Michael. > > On 4/19/05, Nick

Re: PDF Streamed To Client

2005-04-26 Thread Nick Heudecker
Brian: This is pretty simple. Just get the output stream from the response object and stream the file down. Return null from the Action's execute method: private void returnFile(File f, OutputStream out) throws IOException { FileInputStream fis = null; try { fis

Re: [OT] xdoclet actionforms

2005-04-21 Thread Nick Heudecker
The validator tags must be on the setter methods, not the getters. On 4/21/05, Nils Liebelt <[EMAIL PROTECTED]> wrote: > Hi, > > I am using the webdoclet module to generate my struts-config.xml. It works > very nice for my action classes. But for some reason I doesn't parse the > tags in my Form

Dispatch Action "Whitespace In Label Text" and Missing Parameters

2005-04-19 Thread Nick Heudecker
I've run into a strange problem with DispatchAction occasionally failing to find the parameter used to lookup the method to process the request. I get the following familiar error: "Request[myAction] does not contain handler parameter named 'method'. This may be caused by whitespace in the label

Re: [OT]question about open source data base selection

2005-04-11 Thread Nick Heudecker
Refer to the "End users" section in the following document: http://dev.mysql.com/tech-resources/articles/mysql-network-and-you.html On Apr 11, 2005 1:55 PM, Fogleson, Allen <[EMAIL PROTECTED]> wrote: > Dave, > > I'm confused here. What do you mean by "link to it?" > > If I simply use the conne

Re: PDFs with IE - a fix

2005-02-28 Thread Nick Heudecker
Damn. That's had me stumped for months. I forced the client to upgrade to Firefox. :) On Mon, 28 Feb 2005 10:21:28 -0700, Larry Meadors <[EMAIL PROTECTED]> wrote: > Sorry for the cross-post, but if anyone is having issues serving up > pdfs to IE users over ssl, here is a fix for the browser:

Re: ActionForm vs. DynaActionForm

2005-02-21 Thread Nick Heudecker
XDoclet works great with DynaForms. Here's a link to a doc I wrote about it: http://www.systemmobile.com/articles/XDocletDynaForms.html On Mon, 21 Feb 2005 12:09:14 -0500, Benedict, Paul C <[EMAIL PROTECTED]> wrote: > Any other takers? If any Struts committers have opinions, please share them.

Re: Struts In Action - Still up to date?

2005-02-18 Thread Nick Heudecker
Yes, the index will be expanded and updated as well, including all of the newly added reference material. On Fri, 18 Feb 2005 10:00:58 -0800, Shey Rab Pawo <[EMAIL PROTECTED]> wrote: > I don't know how others feel, but if you could talk the editors into a > more expanded index, that would be rea

Re: Off Topic Post Air Time vs. Struts Answers

2004-09-14 Thread Nick Heudecker
Terry: I agree with you that struts-user is mostly noise, although you phrased it much better than I did. I know it's frustrating to have your question go unanswered, but I really don't think it's intentional. There is so much cruft on this list, with the same questions asked repeatedly, that yo

Re: site "shutdown" best practice?

2004-09-07 Thread Nick Heudecker
You could set a property in the context scope that flags the 'maintenance page' or something. To detect the flag, you could use a filter to redirect the user to the maintenance page, or have your base Action class look for the flag and react accordingly. Ideally, you'd do this from some form of a

Re: html:cancel usage

2004-09-07 Thread Nick Heudecker
I believe the validation still happens because the validation step occurs before the appropriate method in the action class in determined. I got around this by turning off automatic validation. On Tue, 07 Sep 2004 16:59:48 +, andy wix <[EMAIL PROTECTED]> wrote: > Hi, > > When using the foll

[ANNOUNCE] XDoclet Struts DynaForm 1.2.2 SNAPSHOT

2004-08-17 Thread Nick Heudecker
/code/xdoclet-apache-module-1.2.2-SNAPSHOT.jar The full text of the README may be found here at: http://www.systemmobile.com/code/xdoclet-dynaform-README.txt An example may be found at: http://www.systemmobile.com/code/Person.java -- Nick Heudecker System Mobile, Inc. Email: [EMAIL

Re: Réf. : Re: ActionForm vs Hibernate POJO

2004-08-03 Thread Nick Heudecker
I know at least one developer who's combined FormDef and Hibernate and was pleased with the results. Hubert -- Nick Heudecker System Mobile, Inc. Email: [EMAIL PROTECTED] Web: http://www.systemmobile.com - To unsubscribe, e-m

Re: release of struts-faces library

2004-07-29 Thread Nick Heudecker
sufficient feedback that lots of people are in fact using the nightly builds with no problems, I'll go ahead and initiate a 1.0 release of struts-faces. Craig -- Nick Heudecker System Mobile, Inc. Email: [EMAIL PROTECTED] Web: http://www.s

[ANNOUNCE] StrutsDoc 0.5 Released

2004-07-28 Thread Nick Heudecker
example here: http://www.systemmobile.com/strutsdoc/example/ Feedback, especially on problems and feature requests, is always welcome. -- Nick Heudecker System Mobile, Inc. Email: [EMAIL PROTECTED] Web: http://www.systemmobile.com

Re: [OT] Cvs windows

2004-07-27 Thread Nick Heudecker
some time and i'd greatly appreciate the benefit of anyone's experience who works like this. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Nick Heudecker Syste

Re: [OT] RTF & PDF export options

2004-07-19 Thread Nick Heudecker
arnett, Brian W. wrote: Any suggestions for converting html to RTF and PDF inside an action class and then sending the RTF or PDF back to the client? Open source tools, code snippets, tips & tricks, etc. ?? Thanks a bunch. Brian Barnett -- Nick Heudecker System Mobile, Inc. Email: [EMA

Re: MessageResources Question

2004-07-14 Thread Nick Heudecker
together or 2) take the value off of the HashMap so the next call to it would go to my custom implementation. I hope this wasn't 2 confusing Thanks - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! -- Nick Heudecker Sy

Re: Simplifying struts-config.xml

2004-07-08 Thread Nick Heudecker
Look into the wildcard plugin. http://www.twdata.org/struts-wildcard/ Michael McGrady wrote: Is there a way to do the following using less real-estate in struts-config.xml? If not, there should be: --

Book Recommendations

2004-07-06 Thread Davis, Nick
Hi All, I am looking for a good Struts book. Does anyone have any recommendations? Thank you in advance for your help. Kind Regards, Nick

  1   2   >