Re: [OT] Re: Job postings

2011-05-26 Thread Robert Taylor
nt: Thursday, May 26, 2011 9:41 AM Subject: Re: [OT] Re: Job postings Hello there, This may be one of the most important opportunity what about one witch is located in France ? there are some conditions to candidate :) 2011/5/26 Robert Taylor Hi Dale, We have a posting on the AJUG site. I

Re: [OT] Re: Job postings

2011-05-26 Thread Robert Taylor
Hi Dale, We have a posting on the AJUG site. I've also been to the latest AJUG meetings. When I was there, 6 companies stood up and declared many openings for Java developers. Thanks for the advice. /robert - Original Message - From: "Dale Newfield" To: "Struts Users Mailing List" S

Re: Job postings

2011-05-26 Thread Robert Taylor
Vote for me and get a 1000$ Tiffany's store credit...Newt Gingrich Date: Thu, 26 May 2011 17:14:48 +0530 Subject: Re: Job postings From: sharad23...@gmail.com To: user@struts.apache.org Hello Robert, What i have to do for this .I want to join. Regards Sharad On Thu, May 26, 20

Job postings

2011-05-26 Thread Robert Taylor
Greetings, I'm a Java team lead for a company in Atlanta Ga. My team has 2 positions open for senior level Java/Struts developers. I was wondering if its okay to post on this list regarding these open positions. /robert

Re: referencing javascript files from (action) jsp file

2010-10-15 Thread Robert Taylor
Hi Li, JSTL and EL give you access to the implicit pageContext object. From there you can access attributes from request and session. For example: And then use contextPath variable however you wish. I'm not sure how this would translate into an OGNL expression. But I'm sure others on this

Re: referencing javascript files from (action) jsp file

2010-10-14 Thread Robert Taylor
Or you could simply use JSTL. The following works for me: "> /robert - Original Message - From: "Li Ying" To: "Struts Users Mailing List" Sent: Thursday, October 14, 2010 10:33 AM Subject: Re: referencing javascript files from (action) jsp file I suggest you to reference your r

Re: additional onsubmit javascript validation

2010-09-23 Thread Robert Taylor
Hi Dale, I'm just using the xhtml theme, but I missed that chunk of code in xhtml/form-validate.ftl. That's what I needed. Thanks, /robert - Original Message - From: "Dale Newfield" To: "Struts Users Mailing List" Cc: "Robert Taylor" Se

Re: additional onsubmit javascript validation

2010-09-23 Thread Robert Taylor
javascript validation I modified the templates to allow pages to inject their own validation messages. Unfortunately I never checked this in. You could do it with a JavaScript framework, though, through binding. Dave On Wed, Sep 22, 2010 at 9:26 PM, Robert Taylor wrote: Greetings, I'm usin

Re: additional onsubmit javascript validation

2010-09-23 Thread Robert Taylor
Hi Mead, Binding validation to the click event on the submit button is not what i want. This would fire my validation before the onsubmit validation occurs. I want to leverage the Struts2 javascript validation framework which already exists. Then, if that succeeds, I would like to fire additi

additional onsubmit javascript validation

2010-09-22 Thread Robert Taylor
Greetings, I'm using Struts2.2.1 and have a form using the xhtml theme which performs some simple javascript validation (required, etc...). Works great. Now, after the simple javascript validation executes I would like to add some more validation to the onsubmit event. Apart from modifying a tem

Re: Struts2 Dynamic Merge of two webform objects / join two objects in database

2010-09-03 Thread Robert Taylor
Hi Nicolas, I'ld also be interested in hearing about an elegant solution to this problem as well. Ideally it would be nice if we all had nice simple models where we could reuse our hibernate objects for both persistence and web binding. However, if have found, this is often not the case. A

struts/utils.js included twice

2010-08-29 Thread Robert Taylor
Greetings, I'm using Struts 2.1.8.1 and have noticed that the will output even when is used which does the same thing. So i end up with 2 requests for struts/utils.js. Probably harmless, but also probably not a good idea. Does anyone else see the same behavior or care to elaborate? /robert

Re: redirect with parameter in struts

