RE : validateValidWhen and javascript

2006-08-31 Thread Jean-Marie Pitre
Do you know what is the reason there isn't javascript validation for this rule ? -Message d'origine- De : Wendy Smoak [mailto:[EMAIL PROTECTED] Envoyé : jeudi 31 août 2006 17:55 À : Struts Users Mailing List Objet : Re: validateValidWhen and javascript On 8/31/06, Jean-Marie Pitre <[EM

Re: java.lang.OutOfMemoryError with ant javac task

2006-08-31 Thread Lintang JP
Hi miroconnect, Maybe you can use this : Insert the compiler.mac.memory into your wrote: I using ant build file to compile ".java" files .I get java.lang.OutOfMemoryError. Here is the build file

Re: Workflow implementation with Struts

2006-08-31 Thread Monkeyden
As I mentioned, many webflows have a series of screens, each of which builds on the preceding screens. The example I gave showed that the first couple screens would select an employee id and department id. This might be a good save point in the webflow because a relationship was made (EMP -> DEP

Re: Workflow implementation with Struts

2006-08-31 Thread Joel Espinosa
Thanks for your quick responses. I agree with you Monkeyden, there are differences between two definitions webflow and workflow, I'm planing to code a webflow. Monkeyden your aproach is very close to what I need but... certainly I need to use save points, but if I use them between tables this

Re: Formatting data for display and parsing to save

2006-08-31 Thread Laurie Harper
Givler, Eric wrote: I don't know why, but I've been wondering how to handle the issue of presenting formatted data to a user in a struts-based application. That is, is it: 1. Backend bean is strongly typed and data is read into this via Service method of some sort 2. Action takes backend data

Re: validateValidWhen and javascript

2006-08-31 Thread Laurie Harper
Wendy Smoak wrote: On 8/31/06, John R. Dumonceaux <[EMAIL PROTECTED]> wrote: Is there a way to include only the J/S actually used? I'm doing client side validation with j/s and ended up writting my own routines - thus the validation does seem to add much. Where are you putting your JavaScrip

Re: Extending tag libraries

2006-08-31 Thread Laurie Harper
Scott Van Wart wrote: This is a little OT, but it, uh, kind of has to do with Struts :). I'm interested in adding a few attributes to some of the struts tags. They're really only useful in the context of a specific web project I'm working on, so I'd really prefer not to edit the Struts TLD an

Re: Dynamically Initializing Checkbox Value

2006-08-31 Thread Laurie Harper
Anthony N. Frasso wrote: My head hurts. :) Thanks for everyone's help. I've gotten a number of responses, it's just that I'm still confused. It's obvious I have something drastically wrong with my understanding of the workflow of Struts, so I'd like to clear that up now. Let's take my list pa

Re: How to specify default displayed value in html:select

2006-08-31 Thread Michael Jouravlev
On 6/13/06, Pankaj Gupta <[EMAIL PROTECTED]> wrote: Hi, Please suggest how can I specify which value(s) to be displayed as selected by default in html:select tag, when specified through collection attribute. http://wiki.apache.org/struts/StrutsWidgets -

Re: How to specify default displayed value in html:select

2006-08-31 Thread Mississippi John Hurt
Too bad something simple like this the struts tags doesn't have a nice solution for like a defaultValue property. On 6/19/06, Rick Reumann <[EMAIL PROTECTED]> wrote: Pankaj Gupta wrote: > Hi, > > Please suggest how can I specify which value(s) to be displayed as > selected by default in html:se

Re: Dynamically Initializing Checkbox Value

2006-08-31 Thread Anthony N. Frasso
My head hurts. :) Thanks for everyone's help. I've gotten a number of responses, it's just that I'm still confused. It's obvious I have something drastically wrong with my understanding of the workflow of Struts, so I'd like to clear that up now. Let's take my list page, ListRoles.jsp:

Re: java.lang.OutOfMemoryError with ant javac task

2006-08-31 Thread Monkeyden
I asked this same question on the "Ryan Seacrest Fan Club" list. Can you believe they couldn't answer it either?! On 8/31/06, temp temp <[EMAIL PROTECTED]> wrote: I using ant build file to compile ".java" files .I get java.lang.OutOfMemoryError. Here is the build file

