Help - xml to pdf using struts

2002-08-14 Thread Zimmer, Robin (SSABSA)
I am in the last stages of implementating a Struts application. I now have to complete the reporting side. This basically consists of displaying xml output as HTML or PDF. I have the HTML side covered (I am using jakarta XTags) but how do I render an xml to fo transformation to pdf by using struts

Solved my Struts Tiles Websphere 4.02, 4.03 4.04 Problem

2002-08-14 Thread Tin Pham
Hi,   Thanks for the responses, I've solved my problem I think. The main thing.. not positive until I have more time to do more tests may be a combo of version incompatibility and not doing a regen after installing my war file.   4.01 = doesn't work at all doesn't even compile. 4.02 = work a

RE: Checkboxes

2002-08-14 Thread Martin Cooper
Try using the tag, instead of a raw checkbox field - it was created for just this kind of situation. -- Martin Cooper > -Original Message- > From: Eric Chia Bok Lim [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 14, 2002 8:10 PM > To: '[EMAIL PROTECTED]' > Subject: FW: Checkboxes

FW: Checkboxes

2002-08-14 Thread Eric Chia Bok Lim
> if I got a list of user details, eg. > > User Name Country Age Sex Occupation Marital > StatusCheckbox > Tester 1 Singapore 35 MaleLawyer > Married checked > Tester 2 Hong Kong 25 Female Doctor

RE: O/R mapping tool

2002-08-14 Thread Jason Chaffee
I haven't used it, but Jakarta's OJB sounds interesting. -Original Message- From: Stephen Ting [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 5:46 PM To: 'Struts Users Mailing List' Subject: RE: O/R mapping tool Anyone of you know any good O/R mapping tool that support mult

Losing images When Using Struts-Tiles.jar with Websphere 4.02 or 4.03 or 4.04

2002-08-14 Thread Tin Pham
Has anybody here every implented templates or tiles in Struts with Websphere 4.02 and up? I've tried wars from everywhere; struts-template.war (from release 1.0.2) to struts-tiles.war (from milestone Struts 1.1 Beta2) to the Tiles http://www.lifl.fr/~dumoulin/tiles/ provided versions. I don't g

RE: O/R mapping tool

2002-08-14 Thread James Mitchell
Yes, try OJB. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open-tools.org/struts-atlanta > -Original Message- > From: Stephen Ting [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 14, 2002 8:46 PM > To: 'Struts U

RE: Simple Struts "Hello World" application gets NPE in ProxyDirConte xt.cacheLoad() when adding Validator

2002-08-14 Thread James Mitchell
The first thing I notice is that you have a global forward named "main" and an action mapping named "main". Did you mean to do this. I'm not sure it would make a big difference given order of precedence in finding actions/forwards, but you might consider changing one to something like 'main-menu

Button can link to section in another page ?

2002-08-14 Thread Wah, David
Hi : Is it possible to click a button (created by Go ) so that it will link to a section in "another" page ? Your help is appreciated ! Best Regards, David ** This message and any files transmitte

Button can link to section in another page ?

2002-08-14 Thread Wah, David
Hi : Is it possible to click a button (created by Go ) so that it will link to a section in "another" page ? Your help is appreciated ! Best Regards, David ** This message and any files transmitte

RE: Local/Global Exception Handling: How do you specify ContextRe lati ve path(action's input) in the Sub-Apps' struts-config.xml

2002-08-14 Thread Trieu, Danny
Thanks Cedric, I haven't gotten to develop any Tiles yet. Cedric, what is your advice on using tiles with sub-module? danny -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 5:56 PM To: Struts Users Mailing List Subject: Re: Local/Glo

Re: Tiles and sub-applications within cvs code

2002-08-14 Thread Cedric Dumoulin
Yes. Actually all definitions are in one single factory, accessible from all sub-apps. Cedric Steve Wilkinson wrote: >I'm looking into spliting our web application into multiple >sub-applications. The sub-application break will need access to the same >layouts. I was wondering

Re: extending the content in templates & tiles

2002-08-14 Thread Cedric Dumoulin
Hi, With Tiles you should be able to do something like this (not tested): ...some HTML-Code here instead of a file ...and some HTML-Code here. Be aware that your tags inside your are interpreted in the same page than the , not

Re: Local/Global Exception Handling: How do you specify ContextRelati ve path(action's input) in the Sub-Apps' struts-config.xml

2002-08-14 Thread Cedric Dumoulin
Hi, You should be able to use a tile definition name in the path of an exception. The struts exception mechanism create a forwardConfig which is treated like an normal forwardConfig. So, Tiles catch the exception forward and check for tiles definition name before struts do its forward.

Re: Losing images When Using Struts-Tiles.jar with Websphere 4.02or 4.03 or 4.04

2002-08-14 Thread Cedric Dumoulin
Hi, Check the html source of your resulting html page. What is the URL for the image ? Is there an image at this URL ? Cedric Tin Pham wrote: > Has anybody here every implented templates or tiles in Struts with > Websphere 4.02 and up? I've tried wars from everywhere; > struts-temp

Re: Struts 1.1, Tiles, and blank webapp

2002-08-14 Thread Cedric Dumoulin
Hi, Tiles is normally part of the latest struts.jar. I can't download it to check, but it should. Also, you can test with the new struts1.1b2 release. Tiles site has also some blank applications to start with (in the bin dist). The one dedicated to struts1.1 should run with latest strut

Re: Struts' "Bug" mentioned in Tile example

2002-08-14 Thread Cedric Dumoulin
I think the bug is closed, but various tiles files aren't updated. Try to comment the tag and check if your application run correctly. My applications run without the tag ! The bug was that some struts tags failed if struts doesn't find an application resource file. Cedric Chuong Huyn

Re: Validation with tiles

2002-08-14 Thread Cedric Dumoulin
If you put params from actions, it can only be request parameters, set with parameter="...". The tiles preferred way is to put tiles attributes in the definition, and forward to this definition. Cedric Jacob Hookom wrote: >What is the proper way of forwarding users, but with params from

RE: O/R mapping tool

2002-08-14 Thread Stephen Ting
Anyone of you know any good O/R mapping tool that support multiple RDBMS? > -Original Message- > From: Claudio Parnenzini [mailto:[EMAIL PROTECTED]] > Sent: 14 August 2002 22:53 > To: Struts Users Mailing List > Subject: RE: O/R mapping tool > > > I have succesfuly used simpleORM O/R

RE: Details of Action, ActionForm, and JSP page using logic:itera te a nd html:multibox?

2002-08-14 Thread Martin Cooper
> -Original Message- > From: Karr, David [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 14, 2002 12:30 PM > To: '[EMAIL PROTECTED]' > Subject: Details of Action, ActionForm, and JSP page using > logic:iterate > a nd html:multibox? > > > I could use a concise description of the a

RE: Simple Struts "Hello World" application gets NPE in ProxyDirConte xt.cacheLoad() when adding Validator

2002-08-14 Thread Karr, David
Title: RE: Simple Struts "Hello World" application gets NPE in ProxyDirConte xt.cacheLoad() when adding Validator > -Original Message- > From: Karr, David [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 14, 2002 4:12 PM > To: '[EMAIL PROTECTED]' > Subject: Simple Struts "Hello Wor

Simple Struts "Hello World" application gets NPE in ProxyDirContext.cacheLoad() when adding Validator

2002-08-14 Thread Karr, David
I have a relatively simple "Hello World" Struts application, using a single form bean, two actions, and a few boilerplate tiles. I'm using Struts1.1b2. I decided to try adding the Validator for client-side validation. I copied validator-rules.xml and created a simple validation.xml file (to vali

RE: action config

2002-08-14 Thread Martin Cooper
There is a 'parameter' attribute on the element, which you might be able to use for this, if you're not already using it for something else (such as DispatchAction). -- Martin Cooper > -Original Message- > From: Abdullah, Khurrum [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 14,

RE: Unable to return error to jsp page

2002-08-14 Thread Martin Cooper
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 14, 2002 1:50 PM > To: [EMAIL PROTECTED] > Subject: Unable to return error to jsp page > > > Hi, > > I'm stuck... getting an error when the controller servlet is trying to > return m

RE: Non-peer sub-apps (was RE: Local/Global Exception Handling:H ow d o you specify ContextRe lati ve path(action's input) in theSub-App s ' str uts-config.xml)

2002-08-14 Thread Martin Cooper
> -Original Message- > From: Trieu, Danny [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 14, 2002 2:55 PM > To: 'Struts Users Mailing List' > Subject: RE: Non-peer sub-apps (was RE: Local/Global > Exception Handling: > H ow d o you specify ContextRe lati ve path(action's input) in

RE: Quick Upload Question

2002-08-14 Thread Jacob Hookom
I apologize for the following post, I forget the whole abstract/extend thing that java does ;-) | -Original Message- | From: Jacob Hookom [mailto:[EMAIL PROTECTED]] | Sent: Wednesday, August 14, 2002 4:09 PM | To: 'Struts Users Mailing List' | Subject: Quick Upload Question | | I checke

Jianbo Mao is out of the office.

2002-08-14 Thread jmao
I will be out of the office starting 14/08/2002 and will not return until 02/09/2002. Please contact Ken Mckay in any urgent business issues on +44 1753 567896. Thanks -- To unsubscribe, e-mail: For additional commands, e-mail:

action config

2002-08-14 Thread Abdullah, Khurrum
I am doing http post from my Action Class to another server. For this server I need some config parameters like hostname and port number. Can I specify there parameter in struts-config.xml and get them in my action class. If not what is the best way of getting configuration parameters for each ac

RE: Non-peer sub-apps (was RE: Local/Global Exception Handling: How d o you specify ContextRe lati ve path(action's input) in the Sub-Apps' str uts-config.xml)

2002-08-14 Thread Trieu, Danny
Martin, Thanks for sharing! What you were doing can be a solution that works with sub-module too. Craig, Replied earlier, and agree to introduce the contextRelative attribute for the . Which is alright with me. What I want is consitency, and what Craig provided was to stay consistence with th

Re: Use of Iterator tag

2002-08-14 Thread Kris Schneider
Well, I suppose you could just toss the result of testbean.iterator() into a request attribute before hitting the page. Then do something like: ... If you think you might need to iterate over the elements more than once, you could pull the elements out of the iterator into a list (or some other

Quick Upload Question

2002-08-14 Thread Jacob Hookom
I checked the mail-archive for a solution, but I was wondering if I have an Action receive an upload request, do some processing, then forward it off to another action to actually handle the file writing, is there going to be an issue? ProjectResourceUpload.do //do processing retu

Tiles and sub-applications within cvs code

2002-08-14 Thread Steve Wilkinson
I'm looking into spliting our web application into multiple sub-applications. The sub-application break will need access to the same layouts. I was wondering if a definition within the main application will it be available in the sub-applications? Steve -- To unsubscribe, e-mail:

Unable to return error to jsp page

2002-08-14 Thread John . Fairbairn
Hi, I'm stuck... getting an error when the controller servlet is trying to return my error to the jsp which issued the request. I am returning the error directly from my Action servlet: System.out.println("Saving errors..."); saveErrors(request,errors); System.out.println("Returning

Non-peer sub-apps (was RE: Local/Global Exception Handling: Howd o you specify ContextRe lati ve path(action's input) in the Sub-Apps'str uts-config.xml)

2002-08-14 Thread Martin Cooper
I understand what you are trying to do, because I've done it myself. It really isn't the way modules (sub-apps) were designed to be used, and I extended several aspects of Struts to get it to work. Let me describe my app a bit, and how I extended Struts to do what I needed to do. Rather than bein

RE: Does anybody know how to PRE-select MULTIPLE options with the selct tag?

2002-08-14 Thread Sri Sankaran
See sample app that ships with Struts. struts-exercise-taglib/html-select.jsp Sri -Original Message- From: Jim Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 4:31 PM To: Struts Users Mailing List Subject: Does anybody know how to PRE-select MULTIPLE options with the se

Does anybody know how to PRE-select MULTIPLE options with the selct tag?

2002-08-14 Thread Jim Lee
- Do You Yahoo!? HotJobs, a Yahoo! service - Search Thousands of New Jobs

Re: Tiles.jar - Class 'TilesPlugin' missing from the jar

2002-08-14 Thread Cedric Dumoulin
Hi, Tiles is now included in struts.jar, so you don't need to use tiles.jar anymore if you use Struts1.1 nightly build. TilesPlugin class should be in struts.jar. Cedric Manish Bhalla wrote: >Hi > > >>Problem - Tiles.jar doesnt have TilesPlugin class. >>It is required for configurin

Re: Nightly build 08052002: Tiles plugin and mapping.findForward

2002-08-14 Thread Cedric Dumoulin
Hello, Your definition 'login' has an error: I think you would like to extends 'base', not to use it as a path ;-). If you specify a path, you should start it with a leading '/'. Hope this help, Cedric matt_raible wrote: >I just switched from using the ActionCompone

Details of Action, ActionForm, and JSP page using logic:iterate and html:multibox?

2002-08-14 Thread Karr, David
I could use a concise description of the alternatives and details of setting up my Actions, ActionForm, and JSP pages so I can have a logic:iterate wrapping a set of html:multibox elements, and so the set options can be communicated back and forth effectively. I could also use any pointers to doc

RE: Use of Iterator tag

2002-08-14 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, nathan phillips wrote: > Date: Wed, 14 Aug 2002 19:16:46 + > From: nathan phillips <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RE: Use of Iterator tag > > You may disagree, but I feel that it would be

RE: Use of Iterator tag

2002-08-14 Thread Martin Cooper
> -Original Message- > From: nathan phillips [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 14, 2002 9:33 AM > To: [EMAIL PROTECTED] > Subject: Use of Iterator tag > > > > Hello all, > > I'm new to Struts and attempting to make use of the iterator > tag. I have a > couple qu

RE: Use of Iterator tag

2002-08-14 Thread nathan phillips
You may disagree, but I feel that it would be bad design to have both. I guess my thinking is that by providing both you start making your API confusing and polluted. Some people will use iterator some will use getIterator and someone will have to check the Javadoc to see what the difference

Re: Cannot specify multiple log files with CommonsLogging/Log4j

2002-08-14 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, Greg Hess wrote: > Date: Wed, 14 Aug 2002 14:36:47 -0400 > From: Greg Hess <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Mail List <[EMAIL PROTECTED]> > Subject: Cannot specify multiple log files with CommonsLogging/Log4j > > Hi

RE: Use of Iterator tag

2002-08-14 Thread Troy Hart
Why not have both? public Iterator getIterator() { return this.iterator(); } Troy On Wed, 2002-08-14 at 11:24, David Marine wrote: > The convention of naming the method to access a collection's iterator > "iterator" instead of the Bean compliant "getIterator" is one set by Sun > itself. It is

Re: cannot resolve symbol from bean / radio button value iterationproblem

2002-08-14 Thread Austin Lowry
I'm not really sure what fixed this, but here is what happened. I tried to go back and make sure that I could get the page to load without using any type of scriptlet after the value= attribute. What worked last week, suddenly didn't work today. None of my tags were being interpreted and were

Cannot specify multiple log files with CommonsLogging/Log4j

2002-08-14 Thread Greg Hess
Hi All, I am deploying multiple instances of the same web app in the same web container Resin2.1.2. I would like to have each web application use a unique log file to simplify bug tracking. I am specifying the log4j.appender.rolling.File=logs/appinstance1701794474_65.log with a new log file for e

RE: Use of Iterator tag

2002-08-14 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, nathan phillips wrote: > Date: Wed, 14 Aug 2002 17:11:50 + > From: nathan phillips <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RE: Use of Iterator tag > > I simply have a method named "iterator" in my

RE: Use of Iterator tag

2002-08-14 Thread David Marine
The convention of naming the method to access a collection's iterator "iterator" instead of the Bean compliant "getIterator" is one set by Sun itself. It is unfortunate, however, while renaming your method makes it inconsistent with the method naming used in the Java collections, it will make the

RE: Use of Iterator tag

2002-08-14 Thread Tim T. Young
Refactor mercilessly! :) Tim "nathan

RE: Use of Iterator tag

2002-08-14 Thread nathan phillips
Actually I have a large object base that contains objects with iterator methods. I didn't want to disturb it by writing "getIterator" methods. Thanks for your help though. From: "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]

Re: can you have in your ApplicationResources.properties?

2002-08-14 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, Richards, Devin N (Devin) wrote: > Date: Wed, 14 Aug 2002 13:01:34 -0400 > From: "Richards, Devin N (Devin)" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: "Users Mailing List Struts (E-mail)" <[EMAIL PROTECTED]> > Subject: can you have

RE: Use of Iterator tag

2002-08-14 Thread Kamholz, Keith (corp-staff) USX
You're trying to bypass the internal workings of struts. That's just the way struts works, if you want to pull the iterator out of the bean, you need the get method. If you want to keep the iterator method only because it's used else where and you don't want to change it in those places, I suppo

RE: Local/Global Exception Handling: How do you specify ContextRe lati ve path(action's input) in the Sub-Apps' struts-config.xml

2002-08-14 Thread Craig R. McClanahan
There's an existing bug report against the element, asking that a contextRelative switch be added to it. I expressed my concerns about doing this in a message a couple of days ago, but am sympathetic to the reasoning behind the request. My personal (perhaps idealistic) view is that modules shou

RE: Use of Iterator tag

2002-08-14 Thread Darren Hill
That's how the 'property' attribute works ... in a set, it resolves to the setXXX and same with get. Can't think of a reason you wouldn't want to write a getIterator method? -Original Message- From: nathan phillips [mailto:[EMAIL PROTECTED]] Sent: August 14, 2002 1:12 PM To: [EMAIL PROTE

RE: Use of Iterator tag

2002-08-14 Thread nathan phillips
I simply have a method named "iterator" in my bean that I'd like to use. If I rename it to "getIterator" then it works fine. However, I don't want to rename my method to "getIterator." Any ideas? From: "Kamholz, Keith (corp-staff) USX" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing L

RE: can you have in your ApplicationResources.properties?

2002-08-14 Thread Kamholz, Keith (corp-staff) USX
Well, I haven't tried custom tags in the properties file, but i know it takes any standard html tags. Could you use if doesn't work? I'm curious to find out if the custom tags would work though. ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From: Richards, Devin N (Devi

Re: Sax.jar, xml2parser.jar, ... in folder WEB-INF/lib problem

2002-08-14 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, Nicolas Compagnon wrote: > Date: Wed, 14 Aug 2002 15:23:30 +0200 > From: Nicolas Compagnon <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Sax.jar, xml2parser.jar, ... in folder WEB

Re: Struts architecture performance

2002-08-14 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, Benjamin Schupp wrote: > Date: Wed, 14 Aug 2002 14:24:35 +0200 > From: Benjamin Schupp <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: Struts architecture performance > > Hi Thi

RE: Handling lists

2002-08-14 Thread Kamholz, Keith (corp-staff) USX
Yeah, struts usually expecs a String[] for lists, but i don't see how it is awkward. It shouldn't matter how many items are in the list. Struts will automatically fill the array with all the values sent from the form. ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From:

RE: Use of Iterator tag

2002-08-14 Thread Kamholz, Keith (corp-staff) USX
Oh, you're trying to do this without a get method? Why don't you want to use the get method? How else would you like to retrieve the iterator from your bean? ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From: nathan phillips [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

can you have in your ApplicationResources.properties?

2002-08-14 Thread Richards, Devin N (Devin)
I have the following using 1.1-b2 Ack.jsp ApplicatoinResources.properties: com.myco.myapp.sig=Thank you for your inquiry. You may submit another question When the action displays the Tiles definition that contains Ack.jsp all of the text appears on the page, but the was not "processed" and t

Re: Interoperability of Struts and SOAP [Was: Is Struts suitable for Java client?]

2002-08-14 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, John Yu wrote: > Date: Wed, 14 Aug 2002 18:50:21 +0800 > From: John Yu <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Interoperability of Struts and SOAP [Was: Is Struts suitable >

ApplicationResource.properties causing JasperException

2002-08-14 Thread Morycz, Felicia V
1. I made changes in my ApplicationResource.properties file that caused a JasperException stating that is could not find a property. I restored from my backup and the problem is fixed, but can you share some known pitfalls in modifying a property file? I seem to remember something about an extr

Re: SV: Struts and JavaMail

2002-08-14 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, Marcus Andersson wrote: > Date: Wed, 14 Aug 2002 09:10:45 +0200 > From: Marcus Andersson <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: SV: Struts and JavaMail > > Thanx a lot. I

Re: release 1.1-b2 depends on commons-digester-1.2

2002-08-14 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, Gemes Tibor wrote: > Date: Wed, 14 Aug 2002 08:38:33 +0200 > From: Gemes Tibor <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: release 1.1-b2 depends on commons-digester-1.2 > >

RE: Use of Iterator tag

2002-08-14 Thread nathan phillips
Hi Keith, Thanks for the fast response. I've since added the type per your suggestion. However, it still complains that the method "iterator" has no getter. When I add "getIterator" to my class it works fine. There must be a way to get this to work without having to use a getter method.

extending the content in templates & tiles

2002-08-14 Thread Kay Lingenauber
Hi everybody, although I surfed through the docs und mail-lits of Struts etc. I didn't find a solution for my template-problem. I developed a web-application with JSP's in the presentation layer. For now, no templates etc. are used. As described in http://jakarta.apache.org/struts/doc-1.0.2/

Handling lists

2002-08-14 Thread Lister, Tom (ANTS)
Does anyone know of a good reference that explains the use of select lists I want to create a list on a page then have it populate a collection in the Form bean I can create the lists in the form but I'm not sure what the data type should be on the form setter. I'd like to use a Collection but I

RE: What is a better way to check user login?

2002-08-14 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, Jacob Hookom wrote: > Date: Wed, 14 Aug 2002 00:33:18 -0500 > From: Jacob Hookom <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: RE: What is a better way to check user login? > >

Re: Is Struts suitable for Java client?

2002-08-14 Thread Craig R. McClanahan
On Wed, 14 Aug 2002, Leslie Yu wrote: > Date: Wed, 14 Aug 2002 14:49:33 -0700 > From: Leslie Yu <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: Re: Is Struts suitable for Java client? > > Hi all, > >

Jianbo Mao is out of the office.

2002-08-14 Thread jmao
I will be out of the office starting 14/08/2002 and will not return until 02/09/2002. Please contact Ken Mckay in any urgent business issues on +44 1753 567896. Thanks -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Use of Iterator tag

2002-08-14 Thread Kamholz, Keith (corp-staff) USX
Hey, For your first question, I think you should specify the 'type' attribute of the iterate tag. This indicates the type of variable that the collection contains, and is pretty important (i think). For the radio button, use a little scriptlet to set the value. In your case it would be: I th

Mentionned Validator Resources not accessible on Struts web site

2002-08-14 Thread Patrick Refondini
I am looking for Struts Validator resources. Is it on purpose that the resources mentionned at the following link are not accessible (yet) ? http://jakarta.apache.org/struts/userGuide/dev_validator.html Patrick -- To unsubscribe, e-mail: For additional commands, e

RE: Local/Global Exception Handling: How do you specify ContextRe lati ve path(action's input) in the Sub-Apps' struts-config.xml

2002-08-14 Thread Trieu, Danny
Craig, Thanks for your help. It has been valuable. Craig, Sub-Module are very useful. However, it seems to Only allow you to modulize the controller components and not the View components. Let says we are using tiles, or some others technique, for our View Composition Strategy (VCS). VCS and

Use of Iterator tag

2002-08-14 Thread nathan phillips
Hello all, I'm new to Struts and attempting to make use of the iterator tag. I have a couple questions that I'm hoping some kind individual can help me answer in regards to the iterator tag. I have a bean with a method named "iterator" that returns an iterator. If I do this it tells me I h

Re: Is it possible to generate styleId ?

2002-08-14 Thread Patrick Refondini
Maris Orbidans wrote: > Hello > > I would like to have styleId different for each element. How to achieve >it ? > > type="lv.datapro.lad.pri.utils.Zurnals4BaseView"> > > > > > I want this because I will generate some JavaScript that will validate those date >fields. >

Re: merge Struts and stxx?

2002-08-14 Thread Jeff Pennal
Hi Glen, Currenly stxx has a 1.1 version in CVS (under the branch stxx1_1) which behaves as a proper "sub-application" under struts. I have talked to Craig McClanahan about incorporating stxx into struts, like tiles and velocity are and it looks like that's the way we'll go with stxx. Right

RE: logic:equals and null

2002-08-14 Thread Lister, Tom (ANTS)
ah ha found logic:present ! :-) Tom Lister * 020 7612 3030 * [EMAIL PROTECTED] -Original Message- From: Lister, Tom (ANTS) [mailto:[EMAIL PROTECTED]] Sent: 14 August 2002 15:43 To: 'Struts Users Mailing List' Subject: logic:equals and null is it possible to check a field = null usin

merge Struts and stxx?

2002-08-14 Thread Mazza, Glen R, PERSCOM
Hello, I was wondering if perhaps a future release of Struts might be enhanced if it integrated the XML/XSLT/PDF possibilities of stxx. An email on the struts-xsl Yahoo group (http://groups.yahoo.com/group/struts-xsl/message/240) about Oracle's Cleveland web framework, criticized Struts for not

logic:equals and null

2002-08-14 Thread Lister, Tom (ANTS)
is it possible to check a field = null using logic equals :-) Tom Lister * 020 7612 3030 * [EMAIL PROTECTED] *** This communication (including any attachments) contains confidential information. If you are not the intende

[The MLF] New Critical Release...

2002-08-14 Thread Carol and David Marine
Hello, After my previous posting, when I announced the Model Layer Framework (MLF) as an open source complement to STRUTS, there were over 40 downloads. In that release (version 3.2), there was small but critical bug that has been fixed in the newly released version 3.2.5. I am posting this messa

Re: cannot resolve symbol from bean / radio button value iteration problem

2002-08-14 Thread Abhishek Goel
i think you should give property and type name with iterate tag so that struts can know that your id attribute should act in what manner? Austin Lowry wrote: > What I am attempting to accomplish is to display a list of radio buttons > based on entity objects I have stored in a vector. Creating t

Re: cannot resolve symbol from bean / radio button value iteration problem

2002-08-14 Thread Tarun Sainanee
I had the exact same problem a couple of weeks back and it still stays. Regards, Tarun Sainanee TCS Delhi -- Nothing gives one person so much advantage over anot

RE: Re[4]: Space problem

2002-08-14 Thread Tarun Sainanee
thats a little confusing to me. Will try.. Regards, Tarun Sainanee TCS Delhi -- Nothing gives one person so much advantage over another as to remain always c

RE: cannot resolve symbol from bean / radio button value iteration problem

2002-08-14 Thread Gopal . Gorthi
Hi Did you try specifying the type of "cer" (the type of the individual elements of the collection "cers") on the tag some thing like this. Ship Date: I hope this MAY work. Regards Gopal -Original Message- From: Austin Lowry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14,

RE: Re[4]: Space problem

2002-08-14 Thread Gopal . Gorthi
Yes! You cannot call the getter directly. But you can use here you use your html:ratio and you can call getter on aBean which is a bean from the lvObjcollection. Gopal -Original Message- From: Tarun Sainanee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 200

cannot resolve symbol from bean / radio button value iteration problem

2002-08-14 Thread Austin Lowry
What I am attempting to accomplish is to display a list of radio buttons based on entity objects I have stored in a vector. Creating the buttons and the desired text is not a problem, but assigning a value to each of the buttons created so that I can determine which of my entities was selected is.

RE: Re[4]: Space problem

2002-08-14 Thread Tarun Sainanee
No no no lvObj is a collection and the getter method cannot be call directly on that. Right? ;-) Regards, Tarun Sainanee TCS Delhi -- Nothing gives one person so

RE: Re[4]: Space problem

2002-08-14 Thread Gopal . Gorthi
Hi Tarun Sorry there is a mistake in my previous Message it should be like This is a test Message I think this will work. Gopal -Original Message- From: Tarun Sainanee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 10:33 AM To: Struts Users Mailing List Subject: Re: R

RE: Re[4]: Space problem

2002-08-14 Thread Gopal . Gorthi
Hi Tarun Have you tried some thing like this. I think this will work. This is a test Message Gopal -Original Message- From: Tarun Sainanee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 10:33 AM To: Struts Users Mailing List Subject: Re: Re[4]: Space problem tried all

RE: O/R mapping tool

2002-08-14 Thread Claudio Parnenzini
I have succesfuly used simpleORM O/R mapping framework. He is easy to use and to implement. See www.simpleorm.org -Message d'origine- De : Kevin Viet [mailto:[EMAIL PROTECTED]] Envoyé : Tuesday, August 13, 2002 2:12 PM À : Struts Users Mailing List Objet : O/R mapping tool Hello all, j

RE: Losing images When Using Struts-Tiles.jar with Websphere 4.02 or 4.03 or 4.04

2002-08-14 Thread Richards, Devin N (Devin)
Which tag are you using? or remember that the src attribute is relative to the web server, while the page attribute is relative to the WAS. Thus Would get a file named logo.jpg from the WebServer's doc-root/images directory, while Would get a file named logo.jpg from the context-root.war

Losing images When Using Struts-Tiles.jar with Websphere 4.02 or 4.03 or 4.04

2002-08-14 Thread Tin Pham
Has anybody here every implented templates or tiles in Struts with Websphere 4.02 and up? I've tried wars from everywhere;struts-template.war (from release 1.0.2) to struts-tiles.war (from milestone Struts 1.1 Beta2) to the Tiles http://www.lifl.fr/~dumoulin/tiles/ provided versions.   I do

Re: Re[4]: Space problem

2002-08-14 Thread Tarun Sainanee
tried all this before i posted it on the struts user mailing Regards, Tarun Sainanee TCS Delhi -- Nothing gives one person so much advantage over another as t

Re[4]: Space problem

2002-08-14 Thread Dariusz Wojtas
Try to find what data are sent by the browser. Set your form method to GET and check what appears in your url after submit. Your struts form gets data from there. After this you should know if it is some misspelling problem on your side or some deeply hidden problem in struts :-) Darek Wednesda

Re: Re[2]: Space problem

2002-08-14 Thread Tarun Sainanee
it works fine if i dont use the struts way of displaying data on the screen. ts pretty perplexing to me but i have tried this on different screens with uncomplicated data.. Regards, Tarun Sainanee TCS Delhi -

Re[2]: Space problem

2002-08-14 Thread Dariusz Wojtas
It is still not in quotes. Otherways I don't see possibility to get partial data input by the getter. Check your output HTML code. Try Darek Wednesday, August 14, 2002, 4:02:06 PM, you wrote: TS> this is what i do TS> > "> TS> I have a corresponding getter method getcsObj() in a dataclass,

RE: Space problem

2002-08-14 Thread Sri Sankaran
Looks like you have a quoting (") problem. The value attribute doesn't begin with a quote but ends with one. -Original Message- From: Tarun Sainanee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 10:02 AM To: Struts Users Mailing List Subject: Re: Space problem this is

Re: Space problem

2002-08-14 Thread Tarun Sainanee
this is what i do "> I have a corresponding getter method getcsObj() in a dataclass, the multiple instances of which are in lvObj. Any clues? Regards, Tarun Sainanee TCS Delhi -

Sax.jar, xml2parser.jar, ... in folder WEB-INF/lib problem

2002-08-14 Thread Nicolas Compagnon
Hi everybody, I don't understand why I get the execution error : javax.servlet.ServletException: Class org/xml/sax/HandlerBase violates loader constraints when I try to use the library sax.jar (in WEB-INF/lib) to parse an XML file in my struts project. I use the Digester Class to generate some ob

  1   2   >