2010-08-24 Thread Robert Taylor
Another possible way is to leverage the ActionRedirect class. For example: ActionRedirect redirect = new ActionRedirect(mapping.findForward("someRedirectingForwardDef")); redirect.addParameter("cmp", companyName); redirect.addParameter("myOtherParameter", myOtherParameterValue); return redirec

Re: struts2+hibernate+spring - lazyInitaializationException

2010-07-19 Thread Robert Taylor
Hi Greg, I believe Brian is correct. You need to wrap BookDao.find(...) within a transaction or use OpenSessionInView. Either one of these should keep the session open when you are navigating the object graph in your DAO. If you use OSIV (OpenSessionInView) filter, then you can navigate the

Re: Session error while loading an object

2010-07-14 Thread Robert Taylor
Greetings, I think that you might want to separate your functional concerns into different objects. One common pattern in multi-level architectures is to have a model object like Customer which would contain domain information for the Customer and a Service object like CustomerService which

Re: Session error while loading an object

2010-07-13 Thread Robert Taylor
Greetings, Does the Customer object implement Serializable interface? If not, try modifying Customer to implement Serializable and see if the error still persists. /robert - Original Message - From: "abhishek jain" To: "Struts Users Mailing List" Sent: Tuesday, July 13, 2010 4:33 A

Re: Struts 2, Jquery and Spring Security 3.0

2010-05-25 Thread Robert Taylor
Your AJAX request to load the tab is getting redirected to the login content instead of the tab content due to the session time out and the spring security authentication. Therefore your tab is displaying the login screen. You could add a Javascript component to "timeout" and either notify or

Re: Struts 2 and Spring 3??

