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

2011-05-26 Thread Robert Taylor
, 2011 at 4:50 PM, Robert Taylor rtay...@dtgresults.comwrote: 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: [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 d...@newfield.org To: Struts Users

Re: [OT] Re: Job postings

2011-05-26 Thread Robert Taylor
@struts.apache.org Sent: 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 rtay...@dtgresults.com Hi Dale, We

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: c:set var=contextPath value=${pageContext.request.contextPath}/ And then use contextPath variable however you wish. I'm not sure how this would

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: script type=text/javascript src=c:url value=/javascript/jquery/jquery-1.4.2.min.js//script /robert - Original Message - From: Li Ying liying.cn.2...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent:

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

Re: additional onsubmit javascript validation

2010-09-23 Thread Robert Taylor
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 rtay...@dtgresults.comwrote

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 d...@newfield.org To: Struts Users Mailing List user@struts.apache.org Cc: Robert Taylor rtay

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

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.

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 s:head / will output script ..src=/webapp/struts/utils.js/script even when s:form theme=xhtml/ 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

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 redirect;

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 abhishek.netj...@gmail.com To: Struts Users Mailing List

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
- From: Burton Rhodes burtonrho...@gmail.com To: Struts Users Mailing List user@struts.apache.org; Robert Taylor rtay...@dtgresults.com 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

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

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 rtay...@dtgresults.com To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, April 21, 2010 8:44 AM Subject: Struts2 annotations and superclass

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

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 =

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 cannot. I

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

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

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 app.

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. action path=/myAction forward=main.tile / /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

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. action path=/myAction forward=main.tile / /robert lchalupa wrote: I'm trying to use

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: c:set var=form value=${myform}/ and then you can use it like any other object with c:if or c:choose. c:choose c:when

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

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

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

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:

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
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 user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: Re: [OT] JSTL + Collection size Date: Fri, 29 Apr 2005 07:30:49

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: html:form action=/admin/customer/edit div id=editPage tiles:insert

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 % c:out value=${fn:length(myVector)}/ /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:

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 html:multibox .../ is invoked on the page, it will recongize the relationship and render the checkboxes as

[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

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

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: AW: AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)

2005-03-13 Thread Robert Taylor
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 Mailing List

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

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

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

Re: Struts Approach

2005-02-26 Thread Robert Taylor
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. Right now Customer is a domain object representing a customer. CustomerDAO is a DAO

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

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. logic:iterate id=element name=formName property=depts br / bean:write name=element property=dept.deptNo/ bean:write

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

[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

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

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

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

2005-01-19 Thread Robert Taylor
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 find in the archives ;) The problem

Re: How to use logic:iterate with DynaValidatorForm

2004-12-24 Thread Robert Taylor
Struts has built in support for DynaBeans. logic:iterate id=account name=editBUForm property=account ... /logic:iterate /robert --- [EMAIL PROTECTED] wrote: - struts-config.xml form-beans form-bean name=editBUForm type=org.apache.struts.validator.DynaValidatorForm

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:

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 c:set var=bean

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: Cross web app communication

2004-12-12 Thread Robert Taylor
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, 12 Dec 2004 09:45:13 -0500, Robert Taylor [EMAIL PROTECTED] wrote

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:

RE: Multibox DynaActionForm

2004-12-09 Thread Robert Taylor
You will need to set the selectedCompanies in the ActionForm so that the html:multibox .../ 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

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() ==

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

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 Users

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: c:out value=${myDynaForm.map.property}/ robert -Original Message- From: Mario Nee [mailto:[EMAIL PROTECTED] Sent:

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

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

RE: Use JSTL with html:multibox tag

2004-11-15 Thread Robert Taylor
Andy, try this: c:forEach var=service items=${services} varStatus=status TR TDc:out value=${service.name}//TD TDhtml:multibox property=selectedServices[${status.index}]c:out value=${service.status}//html:multibox/TD /TR /c:forEach If the selectedServices is an array of Strings

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

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

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

RE: JSTL and collections

2004-11-09 Thread Robert Taylor
I'm not sure if this will work, but you can try. c:forEach var=wrap items=${Contacts} c:forEach var=person items=${wrap.id} scope=session c:out value=${person.name}/ /c:forEach /c:forEach Not sure about this one: c:forEach var=wrap items=${Contacts} c:forEach var=person

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

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] Sent: Tuesday

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

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

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

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

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: Blank Line Filter

2004-10-26 Thread Robert Taylor
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- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26

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 those of

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:

RE: Format Date Question

2004-10-01 Thread Robert Taylor
In JSP2.0 you could use JSTL fn:toUpperCase() after you format the date. c:set var=upperDate value=${fn:toUpperCase(formattedDate}/ robert -Original Message- From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 2:50 PM To: '[EMAIL PROTECTED]' Subject:

RE: Format Date Question

2004-10-01 Thread Robert Taylor
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 use JSTL fn:toUpperCase() after you format the date

[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

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: I'm going back to just using regular Actions.. a question

2004-09-17 Thread Robert Taylor
Rick, I have been using the following package layout for a while and it seems to make sense. For example, let's say the foo web application consists of various sub applications like account, store, product download, etc com.acme.applications.web.foo.account.action

RE: I'm going back to just using regular Actions.. a question

2004-09-17 Thread Robert Taylor
:05 PM To: Struts Users Mailing List Subject: Re: I'm going back to just using regular Actions.. a question Robert Taylor wrote the following on 9/17/2004 2:58 PM: com.acme.applications.web.foo.account.action com.acme.applications.web.foo.account.service Yea that was my option 2 I

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

RE: Validator with DispatchAction...help!...newbie

2004-09-14 Thread Robert Taylor
ValidatorForm, ValidatorActionForm, DynaValidatorForm, and DynaValidatorActionForm allow you to leverage the validation framework in Struts. How you use DispatchAction determines what you need to do to make it work with the validation framework. For example there are two basic approaches: 1.

RE: Moving from environment to environment

2004-09-10 Thread Robert Taylor
Dave, I have 3 environments: Development, Staging, and Production. I use Ant and have different deployment targets. Each target replaces tokens with the values which correspond to its deployment environment. Ant makes this pretty easy to do.

RE: [OT]: Best book J2EE Design patterns

2004-09-09 Thread Robert Taylor
+1. Both Johnson books are top notch. I highly recommend them to any J2EE developer. robert -Original Message- From: Nail, Evan Burke [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 7:57 AM To: Struts Users Mailing List Subject: RE: [OT]: Best book J2EE Design patterns

RE: [ANN] Bridgetown IoC Framework

2004-09-08 Thread Robert Taylor
Peter, this sounds interesting, but what would Bridgetown offer over a more mature IoC container like Spring? robert -Original Message- From: Pilgrim, Peter [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 3:52 AM To: Struts User Apache (E-mail) Subject: FW: [ANN]

RE: Proper place for validation

2004-09-07 Thread Robert Taylor
I would avoid putting any business logic in the action class. Place this type of logic in the business class as it most likely is validation that is valid across all application logic and not for just one use case. robert -Original Message- From: Janne Mattila [mailto:[EMAIL

RE: Height and width missing from html:image

2004-09-02 Thread Robert Taylor
If you are using it to render an img .../ then use html:img .../ which should have the appropriate attributes. The html:image .../ is for rendering input type=image .../ which does not have the height and width attributes. robert -Original Message- From: Janne Mattila [mailto:[EMAIL

RE: SecurityFilter Question?

2004-08-31 Thread Robert Taylor
I haven't been following this thread too closely but I know its been some what long so if this solution has already been proposed, I apologize in advance. We use SecurityFilter and an additional filter which checks for the Principal in the request. If the Principal exists, then we can be assured

  1   2   >