Re: struts2 annotations

2010-09-05 Thread Vinicius Ferraz
Whats the annotation do you want? Result, Results? include convention plugin in pom.xml Vinícius Ferraz Campos Florentino https://sites.google.com/site/viniciusferraz/ Stefanini IT Solutions - Desenvolvedor Java CAIXA - Analista Júnior. (061) 8147-6464 On Sun, Sep 5, 2010 at 2:13 PM, Daniel Ri

Re: Portlet problem

2010-08-23 Thread Vinicius Ferraz
org.apache.struts2.impl.StrutsActionProxy.execute(* StrutsActionProxy.java:52*) at org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.serviceAction(* Jsr168Dispatcher.java:451*) ... 57 more Vinícius Ferraz Campos Florentino On Sun, Aug 22, 2010 at 6:45 PM, Vinicius Ferraz wrote: > It

Re: Portlet problem

2010-08-22 Thread Vinicius Ferraz
the stack trace. Vinícius Ferraz Campos Florentino On Sun, Aug 22, 2010 at 12:44 AM, Dave Newton wrote: > Do you have a complete stack trace? Is this new behavior under S2.2.1? > > Thanks, > Dave > > On Sat, Aug 21, 2010 at 5:51 PM, Vinicius Ferraz > wrote: > > >

Portlet problem

2010-08-21 Thread Vinicius Ferraz
Hi, Im using struts2 and eXo. My JSP contains one form that submit to my action as follow: <%@ taglib prefix=*"s"* uri=*"/struts-tags"* %> "> Input your name Im using annotation (struts 2.2.1) @Results ({ @Result (name=FormExampleAction.*INPUT*, location= "/

s:text undesired behaviour - getting action properties in struts 2

2008-08-28 Thread Vinicius Cubas Brand
to messages.properties. Note 2: my web.xml haves the following piece of xml that specifies the messages, just in case you want to know. javax.servlet.jsp.jstl.fmt.localizationContext messages Thank in advance for any help/hints. Regards -- *Vinicius Cub

persistence and doubts on usage of hibernate in struts 2

2008-02-29 Thread Vinicius Cubas Brand
merge between the new object with the form data and the object from the database; What do you do in these situations? What do you recommend? thanks. Vinicius Cubas Brand DATAPROM® Software para Clientes www.dataprom.com - To

Re: [S2] getText() and #attr

2007-11-05 Thread Vinicius Medeiros Peretti
Hi Marco I use: value="%{getText( #Variable+'.string.constant.label.'+OtherVariable)}" try: regards, Vinicius Marco Machmer wrote: hi folks, can i use #attr inside the getText()-methode? here my problem: the key will not be found. whats wrong r

Re: Submit button property in ajax not sends value to action.

2007-11-01 Thread Vinicius Medeiros Peretti
Thanks very much, this is the way! But I think that the property of submit button should be posted. Thanks, Vinicius Jeromy Evans wrote: I've read somewhere, but can't find the reference, that you're correct that dojo doesn't post the value of the submit button with XHR.

Submit button property in ajax not sends value to action.

2007-10-31 Thread Vinicius Medeiros Peretti
lick in "some" or "other", I want to get the value by getValueButton(). But it not works. Any way to do this? regards, Vinicius - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts2+Spring2 Beans+Hibernate

2007-09-26 Thread Vinicius Medeiros Peretti
I had problems with this combination using jdk 1.6, solved when I changed the tomcat's jdk to 1.5. Vinicius Tom Holmes Jr. wrote: Yes ... this is one of the very first links that came up with my Google search and I looked at this example in detail. Unfortunately, I'm not really

Re: Starting of Tomcat failed, the server port 8084 is already in use.

2007-09-24 Thread Vinicius Medeiros Peretti
Hi Kushi, Try to change the server port to 8085 or another number. Select Runtime > Servers > right button and select "properties". On tab "Connection" Change the "Server Port" and restart the "Bundled Tomcat" or try to start. Vinicius kushi

fmt:setLocale

2007-03-14 Thread Vinicius Carvalho
Hello there! I'm struggling with this for the last couple of hours, I'm pretty sure is a dumb thing I forgot. I'm setting the locale for my JSPs (not using struts yet, this is for a presentation) and refuses to override the default locale. I'm using jakarta standards 1.1.2 apache 5.5.17 and nothi