2010-05-24 Thread Robert Taylor
ssage - From: "Burton Rhodes" To: "Struts Users Mailing List" ; "Robert Taylor" Sent: Monday, May 24, 2010 3:22 PM Subject: Re: Struts 2 and Spring 3?? Hantsy - It appears that AppFuse 2.1 uses Spring 2.5.6 and Spring Security 2.0.4 (as far as I can tell from the

Re: Struts 2 and Spring 3??

2010-05-21 Thread Robert Taylor
I'm using Struts2 and Spring Security 3 on a project. I used the following links to get me going: http://static.springsource.org/spring-security/site/docs/3.0.x/reference/springsecurity.html http://java.dzone.com/tips/pathway-acegi-spring-security- It's much simplier than the old ACEGI configur

Re: Struts2 annotations and superclass

2010-04-30 Thread Robert Taylor
will have to provide the annotation since annotations are not inherited. /robert - Original Message - From: "Robert Taylor" To: "Struts Users Mailing List" Sent: Wednesday, April 21, 2010 8:44 AM Subject: Struts2 annotations and superclass Greetings, We

Struts2 annotations and superclass

2010-04-21 Thread Robert Taylor
Greetings, We are converting from using Struts1 and XDoclet to Struts2 and Struts2 annotations. We have a base action class which handles requests which displays grid style information. The super class is a template pattern which does a lot of the common heavy lifting and exposes a method "dis

Re: struts 2, how to trigger interceptor after action's execute() ?

2010-04-03 Thread Robert Taylor
To trigger code before an Action is executed place it before the invocation.invoke(). To trigger code after an Action is executed place it after the invocation.invoke(); For example: public String intercept(ActionInvocation invocation) throws Exception { MyAction action = (MyAction)invoc

Re: Struts and WebServices with both FORM and BASIC authentication in same web app

2006-05-11 Thread Robert Taylor
Frank, thanks for the response. I was afraid that was going to be the answer. /robert Frank W. Zammetti wrote: Robert Taylor wrote: Greetings, can you have both FORM and BASIC authentication in the same web application? (I don't think so, but thought I would ask) No, you canno

Struts and WebServices with both FORM and BASIC authentication in same web app

2006-05-10 Thread Robert Taylor
Greetings, can you have both FORM and BASIC authentication in the same web application? (I don't think so, but thought I would ask) I have a system of Struts web applications where I have users authenticating using FORM based authentication. I also have a need for B-to-B communication between

org.apache.struts.mock classes

2005-12-15 Thread Robert Taylor
I've downloaded Struts 1.2.8 and am interested in using the classes in org.apache.struts.mock package to unit test my actions, forms, etc... I see the source files but cannot seem to find the binaries. Am I missing something? Do I have to build and integrate them into the struts.jar myself or cr

Validation and error messages in session

2005-10-16 Thread Robert Taylor
Greetings, I'm using Struts 1.2.7 and noticed that functionality has been added to the Action class to store error messages in the session and subsequently be removed after they have been rendered. This is quite helpful in some circumstances. I also know that error messages can be placed in th

Re: html:text not interpreted

2005-10-10 Thread Robert Taylor
It appears you didn't include the html taglib: <%@ taglib uri="http://jakarta.apache.org/struts/tags-html"; prefix="html" %> /robert bib_lucene bib wrote: Hi I am working on a sample struts tiles app . I got here http://www.roseindia.net/struts/struts_tiles.shtml This is a very basic tiles ap

Re: Struts 1.2 - Using Tile Definitions as ActionForwards

2005-08-22 Thread Robert Taylor
Ooops. Responded without comprehending the entire message. I haven't tried it with global forwards. Sorry. /robert Robert Taylor wrote: I'm using Struts 1.2.7 running in Tomcat5.x and it works for me. /robert lchalupa wrote: I'm trying to use a feature of Tiles. I

Re: Struts 1.2 - Using Tile Definitions as ActionForwards

2005-08-22 Thread Robert Taylor
I'm using Struts 1.2.7 running in Tomcat5.x and it works for me. /robert lchalupa wrote: I'm trying to use a feature of Tiles. I'm using struts 1.2. I'm using Tiles Definitions maintained in a configuration file. I want to use the definition names in the strutsconfig file instead of a jsp

Re: Using JSTL to access form bean properties

2005-08-14 Thread Robert Taylor
Your form bean should be in either request or session scope under the name used to define it in struts-config.xml file. What I usually do is something like the following: and then you can use it like any other object with c:if or c:choose. Even though the form bean is already defi

Re: Login with authentication from database

2005-08-08 Thread Robert Taylor
If your using Tomcat 5.5.x, then this may help: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm /robert Laurie Harper wrote: I haven't used container managed security very much but I think the way you'd do that is to set up multiple security realms in Tomcat (one pe

Re: [OT] wrong list I know, but lazy, Tomcat 5.5 question

2005-08-03 Thread Robert Taylor
Rick, I'm sure you already have, but just in case you haven't... http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html It provides a pretty detailed explaination of how to configure cross-context logging using either log4j or java.util.logging package. BTW, Tomcat 5.5 uses Commons Logg

Re: Subclassing ActionForward

2005-05-17 Thread Robert Taylor
Look into using Filters. They are great for this kind of stuff. /rober Lee Harrington wrote: I want to check to see if the user is logged in before performing any action, and redirect to the login page if they are not. For example...they have a page open and their session times outand then they

Re: test session expired HELP!

2005-05-15 Thread Robert Taylor
Lucas, this is such a basic question. Have you done any research on this at all? Google ("Java session has expired" returned 139,000 hits.) perhaps? Maybe search the archives? This isn't even a Struts question. Not even specified as OT or Newbie. In the future: http://www.catb.org/~esr/faqs/sm

datePatternStrict for MM/dd/yyyy seems to allow 04/04/200w

2005-05-10 Thread Robert Taylor
Greetings, I'm using Struts 1.2.7 and trying to validate a date field using the datePatternStrict with a date format of MM/dd/. Everything seems to work as expected until I enter a date like 04/04/200w. It seems that the date validation routine thinks that this is a valid date...or atleast

RE: [OT] JSTL + Collection size

2005-04-29 Thread Robert Taylor
I am just using a c:for loop to count the collection, but this can't be the cleanest way. >From: Robert Taylor <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" >To: Struts Users Mailing List >Subject: Re: [OT] JSTL + Collection size >Date: Fri, 29 Apr

Re: [OT] JSTL + Collection size

2005-04-29 Thread Robert Taylor
Size: draegoon Z wrote: Just trying to find the ${my_collection.size} or ${my_collection.length}! Why is it not that simple? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---

Re: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope

2005-04-23 Thread Robert Taylor
John, does the action to which the url /admin/customer/edit.do correspond have a form associated with it? You might also try removing the ".do" from the url as struts should automatically add this for you. For example: /robert John Moore wrote: I know this is one of those err

Re: Obtaining size of java.util.Collection through Struts/JSTL

2005-04-05 Thread Robert Taylor
Make sure you include: <%@ taglib uri="http://java.sun.com/jsp/jstl/functions"; prefix="fn" %> /robert Greg Pelly wrote: What is the prefered way to obtain the size of elements that implement the Collection interface, such as a Vector? I would like something like: elements exist in this Vector!

Re: Multibox

2005-03-19 Thread Robert Taylor
The multibox is "bound" to the selectedModule property of your form. Prior to displaying the page, populate selectedModule property of the form with its corresponding row.id values. When is invoked on the page, it will "recongize" the relationship and render the checkboxes as checked. /robert

Re: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Robert Taylor
This solution has been discussed, but for now the expectation is real-time data. BTW, thanks for your input on this, but I don't want to hijack this thread for my own particular production issues. I wanted to propose that both ORM (Hibernate, JDO, iBatis) and straight JDBC can/should be used t

Re: AW: AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Robert Taylor
nberg wrote: And you can't move it to oodbms? Btw, there are JDO implementation for RDBMS (for example KODO JDO by Versant). Makes moving easier... leon -Ursprüngliche Nachricht- Von: Robert Taylor [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 13. März 2005 16:19 An: Struts Users Ma

Re: AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Robert Taylor
An existing production RDBMS implementation :) /robert Leon Rosenberg wrote: Leon, I have zero experience with OODBMS, so I can't comment on that. I guess my question was geared more towards RDBMS. It was an answer :-) Do you have any real requirements which forces you to use rdbms? leon --

Re: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Robert Taylor
Leon, I have zero experience with OODBMS, so I can't comment on that. I guess my question was geared more towards RDBMS. /robert Leon Rosenberg wrote: Question: For those applications which are both OLAP and OLTP, then why not use both types of solutions? For example, let's say I have a master-de

[OT] ORM vs JDBC [WAS- BRANCH: Typical Struts development team and distribution of tasks?]

2005-03-13 Thread Robert Taylor
I've been lurking on this thread for a while and had some observations and questions. Observations: It seems like for most OLAP applications; those applications where the majority of the requirements are real-time read operations (reporting, searching, number crunching, etc... where data cannot

Re: MVC Frameworks

2005-03-10 Thread Robert Taylor
Nicolas, Can you provide any metrics for the benchmarks when comparing Spring to AspectWorks? What exactly does "not good for Spring" mean? /robert Nicolas De Loof wrote: I get such a case recently : we are using Spring as IoC container. On some situation we use a simple AOP interceptor. Our cu

Re: Struts Approach

2005-02-26 Thread Robert Taylor
refactoring, I started using the strategy I just described and have found the applications have been more scalable and most of the changes tend to be isolated in the application service layer. /robert Erik Weber wrote: Robert Taylor wrote: Tim, I think things look pretty good so far. Rig

Re: Struts Approach

2005-02-26 Thread Robert Taylor
Tim, I think things look pretty good so far. Right now Customer is a domain object representing a customer. CustomerDAO is a DAO respsonible for mapping the Customer to its relational counterpart(s). CustomerService collaborates with CustomerDAO to manage the persistence and data access of a Cus

Re: Struts or SpringFramework

2005-02-18 Thread Robert Taylor
Kris, as others have already mentioned, you can use Struts and Spring together. Since you have four years of Struts you can leverage that knowlege in the presentation layer and use Spring for a light-weight container in the business/integration tier allowing it to provide services such as decla

Re: Interating through a Map [ which has DTO in the values ] using l ogic:iterate

2005-02-17 Thread Robert Taylor
It may be better to create a value object containing the Dept DTO and its respective collection of EmpDetails DTO. Then you don't have to "jump through hoops" when using Maps. /robert Sachin Bhutada wrote: hi, I have a HashMap which has Key and Value both as DTOs

Re: showing data

2005-02-16 Thread Robert Taylor
Have a look at DisplayTag http://sourceforge.net/projects/displaytag/ /robert Rafael Taboada wrote: Hi guys. I'm developing a web site using struts. I want to know if there is a tool that help me showing data, i mean, i have a database where there is a table user. I have a query with a set of recor

[testing] Please ignore

2005-02-04 Thread Robert Taylor
Testing. Please ignore. I'm having some problems posting messages from work. /robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DynaActionForm problem (newbie probably :)

2005-01-30 Thread Robert Taylor
If the Converters are valid across the entire application, you can register them using a ServletContextListener or a Struts Plugin. ServletContextListeners are only available for containers supporting the Servlet 2.3 spec or higher. /robert Robin Ericsson wrote: Robert Taylor wrote: The reason for

Re: DynaActionForm problem (newbie probably :)

2005-01-29 Thread Robert Taylor
The reason for the error is that the beanutils package cannot convert the date string into a Date object. You can either populate the form with the formatted date or register a Converter to handle the conversion appropriately. I haven't yet used Converter but this problem has been answer many tim

[Fwd: Re: ActionForm with ArrayList - Validation Problem]

2005-01-19 Thread Robert Taylor
is a very nice technology, but there is so much to know and to search... Great list! And nice people always willing to help. Thanks, BW. On 1/20/05 2:23 AM, "Robert Taylor" <[EMAIL PROTECTED]> wrote: >> This is a common and well documented idiom, but can be hard to >> fi

Re: ActionForm with ArrayList - Validation Problem

2005-01-19 Thread Robert Taylor
This is a common and well documented idiom, but can be hard to find in the archives ;) The problem is that to display the form with the select list, you have to prepare the select list before displaying the page. When the user submits the form and validation fails, Struts will forward to the input

Re: How to use logic:iterate with DynaValidatorForm

2004-12-24 Thread Robert Taylor
Struts has built in support for DynaBeans. ... /robert --- [EMAIL PROTECTED] wrote: > - struts-config.xml > > > type="org.apache.struts.validator.DynaValidatorForm"> >type="com.psca.M28000.bo.Account[]"/> > > > > > path="/EditBUOnLoadAction" scope="session"

Re: Struts tags / JSTL question

2004-12-23 Thread Robert Taylor
Vinicius Caldeira Carvalho wrote: Hi there! I have a collection of beans, and this collection is set to the request. I'd like to retreive only the first object of the collection (later on I'll iterate over it completely) How can I do this? My Collection is a List. I tried and also none of 'em

Nightly builds after 12/20 are empty

2004-12-23 Thread Robert Taylor
Apologies if this has already been discussed, but I just attempted getting the most current nightly build from here: http://svn.apache.org/builds/struts/nightly/struts-20041222.zip And its an empty file. Also I get an Internal Server Error when trying to get the current GA release from here: ht

RE: Cross web app communication

2004-12-12 Thread Robert Taylor
2, 2004 2:02 PM > To: Struts Users Mailing List > Subject: Re: Cross web app communication > > > Out of interest, Robert, would you mind expanding on this if you have > more detailed observations that you could offer? Thanks. > > Jack > > > > > On Sun, 1

RE: Cross web app communication

2004-12-12 Thread Robert Taylor
You cannot forward to another web application. You can, however, redirect. You set the redirect attribute of the forward tag to true. robert > -Original Message- > From: avinash_shirol [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 07, 2004 4:17 AM > To: [EMAIL PROTECTED] > Subject:

RE: org.apache.commons.digester.Digester (ERROR) - Parse Error

2004-12-10 Thread Robert Taylor
Looks like your tiles configuration file may be hosed or your DTD and configuration file are out of sync. robert > -Original Message- > From: David McReynolds [mailto:[EMAIL PROTECTED] > Sent: Friday, December 10, 2004 9:50 AM > To: Struts User List > Subject: org.apache.commons.digester.

RE: Multibox & DynaActionForm

2004-12-09 Thread Robert Taylor
You will need to set the "selectedCompanies" in the ActionForm so that the can determine which companies have been selected by comparing the company id against the selected company id. If "allCompanies" does not change per user, you may want to place that in the ServletContext on application sta

RE: ActionForm validate and redirect

2004-12-03 Thread Robert Taylor
I did this by subclassing the RequestProcessor and modifying processValidate(). I place a value in the request which indicates the current url and don't define an input attribute for the action mappings that need this dynamic input functionality. In processValidate() if mapping.getInput() == null

RE: MVC initialization

2004-11-30 Thread Robert Taylor
A standardized approach would be to implement a ServletContextListener and define it in your web.xml for the web app. It will be invoked before the web app accepts any requests and when the web app is shutdown. A more "Struts" approach would be to use a PlugIn and define it in your struts-confi

RE: How to retrieve parameters passed via GET method?

2004-11-28 Thread Robert Taylor
The accountId value is in the query string of the request and therefore must be retrieved like: String accountIdValue = request.getParameter("accountId"); robert > -Original Message- > From: Shih-gian Lee [mailto:[EMAIL PROTECTED] > Sent: Sunday, November 28, 2004 7:24 PM > To: Struts Us

RE: dynabean and jstl

2004-11-23 Thread Robert Taylor
JSTL is not "DynaBean-aware" but can work with Maps. However, you can use DynaForms because they implement a getMap() which you can then use with JSTL as such: robert > -Original Message- > From: Mario Nee [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 23, 2004 9:20 AM > To

RE: no web application configured

2004-11-19 Thread Robert Taylor
Need a little more information here... Is this a Struts question? Is this a general web application question? Is this a Tomcat question? Is this an application server question? robert > -Original Message- > From: Nishant [mailto:[EMAIL PROTECTED] > Sent: Friday, November 19, 2004 7:33 AM

RE: action to action with form

2004-11-19 Thread Robert Taylor
You shouldn't be calling an Action from an Action. Action chaining is not recommended and is considered poor practice. Action classes are an implementation of Command pattern and as such should delegate to reusable business components. I would refactor your business logic embedded in Action class

RE: Prepopulate a DynaForm

2004-11-17 Thread Robert Taylor
You need to use the form which is passed in from the execute() method signature. DynaForm dForm = (DynaForm) form; dForm.set("author", "test"); return mapping.findForward("success"); This assumes you are using the same form for your setup and processing action and you are forwarding to the page

RE: Use JSTL with html:multibox tag

2004-11-15 Thread Robert Taylor
Yep. Scratch the indexed properties comment. On each iteration, Struts will iterate over the selectedServices comparing the selectedServices value to the service.status value. If it finds a match, then it will render the checkbox as checked. So, the fact that the data structures are not the same si

RE: Use JSTL with html:multibox tag

2004-11-15 Thread Robert Taylor
Andy, try this: > If the selectedServices is an array of Strings in your form, and service.status == selectedServices[n], then the the checkbox should be checked or atleast the tag should render the appropriate HTML such that the checkbox should be checked. I believe the

RE: talking about paradigms

2004-11-15 Thread Robert Taylor
+1. I have to agree with Daniel. JSTL has allowed me to move a lot of view formatting code outside of my page prep tasks. In J2EE, .jsp pages are ViewComponents and custom tags are ViewHelpers. I think that JSTL gives you enought rope to hang yourself with as well, especially with the . But I

RE: Logic tag to JSTL

2004-11-10 Thread Robert Taylor
> -Original Message- > From: TroyGeek [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 10, 2004 4:25 PM > To: Struts Users Mailing List > Subject: Logic tag to JSTL > > > How would I turn the following logic tag into a JSTL tag. Would it use > the core tags? > > > >

RE: Can't find property -- but it's there

2004-11-10 Thread Robert Taylor
Yes, but it may be possible that the ClassLoader (for whatever reason) has a cached version of the older class and it is not loading the new class when the web app reloads. Have you tried rebooting the application server on the development machine? If the problem still occurs on the dev. box after

RE: Can't find property -- but it's there

2004-11-10 Thread Robert Taylor
Just a guess Tim, but is it possible that the ClassLoader used on the development server and the ClassLoader used locally are loading different versions of SeasAdjData? Was the getSeasAdjs() added to SeasAdjData recently? robert > -Original Message- > From: Slattery, Tim - BLS [mailto:[EM

RE: VO usage

2004-11-09 Thread Robert Taylor
Yes. Wendy is absolutely correct. Although the I described will work technically, you will run into issues as Wendy already mentioned. Sorry, I will think more indepth before responding next time. robert > -Original Message- > From: Robert Taylor [mailto:[EMAIL PROTECTED]

RE: VO usage

2004-11-09 Thread Robert Taylor
Patrick, you could use DynaActionForms and just have your VO as a property. You could unit test your VO's and the ActionForm is just a wrapper. DynaActionForms can be defined in your struts-config.xml file thus reducing the number of physical objects you have to maintain. For updates, you will n

RE: JSTL and collections

2004-11-09 Thread Robert Taylor
I'm not sure if this will work, but you can try. Not sure about this one: robert > -Original Message- > From: andy wix [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 09, 2004 7:38 AM > To: [EMAIL PROTECTED] > Subject: JSTL and collections > > > Hi, >

RE: What is a good Struts application?

2004-11-07 Thread Robert Taylor
I would take some time and do a little research on the MVC architecture and web applications. You want to avoid business logic in your view (.jsp) and leverage other J2EE components for authentication and authorization. So, for the example below, you may want to investigate the the use of contain

FW: Struts html:checkbox

2004-11-05 Thread Robert Taylor
-Original Message- From: Jean-Philippe Couture [mailto:[EMAIL PROTECTED] Sent: Friday, November 05, 2004 2:25 PM To: Robert Taylor Subject: Re: Struts html:checkbox Hi Robert, Thanks a bunch for the helpful tip. I used a ((DynaActionForm)form).set("propName",String.valueOf

RE: Struts html:checkbox

2004-11-05 Thread Robert Taylor
Set the corresponding form property to true prior to loading the page. If the actual form property value equals the ${boolValue}, then the checkbox should render as checked. That is, it should produce the appropriate HTML which should render the checkbox as checked. robert > -Original Messa

RE: Multibox problem

2004-11-03 Thread Robert Taylor
How many items are in the "func" data structure in request scope? This is what drives the number of iterations. robert > -Original Message- > From: Roland Carlsson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 03, 2004 5:02 AM > To: Struts Users Mailing List > Subject: Multibox pr

RE: JSF or Struts w/ JSF (again)

2004-11-02 Thread Robert Taylor
Howard, take a look at McClannahan's blog entry here: http://blogs.sun.com/roller/comments/craigmcc/Weblog/struts_or_jsf_struts_and You also might be interested in this article: http://svn.apache.org/viewcvs.cgi/*checkout*/struts/trunk/contrib/struts-shale/README.html He hints at the future of

RE: Struts and Displaying data from a database

2004-11-02 Thread Robert Taylor
Have the business logic (where ever it may reside) return a collection of JavaBean. You can simply place the collection in some scope (request, session, etc..) and render it on the JSP page using JSTL (for-each) or Struts iterate tag. You basically define an action mapping which will be invoked b

RE: [OT] SQL in XML file

2004-10-27 Thread Robert Taylor
Look at iBatis. robert > -Original Message- > From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 27, 2004 1:02 PM > To: [EMAIL PROTECTED] > Subject: [OT] SQL in XML file > > > Hi > Is there any code out there or any one worked on a > framework, where we can defin

RE: Blank Line Filter

2004-10-26 Thread Robert Taylor
E: Blank Line Filter > > > I just plugged in the Gzip compression shown below and for some strange > reason it prompts me to download the file for my filter of *.do. Probably > content-type isn't set right or something I suspect. > > Chris > > -Original Message---

RE: Blank Line Filter

2004-10-26 Thread Robert Taylor
s a tiles insert tag: > > > I end up seeing the content of viewreport-body.jsp and seekHeader.jsp; > however I Never see the inserted /pages/mainmenu-body.jsp nor the > seekFooter.jsp when I apply a filter to the output. Any ideas why? > > -Original Message- > F

RE: Blank Line Filter

2004-10-26 Thread Robert Taylor
I think your looking for a data compression filter. http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html?page=1 robert > -Original Message- > From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 26, 2004 12:26 PM > To: '[EMAIL PROTECTED]' > Subject: Blank Line

RE: [OT] Shale

2004-10-25 Thread Robert Taylor
+1. Excellent read. It certainly gives one insight into the future web application development. robert > -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Monday, October 25, 2004 1:09 AM > To: Struts Users Mailing List > Subject: [OT] Shale > > > For tho

RE: Format Date Question

2004-10-01 Thread Robert Taylor
lity... How can I verify that? > > Thanks > Chris > > -Original Message- > From: Robert Taylor [mailto:[EMAIL PROTECTED] > Sent: Friday, October 01, 2004 3:16 PM > To: Struts Users Mailing List > Subject: RE: Format Date Question > > > In JSP2.0 you could

RE: Format Date Question

2004-10-01 Thread Robert Taylor
In JSP2.0 you could use JSTL fn:toUpperCase() after you format the date. robert > -Original Message- > From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] > Sent: Friday, October 01, 2004 2:50 PM > To: '[EMAIL PROTECTED]' > Subject: Format Date Question > > > I am using the fmt:formateDat

RE: Scheduling Actions

2004-10-01 Thread Robert Taylor
Factor the business logic out of your Actions into some generic business classes and run a separate process to handle this type of automation. There is no need to have it coupled to your web application. Look into Quarts, Timer/TimerTask, etc... robert > -Original Message- > From: Ciar

RE: Reusing methods across actions classes

2004-09-30 Thread Robert Taylor
In Struts, you may want or have the need to use more than one "type" of Action to process your requests. If you are sure you will only use one Action throughout the lifecycle of your application, then yes, place common operations in a base class. If you are not sure and your application leverage

[OT] Returned Receipts

2004-09-22 Thread Robert Taylor
I would like to respectfully request that those of you have returned receipts enabled in your emails to this mailing list, please disable them. I know they have a legitimate purpose in some cases, but for those searching the archives on a thread subject and getting a bunch of returned receipt not

RE: converters

2004-09-21 Thread Robert Taylor
Struts uses BeanUtils under the covers to facilitate copying and converting simple data. (String ==> int, String ==> long, etc...). robert > -Original Message- > From: Jesse Vitrone [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 21, 2004 3:53 PM > To: [EMAIL PROTECTED] > Subject:

RE: Checking a cookie or redirecting - best way?

2004-09-21 Thread Robert Taylor
Why not use a Filter? The logic goes in one place and you can map the Filter to all requests. robert > -Original Message- > From: Dave Johnson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 21, 2004 8:42 AM > To: Struts Users Mailing List > Subject: Checking a cookie or redirecting

RE: html:select in Struts

2004-09-19 Thread Robert Taylor
[EMAIL PROTECTED] > Sent: Sunday, September 19, 2004 7:53 AM > To: [EMAIL PROTECTED] > Subject: RE: html:select in Struts > > > Hi Robert, > > This is the HTML code I have written in my JSP page for including the > two DropDowns. > > Thanks, > Priya. > >

RE: html:select in Struts

2004-09-19 Thread Robert Taylor
Is this the actual HTML generated by the .jsp page? robert > -Original Message- > From: Priya Jotwani [mailto:[EMAIL PROTECTED] > Sent: Sunday, September 19, 2004 7:44 AM > To: Struts Users Mailing List > Subject: html:select in Struts > > > Hi Guys, > > > > I have a JSP Page with t

RE: Idea for chain and DB transactions

2004-09-17 Thread Robert Taylor
Sean, have you looked at Spring? It uses AOP and you can set up transactions declaratively. I'm just starting to investigate using Spring and I'm really impressed. Like you I had a requirement to demarcate transactions at a high level so that all business objects within the transaction were subj

  1   2   3   >