Checkboxes

2003-08-25 Thread Filip Polsakiewicz
Hi, I have the following problem: I have a list of 71 Checkboxes and want to have one checkbox to select all of them at once. This works fine but I cannot uncheck this checkbox if it was checked once in order to uncheck all other checkboxes. Can anybody help me on this. Any code samples would be

RE: commons-fileupload.jar

2003-08-19 Thread Filip Polsakiewicz
jar when Struts 1.1 was released, which was fixed later. DiskFileUpload is definitely included in my Struts 1.1 distribution. Reinhard Filip Polsakiewicz wrote: Hi everybody, i found that the commons-fileupload.jar shipped with struts is not complete compared to the original

Session expired

2003-08-19 Thread Filip Polsakiewicz
Hi, is there any way to redirect y user to a jsp if the session is expired without checking for an expired session within each single jsp? Thanks, Filip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Session expired

2003-08-19 Thread Filip Polsakiewicz
Mailing List Subject: Re: Session expired What if you check from your action before redirecting to a jsp ? Filip Polsakiewicz wrote: Hi, is there any way to redirect y user to a jsp if the session is expired without checking for an expired session within each single jsp? Thanks, Filip

Changes between commons-fileupload.jar (original) and commons-fileupload struts

2003-08-14 Thread Filip Polsakiewicz
Hi, i have a problem with my struts app. When i use the original commons-fileupload and not the one shipped with struts i get exceptions. But we in our project need some features of the FileUpload (e.g. DiskFileUpload.class) that are not included in the struts version. What do I have to change so

RE: commons-fileupload.jar

2003-08-05 Thread Filip Polsakiewicz
the following exception when using the html:file element java.lang.NoSuchMethodError: org.apache.commons.fileupload.FileUpload.setSizeMax(I)V Filip Polsakiewicz wrote: Hi everybody, i found that the commons-fileupload.jar shipped with struts is not complete compared to the original

commons-fileupload.jar

2003-08-05 Thread Filip Polsakiewicz
Hi everybody, i found that the commons-fileupload.jar shipped with struts is not complete compared to the original commans-fileupload.jar In our project we need e.g. the class DiskFileUpload which is not included in the struts version. On the other hand i cannot take the original version since

[OT] Retrieve all messages ever sent to this list

2003-08-05 Thread Filip Polsakiewicz
Hi, is there a way to retrieve all messages which have been sent to this mailinglist until now? I'd like to save all messages on my Laptop as a kind of reference. Thanks, Filip - To unsubscribe, e-mail: [EMAIL PROTECTED] For

using html:file and commons-fileupload

2003-08-04 Thread Filip Polsakiewicz
Hi, i have the following problem. I use a html:file element to choose a file and want it to be uploaded using commons-fileupload. When i submit my form i get the following exception: java.lang.NoSuchMethodError: org.apache.commons.fileupload.FileUpload.setSizeMax(I)V my code looks something like

RE: using html:file and commons-fileupload

2003-08-04 Thread Filip Polsakiewicz
Message - From: Filip Polsakiewicz [EMAIL PROTECTED] To: Struts Users Mailinglist [EMAIL PROTECTED] Sent: Monday, August 04, 2003 2:24 PM Subject: using html:file and commons-fileupload Hi, i have the following problem. I use a html:file element to choose a file and want

RE: using html:file and commons-fileupload

