RE: Strut application with support for portal like behavior

2002-09-24 Thread Vikas Sangwan
Use Tiles, along with Strutsthen you can have Portal like behaviour for your application. -Original Message- From: Anil Kumar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 7:50 AM To: [EMAIL PROTECTED] Subject: Strut application with support for portal like behavior

nested tags problem and struts performance

2002-09-24 Thread Nicolas Gréhalle
Hi, I've 2 questions : - I'm using Struts-1.1b2 with Tomcat 4.1.40. With old version (Struts-1.1b1 and Tomcat 4.0.x), I had no problem, but now, nested tags don't manage anymore : Example : page1.jsp: ... nested:iterate property=childCollection nested:write property=element/

Réf. : Strut application with support for portallike behavior

2002-09-24 Thread Alexandre Albert
Hi Anil Tiles is shipped with Struts 1.1 and you have some portal like functionalities. It is implementing the composite view design pattern. But there is nothing magic with it, and I think that you have to manage yourself the scope of your data and the different ActionForm attached with

RE: [OT][WORKFLOW] Any best practice for back, save, continue buttons?

2002-09-24 Thread Jacob Hookom
Yeah, I used it in a login handler that I wrote for struts, where: If (not logged in) (push requested url on stack in session) ) login.jsp form hidden value = requestStack.first It's detailed in Java E-Commerce from Wrox publishing | -Original Message- | From: Dan

RE: [OT][WORKFLOW] Any best practice for back, save, continue buttons?

2002-09-24 Thread Andrew Hill
Im using something a little more complex that is a bit similar. I store some information into a uniquely identified object in the session , this includes the ActionForm the user is currently editing a url to resume editing this, then I forward to another page where the user can edit something

Réf. : I try again... My action is not beingcalled -I just get a blank page!

2002-09-24 Thread Alexandre Albert
I don't know what is wrong with your webapp, but I'm using Struts with WebSphere developer studio as well and it works fine. Try it with a simple blank webapp. The only thing that is a bit unusual is the servlet-mapping, and also I nerver specify the type in the action-mappings.

Re: Torque initialization/configuration in a Struts Application

2002-09-24 Thread Jin Bal
Try this (or something close) in your Action code : String contextRoot = getServlet().getSerlvetContext().getRealPath(); Torque.init(contextRoot+/WEB-INF/TORQUE.properties); NB: getServlet() should work in 1.02. I think this may have changed in 1.1b2 - check the API docs to see how to grab a

Re: [ActionForm] Extending existing ActionForm classes

2002-09-24 Thread Jin Bal
CreateUserProfileForm etc must extend from ActionForm then UpdateUserProfileForm can extend from CreateUserProfileForm. Your forms must have a base type of ActionForm HTH Jin - Original Message - From: Charles [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent:

Re: [ActionForm] Extending existing ActionForm classes

2002-09-24 Thread Charles
Yup my CreateUserProfileForm does extend from ActionForm, but I still get the exception. Have you tried something like this before? It would help me alot to know that this is something possible and can be done :) - Original Message - From: Jin Bal [EMAIL PROTECTED] To: Struts Users

Starting application

2002-09-24 Thread Mohan Radhakrishnan
Hi, We open a new login 'window' using java script when we start the application. This bootstrap java script that does this will be inside the first JSP file which will just open the new login window in the 'body' load javascript. I am associating a 'NullForm' and 'ContinueAction' with

[OT] RE: User Notification

2002-09-24 Thread James Higginbotham
Ok, this thread has nothing to do with Struts, so I will make one more pass at it. After this, I'd suggest doing some prototypes and seeing what works best - trial and error with multiple quick prototypes is better learning than asking others to do the work for you. Now, a database can store

RE: [OT][WORKFLOW] Any best practice for back, save, continue buttons?

2002-09-24 Thread James Higginbotham
Dan, I did something in the past related to this, before Struts was available (I think). It required new instances of an action to be created for each jump with return, which cluttered the session but enabled these actions to store state about the process. Anyway, the one thing I learned, no

Re: I try again... My action is not being called -I just get a blank page!