Re: Simple Question about Tiles

2006-11-08 Thread Vinicius Carvalho
Doh, missed a ... regards On 11/8/06, Greg Reddin <[EMAIL PROTECTED]> wrote: On Nov 8, 2006, at 8:12 AM, Antonio Petrelli wrote: > Vinicius Carvalho ha scritto: >> I have a list that is going to be iterated, and the bean inside it >> will be checked, depending on a

Re: Simple Question about Tiles

2006-11-08 Thread Vinicius Carvalho
gt; <%@ include file="include/taglibs.jsp" %> SIMPLE Regards On 11/8/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote: Vinicius Carvalho ha scritto: > I have a list that is going to be iterated, and the bean inside it > will be checked, depending on a certain flag a ti

Simple Question about Tiles

2006-11-08 Thread Vinicius Carvalho
Hello there! I have a simple question on Tiles usage, hope I get some advice here. I know this is not the best usage for it, but we have a kinda of emergency here... I have a list that is going to be iterated, and the bean inside it will be checked, depending on a certain flag a tiles definition

Saving a bean in a specific context!!

2006-08-25 Thread vinicius
I know how to save a bean in the session context, doinh this: request.getSession().setAttribute("beanName",Object); But i don't find how I save a bean in the Aplicattion or page context!! Could someone help me?? Thanks -- At.: Vinicius Dittgen Analista Programador

html:multibox problem

2006-07-20 Thread Vinicius Carvalho
Hello there! I have a multibox on my jsp, that maps to a String[] id; property on my formbean. The problem is, when the user submits it, I get my Array filled, but the first position of the array is filled with a strange [EMAIL PROTECTED] string. Seems that some weird object had it toString() meth

ActionMapping roles attribute

2006-07-20 Thread Vinicius Carvalho
Hello there folks! I was wondering, is it possible to force struts to not check request.isUserInRole() when we provide a roles parameter in our action-mapping declaration? I need to get it's value, but I get redirect to an unauthorized page before my execute() happens. Regards -

HTML reset problem

2006-07-19 Thread Vinicius Carvalho
Hello there! This is more an HTML/JavaScript issue, but I hope someone has the answer :) I've been using HTML for a long time, but today I've just found out something stupid that I've never cared about, reset on a form does not clean it, but restores to the original state ... Ok, you can laugh no

Re: html:select disable problem

2006-07-19 Thread Vinicius Carvalho
Thanks all, we solved this using hidden fields :) Thanks On 7/18/06, Laurie Harper <[EMAIL PROTECTED]> wrote: Vinicius Carvalho wrote: > Hello there! I believe this is an HTML/HTTP issue, but... > > I have a userForm that some of the fields (selects) when the user is > ed

html:select disable problem

2006-07-17 Thread Vinicius Carvalho
Hello there! I believe this is an HTML/HTTP issue, but... I have a userForm that some of the fields (selects) when the user is editing must come as readonly (disabled). Well, that's almost ok, because I need that data on the action called by the form, and those values are not passed to the action

Re: Validation problems: again...

2006-07-04 Thread Vinicius Carvalho
th have the same signature for you personal validate() method in ActionForm? (i.e. not in Action but ActionForm). Remember, the method signature must match YOUR version of struts. Are there any errors in your log files that might shed some light on this? Regards, David -Original Messag

Re: Validation problems: again...

2006-07-04 Thread Vinicius Carvalho
: >>Can someone explain me this? Both form extend ActionForm and both actions extend a common action. Vinicius, I think you need to refer to my previous email: ActionForm does not validate. You need to extend from ValidatorActionForm or ValidatorForm. The first valdiates based on URI, the s

Validation problems: again...

2006-07-04 Thread Vinicius Carvalho
Well, I've just quit the validation on strtuts (based on commons-validator). So I've decided to use dumb manual validation. Well problem is, I still can't get one of my forms to validate! Here´ my struts-config:

Re: Form validation not happening

