Re: possible bug in html-el

2003-03-16 Thread Dan Allen
This was a bug in RC1. It's fixed in the nightly build. Turns out, amoungst other things, I was missing the error resource key member.email.missing vs member.errors.email.missing in my application.resources file. I really wish that missing keys would just skip over instead of killign

request.getRemoteUser

2003-03-16 Thread Guido
Is there any way to show the remote user that sounds like (this doesnt work): bean:write name=request property=remoteUser / I actually use %= request.getRemoteUser() %, and works fine, but i am a curious kid Thank you, Guido.

Re: Opinions on Struts code generator - A zipped version

2003-03-16 Thread Emmanuel Feller
Hi James, I take a look to your paper and i found it very interesting. But I am wondering if every code generator are not taking the problem by a wrong way, because I saw some of them (your, one on Ted Husted's site, one made in my office, and few others which wasn't mature) and every code

Re: Opinions on Struts code generator - A zipped version

2003-03-16 Thread Vic Cekvenich
Emmanuel Feller wrote: Hi James, I take a look to your paper and i found it very interesting. But I am wondering if every code generator are not taking the problem by a wrong way, because I saw some of them (your, one on Ted Husted's site, one made in my office, and few others which wasn't

Re: Opinions on Struts code generator - A zipped version

2003-03-16 Thread Emmanuel Feller
Most applications are based on requirements, and easy to define those as HTML. To go backwards from here is what we have see if anyone want's it is not as good aproach. I understand your point of view. We started to make requirements in html form, but our customers didn't take care of the

RE: Opinions on Struts code generator - A zipped version

2003-03-16 Thread James Higginbotham
Interesting.. How about taking this to the next level, which all struts generators have failed to do (except a BEA tool that requires you to buy into them): 1) Offer the ability to define the concept of a page, which has associated to it the action and an JSP page 2) Define the fields that will

Re: Opinions on Struts code generator - A zipped version

