RE: Upload problem

2002-11-04 Thread Shunli Yang
James, Thanks for your help anyway. --- James Mitchell [EMAIL PROTECTED] wrote: If you are depending on the framework to stream the file, then yes. But that does not appear to be what you are doing. Other than searching the mail archives for your server/container, I'm all out of

What Are Doing with DynaActionForm

2002-11-04 Thread Mark Ayad
With DynaActionForm you gain in having one-less-class when using org.apache.struts.action.DynaActionForm when getting the Data back from Form in the Action I've found myself using: ((DynaActionForm)form).get(shippingAddress) Before you would use ((ShippingForm)form).getShippingAddress()

RE: [OT] OJB/Struts and Jetspeed

2002-11-04 Thread Joe Germuska
You should probably check out the BasicPortal project at http://basicportal.sourceforge.net/; it's based on Struts and organized by some pretty active members of the struts-user community. It doesn't use OJB as far as I know. As for Jetspeed being dead... I'm not even a Jetspeed user, let

RE: html:link with multiple parameters

2002-11-04 Thread Cindy Horn at SF x4874
The information I've found in these threads does not provide adequate information on how to do this dynamically. If I use the form to create a map, it doesn't know which item I'm iterating through in the list. The link I'm using now is this: html:link page=/shipmentNavigation.do

Re: What Are Doing with DynaActionForm

2002-11-04 Thread Rick Reumann
On Monday, November 4, 2002, 5:53:52 PM, Mark wrote: MA What are other people using to extract and map data out of the DynaActionForm ? I use BeanUtils.copyProperties(..) to copy the properties from my DynaActionForm into my Model layer bean. In the action just do:

Re: What Are Doing with DynaActionForm

2002-11-04 Thread Mark Ayad
Rick I read your email and had an Ahh Moment ! Thats quite elegent and now less lines of code to maintain. Are there any caveats to doing this. I guess you are doing this post validation. Mark - Original Message - From: Rick Reumann [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

RE: html:link with multiple parameters

2002-11-04 Thread Cindy Horn at SF x4874
Maybe a better way to solve my issue is to have different actions... I'm trying to use one action for all navigation requests. Either way, I would still like to know if jstl would understand jsp:useBean id=paramMap class=java.util.HashMap/ c:set target=${paramMap} property=shipmentNumber

RE: [OT] OJB/Struts and Jetspeed

2002-11-04 Thread James Higginbotham
Thanks for the info.. You should probably check out the BasicPortal project at http://basicportal.sourceforge.net/; it's based on Struts and organized by some pretty active members of the struts-user community. It doesn't use OJB as far as I know. Will do... As for Jetspeed being dead...

RE: html:link with multiple parameters

2002-11-04 Thread Karr, David
-Original Message- From: Cindy Horn at SF x4874 [mailto:CHorn;matson.com] Sent: Monday, November 04, 2002 3:10 PM Maybe a better way to solve my issue is to have different actions... I'm trying to use one action for all navigation requests. Either way, I would still like to

Re[2]: What Are Doing with DynaActionForm

2002-11-04 Thread Rick Reumann
On Monday, November 4, 2002, 6:13:28 PM, Mark wrote: MA Rick I read your email and had an Ahh Moment ! Thats quite elegent MA and now less lines of code to maintain. Are there any caveats to MA doing this. Only caveat is I ran into some headaches when dealing with converting

java.util.Date

2002-11-04 Thread Rick Reumann
I'm posting this with a different subject line so it will hopefully come up in the archives if someone needs to search for it. I posted a solution a while ago and since that time several have asked about it but searching through the archives myself doesn't bring it up the post, so here's a

[Nested Tags] Is styleId available for nested:hidden?

2002-11-04 Thread Jeff_Mychasiw
I am using 1.1b2/tomcat 4.0.4 When trying to use the tag attribute styleId withing the nested:hidden tag I get the following error: ...Attribute styleId invalid according to the specified TLD. This error is quite clear. I guess I just wonder why. The nested docs for the nested:hidden tag will

RE: Nested properties of form bean not being updated !

2002-11-04 Thread Parnell, Giles (AU - Sydney)
Hi Sri I've made the small change to the included file - 64_eng_del.jsp - didn't help much I'm afraid. We are not using the nested tags because at the moment struts 1.1-b2 is still in beta (Is this the only version with the nested tag ???) My company has made the firm decision that we cannot use

html:multibox

2002-11-04 Thread Tuan H. Le
Hi, I need to pass in the select box index to a JavaScript function. Is there a way to do that in html:multibox tag?. I have tried JSP scripting (%=...%), but that does not work. I have two multiboxes in a form and I need to select/unselect the checkbox between those two multiboxes via calling

Re: html:multibox

2002-11-04 Thread David Graham
This behavior is easily acheived by using radio buttons instead of checkboxes. Is that an option? David From: Tuan H. Le [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List (E-mail) [EMAIL PROTECTED] Subject: html:multibox Date: Mon, 4 Nov

Application Scope

2002-11-04 Thread Yeo, Rodney W
Hi, Anyone knows how to retrieve information in the application scope within an action form? Thanks. Regards, Rodney -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

RE: Application Scope

2002-11-04 Thread James Mitchell
Why would you need this in an action form? James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955) -Original Message- From: Yeo,

RE: Application Scope

2002-11-04 Thread Andrew Hill
Maybe the info he wants to retrieve is config info that affects his validation in some way -Original Message- From: James Mitchell [mailto:jmitchtx;telocity.com] Sent: Tuesday, November 05, 2002 10:47 To: Struts Users Mailing List Subject: RE: Application Scope Why would you need

RE: html:multibox

2002-11-04 Thread Tuan H. Le
David, Thanks for your response! In our app, it's required to have select all and deselect all features. I'm not sure that radio buttons can fullfil this requirement. Am I right? Thanks, Tuan -Original Message- From: David Graham [mailto:dgraham1980;hotmail.com] Sent: Monday, November

Re: Application Scope

2002-11-04 Thread Kris Schneider
getServlet().getServletContext() Yeo, Rodney W wrote: Hi, Anyone knows how to retrieve information in the application scope within an action form? Thanks. Regards, Rodney -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands,

RE: Application Scope

2002-11-04 Thread James Mitchell
I still don't see why you would need access. Anything you need from the servletContext should be handled in your action (or biz tier), but not your form bean. I believe Craig mentioned something about this in an earlier message, but I'm not having any luck with the mail-archive search. James

RE: Application Scope

2002-11-04 Thread Andrew Hill
Yes. Id have to agree with that. -but often its easier to just do it the 'quick' and naughty way ;-) -Original Message- From: James Mitchell [mailto:jmitchtx;telocity.com] Sent: Tuesday, November 05, 2002 11:07 To: Struts Users Mailing List Subject: RE: Application Scope I still don't

