RE: Implementing Applicationwide search

2003-06-17 Thread Paul McCulloch
I'm not quite sure what you mean - do you want to search the data that underlies you webapp, or do you want to search the source of your application? If it is text searching of data you are after then check out Lucene (http://jakarta.apache.org/lucene) Paul -Original Message- From:

RE: Problem with Map based form

2003-06-17 Thread Paul McCulloch
That's strange, I've just implemented a map based form and am taking and returning String in my setter getter with no problems. Having said that I'm accessing my form in my action directly - not via the BeanUtils. Paul -Original Message- From: Nadja Senoucci [mailto:[EMAIL PROTECTED]

Passing multiple ActionForms to an Action

2003-06-18 Thread Paul McCulloch
Hi, I'm a struts newbie, so forgive me if this is a FAQ. Is there a way to submit multiple ActionForms to a single Action? I'm trying to implement search functionality on the same page as the view's primary function. I think an example would help... Consider a simplified ticket booking system.

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

2003-06-19 Thread Paul McCulloch
on a result page, you can post the incoming form bean under another attribute name (or names). Then each form on the result page will take the properties it needs, based on which form-bean was specified for its mapping. -T. Paul McCulloch wrote: Hi, I'm a struts newbie, so forgive

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

2003-06-19 Thread Paul McCulloch
:46 To: 'Struts Users Mailing List' Subject: RE: Passing multiple ActionForms (at the same time) to an Action 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

RE: clicking a hyperlink to populate a field

2003-07-21 Thread Paul McCulloch
This is possible. Put the original form into Session scope so that you don't lose the data the user enters prior to using the 'Find School' button. Each match could be a hyperlink to a UseSchoolAction, passing the ID of the school to use as a parameter. The UseSchoolAction could then set the

RE: clicking a hyperlink to populate a field

2003-07-21 Thread Paul McCulloch
it! -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 9:54 AM To: 'Struts Users Mailing List' Subject: RE: clicking a hyperlink to populate a field This is possible. Put the original form into Session scope so that you don't lose the data the user enters

RE: about dependent lists

2003-07-23 Thread Paul McCulloch
In the past (asp) I have done this within in a single server response. I built client-side javascript arrays of options for each option in the first list, and populated the second list from the appropriate array. Obviously this is only going to work for some data sets - at some point the user

RE: Offtopic: Dynamic Menus and struts?

2003-07-28 Thread Paul McCulloch
I'm looking at the very same thing right now. Struts-menu (a seperate Struts helper package) takes care of all the javascript stuff. It does have built in support for permissions based display, but I don't know if supports truly dynamic (i.e. defined in the database) menus - any ideas anyone?

RE: bean:message key=bean:write question

