Any Takers ?RE: Struts Validator and Select boxes

2004-03-26 Thread Janarthan Sathiamurthy
Any help/takers ? -Original Message- From: Janarthan Sathiamurthy Sent: Thursday, March 25, 2004 10:16 PM To: [EMAIL PROTECTED] Subject: Struts Validator and Select boxes Hi, I am using Struts validator. One page of mine has dates displayed as MM DD . All the above 3 are

Re: Struts tag problem (bean:message and bean:write)

2004-03-26 Thread Dmitrii CRETU
Hello Marco, maybe this will help (using struts-el): bean-el:message key='prompt.productType.${product.productType}'/ Dima. Thursday, March 25, 2004, 6:02:54 PM, you wrote: MM Hi all, MM I was wondering if anyone of you have a solution MM For this dilemma. MM I have a collectin of

RE: Handling Date objects in ActionForm gracefully

2004-03-26 Thread Freddy Villalba Arias
:59 Para: Sreenivasa Chadalavada; Struts Users Mailing List Asunto: Re: Handling Date objects in ActionForm gracefully You deal with the conversion else where but not in the form bean, you can argue about it or just believe me. The action form sits between the view and the action, the date

RE: Handling Date objects in ActionForm gracefully

2004-03-26 Thread anuj . upadhyay
:53:31 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc:(bcc: Anuj Upadhyay/Jeppesen/TMC) Subject: RE: Handling Date objects in ActionForm gracefully +1 -Original Message- From: Mark Lowe [mailto:[EMAIL

Re: html inside an action

2004-03-26 Thread ruben
:[EMAIL PROTECTED] Sent: 25 March 2004 17:04 To: Struts Users Mailing List Subject: RE: html inside an action HttpUnit is also a neat tool which might help. Have a JSP generate the HTML and access that using HttpUnit (or a simple URLConnection/Socket for that matter). And you can get the generated

Re: Handling Date objects in ActionForm gracefully

2004-03-26 Thread Mark Lowe
: Sreenivasa Chadalavada; Struts Users Mailing List Asunto: Re: Handling Date objects in ActionForm gracefully You deal with the conversion else where but not in the form bean, you can argue about it or just believe me. The action form sits between the view and the action, the date conversion goes

RE: problem with module

2004-03-26 Thread Colm Garvey
:[EMAIL PROTECTED] Sent: 25 March 2004 15:22 To: Struts Users Mailing List Subject: Re: problem with module Daniel wrote: If someone know the solution help us.. - Original Message - From: Daniel [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 25

RE: Handling Date objects in ActionForm gracefully

2004-03-26 Thread Joe Hertz
the user pass a DateFormat into copyProperties :-)??? -Joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 3:58 AM To: Struts Users Mailing List Subject: RE: Handling Date objects in ActionForm gracefully +1 I also suggest

RE: Handling Date objects in ActionForm gracefully

2004-03-26 Thread Freddy Villalba Arias
[mailto:[EMAIL PROTECTED] Enviado el: viernes, 26 de marzo de 2004 10:24 Para: Struts Users Mailing List Asunto: Re: Handling Date objects in ActionForm gracefully I think the way of going about converting is pretty open, either have some conversion utils between the web tier and the model. I tend

Re: i18n with Japanese characters and tags....

2004-03-26 Thread atchy
rs Mailing List" [EMAIL PROTECTED] (B To: "Struts Users Mailing List" [EMAIL PROTECTED] (B Subject: Re: i18n with Japanese characters and tags (B Date: Tue, 23 Mar 2004 16:12:20 +0900 (B (B Carlo, (B (B Have you checked the example application included in Struts1.1(or (B curr

Re: Handling Date objects in ActionForm gracefully

2004-03-26 Thread Mark Lowe
, 26 de marzo de 2004 10:24 Para: Struts Users Mailing List Asunto: Re: Handling Date objects in ActionForm gracefully I think the way of going about converting is pretty open, either have some conversion utils between the web tier and the model. I tend to do it in the action and then when things get

RE: Handling Date objects in ActionForm gracefully

2004-03-26 Thread Freddy Villalba Arias
, 26 de marzo de 2004 11:05 Para: Struts Users Mailing List Asunto: Re: Handling Date objects in ActionForm gracefully Freddy. No, you misunderstood if you thought I was responding with any hostility whatsoever. There is a general problem where input would be better validated in the web tier so

RE: Pls help me in configuring common logger

2004-03-26 Thread sougata
Hi Van I am not using simple logger.I am using apache's commons logger.Pls le me know how to do it Thanks Sougata -Original Message- From: Van Riper, Mike [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 12:38 PM To: 'Struts Users Mailing List' Subject: RE: Pls help me

Re: [OT] WSAD problems with Struts

2004-03-26 Thread Susan Bradeen
Oliver, What version of WSAD are you running? What problems are you having specifically? Validation is controlled through the menu option Window Preferences Validation Susan Bradeen Oliver Thiel [EMAIL PROTECTED] wrote on 03/26/2004 08:09:34 AM: Hi, I read that some of you had some

Re: [OT] WSAD problems with Struts

2004-03-26 Thread Rouven Gehm
Which version of WSAD are you using ? I don't have problems with 5.0 + updates or 5.1. Rouven - Original Message - From: Oliver Thiel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 26, 2004 2:09 PM Subject: [OT] WSAD problems with Struts Hi, I read that some of you

RE: How does ActionForm data pass through container called form based login page?

2004-03-26 Thread Martin Alley
Well I've just simplified by login form - plain html - no struts stuff going on. I've also simplified the filter so detects a fresh logon and starts a session accordingly - no longer any redirecting to LoginAction. However the critical behaviour is still the same - existingCustomerForm - the

Re: [OT] WSAD problems with Struts

2004-03-26 Thread Oliver Thiel
Hi, I have to use: WebSphere Studio Application Developer (Windows) Version: 5.1.0 I developed my app with the StrutsStudio, as it is not that complex. But know I have to run it on WSAD and run into different problems: a. WSAD did not like the validation.XML (so deleted it cause I did

RE: How does ActionForm data pass through container called form based login page?

2004-03-26 Thread Joe Germuska
At 1:59 PM + 3/26/04, Martin Alley wrote: Well I've just simplified by login form - plain html - no struts stuff going on. I've also simplified the filter so detects a fresh logon and starts a session accordingly - no longer any redirecting to LoginAction. However the critical behaviour is

Re: Pls help me in configuring common logger

2004-03-26 Thread roy-strutsuser
On 26 Mar 2004 13:59:25 -, struts-user-digest-help wrote Re: Pls help me in configuring common logger 109791 by: sougata sougata, if you're using Log4j you need to add a file called commons-logging.properties file under your WEB-INF/classes directory. In that file you need one line

Re: html inside an action

2004-03-26 Thread Niall Pemberton
I posted a tag (StoreTag) which will store the generated html from a jsp in a bean, then in your action you can get the RequestDispatchter and do an include: Details in the following messages: http://www.mail-archive.com/[EMAIL PROTECTED]/msg94956.html http://www.mail-archive.com/[EMAIL

RE: How does ActionForm data pass through container called form based login page?

2004-03-26 Thread Martin Alley
elegant solution - after this technology's been around for a while! Thanks Martin -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: 26 March 2004 14:21 To: Struts Users Mailing List Subject: RE: How does ActionForm data pass through container called form based login page

RE: How does ActionForm data pass through container called form b ased login page?

2004-03-26 Thread Pady Srinivasan
} } Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Martin Alley [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 8:59 AM To: 'Struts Users Mailing List' Subject: RE: How does ActionForm data pass through container called form based login page? Well I've just

Re: Struts Validator and Select boxes

2004-03-26 Thread Niall Pemberton
Posting whats in your validation.xml for the form and the bit of your jsp with your select fields would be helpfull. If you take the fromDay as an example, you are using field.getVarValue(fromDay) - if you don't have a var defined in your validation.xml for fromDay then that would cause the No

RE: How does ActionForm data pass through container called form based login page?

2004-03-26 Thread Joe Germuska
I might be able to put some general code in the login form (as a jsp) that puts all form data present in the previous page into the login form so it could be passed on, but that will still leave the problem of the method becomes GET instead of POST. I'm really hoping there's a more elegant

RE: How does ActionForm data pass through container called form based login page?

2004-03-26 Thread Martin Alley
Subject: RE: How does ActionForm data pass through container called form based login page? This is the only solution I can think of: public class RedirectServletRequest extends HttpServletRequest { public RedirectServletRequest(HttpServletRequest req) { this.request = req

RE: How does ActionForm data pass through container called form based login page?

2004-03-26 Thread Martin Alley
I think I need to do some simple test cases - with and without struts. Martin -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: 26 March 2004 15:20 To: Struts Users Mailing List Subject: RE: How does ActionForm data pass through container called form based login page

RE: How does ActionForm data pass through container called form b ased login page?

2004-03-26 Thread Pady Srinivasan
); Chain.doFilter(newreq, response); } } Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Martin Alley [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 10:35 AM To: 'Struts Users Mailing List' Subject: RE: How does ActionForm data pass through

RE: How does ActionForm data pass through container called form based login page?

2004-03-26 Thread Martin Alley
I'll be very interested to here the outcome... Thanks Martin -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: 26 March 2004 16:07 To: Struts Users Mailing List Subject: RE: How does ActionForm data pass through container called form based login page? We were

Re: Calling Class Methods

2004-03-26 Thread Nizeyimana Zabulon
let say your class' name is A and your static method is aaa(); all you hava to do is A.aaa(); --- Sunny [EMAIL PROTECTED] a écrit : How can i invoke static methods of a Class without instantiating it in struts - To

Re: Dynaform Type Conversion

2004-03-26 Thread Joe Germuska
--- Joe Hertz [EMAIL PROTECTED] wrote: Does Struts provide a method where I provide it the name of the bean defined in the struts-config.xml and it return me an instance of the appropriate class, with all the dyna properties set up? At 3:19 PM -0800 3/25/04, Hubert Rabago wrote: It does

RE: access variable value in html tag

2004-03-26 Thread Steltner, Joern
Hallo together, Thx, for the help. I installed the Tomcat v5.x engine and now it's working like you guys suggested without EL. Regards Joern -Original Message- From: Brian Buchanan [mailto:[EMAIL PROTECTED] Sent: Dienstag, 23. März 2004 15:12 To: Struts Users Mailing List Subject: RE

Re: Why there is no getHeader(String headerName) and getHeaders() met hod in HttpServletResponse?

2004-03-26 Thread Richard Yee
Larry, I'll go out on a limb here and say that since the response is being generated on the server by a servlet or JSP, there is no need for getHeader() or getHeaders() methods because the developer is setting them. The HttpServletResponse interface has addHeader() and addXXXHeader() methods to

Re: Accessing Struts beans with keys defined in the Globals class

2004-03-26 Thread Nizeyimana Zabulon
try this session.getAttribute(Globals.LOCALE_KEY); --- Denis Laroche [EMAIL PROTECTED] a écrit : Hello everybody, I hope it's not a trivial question. I'm trying to access the current Locale from a JSP page. The key to access the Locale is stored in variable

Re: Global locale in Struts web applications?

2004-03-26 Thread Nizeyimana Zabulon
try change the scope of the le locale from session to application --- Jan Normann Nielsen [EMAIL PROTECTED] a écrit : Hello I have multiple Struts web applications deployed within Jetty but the locale that Struts saves in the session is not shared between the contexts. I guess that is

Re: [OT] JTA, JDBC and data persistence

2004-03-26 Thread Bill Siggelkow
Freddy, I think you only need to look into using JTA and XA transactions if you are spanning multiple data sources (databases). If you are not, then I would look into using an Object-relational mapping tool like Hibernate or OJB to do what you want to do. These tools usually provide support

Re: Accessing Struts beans with keys defined in the Globals class

2004-03-26 Thread Denis . Laroche
: Subject: Re: Accessing Struts beans with keys defined in the Globals class 03/26/2004 11:43

Re: [OT] JTA, JDBC and data persistence

2004-03-26 Thread ian_d_stewart
Freddy, You may want to take a look at Hibernate (http://www.hibernate.org), if you haven't done so already. Hibernate is a persistence mechanism which utilizes XML mappings to map Java objects to relational database schemas, and does support cascading deletes, amoung other things. HTH, Ian

Re: How to display a bean property with html markup?

2004-03-26 Thread Bill Siggelkow
And if you wanted to use JSTL you would use: c:out value=${info.infoName} escapeXml=false/ Bill Siggelkow Anybody knows how to display a bean property with html markup properly in the output. I have the JSP snippet code as follows: HTML abcdefg bean:write name=info property=infoName /

Re: [OT] WSAD problems with Struts

2004-03-26 Thread ian_d_stewart
: Subject: Re: [OT] WSAD problems with Struts 03/26/2004 08:35 AM

RE: newbie html-el question

2004-03-26 Thread Slattery, Tim - BLS
I am trying to display a value from a requestAttribute in an html-el:text ... but I can't get it to work. Here is my code: html-el:text: property=searchType value=%=request.getAttribute(searchType)%/ I recieve the error: Attribute searchType has no value Someone told me I have

RE: newbie html-el question

2004-03-26 Thread Wendy Smoak
From: Bender, James [mailto:[EMAIL PROTECTED] I am trying to display a value from a requestAttribute in an html-el:text ... but I can't get it to work. Here is my code: html-el:text: property=searchType value=%=request.getAttribute(searchType)%/ I recieve the error: Attribute searchType

Re: Accessing Struts beans with keys defined in the Globals class

2004-03-26 Thread Joe Germuska
At 1:03 PM -0500 3/26/04, [EMAIL PROTECTED] wrote: Thanks, but is there a way to do it without using Java code directly in the JSP page? In this cases there is not, although this has been discussed just today on struts-dev: http://article.gmane.org/gmane.comp.jakarta.struts.devel/18429/ In

Re: [OT] SELECT ... LIKE with iBatis

2004-03-26 Thread Ronald Rotteveel
Hi Andy, we have a same kind of statement in our xml file and it looks like this: codesnippet mapped-statement name=statementName result-map=result SELECT * FROM tbl_name WHERE column_name LIKE '%'; /mapped-statement /codesnippet Pay attention to the single quotes around the %-sign! Good

RE: Pls help me in configuring common logger

2004-03-26 Thread Van Riper, Mike
to the SimpleLog implementation. Good Luck, Van -Original Message- From: sougata [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 4:12 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Pls help me in configuring common logger Hi Van I am not using simple

RE: Why there is no getHeader(String headerName) and getHeaders() met hod in HttpServletResponse?

2004-03-26 Thread Zhang, Larry (L.)
To: Struts Users Mailing List Subject: Re: Why there is no getHeader(String headerName) and getHeaders() met hod in HttpServletResponse? Larry, I'll go out on a limb here and say that since the response is being generated on the server by a servlet or JSP, there is no need for getHeader

RE: Why there is no getHeader(String headerName) and getHeaders() met hod in HttpServletResponse?

2004-03-26 Thread Yee, Richard K,,DMDCWEST
] Sent: Friday, March 26, 2004 11:47 AM To: 'Struts Users Mailing List' Subject: RE: Why there is no getHeader(String headerName) and getHeaders() met hod in HttpServletResponse? Richard, Thanks for your answers. I think that makes great sense; though I still think to have getHeader

RE: html:options where values have embedded quotes

2004-03-26 Thread Colm Garvey
Mailing List Subject: Re: html:options where values have embedded quotes Anyone? Doug wrote: We have some customer-supplied selection options that have double quotes in their values, and Struts 1.1 isn't seeming to handle this correctly. Best I can tell from the HTML spec, these should

RE: newbie html-el question

2004-03-26 Thread Bender, James
I've described? Thanks again!, Jim -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 2:03 PM To: Struts Users Mailing List Subject: RE: newbie html-el question From: Bender, James [mailto:[EMAIL PROTECTED] I am trying to display a value from

RE: Populating a Listbox

2004-03-26 Thread Colm Garvey
I've come across this in a few difference manifestations and the best course of action I've come across is dependant on the number of variations. If you're only talking about a couple of hundred or less, use a javascript array to populate the second dropdown on the fly. If you're dealing with

RE: .swf file

2004-03-26 Thread Colm Garvey
Just the same as any other hyperlink you create with Flash. Just point your hyperlink to nameoflink.do instead of nameoflink.jsp Colm -Original Message- From: Jignesh Patel [mailto:[EMAIL PROTECTED] Sent: 24 March 2004 18:02 To: [EMAIL PROTECTED] Subject: .swf file Dear Friends, Can

RE: blocking bookmarked actions

2004-03-26 Thread Colm Garvey
Or wrap the whole app up in frames. That'll do the trick. Colm -Original Message- From: Mark Shifman [mailto:[EMAIL PROTECTED] Sent: 24 March 2004 18:32 To: Struts Users Mailing List Subject: Re: blocking bookmarked actions where do I do the blocking? The action I am having problems

RE: newbie html-el question

2004-03-26 Thread Wendy Smoak
From: Bender, James [mailto:[EMAIL PROTECTED] The user can click Search Attributes | Search Components | Search Templates I've provided html:link's like these respectively: doPrepareSearch.do?searchType=attribute | doPrepareSearch.do?searchType=component |

Re: [OT] SELECT ... LIKE with iBatis

2004-03-26 Thread Andy Engle
Ronald Rotteveel [EMAIL PROTECTED] wrote: Hi Andy, we have a same kind of statement in our xml file and it looks like this: mapped-statement name=statementName result-map=result SELECT * FROM tbl_name WHERE column_name LIKE '%'; /mapped-statement Right, but I was running into trouble

Re: help with modules

2004-03-26 Thread James Norman
Try adding contextRelative=true to the forwards in your struts-config. I remember a similar problem I had a while back, but I'm not entirely sure this will solve it. Here is an example of an Action I had in a struts module I wrote: action path=/listLoggers

Re: Dynamic forward in tiles

2004-03-26 Thread Pedro Salgado
On 25/03/2004 13:22, Mariano García [EMAIL PROTECTED] wrote: El mié, 24-03-2004 a las 20:21, Pedro Salgado escribió: Below is a reply sent to this mailing list about something very similar to what you are looking for. but there is any way to use dynamic content only using tiles tags? In

RE: Help on struts

2004-03-26 Thread Shoaib
Thanks for your guidance. You are right , we are in the case where user will come back from search page. I will try as you suggested and give feedback. Regards Shoaib I guess the first thing to consider is what you mean by come back to the previous page. Do you just mean have the user

RE: Struts Validator and Select boxes

2004-03-26 Thread Janarthan Sathiamurthy
/ /form-bean Regards, Janarthan S -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 8:55 PM To: Struts Users Mailing List Subject: Re: Struts Validator and Select boxes Posting whats in your validation.xml for the form and the bit of your

RE: html:text -- value attribute won't take rtexprvalue

2004-03-26 Thread Wendy Smoak
From: Bender, James [mailto:[EMAIL PROTECTED] I'm new to Struts and have searched without luck on this one: I have an html:text ... that I'm simply trying to put a runtime expression into, like % String rtexpr = bob; % html:text property=searchType value=%=rtexpr % And instead of

Re: is it possible to define a validation that runs only server side or client side (validation.xml )

2004-03-25 Thread ruben
Seyhan BASMACI (Internet Yazilimlari Yetkilisi) wrote: I have a LoginForm form extends ValidatorForm and I want to decide a validaton runs only on the server or client side, (or both ) is there any way to do this_? form name=LoginForm field property=userno depends=required arg0

RE: html:javascript question

2004-03-25 Thread Colm Garvey
: Mittwoch, 24. März 2004 16:05 An: Struts Users Mailing List Betreff: RE: html:javascript question var myMessage = bean:write name=msg /; alert(myMessage) -Original Message- From: Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 6:23 PM To: Struts Users Mailing List Subject

RE: db error

2004-03-25 Thread McCormack, Chris
Check your database is up before trying to connect to it. If it is and you can ping the database from your application server box, then check your spelling in the data source definition. Chris McCormack -Original Message- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent: 25 March 2004

Re: db error

2004-03-25 Thread Rajat Pandit
, Chris [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 25, 2004 4:46 PM Subject: RE: db error Check your database is up before trying to connect to it. If it is and you can ping the database from your application server box, then check your spelling

Re: Users, Roles Access Control in Struts Applications - Where to get information?

2004-03-25 Thread Adam Hardy
This might come through twice - if so, sorry. On 03/25/2004 11:28 AM Tom Bednarz wrote: 1) How are Roles defined? Where are they stored? I don't want these things stored in a XML file. Is there a way to store these things in a database? Is there any documentation about a datamodel (Fields,

RE: db error

2004-03-25 Thread McCormack, Chris
- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent: 25 March 2004 11:11 To: Struts Users Mailing List Subject: Re: db error Thanks chris, so this is not because of any missing classes or jar files? is this a connectivity issue? the database server isup and my other applications sqlplusw can

Re: db error

2004-03-25 Thread Rajat Pandit
PROTECTED] Sent: Thursday, March 25, 2004 4:58 PM Subject: RE: db error It doesnt appear to be a case of missing classes etc This exception seems pretty descriptive : UnavailableException: Initializing application data source org.apache.struts.action.DATA_SOURCE It looks like struts cannot

RE: pre-populating DynaValidatorForm

2004-03-25 Thread Takhar, Sandeep
Isn't this assuming there are no modules? sandeep -Original Message- From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 7:11 PM To: 'Struts Users Mailing List' Subject: RE: pre-populating DynaValidatorForm Dean, Here's the essential code in order

Re: LookupDispatchAction default

2004-03-25 Thread Brian Sayatovic/AMIG
class. Or, maybe I missed something and didn't implement correctly? Regards, Brian. Mark Lowe [EMAIL PROTECTED] 03/24/2004 09:21 AM Please respond to Struts Users Mailing List To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:Re

RE: Automatically detecting struts-config changes and reload app.

2004-03-25 Thread Pady Srinivasan
to make it recognize struts-config.xml changes. Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 10:58 PM To: Struts Users Mailing List Subject: Re: Automatically detecting struts-config changes and reload app

Re: Dynamic forward in tiles

2004-03-25 Thread Mariano García
El mié, 24-03-2004 a las 20:21, Pedro Salgado escribió: Below is a reply sent to this mailing list about something very similar to what you are looking for. but there is any way to use dynamic content only using tiles tags? In my case, I have a 'setAttribute(serverLocation, Location)'

Re: Re[2]: Are you sure?

2004-03-25 Thread [EMAIL PROTECTED]
Hi Dima, list, [Dima wrote] we tried to use this (form.onsumbit=return f()) but encountered a problem: if JavaScript is disabled in browser the submiting goes on without confirmation dialogue and other stuff done by JS (wich in our case was more important). We solved this by

Re: DynaForm Type Conversion

2004-03-25 Thread Hubert Rabago
Take a look at BeanUtils.copyProperties. By default, though, it doesn't support conversion of dates, since it wouldn't know how you'd want your dates formatted. Check the archives of this list, there's been some discussion on that. Another archive you can check is that of the commons-user list.

RE: using html:form with el logic tags

2004-03-25 Thread Takhar, Sandeep
I'm going out on a limb here, but usually I wouldn't do the xml like that with html:form since it is unbalanced... You'll have to find a workaround I think... sandeep -Original Message- From: Simon Pett [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 8:31 AM To: 'Struts Users

RE: custom tag called with bean properties as attributes

2004-03-25 Thread Hibbs, David
risc:staaf schaal_nummer=bean:write name=dezeSchaal property=schaalNummer/ This is a standard tag nesting error. You can't put tags inside of tag attributes. You CAN put scriptlets, such as your first tag... logic:iterate id=dezeSchaal

Re: LookupDispatchAction default

2004-03-25 Thread Mark Shifman
Mailing List [EMAIL PROTECTED] cc: Subject:Re: LookupDispatchAction default unspecified() is the method you want look at the javadoc. you do need the method name though /admin/list.do?method I saw that using submit as the parameter name causes problems so i wouldn't use

Re: blocking bookmarked actions

2004-03-25 Thread Mark Shifman
Thanks , I was using jakarta-struts-1.1-rc1 which did the nul parameter trapping. mas Wendy Smoak wrote: From: Mark Shifman [mailto:[EMAIL PROTECTED] Unfortunately LookupDispatchAction checks for the parameter an throws an error before it gets a chance to use unspecified(), but it should be

Re: problem with module

2004-03-25 Thread Daniel
Hi I have the the same problem, but in other situation, I using popups windows of other modules, if you find the solution tell me , if I find the solution I tell you... - Original Message - From: ruben [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday,

Re: LookupDispatchAction default

2004-03-25 Thread Brian Sayatovic/AMIG
/2004 08:51 AM Please respond to Struts Users Mailing List To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:Re: LookupDispatchAction default Look at the sourc for LookupDispatchAction snippet below: public ActionForward execute( ActionMapping

Re: LookupDispatchAction default

2004-03-25 Thread Mark Lowe
PROTECTED] cc: Subject:Re: LookupDispatchAction default unspecified() is the method you want look at the javadoc. you do need the method name though /admin/list.do?method I saw that using submit as the parameter name causes problems so i wouldn't use that. On 24 Mar 2004

Re: problem with module

2004-03-25 Thread Daniel
If someone know the solution help us.. - Original Message - From: Daniel [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 25, 2004 11:01 AM Subject: Re: problem with module Hi I have the the same problem, but in other situation, I using popups

Re: html:options where values have embedded quotes

2004-03-25 Thread Joe Germuska
We have some customer-supplied selection options that have double quotes in their values, and Struts 1.1 isn't seeming to handle this correctly. Best I can tell from the HTML spec, these should be placed on the page as quot; , which will submit them as %22 , which *should* be seen on the

Re: R: Automatically detecting struts-config changes and reload app.

2004-03-25 Thread Joe Germuska
If I don't remove the attribute following requests will not work (because of the code in ActionServlet.getRequestProcessor) Is this a bug? That sounds like a bug to me. I'm thinking that destroy methods should remove from the application context anything the instance put into the context

RE: Automatically detecting struts-config changes and reload app.

2004-03-25 Thread Pady Srinivasan
) Is this a bug? 3) Don't you think that something like that could be useful? I mean, if answer to 1) is NO, wouldn't be useful to have a configuration reloader with struts? 4) Calling actionServlet.destroy() and actionServlet.init() is enough to re-load the whole struts-config.xml

RE: LookupDispatchAction default

2004-03-25 Thread Wendy Smoak
From: Brian Sayatovic/AMIG [mailto:[EMAIL PROTECTED] That's exactly my point. If there is no submit=xxx parameter/value to the action, then it throws a NullPointerException. So my action works like this: /admin/list.do?submit=Refresh But not like this: /admin/list.do

Re: Users, Roles Access Control in Struts Applications - Where to get information?

2004-03-25 Thread Tom Bednarz
Hi Adam, Great infos, thanks a lot. I will have to extend the JDBCRealm a little bit. Tom Adam Hardy wrote: This might come through twice - if so, sorry. On 03/25/2004 11:28 AM Tom Bednarz wrote: 1) How are Roles defined? Where are they stored? I don't want these things stored in a XML

RE: Automatically detecting struts-config changes and reload app.

2004-03-25 Thread Pady Srinivasan
The parseModuleConfigFile method in ActionServlet ( called by init() ) seems to get the resource and reparse the information. Unless there is a screw up somewhere there, I don't know why the re-read should fail. I will see if that can be reproduced. Thanks -- pady [EMAIL PROTECTED

Re: db error

2004-03-25 Thread Larry Meadors
Subject: RE: db error Check your database is up before trying to connect to it. If it is and you can ping the database from your application server box, then check your spelling in the data source definition. Chris McCormack -Original Message- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent

Re: Exception handling in struts

2004-03-25 Thread Nick Wesselman
Didn't someone already answer this for you? Maybe we need to be more explicit. Try this: global-exceptions exception key=uncaught_exception type=java.lang.Exception path=/jsp/error.jsp handler=com.graysail.pgbadmecs.exceptions.ExceptionCatcher scope=request/ /global-exceptions

RE: Automatically detecting struts-config changes and reload app.

2004-03-25 Thread Pady Srinivasan
) { ex.printStackTrace(); } } } Thanks -- pady [EMAIL PROTECTED] -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 9:37 AM To: Struts Users Mailing List Subject: RE: Automatically detecting struts-config changes and reload app

Re: problem with module

2004-03-25 Thread ruben
Daniel wrote: If someone know the solution help us.. - Original Message - From: Daniel [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 25, 2004 11:01 AM Subject: Re: problem with module Hi I have the the same problem, but in other situation, I

Re: db error

2004-03-25 Thread Daniel H. F. e Silva
can access it. any pointers? sorry about read reciept thing in my previous mail. rajat - Original Message - From: McCormack, Chris [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 25, 2004 4:46 PM Subject: RE: db error Check your database

RE: html inside an action

2004-03-25 Thread Qureshi, Affan
What part of JSP do you want to generate? Is it Java code in the JSP that you want to generate or static HTML/JavaScript? You might want to look at Tag Libraries as well. -Original Message- From: ruben [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 10:00 AM To: Struts Users

Re: html inside an action

2004-03-25 Thread ruben
Qureshi, Affan wrote: What part of JSP do you want to generate? Is it Java code in the JSP that you want to generate or static HTML/JavaScript? You might want to look at Tag Libraries as well. -Original Message- From: ruben [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 10:00

RE: html inside an action

2004-03-25 Thread Qureshi, Affan
to the browser, it is the code they generate that is sent to the client browser). Or maybe I dont understand your requirements. Regards. -Original Message- From: ruben [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 10:19 AM To: Struts Users Mailing List Subject: Re: html inside an action

RE: Struts tag problem (bean:message and bean:write)

2004-03-25 Thread Paul McCulloch
Something like bean:define id=type bean:write name=product property=productType /bean:define bean:message key=%='prompt.productType.' + type%/ Paul -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: 25 March 2004 16:03 To: 'Struts Users Mailing List'

Re: html inside an action

2004-03-25 Thread ruben
to the browser, it is the code they generate that is sent to the client browser). Or maybe I dont understand your requirements. Regards. -Original Message- From: ruben [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 10:19 AM To: Struts Users Mailing List Subject: Re: html inside

RE: Automatically detecting struts-config changes and reload app.

2004-03-25 Thread Kris Schneider
-- pady [EMAIL PROTECTED] -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 9:37 AM To: Struts Users Mailing List Subject: RE: Automatically detecting struts-config changes and reload app. I used your code ( Thanks ) and I

Re: html inside an action

2004-03-25 Thread ruben
to the browser, it is the code they generate that is sent to the client browser). Or maybe I dont understand your requirements. Regards. -Original Message- From: ruben [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 10:19 AM To: Struts Users Mailing List Subject: Re: html inside

RE: html inside an action

2004-03-25 Thread Hookom, Jacob
You are much better off doing JSP tags for something like this. I don't understand why people are so afraid of doing custom tags? -Original Message- From: ruben [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 10:54 AM To: Struts Users Mailing List Subject: Re: html inside

RE: html inside an action

2004-03-25 Thread Qureshi, Affan
:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 10:54 AM To: Struts Users Mailing List Subject: Re: html inside an action hi Those are my requirements, i have to convert objects to html, in my action and get this html in a String, i thought that the jsp is a good way to do this, I want the code

RE: html inside an action

2004-03-25 Thread Brendan Richards
I'm not entirely sure what you're after - do you mean get a string with the contents populated by another jsp - independent from the current request being served? I created a test jsp in tomcat containing a jsp:include / tag, ran it and looked in tomcat's work folder at the servlet code generated

  1   2   3   4   5   6   7   8   9   10   >