RE: [OT] xdoclet actionforms
Hi Nils! Have you tried to give a name to your formbean like this: * * @struts.form name="addUserForm" * It might help... Aron Gombas 3NF Corporation www.3nf.com -Original Message- From: Nils Liebelt [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 9:03 AM To: 'Struts Users Mailing List' Subject: [OT] xdoclet actionforms 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 classes. I can't see the form bean definitions in the struts config after building. I ran Ant in debug and I saw that finds the appropriate classes so it's not a filter issue. I am thinking that I may miss a library? Here's an example of a form-class: /** * @author nils * @struts.form */ public class AccountForm extends ValidatorActionForm { /** * Comment for serialVersionUID */ private static final long serialVersionUID = 3761972678709425976L; private String name; private String phone; private String email; private String website; private String comment; private String owner; /** * @struts.validator type="required" * @return Returns the comment. */ public final String getComment() { return comment; } /** * @param comment The comment to set. */ public final void setComment(String comment) { this.comment = comment; } Regards, Nils - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Seeking advice image resizing
If it's OK for you to create the thumbnails during deploy-time, the Ant-task is very convenient, however the filtering algorithm can't be specified and the default one is not so high quality (I guess it just uses "nearest neightbour"). Aron Gombas 3NF Corporation www.3nf.com -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 3:37 PM To: 'Struts Users Mailing List' Subject: Re: Seeking advice image resizing What about jmagick? http://www.yeo.id.au/jmagick/ The problem with using awt is that you need an X installation on your server, which you normally haven't. And running AWT in headless mode is not that easy. Beside this, jmagick provide better quality of image resizement as awt. Regards Leon > -Ursprüngliche Nachricht- > Von: Mark Benussi [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 5. Mai 2005 15:29 > An: 'Struts Users Mailing List' > Betreff: RE: Seeking advice image resizing > > :) Me too. Its on my list of things to do but from some > research I did last week I found this gem > > http://developers.sun.com/solaris/tech_topics/java/articles/awt.html > > -Original Message- > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Sent: 05 May 2005 14:07 > To: user@struts.apache.org > Subject: Seeking advice image resizing > > Not truly struts related, but I would assume that people on > this list know a solution, or workaround for what appears to > be a common dilemma. > > I have created a ECommerce type site, in which there are > three display sized images. A 125x125 thumb, a 256x256 > preview, and a 100% original view for a product. > > My application is 100% struts, running on Tomcat 5.x. I would > like to be able to upload the original, them create the > preview, and thumb from the original. > > Is there a simple java solution for this? I know there are > things like image magic, etc, but eventually I am going to > have this site hosted, and want a simple, effective solution. > Or is the solution to pre-create these and upload three > unique uploads. And if that is the case, can this be done > with one multipart form using the commons file uploader? Or > do I need a wizard type approach, where they upload original, > next page, preview, etc.? > > Any info would be appreciated. > > Thanks, > Scott > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OT] RSS w/ JSTL
Brian, you might want to take look at http://informa.sourceforge.net/ Aron Gombas 3NF Corporation www.3nf.com -Original Message- From: Brian McGovern [mailto:[EMAIL PROTECTED] Sent: Friday, May 13, 2005 5:53 PM To: Struts Users Mailing List Subject: [OT] RSS w/ JSTL Has anyone had any experience reading in RSS feed with tag libs. Either JSTL or otherwise? Thanks -B - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[PATCH] validator_ja
Hi Everyone! FYI here are the validator error messages translated to Japanese (UNICODE) if anyone is interested: # Validator errors errors.required={0} \u304c\u5fc5\u8981\u3067\u3059\u3002 errors.minlength={0} \u306f{1} \u4ee5\u4e0b\u306b\u306a\u308a\u307e\u305b\u3093\u3002 errors.maxlength={0} \u306f{1} \u4ee5\u4e0a\u306b\u306a\u308a\u307e\u305b\u3093\u3002 errors.invalid={0} \u306f\u7121\u52b9\u3067\u3059\u3002 errors.byte={0} \u306f1\u30d0\u30a4\u30c8\u3067\u3042\u308b\u3079\u304d\u3067\u3059\u300 2 errors.short={0} \u306f\u30b7\u30e7\u30fc\u30c8\u3067\u3042\u308b\u3079\u304d\u3067\u3059 \u3002 errors.integer={0} \u306f\u6574\u6570\u3067\u3042\u308b\u3079\u304d\u3067\u3059\u3002 errors.long={0} \u306f\u30ed\u30f3\u30b0\u3067\u3042\u308b\u3079\u304d\u3067\u3059\u3002 errors.float={0} \u306f\u5c0f\u6570\u70b9\u304c\u3042\u308b\u3079\u304d\u3067\u3059\u3002 errors.double={0} \u306f\u8907\u6570\u3067\u3042\u308b\u3079\u304d\u3067\u3059\u3002 errors.date={0} \u306f\u65e5\u4ed8\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002 errors.range={2} \u3092\u901a\u3057\u3066{0} \u304c\u7bc4\u56f2{1} \u306b\u3042\u308a\u307e\u305b\u3093\u3002 errors.creditcard={0} \u306f\u7121\u52b9\u306e\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9 \u756a\u53f7\u3067\u3059\u3002 errors.email={0} \u306f\u7121\u52b9\u306eE\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306 7\u3059\u3002 (For maintainers, it's maybe a good starting point if you ever planned to add localized resources to the struts src distro. Sorry if it's useless.) Aron Gombas 3NF Corporation www.3nf.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]