2003-08-04 Thread Filip Polsakiewicz
- Original Message - From: Filip Polsakiewicz [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, August 04, 2003 2:44 PM Subject: RE: using html:file and commons-fileupload Hi, changing the type to FormFile didn't solve the problem. Any other ideas

RE: using html:file and commons-fileupload

2003-08-04 Thread Filip Polsakiewicz
of the code from the struts-upload example (upload.jsp) html:form action=upload.do?queryParam=Successful enctype=multipart/form-data It works with out any errors. From: Filip Polsakiewicz [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

RE: using html:file and commons-fileupload

2003-08-04 Thread Filip Polsakiewicz
: Filip Polsakiewicz [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, August 04, 2003 4:22 PM Subject: RE: using html:file and commons-fileupload -Original Message- From: message message [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 3:38

RE: bean:message tag

2003-07-01 Thread Filip Polsakiewicz
Hi, bean:message works only with PropertyResourceBundles. Those are specified by name if you don't use the default ones. If you want to print the property of your Form use bean:write name=logonForm property=username/ instead. HTH Filip -Original Message- From: [EMAIL PROTECTED]

logic:equal with sessionAttributes

2003-07-01 Thread Filip Polsakiewicz
Hi, i need to check for the value of a specific session Attribute. I know that i can use logic:equal with request-parameters. Now how would i check if a session attribute foo equals the value of bar? Thanks Filip - To

RE: logic:equal with sessionAttributes

2003-07-01 Thread Filip Polsakiewicz
Thanks. I will try that. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 10:50 AM To: Struts Users Mailing List Subject: Re: logic:equal with sessionAttributes use the scope attribute (it is the same for lot's of struts tags)

RE: Simplest way to show the matrix

2003-06-30 Thread Filip Polsakiewicz
hi, try: logic:iterate name=... property=ydirection id=y logic:iterate name=... property=xdirection id=x bean:define id=output value=%=myarray[x,y] %/ bean:write name=output/ /logic:iterate /logic:iterate HTH Filip -Original Message-

RE: How to Disable Checkbox in Struts

2003-06-27 Thread Filip Polsakiewicz
use html:checkbox ... disabled=true / HTH Filip -Original Message- From: Prashanth.S [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 6:40 AM To: [EMAIL PROTECTED] Subject: How to Disable Checkbox in Struts Iam displaying checkbox option in 1st jsp and leaving user to

bean:define

2003-06-27 Thread Filip Polsakiewicz
Hi, i get the following error message in my jsp and i don't really understand why: Define tag can contain only one of name attribute, value attribute, or body content Now i use two define tags in my jsp: bean:define id=groupname scope=pagebean:write name=groupForm

FileUpload w/ drag'n'drop

2003-06-27 Thread Filip Polsakiewicz
Hi, i was wondering if there is any way to accomplish the following: I'd like to place a container within my jsp and if a user drops a file (say from his desktop) into this container the file will be uploaded. Does anybody know if (and preferrably: how) this could work? Greetings from Germany,

RE: bean:define

2003-06-27 Thread Filip Polsakiewicz
-Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:34 AM To: Struts Users Mailing List Subject: Re: bean:define if groupForm.getGroupname() returns null (or ) your first bean:define will have no body content, and will so have no

RE: displaying String[] in struts

2003-06-27 Thread Filip Polsakiewicz
You could do the following logic:iterate id=mystrings ... bean:write name=mystrings /logic:iterate HTH Filip -Original Message- From: Thamarajah Dharma [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:30 AM To: struts (E-mail) Subject: displaying String[] in struts

RE: java.net.ConnectException: Connection refused

2003-06-27 Thread Filip Polsakiewicz
I'm not sure but maybe you have to allow the connections first. check /etc/services if connections to port 3306 are allowed. And then you might check if connections to tomcat and your appserver are allowed. HTH Filip -Original Message- From: Richard Raquepo [mailto:[EMAIL PROTECTED]

RE: java.net.ConnectException: Connection refused

2003-06-27 Thread Filip Polsakiewicz
... and see if mysql on your production server allows connections to localhost. In my production enviroment mysql only allows connections to jdbc:mysql://hostname:3306/mydb -Original Message- From: Richard Raquepo [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 10:08 AM To:

RE: Question - how many of us?

2003-06-26 Thread Filip Polsakiewicz
-Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 10:38 AM To: Struts Users Mailing List Subject: Re: Question - how many of us? Andrew Hill wrote: 240,000 eh? In other words, only about 1% of the users subscribe to the list, from

RE: servlet.getDebug()?

2003-06-26 Thread Filip Polsakiewicz
it's the same with: session, request, (i believe: log) and a few more. These variable a deklared automatically for usage within your servlets. HTH Filip -Original Message- From: sgu88 [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 4:15 PM To: [EMAIL PROTECTED] Subject:

[OT] url-pattern

2003-06-25 Thread Filip Polsakiewicz
Hi, i have a problem with url-patterns in web.xml i need a pattern that matches /webdav/*, /webdav/hello/* and so on. I.e. webdav and all subdirectories. i tried url-pattern /webdav/* /url-pattern but it doesn't work. Help please Filip Polsakiewicz

RE: delay before redirect

2003-06-25 Thread Filip Polsakiewicz
-Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 3:01 PM To: Struts Users Mailing List Subject: Re: delay before redirect I would suggest staying with the meta tag approach. This lessens the burden on the container and let's

RE: html links

2003-06-25 Thread Filip Polsakiewicz
-Original Message- From: Andy Richards [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 3:14 PM To: [EMAIL PROTECTED] Subject: html links Can anyone shed some light on this for me. Being a newbie i tried to perform a search on the list archive however it just says text

RE: html links

2003-06-25 Thread Filip Polsakiewicz
-Original Message- From: Andy Richards [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 3:53 PM To: Struts Users Mailing List Subject: Re: html links Thanks filip But do i have to do this for every link in the config file, or can i configure the struts config file so

submit buttons

2003-06-24 Thread Filip Polsakiewicz
not work. Any suggestions? Filip Polsakiewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: bean:write filter=false

2003-06-24 Thread Filip Polsakiewicz
try writing input type=text / as lt;input type=quot;textquot; /gt; HTH Filip -Original Message- From: Vinay Mhapankar [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 12:52 PM To: [EMAIL PROTECTED] Subject: bean:write filter=false Hi All, I need to display

RE: submit buttons

2003-06-24 Thread Filip Polsakiewicz
';return trueChange/html:submit Brian -Original Message- From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 11:55 AM To: Struts Users Mailinglist Subject: submit buttons Hi, i have the following problem: i need a submit button that sets the command

RE: submit buttons

2003-06-24 Thread Filip Polsakiewicz
value. But the JavaScript solution i have now works great. Filip Steve -Original Message- From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 3:55 AM To: Struts Users Mailinglist Subject: submit buttons Hi, i have the following problem: i need

el?

2003-06-24 Thread Filip Polsakiewicz
I stumbled over the abbreviation el for quite a few times now (e.g. struts-el). Can anybody tell me what el stands for? Thanks Filip Filip Polsakiewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: el?

2003-06-24 Thread Filip Polsakiewicz
: Filip Polsakiewicz [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 3:27 PM To: Struts Users Mailinglist Subject: el? I stumbled over the abbreviation el for quite a few times now (e.g. struts-el). Can anybody tell me what el stands for? Thanks Filip Filip Polsakiewicz

optionsCollection

2003-06-23 Thread Filip Polsakiewicz
ist the first String in my Collection. I'd appreciate any hints. Thanks Filip Polsakiewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: html:option - is there a selected option attribute?

2003-06-23 Thread Filip Polsakiewicz
Hi, i had the same problem. Here is the solution. You have to set the corresponding boolean value to true HTH Filip -Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 12:52 PM To: Struts Users Mailing List Subject: html:option - is

RE: html:option - is there a selected option attribute?

2003-06-23 Thread Filip Polsakiewicz
-Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 1:13 PM To: Struts Users Mailing List Subject: Re: html:option - is there a selected option attribute? You lost me; what corresponding boolean value?? Filip Polsakiewicz wrote

RE: html:option - is there a selected option attribute?

2003-06-23 Thread Filip Polsakiewicz
attribute select html:option value= selected=selected/option html:option value=/option /select Filip Polsakiewicz wrote: Sorry i was sleeping :-) I thought you were talking of checkboxes. Well i'd say it's not much different. In your formbeans reset method

RE: Logging in struts.

2003-06-18 Thread Filip Polsakiewicz
Hi Simon, there is a lot of info on that question in O'Reilly Programming Jakarta Struts. The tell you how to use Commons Logging or Log4J within your struts apps. And: whatever you print to stdout or stderr appears in your tomcat window anyway (at least it should) Greetz from Karlsruhe too,

RE: Logging in struts.

2003-06-18 Thread Filip Polsakiewicz
to my Tomcat window. Simon PS Filip, where are you in KA? Near Karl-Wilhelm-Platz Filip - Original Message - From: Filip Polsakiewicz [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 10:50 AM Subject: RE: Logging in struts

RE: Logging in struts.

2003-06-18 Thread Filip Polsakiewicz
. I'm WAY up the raod at the FZK It's pretty close to Technologiefabrik if you know where this is. And i think FZI is also here somewhere - Original Message - From: Filip Polsakiewicz [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 11

RE: Same boring copy/paste technique

2003-06-17 Thread Filip Polsakiewicz
-Original Message- From: Alen Ribic [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 9:36 AM To: Struts Users Mailing List Subject: Same boring copy/paste technique Hi Everyone, I have many functions in my system that are to be very similar in their actions, forms and

Struts Menu question

2003-06-17 Thread Filip Polsakiewicz
Hi, i'm pretty new to Struts Menu and have one simple question before i start: is it possible to display menuitems depending on some conditions. e.g. only displaying an admin-menu if the user is logged on as Administrator? thanks in advance Filip Polsakiewicz

Same boring copy/paste technique

2003-06-17 Thread Filip Polsakiewicz
Sorry i had a mistake. of course it should be: public abstract class UserAction extends Action {...} and then public abstract class UserCreateAction extends UserAction{...} Filip -Original Message- From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED] Sent: Tuesday

RE: Same boring copy/paste technique

2003-06-17 Thread Filip Polsakiewicz
in many places for me. As for view, I'm looking into Struts tiles. tiles actually does abstraction too. Using definitions works fine with most problems Good luck Filip --Alen - Original Message - From: Filip Polsakiewicz [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

RE: nested form

2003-06-17 Thread Filip Polsakiewicz
it. You're right it does not correspond to html rules. I used it one or two times and actually all browsers i tried displayed it. Filip Adam Filip Polsakiewicz wrote: IMHO yes. The only thing is: you can (of course) only submit one form at a time Filip -Original Message- From

RE: Struts Menu question

2003-06-17 Thread Filip Polsakiewicz
-menu/index.jsp The example code is available through: http://sourceforge.net/projects/struts-menu/ I recommend users to start sending Struts Menu questions to: struts-menu-user (subscribe via SourceForge) HTH, jaafar -Original Message- From: Filip Polsakiewicz

RE: -Newbie- my own Servlet

2003-06-17 Thread Filip Polsakiewicz
Your Action should look something like action path=... path to formbean ... type=... form bean type as complete packagename name=... form bean name scope=... scope for this action ... input=... jsp to handle input ...

RE: Display key itself when not found in MessageResources

2003-06-17 Thread Filip Polsakiewicz
You could check if this key is there using logic:messagesPresent or logic:messagesNotPresent and then either use bean:message with that key or bean:write with some text -Original Message- From: José Ventura [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 4:03 PM To:

Implementing Applicationwide search

2003-06-17 Thread Filip Polsakiewicz
Hi, i am looking for a way to implement a search function that searches my whole webapp somehow like a searchengine. Did anybody do that before. Are there any useful tools? Any answers appreciated. Thanks Filip Polsakiewicz

RE: Implementing Applicationwide search

2003-06-17 Thread Filip Polsakiewicz
out Lucene (http://jakarta.apache.org/lucene) Paul -Original Message- From: Filip Polsakiewicz [mailto:[EMAIL PROTECTED] Sent: 17 June 2003 15:32 To: Struts Users Mailinglist Subject: Implementing Applicationwide search Hi, i am looking for a way to implement a search function

RE: Display key itself when not found in MessageResources

2003-06-17 Thread Filip Polsakiewicz
the tag to display the message resource, if found, or the key itself otherwise. /mumble []'s - ventura - Original Message - From: Filip Polsakiewicz [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 11:15 AM Subject: RE: Display key

using onchange Property of selectboxes to change Form values

2003-06-16 Thread Filip Polsakiewicz
Problem is, that the submit() function always uses the submit value which was last used. How can i use java script to either change the form value or change the submit value. thx. filip Filip Polsakiewicz - To unsubscribe, e

nested vectors

2003-06-16 Thread Filip Polsakiewicz
something in the form the corresponding values within the vectors are not beeing changes. Does anybody know why and how i can fix that. thx, Filip Polsakiewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e