Re: Simple html:submit question

2003-08-14 Thread Mark Lowe
http://jakarta.apache.org/struts/userGuide/struts-html.html#image On Tuesday, August 12, 2003, at 04:04 PM, Norr, Peter wrote: Any reason why the struts html:submit/ tag does not support the src attribute? html:submit src=myimage.gif/ -Original Message- From: Ravi Kora [mailto:[EMAIL

Re: Something like html:link that posts a form

2003-08-14 Thread Mark Lowe
If a form is scoped to the session and mapped to an action you can mess with it even if its not a submission. Much like the way in javascript that you can reference a form without it being a parameter map as such, i guess (in my simple world at least) this is the point of form beans. In theory

Re: JSTL and Struts-el

2003-08-14 Thread Mark Lowe
it's easier than Struts taglibs!!! Cheerse, Marco - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, August 10, 2003 7:17 PM Subject: Re: JSTL and Struts-el All this came up a few weeks ago, so I made a couple of JSP's

Re: Trouble with validation of nested properties - indexedListProperty?

2003-08-14 Thread Mark Lowe
The js array that is generated doesn't generate the indexed property attributes. I've been wanting to look in this, so far I've got as far as adding myindexedprop[0].property as the property in validator to test whether if you can get the array of required properties (for example) whether it

Re: Dynamic Form help

2003-08-14 Thread Mark Lowe
You use indexed property. html:text property=permission indexed=true / This stuff i quite well documented, what isn't well documented is how to dynamically change the length of an indexed property. I've been using ArrayList for this.. form-property name=permission type=java.util.ArrayList /

Re: Forward to the same page

2003-08-14 Thread Mark Lowe
You can use a global forward and always go back to that.. return mapping.findForward(myglobal.forward); Cheers Mark On Monday, August 11, 2003, at 01:25 PM, Dirk Behrendt wrote: Hello! I am still searching for a possibility to forward to the same page. I want, that the user can switch the

Re: Struts 1.1: what's the preferred way to use databases?

2003-08-14 Thread Mark Lowe
If you need a connection in your servlet layer then defining a data source in web xml is a more reliable alternative. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource- examples-howto.html What ted was saying was that ideally you shouldn't be doing this (including my

Re: database - bean - form, what is the best way to do it?

2003-08-14 Thread Mark Lowe
Torque allows you to define you mappings in a single xml file and you can generate all the required model classes and the sql. There are a few compromises like i haven't found that it supports inheritance do life is easier if you just have repeating fields across tables, thus not very

Re: JSTL and Struts-el

2003-08-14 Thread Mark Lowe
be a distraction from the real business of struts, but I don't want folks telling me its easier when the fact is this isn't known. Cheers Mark On Sunday, August 10, 2003, at 06:24 PM, Reinhard wrote: Mark Lowe wrote: Has this easier to use premiss been run past any folks with good markup

Re: Asking again - basic design question

2003-08-14 Thread Mark Lowe
I guess the lack of responses is because there's not a standard as such for this. Many folks use actions for all links in their struts apps, as this way there's no exposure to the unpinning resources. I like doing this because there's always an opportunity to mess with stuff before any page

Re: fail getDataSource(request)

2003-08-14 Thread Mark Lowe
Looks okay to me.. Do your logs oracle and tomcat say anything interesting? I also assume that you can connect to you oracle server and all relevant listeners are running on oracle. This always worked for me on the occasions when i used this stuff. ServletContext context =

Re: Simple html:submit question

2003-08-14 Thread Mark Lowe
http://jakarta.apache.org/struts/userGuide/struts-html.html#submit On Tuesday, August 12, 2003, at 04:04 PM, Norr, Peter wrote: Any reason why the struts html:submit/ tag does not support the src attribute? html:submit src=myimage.gif/ -Original Message- From: Ravi Kora [mailto:[EMAIL

Re: Iterate question

