RE: [OT] Sending multipart alternative emails (HTML and text)

2004-06-29 Thread Matthias Wessendorf
Robert, perhaps you may look at: http://jakarta.apache.org/commons/sandbox/email/ there is allready an implemented multipartemail.clazz i used them successfully in my application. they are easy to use, you are *free* from the java-mail-api Cheers, matthias -Original Message- From:

RE: Source for Jakarta JSTL 1.0.2

2004-06-29 Thread Steve Raeburn
http://archive.apache.org/dist/jakarta/taglibs/standard-1.0/source/ The link to the Archives is available from the bottom of the Jakarta download page (http://jakarta.apache.org/site/sourceindex.cgi). Look for The Apache Archives. Steve -Original Message- From: Derek Richardson

RE: Regarding DynaActionForms

2004-06-29 Thread Marco Mistroni
Hi, It's exactly the same as Actionform. Struts Will treat ur dynaactionform as a normal action form. Beware though that you may encounter problems if some of the Fields of your actionforms are null.. Regards marco -Original Message- From: Ashutosh Satyam [mailto:[EMAIL

RE: Regarding DynaActionForms

2004-06-29 Thread Ashutosh Satyam
I need a sample jsp page where someone can show me, how i can retrieve the values populated in a dynaactionform. Also, once I get the resultset after qureying the DB. How exactly the benas will be populated to be used in pages Kindly provide inputs on the same. Regards, Ashutosh

Re: Regarding DynaActionForms

2004-06-29 Thread Bryan Hunt
This sounds a little like ... please write the application for me there is plenty of stuff that can be found on google that is exactly like this ... --b Ashutosh Satyam wrote: I need a sample jsp page where someone can show me, how i can retrieve the values populated in a dynaactionform.

Javascript error

2004-06-29 Thread Kote, Nijaguna Sangankal
Hi, I am a new user for this group,. I am using struts1.1 for my project, Am having some trouble with struts1.1 validator framework. I have changed my validation.xml and validation-rules.xml to reflect my formbean and its properties. Struts also generates

RE: Regarding DynaActionForms