2006-07-04 Thread Vinicius Carvalho
orm uses the key of the URI, ValidatorForm uses the key of the form name. Did you recently upgrade Struts or the Validator? Vinicius Carvalho <[EMAIL PROTECTED]> wrote: I did a deeper look on my project, enabled debug output and even though on the log it says that the requestprocessor i

Re: Form validation not happening

2006-07-03 Thread Vinicius Carvalho
I did a deeper look on my project, enabled debug output and even though on the log it says that the requestprocessor is calling validate, my validate method on my class (gave up on validation using xml) does not even get called... Any ideas? Regards On 7/3/06, Vinicius Carvalho <[EM

Form validation not happening

2006-07-03 Thread Vinicius Carvalho
Hello there! I'm trying to use form validation (It was working, but somehow, I messed something and it quit working). Here are my files: struts-config.xml

Re: Securing an Action

2006-06-30 Thread Vinicius Carvalho
AIL PROTECTED]> wrote: Vinicius, #1: Do you have any kind of a user object? If so, use the HttpServletRequestWrapper to wrap it up in the current request (via a filter), and then delegate its isUserInRole method to the user. #2: Each action mapping has a "role" attribute; it contains a

Securing an Action

2006-06-28 Thread Vinicius Carvalho
Hello there! I know this kind of question has been very very discussed. But I've been away from struts for a while. I need to create two types of actions, one that anyone can access and a secure one, based solely on user's roles. Here's what I've come in mind: public abstract class BaseAction e

Validation errors

2006-06-26 Thread Vinicius Carvalho
Hello there! Just as I said in my last message, it's been a while since my last struts experience :). I'm using automatic validation for my formbeans (using the validator e validation.xml). Well, displaying general errors is ok , as I'm doing this: But how do I present each error in

Re: problems wit h Struts 1.2.9

2006-06-26 Thread Vinicius Carvalho
DOO!! Thanks man, I'd never find this :) On 6/26/06, David Friedman <[EMAIL PROTECTED]> wrote: Vinicius, Your struts-config.xml file is incorrect. In your Actionmapping is incorrect. You have:

problems wit h Struts 1.2.9

2006-06-26 Thread Vinicius Carvalho
Hello there! I'm having a strange problem with my struts app (1.2.9), it's been a long time since the last time I've used struts (being in the Swing world for a while now). The application launches an error on startup: [java] SEVERE: Parsing error processing resource path /WEB-INF/struts-confi

Re: tiles : "Path teste does not start with a "/" character"

2006-03-09 Thread vinicius
ed more control, I am sorry but you > have to use an Action. thank you Antonio, but an ActionForward like iam doing, i don't have much control but it would have to work! ?? and if use an Action, what type of class I have to use if I just want to do a forward?? -- A

Re: tiles : "Path teste does not start with a "/" character"

2006-03-09 Thread vinicius
Em Qui 09 Mar 2006 06:41, Antonio Petrelli escreveu: > vinicius ha scritto: > >> 2) Is your tiles-defs.xml file in the right place? > > > > Yes, in agreement with struts-config.xml: > > et-property property="definitions-config" > >

Re: tiles : "Path teste does not start with a "/" character"

2006-03-08 Thread vinicius
Em Qua 08 Mar 2006 14:15, Greg Reddin escreveu: > On Mar 8, 2006, at 10:49 AM, Joe Germuska wrote: > > At 10:36 AM -0600 3/8/06, Greg Reddin wrote: > >> On Mar 8, 2006, at 7:14 AM, vinicius wrote: > >>> My forward and action: > >>> > >>> >&

tiles : "Path teste does not start with a "/" character"

2006-03-08 Thread vinicius
s.defs.xml --- -- At.: Vinicius Dittgen Analista Programador - T.I. www.fcdl-rs.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problem struts+tiles+eclipse+tomcat5+j2sdk-sun

2006-01-31 Thread vinicius
oAsPrivileged(Subject.java:500) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161) root cause java.io.FileNotFoundException: /home/vinicius/Projetos/novo Portal/workspace/portal/work/org

problem struts+tiles+eclipse+tomcat5+j2sdk-sun

2006-01-31 Thread vinicius
ava:161) root cause java.io.FileNotFoundException: /home/vinicius/Projetos/novo Portal/workspace/teste/work/org/apache/jsp/index_jsp.java (No such file or directory) java.io.FileOutputStream.open(Native Method) java.io.FileOutputStream.(FileOutputStream.java:179) java

