Fwd: help

2003-02-18 Thread Mark Lowe
Inizio del messaggio inoltrato: Da: Mark Lowe [EMAIL PROTECTED] Data: Mar 18 feb 2003 11:16:35 Europe/Rome A: Struts List [EMAIL PROTECTED] Oggetto: help This isn't really a struts question, but is i imagine a typical scenrio when attempting to use struts with older systems. I'm using

Re: help

2003-02-18 Thread Mark Lowe
I've just taken a closer look at org.apache.commons.beanutils ... This seems the question i should have been asking, any good references for learning how to use this package would be appreciated.. Many thanks mark Martedì, 18 feb 2003, alle 11:20 Europe/Rome, Mark Lowe ha scritto: Inizio

DynaBeans

2003-03-03 Thread Mark Lowe
Anyone got any cunning suggestions/workarounds as to change property type in a DynaBean? I'm attempting to replace an int that has been created from a ResultSetDynaClass with a DynaBean, or other useful object Anyone else had this sort of problem? thanks mark

DynaBeans

2003-03-04 Thread Mark Lowe
Hello Sorry another dynabeans question I'm getting NoSuchMethodException when i can see that the properties i wish to access are available (using the describes to produce a map and exstracting the names with the keySet() method thanks mark

Re: DynaBeans

2003-03-04 Thread Mark Lowe
the properties to a xerox bean exactly like the docs example... It could also be My BasicDynaBean constructer many thanks mark Martedì, 4 mar 2003, alle 15:02 Europe/Rome, Mark Lowe ha scritto: Hello Sorry another dynabeans question I'm getting NoSuchMethodException when i can see

Re: DynaBeans

2003-03-04 Thread Mark Lowe
no sorry.. gosh that would be simple... :) Martedì, 4 mar 2003, alle 15:50 Europe/Rome, Jose Gonzalez Gomez ha scritto: This is a wild guess, but... are you using getProperty() instead of get( property ) ? Mark Lowe wrote: Hello Sorry another dynabeans question I'm getting

Re: DynaBeans

2003-03-04 Thread Mark Lowe
work as well but i'd prefer to do things this way until the mutabledynaclass spec has solidifed... cheers mark Martedì, 4 mar 2003, alle 15:54 Europe/Rome, Mark Lowe ha scritto: no sorry.. gosh that would be simple... :) Martedì, 4 mar 2003, alle 15:50 Europe/Rome, Jose Gonzalez Gomez ha

Re: DynaBeans

2003-03-05 Thread Mark Lowe
(bar,BasicDynaBean.class,props); -- this lets you insert whatever type you like when it come to the sets.. cheers mark Martedì, 4 mar 2003, alle 16:02 Europe/Rome, Mark Lowe ha scritto: In fact over the last 3 days i've tried using bean.set(name,value); PropertyUtils.setProperty(bean,name,value

Re: [OT]:Hiding layers in HTML

2003-03-11 Thread Mark Lowe
Start by creating a load of absolute positioned layers with a linked or emmbedded stype sheet.. Use id's to identify each div etc. and if you are using a linked style sheet place an empty id'ed attribute at the top off the css i.e /* quirck bug */ #dummy{ } #div1 { position:absolute;

Re: weird org.apache.struts.action does not exist

2003-03-11 Thread Mark Lowe
i'd read this http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html take the example ant project and use it as a starting point for any java propjects you are doing.. This will save you all the messing around with classpaths etc (you still have to set them in ant's build.xml

Re: How define a DynaActionForm to display a collection ?

2003-03-11 Thread Mark Lowe
form-bean name=NewsLetterRegistration type=org.apache.struts.validator.DynaValidatorActionForm form-property name=email type=java.lang.String/ form-property name=password type=java.lang.String/ form-property name=confirmPassword type=java.lang.String/ /form-bean in action

Re: How define a DynaActionForm to display a collection ?

2003-03-11 Thread Mark Lowe
i believe not i'd take a look at the responses and then look at writing an ActionForm if you must poulate you form from the action form... I would still recommend that you maniplate forms from your action, my understanding this is the way of doing this... If you question was charatistically is

Re: Using dbpc package in struts 1.0

