RE: caching custom tag results

2001-08-22 Thread Laine Donlan
Mike - We sometimes use the page context to store tag results under a key name. If tag executes multiple times per page then it checks the page context for something under that key before going forward with processing. One thing though, if the results of the tag depend on the attributes provided

RE: Nested classes

2001-07-13 Thread Laine Donlan
I have had no problem using inner classes with struts, is there a reason your inner class is static? As long as the inner classes are public Struts should be able to get to the properties with reflection. Laine -Original Message- From: Gregor Rayman [mailto:[EMAIL PROTECTED]] Sent: Frid

RE: Netbeans Support of Struts

2001-07-02 Thread Laine Donlan
Netbeans 3.2 has support for execution of JSPs and Servlets and with some slight tweaking you can also debug a web-app. Forte 4j 3.0 has a little better support for this, but seems to still have some issues . Both of them have Tomcat integrated as plug-ins and have pretty good support for JSP edi

indexed tags (was - How can I pass extra information on Submit button?)

2001-06-26 Thread Laine Donlan
Dave - I have been off the list for a while so I missed your original post. Any idea if these indexed tags might make it into the formal releases? We are beginning the process of transisitioning to the final 1.0 release but would wait for an early 1.1 release if this would be included. One other

RE: How can I pass extra information on Submit button?

2001-06-25 Thread Laine Donlan
In a similar situation we have used a hidden input to do this. All you would need is a hidden input for your position and then add an onclick event to each submit button that would set the value of the input based on the index of your iterate loop. For example: form hidden - position iterate

RE: Unchecking radio buttons?

2001-05-09 Thread Laine Donlan
the page. If you uncheck it though, it will be false which is correct too. :-) - Original Message - From: "Laine Donlan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 08, 2001 2:30 PM Subject: RE: Unchecking radio buttons? Here is some code that

RE: Unchecking radio buttons?

2001-05-08 Thread Laine Donlan
Here is some code that I submitted to the dev list a while back. It might be useful as it solves the problem of the 'unchecked' checkbox submit. Hope it helps. Laine - In order to capture the act of a user unchecking checkboxes and to initialize the chec

RE: help with JavaScript and text box.

2001-04-09 Thread Laine Donlan
Alex - Try using form['requisitionLines.requiredOnDate'].value = . I was having the same problem and this worked. Hope it helps Laine -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: Monday, April 09, 2001 4:26 PM To: Struts Subject: help with JavaScript and te

Attempt to reduce/alleviate the loosely coupled nature of Struts

2001-04-02 Thread Laine Donlan
All - I was hoping to tap the brain trust out there for any ideas on how to address the following problem: In the system I am currently working on there is a large amount of code generated based on a database schema. For example: for any given table in the schema an entity bean is generated wit

RE: problem using weblogic 6 and struts 1.0

2001-03-28 Thread Laine Donlan
It looks like you are ending you action tag in the first tag (i.e ) . Try removing that and it should be fine. Laine -Original Message- From: Nanduri, Amarnath [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 12:09 PM To: '[EMAIL PROTECTED]' Subject: problem using weblogic 6

Indexed bean property names and Javascript

2001-02-18 Thread Laine Donlan
I was wondering if anyone has had experience using javascript with form elements containing nested properties. Basically I am trying to avoid looping through the forms elements and matching names to find the element I want. However I am having a problem with javascript not liking form elements n

Linking actions together

2001-01-30 Thread Laine Donlan
All - Is it possible to link actions together via the action forward mechanism. The following is an example of what I am trying to accomplish but am having a little difficulty getting it to work:

Experience with/best practices to avoid memory leaks or memory related problems with Struts

2001-01-17 Thread Laine Donlan
All - I was wondering if anyone had experience with Struts as it relates to managing the amount of objects created by the Framework. I am relatively new to Struts as well as jsp development and would appreciate any pointers or 'things to keep in mind' to avoid resources being wasted. Thanks in

RE: Invoking EJB from Action classes

2001-01-16 Thread Laine Donlan
>Roger Kjensrud wrote: >> Jannik, >> >> thanks for your input. >> >> The concept of the EJB session manager returning references to other EJBs is >> interesting. This EJB must be a stateful EJB with one instance per session, >> correct? Not having the lookup and create logic in the Action class m

Embedding template's within other custom tags

2000-12-28 Thread Laine Donlan
I am attempting to build a template for creating easily customizable tables using jsp templating. Basically I have a result set that is returned and am using the metadata to build the basic table structure (headers, etc) and would like to iterate through the rows and call a 'row template' for eac

RE: agh! Suddenly Tomcat does not start with struts!

2000-12-28 Thread Laine Donlan
Ned - I ran into the same type of problem when trying to start up Tomcat (Inside Forte Internet Edition) when I also had the Jsdkee1.2.1 in my classpath. The j2ee jar included with that dev kit had a conflicting version of the Tomcat classes and was causing some problems. Good luck Laine -