Velocity Question

2005-07-05 Thread Vinicius Caldeira Carvalho
Sorry for the OT. But since they're kinda related ... Does velocity provides a way to fill gaps on my variables? Translating... I have a pojo car, which has ID and Name Id must have size 6 with zero left padd, and Name 15 with with white spaces padding. Now let's suppose I have: Car beetle = new

ActionErrors & ActionMessages bif problem

2005-05-20 Thread Vinicius Caldeira Carvalho
nd now, I've got the invalid username error displayed twice ... I've got on a dead end. How can I combine ValidatorForm errors + my custom errors messages? This issue is causing a really big problem. Best regards Vinicius

Where does ValidatorForm saves its errors?

2005-05-19 Thread Vinicius Caldeira Carvalho
Hello there! Which one is the name of the property that validator form saves its errors? I tried everthing. I can't use cause diferent parts of screen show diferent errrors types. Here's what I've tried:

Slightly OT: web security-constraints

2005-05-06 Thread Vinicius Caldeira Carvalho
I was wondering... I have this configuration on my web.xml: Actions Actions *.do POST GET usuarios permitidos Administrador Encryption is not required for the application in general. NONE W

Struts menu PermissionsAdapter question

2005-05-03 Thread Vinicius Caldeira Carvalho
Hello there! Is it possible to use PermissionAdpter to check a table of given roles instead of "hard coding" 'em on a xml? If so, any examples? Regards Vinicius - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

html:options

2005-04-09 Thread Vinicius Caldeira Carvalho
Hello there! I've always used the with the collection attribute, so I had a separate bean with the collection. But now I'd like to have that collection on my form bean cuz it'll be stored on the session, and I have a utility filter that always remove my formbeans stored on the session after th

Re: Help with validator and xdoclet

2005-03-15 Thread Vinicius Caldeira Carvalho
hen the servlet starts up? If not configure logging for "debug" and see if you can see it trying to call the validator. Niall - Original Message - From: "Vinicius Caldeira Carvalho" <[EMAIL PROTECTED]> Sent: Tuesday, March 15, 2005 6:28 PM Vinicius Caldeira Carval

Re: Help with validator and xdoclet

2005-03-15 Thread Vinicius Caldeira Carvalho
Vinicius Caldeira Carvalho wrote: Hello there! I'm using for the first time, xdoclet to create my validation.xml file (that really help) But I got stuck in a point. I have a property that must be float and also greater than 0. Here's what I've tried: /** * @param limitePre

BeanUtils: examples

2005-03-15 Thread Vinicius Caldeira Carvalho
Well, I know it's not the right list, but since it's very close related and struts list is much more active. Does anyone has a good tutorial on that? I was told to use Converters to assemble my Pojos from my formbeans but most of the time the types doesn't match so BeanUtils.copyProperties() do

Re: chain two actions together

2005-03-15 Thread Vinicius Caldeira Carvalho
wo_shi_ni_ba_ba wrote: Is there a way to chain two Actions together? a lot of times I found that I need to have Action B that needs to do something then do Action C. What is the best practice here? thanks __ Do you Yahoo!? Yahoo! Small Business - Try our new re

Help with validator and xdoclet

2005-03-15 Thread Vinicius Caldeira Carvalho
Hello there! I'm using for the first time, xdoclet to create my validation.xml file (that really help) But I got stuck in a point. I have a property that must be float and also greater than 0. Here's what I've tried: /** * @param limitePreAutorizacao The limitePreAutorizacao to set. *

Struts tags and enums

2005-03-14 Thread Vinicius Caldeira Carvalho
#x27;m doing is: <%String code = String.valueOf(YesNoEnum.YES.getEnumCode())%> This of course s cuz I have to import the enum and also adds scriptlets to my jsp. So I tried the struts-el using: value="{YesNoEnum.YES.enumCode}" not working either. Anyone has a good experi

Checkbox problem again

2005-02-24 Thread Vinicius Caldeira Carvalho
n html tag. Another desperate try: Same thing as above. Can't struts handle checkbox propertly??? Vinicius Carvalho Squadra Tecnologia View framework? Thy name is Tapestry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: Help with checkboxes and nested