2003-03-12 Thread Mark Lowe
It use the BasicDataSource rather than the older deprecated struts GenericDataSource its more a case of the xml sytaax changing the config.xml data-source type=org.apache.commons.dbcp.BasicDataSource key=strutsConnection set-property property=defaultAutoCommit value=false/ set-property

Re: logic:iterate and html:text

2003-03-13 Thread Mark Lowe
I think that using an old fashioned form bean is better when you're looking at generating forms in this manner.. do the nested tag tutorial is does what you are doing but it's not ugly as hell. www.keyboardmonkey.com its what you are after... Giovedì, 13 mar 2003, alle 08:23 Europe/Rome, Dan

Re: html:form tag and document submit()

2003-03-13 Thread Mark Lowe
One is a javascript method that allows you to submit a form, the other a jsp tag that renders to an html form when its asociated with a form bean.. Or have i miss understood the question? Giovedì, 13 mar 2003, alle 10:31 Europe/Rome, Mohan Radhakrishnan ha scritto: Hi, I have a dumb

Re: Example of accessing DynaActionFrom properties from within an Action

2003-03-13 Thread Mark Lowe
I had a headache over all this until i spent a couple fo days using the beanutils package.. org.apache.common.beanutils The dynaaction forms are basically the same.. your means of extracting the stored values from the form look like they should work , although i prefer using toString() rather

Tiles context and forwards

2003-03-13 Thread Mark Lowe
Anybody know any good reading i can do to better my understanding of how to get one's grubby mitts on the context for a given tile. i.e. how can i forward to a tile? i.e how can i get a tile's context from an action servlet? many thanks mark

Re: [Q] how to do server side validation for popup that closes on sub mit?

2003-03-13 Thread Mark Lowe
This would work... validate the form before everything, if okay return response.write(body onload=myfunctionforclosingthiswindowandredirecting the parent()); from action servlet the javascript can be in the popup and the function in only called my the response... hope this helps mark

Re: [Q] how to do server side validation for popup that closes on sub mit?

2003-03-13 Thread Mark Lowe
to somewhere else in main window from action/eventhandler function. Thanks Anis -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 9:55 AM To: Struts Users Mailing List Subject: Re: [Q] how to do server side validation for popup that closes on sub mit

Re: ArrayList set method in nested bean- confusion

2003-03-13 Thread Mark Lowe
should be fine.. to add a new row you can do so using the set's on the formBean in you action class... Giovedì, 13 mar 2003, alle 18:10 Europe/Rome, Huw Jones ha scritto: I have a nested bean where beanA (courseBean) stores an ArrayList of bean2 (event). I can dump out the ArrayList no

Re: struts-user Digest 13 Mar 2003 16:26:10 -0000 Issue 2866

2003-03-13 Thread Mark Lowe
can't you click this link at the bottom of each email? [EMAIL PROTECTED] Giovedì, 13 mar 2003, alle 18:11 Europe/Rome, Gehlot, Narendra ha scritto: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: problem converting resultset to RowsetDynaClass

2003-03-19 Thread Mark Lowe
I might have a way to fix this how are you dening your BasicDynaClass before instantiating it? On Mercoledì, mar 19, 2003, at 11:46 Europe/Rome, VAN DEN BROEK, Johan wrote: Hello, I 'm experiencing problems with RowSetDynaClass. When I try to convert a resultset containing a tinyint, I

Re: problem converting resultset to RowsetDynaClass

2003-03-19 Thread Mark Lowe
in my jsp. Johan -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: woensdag 19 maart 2003 12:11 To: Struts Users Mailing List Subject: Re: problem converting resultset to RowsetDynaClass I might have a way to fix this how are you dening your BasicDynaClass before

Re: Netscape 4.7 disable fields

2003-04-01 Thread Mark Lowe
A couple of years back i had to get disabled form element behaviour working on ns4 and used dynamically gnerated and positioned divs with a tranparent image to cover the elements ... But i think its very silly and a waste of time. It quite a lot of dhtml fiddlyness for all 3 ns4 users.. :)

Re: struts validator

