basic struts application

2010-03-09 Thread tesla
from a few days i'm working on struts and i'm trying to develop an simple web application. i cant see the elements of my array(bookList) on jsp page when i run my program it returns me an empty page where am i wrong please help me i'm losing my mind for two days. Book class public class Book {

Re: Struts + Spring 3

2010-03-09 Thread Frans Thamura
you can use david's perfect example github.com/dlwhitehurst/appfuse-rest -- Frans Thamura Meruvian. Experiential Tempation of Java and Enterprise OpenSource Meruvian jTechnopreneur Program (S1) telah hadir, Dapatkan benefit bagi SMK yang melakukan mapping SKKD, dg program beasiswa dari Gunadar

Validate Dates - Other Locales

2010-03-09 Thread CRANFORD, CHRIS
When I am logged in as a European user with de_DE as my locale, dates should be submitted in forms as dd.MM. however, my Struts2 action returns me to the INPUT jsp page and does not perform the "search" action that it is suppose to. >From what I have read, does Struts2 standard date validation

Re: About the better way to implement a JSP in read/edit mode

2010-03-09 Thread Angelo zerr
Hi Frederick, I had created a project about this problem with http://formview.sourceforge.net/ With FormView, you develop ONE Jsp to manage CRUD form. It's old project but it works well (I have not time today to improve it). Regards Angelo 2010/3/9 Paweł Wielgus > Hi Frederick, > You can also

Re: About the better way to implement a JSP in read/edit mode

2010-03-09 Thread Paweł Wielgus
Hi Frederick, You can also add readonly or disabled property to textfields. But i don't think that there is a simple answear to your question about if it is good or bad. Best greetings, Paweł Wielgus. 2010/3/9 Frederik Minatchy : > Hello everybody... > > > I wonder about the better way to implem

About the better way to implement a JSP in read/edit mode

2010-03-09 Thread Frederik Minatchy
Hello everybody... I wonder about the better way to implement a JSP which shows the same informations in readonly mode and in creation/modification mode. So I have just designed the JSP' fields with s:textfield who can be dynamically shown in readonly mode with special css (background:transpar

Struts + Spring 3

2010-03-09 Thread Lance Hill
I am currently working on a project that uses maven, struts 2, spring, and spring security and ran into a big headache when trying to use spring security 3. Does anyone have an example of a working application that uses Spring 3 together with Struts 2? The reason I ask is that I was using the s

RE: Currency Formatting

2010-03-09 Thread CRANFORD, CHRIS
I needed to specify my encoding in a filter inside web.xml. Once I did that, it resolved the issue. Thanks Chris > -Original Message- > From: Chris Pratt [mailto:thechrispr...@gmail.com] > Sent: Tuesday, March 09, 2010 10:23 AM > To: Struts Users Mailing List > Subject: Re: Currency For

RE: Currency Formatting

2010-03-09 Thread CRANFORD, CHRIS
My CSS was using: font-family: Verdana, Arial, Helvetica, sans-serif; I updated this to the following and rechecked it, same result: font-family: Arial, sans-serif; So I'm really confused at this point. Someone mentioned encoding before, but the pages are UTF-8, fonts appear not to be the is

Re: Currency Formatting

2010-03-09 Thread Chris Pratt
If I had to make a guess, I'd say the font you're using doesn't support the Euro symbol. But, that's just a guess. (*Chris*) On Tuesday, March 9, 2010, CRANFORD, CHRIS wrote: > > I had defined in my applicationMessages.properties a currency string > format as follows: > > format.currency={0,nu

Re: StrutsSpringTestCase - Memory Leak

2010-03-09 Thread carl ballantyne
Done - https://issues.apache.org/jira/browse/WW-3402. Quoting Lukasz Lenart : Could you register a new issue with patch attached? https://issues.apache.org/jira/browse/WW *Advertencia legal: en virtud de lo establecido en la Ley Organica 15/1999 de Proteccion de Datos de Caracter Person

S2-Spring-Hibernate training class @ Gunadarma University

2010-03-09 Thread Frans Thamura
hi all this is our program here, in Indonesia, we teach assitant lab of computer science, system information to learn S2, Spring, hibernate http://www.facebook.com/album.php?aid=54050&id=1390157296&page=2 and this http://www.facebook.com/album.php?aid=192190&id=675689084&l=04ff7af601 the good

RE: StrutsSpringTestCase - Memory Leak

2010-03-09 Thread Martin Gainty
can you update the StrutsSpringTestCase in the repository? Many Thanks for this important discovery and the solution! Saludos Cordiales desde EEUU Martin __ Porfavor no modifica o interrupta esa communicacion/Please do not modify or interrupt this co

Re: struts 2 - framework question

2010-03-09 Thread Cimballi
Something like that : Declare the interceptor unless you use default Struts stacks Declare the static param : value And in the action you need a setFoo(String) Cimballi On Mon, Mar 8, 2010 at 10:40 PM, john lee wrote: > Cimballi, > > tks for your help, but i do not  quite understand about '

StrutsSpringTestCase - Memory Leak

2010-03-09 Thread carl ballantyne
Hi All, I ran into an issue with the StrutsSpringTestCase class when doing my unit tests. Basically the memory kept climbing until it crashed the machine. This class is actually loading the applicationContext for every test case that extends it. And because the applicationContext is stati

Re: StrutsSpringTestCase - Memory Leak

2010-03-09 Thread Lukasz Lenart
2010/3/9 carl ballantyne : > Hi All, > > I ran into an issue with the StrutsSpringTestCase class when doing my unit > tests. Basically the memory kept climbing until it crashed the machine. > > This class is actually loading the applicationContext for every test case > that extends it. And because

Currency Formatting

2010-03-09 Thread CRANFORD, CHRIS
I had defined in my applicationMessages.properties a currency string format as follows: format.currency={0,number,currency} When I view things in our default locale (English), this displays our currency values like "53.68"; however when I view them in German I see "53,68 ?". Why does it show th

Re: StrutsSpringTestCase - Memory Leak

2010-03-09 Thread Lukasz Lenart
2010/3/9 carl ballantyne : > Done - https://issues.apache.org/jira/browse/WW-3402. And done from my side ;-) Best regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-ma