Re: Nested properties with javascript

2004-11-17 Thread Mark Lowe
In fact.. Looks like you may want to do this html:select property=agencyId .. then in js.. theSelect = myform.elements['agencyId']; or myForm.agencyId On Wed, 17 Nov 2004 18:29:14 +0100, Mark Lowe [EMAIL PROTECTED] wrote: The form propert will be whatever is rendered in the name attribute

Re: LazyForm

2004-11-17 Thread Mark Lowe
. LazyDynaForm theForm = (LazyDynaForm) form; List mixtureList = (List) theForm.get(mixtures); for(int i = 0;i mixutureList.size();i++) { String date = (String) mixutureList.get(i); } Mark On Wed, 17 Nov 2004 16:08:06 -0500, Seaman, Sloan [EMAIL PROTECTED] wrote: Is there anyway to use

Re: html:img page or src???

2004-11-12 Thread Mark Lowe
that strips the id off requests for images. Mark On Fri, 12 Nov 2004 13:49:05 -0500, Erik Weber [EMAIL PROTECTED] wrote: I think it will only be there until the Server has established a session cookie with the user's browser, unless the browser doesn't allow cookies (then it should always

Re: talking about paradigms

2004-11-11 Thread Mark Lowe
put the presentation control back in the hands of the site builder. Otherwise you end up addressing view issues in your actions or even action forms. Mark On Thu, 11 Nov 2004 10:42:27 +0100, Rosenberg, Leon [EMAIL PROTECTED] wrote: Hi, since we started talking about paradigms... how does JSTL

RE: Pre-populate form

2004-11-11 Thread Mark Benussi
Roland, I dont know if this solution is not the approved way but I do the following. I have a CreateForm which extends the ActionForm. It contains all the properties that map to the database and the validation rules. I then have an UpdateForm which extends the CreateForm and implements its

Re: Why stick with struts.

2004-11-11 Thread Mark Lowe
On Wed, 10 Nov 2004 21:41:53 -0800, Craig McClanahan [EMAIL PROTECTED] wrote: A lot of my feelings on this have been posted on another thread, so I just want to ask one question from Mark's message. On Wed, 10 Nov 2004 10:55:25 +0100, Mark Lowe [EMAIL PROTECTED] wrote: [snip

Why stick with struts.

2004-11-10 Thread Mark Lowe
much promise. If someone wants to point out how I'm misguided or stupid in some way and that the 2 form scenerio with dynamically generated links is plainly wrong I'd like to hear it. Mark - To unsubscribe, e-mail: [EMAIL

Re: Why stick with struts.

2004-11-10 Thread Mark Lowe
On Wed, 10 Nov 2004 07:17:41 -0600, Vic (Vinny) Cekvenich [EMAIL PROTECTED] wrote: Mark Lowe wrote: Having tried to make the move to JSF (as there are many things I really like about it) I've had to admit defeat and I'm looking back to struts. Welcome back. I hate to say I told you so

RE: Are there Struts Applications in real life out there?

2004-11-09 Thread Mark Benussi
Dont forget that app servers like Broadvision (V5 anyway) use struts. So you could say that sites like www.vodafone.co.uk are struts applications. Original Message Follows From: Chappell, Simon P [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users

Validator requiredif throws java.lang.reflect.InvocationTargetException

2004-11-04 Thread Mark Benussi
Afternoon. Have the following problem which is throwing an invocation exception which I assume means that a Null Pointer Exception occurred. WOuld appreciate some assistance as its doing my nut Properties. errors.requiredif = Please enter the {0} here or another required field.

Re: Why can't I do html:form action= or html:form with no explicit action

2004-11-04 Thread Mark
so that I can make that the form action. If not, I can setup my own as you suggest. Maybe that's a better idea anyways, as it gives me more control other the situation. Mark Erik Weber erikweber at mindspring.com writes: I may not fully understand your problem, but won't using

Re: javascript question

2004-11-03 Thread Mark Miller
document.getElementById(id); else if (ie) return document.all[id]; else if (ns4) return document.layers[id]; } HTH, Mark Michael Rush wrote: I've got a form that's using nested forms, with the following type of layout.. [radio] option 1 [text] value 1 [text] value

Why can't I do html:form action= or html:form with no explicit action

2004-11-03 Thread Mark
Hi Folks, Struts newbie here. In standard html, a form action is optional. If not specified, when you hit submit, that form's action goes to that same URL, thus returns back to that same form. I effectively want to do the same thing in struts. The reason is I want to reuse some

Re: [OT] Hosting Companies

2004-10-27 Thread Mark Lowe
I have sympathies with those who don't offer shared JVMs, i think that shared JVMs should only really be used if there's a mainly static site with say a contact form. Allowing anyone upload anything to a shared JVM means s/he could bring em all down. Glad you found something. Mark On 27 Oct

Re: ActionMapping without a formbean

2004-10-27 Thread Mark Lowe
Not sure I've i've understood or not but wouldn't a jsp:useBean id=nav scope=request class=com.domain.package.NavBean / work? Perhaps even use one of thise LazyDyanBeans i keep hearing about in the beanutils package. Perhaps I've missunderstood the problem. Mark On Wed, 27 Oct 2004 15:22

Re: Tiles controllerClass

2004-10-27 Thread Mark Lowe
Decide if you want to use an action or a tiles controller.. Or a tiles action.. You can use an action if you return null rather than a forward (well for a forward) and use the controllor url attribute. But this means wiring an an action and a tile/ controllorUrl=/myaction.do Mark On Wed, 27

Re: Tiles controllerClass

2004-10-27 Thread Mark Lowe
controllerClass=com.packagename.MyController .. he problem with controllers is that its hard to handle exceptions.. But if you're not doing anything that clever in there then perhaps you'd deem that as okay. Mark On Wed, 27 Oct 2004 23:41:07 +0800, PC Leung [EMAIL PROTECTED] wrote: Mark

Re: mapping a html page request

2004-10-27 Thread Mark Lowe
/ Should work. Mark On Wed, 27 Oct 2004 13:24:57 -0400, David G. Friedman [EMAIL PROTECTED] wrote: Dennis, Web server like tomcat have rewrite modules (mod_rewrite) where you can sense an incoming URL and parse it to make it go where you wish. See: http://httpd.apache.org/docs-2.0/misc

Re: Tiles controllerClass

2004-10-26 Thread Mark Lowe
you to make use of exception handlers. Mark On 26 Oct 2004, at 17:14, PC Leung wrote: Hello world, The following is a fragment of tiles-defs.xml. where MyMenuAction actually is UserMenuAction in Tiles. definition name=erp.menu.home path=/layout/menu.jsp controllerClass

Re: Blank Line Filter

2004-10-26 Thread Mark Lowe
/load-on-startup /servlet Mark On 26 Oct 2004, at 19:38, CRANFORD, CHRIS wrote: Robert - One thing I am noticing is that our action forwards to a jsp with the following content: tiles:insert definition=.seekLayout tiles:put name=titlebean:message key=reports.view.page.title//tiles:put

Re: Struts img tag usage

2004-10-26 Thread Mark Lowe
URLrewrite has similar functionality to mod_write if you're in a pure java environment or deploy to some grot like IIS. http://tuckey.org/urlrewrite Mark On 26 Oct 2004, at 19:55, Matt Bathje wrote: e-denton Java Programmer wrote: Hi! I have been using the Struts img tag instead of the HTML img

Re: Blank Line Filter

2004-10-26 Thread Mark Lowe
Another option could be to use JSPC precompile your jsps, but between the java file generation and the compilation, strip out what you don't want. I haven't done this (the stripping out part) so its only theory, but it would seem to help you blank line problem with no runtime over head. Mark

Writing form field values out

2004-10-25 Thread Mark Benussi
I have a requirement to write out the value of a form field in aother part of the page (But within the form). Can someone supply the snippet of code. Let us say the field is called xyz. - To unsubscribe, e-mail: [EMAIL

Re: [struts-faces][struts-chain] Tiles and faces integration question

2004-10-20 Thread Mark Lowe
really like the way the jsp tiles handler works with myfaces, if I have any joy getting this working then I'll post how i did it (after looking at the jsf source). Mark On 19 Oct 2004, at 23:07, Craig McClanahan wrote: One issue to beware of is a JSF restriction related

Re: [struts-faces][struts-chain] Tiles and faces integration question

2004-10-20 Thread Mark Lowe
Dooh.. The jsf source only provides the interfaces and abstract classes, without the actual buts that do the work in there. On 20 Oct 2004, at 09:59, Mark Lowe wrote: Sean I've been trying the same thing (use struts for tiles and the rest jsf) here's what I've found in case it useful. Myfaces

Re: [struts-faces][struts-chain] Tiles and faces integration question

2004-10-20 Thread Mark Lowe
Oh no.. Found it.. On 20 Oct 2004, at 10:17, Mark Lowe wrote: Dooh.. The jsf source only provides the interfaces and abstract classes, without the actual buts that do the work in there. On 20 Oct 2004, at 09:59, Mark Lowe wrote: Sean I've been trying the same thing (use struts for tiles

Re: JSF and Struts Integration

2004-10-12 Thread Mark Lowe
a forward. which is nice for editing type interfaces. public void saveAction() { service.save(userBean); } There are reasons for preferring struts to faces, but also good reasons to prefer faces over struts.. Mark Hubert

Re: Search engine friendly URLs

2004-10-05 Thread Mark Lowe
Mark On 2 Oct 2004, at 17:59, David G. Friedman wrote: You should be able to do with in 1.2.4 with WildCard mapping, see section 4.10 - Using Wildcards in Action Mappings. http://struts.apache.org/userGuide/building_controller.html Regards, David -Original Message- From: Ben [mailto:[EMAIL

How to iterate through Validator errors only in JSP?

2004-10-05 Thread Mark Songhurst
query? Many Thanks, Mark. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email

Re: Search engine friendly URLs

2004-10-05 Thread Mark Lowe
this. %@ taglib prefix=tags tagdir=/WEB-INF/tags % c:url var=mylink value=/action.do c:param name=one value=firstval / c:param name=two value=firstval / c:param name=three value=firstval / /c:url a href=tags:cleanLink link=${mylink} /click this/a You may need tomcat 5 to do it.. Mark

Re: Inicialiazing a LookupDispachAction

2004-10-02 Thread Mark Lowe
); if(target.equals(view) { return null; } .. } and so on.. Mark On 2 Oct 2004, at 14:56, Richard Tuquet Laburre wrote: may be you can put validate=false in your struts-config.xml and execute form.validate in the methods which have to validate your form PS : excuse me ; my english is bad

Re: [PROBLEM] Refreshing ResultList,

2004-10-01 Thread Mark Lowe
Try foward name=success path=/myjsp.jsp redirect=true / Mark On 1 Oct 2004, at 15:38, Ruben Cepeda wrote: Hello everyone, I am adding new information to a table and the redirecting via an action forward to an action that display the content of the table. This work perfectly the first time I add

[Struts Workflow] source code available for struts-workflow-1-0-3-demo ?

2004-09-30 Thread Mark Songhurst
Hi. If anyone from LivingLogic (or otherwise) can send me the source code (.java files) for the struts-workflow-1-0-3-demo.war file then it would be much appreciated and assist me greatly in integrating struts-workflow into my application. Many Thanks, Mark

RE: Reusing methods across actions classes

2004-09-30 Thread Mark Benussi
PROTECTED] Subject: RE: Reusing methods across actions classes Date: Thu, 30 Sep 2004 11:25:25 +0100 My actions already extend Action. Should I write a superclass that extends Action, and then extend this class, is that correct? Thanks. -Original Message- From: Mark Benussi [mailto:[EMAIL

Re: Maven with Struts

2004-09-29 Thread Mark Lowe
in project.properties but I'd start with little and add things as you need. Mark On 29 Sep 2004, at 09:56, Arnaud HERITIER wrote: You can create a project model with : maven genapp Template name : struts or struts-jstl It will prepare a very simple project for maven ready to use with struts. Arnaud On Wed, 29 Sep

Problems with Multi Page (wizard) Validation using DynaValidatorForm and the page= attribute

2004-09-29 Thread Mark Songhurst
Thanks in Advance, Mark. --- struts-config.xml: form-beans !-- WizardForm form bean -- form-bean name=WizardForm type=org.apache.struts.validator.DynaValidatorForm form-property name=page type=java.lang.Integer/ form-property

RE: Problems with Multi Page (wizard) Validation using DynaValidatorForm and the page= attribute

2004-09-29 Thread Mark Songhurst
! Many Thanks, Mark. --- wizardpage1.jsp: html:html head titlebean:message key=WizardPage1.title//title html:base/ /head body bgcolor=white logic:messagesPresent bean:message key=WizardForm.validation.errors.header/ ul html:messages id=error

RE: Problems with Multi Page (wizard) Validation using DynaValidatorForm and the page= attribute

2004-09-29 Thread Mark Songhurst
DOH! I didn't upgrade my validator-rules.xml file from 1.1 to 1.2.4. This previous post to this mailing list solved the problem: http://www.mail-archive.com/[EMAIL PROTECTED]/msg11592.html Many thanks to those who responded to my original post. Mark. -Original Message- From: Mark

Storing the last request - JAAS?

2004-09-28 Thread Mark Benussi
I need to store the last request so that if a user requests a page that requires authentication etc it can be processed and then the user can be redirected to the last request. I am going to be integrating with JAAS this week so maybe there is something built in already (Which would make

RE: Storing the last request - JAAS?

2004-09-28 Thread Mark Benussi
List' [EMAIL PROTECTED] Subject: RE: Storing the last request - JAAS? Date: Tue, 28 Sep 2004 16:45:59 +0100 This will be done for you if you enable container managed security for your web container. Paul -Original Message- From: Mark Benussi [mailto:[EMAIL PROTECTED] Sent: Tuesday

Re: Why does Resin run on port 8080?

2004-09-28 Thread Mark Lowe
Is there a reason why Resin runs on port 8080 by default? Just curious. Someone forgot the annoying yet perfect answer for all why questions. Why not? On 28 Sep 2004, at 21:02, Bill Siggelkow wrote: Odd ... I was able to find this link in a little under 10 seconds ...

Re: Google-friendly links using Struts

2004-09-28 Thread Mark Lowe
me an hour i'll get back to you if i have any joy.. Mark On 28 Sep 2004, at 21:35, Don Brown wrote: You could try passing parameters via the URL then using Struts' wildcard action mapping to pull them out. I use it to support a ReST-style web service interface to my application. Don On Tue, 28 Sep

Re: Google-friendly links using Struts

2004-09-28 Thread Mark Lowe
?foo=bar the filter could then rewrite /app/action.do/foo/bar But doing this with a filter seems less hassle than geeking around with apache rewrite rules. I started googling around and found this.. I'm digging around the source to see what it does,, http://tuckey.org/urlrewrite/ Mark On 28 Sep

Re: [OT] jsf dataTable scope.

2004-09-26 Thread Mark Lowe
(typically saved as a hidden field in the subsequent form submit). If not specified, the default value server must be used. I was trying to fix something that's already been done, all i have to say to that is arses. Mark On 25 Sep 2004, at 14:00, Mark Lowe wrote: I know this may annoy some folk

Re: How to escape {1} that it appears in the text?

2004-09-26 Thread Mark Lowe
Might be a unicode only thing but try #123; for { and #125; for } Mark On 26 Sep 2004, at 16:55, Axel Seinsche wrote: Hi all, How can I escape curly brackets in my message bundle so that I can display {1} in my JSP? I already tried with \ or \\ but whenever I don't receive an error {1

[OT] jsf dataTable scope.

2004-09-25 Thread Mark Lowe
is that the Bean is instantiated everytime the addRoomAction is run.. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSTL problem

2004-09-25 Thread Mark Lowe
If you're using JSTL in struts all the object will be available without drilling through the scopes. In straight JSTL you'd use sessionScope. But as you're using struts you dont need to and you can decide what you want to scope to in you java or configuration of the ActionServlet.. HTH Mark

Re: ActionMessage and ActionMessages Problem

2004-09-25 Thread Mark Lowe
/ But there are good reasons for preferring html:messages as you can hide whole sections of unwanted html using them.. Mark On 25 Sep 2004, at 17:17, Michael McGrady wrote: Sorry, left out the ERRORS sort of header. Michael McGrady

Re: Session / Form Issue

2004-09-25 Thread Mark Lowe
By virtue of the properties being in the form you don't need to have it in the name attribute.. At the moment your html:text does this userForm.getUserForm().getFullname(); try html:text property=fullname / Which will be doing userForm.getFullname(); Mark On 25 Sep 2004, at 13:53, Greg Preston

Re: JSTL problem

2004-09-25 Thread Mark Lowe
up in the hierarchy. page, request, session,application Mark On 25 Sep 2004, at 18:20, Chris wrote: If you're using JSTL in struts all the object will be available without drilling through the scopes. How JSTL and Struts communicate each other? Could anybody please explain this *mysterious* thing

Re: JSTL problem

2004-09-25 Thread Mark Lowe
then the usual c:out value=${foo} / should do the same. On 25 Sep 2004, at 19:36, Mark Lowe wrote: Not sure why you have this burning desire to know but JSTL works as such outside of struts %@ page isELIgnored=false % % request.getSession().setAttribute(foo,foo); % html body ${foo} /body /html Both

Re: Struts and html:base - hidding implementation

2004-09-23 Thread Mark Lowe
Mark On 23 Sep 2004, at 12:13, Java News wrote: Hi, I don't understand one simple thing with html:base / - when I had read about Struts and JSTL help for them, I saw that it helps to hide implementation, so why I got such output: base href=http://localhost:8180/struts_test/pages/Welcome.jsp; form page

Tiles putList and jsp:include of list values

2004-09-23 Thread Mark Benussi
My jsp works great in my development IDE. page: tiles:putList name=right_features tiles:add type=page value=/templates/features/logon.jsp / tiles:add type=page value=/templates/features/basket.jsp / tiles:add type=page value=/templates/features/promotions.jsp /

Re: JSTL and scope

2004-09-22 Thread Mark Lowe
=com.yourdomain.yourpackage.YourClass scope=request / c:out value=${yourbean.yourproperty} / And thus save all that importing in jsp.. HTH Mark On 22 Sep 2004, at 11:42, andy wix wrote: Hi, I am a little surprised that having a class variable imported into a page isn't seen by JSTL contructs. For example if i have a class

RE: multiple struts-config error

2004-09-22 Thread Mark Benussi
I woud remove the preceeding / and any space between entries. Original Message Follows From: Viral_Thakkar [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: multiple struts-config error Date: Wed, 22 Sep 2004

RE: success story using Struts in large scale web based system

2004-09-22 Thread Mark Benussi
Vodafone use Struts and Vauxhall motors are planning to use it in a rewite of their site I hear. Original Message Follows From: Chappell, Simon P [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: success

Re: purpose of integrating JSF+STRUTS

2004-09-20 Thread Mark Lowe
starting to come around to the idea of using them together as a way of moving toward JSF but without bleeding. Mark On 20 Sep 2004, at 15:35, ravi naraharasetty wrote: Hi All, What is the main objective/purpose of integrating JSF with Struts. If I correctly understood I am thinking of achieving below

Re: set not working

2004-09-20 Thread Mark Lowe
% java.lang.String a = init; request.setAttribute(a,a); % c:out value=${a} / or c:set var=a value=init / c:out value=${a} / Mark On 20 Sep 2004, at 20:16, Anna Kerekes wrote: Hello, I am having some problems running the program below (it does not run the way it should

Re: set not working

2004-09-20 Thread Mark Lowe
: java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver Any ideas? From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Mon 20/09/2004 2:56 PM To: Struts Users Mailing List Subject: Re: set not working % java.lang.String a = init; request.setAttribute

Posting XML to Struts

2004-09-17 Thread Mark Benussi
Has anyone got an example of posting an XML message via the web to a sruts action on an external site and how I should handle that request in the struts action? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: OT - way OT - WSAD 5.0

2004-09-17 Thread Mark Benussi
I experienced this last week, had to rebuild my projects and update WSAD to 5.1. Just out of interest are you working for IBM, I know they are doing some work there. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Can anyone recommend a UK based Tomcat Struts MySql hosting solution?

2004-09-16 Thread Mark Benussi
Subject says it all Does anyone have any good or bad recommendations. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

sslext : Location of org.apache.struts.config.SecureActionConfig

2004-09-16 Thread Mark Benussi
Am using the Struts sslext based on advice from several of you. However when I change my struts config to use the class: org.apache.struts.config.SecureActionConfig i.e. !-- Action Mappings -- action-mappings type=org.apache.struts.config.SecureActionConfig I get The following

RE: popup design (Off the subject)

2004-09-16 Thread Mark Benussi
Dont wish to change the subject but XP service pack 2 has severely limited popups. Worth bearing in mind Original Message Follows From: Bj [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: popup design Date:

[RESOLVED] RE: sslext : Location of org.apache.struts.config.SecureActionConfig

2004-09-16 Thread Mark Benussi
Fixed now. Downloaded the latest version of sslext - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat 4.1 and Tiles including page defined in a putList problem

2004-09-16 Thread Mark Benussi
I have been running my app in WSAD 5 for a month or so and am migrating it to the test environment (Tomcat 4.1). I was pesimistic that it would all work instantly ... and I encountered the following problem. In the jsp that uses the template I have tiles:insert

Displaying Validator messages.

2004-09-14 Thread Mark Benussi
As a Struts 1.0 developer I used to use the traditional struts methods for error messages e.g. saveErrors(). Ive moved (not so gracefully) to using Struts 1.1 and Validator. My simple problem is that I cant work out how to display the messages produced by the validator. I have included the

RE: [OT]1,2,3,4 I declare a pun war!

2004-08-19 Thread Galbreath, Mark A
An ugly girl in the 3rd grade? -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 6:46 PM To: 'Struts Users Mailing List' Subject: RE: [OT]1,2,3,4 I declare a pun war! On the topic of sheep, Where does that 100% virgin wool come from

RE: Validation plug-in Websphere Studio 5.0.1

2004-08-18 Thread Galbreath, Mark A
Validator sucks. Learn to live without it - use forms validation. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 1:49 PM I'm developing a Struts 1.1 web app and trying to implement the validation plug-in. Things went well

RE: Validation plug-in Websphere Studio 5.0.1

2004-08-18 Thread Galbreath, Mark A
I went to JavaOne and Craig told me how much I was missed ;-) -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 2:00 PM I thought we got rid of you!!!;) - To

RE: unsubscribe

2004-08-18 Thread Galbreath, Mark A
AIM: jmitchtx - Original Message - From: Galbreath, Mark A [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 1:55 PM Subject: RE: Validation plug-in Websphere Studio 5.0.1 Validator sucks. Learn to live without it - use forms

RE: Learning the basics

2004-08-18 Thread Galbreath, Mark A
http://struts.apache.org/userGuide/ Mark -Original Message- From: Kenneth Litwak [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 2:23 PM To: Struts Users Mailing List Subject: Learning the basics If I'm an experienced developer, but new to Struts, do I need to buy a book

RE: Learning the basics

2004-08-18 Thread Galbreath, Mark A
That's right, Rick, you self-promoting egotistical maggot, tell the newbies it's okay to ignore the API. Mark -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 2:49 PM To: Struts Users Mailing List Subject: Re: Learning the basics Kenneth

RE: [OT] Top things Mark has been during his time away from the Struts List

2004-08-18 Thread Galbreath, Mark A
They were NOT innocent! -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 3:03 PM To: Struts Users Mailing List Subject: Re: [OT] Top things Mark has been during his time away from the Struts List 1 more... - molesting innocent

RE: Learning the basics

2004-08-18 Thread Galbreath, Mark A
Hey! those were from ME! -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 3:09 PM To: Struts Users Mailing List Subject: Re: Learning the basics Robert Taylor wrote: The struts website contains a wealth of information on getting

RE: [OT] Top things Mark has been during his time away from the Struts List

2004-08-18 Thread Galbreath, Mark A
flying, of course -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 3:20 PM To: Struts Users Mailing List Subject: RE: [OT] Top things Mark has been during his time away from the Struts List Friday comes early some weeks. Red

RE: [OT] Top things Mark has been during his time away from the Struts List

2004-08-18 Thread Galbreath, Mark A
what the hell do you know? you live in Wisconsin...by choice! -Original Message- From: Chappell, Simon P [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 3:45 PM To: Struts Users Mailing List Subject: RE: [OT] Top things Mark has been during his time away from the Struts List

RE: [OT] Top things Mark has been during his time away from the Struts List

2004-08-18 Thread Galbreath, Mark A
Not fair! You saw the photos! -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 3:45 PM To: Struts Users Mailing List Subject: Re: [OT] Top things Mark has been during his time away from the Struts List Chappell, Simon P wrote: Red

Re: Scriptlet in html:img

2004-08-11 Thread Mark Lowe
Um.. img src=%= request.getContextPath() %/images/a.gif ... Might just do it for you.. On 10 Aug 2004, at 08:56, ashwini jagtap wrote: me error can anyone correct this - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Excel File Conversion

2004-08-06 Thread Mark Lowe
Depending on how complex your requirements are you could generate a csv and set the appropriate file header to excel. On 6 Aug 2004, at 08:04, David Friedman wrote: Are you talking about showing data in your JSP in an HTML table? Check out the export to Excel functions of displaytag:

Re: IE5.0 and CSS import

2004-07-30 Thread Mark Lowe
Yeah there is a cost.. in which case i'd get the context path and use that, but makes moving a template into the app a little more work. Mark On 30 Jul 2004, at 11:57, Nicolas De Loof wrote: Having this, you need all your action path to have same number of directory levels, so that ../.. points

Re: [OT] XML Schema for Tiles

2004-07-30 Thread Mark Lowe
sorry i just read the blog and seen that its not what you want at all. In fact you didn't want anything in the first place :) On 30 Jul 2004, at 14:42, Mark Lowe wrote: Is downloading this what you want to do? http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd Mark On 30 Jul 2004, at 14

[OT] Cvs windows

2004-07-27 Thread Mark Lowe
running on a *nix box. Any pointers could save be some time and i'd greatly appreciate the benefit of anyone's experience who works like this. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [OT] Cvs windows

2004-07-27 Thread Mark Lowe
be install linux, and forget all this nonsense, but you know windows users.. Many thanks for the responses Mark On 27 Jul 2004, at 18:46, Vemuri, Raghu V wrote: We use cvs with the repository on UNIX. Developers are usually on WSAD5 using the cvs plug-in. The interface is pretty nice and we have found

Re: Accessing index properties in javascript validator

2004-07-23 Thread Mark Lowe
Similarly but more compatible with older browsers. total = ${fn:length(theForm.properties)}; form = document.forms[theForm]; for(i = 0;i total;i++) { target = property[+ i +]; element = form.elements[target]; alert(element.name +=+ element.value); } Mark On 23 Jul 2004

Re: EJB + Struts + Hibernate

2004-07-22 Thread Mark Lowe
and activation stuff. Mark On 22 Jul 2004, at 10:31, Marco Mistroni wrote: Hello, Thanx 4 the fast reply.. I have tried to put in tomcat/common/lib, seems not working I tried also to put it in tomcat/server/lib, still not working The file was present in both directories, so I'll have

Re: how to use controllerclasses with tiles?

2004-07-15 Thread Mark Mandel
Fahd, I've successfully implemented heaps of controller classes, but I'm having trouble visualising what you have done. Any chance of a code example? Mark On Fri, 16 Jul 2004 10:35:13 +0500, Fahd Ahmed [EMAIL PROTECTED] wrote: Hi, I am trying to use a controllerClass with Tiles. I am

multiple struts-config.xml and validator.xml files for dealing with stories

2004-07-13 Thread Mark Shifman
Ted Husted wrote: For a large, heavy-duty-input data-driven web application, I would recommend C. C) [Conventional class] is NOT used, data form validation is defined within the validation.xml and handled by struts, the Action class (or some surrogate) then enforces all business rules.

Re: more: Re: almost OT - html4.0 buttons don't work in IE 6 SP 1 ??

2004-07-07 Thread Mark Lowe
keys also. It means recursively searching the parameter names enumeration but it doesn't seem that heavy yet (probably need to look at the size of forms and such like). Mark On 7 Jul 2004, at 03:32, Rick Reumann wrote: Axel Groß wrote: aaargh. Just found another problem. Seems that the IE is so

Re: Form bean scope question

2004-07-06 Thread Mark Lowe
What does your mapping look like? On 6 Jul 2004, at 10:18, John Moore wrote: Hi, I hope someone can help me get my head around a scoping question here. I have a multi-page wizard, used for purchasing. There are five pages in all and I'm trying to factor out as much of the common stuff as

Re: Form bean scope question

2004-07-06 Thread Mark Lowe
You may have stuff configured to process such requests but an out the box version of struts would probably need html:form action=/Purchase.do .. to find a mapping such as action path=/Purchase .. On 6 Jul 2004, at 10:46, John Moore wrote: Mark Lowe wrote: What does your mapping look like

Re: [OT] Calendar How-to

2004-07-03 Thread Mark Lowe
If your model or SQL queries (depending on how you've done things) returns a list of events then put these where you can present them and list them in you tile. I don't see the problem you're having what do you have in terms of the data? a list or Event beans? On 1 Jul 2004, at 20:14,

Re: Urgent help needed on struts!

2004-07-02 Thread Mark Lowe
=http://www.w3.org/2001/XMLSchema-instance; version=2.4 xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; Like wise was servlet spec would this appear to be? web-app_2_4.xsd Mark On 2 Jul 2004, at 04:49, Ding Lei wrote: Hi, thank you very much !!! It works, after I did everything

Re: [OT] Netscape 7.1 WOW!

2004-07-01 Thread Mark Lowe
To my knowledge netscape is a stable grab of mozilla slightly propagandized with netscape logos. Firefox is a lighter version of mozilla, without all that silly mail/new reader jism and focuses on being an html browser. But basically they're all the same thing. On 1 Jul 2004, at 02:04, Michael

Re: html:select issue

2004-07-01 Thread Mark Lowe
If theList is a List that cast it to an array theList.toArray() On 1 Jul 2004, at 14:01, John Antonakos wrote: i had something like this: select name=select1 logic:iterate id=list1 name=coll1 property=theList option value=bean:write name=list1 property=a1/,bean:write name=list1

Re: html:select issue

2004-07-01 Thread Mark Lowe
myself, to combine the 2 fields and pass an a4 param which is actually the combined a1,a2. But i was searching for a Struts solution, not a Java one. John - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, July 01, 2004 3:25

Re: Urgent help needed on struts!

2004-07-01 Thread Mark Lowe
/servlet-name url-pattern*.do/url-pattern /servlet-mapping .. Thank you. Ding Lei On Thu, Jul 01, 2004 at 06:56:31PM +0200, Mark Lowe wrote: I've have no experience of this problem however given that its a EL processing problem then like the next man said check your web.xml and see what

Re: unable to set html-el:link parameters

2004-07-01 Thread Mark Lowe
opps.. You need to access a method in you ForRentalProperty class if there's a getId() method then add paramProperty=id On 1 Jul 2004, at 19:17, Mark Lowe wrote: Seeing as you're using jstl, there's more that one way but you might c:url var=link value=/client-property-view-for-rent-action

Re: Urgent help needed on struts!

2004-07-01 Thread Mark Lowe
You could try removing ?xml version=1.0 encoding=UTF-8? And hope that works, otherwise I haven't had much to do with 2.4 web.xml 's as xdoclet only support 2.3 and under.. Mark On 1 Jul 2004, at 19:37, Ding Lei wrote: Hi Mark, Thank you very much for your fast reply. I was told

Re: unable to set html-el:link parameters

2004-07-01 Thread Mark Lowe
} / /c:url a href=${link}${property.name}/a /c:forEach Using el outside of c:out is possible in tomcat 5. Mark On 24 Jun 2004, at 19:29, Bryan Hunt wrote: Cheers Mark, You were correct, it is now working. Here is the correct code snip= c:forEach var=properties items=${rentalPropertiesSelection

<    1   2   3   4   5   6   7   >