RE: Passing multiple ActionForms (at the same time) to an Action

2003-06-19 Thread Jon.Ridgway
Hi Paul, You might try changing the scope attribute of the actions associated with the forms to be session. Jon Ridgway -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: 19 June 2003 13:32 To: 'Struts Users Mailing List' Subject: RE: Passing multiple ActionForms

RE: if condition with or

2002-12-05 Thread Jon.Ridgway
Hi Jana, You might want to look at struts-el (JSTL expression language extension for struts). To implement with logic:eqal I think you would have to have three separate logic:equal blocks each containing the same jsp code, perhaps included. Jon Ridgway -Original Message- From: Jana

RE: Where can i get struts-el ???

2002-11-20 Thread Jon.Ridgway
Hi Andreas, I think you will find struts-el in more recent nightly builds. You can download these from the Struts web site. Jon Ridgway -Original Message- From: Andreas Langmann [mailto:[EMAIL PROTECTED]] Sent: 20 November 2002 10:48 To: Struts Users Mailing List Subject: Where can i

RE: Change the src of Image dynamically

2002-11-20 Thread Jon.Ridgway
Hi Alireza, You should look at the struts-el tags or the JSTL. You could then store the src as a bean property and reference like html:img src={bean.property} ... Jon Ridgway -Original Message- From: Alireza Fattahi [mailto:[EMAIL PROTECTED]] Sent: 20 November 2002 09:20 To: 'Struts

StrutsTestCase Struts Initialization

2002-11-13 Thread Jon.Ridgway
Hi All, I now have my StrutsTestCase's running. But I want to decorate them using JUnitPerf. The problem is that each time I invoke the StrutsTestCase perforAction() method Struts appears to re-initialize. This overhead detracts from the value of the load/stress tests performed by JUnitPerf. Is

StrutsTestCase configuration

2002-11-12 Thread Jon.Ridgway
Hi All I'm having some problems with the StrutsTestCase. I believe it is configured OK and all appropriate JARS (cactus etc) added to my WEB-INF/lib dir. The test runs but always throws the exception shown below: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at

RE: StrutsTestCase configuration

2002-11-12 Thread Jon.Ridgway
) of Struts are you using? Jon.Ridgway [EMAIL PROTECTED] on 11/12/2002 07:52:15 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To:'Struts Users Mailing List' [EMAIL PROTECTED] cc: (bcc: Kevin Bedell/Systems/USHO/SunLife) Subject:StrutsTestCase configuration

RE: StrutsTestCase configuration

2002-11-12 Thread Jon.Ridgway
would be to use a different version of Struts. I believe the version of strutstestcase you are using was tested with struts 1.1b2 - can you go back to that version? If not, I'd consider getting a more recent nightly build. Jon.Ridgway [EMAIL PROTECTED] on 11/12/2002 07:52:15 AM Please respond

Struts Validator

2002-11-07 Thread Jon.Ridgway
Hi All, I have two common validation issues I need some help with. Firstly I would like to use the validator to check that a password and its confirmation are equal. Secondly I would like to use the validator to ensure that a checkbox (terms and conditions) has been selected. A snippet for

RE: Struts Tag Request

2002-10-10 Thread Jon.Ridgway
Hi Johnathan In the struts-config.xml you will find the action-mapping section. Each mapping may contain an input attribute. This is the URI that can be accessed in your action class via either mapping.getInputForward() or mapping.getInput (). Jon Ridgway -Original Message- From:

RE: Scheduled Jobs

2002-09-26 Thread Jon.Ridgway
Hi Gus, I don't think this is a Struts issues (Struts doesn't have any Job Scheduling facilities) You might want to take a look at: http://www.part.net/quartz.html. Or do a search on the www.theserverside.com for 'job schedule' - loads of stuff. Jon Ridgway -Original Message-

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: 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: Access Session-Object from Form

2002-09-19 Thread Jon.Ridgway
Hi Marc, The normal approach (recommended I think) is to go through a 'load' action. This action would have access to the session object. In the action you setup your form bean with the required data and then forward onto the JSP. Have a look at Ted Husted's site www.husted.com/struts ; here

RE: Control a field in an HTML page

