Re: mailreader question

2006-07-28 Thread Christopher Goldman
got the bits of the struts-config.xml file I quoted. Good luck! Chris -- Christopher D. Goldman [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: mailreader question

2006-07-28 Thread Christopher Goldman
bal forward for it. I hope this helps. I'm a Struts newbie myself, hoping to improve my understanding through helping others (and being corrected unmercifully). Chris -- Christopher D. Goldman [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: form in application context`

2006-07-28 Thread Christopher Goldman
ot;Done" and agin store to > > application It's not only a good idea. That is exactly what the DTO (Data Transfer Object [1]) is for. It's not a Struts-specific object at all. [1] http://en.wikipedia.org/wiki/Data_Transfer_Object Chris -- Christopher D. Goldman [E

Tiles Not Processing JSP Content

2006-02-27 Thread Christopher Prince
using tiles standalone (latest from the sandbox) the insert tag looks like Problem is that the jsp pages in the are placed into the output as-is. The JSP/JSF markup is not processed. I tried adding the type="page" to the tag but that didn't help. How do i ensure that the JSP i

validating mutiple html:checkbox values

2006-02-07 Thread Christopher Becker
s if other fields of the form fail the validation test.   Any guidance or insight would be appreciated... thanks! Regards,   --Chris       Chris BeckerSenior Programmer/AnalystEnterprise IT(516) 803-3921[EMAIL PROTECTED]BEGIN:VCARD VERSION:2.1 X-GWTYPE:USER FN:Becker, Christopher TEL;WORK:(516)80

Maintaining session state in remote servlet form post

2006-01-12 Thread Christopher Becker
We have a struts app (v1.2.7) that uses Tiles for UI presentation, running in WebLogic 8.1. We are trying to implement a form whose action is to a remote servlet. The remote site actually generated the form details for us, and one of the fields provided is a hidden field entitled returnURL, which

Re: external URL in struts app

2006-01-05 Thread Christopher Becker
h submits to external server, receives response and returns this response to browser. Michael. On 1/4/06, Christopher Becker <[EMAIL PROTECTED]> wrote: > Greetings all; > > I have a Struts app (v1.27) and wish to add a user form whose ACTION is > a URL that is external to the applicatio

external URL in struts app

2006-01-04 Thread Christopher Becker
Greetings all; I have a Struts app (v1.27) and wish to add a user form whose ACTION is a URL that is external to the application ( a remote servlet). I want to provide a "message sent" confirmation page to the user, but dont know how to do this with an external form submission. Is there a way t

validation plug-in with multiple config files

2005-12-21 Thread Christopher Becker
I am developing a Struts (v1.2.7) app that has multiple struts-config files, but not utilizing modules, so web.xml has one init param with config files separated by commas, eg. config /WEB-INF/struts-config.xml,/WEB-INF/struts-bus1-config.xml, WEB-INF/struts-bus2-config.xml

Re: accessing request attributes

2005-12-07 Thread Christopher Becker
te in app, session, request and page scope for you. Same thing as . You'd, of course, need to include TLDs for JSTL in the latter case. Hope this helps. ATTA On 12/6/05, Christopher Becker <[EMAIL PROTECTED]> wrote: > > I am setting request attributes in an Action class such as

accessing request attributes

2005-12-06 Thread Christopher Becker
I am setting request attributes in an Action class such as in the following example: request.setAttribute("toDate", toDate); request.setAttribute("acctNum", acctNum); Both variables toDate and acctNum are Strings. I then process the action by returning a mapping.findForwa

Re: [Shale] Using standalone tiles?

2005-11-29 Thread Christopher Becker
I am using Tiles in a Struts (v.1.2.7) app, and also experienced an error when the Apache site was temporarily down. So to prevent this from happening in the future, what is the suggested solution? Removing the DOCTYPE element from the tiles-def.xml file does not seem appropriate - or is it?

Upgrade problems from 1.2.4 to 1.2.7

2005-11-05 Thread Tim Christopher
Hi, I've read the upgrade notes on the Wiki and have followed all the instructions, including updating the validation.xml file. When run with the 1.2.4 version of Struts it runs run but now I have upgraded I always get a message saying the servlet is unavailable when trying to view a page. The e

Re: Associating validation errors with input fields

2005-10-18 Thread Christopher Becker
when an action error occurs, it will be displayed right below the corresponding to the property. Regards, Ramesh M. --- Christopher Becker <[EMAIL PROTECTED]> wrote: > > I have a form in a Struts app (v1.2.7) that I am > attempting to use in > conjunction with the valida

Associating validation errors with input fields

2005-10-18 Thread Christopher Becker
,       Chris BeckerSenior Programmer/AnalystEnterprise IT(516) 803-3921[EMAIL PROTECTED]BEGIN:VCARD VERSION:2.1 X-GWTYPE:USER FN:Becker, Christopher TEL;WORK:(516)803-3921 ORG:;Corporate Information Systems TEL;PREF;FAX:(516)803-6115 EMAIL;WORK;PREF:[EMAIL PROTECTED] N:Becker;Christopher TITLE:Sr

RE: [OT] question about XSL and XPATH

2005-09-27 Thread Christopher Chan
Your XSL should be something like: Basically, match the node you are interested in and get the text value for that node. -- Christopher Chan SpikeSource, Inc. [EMAIL PROTECTED] http://developer.spikesource.com - To

RE: Best way to store config variables

2005-08-17 Thread Marsh-Bourdon, Christopher
Have you considered Spring and it's IOC framework? Works wonderfully with Struts (even has a lovely plug-in to get the whole thing working together). The configuration is only one aspect of the whole Spring framework. Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Me

RE: [OT] : Web App Caching

2005-08-12 Thread Marsh-Bourdon, Christopher
I'd back that up, HSQL is definitely worth a look. Just ensure that you choose your mode carefully. Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Swapnil Patil [mailto:[EMAIL PROTECTED] Sent: 12 August 2005 15:25 To: Struts Users Mailing List Subjec

Re: [OT] JSP Clutter

2005-08-08 Thread Christopher Marsh-Bourdon
maintain the code. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com AIM: marshbourdon On 8 Aug 2005, at 22:22, Michael Jouravlev wrote: On 8/8/05, Christopher Marsh-Bourdon <[EMAIL PROTECTED]> wrote: Over the past six months we have been migrating our front-ends from .net t

Re: [OT] JSP Clutter

2005-08-08 Thread Christopher Marsh-Bourdon
bar a few articles and a demonstration. Yours in ignorance! Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com AIM: marshbourdon On 8 Aug 2005, at 22:14, Leon Rosenberg wrote: -Ursprüngliche Nachricht- Von: Christopher Marsh-Bourdon [mailto:[EMAIL PROTECTED] Gesendet: Montag,

Re: [OT] JSP Clutter

2005-08-08 Thread Christopher Marsh-Bourdon
esn't reduce the clutter, it generally adds to it, especially if you want more than one tag to exhibit the same behavior. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com AIM: marshbourdon On 8 Aug 2005, at 22:06, Johnson, Kaerstin wrote: I am not understanding what you me

Re: [OT] JSP Clutter

2005-08-08 Thread Christopher Marsh-Bourdon
t they can generate the HTML/JSP it without the need for it to be directly written (in HTML etc). That seems to be the gist of it. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com AIM: marshbourdon On 8 Aug 2005, at 21:58, Leon Rosenberg wrote: "JSP/HTML/XHTML is a messy

[OT] JSP Clutter

2005-08-08 Thread Christopher Marsh-Bourdon
o formatting is used directly in the JSP where it can be deferred to a style. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com AIM: marshbourdon

[OT] Sub Project - Table Renderer

2005-08-01 Thread Christopher Marsh-Bourdon
yways, can I just ask any of those who are interested to give me a yay (or nay) so I get a gist as to whether I am wasting my time or not? Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com AIM: marshbourdon

Re: how to use tiles

2005-07-30 Thread Christopher Marsh-Bourdon
x27;s implementation works very nicely. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com AIM: marshbourdon On 30 Jul 2005, at 10:12, d d wrote: i am building an application where i have to refresh a perticular part of page rather than whole page..I used the concept of IFRAMES but

RE: JSF is the beginning of the end of Struts !!!

2005-07-29 Thread Marsh-Bourdon, Christopher
excluded)? It shouldn't detract from the idea of page "longevity", which would make a for a better web. Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Jeff Beal [mailto:[EMAIL PROTECTED] Sent: 29 July 2005 13:55 To: Struts Users Mailing List Subjec

Re: JSF is the beginning of the end of Struts !!!

2005-07-27 Thread Christopher Marsh-Bourdon
http://www.prokmu.com/ After looking at this, my servers are going on eBay! Sometimes it doesn't pay to own your own kit. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com AIM: marshbourdon On 27 Jul 2005, at 20:08, Leon Rosenberg wrote: I charge 15-20 euro / month for a

[OT] Hosting (London)

2005-07-27 Thread Marsh-Bourdon, Christopher
that they are collecting dust and not doing something useful. The rough price for a single server is £50, for the pair it is £65. Contact me on christopher at marsh-bourdon.com (I have a spam filter). If anyone know a service cheaper than this, again, please let me know. Cheers Christopher

RE: Problem in Struts Tags

2005-07-19 Thread Marsh-Bourdon, Christopher
You are adding the HashMap as an item to the ArrayList, not replacing the contents of the ArrayList with the contents of the HashMap. Try this: List shippers = new ArrayList(map); Instead of: shippers.add(map); And get rid of: ArrayList shippers = new ArrayList(); Cheers Christopher

Re: How to hide URL in Adress bar?

2005-07-13 Thread Christopher Marsh-Bourdon
Why would you have to route every action through a single servlet/ action? The others are nice to have for a web application (who wants a web app cached on indexable?), but if you code web sites you might be right. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com AIM: marshbourdon

Re: Invalid dates / numbers etc on forms

2005-07-13 Thread Christopher Marsh-Bourdon
Have you never developed using Dynamic Action Forms? With the vanilla Action Forms you may be right, but with Dynamic ones, I have found that Validator really cuts down the work. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com AIM: marshbourdon On 13 Jul 2005, at 14:54, Larry

Action Definition's attribute attribute

2005-07-01 Thread Marsh-Bourdon, Christopher
thing 1.2.4+, I apologise. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com -- The information contained herein is confidential and is intended solely for the addressee. Access by any other party is unaut

[OT] Off topic threads

2005-06-30 Thread Marsh-Bourdon, Christopher
do attempt (however poorly) to answer questions on Struts. I for one will remove myself for the list if I have to sift through this drivel for another day. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com The i

RE: How do you have a form with two images do two different thing s when submitted

2005-06-30 Thread Marsh-Bourdon, Christopher
One way would be to have a form with a hidden html object that gets set by the onClick event of each of the images. This can then be collected by the ActionForm and acted upon by the Action. Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Harland, David

RE: DynaActionForm values problem after submit

2005-06-30 Thread Marsh-Bourdon, Christopher
Is it the name of the property is 'paymentAmount' yet in the form definition it states the name as 'payments'? Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Ciaran Hanley [mailto:[EMAIL PROTECTED] Sent: 30 June 2005 10:42 To: '

RE: use a plugin property

2005-06-29 Thread Marsh-Bourdon, Christopher
Create a private property with a Getter and Setter in your plugin, and the wonders, nay mysteries, of Struts will ensure that it gets populated for your use. Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Dewitte Rémi [mailto:[EMAIL PROTECTED] Sent: 29 June

RE: Help me with my problem in Automatic Validation please

2005-06-28 Thread Marsh-Bourdon, Christopher
Option 2 assumes that the action1 does not clear down or reset the data form that is used. This could lead to the datalist being present, but not the originally submitted form data. Christopher Marsh-Bourdon www.marsh-bourdon.com _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

RE: Help me with my problem in Automatic Validation please

2005-06-28 Thread Marsh-Bourdon, Christopher
The datalist should probably sit in the session scope rather than request. Until there is an "intermediary" scope, this is probably the most cost-effective method. Just ensure that Action2 performs some cleanup that removes it from the scope when you are done with it. Christopher Mar

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Marsh-Bourdon, Christopher
In that case does it contain (or path similar) within the struts-config.xml: Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Gilbert, Antoine [mailto:[EMAIL PROTECTED] Sent: 23 June 2005 14:58 To: Struts Users Mailing List Subject: RE

RE: Accessing message resource from in validate method

2005-06-21 Thread Marsh-Bourdon, Christopher
ActionMessage bert = new ActionMessage("Here {0}, thi is the place.", "Bert"); Will produce: Here Bert, thi is the place. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Arash Bijanzadeh [mailto:[EMAIL PROTECTED] Sent: 21 June 2

RE: [OT] package naming nonsense

2005-06-17 Thread Marsh-Bourdon, Christopher
I favour using org.apache.* or com.sun.*, but never com.microsoft.*. It gives a certain gravitas to one's coding! ;-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17 June 2005 13:59 To: Struts Users Mailing List Subject: Re: [OT] package naming nonsense

RE: ActionForm losing Collection/Map property on forward

2005-06-16 Thread Marsh-Bourdon, Christopher
Silly question, but it probably needs asking; What scope are you giving this form? I assume it is request. I know it is unfashionable, but giving the form a scope of session will persist this HashMap for you (unless you reset it). Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com

RE: Could someone on the dev team add link to mailing list on Str uts site

2005-05-26 Thread Marsh-Bourdon, Christopher
How many developers does it take to change a Wiki? -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: 26 May 2005 17:40 To: Struts Users Mailing List Subject: Re: Could someone on the dev team add link to mailing list on Struts site Ted Husted made the change, I re

RE: Struts, xhtml & bad tag syntax ... maybe nice in 1.7

2005-05-24 Thread Marsh-Bourdon, Christopher
Aladin You are right, apologies. I agree, it would be nice to have. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Aladin Alaily [mailto:[EMAIL PROTECTED] Sent: 24 May 2005 16:24 To: Struts Users Mailing List Subject: RE: Struts, xhtml & bad

RE: Struts, xhtml & bad tag syntax ... maybe nice in 1.7

2005-05-24 Thread Marsh-Bourdon, Christopher
This is surely down to your IDE and not Struts. Eclipse with MyEclispe will create them XHTML compliant. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Aladin Alaily [mailto:[EMAIL PROTECTED] Sent: 24 May 2005 16:13 To: Struts Users Mailing List Cc

RE: Getting name of form bean?

2005-05-16 Thread Marsh-Bourdon, Christopher
erty. For example, the name of the form will be 'xyzForm' in this action: Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: John Moore [mailto:[EMAIL PROTECTED] Sent: 16 May 2005 13:09 To: Stru

RE: [OT] Too late to become a rock star?

2005-05-13 Thread Marsh-Bourdon, Christopher
-Bourdon, Christopher wrote the following on 5/13/2005 3:50 AM: > Never knock Potato farming; I married a potato farmer! I wasn't knocking it for real. I'm sure farmer's hours are long and hard work, but there is something to be said for tilling God's land. I also think it

RE: [OT] Too late to become a rock star?

2005-05-13 Thread Marsh-Bourdon, Christopher
Never knock Potato farming; I married a potato farmer! -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 17:25 To: Struts Users Mailing List Subject: Re: [OT] Too late to become a rock star? I might give potato farming a try. Frank W. Zammetti wrote the

RE: using html link to submit form and params

2005-05-12 Thread Marsh-Bourdon, Christopher
Set a hidden field within the form, which you could dynamically set using JavaScript, and example would be: I roughly grafted this from my JavaScript methods, but it should work! Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: [EMAIL

RE: using html link to submit form and params

2005-05-12 Thread Marsh-Bourdon, Christopher
to submit form and params Would I use the href tag in addition to using the forward tag within the link? -Original Message- From: Marsh-Bourdon, Christopher [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 11:16 To: 'Struts Users Mailing List' Subject: RE: using html link to s

RE: using html link to submit form and params

2005-05-12 Thread Marsh-Bourdon, Christopher
If set your href of the link to be something like this: href="javascript:document.{Form Name}.submit();" Then the form will be submitted and your form values will not be set to null. Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: [EMAIL PROTECTE

RE: is it posible to pass a parameter to an action in configurati on time?

2005-05-12 Thread Marsh-Bourdon, Christopher
Use the parameter="{parameter}", you can then pick this up in the action using: String parameter = mapping.getParameter(); Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Rodolfo García Esteban/CYII [mailto:[EMAIL PROTECTED] Se

RE: [POLL] What do you use action forms for?

2005-05-12 Thread Marsh-Bourdon, Christopher
form to display as either text (for Viewing) or as objects (for Editing). This ensures that I do not have to cater for two types of object (POJO and Form) within the JSP; Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED

RE: [POLL] What do you use action forms for?

2005-05-12 Thread Marsh-Bourdon, Christopher
#4 -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 09:05 To: 'Struts Users Mailing List' Subject: RE: [POLL] What do you use action forms for? #4 .. > #1 - so I generate them from my POJOs using XDoclet. All the other > frameworks I use (JSF, Sprin

RE: Switch Tags

2005-05-09 Thread Marsh-Bourdon, Christopher
do something else > -Original Message- > From: Marsh-Bourdon, Christopher > [mailto:[EMAIL PROTECTED] > Sent: 09 May 2005 14:26 > To: 'Struts Users Mailing List' > Subject: RE: Switch Tags > > > Yes, that goes some way. I missed out that I need a cas

RE: Switch Tags

2005-05-09 Thread Marsh-Bourdon, Christopher
Yes, that goes some way. I missed out that I need a case to verify several test, something like this: do this > do that do something else Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTEC

Switch Tags

2005-05-09 Thread Marsh-Bourdon, Christopher
I will of course be going off to Google in a moment, but I would like anyone's recommendation for a Tag(s) that enable the coder to perform a Switch/Case like function within the JSP. I could of course write one, but I'm lazy! Cheers Christopher Marsh-Bourdon www.marsh-b

RE: Connection Leakage

2005-05-09 Thread Marsh-Bourdon, Christopher
just connections. Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Shailender Jain [mailto:[EMAIL PROTECTED] Sent: 09 May 2005 11:27 To: user@struts.apache.org Subject: Connection Leakage Hello All, I have got a application which is running live. (Struts with

RE: The best place for output formats

2005-04-28 Thread Marsh-Bourdon, Christopher
Well can you use Struts Bean Tags? If so, this would be your option: Not really a custom tag as such. Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Rodolfo García Esteban/CYII [mailto:[EMAIL PROTECTED] Sent: 28 April 2005 14:28 To: user@struts.apache.org

RE: Looking for a book

2005-04-22 Thread Marsh-Bourdon, Christopher
I'd wholly recommend both Chuck Cavaness's Programming Jakarta Struts and Bill Siggelkow's Jakarta Struts Cookbook, both are available online with O'Reilly Safari (but read in that order). Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From:

RE: struts 1.3 dev with validator 1.2 dev

2005-04-21 Thread Marsh-Bourdon, Christopher
! Cheers for all the suggestions. Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: 21 April 2005 11:04 To: Struts Users Mailing List Subject: Re: struts 1.3 dev with validator 1.2 dev The method signature on these

RE: Validation's disappearing messages

2005-04-21 Thread Marsh-Bourdon, Christopher
Niall Thanks, that was an oversight that only happened in my quick mock-up. I now return the errors object, there is still no change is the request objects or output. Cheers Christopher Marsh-Bourdon -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: 21 April

RE: Validation's disappearing messages

2005-04-21 Thread Marsh-Bourdon, Christopher
ion = description; } /** * Returns the name. * * @return String */ public String getName() { return name; } /** * Set the name. * * @param name The name to set

Re: Validation's disappearing messages

2005-04-20 Thread Christopher Marsh-Bourdon
Will do, I'm back at home now, so I'll email them out tomorrow morning. Tonight I am going to to attempt the whole thing from scratch with a new project and 1.2, see if that gives me the answer. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com > From: "Fogleson, Allen&

RE: Validation's disappearing messages

2005-04-20 Thread Marsh-Bourdon, Christopher
Paul I am not redirecting. I am wondering whether it is the version of Struts I am on. I think tomorrow I will upgrade to 1.2. However, if anyone has any suggestions (polite), please let me know? Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Benedict

Validation's disappearing messages

2005-04-20 Thread Marsh-Bourdon, Christopher
nothing that has a class of ActionErrors or ActionMessages. Has anyone had this problem and can help? I assume I doing something really silly that is ballsing this up. Cheers Christopher Marsh-Bourdon -- The

RE: AJAX: Whoa, Nellie!

2005-04-19 Thread Marsh-Bourdon, Christopher
Hear-hear. My users would brain me if I just provided that amount of interface on a web application. -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: 19 April 2005 16:17 To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: Re: AJAX: Whoa, Nellie

RE: Displaying data :: Best practise

2005-04-19 Thread Marsh-Bourdon, Christopher
simple getters. This make life easy and consistent for the JSP developers as it gives a consistent interface. I am more than willing to pop these up somewhere so you can have a look, if it helps. Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Nils Liebelt [mailto

RE: [REFERENDUM] Struts is a Community

2005-04-11 Thread Marsh-Bourdon, Christopher
How's about calling us a "prommunity" where the product is the community (in part)? Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Simon Chappell [mailto:[EMAIL PROTECTED] Sent: 11 April 2005 14:18 To: Struts Users Mailing List; [EMAIL PROTECT

[OT] Re: Please wait page

2005-04-07 Thread Marsh-Bourdon, Christopher
Apologies, I was remiss for not including the tags. Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Mohd Amin [mailto:[EMAIL PROTECTED] Sent: 07 April 2005 10:46 To: Struts Users Mailing List Subject: Re: Please wait page that's a good one - Ori

RE: Please wait page

2005-04-07 Thread Marsh-Bourdon, Christopher
If you ask travelocity nicely, I'm sure they will help. Why not pop them an email? Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Shiva Narayana [mailto:[EMAIL PROTECTED] Sent: 07 April 2005 10:13 To: user@struts.apache.org Subject: Please wait page h

Re: Struts Unit Tests / Alternative getUserPrincipleCall

2005-04-05 Thread Tim Christopher
rPrincipal(user); Note: TestPrincipal is a simple Java class that implements Principal and contains one method called getName(). Tim Christopher On Apr 5, 2005 11:16 AM, Tim Christopher <[EMAIL PROTECTED]> wrote: > Hi, > > Does anyone know how to code a response to > reques

Struts Unit Tests / Alternative getUserPrincipleCall

2005-04-05 Thread Tim Christopher
in the request. Any help appreciated. Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts Security

2005-04-02 Thread Tim Christopher
that sounds very messy and would means that the role attribute on the action is pointless. Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Form name collision

2005-03-30 Thread Marsh-Bourdon, Christopher
as a flag in the action that you use. I hope this helps. Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: tarek.nabil [mailto:[EMAIL PROTECTED] Sent: 30 March 2005 12:03 To: Struts Users Mailing List Subject: Form name collision Hi, I'm facing a problem w

Re: Validation - Mask

2005-03-23 Thread Tim Christopher
I'm not a a development machine so can't test this now but you could try using: ^[~\$]+$ .. Also failing that you could always opt for something like ^[0-9a-zA-Z]* listing valid inputs, as opposed to a value you don't want. Tim Christopher On Wed, 23 Mar 2005 16:37:47 -0800,

Re: Iterate a character array

2005-03-23 Thread Tim Christopher
e, so I'd imagine you'd need something like: private String[] char; public getChar() { return char;} public setChar(String[] char) { this.char = char;} Tim Christopher On Mon, 21 Mar 2005 23:18:43 -0500, Victor Grazi <[EMAIL PROTECTED]> wrote: > > I am trying to iterate throu

RE: HTML Tag Users Guide

2005-03-23 Thread Marsh-Bourdon, Christopher
1.1 and 1.2 of Struts. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: 23 March 2005 13:56 To: Struts Users Mailing List; Richard Bywater Subject: HTML Tag Users Guide Hello, following up with my select-list is

RE: Using constants in JSP pages

2005-03-21 Thread Marsh-Bourdon, Christopher
Agreed, but with my fluff most ides (Eclipse, JBuilder etc) will parse and throw an exception/error if the ... in <%= ... %> is undeclared or there is a typo there. That at least gives David the answer (albeit a bit of hash) David was after. Cheers Christopher Marsh-Bourdon www

RE: Using constants in JSP pages

2005-03-21 Thread Marsh-Bourdon, Christopher
ts.KEY_FOR_SOMETHING %> This should then be checked by your ide for typos etc. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: David Kennedy [mailto:[EMAIL PROTECTED] Sent: 21 March 2005 14:18 To: Struts Users Mailing List Subject: Using constants

Re: BeanUtils.copyProperties Cannot find...

2005-03-17 Thread Tim Christopher
idocs/index.html Hope that helps. Tim Christopher On Thu, 17 Mar 2005 09:34:24 -0600, Scott Purcell <[EMAIL PROTECTED]> wrote: > Hello, > I want to try and use the BeanUtils.copyProperties and I cannot seem to find > it. I have spent the last 10 minutes at Jakarta downloading diff

LookupDispatchAction (Bug?)

2005-03-15 Thread Tim Christopher
alue for the dispatch parameter). Does anyone know how I can fix this? Any help would be much appreciated. Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tiles:insert and tiles:put an attribute and the import it to request scope

2005-03-08 Thread Tim Christopher
his attribute from > somepage.jsp. How can this be achieved? > thank you! > > > --- Tim Christopher <[EMAIL PROTECTED]> wrote: > > Not sure if this is what you're asking but here's a > > quick example that > > shows how to access the information st

Re: tiles:insert and tiles:put an attribute and the import it to request scope

2005-03-08 Thread Tim Christopher
layout.jsp # - # Extract from content.jsp # Hope that helps, Tim Christopher On Mon, 7 Mar 2005 10:55:49 -0800 (PST), Jonathan M Z <[EMAIL PROTECTED]> wrote: > dear folks, > I know that I can insert an

Re: Using a CSS file

2005-03-07 Thread Tim Christopher
What's the advantage of using @import over link? Is it just for readability, or is there another reason for it?... As from what I can remember @import doesn't work with Netscape 4.x. Tim Christopher On Sat, 5 Mar 2005 23:56:54 -0500, James Mitchell <[EMAIL PROTECTED]> wrote:

Re: Using a CSS file

2005-03-04 Thread Tim Christopher
>> Off the top of my head I don't remember style being an attribute for the html:link tag... I'd recommend you included a 'cssStyle' global forward in your Struts config file then use something like: JSP: Struts-config.xml: Tim Christopher On Fri,

Re: Remove Tiles Component

2005-03-03 Thread Tim Christopher
Christopher On Thu, 3 Mar 2005 16:52:24 +, Ben Taylor <[EMAIL PROTECTED]> wrote: > I know there have been a few Tiles related question recently, but > having read them I still can't figure out how to solve my problem. > > At current I'm using: > > ... within a few

Re: CSS and Tiles

2005-02-28 Thread Tim Christopher
I use the following to load my CSS files: Note: If you do not use sslext then use html:rewrite instead of sslext:rewrite. This method requires the path to the CSS file to be stored within the struts config file so it can be easily updated, i.e: . Hope that helps. Tim Christopher

Validator requiredif and range problem

2005-02-28 Thread Christopher Loschen
Hi experts! I've got a problem where two fields are being checked for being in the valid range when only one of them is being used at any one time. I'm using Struts 1.1 so I'm limited to using requiredif instead of validwhen (right?). I've got some radio buttons set up like this: Total amount wit

Re: RequestURI (Action not JSP)

2005-02-28 Thread Tim Christopher
I don't seem to be able to extract it within the display:table tag itself, no matter how I nest different "s and 's... However as tables are only on a relatively small number of pages I'm not sure this is the best way, also it loo

Re: Queries and Paging

2005-02-28 Thread Tim Christopher
/example-paging.jsp The table in the above example is created with just 6 lines of code! I must admit I only downloaded it yesterday but IMO it's very easy to use and my best discovery since Log4j! Tim Christopher ---

Re: AW: Struts Approach

2005-02-28 Thread Tim Christopher
rt or on a different web site - Google wasn't much help :-( Tim Christopher On Sun, 27 Feb 2005 16:26:35 -0500, Mike Millson <[EMAIL PROTECTED]> wrote: > On Sat, 2005-02-26 at 11:26, Tim Christopher wrote: > > > > I'm also a little concerned that my domain object (Custome

Re: AW: Struts Approach

2005-02-26 Thread Tim Christopher
concerned that my domain object (Customer.java) is also my DTO - is this good practice? Thanks for all your help so far, Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts Approach

2005-02-25 Thread Tim Christopher
little confused! :os Any help would be appreciated. Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Question on conditionally changing action is html:form

2005-02-25 Thread Tim Christopher
Depending on what the two actions do it may be worth exploring the DispatchAction class. http://struts.apache.org/api/org/apache/struts/actions/DispatchAction.html Tim Christopher - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [OT] [FUN] Software that works!

2005-02-24 Thread Tim Christopher
> A car salesman knows when he is lying ;-) I had to check for it on Google... Guess I'm not that old yet ;o) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Help with Struts-Logic Tag

2005-02-24 Thread Tim Christopher
e telling it to look up this value. Hope that helps you a bit. Tim Christopher On Thu, 24 Feb 2005 17:51:35 +0800, Richard Reyes <[EMAIL PROTECTED]> wrote: > Hi Tim/Guys, > > the 2nd option is not working. > > can you elaborate on the first one? > > how do i declare the u

Re: [OT] [FUN] Software that works!

2005-02-23 Thread Tim Christopher
't think NaDa runs with just DOS installed though :'( Tim Christopher On Wed, 23 Feb 2005 23:19:33 -0500, James Mitchell <[EMAIL PROTECTED]> wrote: > It mean "nothing" in Spanish. So you just installed "nothing", which the > website actually says in quite

Re: AW: Hiding pages under WEB-INF

2005-02-23 Thread Tim Christopher
Oops... I slightly misread the last post, though most of what I said is still relevant. Here's the link I mentioned: http://www.junlu.com/msg/143431.html And to answer your question about site statistics: As all requests for resources will go through an action (see link) you could for example inc

Re: AW: Hiding pages under WEB-INF

2005-02-23 Thread Tim Christopher
I'd have to say not really ;o) ... Though I'm sure you could probably prevent hotlinking and whatever else if you did. Personally I don't think its worth the bother. Note: If you put resources that the user requires behind the WEB-INF folder (i.e. JS, CSS, images, etc.) you will have to write so

<    1   2   3   4   5   6   >