2004-06-29 Thread Ashutosh Satyam
I never meant to write an application for me. I suppose mailing list are meant for where one can get pin point information. If Google was the only solution then there is no point for the existence of any forum like this. -Original Message- From: Bryan Hunt [mailto:[EMAIL PROTECTED] Sent:

RE: Regarding DynaActionForms

2004-06-29 Thread Marco Mistroni
HI, I need a sample jsp page where someone can show me, how i can retrieve the values populated in a dynaactionform. For this, it's enough that u pick a jsp from struts-sample application, Or anywhere in the web where they are talking about actionforms Also, once I get the resultset after

2 Actions + 1 Form + 1 Submit

2004-06-29 Thread Michael McGrady
I have some code where an action is called in an html:form and in an html:image as a value for the src attribute of the html:image tag. Also, I have extended the ImageTag class or html:image to mine some other values regarding the image, color, font, etc., because I intend to use the action

2 Actions Again?

2004-06-29 Thread Michael McGrady
have some code where an action is called in an html:form and in an html:image as a value for the src attribute of the html:image tag. Also, I have extended the ImageTag class or html:image to mine some other values regarding the image, color, font, etc., because I intend to use the action

Struts 1.1

2004-06-29 Thread Kote, Nijaguna Sangankal
What is the equalant of !DOCTYPE form-validation PUBLIC -//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN http://jakarta.apache.org/commons/dtds/validator_1_0.dtd; For struts 1.1?? Thanks Guna

Re: Struts 1.1

2004-06-29 Thread Pedro Salgado
?xml version=1.0 encoding=UTF-8? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd; struts-config Pedro Salgado On 04/06/29 10:46, Kote, Nijaguna Sangankal [EMAIL PROTECTED] wrote:

dynamic forms

2004-06-29 Thread Xavier Noria
We have some forms whose fields are unknown until runtime. How would you implement them so that they worked within the framework smoothly? -- fxn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Regarding DynaActionForms

2004-06-29 Thread Bryan Hunt
The point is to use google first and then go to a mailing list for specific questions and clarification. Asking smart questions on mailing lists by eric stallman. http://www.catb.org/~esr/faqs/smart-questions.html http://www.catb.org/%7Eesr/faqs/smart-questions.html --b Ashutosh Satyam wrote: I

RE: dynamic forms

2004-06-29 Thread Matthias Wessendorf
Xavier, did you looked at: http://wiki.apache.org/struts/StrutsCatalogMappedBeans all properties are stored in a map. cheers, -Original Message- From: Xavier Noria [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 12:09 PM To: [EMAIL PROTECTED] Subject: dynamic forms

RE: dynamic forms

2004-06-29 Thread Matthias Wessendorf
and that one http://jakarta.apache.org/struts/faqs/indexedprops.html there is described how to create a dynamic form based on indexed-properties: like that: html:form action=indexedtest5.do logic:iterate name=stringbean property=stringArray id=foo indexId=ctr

RE: [OT] Sending multipart alternative emails (HTML and text)

2004-06-29 Thread Robert Taylor
Thanks Matthias, robert -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 2:07 AM To: 'Struts Users Mailing List' Subject: RE: [OT] Sending multipart alternative emails (HTML and text) Robert, perhaps you may look at:

JSP 2.0 + JSTL 1.1 or Velocity?

2004-06-29 Thread Jozef Hribik
One year ago when i started my first Struts-based project i was very frustrated with Struts Tag libraries. I have decided to use Velocity. Our HTML designer have learned 5 Velocity keywords very quickly too (if-else-end-foreach-parse). Now we start new project. There are some pressures to abandon

NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Adam Lipscombe
Folks, From browsing the list archive I can see that this sort of questions gets asked frequently. I looked at the solutions but none seem, to fit my case: I am trying to implement a popup window context-sensitive help system for a struts app. My solution so far is to have a help button in

RE: NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Anirudh Jayanth
You could use a javascript function to achieve this.. function Help(document,val) { window.open('Action.do_contextId='+val,'win','toolbar=no,location=no,di rectories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=400, height=210,left=0,top=0') } In the action retrieve the context id

RE: NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Adam Lipscombe
Thanks Anirudh, Do you mean that the form should have no ActionForm associated with it? (Currently I am using an ActionForm to pass the value of the contextID) I did not know that one could pass params to an action with the action.do?p1=valuep2=value technique. Where does one place the call

RE: NEWBIE - How to submit form and display results in popup window with no browser decorations.

2004-06-29 Thread Anirudh Jayanth
The help function is for the button onclick method... Or for a a href tag... You don't need a form for this approach.. All you need to do is to pass the contextId to the action which you can pass as a request parameter. I have used this technique successfully to pass params.. I guess that if you

Re: dynamic forms

2004-06-29 Thread Bill Siggelkow
You could try Nialls Pemberton's LazyActionForm ... http://www.niallp.pwp.blueyonder.co.uk/ Xavier Noria wrote: We have some forms whose fields are unknown until runtime. How would you implement them so that they worked within the framework smoothly? -- fxn

Javascript error

2004-06-29 Thread DGraham
Return Receipt Your Javascript error document :

RE: Converting Java Code in JSP to JSTL

2004-06-29 Thread Ricardo Cortes
Caroline, Have you tried the following?: c:set var=threadBean value=${requestScope.ThreadBean} / c:set var=threadID_int value=some int value / c:if test=${threadBean.threadID != threadID_int} !-- Do something -- /c:if -Original Message- From: Caroline Jen [mailto:[EMAIL

Struts, Dreamweaver, and JSP

2004-06-29 Thread josh
I am resposible for the visual aspect of a number of struts based applications and I was wondering if anyone knows of any way to deal with struts tag standards and jsp tag standards in dreamweaver. I also have to do validation to ensure the apps are compliant and accessible. Are there any tools

RE: Struts, Dreamweaver, and JSP

2004-06-29 Thread josh
On Tue, 2004-06-29 at 10:13, McCormack, Chris wrote: Are there any tools that allow one to validate the html that is generated by the jsp/struts tags? http://validator.w3.org/ Ok, perhaps I didn't phrase that correctly. Are there any tools that allow one to validate a JSP. I know that the

Re: Converting Java Code in JSP to JSTL

2004-06-29 Thread Caroline Jen
Thank you for helping me to learn different ways to construct a web link while passing a number of parameters along with it. Those hyperlinks forward a request and parameters to another servlet action. In this servlet action, do I receive those parameters in an usualy way? String sort =

RE: JavaScript error

2004-06-29 Thread Jim Barrows
My first instinct is to ask why you changed the validation_rules.xml file at all. You shouldn't have had to change that file, except to add some functionality. I would suggest going back to the original validation-rules.xml file and seeing if that helps. -Original Message- From:

RE: Struts, Dreamweaver, and JSP

2004-06-29 Thread Jim Barrows
-Original Message- From: josh [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 8:24 AM To: Struts Users Mailing List Subject: RE: Struts, Dreamweaver, and JSP On Tue, 2004-06-29 at 10:13, McCormack, Chris wrote: Are there any tools that allow one to validate the html

RE: Struts, Dreamweaver, and JSP

2004-06-29 Thread McCormack, Chris
use wget -r http://www.site.co.uk to save your html to disk then run the validator over the saved files. Chris -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: 29 June 2004 16:40 To: Struts Users Mailing List Subject: RE: Struts, Dreamweaver, and JSP -Original

Re: Struts, Dreamweaver, and JSP

2004-06-29 Thread Mark Lowe
If you want to have valid accessible html why use dreamweaver? Seems a contradiction in terms. I'd be more concerned with the ropey generated code than the html rendered by struts tags. On 29 Jun 2004, at 17:43, McCormack, Chris wrote: use wget -r http://www.site.co.uk to save your html to disk

Append parameter value using html:link

2004-06-29 Thread Toll, Marvin \(M.\)
Per the following listing - I am appending a parameter value to a URL. The href version works fine but would like to perform the equivalent using the html:link tag. The html:link version results in: /ReferenceWeb/acknowledgePost.do?org.apache.struts.taglib.html.TOKEN=%= token% Any help with

NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Adam Lipscombe
Folks, I have a strange problem that is confusing me: I have a simple login page with a Help button defined like this: html:link href=javascript:displayHelp('loginPage')%img border=0 height=28 name=Image10 src=images/b_help_1.gif width=32/html:link When pressed, the JavaScript displayHelp()

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Jim Barrows
This almost sounds like the action is getting executed at all, but is rather a problem with the server setup. Context usually refers to everything up to and including the app name, so that would make sense if there's a server configuration issue. If it is executing the action, then at what

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Barett McGavock
I think you're on the right track with your idea that no action has run first. Usually in Struts an action should run before the JSP is seen. Does it work if you use the following tag on your index.jsp instead? logic:redirect forward=/login/ B -Original Message- From: Adam Lipscombe

Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Mick . Knutson
How can I Use 1 Validator definition for 2 different forms? --- Thanks... Mick Knutson 525 Market Street, SF, CA 94103 (415) 222-1020 [EMAIL PROTECTED] MAC A0103-223 --- - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Jim Barrows
If you're talking about masks, then you can use globals. You could also create your own custom validator, iirc 1.2 will have some inheritance features, but not sure what scope yet since I'm not using 1.2. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Mick . Knutson
How can I Use 1 Validator definition for 2 different forms? --- Thanks... Mick Knutson 525 Market Street, SF, CA 94103 (415) 222-1020 [EMAIL PROTECTED] MAC A0103-223 --- - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Mick . Knutson
No, I mean I have a user1Form, and user2Form. They are identical forms as we are using Tiles to display them. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 12:21 PM To: Struts Users Mailing List Subject: RE: Using 1 Validator definition for 2

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Jim Barrows
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 12:28 PM To: [EMAIL PROTECTED] Subject: RE: Using 1 Validator definition for 2 different forms? No, I mean I have a user1Form, and user2Form. They are identical forms as we are

Re: [OT] Storing Birth Date

2004-06-29 Thread Jorge Salido
I would certainly not use timestamps. A timestamp is certainly useful when you want to record current time (like a snapshot), but not past dates. And even then be aware of timestamps... And anyway, since timestamp also contains time data, it is not being efficient (at least by that standard).

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Jim Barrows
-Original Message- From: Adam Lipscombe [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 2:26 PM To: 'Struts Users Mailing List' Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request Thanks Jim, You

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Adam Lipscombe
More on this: Entering http://localhost:8080/ExpenSysWT/help.do?context=LOGIN_PAGE (the correct path to the action) manually in the address field produces the 500 error when the login page is first displayed. After the user has logged in it works fine. I don't understand if its the Tomcat

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Jim Barrows
-Original Message- From: Adam Lipscombe [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 2:38 PM To: 'Struts Users Mailing List' Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request More on this:

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Adam Lipscombe
Thanks Jim, I'll keep digging and let you know. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: 29 June 2004 22:41 To: Struts Users Mailing List Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this

newbie question: form initialization and process

2004-06-29 Thread Jen
Hi, I am new to Struts and after browsered the nightly build example app, found it did different way with what I have. In example app the forms's initial display action is different from the form's submit action. what if after the form submission, it needs to forward to a jsp which is form too,

how to handle special characters like ®

2004-06-29 Thread Christina Siena
I am trying to figure how to handle special characters like ®. When the form is posted, the form attribute contains ® instead of ®.

RE: newbie question: form initialization and process

2004-06-29 Thread Jim Barrows
-Original Message- From: Jen [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 3:32 PM To: [EMAIL PROTECTED] Subject: newbie question: form initialization and process Hi, I am new to Struts and after browsered the nightly build example app, found it did different way

How to change tiles def at runtime?

2004-06-29 Thread Stunger, Kevin J
Hello! Has anyone ever had success changing tiles def values during runtime? I'd like to point a tiles def to a different jsp and change the title, etc. based on some value set in either the request or the session. Example: definition name=myApplication.default page=/template.jsp put

how to handle special characters like ®

2004-06-29 Thread Christina Siena
I am trying to figure how to handle special characters like ®. When the form is posted, the form attribute contains ® instead of ®.

Javascript error

2004-06-29 Thread dangmp
Return Receipt Your Javascript error document :

RE: how to handle special characters like ®

2004-06-29 Thread Wendy Smoak
From: Christina Siena [mailto:[EMAIL PROTECTED] I am trying to figure how to handle special characters like ®. When the form is posted, the form attribute contains ® instead of ®. We heard you the first time. :) The lack of a response after two and a half hours probably means that

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread William Ferguson
Try extending from ValidatorActionForm instead of ValidatorForm. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Wednesday, 30 June 2004 5:37 AM To: Struts Users Mailing List Subject: RE: Using 1 Validator definition for 2 different forms? -Original

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread Joe Hertz
Using ValidatorActionForm would result in the Validator being pointed at Actions and not forms. I don't see how that gets one validator definition... Let me ask this of Mick: Why you using two different form definitions? If they are identical, what are you hoping to accomplish by defining it

RE: Using 1 Validator definition for 2 different forms?

2004-06-29 Thread William Ferguson
You're right. My pet hate of the validation framework - validation should be configured on the ActionConfig instead of via the ActionConfig#path. This would provide for Mick's requirements. It would also free Strus Forms from having to extend from ValidatorForm or ValidatorActionForm in order to

Struts/Tiles/Taglib/JBoss325 Deployment Error

2004-06-29 Thread Vincent Ho
Hi, I'm using Jboss-3.2.5 and jakarta-struts-1.1 with J2SDK 1.4.2, WinXP I encounter the following exception : java.lang.NullPointerException at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:153) .. java.lang.NullPointerException at

RE: Struts and PL/SQL

2004-06-29 Thread CRANFORD, CHRIS
I would be interested in seeing what one of these generated Java classes look like internally? Care to post an example? Chris -Original Message- From: Grassi Fabio [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 5:31 AM To: Lucas Gonzalez; Struts Users Mailing List Subject: R:

RE: How to change tiles def at runtime?

2004-06-29 Thread Janarthan Sathiamurthy
Hi, If found this- In struts-config.xml specify for ur web application - !-- === -- !-- Admin -- !-- === -- !-- The standard administrative actions available with Tiles -- !--

Re: [OT] Storing Birth Date

2004-06-29 Thread Jorge Salido
My experience differs from Jorge. A generic date should do well, and still give you all the date functions. The only problem with storing dates as a number is doing date arithmetic ( say sending an email to all people whose birthday is 5 days away) and things like that. It's not a