2003-06-05 Thread Mark Lowe
Not sure all this talk of validator is that justifiable. I've had no issues generating both the client side and server side validation, and its saved me a lot of work. Like others i think it would be nice to define form beans and validation rules in the same place but I like it as it is,

Re: sslext

2003-06-06 Thread Mark Lowe
are you sure you not looking for the page attribute? sslext:link page=/main.do. On Thursday, Jun 5, 2003, at 15:02 Europe/London, Rodrigo di Lorenzo Lopes wrote: Dears, The tag sslext:link doesnt appear to work very well with html:rewrite... The link isnt render. I am using complete path

Re: Is it better to return list of formbeans or list of objects created by torque?

2003-06-06 Thread Mark Lowe
You want to populate forms from actions.. So in an action servlet you use the objects generated by torque and populate the form form there. e.g. Iterator it = customerList.iterator(); while(it.hasNext()) { Customer cust = (Customer) it.next(); String fieldName =

Re: Tiles weirdness...

2003-06-06 Thread Mark Lowe
what happens if you try without tile:userAttibute / ? or do you need something other than title ? On Thursday, Jun 5, 2003, at 23:33 Europe/London, John Nikolai wrote: This may or may not be a Tiles issue nor may it be an issue with Struts in general. We are just pounding our heads trying to

Re: Session

2003-06-06 Thread Mark Lowe
In the refering action that puts your object in the session, populate the form.. ActionForm theForm = (ActionForm) form; Object yourObj = ... String fooStr = yourObj.getSomething(); //for dynaforms theForm.set(foo,fooStr); or //the method in your action form. theForm.setFoo(fooStr); //jsp

Re: request.setParameter error

2003-06-06 Thread Mark Lowe
Dream Weaver couldn't generate for you then :o).. The error you're getting should tell you that setParameter() doesn't exist... javac's way of telling you this usually begins errors with cannot resolve symbol and the offending line number. [javac]

Re: Parameters v form beans (again!)

2003-05-27 Thread Mark Lowe
umm.. i'm afraid you wont have any moral support from me. your not only talking about html forms but a way of thinking about systems in an understandable way from a number of different perspectives. Form beans give a convenient way of representing a form both to programmers and site builders.

Re: UnavailableException: Parsing error processing resource path

2003-05-27 Thread Mark Lowe
if you get stuts console it validates you tiles, struts and validator xml files. Might save you some time.. http://www.jamesholmes.com/struts/ cheers mark On Wednesday, May 28, 2003, at 01:04 Europe/London, [EMAIL PROTECTED] wrote: Is there a way find out which file is causing the

Re: AW: Container Managed Authentication

2003-05-28 Thread Mark Lowe
you could look at the admin admin webapp in tomcat 4.1.. I think its what you're after. cheers mark On Wednesday, May 28, 2003, at 08:03 Europe/London, Hirschmann, Bernhard wrote: Is there a documentation or a how-to around for CMA support in Struts? I found this to be helpful, although

Re: javascript nested:iterate property reference

2003-05-29 Thread Mark Lowe
Could be more javascript than tag-libs.. You've a few inconsistancies in approach at first glance.. targetDate looks like it should be a variable not a string literal.. Can you paste the code that arrives to the web browser (i.e. without the struts tags)? On Wednesday, May 28, 2003, at

Re: Redirecionamento

2003-05-29 Thread Mark Lowe
credo che sarrebbe meglio se il oggetto fosse scritto nella stessa lingua della email. comunque la questa nuova parola italiana hai inventato è molto interessante.. ;o) evidentamente devo studiare un po' di più.. saluti mark On Wednesday, May 28, 2003, at 19:26 Europe/London, Josh McCulloch

Re: Is this question too easy??

2003-05-29 Thread Mark Lowe
Depends what your thinking is on where you want to maintain the items in the select menu. For example have then is a properties file or tiles def. But that might not be simpler for your situation. html:select property=foo html:options collection=foos property=ref labelProperty=name /

Re: javascript nested:iterate property reference

2003-05-29 Thread Mark Lowe
) /a /td Mark Lowe [EMAIL PROTECTED] 05/28/2003 02:50 PM Please respond to Struts Users Mailing List To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject:Re: javascript nested:iterate property reference Could be more

Re: javascript nested:iterate property reference

