html:rewrite action problem

2004-03-24 Thread Ruben Pardo
i've got the next tag html:rewrite action=/SomeAction?prefix=page=/SomePage and in the actionConfig action path=/SomeAction type=org.apache.type=org.apache.struts.actions.SwitchAction /action but i always get an error saying that attribute action does not defined in the tld? what could it be?

Multiple validation

2004-03-09 Thread Ruben Pardo
Hi, here is the scenario ... i've got 4 different validation depending on 4 different javascript tab, i want to do a validation depending on the tab that you are localized, ie, i want to validate one field if the user is in the tab 1, other if the user are in tab 2 and so on. I define in

Send the response to a different frame

2004-03-02 Thread Ruben Pardo
Hi , I've got a page with 3 frames, the action, forward to reload always the page with the 3 frames. If there is an error, i want to reload only one frame, how can i send the response from the action to only one frame?? thanks ___ Yahoo!

dynamic generation of select fields problem

2003-12-05 Thread Ruben Pardo
Hi everybody! This is my problem, i've to generate a variable quantity of select fields. The solution i thougth was a map backed form, that dynamically generate the names of this fields with JSTL, something like this: c:forEach items=${sessionScope} var =farmacia varStatus=st .

updates and dispatcher

2003-04-03 Thread Ruben Pardo
Hi! That is the problem. I've got a alta.jsp and edita.jsp, the only difference between alta.jsp and edita.jsp is the path of the Dispatcher action, because i want the same action to be sent the form. html:form action=/Proyectos?method=alta ../html:form and in edita.jsp html:form

Re: New to Struts

2003-04-02 Thread Ruben Pardo
But ... why are dynaforms better than BaseMap Form's? i'm using BaseMap Form and i think that is a good choice, and if i have to do something in the reset method, i only inherit from the BaseMap, in dynaform you can't do a specific reset am i wrong? Ruben. -

Struts doesn't love me

2003-03-31 Thread Ruben Pardo
Hi everybody! I've got the next problem. I don't know how I can pass a business object to a logic iterate tag when it's call from an action, in struts-config.xml action path=/Proyectos validate=true type=com.profesor.proyectos.ProyectosAction scope=request

Struts-el book

2003-03-30 Thread Ruben Pardo
Hi everybody! Is there any book that explain in detail struts-el and JSTL? I'm searching in Struts in action by ted husted, Programming Jakarta Struts by chuck cavaness, and Mastering Jakarta struts by james goodwill, but I don't find anything. Any suggestion?