2003-07-29 Thread Paul McCulloch
You could expose the actual message (rather than it's key) via your form - getMyPropertyMessage(). To render this you'd just need: bean:write name=myForm property=myPropertyMessage/ Paul -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: 29 July 2003 16:17 To:

RE: bean:message key=bean:write question

2003-07-29 Thread Paul McCulloch
Paul, Are you saying the implementation of the getMyPropertyMessage would go to the correct localized resource bundle? Cheers, Brian -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: 29 July 2003 16:25 To: 'Struts Users Mailing List' Subject: RE: bean:message key

DispatchActions - using form validation for only some methods

2003-07-30 Thread Paul McCulloch
Hi, I've just moved to using dispatch actions from my own implementation of something similair to relay actions. One facility my implementation gave me was to have the form validated when some actions were called, and not validated for other actions (at the expense of a bloated

RE: DispatchActions - using form validation for only some methods

2003-07-30 Thread Paul McCulloch
. The other alternative suggested by Robert Taylor, which, once set up, is pretty slick but involves a little extension to how validator works: http://marc.theaimsgroup.com/?t=10535260067r=1w=2 -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30

RE: Validating fields only in some situations question....

2003-07-30 Thread Paul McCulloch
extension to how validator works: http://marc.theaimsgroup.com/?t=10535260067r=1w=2 -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 7:59 AM To: 'Struts Users Mailing List' Subject: DispatchActions - using form validation for only some

Using a key as an argument to bean:message

2003-08-01 Thread Paul McCulloch
Hi, Has anyone got any ideas on how to use a message key as an argument in a bean:message call. e.g. bean:message key=field.lookupbutton arg0Key=customer.label/ At the moment I am using a scriptlet to access the message resources and assign the message for the argument to a page variable. e.g.

RE: Using a key as an argument to bean:message

2003-08-01 Thread Paul McCulloch
Thansk - that's ceryainly a lot neater. I keep forgetting that lots of tags can have stuff defined in their body - I always seem to look at example which have no body. cheers, Paul -Original Message- From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED] Sent: 01 August 2003 12:47 To:

RE: Using a key as an argument to bean:message

2003-08-01 Thread Paul McCulloch
fmt:message key=field.lookupbutton fmt:param fmt:message key=customer.label/ /fmt:param /fmt:message Cheers, Krishna -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: Friday

RE: Formbean Scope

2003-08-01 Thread Paul McCulloch
The implementation of reset in ActionForm is empty. Overriding reset in your descendants to do nothing will have no effect. Paul -Original Message- From: David Chelimsky [mailto:[EMAIL PROTECTED] Sent: 01 August 2003 14:34 To: Struts Users Mailing List Subject: Re: Formbean Scope Even

RE: Formbean Scope

2003-08-01 Thread Paul McCulloch
stand...). Paul - do you have a recommendation for Goldy's situation? - Original Message - From: Paul McCulloch [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, August 01, 2003 9:07 AM Subject: RE: Formbean Scope The implementation of reset in ActionForm

RE: Bizarre Tag issue - help

2003-08-14 Thread Paul McCulloch
It looks like the id attribute of the tag doesn't accept run time expressions. Have a look at the .tld for the attribute in quesion. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 14 August 2003 01:16 To: Struts Users Mailing List Subject: Bizarre Tag

RE: bean tag question

2003-08-14 Thread Paul McCulloch
Can't you define a new class which wraps the project and provides getters for the properties you are interested in? Paul -Original Message- From: Jones, Marty B. [mailto:[EMAIL PROTECTED] Sent: 05 August 2003 14:41 To: [EMAIL PROTECTED] Subject: bean tag question Does anyone know if

RE: Button labels and DispatchActions mix?

2003-08-14 Thread Paul McCulloch
I believe that the solution is to use a DispatchLookupAction rather than a dispatch action. See p226 in Struts in Action for a description. Paul -Original Message- From: Rohit Aeron [mailto:[EMAIL PROTECTED] Sent: 07 August 2003 13:27 To: Struts Users Mailing List Subject: RE: Button

RE: Dispatch Action with Validator

2003-08-14 Thread Paul McCulloch
Have a look at http://marc.theaimsgroup.com/?l=struts-userm=105957430130941w=2 Paul -Original Message- From: Nimish Chourey , Tidel Park - Chennai [mailto:[EMAIL PROTECTED] Sent: 06 August 2003 12:20 To: Struts Users Mailing List Subject: Dispatch Action with Validator Hi all,

RE: Questions about i18n.

2003-08-14 Thread Paul McCulloch
1)I'd create seperate html fragments with the language specific text in them. I'd then use jsp:include with a runtime expression to determine the file to include (perhaps getting the file name from the properties file). 2) - the html:img tag deals with this for you: html:img pageKey=languagelogo

RE: Button labels and DispatchActions mix?

2003-08-14 Thread Paul McCulloch
: Re: Button labels and DispatchActions mix? Even DispatchLookupAction doesn't work if you want to use the same label eg. buttons.reset or buttons.search for two different buttons useing the same Action... Paul McCulloch wrote: I believe that the solution is to use a DispatchLookupAction

jstl:fmt i18n weirdness

2003-08-20 Thread Paul McCulloch
I'm experiencing werdness with localised fmt:message calls. It appears that the langauge of the first request to the context determines the langauage of all future requests, even from other machines. For example: 1) Tomcat restarted 2) Browser A requests a page in French - the page is displayed

RE: [OT ]Re: jstl:fmt i18n weirdness