2003-05-29 Thread Mark Lowe
' document.forms[0].elements['eventList[2].targetDate' . Thanks very much for the help. I hope we're on the same page. Mark Lowe [EMAIL PROTECTED] 05/28/2003 06:19 PM Please respond to Struts Users Mailing List To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject

Re: javascript nested:iterate property reference

2003-05-29 Thread Mark Lowe
hi matt have you a link to your jsp/javascript calender? i've got some time off for a few days. I've worked on quite a few off these sorts of things in my time and I could be a useful person to have on board. let me know cheers mark On Wednesday, May 28, 2003, at 20:02 Europe/London,

Re: Justifying Struts

2003-05-29 Thread Mark Lowe
I'm sorry man, you're reservations are mostly wrong. one thing you have to bare in mind is that we're not all as clever as you, in fact i'd argue that I'm very stupid and many people are as equally stupid. If you've managed to maintain an MVC pattern using model 1 techniques what are you doing

Re: Justifying Struts

2003-05-29 Thread Mark Lowe
enough since its still only Thursday... ;- -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, 29 May 2003 17:10 To: Struts Users Mailing List Subject: Re: Justifying Struts I'm sorry man, you're reservations are mostly wrong. one thing you have to bare in mind

Re: ArrayList in forms

2003-05-29 Thread Mark Lowe
One way of doing it, would be to scope the ArrayList to the session. On Thursday, May 29, 2003, at 12:27 Europe/London, Aswathy Priyarenj wrote: I want to maintain an ArrayList object across action classes which uses same form class. Howz it possible ?

Re: [REMOVE THIS DUDE]!!!!! DELIVERY FAILURE: Error delivering to Chetan Khimjee/Impfleet; Router: Database disk quota exceeded

2003-05-30 Thread Mark Lowe
I found a solution... if you don't mail the group his mail server wont send an error message... DOOH!!! :o) On Thursday, May 29, 2003, at 13:58 Europe/London, Daniel Joshua wrote: +1 Regards, Daniel -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Thursday, 29

Re: tag within tag

2003-05-31 Thread Mark Lowe
what happens is with any jsp tags are munched my the server which spits out java, the java is then complied and run etc. This means that you've 2 levels : tags libs are an additional layer on top of jsp scriptlets. Im not so convinced this is a limitation as someone just said... I would find

Re: HTTP Status 500

2003-06-02 Thread Mark Lowe
have a logon form bean, defined in config xml or a form bean class? On Sunday, Jun 1, 2003, at 13:32 Europe/London, Giovanni Di Lembo wrote: I've done it; I put all the struts tld in web-inf (using tomcat 4),and this is my easy jsp %@ page language=java % %@ taglib

Re: DynaActionForm

2003-06-02 Thread Mark Lowe
I may find the Dyna form stuff wasn't part of struts 1.0 I'm not sure what version of 0.9 you must have been running to have all the dyna stuff running.. If you want to have your form bean generated without writing classes then i thing you'll have to move to a 1.1 distribution of struts. You

Re: DynaActionForm

2003-06-02 Thread Mark Lowe
in 1.1 On Sunday, Jun 1, 2003, at 20:03 Europe/London, Giovanni Di Lembo wrote: Where I should find DynaActionform, maybe packed in struts.jar ? It is not there ; where should I find it? cheers - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Re: DynaActionForm

2003-06-02 Thread Mark Lowe
5) In the lib directory exists a struts.jar. Replace your struts.jar with the lib/struts.jar. 6) Then you should have the functionality (DynaActionForm) you need :-D Brandon Goodin -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 1:12 PM

Re: DynaActionForm

2003-06-02 Thread Mark Lowe
its really none of my business.. but have you been working all through the weekend? On Sunday, Jun 1, 2003, at 22:37 Europe/London, Brandon Goodin wrote: :-)) I was hoping you would catch the humor :-D Brandon Goodin -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent

Re: DynaActionForm

2003-06-02 Thread Mark Lowe
where technology opportunities are thin. Brandon Goodin -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 4:19 PM To: Struts Users Mailing List Subject: Re: DynaActionForm its really none of my business.. but have you been working all through

Re: DynaActionForm