2002-09-19 Thread Jon.Ridgway
Hi Benoit, I think you might want to take a look at the Struts-validator. This allows you to validate input (date validation is included by default). It want stop the user entering an invalid date, but it will detect invalid dates upon submit of a form - return the user to the form and ask them

RE: Child Window

2002-09-09 Thread Jon.Ridgway
Hi Divakar, There are three (possibly more options) that I know of: - The pure Struts approach. Use an html:link forward=struts-config forward target=_blank/. Then in your popup have it submit to a target of _parent. - JavaScript window.open (popup). Again have the popup submit to a target of

RE: Child Window

2002-09-09 Thread Jon.Ridgway
: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: 09 September 2002 10:12 To: Struts Users Mailing List Subject: RE: Child Window Oh cool. I never knew you could submit to _parent. Whats the actual effect of doing so? -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent

RE: [Tokens][2] Where can I find more information....

2002-09-09 Thread Jon.Ridgway
Hi Andrew, The generateToken method in Action.java generates a unique token each time saveToken is called. Jon Ridgway -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: 09 September 2002 10:23 To: Struts Users Mailing List Subject: RE: [Tokens][2] Where can I find

RE: [Tokens][2] Where can I find more information....

2002-09-09 Thread Jon.Ridgway
Hi Andrew, Read your post properly this time; umm good point the same key is used and one would over right the over, invalidating the first... So yes it looks like they would interfere... Jon Ridgway -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: 09 September

RE: [Tokens][2] Where can I find more information....

2002-09-09 Thread Jon.Ridgway
support for multiple windows (keeping track of which is quite a nightmare!). -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 18:09 To: 'Struts Users Mailing List' Subject: RE: [Tokens][2] Where can I find more information

RE: Imbeded JavaScript

2002-09-06 Thread Jon.Ridgway
List Subject: Re: Imbeded JavaScript 2002. szeptember 5. 10:38 dátummal Jon.Ridgway ezt írtad: Hi All, html:select property=PODStatus style=width: 48px onchange=sub('load.pod.popup', '%=index%') html:options collection=dsList property=deliveryStatusCode/ /html:select

RE: How to set locale using j_security_check

2002-09-06 Thread Jon.Ridgway
Hi Mike, By default the user's locale will be set to that specified by their browser. If you want to give users the option of changing their locale you would have to display supported locales on a form (drop down, graphics etc) let the user pick a locale and post to an action then as you have

RE: how to return errors from Model component

2002-09-06 Thread Jon.Ridgway
Hi Donald, The approach I have used is to define a base exception that contains a map of error messages. Have your business exceptions extend this. In the struts action class catch the exception and morph them into ActionErrors, ie ActionErrors errors = new ActionErrors (); while

RE: how to return errors from Model component

2002-09-06 Thread Jon.Ridgway
- are there any plans to extend Struts to support the storing of resources in a LDAP/RDBMS store?) Jon Ridgway -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: 06 September 2002 16:41 To: 'Struts Users Mailing List' Subject: RE: how to return errors from Model component

Imbeded JavaScript

2002-09-05 Thread Jon.Ridgway
Hi All, Can anyone suggest a way to get WebLogic 6.1sp2 to evaluate the code below correctly. Its in a nested:iterate block that has an indexId=index. So what I would like to happen is have the %=index% scriptlet translated into the index value and passed into my JavaScript function. What

RE: Dynamic name to the text fields

2002-09-02 Thread Jon.Ridgway
Hi All, I might be wrong, but I thought the nested tags (when in a nested:iterate) did this automatically for you ie name0, name1, name2 etc. Jon Ridgway -Original Message- From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]] Sent: 02 September 2002 12:22 To: [EMAIL PROTECTED]

Nested tags and jsp:include

2002-08-28 Thread Jon.Ridgway
Hi All, I havea problem with the nested tags. If I use a jsp:include on a page and the included jsp tires to use the nested tags I get a NullPointerException thrown by one of the Nested classes. I guess that something is being stored in the page context by the nested tags and that the included

Confirmation prior to post

2002-08-28 Thread Jon.Ridgway
Hi All, I was wondering if anyone has done the following and could give advice. A form has a text box into which the user enters an ID. This invokes some JavaScript, which needs to invoke a tag lib that checks if the ID exists; if it doesn't a JavaScript confirm dialgoue asks the user if they

