generic validation on map backed property

2005-04-07 Thread Günther Wieser
hi, i've a form bean with a map backed propery namend orderedNumber. This property returns the number of ordered items for a given product id, eg. getOrderedNumber(423) returns the number of ordered items for the product with id=423. i want to validate the input (which is stored int the property

SAP Netweaver detail

2005-04-07 Thread Shiva Narayana
Hi all, Please send me the details regarding Netweaver. i just downloaded it and try to run one simple application..Please help me -- Regards Shiva - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Please wait page

2005-04-07 Thread Shiva Narayana
hi all, I m developing an application using WSAD 5.1.1,Struts. I m trying to fetch data from the database. I m writing the code in action class... i want to display a page while doing the processing please help me. the same logic is implemented in the site www.travelocity.com --

RE: Please wait page

2005-04-07 Thread Marsh-Bourdon, Christopher
If you ask travelocity nicely, I'm sure they will help. Why not pop them an email? Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Shiva Narayana [mailto:[EMAIL PROTECTED] Sent: 07 April 2005 10:13 To: user@struts.apache.org Subject: Please wait page hi all,

LazyLists and dynamic forms

2005-04-07 Thread Stéphane Zuckerman
Hello, I've read carefully the Struts' wiki page regarding indexed properties and how to deal with them... but I failed to make their examples work with LazyDynaBeans ... Could someone put me back on track please ? I've managed to use LazyLists in classical ActionForms, and if there is no

Re: Please wait page

2005-04-07 Thread Mohd Amin
that's a good one - Original Message - From: Marsh-Bourdon, Christopher [EMAIL PROTECTED] To: 'Struts Users Mailing List' user@struts.apache.org Sent: Thursday, April 07, 2005 5:15 PM Subject: RE: Please wait page If you ask travelocity nicely, I'm sure they will help. Why not pop them

RE: Please wait page

2005-04-07 Thread Ashutosh Satyam
Hi Shiva, I'm enclosing a sample JSP page which you can use for giving the appearance that it's waiting till the DB processing goes through. - - - - - - - - - - - - wait.jsp - - - - - - - - - - - - - - - - - html | head

[OT] Re: Please wait page