2003-06-02 Thread Mark Lowe
not been successful. AH! The joys of being a self-employed Husband/Dad in a place where technology opportunities are thin. Brandon Goodin -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 4:19 PM To: Struts Users Mailing List Subject: Re

Re: Bundle Problem.

2003-06-02 Thread Mark Lowe
so something like a titleKey attribute would be right up your street then... On Sunday, Feb 2, 2003, at 14:03 Europe/Rome, Vangelis Konstantinis wrote: Hi, Can i in html:button get the title of it from a resource bundle value as follows: html:submit styleClass=Button title=bean:message

Re: tag newbie - easy question

2003-06-03 Thread Mark Lowe
I've done this as a scriptlet that can be pasted into a referring action after... % java.util.ArrayList myList = new java.util.ArrayList(); myList.add(I); myList.add(Love); myList.add(Sparrows); pageContext.setAttribute(myList,myList); % logic:iterate id=foo name=myList bean:write

Re: ArrayList as an element of DynaActionForm

2003-06-03 Thread Mark Lowe
How/where do you populate your ArrayList? On Tuesday, Jun 3, 2003, at 08:58 Europe/London, Dan Tran wrote: Hello, I define an ArrayList as an element of my DynaActionForm. I set up my form and load it up on my jsp using c:foreach But when I submit the form back to the server, my ArrayList

Re: how to put a bean:write in a href=

2003-06-05 Thread Mark Lowe
I hate dollar signs :o) I'd do this html:link page=/gtorg.do paramId=id paramName=orglist paramProperty=id I Love Sparrows!!! /html:link Mark On Wednesday, Jun 4, 2003, at 17:03 Europe/London, Chen, Gin wrote: 2

Re: How Smart is DynaActionForm?

2003-06-07 Thread Mark Lowe
If you take an example of a traditional action form, the same would happen with that. If you've populated the form in the referring action then you should have an insight into how action forms and actions work together. The form bean should always be there, but know it won't self populate

Re: How Smart is DynaActionForm?

2003-06-07 Thread Mark Lowe
to create their own form bean to handle dynamic collection. Thanks and thanks ;-) -Dan - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, June 07, 2003 10:52 AM Subject: Re: How Smart is DynaActionForm? If you take an example

Re: How to access methods define in Action Form

2003-06-07 Thread Mark Lowe
If you've mapped you form bean to an associated action then the form will be in an available scope in your jsp page.. You dont need the useBean tag. You just need to make sure you've a form bean (dyna or otherwise) an action servlet, and that they be mapped in stuts-config.xml. cheers mark

Re: How Smart is DynaActionForm?

2003-06-07 Thread Mark Lowe
type It has nothting to do controller and model. Just an enhancement to the tool. Am I wrong? -Dan - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, June 07, 2003 11:28 AM Subject: Re: How Smart is DynaActionForm? I'm

Re: Virus warning

2003-06-10 Thread Mark Lowe
can someone send it to me .. i've never had one.. i feel like i'm missing out :o) On Tuesday, Jun 10, 2003, at 16:10 Europe/London, Paananen, Tero wrote: Moral: Keep you AV software up to date! Moral: Avoid using buggy MS products -TPP - hypocrite (posts with Outlook)

Re: [OT] - dos file

2003-06-12 Thread Mark Lowe
m vi i think something like (in vi) :%s/^M/ /g should work just watch how you get the ^M in there .. you may need to use cntl + M to produce the correct characters... I believe these days you can also use something like :set ff=unix might work as well if you try :set all to

Re: [OT] MVC / Model 2 for Microsoft ???

2003-06-13 Thread Mark Lowe
Sorry I'm bored with this whole Microsoft subject... If you want to waste your money and only deploy of windows thats your look out. http://msdn.microsoft.com/usergroups/find.asp On Friday, Jun 13, 2003, at 10:09 Europe/London, Alen Ribic wrote: MVC and ASP.NET some resource.

Re: UML diagrams in Struts source

2003-06-14 Thread Mark Lowe
Poseidon is a more stable version of basically the same thing,.. http://www.gentleware.com/ I haven't used it enough to have any real opinions, I'm also not sure whether Poseidon CE supports reverse engineering, which be to topic of this discussion sound like what you need, argo certainly

