RE: Tiles:insert role(s)?

2004-11-16 Thread salgado.pc
You can also define a controllerClass for your tiles definition and insert the tiles properties according to the user roles. If you need I can send you an example (tomorrow). Pedro Salgado > Hi Dave, > You can use the logic present to show what you want for a particular > role. You ca

commons-lang 1_0_1 and 2_0

2004-08-17 Thread salgado.pc
Hi, I am trying to use a Struts1.1 and OJB1.1RC7 application but I am facing with the problem that commons-lang1_0_1 doesn't have some classes that OJB uses (like java.lang.NoClassDefFoundError: org/apache/commons/lang/BooleanUtils). If I switch from one version of commons-lang to another o

Re: EJB + Struts + Hibernate

2004-06-28 Thread salgado.pc
On 04/06/28 8:55, "Mark Lowe" <[EMAIL PROTECTED]> wrote: > The only thing thats stopped me using ibatis is that there's no > xdoclet template thus the need to edit and maintain a bunch of mapping > files, "YAWN". > iBatis has the DAO framework so you could switch from persistence layer with rel

Re: generators for struts

2004-06-24 Thread salgado.pc
Check http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/web/WebDocletTask.html http://xdoclet.sourceforge.net/xdoclet/tags/apache-tags.html Pedro Salgado > hi > > i am starting a new project which involves struts and i am completely > new to it. The IDE i am familar with is Netbeans

Re: Java / MySQL

2004-06-21 Thread salgado.pc
Yes. http://www.mysql.com/ and download the mysql connectorJ There you will find all the information you need. Pedro Salgado > hi, > is somebody use MySQL width Java ? > > what kind of client do u use ? > > Thanx ! > > > Y.

Re: which one is better, Validator framework or ActionError

2004-06-21 Thread salgado.pc
Both? :) I usually use the validator framework for straight-forward validations (require, integer, minlength, etc... which is most of the work) and complete the validations on the actions. Sometimes I use validator and a customized form. also. Pedro Salgado > hello guys, > >i have to

Re: Wizard form support in struts?

2004-06-21 Thread salgado.pc
just what you need to implement the wizard --> > ... Pedro Salgado > Dear friends, > > Is there anything available in struts framework which supports forms of > wizard type. > > Anything in this direction is appreciated. > > Regards > Amit Kumar Sharma > ---

Re: Please Help Me To Convert My JSP Scripting Elements To Tags

2004-06-21 Thread salgado.pc
> I replaced: > > int totalPosts = ( ( Integer )request.getAttribute( > "TotalPosts" ) ).intValue(); > with > value="${requestScope.TotalPosts}" /> > > And I replaced: > > <%=totalPosts%> > with > > You are missing the taglib uri for c.tld (included with standard taglibs [for Tomcat 4 use st

RE: Strus Web Service Enablement

2004-06-04 Thread salgado.pc
For what I understood you are customizing the RequestProcessor to handle SOAP message requests, right? I dont see Axis and any way of retrieving the WSDL to make a direct call... If so, maybe instead of customizing the request processor, wouldn't it be best to have a "SOAPform" to process the

RE: Controller for web services

2004-05-21 Thread salgado.pc
Thank you (sorry for the direct reply... bad webmail :( ). I'll do just that. Pedro Salgado > I believe Axis has stuff for doing this kind of thing, but Im only just > starting to learn it myself so still dont know all the details. What Ive > seen is pretty cool though! > > They have a rath

Re: Controller for web services

2004-05-21 Thread salgado.pc
> Have a look at Axis (also an Apache project). It will probably do what > you need. > > -Original Message- > From: Pedro Salgado [mailto:[EMAIL PROTECTED] > Sent: Friday, 21 May 2004 13:20 > To: Struts Users List > Subject: Controller for web services > > > > Is there any MVC implementat

html:javascript bundle attribute

2004-05-05 Thread salgado.pc
Is it possible to include a bundle attribute on html:javascript? Pedro Salgado - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Mixed Struts Validator Framework and ValidationForm

2004-05-03 Thread salgado.pc
Yes. Extend the DynaValidator override the validate method validate(...) { ActionErrors errors = super.validate(...); // do your stuff if (...) { errors.add(...); } return errors; } Pedro Salgado On 04/05/03 9:40, "Eric Noel" <[EMAIL PROTECTED]> wrote