Validating nested:text fields in an iterate block

2002-08-20 Thread Jon.Ridgway
Hi All, Is is possible to use the struts validator to validate a nested:text field within an iterate block. I can't see a way to do this; validation.xml wants the name of a property on the form; but within an iterate block the field names are made on the fly - ie address[0].street. Is it

RE: HELP: Value objects w/ CMR fields to Action Forms

2002-07-25 Thread Jon.Ridgway
Hi Roland, A value object with a local interface is not a good idea. In the future is you distributed (clustered or put your EJB and Servlet containers on different VM) you may run into problems. Your value object should have simple getters and setters; to mirror CMR a getter may return an

RE: Master/Detail data - editing multiple entities in a grid

2002-07-25 Thread Jon.Ridgway
Hi Tom, Yes the nested tags are a feature of 1.1 (and very nice they are to)... Jon Ridgway -Original Message- From: Lister, Tom (ANTS) [mailto:[EMAIL PROTECTED]] Sent: 25 July 2002 10:40 To: 'Struts Users Mailing List' Subject: RE: Master/Detail data - editing multiple entities in a

RE: MessageResources from ActionForm

2002-07-25 Thread Jon.Ridgway
Hi Dave, Try getServlet().getResources().getMessage(key); Or getServlet().getResources().getMessage(locale, key); Jon Ridgway -Original Message- From: David Wood [mailto:[EMAIL PROTECTED]] Sent: 25 July 2002 15:20 To: Struts Users Mailing List Subject: MessageResources from

RE: Remote User and Logoff

2002-07-25 Thread Jon.Ridgway
Hi Graham, Try searching the archive http://www.mail-archive.com/struts-user@jakarta.apache.org/. This has been discussed before, but I can't remember what the solution (if any) was. Jon Ridgway -Original Message- From: Graham Lounder [mailto:[EMAIL PROTECTED]] Sent: 25 July 2002

RE: Jetty 4.0 and Struts 1.1b1