Re: [OT] 101 was: Re: Good Struts-tiles example?

2003-06-18 Thread Mark Lowe
On Wednesday, Jun 18, 2003, at 12:52 Europe/London, Gemes Tibor wrote: [EMAIL PROTECTED] írta: In addition to the below, I have found the following resource, Tiles 101/201, by Patrick Peak to be very helpful: This is my weak knowledge of the English culture, but cannot figure out what the

Re: html:link/ w/out a href??

2003-06-18 Thread Mark Lowe
could this do it...? script function clicked(path) { window.open(path,My Popup,); } /script a href=javascript:clicked('html:rewrite page=/yourAction.do /') On Wednesday, Jun 18, 2003, at 14:52 Europe/London, Ben Anderson wrote: I have a form with 2 buttons. I know I can handle

Re: WAP/WML support to existing application

2003-06-19 Thread Mark Lowe
The simplist way would be just to have WML copies of your JSP's Something like this at the top of you jsp.. (i'll have to check but i think its correct. JSP's default to contentType=text/html) %@ page language=java contentType=text/wml % If you want to minimize repetitive markup between html

dataSources outside of actionservlet

2002-12-17 Thread Mark Lowe
hello you'll all have to forgive my stupidity but i've been having real problems trying to reference the datasource specified in config.xml in my business logic classes. I've been very good and seperated everything as one should. but i really need a straight answer to this (i.e. an example that

Re: Pre-populating Form Bean

2002-12-20 Thread Mark Lowe
As a side note I'd watch out putting dots in your actions .. I was doing the same and it worked .. and then i was getting an error that complained it could find the action... perhaps it was the release i was using or something, but i'd hate someone else to wash time out over this as well.. If its

Re: Failure to load the servlet.jar when deploying a struts war file

2003-01-07 Thread Mark Lowe
servlet.jar usually lives in $TOMCAT_HOME/common/lib or on version 3.* $TOMCAT_HOME/lib it should already be there, i don't know but i imagine that tomcat is confused as it will be adding the servlet api twice.. servlet.jar has to be available to all web apps and tomcat itself therefore it

Re: XSLT Struts

2003-01-07 Thread Mark Lowe
I've never acually done this but I reckon you'd be looking at importing the xalan stuff into your action class and doing your xsl tranformations from there.. Rather than forwarding to happy or unhappy jsp's you can just forward to actions that do xml transformations. so an example would be to

Re: nested tags

2003-01-08 Thread Mark Lowe
Something along these lines might help html:select property=myname html:options collection=myarray property=value / /html:select if you've a map you can use html:select property=myname html:options collection=myhash property=key labelProperty=value / /html:select cheers mark

Re: struts and session size

2003-01-08 Thread Mark Lowe
How many things you put in the session is up to you.. You basically make strutures (arrays, maps and such forth) available to your presentation layer by putting into the session, request or application scope depending on what your things have to do.. Issues relating to session will have more

Re: struts and session size

2003-01-08 Thread Mark Lowe
when to serialize the hashmap unless the map is handled in an 'immutable' fashion. Ad, since you brought it up.. we will be using a server farm.. what's the issue you mentioned? Is it particular to tomcat? Thanks Mark, George - Message from Mark Lowe [EMAIL PROTECTED] on Wed, 8 Jan

Re: forwarding to unrelated pages

2003-01-09 Thread Mark Lowe
The option to instantate a bean in the jsp is always available using 'useBean' .. You can then use the struts tags or jstl etc.. You don't need and action.. The other option is to put everything in the session and then its available to the presentation layer when required.. For example if

Nested tags configuration

2003-01-14 Thread Mark Lowe
anyone had any problems getting netsted tags running? i've been working through the monkey - banna example and i keep getting this: org.apache.jasper.compiler.ParseException: End of content reached while more parsing required: tag nesting error? at

Fwd: Nested tags configuration... again

2003-01-15 Thread Mark Lowe
Sorry to repost but any ideas? Inizio del messaggio inoltrato: Da: Mark Lowe [EMAIL PROTECTED] Data: Mar 14 gen 2003 17:38:27 Europe/Rome A: Struts List [EMAIL PROTECTED] Oggetto: Nested tags configuration Rispondere-A: Struts Users Mailing List [EMAIL PROTECTED] anyone had any problems