2005-02-24 Thread Vinicius Caldeira Carvalho
Hubert Rabago wrote: In order to detect boxes that are unchecked, your form should set the corresponding property's value to false in its reset() method. See http://struts.apache.org/userGuide/struts-html.html#checkbox . hth, Hubert On Thu, 24 Feb 2005 11:13:05 -0300, Vinicius Caldeira Car

Help with checkboxes and nested

2005-02-24 Thread Vinicius Caldeira Carvalho
Hello there! I have a form with a nested object and I'm using struts tags to display it. One of the properties of the nested pojo is a checkbox. Now, handling checkboxes with struts is already a pain, and I figured that nested checkboxes are even worse. Here's the deal. If the user unchecks so

nested:checkbox question

2005-01-14 Thread Vinicius Caldeira Carvalho
Hi there. I have a nested object where one of its properties is a string representing on|off. When converting it to a form I'm using a nested:checkbox as shown: Problem is, it should be checked when it's on, and unchecked when off, and it's not working. How can I achive this? Thanks -

Nested and javascript'

2005-01-13 Thread Vinicius Caldeira Carvalho
Well, this is kinda off topic, but I thought that maybe some of you may ran into this problem. I have a nested text field. It's name is : destiny[0].airShip.name I need to use a javascript function to get this value. But document.forms[0].destiny[0].airShip.name will not work, which seems logic

Validator what am I missing??

2004-12-28 Thread Vinicius Caldeira Carvalho
Hi there. I can't get validator to work (although I've done this before) I know I'm missing something. Here's my configuration files: struts-config: validation.xml I have the origina

nested:select and expression evaluation

2004-12-27 Thread Vinicius Caldeira Carvalho
Hi there I checked the tld for nested-el and it shows that the property onChange has the rtexprvalue is set to true. But I try to put some expression language value in there and it's not working: it's printing changeProduct($idx) instead of changeProduct(0) ... changeProduct(1) ... etc. Any

nesting a collection inside another collection

2004-12-27 Thread Vinicius Caldeira Carvalho
How can I nest a collection inside another? Like I have a collection of products each product has a collection of modules, when trying to use //iterate through request modules collection containing name and idvalue of each module I get the following error: No getter method fo

Struts tags / JSTL question

2004-12-23 Thread Vinicius Caldeira Carvalho
Hi there! I have a collection of beans, and this collection is set to the request. I'd like to retreive only the first object of the collection (later on I'll iterate over it completely) How can I do this? My Collection is a List. I tried and also none of 'em seems to work. Any ideas? Thanks a

Forwarding question

2004-12-15 Thread Vinicius Caldeira Carvalho
Hi there! I have a dispatch action that receives a forward parameter and I need to find the approprieate path for it. Since this action is used by a lot of scenarios, It's not desirable to be setting new forwards for each new scenario that uses it (would be to confusing the struts-config) and o

Validator question

2004-12-13 Thread Vinicius Caldeira Carvalho
Hi there. Correct if I'm wrong, validator returns to the input jsp after a validation fails right? Now if my jsp was called by an action that receives parameters throught the request, how can I handle this? Imagine this flow: Search Action (receives parameters on the request) -> forwards to jsp

Struts-el question

2004-12-07 Thread Vinicius Caldeira Carvalho
Hi there I'm using struts-el to solve some of my indexed problems. Inb my action I have a collection of beans, assume this beans have a property of parentBean which has a name: bean.getParent().getName() would retreive what I want. on my jsp I have: Now here lies my question. The label is th

nesting options

2004-12-06 Thread Vinicius Caldeira Carvalho
Hi there! I have a html:options collection where the beans have a deep hierarchy. I'd like to set the labelproperty of my html:options to one of the bean's property like mybean.getCustomer().getParent().getName(); how can I do this with html:options. Does it suport expression language? Thanks -

Re: struts tags and scriplet

2004-12-03 Thread Vinicius Caldeira Carvalho
Wendy Smoak wrote: From: "Vinicius Caldeira Carvalho" <[EMAIL PROTECTED]> I have two actions cuz: The first one is triggered after the user clicks in a link from a page that displays a list of prospects. so it find the prospect attributes and then sets it for the form in the n

