Read only iterate?

2004-08-13 Thread Mike Elliott
I've been totally defeated in my attempt to alter an html:text element inside a logic:iterate tag. There must be a way to accomplish this, but I've been beating my head against the wall for three days now without making progress. I have simplified the problem substantially from the initial page.

Re: Read only iterate?

2004-08-14 Thread Mike Elliott
On Friday 13 August 2004 09:40, Richard Yee wrote: > Mike, > What does the generated HTML look like? The generated HTML is not the problem; the failure to invoke the set method is the problem. However, maybe looking at it would provide some insight into the cause. Anyway, here it is:

Re: Read only iterate?

2004-08-14 Thread Mike Elliott
On Friday 13 August 2004 09:43, Brian Lee wrote: > Lists work, but you have to write your own set(int index) method to set the > correct object from the List. > > BAL I still believe that lists work -- it's not lack of belief that's the problem, it's lack of results. There's some magic involved

Re: Read only iterate?

2004-08-14 Thread Mike Elliott
On Friday 13 August 2004 09:40, Jim Barrows wrote: > > -Original Message- > > From: Mike Elliott [mailto:[EMAIL PROTECTED] > > Sent: Friday, August 13, 2004 9:33 AM > > To: [EMAIL PROTECTED] > > Subject: Read only iterate? > > > > > > I&#x

Re: Read only iterate?

2004-08-15 Thread Mike Elliott
re in the discussion do the authors drop the bomb that using indexed tags makes the whole situation read-only and I still think that there must be some way to make it work using indexed tags -- I just haven't yet found it. However, thanks for pointing me at the earlier solution -- it does wo

HTML Filtering?

2004-08-16 Thread Mike Elliott
nds as &, left angle brackets as < etc.? -- Mike Elliott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Making a file available?

2004-09-16 Thread Mike Elliott
I have an application which gathers information about internal processes. Some of this information is in the form of a text file, an Excel file, a PDF file, etc. What I need to be able to do is to make a URL available to users which will provide a requested file to a user; that is, if the URL ref

Re: How to treat optional dates?

2004-09-16 Thread Mike Elliott
On Thu, 2004-09-16 at 19:28, [EMAIL PROTECTED] wrote: > Since the posting I made a happy discovery though. If I save an optional > date with the value '01-01-0001' (d-m-y), it appears as blank when > displayed - just what I was after. Are you sure? Isn't it m-d-y? ---

RE: Making a file available?

2004-09-16 Thread Mike Elliott
On Thu, 2004-09-16 at 19:49, Joe Hertz wrote: > Absolutely. You have access to all of the response object methods you would > in a servlet to do this with. > > Set the correct content type and content length headers and spit it to the > outputstream. Return a null findForward. > > I've done this

Re: Storing User in Session

2004-09-23 Thread Mike Elliott
On Thu, 23 Sep 2004 15:31:47 -0400, Sean Schofield <[EMAIL PROTECTED]> wrote: > Of course if you have millions of users that > might be another story. Millions of users, each of whom have an active session. Otherwise, who cares how many rows are in the database? Certainly not struts. -

Compilation of JSP at time of deployment?

2004-09-27 Thread Mike Elliott
I have a neglected Ultra 1, now running Solaris 9, which I've rescued to use as a web application server. It's running JBoss just fine and when my web application is loaded and run the response time, while slow (on the order of a second or two per page) is still reasonable. The problem comes abou

Modifying an object within the form bean?

2004-10-06 Thread Mike Elliott
I have a situation where the form bean contains objects inside it which represent sets of things which will appear in an tag. In particular, the objects have three properties: selected_ndx ndx_set label_set One of these objects is the 'moderator' property of the form bean. The overall design i

Re: Modifying an object within the form bean?

2004-10-06 Thread Mike Elliott
On Wed, 06 Oct 2004 14:38:36 -0500, Jason King <[EMAIL PROTECTED]> wrote: > This is a javascript problem. The DOM-compliant way to change the > selected option for a element is: > .selectedIndex = for your example that > would be: > > opener.document.formBean.selectElementName.selectedIndex = ;

Re: Modifying an object within the form bean?

2004-10-06 Thread Mike Elliott
> Try opener.document.formBean["moderator.selected_ndx"] The arrays are > also hashtables. Yes, that works. Thanks a bunch. Although I still think that the bean approach *should* have worked -- it doesn't. And I'll gladly settle for this workaround. ---

Re: OT: bouncing address (if this is you at standardbank.co.az, PLEASE correct it)

2004-10-06 Thread Mike Elliott
On Wed, 6 Oct 2004 19:46:46 -0400, David G. Friedman <[EMAIL PROTECTED]> wrote: > I'm starting to severly dislike this error message from some unknown subscribe > at standarbank.co.az. Actually its standardbank.co.za (South Africa). I'm getting them too. I assume everyone is.

Re: Iterate over list in in list in form bean.

2005-07-18 Thread Mike Elliott
On 7/13/05, Jörg Eichhorn <[EMAIL PROTECTED]> wrote: > thanks for the hint and example. I've choosen the nested way to do this, > because i > think this makes the jsp code more readable. > > I there a way to do the same using request scope? > When i do this i get an exception because the collecti

Re: Iterate over list in in list in form bean.

2005-07-18 Thread Mike Elliott
> Well I could see for large forms with nested data it might not be a > great idea to keep these around in the Session. I 'try' to stick to > using the Request when I can but I don't bend over backwards like > some do on this list to avoid the Session.. I'm in "The Session is your > friend" ca

Re: Iterate over list in in list in form bean.

2005-07-18 Thread Mike Elliott
On 7/18/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > I'm still not totally clear where the problem is, since I'm not sure > what Session has to do with the initial setup of the form. The difference is unobvious, I admit, but this is what I was thinking of: If I use a session bean, I can do some

Does struts really have to construct a new form bean every time?

2005-04-27 Thread Mike Elliott
I'm trying to build an application where: 1) p1.jsp transitions via a link: /do/Something?action=initialize. 2) This causes class app.SelectionAction to have its execute() method invoked. 3) The execute() method, based on the parameter, initializes the form passed it. 4) The execute() method th

Re: Does struts really have to construct a new form bean every time?

2005-04-27 Thread Mike Elliott
;=== should be scope="session" > validate="false" > > > > > > > On 4/27/05, Mike Elliott <[EMAIL PROTECTED]> wrote: > > I'm trying to build an application where: > > > > 1) p1.jsp transitions via a link: /do/Something?actio

Re: Does struts really have to construct a new form bean every time?

2005-04-27 Thread Mike Elliott
On 4/27/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > scope="request" <=== should be scope="session" Thanks! I knew it had to be something simple like that! And I've wasted a day and a half finding it. -

Re: [WEB-SERVICES ]

2006-05-23 Thread Mike Elliott
On 5/23/06, temp temp <[EMAIL PROTECTED]> wrote: Web services. How web services are written in java. Are there any tutorials to understand the concept of web services? What particular kind of a web service did you have in mind? You mentioned Enterprise Java Beans. Those are not a web s