RE: Application Scope

2002-11-04 Thread Yeo, Rodney W
Hi all, My Mistake..It should be Action class..not action form :p Regards, Rodney -Original Message- From: Andrew Hill [mailto:andrew.david.hill;gridnode.com] Sent: Tuesday, November 05, 2002 10:46 AM To: Struts Users Mailing List Subject: RE: Application Scope Maybe the info he wants

RE: Application Scope

2002-11-04 Thread James Mitchell
Hmm.after that comment I should have labeled this thread OT ;) James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955) -Original

RE: Application Scope

2002-11-04 Thread James Mitchell
Ok, check out Chris' post. James Mitchell Software Engineer/Struts Evangelist http://www.open-tools.org Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein (1879-1955) -Original Message- From: Yeo, Rodney W

RE: Application Scope

2002-11-04 Thread Andrew Hill
This also works for the Action class :-) -Original Message- From: Kris Schneider [mailto:kris;dotech.com] Sent: Tuesday, November 05, 2002 10:59 To: Struts Users Mailing List Subject: Re: Application Scope getServlet().getServletContext() Yeo, Rodney W wrote: Hi, Anyone knows how

RE: Nested properties of form bean not being updated !

2002-11-04 Thread Sri Sankaran
Giles: I am sorry. Going from the subject line I assumed you were trying to use the nesting extension. I am using Struts 1.0.2 along with the nesting extension from Arron Bates site www.keyboardmonkey.com/next/index.jsp. This is not beta-ware so you should be able to use it. All the dot

RE: Application Scope

2002-11-04 Thread Yeo, Rodney W
thanks all! :) Regards, -Original Message- From: James Mitchell [mailto:jmitchtx;telocity.com] Sent: Tuesday, November 05, 2002 11:18 AM To: Struts Users Mailing List Subject: RE: Application Scope Ok, check out Chris' post. James Mitchell Software Engineer/Struts Evangelist

RE: Nested properties of form bean not being updated !

2002-11-04 Thread Parnell, Giles (AU - Sydney)
Thanks Sri I've looked at the monkey stuff before, but thought it was just an extension of the struts beta stuff. So... I'll give that a go. Thanks for you Help. Will let you know the results, Cheers Giles -Original Message- From: Sri Sankaran [mailto:Sri.Sankaran;sas.com] Sent:

RE: html:multibox

2002-11-04 Thread David Graham
I'm confused by what you want to do. html:multibox will be generating a bunch of checkboxes with the same name and different values like: input type=checkbox name=rejectList value=12 input type=checkbox name=rejectList value=11 input type=checkbox name=rejectList value=128 So do you have a list

Using SecureLinkTag with non-actions

2002-11-04 Thread Rick Mann
Hi. I recently added the SSL Ext stuff to Struts 1.1b2, and it mostly works, except for the SecureLinkTag. I have a .jsp that is not required to be secure. The typical user, however, will get to this page as a result of logging in (an HTTP post), and so the page will be secure. I have several

hrame in template

2002-11-04 Thread Amit Badheka
Can I include a frameset into Template? I have a page called index.jsp, that contains frameset defined. Now, I want to include this page in my template. I tried it but it does not includeing the pages inside the frames, but when I saw the generated html source the file contents are included.

Re:frame in template

2002-11-04 Thread Amit Badheka
frame, and not hrame. sorry. - Original Message - From: Amit Badheka [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 12:28 PM Subject: hrame in template Can I include a frameset into Template? I have a page called index.jsp, that

RE: Strange behaviour when using the validator in struts1.1b2

2002-11-04 Thread Michael Delamere
Oh, I take it that I´m the only one then! I can´t even remotely imagine what the problem could be very strange! Regards, Michael -Original Message- From: Michael [mailto:home;michael-delamere.de] Sent: Montag, 4. November 2002 17:39 To: Struts Users Mailing List Subject: Strange

OJB/Struts and Jetspeed

2002-11-04 Thread Hoang, Hai
Hi, I am a Struts and OJB user and I would like to use Jetspeed. The problem is that Jetspeed architecture is heavily depended on turbine/velocity/torque frameworks. What I want to know is there any plans, initiatives or fork to decouple Jetspeed to allow it to work with OJB/Struts frameworks?

RE: [OT] OJB/Struts and Jetspeed

2002-11-04 Thread James Higginbotham
Jetspeed is dead - check some list archives. They *may* redo something to use the new portlet API, but I haven't seen much activity from them. There may be some folks out there still working on it, but in reality, some new codebase should probably take its place (or some new maintainers should

<    1   2