Re: struts tags and scriplet

2004-12-03 Thread Vinicius Caldeira Carvalho
Wendy Smoak wrote: From: "Vinicius Caldeira Carvalho" <[EMAIL PROTECTED]> Proponente proponente = delegate.findProponente(id); CadastrarReservaProspeccaoForm reservaForm = (CadastrarReservaProspeccaoForm)form; reservaForm.setIdProponente(proponente.getId()); As you can see I&

Re: struts tags and scriplet

2004-12-03 Thread Vinicius Caldeira Carvalho
ve modified the value that was originally displayed, and that change will be lost.) From: "Vinicius Caldeira Carvalho" <[EMAIL PROTECTED]> I have the caller action having the name="myform" inside it I have this code: myform.setUserId(myBean.getId()); then I forward on

Re: struts tags and scriplet

2004-12-03 Thread Vinicius Caldeira Carvalho
Wendy Smoak wrote: From: "Vinicius Caldeira Carvalho" <[EMAIL PROTECTED]> Not possible. Not likely. ;) The form hold values that do not come from a database, I'm not talking about an update where we assemble the form from a dto class. This is an insert form, so n

Re: struts tags and scriplet

2004-12-03 Thread Vinicius Caldeira Carvalho
Bill Siggelkow wrote: If you specify the form in the you don't need to use the scriptlet -- Struts will retrieve and display the value for you. -Bill Siggelkow Vinicius Caldeira Carvalho wrote: Hi there! I often find myself writing scriptlet due to struts tags or my misunderstanding abo

struts tags and scriplet

2004-12-03 Thread Vinicius Caldeira Carvalho
Hi there! I often find myself writing scriptlet due to struts tags or my misunderstanding about it. Let's suppose I have an action that retreives information in a user bean. My jsp has an account form-bean and one of the properties is the userID (a hidden value) I always end up doing this: is th

Re: Validator question

