Re: Handling Date objects in ActionForm gracefully

2004-03-26 Thread Mark Lowe
types towards String (another method in the same converter class?) - Map (set) some (non-String) data object into the corresponding String property on the form bean. Thanks, Freddy. -Mensaje original- De: Mark Lowe [mailto:[EMAIL PROTECTED] Enviado el: viernes, 26 de marzo de 2004 0:59 Para

Re: Handling Date objects in ActionForm gracefully

2004-03-26 Thread Mark Lowe
wanted to prevent everybody from going through all the (obvious / basic / simple) details and just go to the important stuff. Neither am I an MVC guru. In any case, thanx everybody 4 your help. Regards, Freddy. -Mensaje original- De: Mark Lowe [mailto:[EMAIL PROTECTED] Enviado el: viernes

Re: LookupDispatchAction default

2004-03-25 Thread Mark Lowe
state that it does not utilize the 'unspecified' behavior of its parent class. Or, maybe I missed something and didn't implement correctly? Regards, Brian. Mark Lowe [EMAIL PROTECTED] 03/24/2004 09:21 AM Please respond to Struts Users Mailing List To: Struts Users Mailing List [EMAIL

Re: html inside an action

2004-03-25 Thread Mark Lowe
I'd go n have a cup of tea.. On 25 Mar 2004, at 17:54, ruben wrote: hi Those are my requirements, i have to convert objects to html, in my action and get this html in a String, i thought that the jsp is a good way to do this, I want the code that jsp generate (that is sent to the browser) on

Re: Handling Date objects in ActionForm gracefully

2004-03-25 Thread Mark Lowe
Have it as a string and convert it to a date or calendar when you pass it back to the model. On 25 Mar 2004, at 20:28, Sreenivasa Chadalavada wrote: All, We are facing a problem when we define java.util.Date field in ActionForm. Is there any way to override the default behavior provided by

Re: Handling Date objects in ActionForm gracefully

2004-03-25 Thread Mark Lowe
agreement or government initiative expressly permitting the use of e-mail for such purpose. --- - Mark Lowe mark.lowe @boxstuff.com 03/25/2004 02:36 PM Please respond to Struts Users Mailing List

Re: Handling Date objects in ActionForm gracefully

2004-03-25 Thread Mark Lowe
. --- - Mark Lowe mark.lowe @boxstuff.com 03/25/2004 03:17 PM Please respond to Struts Users Mailing List                 To:        Struts Users Mailing List [EMAIL PROTECTED]         cc:                 Subject:        Re: Handling Date objects in ActionForm gracefully Ask yourself why

Re: LookupDispatchAction default

2004-03-24 Thread Mark Lowe
unspecified() is the method you want look at the javadoc. you do need the method name though /admin/list.do?method I saw that using submit as the parameter name causes problems so i wouldn't use that. On 24 Mar 2004, at 15:16, Brian Sayatovic/AMIG wrote: I'd like to be able to have someone

Re: LookupDispatchAction default

2004-03-24 Thread Mark Lowe
. On 24 Mar 2004, at 15:30, Wendy Smoak wrote: From: Mark Lowe [mailto:[EMAIL PROTECTED] unspecified() is the method you want look at the javadoc. you do need the method name though /admin/list.do?method I saw that using submit as the parameter name causes problems so i wouldn't use that. I

Re: html:rewrite action problem

2004-03-24 Thread Mark Lowe
try page=/SomeAction.do On 24 Mar 2004, at 17:50, Ruben Pardo wrote: i've got the next tag html:rewrite action=/SomeAction?prefix=page=/SomePage and in the actionConfig action path=/SomeAction type=org.apache.type=org.apache.struts.actions.SwitchAction /action but i always get an error saying

Re: LookupDispatchAction default

2004-03-24 Thread Mark Lowe
On 24 Mar 2004, at 16:13, Wendy Smoak wrote: From: Mark Lowe [mailto:[EMAIL PROTECTED] It was you post on the thread last week where i pick it up. Sorry, I'm apparently repeating myself! I can't remember last week this early in the morning. Good to know that its been addressed, but I'm

Re: Using Tomcat declarative security for my app

2004-03-24 Thread Mark Lowe
If you're using a javax.servlet.Filter and you then filter-mapping filter-nameMyFilter/filter-name url-pattern/administrator/*.do/url-pattern /filter-mapping you can also map to a servlet name rather than a url pattern but this seems what you want. On 24 Mar 2004, at 18:10,

Re: Using Tomcat declarative security for my app

2004-03-24 Thread Mark Lowe
opps.. sorry for the dodgy info. in fact mine follow the /dir/* pattern. On 24 Mar 2004, at 18:45, Kris Schneider wrote: You can use either path or extension mapping, but not a combination of both. So /administrator/* is okay and *.do is okay but /administrator/*.do is not. Quoting Mark Lowe

Re: How can I refresh my jsp

2004-03-23 Thread Mark Lowe
forward name=succes path=/sampe2.jsp redirect=true / On 23 Mar 2004, at 03:38, Mu Mike wrote: sample1.jsp: form action=/action1.do .. /form this is my action definition action path=/action1 type=com.mycom.Action1 name=myForm scope=session

Re: html:select / html:options

2004-03-23 Thread Mark Lowe
session.setAttribute(myList, list); session.setAttribute(myList,list.toArray()); for some reason you need to cast to list to an array. On 24 Mar 2004, at 01:23, Lokanath wrote: hi , i think u have to get the bean from session to some Collection useing session.getAttribute(mylist) then assign

Re: AW: Re[2]: are you sure?

2004-03-23 Thread Mark Lowe
submitting to the server returning an action message with a checkbox (check to confirm). and then resubmitting I reckon would be nicer than a javascript dependency. html:form action=/save.do logic:messagesPresent bla bla (i hate this tag) Are you sure you want to do that or are you just

Re: There *has* to be an easy way to do this...

2004-03-22 Thread Mark Lowe
Your using OM objects and stuffing them into your view but this should still work anyhow. CreditCost newCost = new CreditCost(); creditCostList.add(newCost); Have an add action do the above, I assume you're scoping to session as you're iterating through a scoped array/list and not a form

Re: There *has* to be an easy way to do this..

2004-03-22 Thread Mark Lowe
is in Struts. Thanks for your help. -Joe -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Monday, March 22, 2004 4:20 AM To: Struts Users Mailing List Subject: Re: There *has* to be an easy way to do this... Your using OM objects and stuffing them into your view

Re: Indexed Property

2004-03-22 Thread Mark Lowe
I don't know how helpful those examples are in reality as there are a few details missing.. So here's an example. Personally i like nesting forms although this isn't to everyone's taste. The example uses LazyList to allow you to scope the form to request and the example was provided by Paul

Re: Indexed Property

2004-03-22 Thread Mark Lowe
correction On 22 Mar 2004, at 14:42, Mark Lowe wrote: I don't know how helpful those examples are in reality as there are a few details missing.. So here's an example. Personally i like nesting forms although this isn't to everyone's taste. The example uses LazyList to allow you to scope

Re: html:Selectalternatives

2004-03-22 Thread Mark Lowe
You haven't even tried using the struts tag.. html:select property=teacher html:option value=--/html:option html:options collection=teachers property=ssn labelProperty=completeName / /html:select now if the value of teacher equals one of the ssn values it will be selected. On 22 Mar 2004,

Re: html:Selectalternatives

2004-03-22 Thread Mark Lowe
what could be wrong...? Thanks in advance... -Sam Mark Lowe [EMAIL PROTECTED] wrote: You haven't even tried using the struts tag.. -- labelProperty=completeName / now if the value of teacher equals one of the ssn values it will be selected. On 22 Mar 2004, at 15:26, as as wrote: Hi I tried a lot

Re: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Mark Lowe
to the console (seems ok): The following dates are critical: 20.03.2004: 5 hours. I want this format exactly being displayed using the alert function. I cannot see where the problem is. any idea? thx, Dirk -Ursprüngliche Nachricht- Von: Mark Lowe [mailto:[EMAIL PROTECTED] Gesendet: Montag, 22

Re: struts-reports

2004-03-22 Thread Mark Lowe
On 22 Mar 2004, at 19:06, as as wrote: Hi, I have a struts page that needs to generate reports based on filtering criterion like (date from, date to, type of report, type of data to show). Make some util classes that return what you need with what you need from you model. List fooList =

Re: AW: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Mark Lowe
; } } if(messages != null){ System.out.println(Note: + noteText); messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(critical.schedule.text, noteText.trim())); saveMessages(request, messages); } thx, Dirk -Ursprüngliche Nachricht- Von: Mark Lowe

Re: AW: AW: AW: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-22 Thread Mark Lowe
goes on here. I cannot see any difference... -Ursprüngliche Nachricht- Von: Mark Lowe [mailto:[EMAIL PROTECTED] Gesendet: Montag, 22. März 2004 21:09 An: Struts Users Mailing List Betreff: Re: AW: AW: multiple lines in an ActionMessage object displayed via javascript alert Weird .. I

Re: multiple lines in an ActionMessage object displayed via javascript alert

2004-03-21 Thread Mark Lowe
What characters have you in your strings ? There must be something a quote or something give js a bad day. I assume you've something like this. msg1 = bean:message key=message1 /; msg2 = bean:message key=message2 /; msg3 = bean:message key=message3 /; msg = msg1 +\n+ msg2 +\n+ msg3; alert(msg);

Re: Pls help on shopping cart App

2004-03-20 Thread Mark Lowe
-Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 1:36 PM To: Struts Users Mailing List Subject: Re: Pls help on shopping cart App Do your html:text have the indexed=true attribute? On 18 Mar 2004, at 07:07, sougata wrote: Hi All, I have a shopping cart

Re: Mapping Forward to new form

2004-03-20 Thread Mark Lowe
If you form is scoped to request you can also set redirect=true in the action forward. On 19 Mar 2004, at 20:03, Saul Q Yuan wrote: You can call ((UserForm) form).reset() before forwarding. Saul -Original Message- From: Ciaran Hanley [mailto:[EMAIL PROTECTED] Sent: Friday, March 19,

Re: DynaValidatorForm for java.lang.Integer

2004-03-19 Thread Mark Lowe
Use String. Anything else is asking of trouble. According to the party line (ref: struts dev list) action form properties should always be of type string. You can still validate whether a string is 1 for example or whether it looks like a date whatever, it doesn't have to be typed as such.

Re: SessionTimeout handling

2004-03-19 Thread Mark Lowe
If your container supports it use a Filter. And I think (perhaps don't know) that session timeout is something you usually configure the container to do, but again i'm not sure of your requirement. On 19 Mar 2004, at 10:48, Sanoj, Antony (IE10) wrote: Hi, I am trying to handle session

Re: Database backed forms

2004-03-19 Thread Mark Lowe
If there's talk of having action forms populated by themselves then I wouldn't. For example you want to create a new record, to instantiate a new form bean you'd perhaps have to save a record to the db, and all this before the user decides what s/he wants to do with it. niall wrote some

Re: Database backed forms

2004-03-19 Thread Mark Lowe
DynaValidatorActionForm to provide a reset() implementation. If required, the actionForm's properties are populated from the backend model. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 10:41 To: Struts Users Mailing List Subject: Re: Database backed forms If there's

Re: Database backed forms

2004-03-19 Thread Mark Lowe
. Sounds like a much better way of going about it... Thanks. -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 11:41 To: Struts Users Mailing List Subject: Re: Database backed forms How would you suggest implementing view/edit functionality without pre

Re: Pls help on shopping cart App

2004-03-18 Thread Mark Lowe
Do your html:text have the indexed=true attribute? On 18 Mar 2004, at 07:07, sougata wrote: Hi All, I have a shopping cart apps.When the user is buying items it is coming to mycart .In my mycart page I am showing all the products and the beside that I have a update button by which I can update

Re: LookupDispatchAction with html:image?

2004-03-18 Thread Mark Lowe
Will this not work then? html:image property=method value=Save page=/image/buttons/en/save.gif / assuming the value is set by nesting bean:message html:image property=method page=/image/buttons/en/save.gif bean:message key=button.save / /html:image

Re: Way tho highlight error form field

2004-03-18 Thread Mark Lowe
You could modify the client-side validation stuff to do this rather than just alerting. An easy way of layering this on is to define a compulsory array of fields and then loop through the form on validation. changing the borderColor style attribute when you have a match between the element

Re: java.lang.VerifyErrror - Illegal stste of Jump or Branch

2004-03-18 Thread Mark Lowe
Why not populate an array and use that ? If doing it in the action seems a little tiresome then JSTL could help. It will be tidier than including a page with a bunch of options in. On 18 Mar 2004, at 13:00, Ramachandran wrote: Hi List, I am facing one problem in a jsp file. In this file, i am

Re: EL buggy? this shouldn't happen

2004-03-18 Thread Mark Lowe
${testPrimKey[ctr]} or perhaps with the wrappers c:set var=key value=${testPrimKey[ctr]} / ${key} what does that do? On 18 Mar 2004, at 12:46, Axel Groß wrote: hi all! while trying to figure out how indexed/mapped properties work I get some strange behaviour - I'm pretty sure this doesn't

Re: indexed property problem

2004-03-18 Thread Mark Lowe
:22 +0100, Mark Lowe wrote: ${testPrimKey[ctr]} that actually evaluates to nothing but ${mappedTest.testPrimKey[ctr]} gets the right result BUT my original intention (to use it with html:struts) still fails, because the tag doesnt populate the value for the indexed property: without using

Re: indexed property problem

2004-03-18 Thread Mark Lowe
I thought you were trying to get a mapped property. What does the structure look like? I cant see what you're drilling to. On 18 Mar 2004, at 15:23, Axel Groß wrote: On 2004-03-18 at 15:10:47 +0100, Mark Lowe wrote: try html-el:text name=mappedTest property=testPrimKey(${ctr}) / doesnt exist

Re: Context relative URL

2004-03-16 Thread Mark Lowe
looks like a basic javascript question to me but here goes anyway. Stop trying to put everything in the event context = c:url value=/ /; imgdir = context + /images/; //perhaps create an array to preload. images = [inico]; function mover(name) { document.images[name].src = imgdir + name

Re: submit an arraylist

2004-03-12 Thread Mark Lowe
The name in the iterate tag needs to match the name you've using to define the form bean in struts-config form-bean name=testForm type=com.mike.struts.TestBeanForm / html:form action=/testAction.do logic:iterate id=mybean name=testForm property=testBean html:text

Re: submit an arraylist

2004-03-12 Thread Mark Lowe
ThanksRegards From: Mark Lowe [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: submit an arraylist Date: Fri, 12 Mar 2004 09:35:11 +0100 The name in the iterate tag needs to match the name you've using to define

Re: Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Mark Lowe
try request.getRequestDispatcher(/myACtion.do).forward(request, response); rather than redirect. On 12 Mar 2004, at 10:59, Christian Schlaefcke wrote: Hi Folks, This is the situation: A struts application that uses tiles. A user needs to logon to work with the app. A logged-on user has a

Re: help! I m going mad

2004-03-12 Thread Mark Lowe
Okay here's a full example, first of all i'm going to mess with your naming conventions as they'd drive me mad also //bean package com.sparrow.struts; public class TestBean { private String name; public String getName() { return name; }

Re: Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Mark Lowe
boolean isAJollyGoodFellow = false; //some logic here where you check whether s/he is a jolly good fellow if(isAJollyGoodFellow) { filterChain.doFilter(request, response); } else { request.getRequestDispatcher(/myAction.do).forward(request, response); } doFilter method passes on the

Re: Switching from HTTPS to HTTP

2004-03-12 Thread Mark Lowe
There's some java thingy you can use to do this, sslext or something.. If you are using apache for your webserver you can use mod_rewrite which means less hassle configuring development envionments and such like. Here's an example. NameVirtualHost machinedomain.net:80 VirtualHost

Re: Switching from HTTPS to HTTP

2004-03-12 Thread Mark Lowe
?? Ex: sendRedirect(http://myserver/myapp/main.jsp;); -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 12 de março de 2004 13:30 To: Struts Users Mailing List Subject: Re: Switching from HTTPS to HTTP There's some java thingy you can use to do this, sslext

[OT] Your Message to struts-user@jakarta.apache.org is Blocked

2004-03-12 Thread Mark Lowe
Anyone else been getting these when you send stuff to the list? I doubt I've got a virus as I don't use windoze. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Your Message to struts-user@jakarta.apache.org is Blocke d

2004-03-12 Thread Mark Lowe
These seem to be the folks sending such useful information http://www.s2lservers.com/ On 12 Mar 2004, at 15:44, Joao Batistella wrote: I'm getting also. And I don't got a virus... I hope :-) -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 12 de março de

Re: how to automatically forward user's page to a html link at speified time

2004-03-12 Thread Mark Lowe
Filter will do what you want if you're using a supporting container. On 12 Mar 2004, at 17:18, ~{UT~} ~{F=~} wrote: Hi, all I want the struts application have an internal timer. When the specified time(like 9:00pm) arrive, the user's current page should be forwarded to another html link.

Changing position of nested beans

2004-03-11 Thread Mark Lowe
I was wondering if anyone has found any slick, no javascript dependent solution to the following situation. My question in short is, is there a way of having an indexed dispatch action, or have i been on the crack again? I have a form of nested beans which are ordered according to a position

Re: Changing position of nested beans

2004-03-11 Thread Mark Lowe
: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: donderdag 11 maart 2004 10:31 To: Struts Users Mailing List Subject: Changing position of nested beans I was wondering if anyone has found any slick, no javascript dependent solution to the following situation. My question in short is, is there a way

Re: Changing position of nested beans

2004-03-11 Thread Mark Lowe
to me. Niall - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 11, 2004 9:31 AM Subject: Changing position of nested beans I was wondering if anyone has found any slick, no javascript dependent solution

Re: Changing position of nested beans

2004-03-11 Thread Mark Lowe
, I would have understood crack programmer as a compliment - now I'm thinking it could be a support group for those of us who spend too much time on lists like this :-). - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday

Re: Changing position of nested beans

2004-03-11 Thread Mark Lowe
depending on the value with the index position you're at. trying to use look up dispatch action seems to be overly complicating things to me. Niall - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, March 11, 2004 9:31 AM

Re: Changing position of nested beans

2004-03-11 Thread Mark Lowe
appropriately. Hmm... the question is, how do you get the value of logic:iterate's indexId to the value of your html:radio without using %= %? Could I have been on the crack, too, and not know it? Hubert -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004

Re: Newbie Q

2004-03-10 Thread Mark Lowe
html-el:link page=${myProp} a href=c:url value=${myprop} / or as has been suggested html:link page=%= myProp % on tc 5 and other jsp2 supporting containers el works without having to use an el library html:link page=${myProp} On 10 Mar 2004, at 04:12, Paul Stanton wrote: yes, but theres

Re: Populating form Elements from another object.

2004-03-10 Thread Mark Lowe
=fooForm4 type=lib.framework.struts.LazyValidatorActionForm dynamic=true / Oh, I noticed an error in LazyValidatorForm, its declared as abstract - which it shouldn't be - I don't use it directly, I use LazyValidatorActionForm which extends it. Niall - Original Message - From: Mark Lowe

Re: porting to struts

2004-03-10 Thread Mark Lowe
On 10 Mar 2004, at 12:02, Rajat Pandit wrote: Hello All, we have a product which was built on an inhouse developed controller, and we are currently planning to port the application on struts. This application was built on the MVC architecture with a central controller as the application entry

Re: Populating form Elements from another object.

2004-03-09 Thread Mark Lowe
I haven't seen the code but if what i understand of what Niall has been saying you'd use them instead of DynaActionForm. form-bean name=fooForm type=com.ilovesparrows.struts.NiallsForm / of course you'll need to call the package and class name to something appropriate. On 9 Mar 2004, at

Re: Cookies And Session Problems

2004-03-09 Thread Mark Lowe
As a general point life gets less confusing when you retrieve you objects one at a time rather than drilling through several at once.. When you get used to using stuff on a daily basis then of course you're going to start opting for one line rather than several. but IMO you better

Re: SSL and actionforms

2004-03-09 Thread Mark Lowe
what's your deployment setup like? running with apache? On 9 Mar 2004, at 16:21, Håkan Fransson wrote: Hi!! I'm running a struts application on Websphere and have encountered a problem when added SSL. It seems that on submit, the set methods on the actionform sometimes are not invoked. It works

Re: Struts starter

2004-03-08 Thread Mark Lowe
strikethis is strike-through formatting/strike On 8 Mar 2004, at 05:36, Martin Gainty wrote: I'll ask the dumb question What is Strike-thru formatting? ~Martin~ - Original Message - From: Joe Germuska [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, March

Re: can we have multiple paths for the same action class?

2004-03-04 Thread Mark Lowe
:o) On 4 Mar 2004, at 12:25, Niall Pemberton wrote: Yes you can, no problem. Why not give it a go if you're wondering whether something will work - be brave, seize the day. Niall - Original Message - From: Shobhana.S, ASDC Chennai [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Re: Numeric validator

2004-03-04 Thread Mark Lowe
No the field type should be string like all form properties. On 4 Mar 2004, at 12:39, MOHAN RADHAKRISHNAN wrote: Thanks. I was trying to find out why this particular check is not run while the depends=required check in the same validation.xml is run. I can see that this check

Re: Passing a vector to a JSP from an Action

2004-03-04 Thread Mark Lowe
On my way to see my crack dealer right this minute :o) In the request its where is belongs, like pretty much all read only data. Anyone would think that I was arguing in favor of always storing in session.. On 4 Mar 2004, at 17:06, Geeta Ramani wrote: .as a request attribute..? Look through

Re: Passing a vector to a JSP from an Action

2004-03-04 Thread Mark Lowe
Vector myvector = .. request.setAttrubute(myvector, myvector); ... c:forEach var=item items=${myvector} c:out value=${item.myproperty} / c:forEach or logic:iterate id=item name=myvector bean:write name=item property=myproperty / /logic:iterate The thread in question was more

Re: Best way to handle big search results..

2004-03-04 Thread Mark Lowe
Sound's like you'll need some scrolling mechanism in between this can range from changing a query string for a jdbc type app or using an object model like hibernate which supports result scrolling.. I'd say with reasonable confidence that returning 48,000 records in one go is a pretty

Re: Passing a vector to a JSP from an Action

2004-03-04 Thread Mark Lowe
, at 17:49, bort wrote: I feel like an idiot asking this, but... within the logic:iterate /logic:iterate tags how am I supposed to pull out the objects I have stored in my Vector? bort Mark Lowe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Vector myvector = .. request.setAttrubute

Re: Best way to handle big search results..

2004-03-04 Thread Mark Lowe
, this is extremely fast. It just goes down the toilet once I start getting over about 500 accounts. Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] -Original Message- From: Mark Lowe [mailto:[EMAIL

Re: Best way to handle big search results..

2004-03-04 Thread Mark Lowe
? or from the app to the database? Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 10:55 AM To: Struts Users

Re: Passing a vector to a JSP from an Action

2004-03-04 Thread Mark Lowe
: Thursday, March 04, 2004 4:30 PM Subject: Re: Passing a vector to a JSP from an Action Cool: i just knew I could get you going...;) Mark Lowe wrote: On my way to see my crack dealer right this minute :o) In the request its where is belongs, like pretty much all read only data. Anyone would think

Re: Best way to handle big search results..

2004-03-04 Thread Mark Lowe
to the database? Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 10:55 AM To: Struts Users Mailing List Subject

[OT] was: Re: Passing a vector to a JSP from an Action

2004-03-04 Thread Mark Lowe
List [EMAIL PROTECTED] Sent: Thursday, March 04, 2004 4:30 PM Subject: Re: Passing a vector to a JSP from an Action Cool: i just knew I could get you going...;) Mark Lowe wrote: On my way to see my crack dealer right this minute :o) In the request its where is belongs, like pretty much all read

Re: [OT] was: Re: Passing a vector to a JSP from an Action

2004-03-04 Thread Mark Lowe
P.S... just kidding: I actually do (and did) agree with you..!! :) Mark Lowe wrote: Yeah. But see the thread and what i was up against, like no large scale app has ever been released using httpsession somewhere. I think the chap with the 48,000 results scrolling issue and the next man with the html

JSP context in an action

2004-03-02 Thread Mark Lowe
Does anyone know how to retrieve the servlet context of a given jsp and place an object in that context (say a map) and then request the page ? I've been putting together a email templating system using velocity, but logic tells me i can do this using the servlet and struts api's without using

[OT]Re: IdGenerator ... is null

2004-03-02 Thread Mark Lowe
Looks like a torque question to me, but that list can get kinda robot-wars. Its been a while but, does the id field in your schema look like this? column name=FOO_ID type=INTEGER required=true primaryKey=true / On 2 Mar 2004, at 14:41, Silviu Marcu wrote: Hi I configured torque for mysql and

Re: JSP context in an action

2004-03-02 Thread Mark Lowe
I'm still chewing on the problem. But a custom tag lib would seem a possibility. I ended up using a velocity servlet and doing things that way, my aim in trying otherwise was not to have to use velocity as its another bunch of libraries that in theory I shouldn't need. Ideally i'd have a

Re: calculating sum inside logic:iterate

2004-03-02 Thread Mark Lowe
Depends how you've done things. If your items are nested in a form (indexed/mapped proerties) you could have a total that is calculated there. Thus no need to do it in an action or a jsp. On 2 Mar 2004, at 17:18, Marco Mistroni wrote: Hi all, I have a colletion of items that have a

Re: calculating sum inside logic:iterate

2004-03-02 Thread Mark Lowe
I see what you're saying. But at the same time, if you wanted to develop a shopping cart that you could plug onto any model. Then IMO calculating in a web tier bean say an action form isn't the most evil thing in the world. I agree entirely that the total should be calculated in the model,

Re: Date attribute in ActionForm

2004-03-02 Thread Mark Lowe
Its also usually the case with dates that downs make less work for the user. This along with beanutils conversions hassles mean s its usually easier to have a day, month , year properties of type String or Integer which then you use to create a Date or Calendar object before passing up to your

Re: Tiles problem

2004-03-02 Thread Mark Lowe
put name=foo value=${bar} type=string/definition/page / On 2 Mar 2004, at 22:15, Anderson, James H [IT] wrote: There's something I'm not understanding :-( I've got the following tiles definitions. definition name=.mainLayout path=/tiles/layouts/mainLayout1.jsp put name=header

Re: Tiles problem

2004-03-02 Thread Mark Lowe
to definition name=.activity.detail extends=.mainLayout put name=content value=.portfolioLayout/ put name=app-specific value=/tiles/activityinfo.jsp type=page/ /definition and it didn't make any difference. What am I missing? -Original Message- From: Mark Lowe [mailto

Re: BODY onLoad Workaround

2004-03-02 Thread Mark Lowe
Iframe would be one possible hack. Have the page that loads run a javascript function that drills back up to your page. or an onload on an image, or simply execute the function in the page. lastly have something like this in your layout tile:get name=javascriptHack scope=page / script

Re: html:link problem

2004-03-02 Thread Mark Lowe
When i have the misfortune of porting the mother of all abominations known as dreamweaver generated code I tend to use c:url instead a href=c:url value=/findtitle.do / this will do what i think you want. On 2 Mar 2004, at 23:19, mucus snot wrote: Hi list, Just wondering if anyone has any

Re: BODY onLoad Workaround

2004-03-02 Thread Mark Lowe
correction tiles:useAttribute name=javascriptHack scope=page / On 2 Mar 2004, at 23:33, Mark Lowe wrote: Iframe would be one possible hack. Have the page that loads run a javascript function that drills back up to your page. or an onload on an image, or simply execute the function in the page

Re: BODY onLoad Workaround

2004-03-02 Thread Mark Lowe
to mimic a body onLoad completely? Thanks, Alan -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 5:34 PM To: Struts Users Mailing List Subject: Re: BODY onLoad Workaround Iframe would be one possible hack. Have the page that loads run a javascript function

Re: BODY onLoad Workaround

2004-03-02 Thread Mark Lowe
I guess its possible that the layout isn't getting reloaded with the tiles request. an iframe or an image will do as a quick hack. iframe width=0 height=0 src=foo.html / On 2 Mar 2004, at 23:51, Alan Weissman wrote: Thanks Richard for your input. Can you let me know where you see people

Re: BODY onLoad Workaround

2004-03-02 Thread Mark Lowe
view the source.. On 2 Mar 2004, at 23:58, Alan Weissman wrote: Thanks everyone for all your attention to this. Now I'm really confused because I am positive my event isn't being called. Here is the source to my layout page. Pages that use this layout do not get any alert box popping up.

Re: Grid..........

2004-03-01 Thread Mark Lowe
Sounds great.. On 1 Mar 2004, at 06:05, Milind P wrote: Hi All! Iam a new developer using the struts framework... We are developing a web application where in we are using the MVC architecture..Hence we are using the Jsp for the view. Now the problem is our project demands to dsiplay the

Re: struts and DHTML

2004-03-01 Thread Mark Lowe
You want to put all the stuff that you need to be dynamic in div with id's .. then layer the javascript and css on after. This will allow you to get a minimal version running (no dhtml) and get the dhtml stuff running on one browser at a time. Trying to throw it all in together will push your

Re: Avoiding app server restarts while doing struts development

2004-03-01 Thread Mark Lowe
How about not redeploying on every single change and do things in batches? On 1 Mar 2004, at 15:18, Marco Mistroni wrote: HI, I guess those changes,which have 'context scope', need Always a redeploy Only changes that don't need a redeploy can be jsp changes (provided that You deploy

Re: [OT] MacOS X Java/Struts development (was RE: [OT] Maven (was Re: [ANNOUNCE] Struts 1.2.0 Test Build available))

2004-03-01 Thread Mark Lowe
I use xcode on osx and personally i prefer it to those swing based things, (although IDEA I hear is in a class of its own). Xcode isn't as bigger leap at apple would have you believe I had project builder doing the same sorts of things with ant. But its quite nice that all the basics are there

Re: microsoft sqlserver driver struts

2004-03-01 Thread Mark Lowe
Just a guess . but its looking for the old GenericDataSource have the the struts-legacy.jar in your lib directory? There's also some weird BillGates-tastic argument you have to pass though with the url string. But i have no experience with ms sql server. On 1 Mar 2004, at 21:28, Danko

Re: Forwarding between actions

2004-02-29 Thread Mark Lowe
So what do your action mappings look like? action path=/SetEditor name=editForm scope=request forward name=success path=/editorView.jsp redirect=false / /action action path=/Save name=editForm input=/editorView.jsp scope=request forward name=success path=/SetView.do redirect=true /

Re: [OT] Gays and computing

2004-02-28 Thread Mark Lowe
Sounds a bit gay to me.. On 28 Feb 2004, at 07:32, Michael McGrady wrote: Yah, off topic. I bet that is what the [OT] is all about. At 04:06 PM 2/27/2004, you wrote: Definitively funny, but Off-topic :) --- Rick Reumann [EMAIL PROTECTED] escribió: On Friday 27 February 2004 4:39 pm,

Re: microsoft sqlserver driver struts

2004-02-27 Thread Mark Lowe
Does the error get thrown when you attempt to access the data source or at startup? On 27 Feb 2004, at 11:34, Claire Wall wrote: Hi, I am trying to use microsoft's jdbc driver with my struts application, but to no avail. Here is my datasource definition: data-source key=DB

Re: microsoft sqlserver driver struts

2004-02-27 Thread Mark Lowe
to access the database. - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, February 27, 2004 11:29 AM Subject: Re: microsoft sqlserver driver struts Does the error get thrown when you attempt to access the data source

  1   2   3   4   5   6   7   >