2003-03-16 Thread Vic Cekvenich
Like this (but it's read only): http://ireport.sourceforge.net/images/screenshot6.gif It even has a wizzard from SQL. .V James Higginbotham wrote: Interesting.. How about taking this to the next level, which all struts generators have failed to do (except a BEA tool that requires you to buy into

Re: request.getRemoteUser

2003-03-16 Thread James CE Johnson
Guido wrote: Is there any way to show the remote user that sounds like (this doesnt work): bean:write name=request property=remoteUser / I actually use %= request.getRemoteUser() %, and works fine, but i am a curious kid I think the request taglib may help you out:

Re: [OT]Best JSP plugin for eclipse..

2003-03-16 Thread Pascal THIVENT
[EMAIL PROTECTED] wrote: Hello, I use the STRECL JSP editor plugin whith eclipse for personal use. According to the detail page, the following features are available : JSP editor * tree structure visualization + filtering o HTML tags o JavaScript tags o Tags

RE: Opinions on Struts code generator - A zipped version

2003-03-16 Thread James Higginbotham
Nice! Wow, hadn't seen that before, only knew of JasperReports.. Thanks for link Vic! Here are some screenshots (thanks Google) of NetDynamics, which will give you a feel for how it allowed a project to define datasources and pages: http://www.exa-corp.co.jp/aps/websolution/images/nd5Studio.gif

[OT]: Best Web designing Tool which supports HTML4.01

2003-03-16 Thread Vinay
Hi everybody, Which tool is good for developing web pages. I am using struts architecture but I will be the on who will also doing web designing work and also programming. I have Dreamweaver , but it doesn't support many features like fieldset and legend Is there a very user

RE: [Q] Accessing struts-tiles attribute in a bean?

2003-03-16 Thread Hue Holleran
Not sure of 'best' way to this but I think this may work: tiles:useAttribute name=booboo classname=java.lang.String / ... bean:message key=%=booboo% / Yes, I agree tiles is great - been looking at Velocity again just recently but I just don't think I could live without tiles now. There always

Re: design concern

2003-03-16 Thread David Graham
I did *not* ask this question; you have misquoted me. David From: Dan Allen [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: design concern Date: Sat, 15 Mar 2003 19:51:50 -0600 David Graham ([EMAIL PROTECTED])

Re: design concern

2003-03-16 Thread Dan Allen
David Graham ([EMAIL PROTECTED]) wrote: I did *not* ask this question; you have misquoted me. Yikes! Sorry 'bout that, Dan's a bit tired this weekend. Dan -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Daniel Allen, [EMAIL PROTECTED] http://www.mojavelinux.com/ - - - - -

[NEWBIE]A very stupid question

2003-03-16 Thread Marco Tedone
I have my application under the context /xml-op/ In my struts-config.xml file, I define an action with the path=/Login Anyway, when I want to invoke the Login action as a forward, let's say by means of a ForwardAction action mapping, in my jsp page, as href I have to indicate the following:

RE: [NEWBIE]A very stupid question

2003-03-16 Thread Tony Tahbaz
How are you creating your link? Are you using the struts-html taglib or are you just using html? -Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: Sunday, March 16, 2003 2:07 PM To: Struts-user-list Subject: [NEWBIE]A very stupid question I have my application under

Validator Localization

2003-03-16 Thread Paul Hodgetts
I'm trying to localize validations where I have some fields that only appear in certain locales, and therefore only need to be validated under those locales. In Struts in Action, Ted talks about adding attributes to the form tag. But it looks like under the newer Commons Validator, the

RE: BeanUtils.copyProperties between from and DAO issues

2003-03-16 Thread Craig R. McClanahan
On Sat, 15 Mar 2003, Khalid K. wrote: Date: Sat, 15 Mar 2003 13:21:01 -0800 From: Khalid K. [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: BeanUtils.copyProperties between from and DAO issues If this

RE: BeanUtils.copyProperties between from and DAO issues

2003-03-16 Thread Mitchell Morris
Hmmm ... looking in the BeanUtils javadocs, I see there's already an IntegerArrayConverter which turns a String[] into an int[]. Oh look! The author's name seems oddly familiar; anybody know some guy named Craig R. McClanahan? just-need-to-register-it-then-I-suppose-ly y'rs, +Mitchell

Re: [NEWBIE]A very stupid question

2003-03-16 Thread Affan Qureshi
If you are creating a forward in struts config files or actions, you should ignore the context name completely and write url as /myAction.do. Struts takes care of the context path itself. If you are creating links simply in HTML then do something like: request.getContextPath() + /myAction.do

RE: [NEWBIE]A very stupid question

2003-03-16 Thread Carl Fyffe
Marco, You should use the html:link tag. Use the page instead of href. Page will prepend the correct context path for you. Html:rewrite does this as well so you can use that for linking to images and what not. Here is an example: html:link page=/Login.doLogin/html:link So what Struts will

Re: Validator Localization

2003-03-16 Thread Paul Hodgetts
In my original example, the form name should be the same in all the formsets. That was just a copy/paste error in the email, but thanks to the couple of folks that pointed that out to me by email. I still can't figure out how to get the validations for the locales to fire. I wrote: I'm trying

Re: module name problem?

2003-03-16 Thread Navjot Singh
yes eddie, I tried it the same day and itr works to my happiness ;-) solved most of my problems. regards navjot singh - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, March 16, 2003 7:16 AM Subject: Re: module name

RE: [Q] Accessing struts-tiles attribute in a bean?

2003-03-16 Thread Scott Barr
Yeah, I'm exacly the same with Velocity. It is clean as a whistle, but I've gotta have my Tiles :) Scott Barr www.exergonic.com.au On Mon, 2003-03-17 at 04:49, Hue Holleran wrote: Not sure of 'best' way to this but I think this may work: tiles:useAttribute name=booboo

[OT] suggestion for getting properties

2003-03-16 Thread Dan Allen
I have a model class for my company which has numbers. I would like to create a method like getNumbers() which returns all of the different phone numbers that are in the database as a collection. However, when I get them, I need to know which ones they are for display purposes (just a list of

Re: [Q] Accessing struts-tiles attribute in a bean?

2003-03-16 Thread Dan Allen
Not sure of 'best' way to this but I think this may work: tiles:useAttribute name=booboo classname=java.lang.String / ... bean:message key=%=booboo% / ...or with bean-el you can do bean:message key=${booboo}/ I do this as well as tiles does not support localization just yet. However,

test

2003-03-16 Thread Niket Anand
ff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Loading complex forms with Struts.

2003-03-16 Thread Simon Kelly
Thanks for that Kevin. That's pretty much what I came up with as well. The only addition I am making is that, to make sure all of the additional selection information is grouped correctly, and to keep away from multiple forms is to use the x.y.z naming method to reference every thing, so: A

ServletException: Cannot find bean element in scope null

2003-03-16 Thread Karl
I'm getting an exception [ServletException: Cannot find bean element in scope null] when I try to access form data from a jsp page. I've got the following code in my action class: public final class ContractsSearchAction extends ContractBaseAction { public ActionForward perform(

RE: test

2003-03-16 Thread Andrew Hill
ffu2 -Original Message- From: Niket Anand [mailto:[EMAIL PROTECTED] Sent: Monday, 17 March 2003 15:40 To: Struts Users Mailing List Subject: test ff - To unsubscribe, e-mail: [EMAIL PROTECTED] For