2002-07-25 Thread Jon.Ridgway
Hi Nicolas, Have you double checked your web.xml, does it contain an application init param for the action servlet. If it does, do you have the specified properties file in the location indicated by the param value? Jon Ridgway -Original Message- From: Nicolas Gréhalle [mailto:[EMAIL

RE: Jetty 4.0 and Struts 1.1b1

2002-07-25 Thread Jon.Ridgway
is in com/elscdweb/controller I've not the normal message : action : init action : Loading application ressources action : Initializing . The project works under Tomcat. That's really strange - Original Message - From: Jon.Ridgway [EMAIL PROTECTED] To: 'Struts Users Mailing

Commons-digester

2002-07-19 Thread Jon.Ridgway
Hi All, (I apologies in advance as this is not a struts specific question, but I'm aware that the commons-digester is used by Struts). Is anyone aware of any tutorials/documentation/examples for the commons-digester. I can only find the JavaDocs (and these are a bit sparse). Jon Ridgway

RE: Documentation of the control flow of struts-projects

2002-07-19 Thread Jon.Ridgway
Hi Arne, I believe that the struts-console and/or the scrioworks Camino (http://www.scioworks.com) tools will produce diagrams from a struts-config. The ObjectAssembler plugin may also produce diagrams - I haven't got round to evaluating it yet so I couldn't say.

RE: Re[2]: Pre-Populating Form

2002-07-18 Thread Jon.Ridgway
Hi Kumar, You should be able to use the 'transaction token' support build into struts. Search the list archive for transaction token. http://www.mail-archive.com/struts-user@jakarta.apache.org/ Hope this helps... Jon Ridgway -Original Message- From: Mahesh Kumar K G [mailto:[EMAIL

RE: Need some help

2002-07-18 Thread Jon.Ridgway
Hi Asit, For testing have a look at http://strutstestcase.sourceforge.net/. For object mapping the commons-digester provides xml - object mapping. Ted Husted provides links to OR mapping tools that work with struts on his site, see http://www.husted.com/struts/links.htm#data_access Jon Ridgway

RE: Latest Nightly build - corrupt Class-Path entry in manifest.m f

2002-07-18 Thread Jon.Ridgway
to be Ant doing the modification ... I do see that you can have more than one Class-Path element http://java.sun.com/j2se/1.4/docs/guide/extensions/spec.html. Could someone try that and see if it works? regards Alexander Craig -Original Message- From: Jon.Ridgway [mailto:[EMAIL

Latest Nightly builds - WebLogic 6.1sp3

2002-07-16 Thread Jon.Ridgway
Hi All, I've just downloaded two lots of nightly builds 14/7 15/7 and both are giving me the following exception with no further indication of the problem when attempting to deploy an app that works with the jars, dtd's and tld's provided with the 1.1b1 release: 16-Jul-02 10:49:31 BST Error

Latest Nightly build

2002-07-16 Thread Jon.Ridgway
Hi All, Further to my previous post I have just enabled all debugging/logging in Struts/WebLogic and download the very latest build. I'm still getting an exception when attempting to deploy a web app that works fine with the 1.1b1 release. The exception is : 16-Jul-02 11:33:25 BST Debug HTTP

RE: Latest Nightly builds - WebLogic 6.1sp3

2002-07-16 Thread Jon.Ridgway
had a look into you weblogic 'domain' log file (default filename is wl-domain.log)? You'll probably find an exception stacktrace there. Robert Gottofrey -Ursprüngliche Nachricht- Von: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 16. Juli 2002 11:57 An: '[EMAIL PROTECTED

RE: Latest Nightly build

2002-07-16 Thread Jon.Ridgway
-Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 16. Juli 2002 12:40 To: '[EMAIL PROTECTED]' Subject: Latest Nightly build Hi All, Further to my previous post I have just enabled all debugging/logging in Struts/WebLogic and download the very latest build. I'm still

RE: Latest Nightly build - corrupt Class-Path entry in manifest.mf

2002-07-16 Thread Jon.Ridgway
Hi All, The advice was spot on. The manifest.mf in the latest nightly builds is corrupt. The Class-Path entry is split over several lines, the break occurs half way through several referenced jar names. Jon Ridgway -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent

RE: Latest Nightly build - corrupt Class-Path entry in manifest.m f

2002-07-16 Thread Jon.Ridgway
: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 16. Juli 2002 13:17 To: 'Struts Users Mailing List' Subject: RE: Latest Nightly build - corrupt Class-Path entry in manifest.m f Hi All, The advice was spot on. The manifest.mf in the latest nightly builds is corrupt. The Class-Path entry

RE: change an Actionform

2002-07-12 Thread Jon.Ridgway
((SearchForm)form.getValue() )); form = myForm; in both cases the EditPage.jsp formular is empty. But in the Action the dataobject isn't empty I have tested that. -Ursprüngliche Nachricht- Von: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 11. Juli 2002 15:04 An: 'Struts Users

RE: How to automaticlly set the locale according to user's request

2002-07-12 Thread Jon.Ridgway
Hi Alex, I think you can just add html:html locale=true/ to your jsp. Jon Ridgway -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: 11 July 2002 15:10 To: [EMAIL PROTECTED] Subject: How to automaticlly set the locale according to user's request Subject: How

RE: Problem with session ojects: memory size, updates

2002-07-12 Thread Jon.Ridgway
Hi, Your English is a hell of a lot better than my French...Your question is one that comes up a lot on the list try a search at: http://www.mail-archive.com/struts-user@jakarta.apache.org for 'session size'. One pertinent post is:

RE: Should I bother to try and handle this with struts?

2002-07-12 Thread Jon.Ridgway
Hi Rick, The Action classes in struts are designed to encapsulate you business logic. In your case to the dynamic look up, the result can be placed in the session or request, then your Action can forward to a jsp that can display this dynamically generated result. So yes to answer your

RE: Really dynamic forms

2002-07-12 Thread Jon.Ridgway
Hi Olivier In your case you could have an action create and populate an ArrayList with empty passenger objects, add the list to a form, put the form into scope and forward to a jsp. Then in the jsp iterate over the list displaying input fields for each passenger object...easy...ish... Jon

RE: where can caching help performance?

2002-07-12 Thread Jon.Ridgway
Hi Jamie, Even when using Struts there is nothing stopping you writing a custom tag lib to do a db lookup for your portals content, based I guess upon a user preference held in the session/request. You could then use the caching tags you describe. Also remember that most dbs have very good

RE: java.lang.NoClassDefFoundError:org/apache/struts/action/ActionForm

2002-07-12 Thread Jon.Ridgway
Hi Malathi, If you are sure that struts.jar is in your web-inf/lib directory check that it is not corrupted (compare it to the jar in your example app that works). Jon Ridgway -Original Message- From: malathi gopalan [mailto:[EMAIL PROTECTED]] Sent: 12 July 2002 02:49 To: [EMAIL

RE: change an Actionform

2002-07-12 Thread Jon.Ridgway
)form.getValue() )); form = myForm; in both cases the EditPage.jsp formular is empty. But in the Action the dataobject isn't empty I have tested that. -Ursprüngliche Nachricht- Von: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 11. Juli 2002 15:04 An: 'Struts Users Mailing

RE: change an Actionform

2002-07-12 Thread Jon.Ridgway
in search and edit is not the same. I'm wondering about this problem because it's so fundamental. I mean doesn't need anybody who works with struts a solution for this? -Ursprüngliche Nachricht- Von: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 12. Juli 2002 12:40 An: 'Struts Users

RE: where can caching help performance?

2002-07-12 Thread Jon.Ridgway
introduce a bottleneck... Jon Ridgway -Original Message- From: Steinar Bang [mailto:[EMAIL PROTECTED]] Sent: 12 July 2002 12:43 To: [EMAIL PROTECTED] Subject: Re: where can caching help performance? Jon.Ridgway [EMAIL PROTECTED]: Judicious use of the Singleton pattern can also speed

RE: change an Actionform

2002-07-11 Thread Jon.Ridgway
Hi Sven, At as guess, you are not putting the form back into scope, try something like this in your findEntity action... if (mapping.getName() != null) { if (request.equals(mapping.getScope())) { request.setAttribute(mapping.getName(), form); } else {

RE: How ActionForm Populate Form Variables

2002-07-10 Thread Jon.Ridgway
Hi Ravi, Your struts-config defines a mapping between action classes and forms. When you submit a form it is posted to the ActionServlet. This uses the mapping to work out which ActionForm to use; it then uses reflection to call the setter methods on the ActionForm that map to the input fields

RE: Problem with form submission

2002-07-10 Thread Jon.Ridgway
Hi Nilan, Search the newsgroup for 'transaction token', in short you can set a token to indicate that the form has been submitted. Search http://www.mail-archive.com/struts-user@jakarta.apache.org/ Jon Ridgway -Original Message- From: Nilan Shakya [mailto:[EMAIL PROTECTED]] Sent:

RE: Switching the locale(language)

2002-07-10 Thread Jon.Ridgway
Hi Cyril, In your Action class call setLocale (HttpServletRequest request, Locale locale). Use your jsp to get the country code ie 'fr'. You can then use this code in your action to create the locale, ie Locale locale = new Locale (code). Once you have set the locale struts will take care of the

RE: Switching the locale(language)

2002-07-10 Thread Jon.Ridgway
. Jon.Ridgway [EMAIL PROTECTED] a écrit : Hi Cyril, In your Action class call setLocale (HttpServletRequest request, Locale locale). Use your jsp to get the country code ie 'fr'. You can then use this code in your action to create the locale, ie Locale locale = new Locale (code). Once you have set

nested:iterate and maps

2002-07-05 Thread Jon.Ridgway
Hi All, I'm getting an error when using the nested:iterate tag to iterate over a map. The error tells me that the map is not indexed! Does the nested:iterate tag support maps? Jon Ridgway The contents of this email are intended only for the named addressees and may contain confidential

Editing a List of Strings

2002-07-03 Thread Jon.Ridgway
Hi All, I believe this should be possible, but can't find a way to make it work... I have a List of Strings within a logic:iterate block and want to edit them using html:text. This tag however requires a property attribute so the RequestUtils.populate method knows which setter to call when

RE: Editing a List of Strings

2002-07-03 Thread Jon.Ridgway
thoughts? Jon Ridgway -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 03 July 2002 13:53 To: Struts Users Mailing List Subject: Editing a List of Strings Jon.Ridgway writes: I have a List of Strings within a logic:iterate block and want to edit them using

RE: Struts Architecture in Cluster mode

2002-06-26 Thread Jon.Ridgway
Hi Kumar, Struts itself would be fine. I've deployed apps to a cluster of iAS6/6.5 instances and a cluster of WebLogic instances without problem. Session size does become a performance issue. I believe that form beans are stored in session scope by default, try if practical, to put forms

RE: what to store in session?

2002-06-26 Thread Jon.Ridgway
Hi All, I'd add to Roberts very pertinent comments that Clustering as mentioned in an earlier post is also an issue here. If you intend to run your app in a cluster then session size becomes an issue; as your user object *may* be copied over the network to other machines. Also the projected

RE: form-based login on a BEA weblogic server 6.1

2002-06-11 Thread Jon.Ridgway
Hi Koen, When we have done this using WebLogic and Struts we did not have an action mapping for the login. If you do have one it should *not* point to the login page, but rather the page you would like to go to after login (assuming it is a secured page). Your default (or post login) jsp/html

RE: ActionErrors in validate()

2002-05-31 Thread Jon.Ridgway
Hi Hayri, It's possible that you are missing some entries from your Struts 'application' (see web.xml) resource bundle. Check that you have the following keys in this properties file: errors.footer=/ulhr errors.header=h3font color=redValidation Error/font/h3You must correct the following

RE: [Struts Tips] #2 - Use DispatchAction to organize related operations

2002-05-31 Thread Jon.Ridgway
Hi Ted, I have a question about the dispatch action. On this face of it this seems like an excellent idea, but does it integrate with the role based action concept. If for example an administrator can add and delete but an employee can only update is there a way to specify declaratively which

RE: html taglib usage slooow

2002-05-27 Thread Jon.Ridgway
Hi Jeff, A bit of a late reply I know, but if you have to wrap every output tag with various bits of logic to work out if the field is enabled etc, why not write your own custom tags that extend html:text etc and imbed the logic in them. Also if you don't require localization try setting

RE: JDK 1.4 Logging with Struts

2002-05-16 Thread Jon.Ridgway
Use the org.apache.commons.logging implementation then you can use either without having to change your code. Indeed this is what Struts uses internally (I think). Jon Ridgway -Original Message- From: Chen, Dean (Zhun) [mailto:[EMAIL PROTECTED]] Sent: 16 May 2002 14:40 To: 'Struts

RE: Form Problem (This should be simple)

2002-05-13 Thread Jon.Ridgway
Hi Brandon, Check your struts-config.xml. Make sure you have scope=request in your action-mapping definition for page a. Jon Ridgway -Original Message- From: Phase Web and Multimedia [mailto:[EMAIL PROTECTED]] Sent: 13 May 2002 08:03 To: Struts Users Mailing List Subject: Form Problem

RE: logic:iterate with EJB's, casting problem?

2002-05-13 Thread Jon.Ridgway
Hi Nicolas, Looks like there may be several issues here. The type should be the fully qualified class name (you have Artists, should be package.Arist?) Also if Artist is itself an EJB you should consider changing your stateless session bean to return a collection of ArtistValueObjects; your

RE: Design question on roles and tasks

2002-05-13 Thread Jon.Ridgway
Hi Chong, Container based security is a topic that comes up regularly on the list try searching on it. When you use container based security your authenticated user will be associated with one or more roles. This is a J2EE feature. Struts can use the 'role' information in several ways: - the

RE: [Off-Topic] Container-Based Authentication

2002-05-07 Thread Jon.Ridgway
Hi Eddie, It sound like you need to use form-based authentication, do a search on the Javasoft site and/or the tomcat site for form-based authentication. Jon. -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: 06 May 2002 19:38 To: Struts Users Mailing List Subject:

RE: Initializing formBeans

2002-05-02 Thread Jon.Ridgway
Hi All, This is the correct approach; but you can simplify things by writing a base action class that your 'ReadUserAction' class extends. The base class might look something like the one shown below. In this the setForm method uses the entries from struts-config (mapping) to put the form in the

RE: Form based security

2002-04-30 Thread Jon.Ridgway
Hi All, Another option is to use JASS, this way you can plug in a portable custom login module, its supported by WAS, WLS, HPAS (that I know of). As already mentioned form base security is a good option 'some times'. Jon. -Original Message- From: David Cypers [mailto:[EMAIL PROTECTED]]

RE: How to do 'isUserInRole(unauthenticated)'?

2002-04-24 Thread Jon.Ridgway
Hi, One way to ascertain if a user has not logged in is to call request.getUserPrincipal (), if this is null the user has not yet logged in. Jon. -Original Message- From: jfc100 [mailto:[EMAIL PROTECTED]] Sent: 24 April 2002 12:08 To: Struts-User Subject: How to do

RE: response has already been committed - question/solution?

2002-04-23 Thread Jon.Ridgway
Hi Klaus, My mistake; I was just reading about the org.apache.struts.actions.IncludeAction on this list. It looks like you can have an action extend this instead of a standard Action. Would this help in your case; it does a RequestDispatcher.include(). Jon. -Original Message- From:

RE: anyone using declarative security? - even a pointer to a resource will do.

2002-04-23 Thread Jon.Ridgway
Hi Joe, Yes I use it extensively, what is it you want to do and what App Server/Web Container are you using? Jon. -Original Message- From: jfc100 [mailto:[EMAIL PROTECTED]] Sent: 23 April 2002 12:21 To: Struts Users Mailing List Subject: anyone using declarative security? - even a

RE: Combo Box Selection

2002-04-22 Thread Jon.Ridgway
Hi, Try changing your setAnswer method to return void ie: public void setAnswer (String newAnswer) { answer = newAnswer; } This may help, Jon. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 22 April 2002 09:08 To: [EMAIL PROTECTED] Subject:

RE: Struts - html:select options Question

2002-04-09 Thread Jon.Ridgway
Hi, Have you considered using the logic:iterate tag with a HTML table inside. Have a look at the example app provided with Struts. This uses the iterate tag. This might be a better option than html:select in your situation. Jon. -Original Message- From: Paladugu, Phani [mailto:[EMAIL

RE: struts radio button-doesn't work!

2002-04-08 Thread Jon.Ridgway
Hi All, If it's a radio button it may well need resetting in the forms reset method. Jon. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 08 April 2002 02:13 To: [EMAIL PROTECTED] Subject: Re: struts radio button-doesn't work! days == days 81 days writes:

Struts Menu Component

2002-04-02 Thread Jon.Ridgway
Hi All, Does any one know if there is an easy way to use a forward with the Struts Menu component? I can only see the link attribute that takes a url. If not can we consider adding a forward attribute? Jon.

Maps an options

2002-04-02 Thread Jon.Ridgway
Hi All, Is there an easy way to use a Map with the options tag? The iterate tag has been amended to make it easier but I can't see anything in the docs pertaining to the options tag and Maps. Jon.

RE: Struts Menu Component

2002-04-02 Thread Jon.Ridgway
what is the struts menu component? -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 8:01 AM To: '[EMAIL PROTECTED]' Subject: Struts Menu Component Hi All, Does any one know if there is an easy way to use a forward with the Struts

BeanUtils/RequestUtils Populate question

2002-04-02 Thread Jon.Ridgway
Hi All, I have a form bean that uses a value object. A specific form only access a couple of the value objects properties. I would expect those not accessed to be left alone upon form submittal. However I am finding that Struts (vi RequestUtils.populate) is setting those fields not referenced in

RE: BeanUtils/RequestUtils Populate question

2002-04-02 Thread Jon.Ridgway
? Could it be causing problems? -- Jim Jon.Ridgway [EMAIL PROTECTED] writes: Hi All, I have a form bean that uses a value object. A specific form only access a couple of the value objects properties. I would expect those not accessed to be left alone upon form submittal. However I am finding

RE: BeanUtils/RequestUtils Populate question

2002-04-02 Thread Jon.Ridgway
I think this is right, cause your form on the jsp represents the form bean. So if you miss some data this data is set to null cause the view represantion hasn't included the information -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 4:42 PM

RE: BeanUtils/RequestUtils Populate question

2002-04-02 Thread Jon.Ridgway
beans. You have to store the missing data manually for using it in the next request. -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 5:08 PM To: 'Struts Users Mailing List' Subject: RE: BeanUtils/RequestUtils Populate question Hi Oliver, I don't

RE: Why Struts - Ryan Norman

2002-03-28 Thread Jon.Ridgway
Hi Ryan, Most of the frameworks available are very similar to Struts. The only difference is that they tie you into the specific app server in most cases. Also as they are only used by a subset of developers that use the specific app server their user base and hence experience base will be much

RE: Struts 1.1 beta Sample DB app. = FREE T-Shirt - Struts Menu problem

2002-03-21 Thread Jon.Ridgway
Hi Vic, I noticed that you are using a version of the struts menu that uses the plug-in functionality. Couple of questions: 1) Where did you get this version, specifically the version I have doesn't have a com.fgm.web.menu.MenuPlugIn class. 2) Do you know why I might be getting the error:

RE: Struts 1.1 beta Sample DB app. = FREE T-Shirt - Struts Menu p roblem

2002-03-21 Thread Jon.Ridgway
servlet). Look at my sample on how to make the Struts-menu a service (in Struts-config) or download the menu sample from Source Forge. Vic Jon.Ridgway wrote: Hi Vic, I noticed that you are using a version of the struts menu that uses the plug-in functionality. Couple of questions: 1) Where

RE: EJB and Struts?

2002-03-01 Thread Jon.Ridgway
Hi Dirk, If you want to talk from tomcat to iAS you will need to create IIOP/RMI aware EJB in iPlanet. This will give you some remote stubs. Add these to your web app in tomcat. Add a CXS process to iAS. Your web app will need to create an InitialContext using

RE: EJB and Struts?

2002-03-01 Thread Jon.Ridgway
Message- From: Dirk Breitenbach [mailto:[EMAIL PROTECTED]] Sent: 01 March 2002 10:47 To: [EMAIL PROTECTED] Subject: Re: EJB and Struts? And do you know, if EJBs are supported by Struts?? Can I Access EJBs like a Database in Struts, but only with JNDI instead of JDBC?? Dirk Jon.Ridgway

RE: Design advice.

2002-02-04 Thread Jon.Ridgway
Hi Bob, If you download the latest nightly build you will find an initial implementation of the Workflow proposal. Jon. -Original Message- From: Bob Williams [mailto:[EMAIL PROTECTED]] Sent: 04 February 2002 15:33 To: Struts Users Mailing List Subject: Re: Design advice. I am new to

RE: dynamically generated form pages beans

2002-01-31 Thread Jon.Ridgway
Hi Rob, Have you had a look at the DynaActionForm stuff in the latest builds? This may help. Jon. -Original Message- From: rob [mailto:[EMAIL PROTECTED]] Sent: 31 January 2002 16:07 To: [EMAIL PROTECTED] Subject: dynamically generated form pages beans I'm trying to create a form

RE: [Off Topic] get/set method generation

2002-01-31 Thread Jon.Ridgway
Hi, XDoclet may help. It does a lot more but.. Jon. -Original Message- From: João Paulo G. Batistella [mailto:[EMAIL PROTECTED]] Sent: 31 January 2002 17:57 To: Struts Users Mailing List Subject: [Off Topic] get/set method generation Anyboy knows a tool for generating get/set methods

Weblogic 61.sp2 struts-html.tld

2002-01-30 Thread Jon.Ridgway
Hi All, It would appear that the FormTag does not have a title attribute. WebLogic will not deploy Struts apps as the struts-html.tld has a title attribute for the form tag. Is this a bug in Struts. It looks like it...if so can it be fixed in the nightly build? I'm guessing it's just the tld

RE: How to perform junit testing of Struts classes?

2002-01-30 Thread Jon.Ridgway
Hi Michael, Try http://strutstestcase.sourceforge.net/ Jon. -Original Message- From: Michael Mehrle [mailto:[EMAIL PROTECTED]] Sent: 30 January 2002 05:18 To: Struts Users Mailing List Subject: How to perform junit testing of Struts classes? Of course I can imagine writing a junit

  1   2   3   >