2005-04-07 Thread Marsh-Bourdon, Christopher
Apologies, I was remiss for not including the sarcasm /sarcasm tags. Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Mohd Amin [mailto:[EMAIL PROTECTED] Sent: 07 April 2005 10:46 To: Struts Users Mailing List Subject: Re: Please wait page that's a good one

Re: Please wait page

2005-04-07 Thread Shiva Narayana
Thanks Asuthosh.. This will help me a lot On Apr 7, 2005 3:17 PM, Ashutosh Satyam [EMAIL PROTECTED] wrote: Hi Shiva, I'm enclosing a sample JSP page which you can use for giving the appearance that it's waiting till the DB processing goes through. - - - - - -

Re: Please wait page

2005-04-07 Thread Shiva Narayana
Asuthosh, This one is different from my requirement...i want to display the message when the action class loading ...but in this case it it is displaying the message when the page is loading... regards Shiva On Apr 7, 2005 3:17 PM, Ashutosh Satyam [EMAIL PROTECTED] wrote: Hi Shiva, I'm

Re: Please wait page

2005-04-07 Thread Shiva Narayana
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN HTML HEAD %@ include file=/common/TopInclude.jsp % TITLESelectServiceToCreateStorage.jsp/TITLE script function cancelAction(){ document.location.href=createStorageOpenCycle.do?cancel=true; } function init () {

Re: Please wait page

2005-04-07 Thread Bob Arnott
Shiva Narayana wrote: Asuthosh, This one is different from my requirement...i want to display the message when the action class loading ...but in this case it it is displaying the message when the page is loading... You want to have an intermediate page then. User clicks on link, you display an

RE: Please wait page

2005-04-07 Thread Daniel Perry
A couple of ways to do this: Method1 - Page1 submits to Action1 - on submitting hide main div enclosing page, and show a div with processing... until Action1 responds with Page2 Method2 - Page1 submits to Action1. Action1 shows Page2 (Processing...), and immediatly submits to Action2 which

Re: Please wait page

2005-04-07 Thread Mohd Amin
Hmm, haven't tried this yet, but think using xmlhttprequest would be easier, action 1 will call jsp 1 which has xmlhttprequest, javascript will then forward the request to servlet while showing something flashy, once everything comes back, replace the current html page with the text, which is

FW: DynaActionForm with indexed properties and Tiles

2005-04-07 Thread Richard Rozema
I've got a DynaActionForm with an indexed property which I want to set the dimensions for and possibly initialize (in a controller clas) before it is actually loaded with the request values. Given that I want to put the form into a Tiles tile, what's the best method of doing this? I've already

Re: LazyLists and dynamic forms

2005-04-07 Thread Niall Pemberton
Its hard to help when all you say is failed to make their examples work. Posting snippets of relevant bits of your struts-config.xml, jsp etc would help along with what actually happened. Niall - Original Message - From: Stéphane Zuckerman [EMAIL PROTECTED] Sent: Thursday, April 07,

Re: Info on Using Messages in Struts

2005-04-07 Thread Dave Newton
Niall Pemberton wrote: Got a bit carried away and wrote a bit of an essay. It's unlikely any open-source project documentation will be penalized for providing too much information. Thank you! Dave - To unsubscribe, e-mail:

RE: RESEND: RE: Load message resources from DB???

2005-04-07 Thread Benedict, Paul C
James, How much different is Common Resources from Common Configuration? In essence, a property file is really just a list of configuration pairs. Thanks, Paul -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 06, 2005 4:22 PM To: Struts Users

RE: PropertyMessageResourcesFactory not found?!

2005-04-07 Thread Ruth, Brice
Hey, thanks. I've been tryin' to get some help from the Tomcat folks, too ... But no luck so far. Sorry I've been quiet on the list, I've had my head in the sand, so to say. -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 9:40 AM To: Struts

[OT]Tool to find amount of data transfered in web application

2005-04-07 Thread Ashish Kulkarni
Hi I have to make a report to display amount of data transfered when using a web application, to find out if it will work in existing networking (Intranet) and there are no band width issues, Is there a open source tool which will tell the amount of data transfere in Intranet when accessing a web

RE: [OT]Tool to find amount of data transfered in web application

2005-04-07 Thread Benedict, Paul C
A quick way is to simply clear your browser's cache, make a hit to the website, and then look at how much your cache has accumulated. This will give you a rough estimate. -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 10:46 AM To:

RE: [OT]Tool to find amount of data transfered in web application

2005-04-07 Thread Fogleson, Allen
You might check out jmeter (http://jakarta.apache.org/jmeter/index.html) it might be able to do what you want. Don't remember off the top of my head if it includes bandwidth reports but I think it does. Al -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent:

Re: LazyLists and dynamic forms

2005-04-07 Thread Rick Reumann
Stéphane, you got Niall's attention and he is THE MAN, when it comes to this. So don't blow it! he he. Yes, give some specific examples of what you are trying to accomplish (also give some explanation of the business requirement - often times we assume things need to be done a certain way when

RE: [OT]Tool to find amount of data transfered in web application

2005-04-07 Thread Ashish Kulkarni
Hi I need this tool to find out the bandwidth used when using a green screen (clinet access) application and bandwidht when using web application Ashish --- Fogleson, Allen [EMAIL PROTECTED] wrote: You might check out jmeter (http://jakarta.apache.org/jmeter/index.html) it might be able to do

Authentication question

2005-04-07 Thread Tom Ziemer
Hi everybody. I've just started working on an application using Struts. In my previous projects my actions that needed authentication always had some common class that they extended. Now I am wondering whether it would be feasible to authenticate using AOP - writing interceptors for each

RE: Authentication question

2005-04-07 Thread VAN BROECK Jimmy
Hi, I wouldn't do authentication via Aop and interceptors, but authorisation is perfectly feasible, that's what we do in our project using Spring and aop. Greetings Jimmy -Original Message- From: Tom Ziemer [mailto:[EMAIL PROTECTED] Sent: donderdag 7 april 2005 16:58 To: Struts Users

How to set attribute in ForwardAction?

2005-04-07 Thread Daniel PC Leung
I make use ForwardAction to go from page A to page B, just clicking a link. e.g. action path=/userAccountMaintPath type=org.apache.struts.actions.ForwardAction parameter=user.userAccountMaint/ There are no form in between. How can I set an attribute in page A so that I

RE: How to set attribute in ForwardAction?

2005-04-07 Thread Fogleson, Allen
You don't need a form but you will have to create your own action... something like this execute method in it will do the trick: jsp A input type=hidden name=myRequestVal value=123 Action Execute method Public ActionMapping execute(.) { String myValue =

Exception in JSP

2005-04-07 Thread student . efactory
Hi there, is it possible to get exception information into a JSP file? I'm catching all exceptions with a single entry in the web.xml: error-page exception-typejava.lang.Exception/exception-type location/error/errorException.jsp/location /error-page Now I want to know, which

RE: [OT]Tool to find amount of data transfered in web application

2005-04-07 Thread Mark Benussi
Even better use IBM's Page detailer. http://www.alphaworks.ibm.com/tech/pagedetailer -Original Message- From: Benedict, Paul C [mailto:[EMAIL PROTECTED] Sent: 07 April 2005 15:48 To: 'Struts Users Mailing List' Subject: RE: [OT]Tool to find amount of data transfered in web application

Re: How to set attribute in ForwardAction?

2005-04-07 Thread Daniel PC Leung
Where should I put the following codings? Should I extend the class of ForwardAction? Public ActionMapping execute(.) { String myValue = request.getParameter(myRequestVal); Request.setAttribute(myRequestVal, myValue); Return mapping.findForward(success); } On Apr 7, 2005 11:21 PM,

RE: Authentication question

2005-04-07 Thread Fogleson, Allen
It is certainly possible, however your old methodology could just as easily be used by creating a baseAction class and then extending that class. { Al -Original Message- From: Tom Ziemer [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 9:58 AM To: Struts Users Mailing List

Anxiously awaiting...

2005-04-07 Thread gdeschen
Hi, I am anxiously awaiting for the thread between Stéphane, Rick and Niall to continue. I am experimenting with trying to do the same thing as Stéphane. In the mean time I am having one of those mornings where nothing seems to be going my way. I am trying to use JSTL for the first time and

Re: Anxiously awaiting...

2005-04-07 Thread Folashade Adeyosoye
Try writing out c:out value=${emply}/ On Apr 7, 2005 11:23 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am anxiously awaiting for the thread between Stéphane, Rick and Niall to continue. I am experimenting with trying to do the same thing as Stéphane. In the mean time I am

RE: How to set attribute in ForwardAction?

2005-04-07 Thread Fogleson, Allen
In short you have jspA form name=myForm action=/myAction.do input type=hidden name=myRequestVal value=123 input type=submit /form or a href=/myAction.do?myRequestVal=123Continue to jsp B/a now you create an action: public class MyAction extends Action { public ActionForward

Re: Anxiously awaiting...

2005-04-07 Thread Stéphane Zuckerman
Hello, Ex.: bean:define id=emply name=HRnlnVO property=emplyVO / bean:write name=emply property=firstName / c:out value=${emply.firstName}/ [code] bean:define id=emply name=HRnlnVO property=emplyVO / bean:write name=emply property=firstName / ${emply.firstname} [/code] Have you tried to do just

[OT]Tool to find amount of data transfered in web application

2005-04-07 Thread student . efactory
You can try this tool: http://www.dumeter.com/ It's a free 30-day evaluation version - so you have plenty of time to test the web application. Mit freundlichen Grüßen Thomas Nonnenmacher T-Systems International GmbH Systems Integration 1 Business Unit Manufacturing Solutions Hausadresse:

Re: Authentication question

2005-04-07 Thread Tom Ziemer
Hi, thanks for the input - I actually meant authorisation and not authentication. I'll give it a try. Tom VAN BROECK Jimmy wrote: Hi, I wouldn't do authentication via Aop and interceptors, but authorisation is perfectly feasible, that's what we do in our project using Spring and aop. Greetings

Re: Anxiously awaiting...

2005-04-07 Thread Craig McClanahan
Note that empty is an operator name in the EL language, used to detect whether a property value is null or a zero length string. Try using a different bean name. Craig On Apr 7, 2005 8:23 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am anxiously awaiting for the thread between

RE: Anxiously awaiting...

2005-04-07 Thread Fogleson, Allen
But craig he used empLy :) -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 11:03 AM To: Struts Users Mailing List Subject: Re: Anxiously awaiting... Note that empty is an operator name in the EL language, used to detect whether a

validation errors

2005-04-07 Thread Carl Smith
In sturts there is a valdation errors, I have a case that I need to add some custom error message from other businsess object to the struts validation so that these messages can be put into the same placeholder as other struts validation errors and display on the same time. Can you tell me

Re: Exception in JSP

2005-04-07 Thread N G
If you are using a container that supports 2.4 servlet spec, see this page for your answer: http://www.onjava.com/pub/a/onjava/2003/12/03/JSP2part2.html If you are using a 2.3 servlet container: 1) Declare %@ page isErrorPage=true % 2) Put this somewhere in the body of your page: %=

[resources] was: Re: RESEND: RE: Load message resources from DB???

2005-04-07 Thread James Mitchell
Like many of the Jakarta Commons projects, Commons Resources was based, in part, from the initial work done in Struts and later copied over to commons with the intent to one day use that library. This is what was done for Beanutils, Digester, Validator, and more I'm sure. (Craig, correct me

RE: [resources] was: Re: RESEND: RE: Load message resources from DB???

2005-04-07 Thread Fogleson, Allen
James, I'm with you here. I haven't dug much into commons-configuration, but it seems to me there is little need for localized configuration information. Maybe I'm just not thinking outside the box here, but the configuration can be in virtually any locale. I can still configure something for

Validating a required field

2005-04-07 Thread Srilatha Salla
Hi, I have a object called Record as a form property. Record has name, status etc as its properties. In the jsp I have bean:write property=record.name name=exampleForm / I want to validate the name as a required field in validation.xml file. Is this the way to do it? formset form

Re: Anxiously awaiting...

2005-04-07 Thread gdeschen
Tried it and just writes the out the string ${emply.firstname} - Glenn Stéphane Zuckerman [EMAIL PROTECTED] 07/04/2005 11:39 AM Please respond to Struts Users Mailing List To: Struts Users Mailing List user@struts.apache.org cc: (bcc: Glenn

Re: LazyLists and dynamic forms

2005-04-07 Thread Stéphane Zuckerman
Niall Pemberton a écrit : Its hard to help when all you say is failed to make their examples work. Posting snippets of relevant bits of your struts-config.xml, jsp etc would help along with what actually happened. Sorry for the lack of details, I know I was really too vague. I am using Struts

Re: Anxiously awaiting...

2005-04-07 Thread Dave Newton
Craig McClanahan wrote: Note that empty is an operator name in the EL language, used to detect whether a property value is null or a zero length string. Try using a different bean name. How about emply? ;) Dave Craig On Apr 7, 2005 8:23 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am

RE: Session Idle and Progress Bar

2005-04-07 Thread Wiebe de Jong
If you are doing a file upload, there is no way to know ahead of time how big the file will be. In this case, instead of displaying a progress bar, display the number of bytes received. There won't be any indication of how long the operation will take, but at least you can see it working. Wiebe

Re: [resources] was: Re: RESEND: RE: Load message resources from DB???

2005-04-07 Thread James Mitchell
For localized configuration, I'm thinking Tiles and Validator config. -- James Mitchell Software Engineer / Open Source Evangelist Consulting / Mentoring / Freelance EdgeTech, Inc. 678.910.8017 AIM: jmitchtx Yahoo: jmitchtx MSN: [EMAIL PROTECTED] - Original Message - From: Fogleson,

RE: [resources] was: Re: RESEND: RE: Load message resources fromDB???

2005-04-07 Thread Fogleson, Allen
Ahh that makes sense. Yes. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 11:45 AM To: Struts Users Mailing List Subject: Re: [resources] was: Re: RESEND: RE: Load message resources fromDB??? For localized configuration, I'm thinking

Re: Validating an amount with commas allowed

2005-04-07 Thread Wendy Smoak
From: Greg Pelly [EMAIL PROTECTED] Here's a better mask to use: var var-namemask/var-name var-value^\$?\d+(,\d{3})*(\.\d{2})?$/var-value /var This is *perfect*! Thanks also to Hubert for reminding me about 'mask' in the first place. :) -- Wendy Smoak

RE: Anxiously awaiting...

2005-04-07 Thread Brad Balmer
Did you define the tag at the top of the jsp? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 11:32 AM To: Struts Users Mailing List Subject: Re: Anxiously awaiting... Tried it and just writes the out the string ${emply.firstname} -

RE: Anxiously awaiting...

2005-04-07 Thread gdeschen
What is the difference between the two: %@ taglib uri=http://java.sun.com/jstl/core_rt; prefix=c % %@ taglib uri=http://java.sun.com/jstl/core; prefix=c % - Glenn Brad Balmer [EMAIL PROTECTED] 07/04/2005 01:17 PM Please respond to Struts Users Mailing List To: 'Struts

Re: Shale And Spring: Using Spring Dependency Injection With Shale

2005-04-07 Thread Duong BaTien
Hello list: I like to report that using today 20050407 shale.jar and shale-spring.jar, shale and spring work togather as documented by Craig. BaTien DBGROUPS == Duong BaTien wrote: Thanks. I will find time to do it. BaTien DBGROUPS Craig McClanahan wrote: Please try out

RE: Anxiously awaiting...

2005-04-07 Thread Fogleson, Allen
Runtime and non runtime... The rt version allows the use of runtime expressions for attribute values while the regular one allows the use of expression language. Al -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 12:22 PM To:

Error Messages from the Database - Simple method?

2005-04-07 Thread David Johnson
Hi all I have a similar need to a topic entitled Load Message Resources from DB??? but only for ERROR messages, and quite honestly, I want the simplest approach possible. since my Error Messages and my other test fields currently share ApplicationResources.properties I'm a little trapped though,

Re: [resources] was: Re: RESEND: RE: Load message resources fromDB???

2005-04-07 Thread David Johnson
Hi This is sort of what I'm looking for as well. I sent a separate post about it, in fact. My goal is the simple substitution of whatever collection object type struts is using with one of the same type that I have loaded fomr a database table. I ***hate*** to tinker with the struts source

RE: Error Messages from the Database - Simple method?

2005-04-07 Thread Fogleson, Allen
David, Well the answer is simple yet complex. First off what you want to do is of course not quite possible right now. MessageResources are loaded from a property file based on locale, and are initialized in the loadLocale method. Examination of that method shows that if the locale is

RE: [resources] was: Re: RESEND: RE: Load message resourcesfromDB???

2005-04-07 Thread Fogleson, Allen
The problem is that the collection is in a hashmap in the propertiesMessageResource class. And it is private in there, so the only real solution is your own custom MessageResource class. Al -Original Message- From: David Johnson [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005

Re: [resources] was: Re: RESEND: RE: Load message resourcesfromDB???

2005-04-07 Thread James Mitchell
You should extend MessageResources and clear the protected Map formats with each call to your class. -- James Mitchell Software Engineer / Open Source Evangelist Consulting / Mentoring / Freelance EdgeTech, Inc. 678.910.8017 AIM: jmitchtx Yahoo: jmitchtx MSN: [EMAIL PROTECTED] -

Re: Error Messages from the Database - Simple method?

2005-04-07 Thread David Johnson
Oy. I'm assuming that you're talking about the loadLocale() method within... org.apache.struts.util.PropertyMessageResources I see that inheritance wise, 1. PropertyMessageResources extends MessageResources 2. PropertyMessageResourcesFactory extends MessageResourcesFactory Logical. So,

Re: [resources] was: Re: RESEND: RE: Load message resourcesfromDB???

2005-04-07 Thread David Johnson
James I have a separate thread going on this, I apologize for that, but I'll summarize, and please excuse my ignorance. Essentially, I understand your point , but if I may delve deeper, I see that inheritance wise, 1. PropertyMessageResources extends MessageResources 2.

Simple JSTL Question

2005-04-07 Thread Brian McGovern
At least i think its simple. I have this code which doesnt error.. but also doesnt work. select c:forEach var=ListItem items=${applicationScope.STATES_PROPERTIES_KEY.keyValues} option value=c:out value=${ListItem.key} / c:if test=${sessionScope.INVESTORBEAN_SESSION_KEY.state} ==

Re: Simple JSTL Question

2005-04-07 Thread Nic Werner
Did you try putting them all in one bracket? c:if test=${sessionScope.INVESTORBEAN_SESSION_KEY.state == ListItem.value} SELECTED /c:if - Nic. Brian McGovern wrote: At least i think its simple. I have this code which doesnt error.. but also doesnt work. select c:forEach var=ListItem

RE: Simple JSTL Question

2005-04-07 Thread Brian McGovern
That did it. Sorry, my first proj with jstl.. hah.. Thank you. -Original Message- From: Nic Werner [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 3:00 PM To: Struts Users Mailing List Subject: Re: Simple JSTL Question Did you try putting them all in one bracket? c:if

Re: [resources] was: Re: RESEND: RE: Load message resourcesfromDB???

2005-04-07 Thread James Mitchell
- Original Message - From: David Johnson [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, April 07, 2005 2:53 PM Subject: Re: [resources] was: Re: RESEND: RE: Load message resourcesfromDB??? James I have a separate thread going on this, I apologize

Re: Simple JSTL Question

2005-04-07 Thread Folashade Adeyosoye
WHY go thru all that trouble... all you have to do is, if you do have the STATES_PROPERTIES_KEY in the application context, all you have to do is set the ListItem.value in your java class DynaForm. so when them page is displaying it would automatically detect what the value is and auto select

[OT] Open source paginator

2005-04-07 Thread N G
Does anyone know of some open source paginator package out there? Something generic enough that you could stick collections into and it would paginate it for you based on some criteria and expose methods to nextPage(), previousPage() and stuff like that. Thanks, NG.

Re: [OT] Open source paginator

2005-04-07 Thread Rick Reumann
N G wrote the following on 4/7/2005 3:31 PM: Does anyone know of some open source paginator package out there? Something generic enough that you could stick collections into and it would paginate it for you based on some criteria and expose methods to nextPage(), previousPage() and stuff like

Re: [resources] was: Re: RESEND: RE: Load message resourcesfromDB???

2005-04-07 Thread David Johnson
Okay, makes sense, whew. I'm still foggy on how to make the database connection. As it is now, I'm doing it inside a plugin. Will the DB cnxns be available before it loads my DatabaseMessageResourcesFactory class (which I identify in the struts config) ...or will I need to change the time at

LazyLists and dynamic forms

2005-04-07 Thread Richard Rozema
Stephane, it seems we're both working on the same problem. I just today posted a similar question. And like yours, it seems my question was far too vague, as I received not one reply yet... Let's see if we can help each other. As I stated in my question, I've found this

Re: LazyLists and dynamic forms

2005-04-07 Thread Niall Pemberton
What you have looks OK to me - except in the Action the reference to DynaValidatorForm - looks like your referencing the wrong class to me - the actual ActionForm flavour should be a BeanValidatorForm - but IMO its better to just cast it to a DynaBean, then your not fixed on an implementation.

Re: LazyLists and dynamic forms

2005-04-07 Thread Rick Reumann
Richard Rozema wrote the following on 4/7/2005 4:20 PM: Stephane, The problem I am now facing is that for this instance of the searchForm to still exist later on in the both .jsp's and the ListAction, the form needs to be stored into session scope. If I don't store it there, a new instance will

Re: LazyLists and dynamic forms

2005-04-07 Thread Rick Reumann
Rick Reumann wrote the following on 4/7/2005 4:50 PM: I also don't see what you are trying to do here... html:text name=criterium property=values indexed=true / values is an Object[] (which I also don't think will play well with BeanUtils - I'd use List). How do you plan on entering in a String,

DispatchAction Need to Subclass Help

2005-04-07 Thread Scott Purcell
Hello, In an application that I am coding, I had the need to subclass the Action class in order to take care of some session handling. So I subclass this type scenario in all my action classes: ## abstract public class BaseActionUA extends Action { public ActionForward

Re: Error Messages from the Database - Simple method?

2005-04-07 Thread Niall Pemberton
Comments in line.. - Original Message - From: David Johnson [EMAIL PROTECTED] Sent: Thursday, April 07, 2005 7:46 PM Oy. I'm assuming that you're talking about the loadLocale() method within... org.apache.struts.util.PropertyMessageResources I see that inheritance wise,

Re: DispatchAction Need to Subclass Help

2005-04-07 Thread Hubert Rabago
Take a look at the ActionDispatcher class attached to http://issues.apache.org/bugzilla/attachment.cgi?id=12768 . The javadoc of that class explains how it's used. Hubert On Apr 7, 2005 4:01 PM, Scott Purcell [EMAIL PROTECTED] wrote: Hello, In an application that I am coding, I had the need

Re: DispatchAction Need to Subclass Help

2005-04-07 Thread Rick Reumann
Would it work for you if you changed your BaseActionUA class to extend DispatchAction instead of Action and then in your execute you'll have to do a bit of logic to decide if you want to act as your standard Action (and in your case call executeAction method) or instead call super(...) and

RE: LazyLists and dynamic forms

2005-04-07 Thread Richard Rozema
-Oorspronkelijk bericht- Van: Rick Reumann [mailto:[EMAIL PROTECTED] Verzonden: donderdag 7 april 2005 22:50 Aan: Struts Users Mailing List Onderwerp: Re: LazyLists and dynamic forms The code posted was an attempt to help Stephane fix his problems. Your comments are still very much

RE: [OT] Open source paginator

2005-04-07 Thread Wiebe de Jong
There are lots of them: http://displaytag.sf.net http://valuelist.sf.net http://jsptags.com/tags/navigation/pager/pager-taglib-2.0.html http://jakarta.apache.org/taglibs/sandbox/doc/datagrid-doc/intro.html and some useful articles:

RE: [OT] Open source paginator

2005-04-07 Thread Wiebe de Jong
I am custom developing it for my current project. Wiebe -Original Message- From: N G [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 3:27 PM To: Wiebe de Jong Subject: Re: [OT] Open source paginator You mean you're working an on open source paginator that is similar to the

Re: [OT] Open source paginator

2005-04-07 Thread Larry Meadors
If you have a million row result set, you made a mistake. ;-) IMO, there are two good ways to do this: - Use something like iBATIS to do paginated lists - Use a stored procedure to return the page from the dataset Larry On Apr 7, 2005 4:13 PM, Wiebe de Jong [EMAIL PROTECTED] wrote: If you

RE: [OT] Open source paginator

2005-04-07 Thread Fogleson, Allen
Comments inline -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Thursday, April 07, 2005 2:41 PM To: Struts Users Mailing List Subject: Re: [OT] Open source paginator N G wrote the following on 4/7/2005 3:31 PM: Does anyone know of some open source paginator

Re: [OT] Open source paginator

2005-04-07 Thread N G
If displaytag uses HttpSession dumping the entire result set, it will not work for me. I am developing for a highly distributed application with requirements for thousands of users. There are like 15 app servers clustered just on the app side (not including the DB.) And yes, I do (unfortunately

Re: [OT] Open source paginator

2005-04-07 Thread Zoran Avtarovski
These packages all work the same: they take the entire result set, hold it in session memory, and page through it. Not necessarily. Poorly designed implementations may do so but it is quite easy to avoid those sorts of problems. We use displaytag in conjunction with iBatis and it was easy

Re: Which version of Validator was shipped with Struts 1.1b2

2005-04-07 Thread Phil Steitz
IIRC, at the time when struts 1.1b2 was released, struts was bundling commons jars built from tagged sources. There is a tag named STRUTS_1_1_B2 in the validator sources. If you check out the source files using this tag, you should get the sources corresponding to what was bundled with struts

Meta Information in Action Form

2005-04-07 Thread Anil
Hi All, Is it good approach to keep the meta information in action form ? Thanks in advance. Regards, Anil. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]