2004-11-30 Thread Vinicius Caldeira Carvalho
it from an external IDE? / Manually Regards Duncan Mills Vinicius Caldeira Carvalho wrote: Bill Siggelkow wrote: Make sure you are using the latest release of Struts (http://struts.apache.org/acquiring.html). In Struts 1.2.2 (IIRC) there was an inconsistency with the Validator that caused this probl

Re: Validator question

2004-11-30 Thread Vinicius Caldeira Carvalho
Bill Siggelkow wrote: Make sure you are using the latest release of Struts (http://struts.apache.org/acquiring.html). In Struts 1.2.2 (IIRC) there was an inconsistency with the Validator that caused this problem. -Bill Siggelkow Vinicius Caldeira Carvalho wrote: Hi there! I'm trying to ma

Validator question

2004-11-30 Thread Vinicius Caldeira Carvalho
Hi there! I'm trying to make my validator projetct work on oc4j (oracle 10g) and so far I got no success at all. First thing that is really strange is that at deploy time the application runs it complains about some attributes being used but not declared: " XML-0149: (Error) Element 'arg0' used

nested:select question

2004-11-12 Thread Vinicius Carvalho
display a combobox for the user: Where idUnidadeDuracao is a property of my stepbean. and unidades is a collection of unities that the user may select. My big question is: On my step bean, I have the property idUnidadeDuracaoFaseProj, how do I make it get selected on the options??? Thank

Recursive navitation on beans

2004-11-04 Thread Vinicius Carvalho
Hi there! I have a bean, that is recursively created it has a child attribute that maps to a collection of its childs. I'd like to know if is there a taglib to display it. Cause doesn't seem to allow this, once I don't know how deep the graph of objects could get.

Re: ActionMessages question (simple)

2004-10-26 Thread Vinicius Carvalho
Thompson Marzagão wrote: Caro Vinicius, Your java code is fine. But you got confused on the struts tags. If you want to display ALL the messages you have, (that's probably what you need) one under the other, separated by 's, you would use: But if you only want to display that

ActionMessages question (simple)

2004-10-25 Thread Vinicius Carvalho
I'm kinda lost with this. I set a message like below : ActionMessages msgs = new ActionMessages(); msgs.add("removido", new ActionMessage("br.com.auge.bancoprojetos.registroRemovido")); saveMessages(request,msgs); Than I want to display it: That's not working anyway I'm kinda lost with id

request question

2004-10-25 Thread Vinicius Carvalho
in request, but how to propagate it to the delete action and then to the jsp again? request.setAttribute(request.getAttribute("criteria"),"criteria"); seems pretty odd to me. Thanks all Viniucius Vinicius

Question regarding formbeans

2004-10-20 Thread Vinicius Carvalho
Hi there! I have the following problem: My form offers the ability to a user select from some categories, let's say first grade, second grade on the next step user selects subjects for each one: first grade: MathEnglishScience second grade: MathEnglish History As you can see, a su

Re: cleaning session

2004-10-07 Thread Vinicius Carvalho
Erik Weber wrote: Vinicius Carvalho wrote: Freddy Villalba A. wrote: Well guys, although on the same direction you are pointing to, I do believe though that the more framework-independent the solution is, the better. So, my thought: Why not have a XML descriptor where you can explicitly define

Re: cleaning session

2004-10-07 Thread Vinicius Carvalho
Freddy Villalba A. wrote: Well guys, although on the same direction you are pointing to, I do believe though that the more framework-independent the solution is, the better. So, my thought: Why not have a XML descriptor where you can explicitly define your wizards? In that way: (1) No matter where

Agregating form beans

2004-10-07 Thread Vinicius Carvalho
e, or creating arrays of those properties would be a better solution? Also, does BeanUtils transverse the object graph to copy it to a DTO? Thanks all Vinicius - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Validator

2004-10-05 Thread Vinicius Carvalho
David G. Friedman wrote: I haven't used the validator in a while but I have a 3 questions for you: 1. If, as you say, the Javascript tag isn't being enclosed in .. tags, then you need to verify that your validation file is loaded AND that you have the correct form name in your . I've had that prob

Re: Validator

2004-10-01 Thread Vinicius Carvalho
e funkiest irc channel ever: #funkycodemonkey at irc.darkmyst.org. Cheers, Daniel Silva. --- Gabriel França Campolina <[EMAIL PROTECTED]> wrote: Olá Vinicius, Poste o seu mapeamento de suas action no struts-config, e o mapeamento dos seus form, para que eu possa analizar? Verifique o log

Re: Validator

2004-09-30 Thread Vinicius Carvalho
[EMAIL PROTECTED] wrote: Hi Vinicius, An easy question, have you put the right attribute in the struts-config.xml in the actionMapping ? You need to put the xml attribute validate="true" and an input for the page you want to return if the validation throw an error.

Validator

2004-09-30 Thread Vinicius Carvalho
that after I submit with no values at all, nothing happens, it forwards to the correct path. And also, the javascript generated isn't inside a block. So it's printed on the page footer. Where did I miss? Thanks Vinicius --

support for non-default resource bundles in validation

2004-05-17 Thread Marcus Vinicius W. Ferreira
Hello, The Struts supports different resource bundle in the validation.xml? The dtd http://jakarta.apache.org/commons/dtds/validator_1_1.dtd allows the bundle attribute to the msg and arg tags, but the validator ignore this attribute. Marcus

support for non-default resource bundles in validation

2004-05-17 Thread Marcus Vinicius W. Ferreira
Hello, The Struts supports different resource bundle in the validation.xml? The dtd http://jakarta.apache.org/commons/dtds/validator_1_1.dtd allows the bundle attribute to the msg and arg tags, but the validator ignore th

Re: Can you help me about Struts validator?

2004-05-13 Thread Marcus Vinicius W. Ferreira
Hello , I´m brazilian guy and I don´t speak english very well, then, sorry for language mistakes. I saw the message of David Graham about bundle attribute in struts validator at http://www.mail-archive.com/[EMAIL PROTECTED]/msg06445.htm l

Struts validator?

2004-05-13 Thread Marcus Vinicius W. Ferreira
Hello , I´m brazilian guy and I don´t speak english very well, then, sorry for language mistakes. I saw the message of David Graham about bundle attribute in struts validator at http://www.mail-archive.com/[EMAIL PROTECTED]/msg06445.html Can you help me? The bundle attribute i