RE: Role based Tiles

2006-04-25 Thread João
Looking at tiles dtd you find that you have a role attribute on definition element. Another way of controlling what appears is using the role attribute on tiles:put tag. -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: terça-feira, 25 de Abril de 2006 11:44 To: user@str

RE: Struts 1.2.9 does not throw InvalidCancelException

2006-04-25 Thread João
You have to put that variable in more general scope, e.g, put as a request attribute. -Original Message- From: Lixin Chu [mailto:[EMAIL PROTECTED] Sent: terça-feira, 25 de Abril de 2006 10:36 To: Struts Users Mailing List Subject: Re: Struts 1.2.9 does not throw InvalidCancelException e

RE: Role based Tiles

2006-04-25 Thread João
I think you can't do that with tiles. Maybe with a controller but not declaratively :( -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: terça-feira, 25 de Abril de 2006 15:29 To: 'João'; 'Struts Users Mailing List' Subject: RE: Role based Tiles

FW: [OT] Struts and Content Management

2005-08-15 Thread João Paulo Martins
Greetings, When in doubt between Content Management System you may what to compare them in the http://www.cmsmatrix.org There exist many free / opensource cms, the difficulty is in choosing one. Compliments, João -Original Message- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Where to put view session state? HttpSession or on a Session form-bean?

2005-09-22 Thread João Paulo Martins
where should I store the view related session state? HttpSession or on a Session form-bean? Thanks in advanced, João Martins - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Question regarding html:multibox value

2004-10-29 Thread João Vieira da Luz
Maybe it's because html:multibox doesn't support el... You could try to use struts-el tag library. On Fri, 29 Oct 2004 07:14:26 -0700 (PDT), t t <[EMAIL PROTECTED]> wrote: > Hi, all, I have such code: > - > items="${sessionScope.searchResu

RequestProcessor processRoles question!

2004-11-17 Thread João Vieira da Luz
UNAUTHORIZED (error code 401)? Thanks in advance, João - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: exception thrown while trying to validate user input

2004-12-18 Thread João Vieira da Luz
What version of struts are you using! I think that the version you are using might be de reason for this problem. ActionErrors has been deprecated in favor of ActionMessages as far as I know in recent struts versions. On the other hand, "struts in action" covers afaik version 1.1. Hope this help

Re: 1.1 to 1.2.2 migration problem

2004-09-02 Thread João Vieira da Luz
Maybe you could send your /WEB-INF/tiles-def.xml. One possible reason could be the DOCTYPE definition to be wrong. On Thu, 2 Sep 2004 12:25:50 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > i'ml trying to migrate from Struts 1.1 to struts 1.2.2. I've got the following > error whe

Re: How To Validate Any Three out of the Five Text Fields Are Required?

2004-09-10 Thread João Vieira da Luz
Maybe you could do your ActionForm and override validate method... This method could test if the validation is to be passed or not. If it is to do validation you can rely on validation.xml. On Fri, 10 Sep 2004 13:43:03 -0500, Matt Bathje <[EMAIL PROTECTED]> wrote: > You could probably use req

Re: [OT] synchronous form submit in a popup so parent refreshes prope rly

2004-09-11 Thread João Vieira da Luz
You can remove reload and window.close from onclick and submit form... onclick="document.forms[0].Dispatch.value='Save';document.forms[0].submit();" The Action that receives this form could forward page with the removed javascript window.opener.location.reload(true);window.close(); In this way y

Re: Specifying validation field per Form, only way????

2004-09-12 Thread João Vieira da Luz
Hi, yes for the first question. no for the second. Probably, you can implement a base class for that forms that contain name field and implement the validation for that field on validate method. Hope this help you, João On Sat, 11 Sep 2004 15:01:23 -0300 (ART), Leandro Melo

Re: Protecting files question

2004-09-12 Thread João Vieira da Luz
. The first one is to create a HttpFilter that filters the requests for your files and decide if the remote user has the privileges to read the file requested. The second is to implement the preprocess method on Struts RequestProcessor. Hope this help you, João On Sun, 12 Sep 2004

Re: Question on conditionally changing action is html:form

2005-02-23 Thread João Vieira da Luz
Try to do this: action1 action2 I have the following piece of code : <% if (myform.getFlag()) { %> <% } else { %> <% } %> The above gives the error: Unterminated There is a in my jsp- so not sure what this error is about. If I remove the condition above , it works. Can anyone throw

Re: Struts debug mode

2007-10-02 Thread João Vieira da Luz
Remote debugging is the keyword. WTP already supports that. On 10/2/07, Viplav Kallepu <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using struts 1.3.8 with eclipse 3.1 (wtp) and tomcat 5.5. Can anyone > please tell me how to enable debugging in it like we debug the core java > application in eclip

Re: Struts debug mode

2007-10-03 Thread João Vieira da Luz
ting out > this.. > > On 10/2/07, João Vieira da Luz <[EMAIL PROTECTED]> wrote: > > > > Remote debugging is the keyword. WTP already supports that. > > > > On 10/2/07, Viplav Kallepu <[EMAIL PROTECTED]> wrote: > > > > > > Hi, >

Re: Forward Action to Action

2006-10-23 Thread João Vieira da Luz
I think you are little bit confused. FormBeans are the request abstractions of requests. Thus, in order to populate the 2nd bean you have to use request PARAMETERS instead of request ATTRIBUTTES. Hope this helps you On 10/21/06, Jean-Marie Pitre <[EMAIL PROTECTED]> wrote: Hi, I would like to

Problems using spring plugin and struts 2.0.6

2007-02-27 Thread João Vieira da Luz
We've upgraded to struts 2.0.6 and we can't make spring-plugin work. The spring factory isn't being called and we are getting ClassNotFoundException for the beans that reference spring. This is working with struts 2.0.1. What changed? Thanks a l

Re: Problems using spring plugin and struts 2.0.6

2007-02-27 Thread João Vieira da Luz
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) On 2/27/07, Paul Saumets | Merge <[EMAIL PROTECTED]> wrote: Perhaps obvious question but, Do you have set inside your struts.xml? -Original Message- From: João Vieira da Luz [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 12:42 PM To

Re: Problems using spring plugin and struts 2.0.6

2007-02-27 Thread João Vieira da Luz
aumets | Merge wrote: > > Perhaps obvious question but, > > Do you have > > > > set inside your struts.xml? > > -Original Message- > From: João Vieira da Luz [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 27, 2007 12:42 PM > To: user@struts.apache

Re: [S2] Problems using spring plugin and struts 2.0.6

2007-02-27 Thread João Vieira da Luz
Ok, that's a solution. We were trying to avoid to do that... Hope somebody could help us on this. Thanks again, João On 2/27/07, cilquirm <[EMAIL PROTECTED]> wrote: I'm not sure type converters are instantiated via the ObjectFactory mechanism, but you can ju

TypeConverter

2007-02-28 Thread João Vieira da Luz
Hi, How can I access application context on a custom ognl.TypeConverter? Thanks, João - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Spring Factory and Struts2

2007-02-28 Thread João Vieira da Luz
How can I tell struts to use the SpringObjectFactory on global converters registering phase. Thnks João - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]