2003-08-14 Thread Mark Lowe
There's hope.. I assume that you struts config looks like this form-property name=item_AdjustmentModel type=gov.bls.idcf.ppi.common.ItemAdjustmentModel[] / I've been using ArrayList but only just started doing so , but seems to work in a development context form-property name=adjustmentModel

Re: AW: Convert scriptlets into Tags

2003-08-12 Thread Mark Lowe
I'd just move the scriptlet into an action servlet.. HttpSession session = request.getSession(); session.setAttribute(name,value); then you can refer to your attribute that you've set in the action with bean tags or something silly with $ signs in JSTL bean:write name=name / cheers mark On

Re: Struts is incomplete

2003-08-11 Thread Mark Lowe
man.. I think that's savagely out of order.. I doubt the time you have wasted compares to the amount of time such a framework saves you. Have a look at some other open source projects, you'll soon start to see that struts is well documented and there are plenty of examples. Its more than

Re: message localization

2003-08-11 Thread Mark Lowe
Erez Not really my cup of tea but I think something like this.. fmt:message key='${UserSexKey[select]}'/ Cheers Mark On Monday, August 11, 2003, at 12:24 AM, Erez Efrati wrote: All this talking on JSP 2.0, JSTL and Struts-el brought me to ask if I should avoid using the following:

Re: [OFF TOPIC] JavaScript + select tag question

2003-08-10 Thread Mark Lowe
script language=javascript type=text/javascript !-- function doSubmit() { var url = 'html:rewrite page=/search.do /?foo=bar'; } ...or if your function isn't in the html page function doSubmit(url) { } onSomeEvent=doSubmit('html:rewrite page=/serach.do /')

Dyna Action forms size attribute

2003-08-04 Thread Mark Lowe
I read this article the other day which contains the following quote: http://developer.com/java/ejb/article.php/2233591 quote You can even dynamically specify the size of the form (and prepopulate it) at run time.  I've recently used this technique with an insurance application where the user

Re: Dyna Action forms size attribute

2003-08-04 Thread Mark Lowe
property to the newly populated arrayList. ArrayList myList ... theForm.set(myprop,mylist); I'm going to have a go using an array rather than ArrayList, but it works like this. On Monday, August 4, 2003, at 10:45 AM, Mark Lowe wrote: I read this article the other day which contains

Re: Iteration without Javacode

2003-08-03 Thread Mark Lowe
If the list is in an available context you can just use the name attribute.. % java.util.ArrayList myList = new ArrayList(); myList.add(one); myList.add(two); pageContext.setAttribute(mylist,myList.toArray()); % logic:iterate id=item name=mylist

Re: Form action url get rewritten.

2003-08-03 Thread Mark Lowe
On Friday, July 25, 2003, at 08:08 PM, Curtney Jacobs wrote: Oopse, I forge to add that my action is no longer being called. It was working fine two days ago. I don't know what broke it. The only thing I notice was what I have written below. Also, I have pasted the relevant parts of my

Re: Call methods from JSTL

2003-08-03 Thread Mark Lowe
The scriplet was an example.. The code could just as simply be in an action. I included as a scriptlet so you didn't have to recompile and reload you webapp.. Ithough it would make thinks simpler but obviously I was making too many assumptions. If your iterator is straight from you model (DB

Re: dyna form property size.