2002-09-24 Thread Vilya Harvey
Both the action specified in your form, and the href for the link inside the form are invalid. If you have mapped /do/* to the ActionServlet, then the href should be /do/acceptanstest/accDatabase. Give that a try and see if it helps. As a side note, the html:form tag is not necessary here. Good

Re: Struts and high performance sites

2002-09-24 Thread V. Cekvenich
Not a high volume of users, and 7 transactions per second? Should fit on a single medium box (if not a laptop) if you do it right. You have to worry about creating objects if you write your own framework (you can put beans in session or requests, and request is better mostly), and then you

RE: Struts and high performance sites

2002-09-24 Thread Daniel Joshua
V. Cekvenich, The slow part is DAO in J2EE (and ADO in .NET). Avoid any EJB, they do not scale. I though EJBs were designed to allow scalling? Regards, Daniel -Original Message- From: news [mailto:[EMAIL PROTECTED]]On Behalf Of V. Cekvenich Sent: Tuesday, September 24, 2002 5:56 PM

duplicating applications

2002-09-24 Thread Oren Gross
Hi all I have an struts based application, running on one server (tomcat+jboss running on Win2K). trying to have it running on another server (same configuration on Solaris) I copied the war file, and the struts.jar but seems like it is not enough. I am getting "Cannot find global forward

Re: duplicating applications

2002-09-24 Thread Gemes Tibor
2002. szeptember 24. 13:05 dátummal Oren Gross ezt írtad: Hi all I have an struts based application, running on one server (tomcat+jboss running on Win2K). trying to have it running on another server (same configuration on Solaris) I copied the war file, and the struts.jar but seems like it

Re: image map context-relative problem

2002-09-24 Thread aL.
is ok, was simple q, now solved: just used href=html:rewrite / in the area/ tag. - Original Message - From: aL. To: Struts Users Mailing List Sent: Monday, September 23, 2002 9:14 PM Subject: image map context-relative problem hi, i have an image map: html:img

Re: I try again... My action is not being called -I just get a blank page!

2002-09-24 Thread Ulrika Nordström
If I write /do/acceptanstest/accDatabase I get the same result -a blank page. And if I remove the form tag, I will get a servlet error: Cannot find bean databaseForm in scope null. I don't get it.. Both the action specified in your form, and the href for the link inside the form are

Moving from MVC architecture to STRUTS

2002-09-24 Thread Madhavi Thottempudi
Hi there! I am new to Struts technology and I have few doubts to clarify from U experienced people I am considering to move our web-application which is now based on MVC architecture to Struts and as a first step I'm doing some research on it and got stuck with few things. My doubts are -

RE: RE: User Notification

2002-09-24 Thread Galbreath, Mark
Absolutely use SAXP (java.sun.com) or JDOM (www.jdom.org) to parse the XML in a messaging system! DOM parsing would be a big bottleneck on any high-traffic system. Mark -Original Message- From: Vernon Wu [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 7:49 PM The reason I

RE: RE: User Notification

2002-09-24 Thread Galbreath, Mark
Yeah, what he said. (I need a cup of coffee *yawn*). Mark -Original Message- From: Joe Barefoot [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 7:53 PM Sorry to intrude, but this is a red herring argument. If you are storing the XML in the DB as character data, SAX is

EJB / was Struts and high performance sites

2002-09-24 Thread V. Cekvenich
They are hype marketed as such. Most newer developers try them, as I did when I was new, but in production they did not scale, so we removed them. On new sites I skip the writing them part, since people would only remove them in production. (some management that take EJB to production are so

RE: logic:present on session bean

2002-09-24 Thread Galbreath, Mark
Glad to be of service. Mark (the Bicentennial Man...or how old I feel this morning after a night of configuring Linux) -Original Message- From: Vinh Tran [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 9:02 PM To: Struts Users Mailing List Subject: RE: logic:present on

RE: HTTP 405 - Resource not allowed

2002-09-24 Thread Galbreath, Mark
It looks like you screwed up the settings on your application server. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 8:59 PM Hi, For some reason I'm getting the above error whenever I try to access any of my .do URLs.

[Validator] Cannot load resource

2002-09-24 Thread Andreas Schyman
Is it just me or... I get the following error when trying to load the struts-validator.war from the nightly build (20020924) on Tomcat 4.1.10: 2002-09-24 12:59:43 StandardManager[/struts-validator]: Seeding random number generator class java.security.SecureRandom 2002-09-24 12:59:43

RE: documenting jsp tags

2002-09-24 Thread Galbreath, Mark
I didn't know that, Martin. XSLT is way cool stuff! Mark -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 10:25 PM This isn't quite what you're asking for, but the idea may help... For Struts, we use an XML file (of our own devising)

DynaActionForm blowing away values...

2002-09-24 Thread James Krygowski
Hey all- I'm trying to use DynaActionForm to send data from an action to my jsp. I've got a setup something like: MaintainThemesAction --- MaintainThemes.jsp I populate a the DynaActionForm associated with the action in the MaintainThemesAction but when I try to access the values it contains

RE: [ActionForm] Extending existing ActionForm classes

2002-09-24 Thread Galbreath, Mark
Gonna be kinda difficult since ActionForm classes already extend ActionForm. Just create another ActionForm class and set its state in the associated Action class. Mark -Original Message- From: Charles [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 2:17 PM Hi, I got

RE: Moving from MVC architecture to STRUTS

2002-09-24 Thread Cliff Rowley
1. From what I understood, at the Controller end - the Controller servlet and the mapping of the actions is provided by the framework. But when I saw the example struts application, I got bit confused with the structure of struts - when it comes to session entity beans. In user guide it's

RE: logic:present on session bean

2002-09-24 Thread Galbreath, Mark
Hey Eddie, Is this stuff from the JSTL or Jakarta's implementation of the JSTL? It looks cool, but little too much like scriptlets - too much programming logic - in the page. Mark -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 12:30

RE: DynaActionForm blowing away values...

2002-09-24 Thread James Krygowski
Hey all-- never mind, i think that my server log isn't completely sequential/real time... thanks! -Original Message- From: James Krygowski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 7:44 AM To: Struts Users Mailing List Subject: DynaActionForm blowing away

RE: [OT][WORKFLOW] Any best practice for back, save, continue buttons?

2002-09-24 Thread Galbreath, Mark
Ahhh yes, the bane of web app developers! I solved this problem with JavaScript and cookies - no browser back operations allowed! And spare me the what if JavaScript is turned off noise - it just doesn't happen in the REAL world. Mark -Original Message- From: Andrew Hill

RE: Moving from MVC architecture to STRUTS

2002-09-24 Thread Madhavi Thottempudi
Thanks for the reply Cliff. That really helped me. At 12:49 24/09/2002 +0100, you wrote: 1. From what I understood, at the Controller end - the Controller servlet and the mapping of the actions is provided by the framework. But when I saw the example struts application, I got bit confused

RE: [OT] RE: User Notification

2002-09-24 Thread Galbreath, Mark
True, but I'd like to hear more about what people are doing as far as integrating XSLT into a Struts app. Seems like every time I pick up a tech rag, SOAP and XML/XSLT are on the cover. Mark -Original Message- From: James Higginbotham [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September

RE: Struts and high performance sites

2002-09-24 Thread Galbreath, Mark
That's a ridiculous statement. Of course EJBs scale - that's precisely what the technology was designed for. Mark -Original Message- From: Daniel Joshua [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 6:07 AM V. Cekvenich, The slow part is DAO in J2EE (and ADO in .NET).

RE: EJB / was Struts and high performance sites

2002-09-24 Thread Galbreath, Mark
Check out http://shop.t-mobile.com dude - the entire site is a Struts + EJB app. If your EJBs didn't scale, you did not know what you were doing. Mark -Original Message- From: V. Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 7:26 AM They are hype marketed as

Re: DynaActionForm blowing away values...

2002-09-24 Thread Gemes Tibor
2002. szeptember 24. 13:54 dátummal James Krygowski ezt írtad: Hey all-- never mind, i think that my server log isn't completely sequential/real time... This is a good reason no to use System.out.println like stuff for debugging. Try using commons-logging w/ log4j for example. Tib -- To

RE: DynaActionForm blowing away values...

2002-09-24 Thread Galbreath, Mark
Huh? Don't all loggers use System.out? Mark -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 8:21 AM 2002. szeptember 24. 13:54 dátummal James Krygowski ezt írtad: Hey all-- never mind, i think that my server log isn't completely

RE: EJB / was Struts and high performance sites

2002-09-24 Thread Nick Sharples
Galbreath, Mark writes: Check out http://shop.t-mobile.com dude - the entire site is a Struts + EJB app. If your EJBs didn't scale, you did not know what you were doing. I thought we had this a couple of weeks ago and it turned out that it was just the ecommerce part of the site that was

html:link confusion

2002-09-24 Thread Stephen . Chambers
All, I had the code below in my jsp and everything was fine. It worked like it was supposed to. html:link href=reportReceived.do name= investigationEmploymentHistoryForm property=map target=_blankview Employment History Report/html:link Then the users decide that they didn't like the fact

RE: [ActionForm] Extending existing ActionForm classes

2002-09-24 Thread Robert Taylor
Charles, I'm not sure why your inheritence chain wouldn't work if your CreateUserProfileForm extends ActionForm and UpdateUserProfileForm extends CreateUserProfileForm. You may want to take 5 minutes and create a test scenario; create AForm which extends from ActionForm and create BForm and which

Re: DynaActionForm blowing away values...

2002-09-24 Thread Gemes Tibor
2002. szeptember 24. 14:26 dátummal Galbreath, Mark ezt írtad: Huh? Don't all loggers use System.out? No. do a grep -r System.out * on log4j source dir. Of course ConsoleAppender uses System.out but what about a JDBCAppender? Tib -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

[ANNOUNCE] StrutsTestCase v1.9 Released

2002-09-24 Thread Deryl Seale
StrutsTestCase v1.9 improves support for Struts 1.1b2 (including support for testing Tiles and sub-applications), provides several requested enhancements, and fixes many reported defects. The project home page can be found here: http://strutstestcase.sourceforge.net Notes for this release

Form reload problem

2002-09-24 Thread Valéry Jacot
Hi... I've the following problem: I have a form tag in a jsp page, on submit, it validate the form and then call the execute method of the action. If there is no errors in the validate method of the form, no problem. But if there is some errors, it come back to the page but don't write in the

RE: Struts and high performance sites

2002-09-24 Thread Jim Young
We have a couple Struts applications in production. Using Struts as the front end, all transaction go through a Delegator level (session control) to stateless session EJBs, then passed to transaction processors and finally to different legacy backend systems. Before we could go into production

very frustrating logic:iterate

2002-09-24 Thread deepank
this is the most frustrating experience ever i am storing an object in request scope like this request.setAttribute(revFormTeamVO, reviewFormTeamVO); reviewFormTeamVO is an object that has TreeMap, which in turn stores a beans in my jsp i do something like this logic:iterate id=reviewer

Re: logic:present on session bean

2002-09-24 Thread Eddie Bush
Yes, it's from the RI. logic:present is logic too :-) What's it there for though? Presentation. I see no harm in it ;-) Galbreath, Mark wrote: Hey Eddie, Is this stuff from the JSTL or Jakarta's implementation of the JSTL? It looks cool, but little too much like scriptlets - too much

RE: EJB / was Struts and high performance sites

2002-09-24 Thread Galbreath, Mark
That's correct; the front end is *ugh* ASP, built by some company in Texas called Frog. Mark -Original Message- From: Nick Sharples [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 8:31 AM To: Struts Users Mailing List Subject: RE: EJB / was Struts and high performance sites

Losing my mind over LookupDispatchAction

2002-09-24 Thread Darren Hill
Ok .. here's my action action path=/companytype=blah.CompanyAction name=companyForm scope=request input=/WEB-INF/pages/company.jsp parameter=submit forward name=success path=/company.jsp redirect=false/ /action my jsp snippet logic:iterate id=company name=company_list

RE: very frustrating logic:iterate

2002-09-24 Thread Sri Sankaran
There was an earlier post where the user reported that his error disappeared after removing an overloaded setter. Another angle: Try providing the 'type' attribute for the logic:iterate Sri -Original Message- From: deepank [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002

Re: very frustrating logic:iterate

2002-09-24 Thread deepank
Here is entire code for the bean that is getting stored in the TreeMap package com.sasken.erp.sdlc.db; public class Reviewer implements java.io.Serializable { private String sas_emp_flag_c; private String mail_id_v; private String emp_name_v; private String role_n; private String

Can't get Validator to validate required ... what am I missing?

2002-09-24 Thread Kilmer, Erich
I recently downloaded the latest Struts 1.1b2 and I am trying to get the validator working. I did drop the struts validator war into Weblogic and it validates fine. In my test, I did my own ValidatorTestForm which extends ValidatorForm and implements Serializable and it does not contain a

Login/Logout/Error management with no Container Managed Authentication

2002-09-24 Thread Heligon Sandra
Hi, I don't use Container Managed Authentication, because we have our own authentication methods so I can't use j_security_check action used in CMA. I would like to know if someone can send me rapidly an example of Login/Logout/Error (with application

RE: [OT][WORKFLOW] Any best practice for back, save, continue buttons?

2002-09-24 Thread Andrew Hill
Would your solution work without the cookies (ie: just the JS)? (Im trying to avoid cookies if I can, though if I cant I wont be too worried). Any chance you could share your technique? -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002

Re: [OT][WORKFLOW] Any best practice for back, save,continu e buttons?

2002-09-24 Thread Eddie Bush
Yes, it does! I can vouch for it! I personally know two (highly educated) people that refuse to allow them. They are ignorant about them, of course, but that doesn't change the fact that people *do* disable cookies/JavaScript! Now, if I know two people, then how many more people are there

Re: [ANNOUNCE] StrutsTestCase v1.9 Released

2002-09-24 Thread Zahid Rahman
I noticed that you have ANNOUNCEMENT as your subject header. Are you the official Struts organiser ? I am only really interested in announcements and I delete the rest ,hence I would like to make sure. Cheers, - Original Message - From: Deryl Seale [EMAIL PROTECTED] To: [EMAIL

RE: Struts and high performance sites

2002-09-24 Thread Andrew Hill
Oh cool! I though it was just to sell servers. ;- -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 20:10 To: 'Struts Users Mailing List' Subject: RE: Struts and high performance sites That's a ridiculous statement. Of course EJBs

Re: I try again... My action is not being called -I just get a blank page!

2002-09-24 Thread Vilya Harvey
Sorry, that was my mistake earlier: your HTML was correct. I thought you were using the page= attribute, rather than forward=, on the HTML link. I don't know what else could be causing the problem; I can't see anything obviously wrong. Good luck sorting it out though! Vil. -- Vilya Harvey,

RE: [OT][WORKFLOW] Any best practice for back, save, continu e buttons?

2002-09-24 Thread Andrew Hill
Id be dead without JS, and I think people would be silly to disable it, but cookies is another matter. I can understand folk disabling those... -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 22:10 To: Struts Users Mailing List Subject:

RE: [OT][WORKFLOW] Any best practice for back, save, continue b uttons?

2002-09-24 Thread Francis, Ronald
I've done this, and in a very similar way to what you describe. Works quite well. Ronald -Original Message- From: Dan Cancro [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 9:43 PM To: '[EMAIL PROTECTED]' Subject: [OT][WORKFLOW] Any best practice for back, save, continue b

Logout in a container-managed security environment

2002-09-24 Thread Charles McClain
All: When I first converted my app to use the Struts framework, I cribbed the login mechanism from the Struts example application. This worked nicely; besides the initial login function, the combination of the global loginpage forward and the app:checklogin tag (as well as the login check in

Re: Logout in a container-managed security environment

2002-09-24 Thread Eddie Bush
(see below) Charles McClain wrote: All: When I first converted my app to use the Struts framework, I cribbed the login mechanism from the Struts example application. This worked nicely; besides the initial login function, the combination of the global loginpage forward and the app:checklogin

Re: I try again... My action is not being called -I just get a blank page!

2002-09-24 Thread Nick Sharples
Vilya Harvey writes: If I write /do/acceptanstest/accDatabase I get the same result -a blank page. And if I remove the form tag, I will get a servlet error: Cannot find bean databaseForm in scope null. I don't get it.. Did you remember to remove the form part of the action

Re: Can't get Validator to validate required ... what am I missing?

2002-09-24 Thread Vilya Harvey
Here are a couple of things to check: * Do you have both the validation.xml and validator-rules.xml files in your WEB-INF directory? * How have you defined your ActionForm? It needs to be either a (subclass of) ValidatorForm or DynaValidatorForm. * Have you tried using session scope for the

Re: Redirected to index.jsp unexpectedly

2002-09-24 Thread Geoff Seel
Joe Thanks for suggestions. Have put sys-outs into TopLevelAction and even logs and a sys-out into a version of ActionServlet but don't see anything in logs. Using Sun RI 1.3.1, which I thought was Tomcat based, expected to find output in catalina.date.log. Anyone know where log stuff should be

Re: [OT][WORKFLOW] Any best practice for back, save,continu e buttons?

2002-09-24 Thread Daniel Jaffa
But do you have to worry about people that disable javascript, check to see if they do and if they do not tell them that they have to enable Javascript to use your site. - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday,

RE: [OT][WORKFLOW] Any best practice for back, save, continue b uttons?

2002-09-24 Thread Bartley, Chris P [PCS]
I'd strongly recommend not doing this kinda trick with the session (we briefly tried a prototype, and bailed on it because it created more problems than it solved). Here are a few gotchas: * By using the session, you eliminate the possibility that the user can view your app with more than one

FW: very frustrating logic:iterate

2002-09-24 Thread Sri Sankaran
Just read your first message again. You said reviewFormTeamVO is an object that has TreeMap, which in turn stores a beans in my jsp i do something like this logic:iterate id=reviewer name=revFormTeamVO property=reviewers If I'm not mistaken, the object you iterate over must be

logic : iterate is driving me mad

2002-09-24 Thread deepank
jsp code snippet logic:iterate id=reviewer name=revFormTeamVO property=reviewers bean:write name=reviewer property=emp_name / bean:write name=reviewer property=mail_id_v / bean:write name=reviewer property=role_n / /logic:iterate property reviewers is TreeMap that stores beans i get an

Re: very frustrating logic:iterate

2002-09-24 Thread deepank
when i say this in my jsp logic:iterate id=reviewer name=revFormTeamVO property=reviewers the property =reviewers actually returns a collection (TreeMap) if i say logic:iterate id=reviewer name=revFormTeamVO property=reviewers p hello world! /p /logic:iterate the loop prints hello world!

RE: [OT][WORKFLOW] Any best practice for back, save, continu e b uttons?

2002-09-24 Thread Francis, Ronald
Well I actually have this sort of thing working pretty well, but I do have the limitations you mention. But, IMHO, I don't that it creates more problems than it solves. 1) The session/multiple window problem can be fixed using a token kept in some hidden field. 2) Reloading the page , you

RE: logic : iterate is driving me mad

2002-09-24 Thread Jon.Ridgway
Hi Deepak I can't remember the exact syntax but the Struts docs on the web mention that you get a key and value object when you iterate over a Map. So try: logic:iterate id=reviewer name=revFormTeamVO property=reviewers bean:write name=reviewer property=value.emp_name / bean:write

Re: logic : iterate is driving me mad

2002-09-24 Thread deepank
IT WORKED THANKS VERY VERY VERY MUCH Deepank - Original Message - From: Jon.Ridgway [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, September 24, 2002 8:39 PM Subject: RE: logic : iterate is driving me mad Hi Deepak I can't remember the exact

Re: very frustrating logic:iterate

2002-09-24 Thread Vilya Harvey
Based on the bean code you posted earlier, the property name ought to be emp_name_v (i.e. what you had, but with '_v' added to the end). Hope that helps, Vil. -- Vilya Harvey, Consultant [EMAIL PROTECTED] / digital steps / (W) +44 (0)1483 469 480 (M) +44 (0)7816 678 457

Help needed with ActionForm Bean

2002-09-24 Thread Vincent Berruchon
Hi, I'm still newie and really confused on how to get HTML form filled with struts... I want to fill a select input in a form in one of my JSP. So I've write an ActionForm Bean with the get and set methods for each properties corresponding to an input on the form. But I don't know where these

Re: very frustrating logic:iterate

2002-09-24 Thread deepank
No i changed it The problem is solved, thanks to an earlier post. When using a TreeMap we get a key and a value so this is how it should be logic:iterate id=reviewer name=revFormTeamVO property=reviewers bean:write name=reviewer property=value.emp_name / bean:write name=reviewer

RE: Help needed with ActionForm Bean

2002-09-24 Thread Jon.Ridgway
Hi Vincent, I'm afraid there is no easy answer; you'll need to have a read at: http://jakarta.apache.org/struts/userGuide/index.html To get a quick start try looking at the source code of the struts-example.war. Jon Ridgway -Original Message- From: Vincent Berruchon [mailto:[EMAIL

RE: logic:present on session bean

2002-09-24 Thread Galbreath, Mark
Oh, you mean this is logical? logic:notPresent name=Mark property=beer.on.hand % Container mug = (Container) GoToStoreAction.getMoreBeer( India Pale Ale) % /logic:notPresent Mark Uh oh -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24,

RE: [ANNOUNCE] StrutsTestCase v1.9 Released

2002-09-24 Thread James Mitchell
No, anyone can make an announcement to this list. It is typically done with [ANN] or [ANNOUNCEMENT] It's about proper etiquette when sending e-mail to large volumes of subscribers and isn't specific to this list, Jakarta, or even Apache. Is this the first time you've see an [ANNOUNCEMENT]?

RE: Torque initialization/configuration in a Struts Application

2002-09-24 Thread Russ Bonsall
It's probably best not to tie your Torque configuration directly to Struts, especially since it is not necessary. Try putting the Torque.properties in your classpath (WEB_INF/classes) then use the following to initialize: PropertiesConfiguration conf = new PropertiesConfiguration();

Re: [ANNOUNCE] StrutsTestCase v1.9 Released

2002-09-24 Thread Zahid Rahman
I asked because the email address originated from acm.org hence I asked for clarification. Different email lists work in different ways. I know with some email lists, if you wish to follow the progress of a particular project then you can simply choose to subscribe to announcements only. Best

Re: Using data-source with ActionForm - MVC2

2002-09-24 Thread Vincent Berruchon
Just a word about MVC2 and what I've read about it: MVC2 is the evolution of the MVC model, the main difference seem to be the preference for an unique controller module (a unique controller servlet with Struts), because in first versions of the Model View Controller, MVC, most of the time

Struts tags for display a collection of views

2002-09-24 Thread Heligon Sandra
Hi, I don't know HTML/Struts tags very well, I would like to know if it is possible to display this kind of view: Previous | | Next

RE: [OT][WORKFLOW] Any best practice for back, save, continue buttons?

2002-09-24 Thread Galbreath, Mark
you might find a work-around using hidden fields, but I've attached the two classes that make it work. Hope it helps. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 10:05 AM To: Struts Users Mailing List Subject: RE: [OT][WORKFLOW] Any

frames and struts

2002-09-24 Thread adam kramer
I realize this question has been asked before but I could not find any definitive answers. Has anyone successfully used struts and frames together in an MVC framework? If so, could you please email me or the list outlining how you did it. You would save my sanity. Please, no replies saying

RE: [ANNOUNCE] StrutsTestCase v1.9 Released

2002-09-24 Thread James Mitchell
And we have that here (although on a much larger scalesort of ;) [EMAIL PROTECTED] I would highly recommend everyone involved in web development with Apache products to be subscribed to this list. I say this because of a recent (about 30 minutes ago) announcement sent out about a security

FW: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-24 Thread James Mitchell
I'm forwarding this just in case someone *NOT* on the [EMAIL PROTECTED] could be affected by it... Peace! James Mitchell -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 7:59 AM To: Tomcat Developers List; Tomcat Users List;

Tiles extend

2002-09-24 Thread Miguel Angel Medina Lopez
Hi all: I'm developing my first aplication with struts and tiles. I define the tiles in a XML file and I wanted to extend a definition. In the documentation said when I extend a definition only must fill the attributes name and extends, but not path because it's extended. However when I did that

RE: [OT][WORKFLOW] Any best practice for back, save, continu e buttons?

2002-09-24 Thread Galbreath, Mark
Dude, the only people you know are freaks. ;-) -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 10:10 AM To: Struts Users Mailing List Subject: Re: [OT][WORKFLOW] Any best practice for back, save, continu e buttons? Yes, it does! I can

RE: [OT][WORKFLOW] Any best practice for back, save, continue buttons?

2002-09-24 Thread Andrew Hill
Thanks for that. Give one or two paragraph summary can or not? ten-second-assesment It stores a 'magic' number and each time the page is entered if you have the wrong magic number if will forward you, until eventually you reach the page your supposed to be on? /ten-second-assesment

RE: [OT][WORKFLOW] Any best practice for back, save, continu e buttons?

2002-09-24 Thread Galbreath, Mark
Nope - it's apparent. For example, go to shop.t-mobile.com and try to do anything with JS turned off. Anybody deliberately turning JS off is either ignorant or a cracker. Mark -Original Message- From: Daniel Jaffa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 10:39 AM

Firewall and Struts inhibit CSS references

2002-09-24 Thread Afshartous, Nick
We have run into an issue with references to CSS files. The references have this form link rel=STYLESHEET type=text/css href=/strutstest/css/adm_01.css We have set up the application in our DMZ and the pages are rendered fine for us, however for one of

Re: Firewall and Struts inhibit CSS references

2002-09-24 Thread Eddie Bush
Pardon, but I think your subject is misleading. Struts is doing nothing to inhibit your CSS references. Your firewall I don't know about - that's a different story. This is definitely not a Struts issue though :-) Afshartous, Nick wrote: We have run into an issue with references to

RE: [OT][WORKFLOW] Any best practice for back, save, continu e buttons?

2002-09-24 Thread Andrew Hill
Well... remind me not to browse any of your sites with Lynx... shame on you! ;-) sighOh for the good old days of gopher/sigh -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 00:27 To: 'Struts Users Mailing List' Subject: RE:

RE: Help needed with ActionForm Bean

2002-09-24 Thread Taylor, Jason
You may want to look at an example that uses DynaActionForm as the class associated with an action in the action-mappings node of the struts-config.xml -Original Message- From: Vincent Berruchon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 8:19 AM To: Struts Users Mailing

RE: Firewall and Struts inhibit CSS references

2002-09-24 Thread James Mitchell
The request made by the browser for the text file /strutstest/css/adm_01.css is handled by your web server. It never even makes it to the servlet container, much less the struts action servlet. You should consult the firewall documentation or try a bit more debugging with your firewall

RE: Tiles extend

2002-09-24 Thread Padma Ginnaram
I had a simillar problem using tiles(version prior to 1.1) and enclosed is an email discussing the issue. See if this fix works for you. - Padma -Original Message- From: Miguel Angel Medina Lopez [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 12:30 PM To: Struts Users

RE: Help needed with ActionForm Bean

2002-09-24 Thread Galbreath, Mark
It's magic. Seriously, your getters and setters in your ActionForm bean correspond to the HTML input fields in your JSP. So if you have a select dropdown in the JSP called state, in some HTML form for collecting personal information you could have private state = ; public void setState(

RE: [ANNOUNCE] StrutsTestCase v1.9 Released

2002-09-24 Thread Galbreath, Mark
Probably not, but most likely the first time he's seen the word etiquette. Mark -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 11:47 AM No, anyone can make an announcement to this list. It is typically done with [ANN] or

  1   2   >