Re: FW: Naveen Dhotre/Uovo/UK is out of the office.

2003-01-15 Thread Mark Lowe
yep... those crazy kids @uovo.com .. always have auto response thingies.. Mercoledì, 15 gen 2003, alle 17:20 Europe/Rome, Mark Galbreath ha scritto: Is anybody else being spammed by this guy's crap? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:

Re: Getting ServletConfig and ServletContext.

2003-01-21 Thread Mark Lowe
ServletContext context = servlet.getServletContext(); Martedì, 21 gen 2003, alle 10:58 Europe/Rome, Simon Kelly ha scritto: Hi, Does anyone know how to access ServletConfig and ServletContext from within any class derived from the org.apache.struts.action.Action class? Cheers Simon

HTML entities

2003-02-04 Thread Mark Lowe
Has anyone any information on preventing and being translated into lt; and gt; when using the tag libs.. I have a bunch of data in my sql... there are a few presentation tags strored in the db (e.g. br, b etc).. I've parsed the results to replace any entities to etc but they're being

RE:HTML entities

2003-02-04 Thread Mark Lowe
Dooh.. ignore my last question.. for anyone who also may be suffering a stupid attack, you need to set filter=false in the bean:write - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Dynaactionform

2003-02-05 Thread Mark Lowe
Hello I've a DynamicAction form and i need to generate an sql insert statement from the properties and values contained within the aforementioned form... I usually generate my sql from such things by casting to a map but ActionForms don't seem to like this.. thanks in advance mark

Re: Dynaactionform

2003-02-05 Thread Mark Lowe
umm.. my appologies for using anthropomophic language, sorry i was trying to mail the struts list but obviously found some perl group.. :) I MEAN I GET A CLASS CAST EXCEPTION becuase they're not supposed to do that i suppose., Sorry but getting a Map or parameters and generating a query string

Re: Dynaactionform

2003-02-05 Thread Mark Lowe
Mercoledì, 5 feb 2003, alle 17:53 Europe/Rome, Kris Schneider ha scritto: DynaActionForm has a getMap method that Returns the Map containing the property values. Quoting Wendy Smoak [EMAIL PROTECTED]: I've a DynamicAction form and i need to generate an sql insert statement from the

Re: Dynaactionform

2003-02-05 Thread Mark Lowe
Thanks man i didn't think my question was entirley erroronous... I saw the getMap thingy just my struts was a few weeks older than the docs thanks again mark Mercoledì, 5 feb 2003, alle 17:53 Europe/Rome, Kris Schneider ha scritto: DynaActionForm has a getMap method that Returns the Map

Re: disabling form element

2003-07-01 Thread Mark Lowe
//I prefer this way of drilling through the DOM. But document.forms[0].remarks should be fine as well. document.forms[0].elements['remarks'].disabled = true; the onchange event doesn't require the javascript: i only use this when I'm calling functions from a href. onchange=change() HTH mark

Re: Parameters to an action from a tile

2003-07-07 Thread Mark Lowe
Haven't tried but try amp; ... edit.doamp;header=true cheers mark On Friday, June 27, 2003, at 09:10 PM, Peter Smith wrote: Hi all, I am trying to insert in a tile with a value that needs to pass two parameters. When I put in the '', the parser dies. Here is the definition I am inserting.

Re: Struts 1.1 Api

2003-07-07 Thread Mark Lowe
If you've a struts-documentation.war file in your distribution then install on your container and look at that or http://jakarta.apache.org/struts/api/index.html On Monday, July 7, 2003, at 02:05 PM, Jagannayakam wrote: Hi , From where can I get struts 1.1 API Regards, Jagan.

Re: generic SQL implementation

2003-07-07 Thread Mark Lowe
I use torque and IMHO combined with struts , it slides through the molecules of wetness like an eel through sea weed .. http://db.apache.org/torque A chap called Ville who posted this group a few weeks ago sent me some notes where he spent a week of so gathering sources of info on how to get

[OT] Setting up torque with struts