Re: java.lang.OutOfMemoryError with ant javac task

2006-08-31 Thread Marty Phee
Looks like it. Problem... You don't have enough memory. Go out and buy more. ;-) Puneet Lakhina wrote: On 8/31/06, temp temp <[EMAIL PROTECTED]> wrote: I using ant build file to compile ".java" files .I get java.lang.OutOfMemoryError. Here is the build file

Re: java.lang.OutOfMemoryError with ant javac task

2006-08-31 Thread Puneet Lakhina
On 8/31/06, temp temp <[EMAIL PROTECTED]> wrote: I using ant build file to compile ".java" files .I get java.lang.OutOfMemoryError. Here is the build file

java.lang.OutOfMemoryError with ant javac task

2006-08-31 Thread temp temp
I using ant build file to compile “.java” files .I get java.lang.OutOfMemoryError. Here is the build file

Re: Workflow implementation with Struts

2006-08-31 Thread Monkeyden
Ah, now I see. What you're looking for is a way to persist incomplete webflows. Well, in a *typical* webflow, you have 1 screen per table, where each screen is a new record/relationship. Each subsequent screen might use the previous screen's primary key (or composite, if necessary for the relat

RE: Formatting data for display and parsing to save

2006-08-31 Thread Givler, Eric
Can someone elaborate on this? I'll offer a virtual beer after normal work hours. -Original Message- From: Givler, Eric [mailto:[EMAIL PROTECTED] Sent: Friday, August 18, 2006 11:59 AM To: user@struts.apache.org Subject: Formatting data for display and parsing to save I don't know why,

Re: Workflow implementation with Struts

2006-08-31 Thread fausto mancini
I've worked with similar requirements for a project some times ago. it was a questionnaire (very long) and the user have the possibility to stop and resume even in different sessions... My solution was persistence; I saved data in a file (xml format) to achieve this goal (a database can do the s

Re: Workflow implementation with Struts

2006-08-31 Thread Monkeyden
Understanding that different companies interpret them in different ways, I have always thought of webflow and workflow in the following terms: webflow - the path by which a user travels through a WEB application to complete a unit of work. An example would be a series of screens used by a manage

Workflow implementation with Struts

2006-08-31 Thread Joel Espinosa
Hi all, I want to do a struts based workflow. I need that the information captured through the steps of this workflow persist in someway that if the user close the browser next time the user login the info previously capturated shows up in the same step in which the user left the app before.

Re: yet another struts eulogy?

2006-08-31 Thread Monkeyden
If you're looking for someone to tell you which is the best framework, you won't find the answer here, because there isn't one. You have to determine which framework best suits your preferences, your organization, the current development resources/assets and most of all, the requirements. If you

RE: yet another struts eulogy?

2006-08-31 Thread David Friedman
One last note since Tapestry was brought up... Anyone notice something called "Cognition" (http://www.thelabllc.com/lab/Home.page) It looks like a Tapestry equivalent to AppFuse (https://appfuse.dev.java.net) but wait, appFuse can already build with Tapestry so I guess having the other framework

Re: validateValidWhen and javascript

2006-08-31 Thread Wendy Smoak
On 8/31/06, John R. Dumonceaux <[EMAIL PROTECTED]> wrote: Is there a way to include only the J/S actually used? I'm doing client side validation with j/s and ended up writting my own routines - thus the validation does seem to add much. Where are you putting your JavaScript? There might be a

RE: yet another struts eulogy?

2006-08-31 Thread David Friedman
The article is a one year old pro-tapestry piece (August 2005) for their upcoming 4.0 version so of course it would try to beat down other popular frameworks for attention. Since it is so old we can hardly call it "yet another" plus, it is too old to consider changes in the Struts, WebWork and JS

Re: validateValidWhen and javascript

2006-08-31 Thread John R. Dumonceaux
"ALL the validation J/S" Is there a way to include only the J/S actually used? I'm doing client side validation with j/s and ended up writting my own routines - thus the validation does seem to add much. John Dumonceaux Adam Gordon <[EMAIL PROTECTED]> 08/31/2006 10:39 AM Please respond to

Re: validateValidWhen and javascript

2006-08-31 Thread Wendy Smoak
On 8/31/06, Jean-Marie Pitre <[EMAIL PROTECTED]> wrote: Is there a javascript file to use validateValidWhen method on client side ? No. If you look in the bundled validation-rules.xml file for 1.3, there is no 'jsFunction' attribute for validwhen. (The JavaScript for the default rules now li

Re: validateValidWhen and javascript

2006-08-31 Thread Adam Gordon
J- IIRC, the J/S that is inserted is ALL the validation J/S whether you use it or not. I.e., even if you aren't using, say 'maxlength,' I belive that method is included. That said, we don't use client-side validation because you really should do server-side anyway and we didn't like the way

validateValidWhen and javascript

2006-08-31 Thread Jean-Marie Pitre
Hi, Is there a javascript file to use validateValidWhen method on client side ? Thanks, Regards, Jean-Marie --- Email Disclaimer http://www.cofidis.be/emaildisclaimer.php - To unsubscribe, e-mail: [EMAIL PRO

Re: How to display a warning message.

2006-08-31 Thread fausto mancini
I think you can use a javascript 'alert' funcion. Anyway, in my humble opinion, I think it's better to read the j2ee tutorial first on java.sun.com ... HTH On Thu, 31 Aug 2006, Pedro Del Gallego wrote: j2se is not j2ee... look at java.sun.com for more information... I know, i´m really newb

Re: How to display a warning message.

2006-08-31 Thread Pedro Del Gallego
j2se is not j2ee... look at java.sun.com for more information... I know, i´m really newbie in server side, I dont know how to display a popup dialog from an Action. probably is not a good idea ? Maybe this is not the correct mailing list for this newbie question. Someone can tell me a good newb

Re: How to display a warning message.

2006-08-31 Thread fausto mancini
() j2se is not j2ee... look at java.sun.com for more information... On Thu, 31 Aug 2006, Pedro Del Gallego wrote: hi, I try to display a message in a jsp page. Is correct to use a JOptionPane? There are other options to show a message from the Action class ? 1 The user fill a form. 2

Re: yet another struts eulogy?

2006-08-31 Thread fausto mancini
i want to subscribe this post... scenario is becoming really confused for the developer... On Thu, 31 Aug 2006, Elhanan Maayan wrote: this: http://www.theserverside.com/tt/articles/article.tss?l=JSFTapestry so the question continues with new applications go for struts 1.3 learn webwork 2.2

Re: yet another struts eulogy?

2006-08-31 Thread Simon Chappell
On 8/31/06, Elhanan Maayan <[EMAIL PROTECTED]> wrote: this: http://www.theserverside.com/tt/articles/article.tss?l=JSFTapestry so the question continues with new applications go for struts 1.3 learn webwork 2.2 (webwork in action, or developing web apps with lightweight framework ) and then

How to display a warning message.

2006-08-31 Thread Pedro Del Gallego
hi, I try to display a message in a jsp page. Is correct to use a JOptionPane? There are other options to show a message from the Action class ? 1 The user fill a form. 2 an action look in the database 3 if i have a empty result i show a warning message. /* check the list */ final ModelForm fo

yet another struts eulogy?

2006-08-31 Thread Elhanan Maayan
this: http://www.theserverside.com/tt/articles/article.tss?l=JSFTapestry so the question continues with new applications go for struts 1.3 learn webwork 2.2 (webwork in action, or developing web apps with lightweight framework ) and then go to struts 2.0 (struts in ww clothing?) use J.S

RE: problem with processValidate in RequestProcessor.java

2006-08-31 Thread Chandra.Ravinithala
Check this - http://issues.apache.org/struts/browse/STR-1960 Might help Chandra -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 4:50 PM To: user@struts.apache.org Subject: problem with processValidate in RequestProcessor.java I am getting "

problem with processValidate in RequestProcessor.java

2006-08-31 Thread Raghuveer
I am getting "Rolling back multipart request" is logged after executing Multipart request. What i need to do to resolve this issue. // Special handling for multipart request if (form.getMultipartRequestHandler() != null) { if (log.isTraceEnabled()) { log.tra

RE: Upload huge file size: "The page cannot be displayed" browser er

2006-08-31 Thread Raghuveer
I have found logger messages some difference FAILURE LOGS with huge data 2006-08-31 14:33:19,840~DEBUG~org.apache.struts.action.RequestProcessor~ Validating input form properties 2006-08-31 14:33:19,840~DEBUG~org.apache.struts.action.RequestProcessor~ Rolling back multipart request 2006-08-31 1

Re: [Tiles 2.0] Tiles Without Intermediate Pages WAS: [tiles] page content

2006-08-31 Thread Antonio Petrelli
Mehdi Bahribayli ha scritto: <%@ taglib uri="http://xplanner.org/xplanner-taglib"; prefix="xplanner" %> ... iteration.editor.edit_prefix ... Take a look at 'conent' tag source code. This can give you some idea. It's better not to do it: it's LGPL and coders minds (me incl

Re: [Tiles 2.0] Tiles Without Intermediate Pages WAS: [tiles] page content

2006-08-31 Thread Mehdi Bahribayli
>Greg Reddin ha scritto: >> >> Default Header Stuff >> >> Default Body Stuff >> >> Default Footer Stuff >> >> Then you extend it with a page like this: >> >> >> >> Extended/Overridden Body Content >> >> > >It seems that alrea

Re: Upload huge file size: "The page cannot be displayed" browser er

2006-08-31 Thread David Delbecq
Are there any exceptions of any sort in console? What size is the file? Raghuveer a écrit : > have an upload file operation in the web application. The web server is > OC4J. > > //UploadForm.jsp > enctype=multipart/form-data> > > //etc ... > > > After I deploy the application to the web server

RE: Upload huge file size: "The page cannot be displayed" browser er

2006-08-31 Thread Raghuveer
I dont understand the problem. There is some problem after uploading more then 50 records. Our Investigation found , My Struts Actionform is not geeting updated for http request after File Upload with large data. Request is not at all going even upto actionform after uploading more then 50-60 re

Re: Upload huge file size: "The page cannot be displayed" browser er

2006-08-31 Thread nuwan chandrasoma
Ok, is it something to do with session timeout?, On 8/31/06, Raghuveer <[EMAIL PROTECTED]> wrote: I am perfectly following the below link. I have done almost 10 time the same code in different projects. It is working fine when i have upto 55 records. But if i upload 130 records ,file is uploa

RE: Upload huge file size: "The page cannot be displayed" browser er

2006-08-31 Thread Raghuveer
I am perfectly following the below link. I have done almost 10 time the same code in different projects. It is working fine when i have upto 55 records. But if i upload 130 records ,file is uploaded succefully.But if i click any action after file upload i am getting "The page cannot be displayed"

Re: Upload huge file size: "The page cannot be displayed" browser er

2006-08-31 Thread nuwan chandrasoma
Hi, What is the file size?. in struts the default file size is 250MB, hope it is not bigger than this. but you can configure this read the below link. I think u shouldnt allow any button to be clicked when the file is being uploaded :). http://wiki.apache.org/struts/StrutsFileUpload Thanks, N

Upload huge file size: "The page cannot be displayed" browser er

2006-08-31 Thread Raghuveer
have an upload file operation in the web application. The web server is OC4J. //UploadForm.jsp //etc ... After I deploy the application to the web server, if I upload a small file size, it is fine. But if i upload huge data ,data is uploading but if any action button is clicked After 30 s

Re: Retrieve Data From WebServer

2006-08-31 Thread nuwan chandrasoma
Hi, Cache what ever data you want,so that when every time it wont do a DB call, but you need to use session to keep the cache data list. Thanks, Nuwan. On 8/31/06, Anil Kumar T <[EMAIL PROTECTED]> wrote: Hi, I was also having similar problem some time back. According to my knowledge... If

RE: Retrieve Data From WebServer

2006-08-31 Thread Rokariya, Raman
Thanks For your quick response. However, I have a monitor which shows the different graphical views in it. These monitors can be different depending on monitorId and user logged in. Hence, the data would be different for different ids. So, as you said, Singleton class can not be usefull in this ca