Re: Struts 2 and Validation Testing

2007-07-16 Thread daniel H.
Thanks. I did get the same error with Struts 2.0.6 and Junit 4.0. After adding the statement of ObjectFactory in setUpBeforeClass, it works. Daniel H. Ben Morgan wrote: k hall wrote: I really like Struts 2 but has anyone had any success in testing Struts 2's action validation logic

RE: Need Database Connectivity Advice

2005-04-11 Thread Daniel H. F. e Silva
Hi I think now i'll have to go into this thread :) I recommend looking at list's archive. We already had this discussion at least 2 or 3 times before. But, if you are a lazy bastard like me, i'll point a summary of our past discussions adding my opinion: Hibernate: - Good: active

Re: [OT] Content Management Systems

2005-02-11 Thread Daniel H. F. e Silva
Hi, I would recommend another one: InfoGlue. Never used it, but seems quite cool. I think it worths to take a look on it. Cheers, Daniel Silva. --- PA [EMAIL PROTECTED] wrote: On Feb 11, 2005, at 18:23, Josh Holtzman wrote: It wouldn't surprise me if there are at least a few

RE: DisplayTag

2005-01-26 Thread Daniel H. F. e Silva
: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 25, 2005 11:20 AM To: Struts Users Mailing List Subject: Re: DisplayTag Hi Flavio, If you are using Tomcat 5 or any other JSTL-enabled container you don't need displaytag. Just use JSTL tags like fmt:formatNumber

Re: DisplayTag

2005-01-25 Thread Daniel H. F. e Silva
Hi Flávio, If you are using Tomcat 5 or any other JSTL-enabled container you don't need displaytag. Just use JSTL tags like fmt:formatNumber/ and fmt:formatDate/. And yes, you can alter locale being used. Look for details on JSTL documentation. It is easier imho to use and, well, it is

Re: Displaying exceptions from declarative exception handling

2004-12-29 Thread Daniel H. F. e Silva
Hey Brandon, That's a weird report. I never had problems doing so with Struts 1.1. What i do is: 1) In my exception jsp page, i use html:errors/ tag. 2) Add an entry to the resource bundle (application.properties) 3) Add the declarative exception handling in my action mapping, like

Re: Form submission and javascript

2004-12-13 Thread Daniel H A Lima
Hi Ryan. Have you tried Javascript:toChildWindow('ProcessMainAction.do','doDataProcess', document.forms[0], 'myChildWindow',200, 400) instead of Javascript:toChildWindow('ProcessMainAction.do','doDataProcess', 'this.form', 'myChildWindow',200, 400) ? I think that the property form is only

Re: Struts + OJB

2004-11-24 Thread Daniel H. F. e Silva
Hi Bikram, Maybe you should post your problem in ojb list. It is clear to me that it is an OJB issue. Regards, Daniel Silva. --- Bikram B Kapoor [EMAIL PROTECTED] wrote: Hi All, I am not a newbie in struts, i am trying to implement OJB with struts. I picked up reference from

Re: How work to DynaValidatorForm and java.sql.Date

2004-10-08 Thread Daniel H. F. e Silva
Hi Gabriel, As many of struts people here i think that the less error prone approach is using only String properties in your custom ActionForm classes. So, it will be quite easy to handle invalid data and whatelse you need to. After validating your form (calling your validate() method from

Re: Validator

2004-09-30 Thread Daniel H. F. e Silva
Hi Gabriel, When posting to the struts-users list, please, don't use any language other than english. It is unpolite as just a few dudes here understand portuguese. If you and all other Struts dudes (hey, i'm brazilian too) need help with Struts, join the funkiest irc channel ever:

Re: R: Struts and PL/SQL

2004-06-25 Thread Daniel H. F. e Silva
Hi, You are talking about dynamic SQL in stored procedures. But there is a nice option that provides you dynamic SQL alike features: iBATIS SQL MAPS. When you declare your statements inside map config file, you can use a set of tags to build your statement according to parameters you pass to

Re: Struts and PL/SQL

2004-06-24 Thread Daniel H. F. e Silva
Lucas, Are you talking about PL/SQL stored procedures? Considering that, i recommend setting a DAO layer up. And i do recommend using iBATIS DAO and SQL Maps for that. Resources about iBATIS can be found at www.ibatis.com and www.reumann.net (Struttin' with Struts). Cheers, Daniel Silva. ---

RE: [OT] Soccer portal released goal.com / Friday

2004-06-18 Thread Daniel H. F. e Silva
, Maybe it's coz in Europe Brazil doesn't rock :-) (remember France 98?) But, I guess that site covers some European Ronaldo (Cristiano, from Portugal :-) Have a good Friday marco -Original Message- From: Daniel H. F. e Silva [mailto:[EMAIL PROTECTED] Sent: 17

Re: Submit with a link

2004-05-05 Thread Daniel H A Lima
Cacau, you must use a javascript function to submit your form. You can render a link like : a href=# onclick=javascript:forms[0].submit();return true/ or using html:link --- cacau_braga [EMAIL PROTECTED] escreveu: thanks... but my problem is with the atributtes of form, like codUf,

Re: No getter method for property p of bean b - getP is public in b's super class

2004-04-22 Thread Daniel H A Lima
Assure the type of the object inside the searched contexts. Don't you have differents attributes (with distincts classes) in each context: A bean in page scope, a different one in request scope, another in session scope, and so on ? Try to use scope attribute when using bean:write... --- [EMAIL

Re: Problem with Data Source Definition

2004-04-20 Thread Daniel H A Lima
--- Johannes Wolfgang Woger [EMAIL PROTECTED] escreveu: Daniel Henrique Alves Lima wrote: I've a problem with dbcp but it was different: I was declaring my ds in a tomcat config file but the .jar file (which contains the jdbc driver) was available only for my application (in