2003-07-10 Thread Mark Lowe
This is how to configure torque to work with struts. a few weeks or ,perhaps, months ago, Ville (vilho[at]students[dot]cc[dot]tut[dot]fi) after he'd spent a week bringing together all the required resources, he kindly mailed me some instructions on how to do so. I tested his instructions

Re: Re[2]: What is the default scope of an ActionForm.

2003-07-10 Thread Mark Lowe
I'm not sure whether it defaults to session, I was under the impression it was scoped to the request, but as i pretty much always define the scope i wouldn't know. However when you scope to request the same can happen if redirect is set to false, as the action isn't a new request as such.. My

Re: [OT] colours

2003-07-10 Thread Mark Lowe
there are some interesting links on the university of Portsmouth's psychology dept. form their colour displays research... http://web.port.ac.uk/departments/psychology/other/colour.htm#col_dem including this link http://colourharmony.massey.ac.nz/ On Thursday, July 10, 2003, at 02:29 PM,

Re: Using JSTL tags instead of Struts tags

2003-07-10 Thread Mark Lowe
I started using JSTL but found that it encouraged site builders to start embedding logic in JSP's. While I can see that JSLT is more powerful, isn't it true to say that it encourages breaking with the view-controller demarcation? I find the struts tags on the other hand, used with zero

Re: [OT] Setting up torque with struts

2003-07-10 Thread Mark Lowe
page somewhere? -= J -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 6:53 AM To: Struts List Cc: Garry Dillon; Jeremy Pocock; Simon Brown; Simon Fox; [EMAIL PROTECTED] Subject: [OT] Setting up torque with struts This is how to configure torque

Re: Using JSTL tags instead of Struts tags

2003-07-11 Thread Mark Lowe
On Thursday, July 10, 2003, at 09:21 PM, David Geary wrote: On Thursday, Jul 10, 2003, at 08:29 America/Denver, Mark Lowe wrote: I started using JSTL but found that it encouraged site builders to start embedding logic in JSP's. While I can see that JSLT is more powerful, isn't it true to say

Re: Refreshing Issue.

2003-07-11 Thread Mark Lowe
redirect=true where you define your forward. //in your action return (mapping.findForward(good)); //Struts-config forward name=good path=/myPage.jsp redirect=true/ HTH mark On Friday, July 11, 2003, at 11:07 AM, Anurag Garg wrote: Hi All, I am facing a problem in jsp page refreshing. After

Re: Refreshing Issue.

2003-07-11 Thread Mark Lowe
=/displayList.do redirect=true / // in your action return (mapping.findForward(good); would be one way of doing what you want On Friday, July 11, 2003, at 11:27 AM, Mark Lowe wrote: redirect=true where you define your forward. //in your action return (mapping.findForward(good)); //Struts-config

Re: html:image doesn't submit the page in netscape???

2003-07-11 Thread Mark Lowe
Providing validations.js would also be useful.. On Friday, July 11, 2003, at 11:49 AM, sriram wrote: Firat The source is attached. Sriram -Original Message- From: Firat TIRYAKI [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 4:23 PM To: Struts Users Mailing List Subject: Re:

Re: struts-blank.war basedir

2003-07-11 Thread Mark Lowe
Andy I think that putting your jsp's in /WEB-INF is considered better nowadays cos nobody can make a direct request for it.. This means all requests are mediated by actions and thus there's no exposure to the underlying file structure.. I remember that there were a lot o debates on this, but

Re: html:image doesn't submit the page in netscape???

2003-07-11 Thread Mark Lowe
My apologies for not responding sooner... And I wont have time to look at this in detail.. But image submit buttons behave differently on NS4 to other browsers.. My quickest suggestion is to use a link to call your onclick function.. It was a while ago when i encountered this and the details

Re: Using JSTL tags instead of Struts tags

2003-07-11 Thread Mark Lowe
I'm familiar with the tech idiom dog-food .. but I have no idea what it is you're talking about please can you explain what you understand by dog-food coding? If your saying what I think you are are you sure you're not choking on some? On Friday, July 11, 2003, at 02:36 PM, Davidson, Glenn

  1   2   3   4   5   6   7   >