2003-08-21 Thread Paul McCulloch
Thanks Yann -Original Message- From: Yann Cébron [mailto:[EMAIL PROTECTED] Sent: 20 August 2003 19:19 To: [EMAIL PROTECTED] Subject: [OT ]Re: jstl:fmt i18n weirdness I'm experiencing werdness with localised fmt:message calls. It appears that This tag has nothing do to with Struts, so

RE: Nested tags and recursive inclusion

2003-08-22 Thread Paul McCulloch
I use this all the time with Tomcat. Maybe this is a websphere bug? -Original Message- From: Yamini Krishnamurthi Ayyagari [mailto:[EMAIL PROTECTED] Sent: 22 August 2003 11:53 To: Struts Users Mailing List Subject: Nested tags and recursive inclusion Hello, I am trying to make

RE: How to disable a component based on bean property.

2003-08-26 Thread Paul McCulloch
An example using a nested:submit the bean property 'enabled' nested:define property=enabled id=enabled type=Boolean/ nested:submit disabled=%=!enabled.booleanValue()% Button text /nested:submit Paul -Original Message- From: deepaksawdekar [mailto:[EMAIL PROTECTED] Sent: 26

RE: MessageResource, html:options i182

2003-08-28 Thread Paul McCulloch
You could use a single key with some sort of delimter: sports.options=Football\Hockey\Badminton and parse the key to create your options. Paul -Original Message- From: Lars Bergstrm [mailto:[EMAIL PROTECTED] Sent: 28 August 2003 12:25 To: [EMAIL PROTECTED] Subject: MessageResource,

RE: Display Taglib

2003-08-28 Thread Paul McCulloch
Try the mailing list specific to that taglib - https://lists.sourceforge.net/lists/listinfo/displaytag-user Paul -Original Message- From: Mehta, Chirag (IT) [mailto:[EMAIL PROTECTED] Sent: 28 August 2003 15:07 To: [EMAIL PROTECTED] Subject: Display Taglib Has anyone had experience

RE: Display Taglib vs HtmlTable

2003-08-29 Thread Paul McCulloch
I have only tried the display taglib. I've found it to be powerful, easy to use easy to extend. My requirements are such that I've had to use the un-released 'display09' stream. But it does everything I need, seems stable, and the code is easy enough, for a developer with only a few months of

RE: Remote Debugging facility

2003-08-29 Thread Paul McCulloch
I use this facility without a problem. My CATALINA_OPTS Eclispse settings are identical to yours. How are you startimg Tomcat? The icon installed in the Start menu *does not* use catalina.bat. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 29 August

RE: variable in tag

2003-08-29 Thread Paul McCulloch
That is exactly how you do it! If that isn't working then it may be beacuse you are using the html-el taglib rather than the standard one. Paul -Original Message- From: LUCERO,DENNIS (HP-Boise,ex1) [mailto:[EMAIL PROTECTED] Sent: 28 August 2003 22:23 To: ' ([EMAIL PROTECTED])' Subject:

RE: 2 Parameters

2003-08-29 Thread Paul McCulloch
You might have more luck on the list for that tag: http://lists.sourceforge.net/lists/listinfo/displaytag-user I use decorators to do this sort of thing. Paul -Original Message- From: Mehta, Chirag (IT) [mailto:[EMAIL PROTECTED] Sent: 29 August 2003 12:02 To: Struts Users Mailing List

RE: Combining struts and JSTL tags...

2003-09-08 Thread Paul McCulloch
This can happen if you have included the bean taglib twice. Is the page with which you get an error included via an %@ include statement? Paul -Original Message- From: Loren Hall [mailto:[EMAIL PROTECTED] Sent: 06 September 2003 00:13 To: Struts Users Mailing List Subject: RE:

RE: click on button--save data--go to another page?

2003-09-08 Thread Paul McCulloch
The action class that handles the saving of your data returns an ActionForward - your execute() code determines what that forward is. To go to sample2.jsp you want to end your execute() with: return mapping.findForward(sample2); Paul -Original Message- From: Rick Col

RE: i18n with struts / JSTL

2003-09-09 Thread Paul McCulloch
Bear in mind that there are bugs in the jstl code that aren't in the struts equivalents: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16932 My approach has been to use the jstl tag and hope that the bug is fixed before I have to release! Paul -Original Message- From: Adam Hardy

RE: Using the bean:message tag as a parameter for itself

2003-09-11 Thread Paul McCulloch
Using struts tags: bean:define id=key2 bean:message key=something.else/ /bean:define bean:message key=somthing arg0=%=key2% / Using JSTL: fmt:message key=somthing fmt:param fmt:message key=something.else / /fmt:param /fmt:message Paul -Original

RE: client side sorting.

2003-09-11 Thread Paul McCulloch
If you can live with a server side solution then the display taglib does this much more. Paul -Original Message- From: imran ali [mailto:[EMAIL PROTECTED] Sent: 11 September 2003 16:23 To: Struts Users Mailing List Subject: client side sorting. Hi All, I have a struts page with a

RE: how to output value in text field?

2003-09-12 Thread Paul McCulloch
Why not set the default value on the form bean in an Action and let html:text render it for you? Paul -Original Message- From: Rick Col [mailto:[EMAIL PROTECTED] Sent: 11 September 2003 17:27 To: [EMAIL PROTECTED] Subject: how to output value in text field? Hi, I am trying to output a

RE: Struts EL

2003-09-12 Thread Paul McCulloch
It's in the contrib directory of the struts distribution. I can't help you much on using JSTL struts-el together I'm afraid. But, wouldn't html-el:text property=${bean.key} value=${bean.value}/ be a bit more ELish? Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: bean:write with a not simple property

2003-09-16 Thread Paul McCulloch
It's easier than you think: bean:write name=currentLoopUser property=address.street/ Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 16 September 2003 12:38 To: Struts-User Subject: bean:write with a not simple property hello, i use logic:iterate to

RE: bean:write property= Format a Date ?

2003-09-17 Thread Paul McCulloch
An easy way is to use JSTL's fmt:formatDate tag. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17 September 2003 13:31 To: Struts-User Subject: bean:write property= Format a Date ? one of my Bean propertys is a Date and i want to output it formated, is

RE: bean:write Not Working With Tiles

2003-09-19 Thread Paul McCulloch
Looks like you haven't declared the bean taglib in the page! Paul -Original Message- From: Alex Araujo [mailto:[EMAIL PROTECTED] Sent: 19 September 2003 15:55 To: [EMAIL PROTECTED] Subject: bean:write Not Working With Tiles I'm migrating a struts/jsp app to tiles and I'm having a hard

RE: Struts Design Issue - Search Functionality - Best Practices

2003-09-26 Thread Paul McCulloch
My aproach is as follows: Each form bean property which can be searched is a descendant of SearchableProperty. A SearchableProperty consists of: *A String value representing the user's input *The selected business entity (if the user has selected one) *An object descended from Lookup, which

RE: newbie: Best Practice Struts/Value-Objects?

2003-10-03 Thread Paul McCulloch
I *think* the other option is to put your form bean ( it's emebedded VO) in session scope (rather than request which you seems to have at the moment). Doing this means that the unchanged values on your VO will remain unchanged (rather than being nulled). Paul -Original Message- From:

RE: JSP Expression inside Struts html:text property

2003-10-13 Thread Paul McCulloch
When using a runtime expression as an attribute value the whole attribute must be a single expression: html:text property=%=\person\ + x% value=/ Paul -Original Message- From: Jonathan Hawkins [mailto:[EMAIL PROTECTED] Sent: 13 October 2003 15:27 To: Struts Users Mailing List Subject:

RE: [SOLVED] Drop down boxes

2003-10-14 Thread Paul McCulloch
How about some javascript (to call submit()) on the onchange event of the dropdown? Paul -Original Message- From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 12:42 To: Struts Users Mailing List Subject: [SOLVED] Drop down boxes Todor Sergueev Petkov wrote:

RE: passing html:link tag to bean:message tag

2003-10-14 Thread Paul McCulloch
Use the jstl: fmt:message key=cancel.message fmt:param html:link forward=emailemail us/html:link /fmt:param /fmt:message You probably want the text of the link to come from the resources as well: fmt:message key=cancel.message fmt:param

RE: passing html:link tag to bean:message tag

2003-10-14 Thread Paul McCulloch
I think). Thanks. David --- Paul McCulloch [EMAIL PROTECTED] wrote: Use the jstl: fmt:message key=cancel.message fmt:param html:link forward=emailemail us/html:link /fmt:param /fmt:message You probably want the text of the link to come from the resources

RE: IMPORTANT: internationalize large chunks of text/HTML

2003-10-15 Thread Paul McCulloch
I use a similair approach, but get fmt:message to deal with selecting the correct locale for me: bean:define id=localePage fmt:message key=some.langauage.specific.page/ /bean:define jsp:include page=%=localePage% flush=true/ I then define the path to the locale specific html page in the

RE: format string bean write - property editor

2003-10-15 Thread Paul McCulloch
I'd create a custom tag and pass bean:write as the body. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 15 October 2003 14:53 To: struts-user Subject: format string bean write - property editor Hello I read this mailing list since 1 year, but it is my

RE: IMPORTANT: internationalize large chunks of text/HTML

2003-10-15 Thread Paul McCulloch
is a playground...Play Hard, Play Smart. Visit http://www.YourSoS.com to learn how our Personal Emergency Alert Contact System can help you Play Smart. +00 1 (708) 570-2772 Fax MSN: mickknutson ICQ: 316498480 ICQ URL: http://wwp.icq.com/316498480 --- - Original Message - From: Paul

RE: IMPORTANT: how to tell

2003-10-15 Thread Paul McCulloch
Try http://marc.theaimsgroup.com/?l=struts-userr=1w=2 Paul -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] Sent: 15 October 2003 17:23 To: Struts Users Mailing List Subject: Re: IMPORTANT: how to tell The list does have an abundance of valuable information. Am I

RE: [OT] RE: javascript question...

2003-10-30 Thread Paul McCulloch
I'm pretty sure you can do it: var newwin=window.open(a.html?Name= + namVal); Paul -Original Message- From: James Childers [mailto:[EMAIL PROTECTED] Sent: 29 October 2003 21:41 To: Struts Users Mailing List Subject: [OT] RE: javascript question... No, you can't do it that way. But

RE: Eclipse + Ant + precompile - Tomcat

2003-10-31 Thread Paul McCulloch
In case you didn't know, you can precompile a specific jsp by simply making a reqest to the page with a special paramter: ttp://myapp/somepage.jsp?jsp_precompile If you don't have a huge number of pages this might form the basis of a quick and dirty hack. Paul -Original Message- From:

RE: Session Times Out

2003-11-03 Thread Paul McCulloch
I use a servlet filter - this way I can restrict access to actions JSPs without putting any code in either of them. Paul -Original Message- From: Seyhan BASMACI (Internet Yazilimlari Yetkilisi) [mailto:[EMAIL PROTECTED] Sent: 03 November 2003 10:20 To: Struts Users Mailing List Subject:

RE: struts-menu and internationalization

2003-11-06 Thread Paul McCulloch
I use struts menu, with the CoolMenu displayer, and everything works fine. Your config looks ok. What exactly isn't working? There is a struts-menu specific mailing list, which would be a more approriate place to ask for help. Paul -Original Message- From: koen boutsen [mailto:[EMAIL

RE: struts-menu and internationalization

2003-11-06 Thread Paul McCulloch
switches his language, by clicking an image, I create another Locale, e.g. French. All the other labels I use, change into the wright language, but the menulabels stay in the original language. Thanks in advance Koen -- - Original Message - DATE: Thu, 6 Nov 2003 12:46:13 From: Paul

RE: Access message resources from Action?

2003-11-06 Thread Paul McCulloch
((MessageResources) request.getAttribute(Globals.MESSAGES_KEY)).getMessage(locale, message.key) Paul -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: 06 November 2003 14:51 To: Struts Users Mailing List Subject: Access message resources from Action? This seems like a

RE: Line break and bean:write

2003-11-07 Thread Paul McCulloch
You need to replace newlines with brs: workString.replaceAll(\n, \nbr); Paul -Original Message- From: Mohamed Abu Zur [mailto:[EMAIL PROTECTED] Sent: 07 November 2003 11:12 To: [EMAIL PROTECTED] Subject: Line break and bean:write Hi all: I insert a text with various line

RE: How do un-load (destroy) a servlet after startup?

2003-11-07 Thread Paul McCulloch
Firstly, this isn't a struts question - there will be a far more appropriate list somewhere. Secondly - have you read the servlet spec? This will answer many questions. A quick answer - no. There is no real need to unload the servlet (althought the container may decide to do just that!) - just

RE: [OT] generate HTML file from XML and XSLT

2003-11-14 Thread Paul McCulloch
Hava a look at the sample servlets etc. that come with the Apache Xalan-J package. Paul -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: 13 November 2003 19:14 To: [EMAIL PROTECTED] Subject: [OT] generate HTML file from XML and XSLT Hi, I have a XML file and a

RE: DispatchAction and Security

2003-11-14 Thread Paul McCulloch
One of the joys of using Struts is that you have access to all the source code so you can answer these questions yourself. I had a quick look at the source - only public methods with the same signature as execute() will be called. So getServlet() cannot be called as it has the 'wrong' signature.

RE: DispatchAction and Security

2003-11-14 Thread Paul McCulloch
The key method map relates to LookupDispatchAction, the original question was about DispatchAction. Paul -Original Message- From: Paananen, Tero [mailto:[EMAIL PROTECTED] Sent: 14 November 2003 14:52 To: 'Struts Users Mailing List' Subject: RE: DispatchAction and Security So, only

RE: bean:message MessageFormat and number formating

2003-11-19 Thread Paul McCulloch
The jstl eqivalent of bean:message allows you to pass arguments via the tag body, so you can use another tag inside the body: fmt:message key=cart.amount fmt:param fmt:formatNumber value=${total} type=CURRENCY/

RE: Map Backed Action Form

2003-11-19 Thread Paul McCulloch
Start here: http://www.catb.org/~esr/faqs/smart-questions.html Paul -Original Message- From: Agashivala, Vishal [mailto:[EMAIL PROTECTED] Sent: 19 November 2003 12:17 To: Struts Users Mailing List Subject: RE: Map Backed Action Form Hi Can anyone help me to implement MAP BACKED

Lazy questions on this list

2003-11-20 Thread Paul McCulloch
Is it my imagination or are the number of downright lazy requests to this list getting worse? If the only replies any lazy questions ever got was http://www.catb.org/~esr/faqs/smart-questions.html then maybe people would get the point. Has anyone got any other ideas about how we can reduce the

RE: Lazy questions on this list

2003-11-20 Thread Paul McCulloch
and that's a great news for an open source project. Maybe a warning notice on the mail subscrubtion confiration could reduce lazy requests... Carl Paul McCulloch wrote: Is it my imagination or are the number of downright lazy requests to this list getting worse? If the only replies any

RE: Lazy questions on this list

2003-11-20 Thread Paul McCulloch
-Original Message- From: Long, Robert [mailto:[EMAIL PROTECTED] Sent: 20 November 2003 17:36 To: Struts Users Mailing List Subject: RE: Lazy questions on this list So from what I'm hearing here, as a newb, it is safe to assume that all answers to my questions will be

RE: Lazy questions on this list

2003-11-20 Thread Paul McCulloch
I agree. I'm just hoping to cut down on the number of posts where this list is used as the very first port of call when trying to solve a problem. Paul -Original Message- From: Gus Heck [mailto:[EMAIL PROTECTED] Sent: 20 November 2003 17:46 To: Struts Users Mailing List Subject:

RE: Key-based comparator tools

2003-11-21 Thread Paul McCulloch
Eclipse has this feature (built in I think). Just select two .properties files and choose 'compare with each other'. Paul -Original Message- From: Maurice Wijtten [mailto:[EMAIL PROTECTED] Sent: 21 November 2003 08:54 To: Struts Users Mailing List Subject: Key-based comparator tools

RE: Actions which create sessions seem to hang

2003-11-21 Thread Paul McCulloch
I've had my Struts application running on JBOSS 3.2.2/Tomcat for a couple of weeks with hundreds of simulated users at a time, so I don't think there is any inherent issue with the architecture. Tools I've found useful in tracking issues like this in past are: Running JBOSS with the JVM set to

RE: html:submit and html:button componant : value and text label

2003-11-24 Thread Paul McCulloch
This is an html issue, rather than a struts one. Read up on how input type=submit/ works for an in depth explanation. Struts provides the LookupDispatchAction which is designed to deal with this issue. Paul -Original Message- From: Eric BELLARD [mailto:[EMAIL PROTECTED] Sent: 24

RE: [OT] Stress Test

2003-11-24 Thread Paul McCulloch
I use JMeter for this sort of thing. It's JSession aware which makes life a bit easier. Paul -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 15:05 To: '[EMAIL PROTECTED]' Subject: [OT] Stress Test Hi All, I've got a problem with my

RE: save form fields

2003-11-25 Thread Paul McCulloch
I've been looking at this recently. Their appear to be two classes of solutions: 1) Client side logic in Javascript. All links, menu options etc. execute some javascript which can decide not to change the current page, but ask/force the user to save first. 2) Server side logic. All navigation

RE: URGENT:logic:iterate

2003-11-25 Thread Paul McCulloch
Do you really think shouting URGENT and repeatedly asking the same question is going to encourage people to help you out? Well, Not me. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25 November 2003 15:33 To: [EMAIL PROTECTED] Subject:

RE: checkbox onclick event not getting called

2003-11-25 Thread Paul McCulloch
This is probably OT, but anyway... It may be the way you are referencing the form. Try 'document.forms[0].add.disabled = ( element.checked );' That worked for me - I didn't use struts though - I just messed around with static html: html SCRIPT LANGUAGE=JavaScript function check(element) {

RE: html:radio 'property' doesn't work with 'isBoolean()' type me thod call?

2003-11-25 Thread Paul McCulloch
There's a much better search available with what looks like a relevant post for you: http://marc.theaimsgroup.com/?l=struts-userm=99483696509329w=2 Paul -Original Message- From: Turansky, Mark [mailto:[EMAIL PROTECTED] Sent: 25 November 2003 16:48 To: Struts Users Mailing List

RE: [OT] How to select an Option automatically?

2003-11-26 Thread Paul McCulloch
Have a look at http://www.mattkruse.com/javascript/autocomplete/ It seems to meet your requirements. Paul -Original Message- From: Pingili, Madhupal [mailto:[EMAIL PROTECTED] Sent: 25 November 2003 21:57 To: 'Struts Users Mailing List' Subject: [OT] How to select an Option

RE: bean:include problem - urgent..help!!

2003-11-26 Thread Paul McCulloch
What about the JSTL c:import tag? I use it with https without any issue. I'm using JDK 1.4.2 which may explain why it works for me though. Paul -Original Message- From: Khalid K. [mailto:[EMAIL PROTECTED] Sent: 26 November 2003 04:14 To: 'Struts Users Mailing List' Subject: RE:

RE: JSTL and Struts tags problem...

2003-11-27 Thread Paul McCulloch
What do you mean by doesn't work? Do you get error messages? What does the generated html look like? Does fmt:message work on it's own? Does using bean:message instead of fmt:message make any difference? Paul -Original Message- From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED]

RE: Problem with CSS after validation

2003-11-28 Thread Paul McCulloch
Is the URL for the page the same in both cases? One way I can see this happening is that you enter the page with a URL like http://myhost/myapp/foo/bar.jsp but when you have gone through validation you have a URL like http://myhost/myapp/someaction.do If that is the case then look at usibg

RE: Dynamic value in customer tag ??

2003-11-28 Thread Paul McCulloch
Look at the paramId paramName attributes of html:link. Pauk -Original Message- From: Eric Chow [mailto:[EMAIL PROTECTED] Sent: 28 November 2003 09:01 To: Struts Users Mailing List Subject: Dynamic value in customer tag ?? Hello, In the customer tag, how can I add a dynamic

RE: request.setAttribute

2003-11-28 Thread Paul McCulloch
You are storing it in the request with the name myObejct but trying to retrieve it with the name o. Use: MyObject o2 = (MyObject)request.getAttribute(myObejct); Paul -Original Message- From: Honza Spurn [mailto:[EMAIL PROTECTED] Sent: 28 November 2003 11:40 To: [EMAIL PROTECTED]

RE: request.setAttribute

2003-11-28 Thread Paul McCulloch
It still isn't correct. You staore it as myObejct and try and retrieve it as myObject Paul -Original Message- From: Honza Spurn [mailto:[EMAIL PROTECTED] Sent: 28 November 2003 11:51 To: Struts Users Mailing List; Honza Spurn Subject: Re: request.setAttribute Corrected version:

RE: request.setAttribute

2003-11-28 Thread Paul McCulloch
] Sent: 28 November 2003 11:59 To: Struts Users Mailing List Subject: Re: request.setAttribute Paul McCulloch wrote: It still isn't correct. You staore it as myObejct and try and retrieve it as myObject OK OK, that is only overwrite, sorry... but this is not copied from code

RE: request.setAttribute

2003-11-28 Thread Paul McCulloch
Please send some real code. I think you may have over simplfified what you are showing us. Paul -Original Message- From: Honza Spurn [mailto:[EMAIL PROTECTED] Sent: 28 November 2003 12:09 To: Struts Users Mailing List Subject: Re: request.setAttribute Paul McCulloch wrote

RE: request.setAttribute

2003-11-28 Thread Paul McCulloch
- From: Honza Spurn [mailto:[EMAIL PROTECTED] Sent: 28 November 2003 12:22 To: Struts Users Mailing List Subject: Re: request.setAttribute Paul McCulloch wrote: Please send some real code. I think you may have over simplfified what you are showing us. Paul No no, this is realy all

RE: request.setAttribute

2003-11-28 Thread Paul McCulloch
is going to work. Try using different classes instead of Server - I'd start with String. Paul -Original Message- From: Honza Spurn [mailto:[EMAIL PROTECTED] Sent: 28 November 2003 12:33 To: Struts Users Mailing List Subject: Re: request.setAttribute Paul McCulloch wrote: The request

RE: Dependent Drop Down Boxes

2004-01-07 Thread Paul McCulloch
Have a look at http://www.mattkruse.com/javascript/dynamicoptionlist/ Paul -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: 07 January 2004 18:00 To: Struts Mailing List Subject: Dependent Drop Down Boxes Hi I was wondering if anyone knew of any

RE: Text (A4-Page) inside a jsp-page

2004-01-12 Thread Paul McCulloch
I define the path to the locale specific page in the application.resources file. For example my application.resources file might have an entry like: locale.dependant.page=english.html and the french .properties file: locale.dependant.page=french.html The JSP to include the relvant version

RE: Access Applicationresources.properties from Action

2004-01-16 Thread Paul McCulloch
Is there an easy way to get the 'closest match' on terms of locales in the request? For example, my browser has it's request languages set to Italian;French;English. My application's default properties file is in English. There is a French properties file but not an Italian one. So, when I ask

RE: Ling Tag client

2004-01-16 Thread Paul McCulloch
The approach I use when I want to leverage another tags functionality is to nest the tag I want to use inside my own tag body. My own tag then processes the result of the other tag. e.g. mytags:sometag html:link/ /mytags:sometag I don't know if this will help in your situation or not.

RE: Session Problem

2004-01-22 Thread Paul McCulloch
This feature seems to have been dropped in IE 5.01 later. http://support.microsoft.com/?kbid=240928 Pitty - sounded like a useful way of demoing multiple users accessing the system from a single machine. Paul -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]

RE: editor

2004-01-22 Thread Paul McCulloch
The Blacksun HTML editor plugin for Eclipse will do tyhat for you. Paul -Original Message- From: dirk [mailto:[EMAIL PROTECTED] Sent: 22 January 2004 12:27 To: Struts Users Mailing List Subject: editor Does anybody knows a good and free struts editor ? Does anybody knows an

RE: HttpSession size - is this code correct?

2004-01-22 Thread Paul McCulloch
It is possible to reference the same object through multiple session attributes. I often do this to allow shorthand access to heavily nested properties. Your method would count multiple references to the same object multiple times. An alternative approach would be to look at the amount of memory

RE: [DisplayTag] Use of ID= Parameter

2004-01-23 Thread Paul McCulloch
This has been raised before. See http://sourceforge.net/tracker/index.php?func=detailaid=813006group_id=730 68atid=536613 I've patched the taglib to support an additional tableId attribute which can be dynamic. This is a simple change to TableTag.java the supporting TLD. The other change is to

RE: [DisplayTag] Use of ID= Parameter

2004-01-23 Thread Paul McCulloch
Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] -Original Message- From: Paul McCulloch [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 4:20 AM To: 'Struts Users Mailing List' Subject: RE: [DisplayTag] Use

  1   2   >