Re: spring MVC equivalent of Tiles?

2006-06-04 Thread Frans Thamura @ Meruvian
Ted Husted wrote: Another great page assembly technology is SiteMesh, which works well with anything. * http://opensymphony.com/sitemesh/ i use sitemesh, this is cool page layout that use Java Filter as the filter mechanism ---

inside ....

2006-06-04 Thread Li
Hi guys, I have a scenario here, I have an application bean called 'AppBean' in my webapp, which contains two properties 'List1' and 'List2' whose type is ArrayList. Now in a jsp page, I have a form, which will display items in 'List1', and bundle a set of controls to 'List2' to accept user's in

Re: Controlling Reset method

2006-06-04 Thread chamal desilva
Hi Scott, Thanks a lot for your reply. It was very useful. Thanking You, Chamal. --- Scott Van Wart <[EMAIL PROTECTED]> wrote: > chamal desilva wrote: > > Dear Scott , > > > > Thanks for your reply. > > > > "If you're viewing the second account, why would > you > > need data for the > > first

Re: Controlling Reset method

2006-06-04 Thread Scott Van Wart
chamal desilva wrote: Dear Scott , Thanks for your reply. "If you're viewing the second account, why would you need data for the first account? If it's a problem of losing the customer ID for the " I need the first account data because it is in the Vector of Customer bean. So the first i

Re: Controlling Reset method

2006-06-04 Thread chamal desilva
Dear Scott , Thanks for your reply. "If you're viewing the second account, why would you need data for the first account? If it's a problem of losing the customer ID for the " I need the first account data because it is in the Vector of Customer bean. So the first item(Account) of vector wil

Re: spring MVC equivalent of Tiles?

2006-06-04 Thread Ted Husted
Another great page assembly technology is SiteMesh, which works well with anything. * http://opensymphony.com/sitemesh/ -- HTH, Ted. On 6/4/06, Adam Hardy <[EMAIL PROTECTED]> wrote: I shall use Tiles then, if necessary. I shall also use Validator for the validation. I was surprised when I fou

Re: Strange problem:Validator can NOT validate Integer ?!

2006-06-04 Thread Laurie Harper
M.Liang Liu wrote: Yup. That's OK. I just wondering why the validation is omitted if I define the field as Integer or int. Perhaps because an integer-typed field can only hold an integer value, so the 'integer' validation rule is always going to pass. L. Defining all the fields as String

Re: reset button deos not work with struts validator

2006-06-04 Thread Laurie Harper
Victor.T. Ying wrote: Hi, I meet a problem using structs validator and reset button The problem occurs when the validator find a validation error, then reset button can not clear the input field but retain the error values. BTW the respective form is in the session and I am using html:reset tag

Re: spring MVC equivalent of Tiles?

2006-06-04 Thread Adam Hardy
I shall use Tiles then, if necessary. I shall also use Validator for the validation. I was surprised when I found out how many of the Spring MVC classes also have names based on xxxAction. It seems the similarities between the 2 frameworks are as great as the differences. Well, perhaps I'm exaggera

Re: [Struts + Tiles] JSTL problem on WebSphere Application Server 6

2006-06-04 Thread Rafael
>Could you please elaborate on what doesn't work? I described it in my previous e-mail to Adam, I'm also included some examples. >Do you see specific error messages? No, I don't. If I include -> Say: it just appears "Say:" I followed your ".jspf" suffix suggestion, but it doesn't work.

Re: [Struts + Tiles] JSTL problem on WebSphere Application Server 6

2006-06-04 Thread Rafael
I'm using JSTL version 1.0, but 1.1 doesn't work too. No, I haven't. Can you explain "JSTL stopped working" a little more extensively? sure, will try to give examples... I've a JSP page called index.jsp in this index page I included another jsp page called taglib.jsp in this taglib.jsp I've on

How to terminate the uploading process of Struts?

2006-06-04 Thread Truong Xuan Tinh
Hi experts, Can we terminate the uploading process of Struts when the uploaded data size is exceeded the max file size configured in the controller of Struts. It seems that Struts upload the file completely and then check it file size against the maxFileSize. Thank you very much for your reply.

RE: [Struts + Tiles] JSTL problem on WebSphere Application Server 6

2006-06-04 Thread Karr, David
> -Original Message- > From: Rafael [mailto:[EMAIL PROTECTED] > > actually WAS6 comes with JSTL libraries, so the jars with > TLDs are located inside WAS6 lib directory. > If I include the taglib directive (<%@ taglib > uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>) all > jstl

RE: spring MVC equivalent of Tiles?

2006-06-04 Thread David Friedman
Why don't you just use tiles with Spring? http://static.springframework.org/docs/reference/view.html#view-tiles You may just have to change a few class names from org.apache.struts.tiles to whatever new class names the Stand-alone tiles uses. I'm sure the spring specific tiles classes like org.spr

Re: Java class package organization

2006-06-04 Thread Martin Gainty
Bonjour Scott- I guess this follows the architectural specifications document published by your company's Architect.. In my current development environment I follow leon's first line where layer would be either be +1 Martin -- This email message and any files transmitted with it contain confi

Re: Validation 'depends' attribute order, and 'validwhen'

2006-06-04 Thread Martin Gainty
Scott- Isnt that an HTTP convention for return values from action..more specifically.. return false which indicates stop processing return true which indicates processing completed succcessfully ??? Merci, Martin This email message and any files transmitted with it contain confidential infor

Re: [Shale - Clay] nested properties in @managed-bean-name can't work

2006-06-04 Thread Gary VanMatre
>From: phyopiyo <[EMAIL PROTECTED]> > > > Hi > > I just found out why this is happening. If you have nested objects under > your managed bean, and if it is a class defined by you, you must provide > the getter method of that object to return a new instance when the object is > null. > > I

Re: Validation 'depends' attribute order, and 'validwhen'

2006-06-04 Thread Jakub Milkiewicz
Hi. Exactly boy :). 2006/6/4, Scott Van Wart <[EMAIL PROTECTED]>: Jakub Milkiewicz wrote: > If you are thinking of creating custom validator remember that even if > your > custom validator fails it doesn't mean that your form is invalid! You > must > remember to add ActionError/ActionMessage t

spring MVC equivalent of Tiles?

2006-06-04 Thread Adam Hardy
Just reviewed the Spring MVC website and I couldn't really get a good grasp of their templating strategy for JSPs, if they actually have one that's more than just taglibs. Has anyone experience in this area? Adam - To unsubscr

user@struts.apache.org

2006-06-04 Thread Leon Rosenberg
On 6/4/06, M.Liang Liu <[EMAIL PROTECTED]> wrote: I just want to carry parameters to action :login.do I will make use of the url .../login.do?action=add&id=123 in the other page as a link. And I want to get those parameters using: request.getAttribute("action"); request.getAttribute("id");

Re: Java class package organization

2006-06-04 Thread Leon Rosenberg
.: ...mail.presentation.action, ...mail.presentation.bean, ...mail.presentation.jsp, ...mail.business, ...mail.business.data, ...mail.persistence, ...mail.persistence.jdbc and so on... regards Leon On 6/4/06, Scott Van Wart <[EMAIL PROTECTED]> wrote: How do you folks organize your package l