2003-08-03 Thread Mark Lowe
to size also has none of it. As it defaults to 0. Any suggestions please.. I would have doubts this is possible, if the author hadn't written he's done it. Cheers Mark On Saturday, August 2, 2003, at 04:30 PM, Mark Lowe wrote: Can anyone help me with some nice ways of changing the length (size

Re: Call methods from JSTL

2003-08-03 Thread Mark Lowe
for me. Thanks! Stephan Mark Lowe [EMAIL PROTECTED] schrieb am 03.08.2003, 11:10:40: If your iterator is straight from you model (DB stuff) then you'll at least want to copy into some other structure. ArrayList myList = new ArrayList(); YourObj yourObj = new YourObj(); Iterator

Re: Call methods from JSTL

2003-08-03 Thread Mark Lowe
you must have meant... request.setAttribute(myObj,it); Despite my misgivings about exclamation marks, I like your Torque primer. On Sunday, August 3, 2003, at 12:20 PM, Mark Lowe wrote: ArrayLists are handy, and you need to read some of the excellent docs that are provided.. If your

dyna form property size.

2003-08-02 Thread Mark Lowe
Can anyone help me with some nice ways of changing the length (size attribute in stuts-config) for a form property.. James Turner;s primer is great on this subject apart from the details of how to do this are skipped over.. quote You can even dynamically specify the size of the form (and

NullPointer exception

2003-07-23 Thread Mark Lowe
Before I wash anymore time out on stuff that really shouldn't happen, may I ask if anyone else has had problems with anything being stored in the request and/or session returning null.. for example imagine i've 2 actions // in action 1 HttpSession session = request.getSession()

Re: NullPointer exception

2003-07-23 Thread Mark Lowe
- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Wednesday, 23 July 2003 16:44 To: Struts List Subject: NullPointer exception Before I wash anymore time out on stuff that really shouldn't happen, may I ask if anyone else has had problems with anything being stored in the request and/or session

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

Re: [FRIDAY] What do you call a deer without eyes?

2003-07-11 Thread Mark Lowe
Brian ? On Friday, July 11, 2003, at 05:39 PM, James Mitchell wrote: Blinded deer (Blind dead deer) -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org 678-910-8017 AIM:jmitchtx - Original Message - From: Jing Zhou [EMAIL PROTECTED] To: Struts

Re: [FRIDAY] What do you call a deer without eyes?

2003-07-11 Thread Mark Lowe
? Dinner -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 12:41 PM To: Struts Users Mailing List Subject: Re: [FRIDAY] What do you call a deer without eyes? Brian ? On Friday, July 11, 2003, at 05:39 PM, James Mitchell wrote: Blinded deer (Blind dead

Re: newbie question - setting form parameter in Javascript

2003-07-11 Thread Mark Lowe
check out dispatch actions.. you can have multiple execute methods with dispatch action ... Your Action class extends DispatchAction instead of action (check the docs) public final ActionForward submit( ActionMapping mapping,

Re: [FRIDAY] What do you call a deer without eyes?

2003-07-11 Thread Mark Lowe
half a dog... On Friday, July 11, 2003, at 07:58 PM, Mark Lowe wrote: whats got 2 legs and bleeds a lot? On Friday, July 11, 2003, at 07:43 PM, Bailey, Shane C. wrote: What do you call a fish with two knees? A two knee fish! (Tunafish!) -Original Message- From: Mark Galbreath

Re: Using JSTL tags instead of Struts tags

2003-07-11 Thread Mark Lowe
that was mentioned earlier in this thread. If I wanted to mix logic and presentation I would use PHP, it makes it very easy to do that. If struts is going to be MVC, then let's keep it MVC. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 11:30 AM

Re: newbie question - setting form parameter in Javascript

2003-07-11 Thread Mark Lowe
, Shyam     Mark Lowe [EMAIL PROTECTED] wrote: check out dispatch actions.. you can have multiple execute methods with dispatch action ... Your Action class extends DispatchAction instead of action (check the docs) public final ActionForward submit( ActionMapping mapping, ActionForm form

Re: newbie question - setting form parameter in Javascript

2003-07-11 Thread Mark Lowe
opps my action in struts config is wrong... But you should still have the right idea.. On Saturday, July 12, 2003, at 12:45 AM, Mark Lowe wrote: Its better that this is posted to the list as well, after all its a good question and hopefully an adequate answer. script language=javascript type

[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: 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

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: 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

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: 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] 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: [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: 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: 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: 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: 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: 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: 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: 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 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: [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: 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: 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: 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: 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: 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: 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

<    1   2   3   4   5   6   7   >