RE: Difference between Tiles and Templates ?

2003-02-10 Thread Míguel Ángel Mulero Martínez
Tiles is the new versión of Templates. -Mensaje original- De: Rao, Nagraj [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 10 de febrero de 2003 16:39 Para: 'Struts Users Mailing List' Asunto: Difference between Tiles and Templates ? Is there any difference between teh template tags and

RE: ? on logic:empty - any hints

2003-01-30 Thread Míguel Ángel Mulero Martínez
Use the logic:present Regards, Miguel -Mensaje original- De: Jörg Maurer [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 30 de enero de 2003 9:32 Para: Struts Users Mailing List (E-mail) Asunto: ? on logic:empty - any hints Hi! I want to test in jsp if user does need to log in, e.g. if

RE: Clarification with Struts

2003-01-29 Thread Míguel Ángel Mulero Martínez
You must use and ActionForm with String[] get() and setX(String[] ) If you create the ActionForm, use the set to put the values and use the request.setAttribute(actionform) before call the JSP, all is done. Regards, Miguel -Mensaje original- De: Uday [mailto:[EMAIL

RE: Hi

2003-01-27 Thread Míguel Ángel Mulero Martínez
In what file? If I'm not wrong, you must read the file in an Action, and then process it (if needed) and put the result in the request for the JSP. Regards, Miguel -Mensaje original- De: Uday [mailto:[EMAIL PROTECTED]] Enviado el: martes, 28 de enero de 2003 8:35 Para: [EMAIL PROTECTED]

Pasar atributos a un bean:include

2003-01-17 Thread Míguel Ángel Mulero Martínez
Hola a todos, Estoy usando la linea: bean:include id=text page=/test/detalle.jsp / para almacenar en la variable text el contenido de la pagina despues de ser ejecutado. Mi problema es que tengo un bean en la pagina actual que no es visible para la pagina incluida, por lo tanto quiero pasarselo.

Pasa artributwa to a bean:include (SORRY FOR MY EARLIER SPANISH POST)

2003-01-17 Thread Míguel Ángel Mulero Martínez
Hi to all, I’m using the sentence: bean:include id=text page=/test/detalle.jsp / to save in “text” the content of the page after its execution. My problem is that I’ve got a bean in the actual page that it’s not visible for the included page. How can I pass it? Something similar to template:put?

Scriptlet not executed

2003-01-16 Thread Míguel Ángel Mulero Martínez
Hi all! I’ve seen in a example of the Struts Documentation how to merge scriptlets with tags. I’ve tried this: html:multibox property=’buscoCooperacion.checkAnyoEmpresa onclick=marcaMaximoCheckbox(0,, %=pos%);’ bean:write name=elementoCreacion / /html:multibox But the code generated is: input

RE: Scriptlet not executed

2003-01-16 Thread Míguel Ángel Mulero Martínez
Try this onclick='%= marcaMaximoCheckbox(0,, + pos + ) %' -Original Message- From: Míguel Ángel Mulero Martínez [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 4:27 PM To: Lista Struts Subject: Scriptlet not executed Hi all! I've seen in a example of the Struts Documentation

form generated code error

2002-12-23 Thread Míguel Ángel Mulero Martínez
I’ve got a JSP with several forms. For example: html:form action=busquedaProgramasAction.do /html:form html:form action=busquedaNoticiasAction.do ….. /html:form …. In this way I’ve got 6 forms in the same JSP. The struts-config.xml is like: action

RE: How to Format default input text value according to user request?

2002-12-11 Thread Míguel Ángel Mulero Martínez
The Locale object exists in the Actions. Use an Action before the JSP that creates this bean. In this way you can format the text before call the bean:write Regards, Miguel -Mensaje original- De: Renato Aganippe [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 11 de diciembre de 2002

Detecting value in a template

2002-12-03 Thread Míguel Ángel Mulero Martínez
Hi all, I'm using templates from Struts 1.0.2 and I can't use tiles. Mi problem is that I would like to pass a value with template:put and in the target JSP change the behaviour attending this value (with something like logic:equal or logic:present. Anybody knows how to verify if exists or the

RE: Passing an argument from struts-config.xml to an action.

2002-11-28 Thread Míguel Ángel Mulero Martínez
Use the DispatchAction. See the documentation. -Mensaje original- De: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 28 de noviembre de 2002 13:08 Para: 'Struts Users Mailing List' Asunto: RE: Passing an argument from struts-config.xml to an action. Sure. From a

RE: great error in struts! Include a JSP result of an Action in other JSP

2002-11-27 Thread Míguel Ángel Mulero Martínez
Yes!! This works. I've tried this for my yesterday problem. Only one change: bean:write name=text / don't work because Struts scapes the and simbols (¿security?). I have used %=text% and all ok. Thanks!!! Miguel -Mensaje original- De: Gemes Tibor [mailto:[EMAIL PROTECTED]] Enviado

Include an Action in a page

2002-11-26 Thread Míguel Ángel Mulero Martínez
Hi all, I've got a little problem. I'm using Struts 1.0.2, and I'm using Templates (not Tiles). I use template:insert to include a little page inside my page. This work great with HTML and JSP, but not with actions. How can I do it for: template:insert template=action.do / Is there other way to

RE: Struts: a Graphic Artist blessing or curse?

2002-11-25 Thread Míguel Ángel Mulero Martínez
Have you looked at this? http://jakarta.apache.org/taglibs/doc/ultradev4-doc/intro.html I don't have tried it, so if you do it please comment to group. -Mensaje original- De: Foong Tzer [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 25 de noviembre de 2002 14:31 Para: Struts Users

RE: Application Resources problems

2002-11-22 Thread Míguel Ángel Mulero Martínez
Can you put the JSP code of your startup JSP? Regards -Mensaje original- De: Jim Collins [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 22 de noviembre de 2002 13:54 Para: Struts Users Mailing List Asunto: Application Resources problems Hi, I am pulling my hair out with this

RE: Réf. : RE: Tomcat 4.1 and indexId

2002-11-21 Thread Míguel Ángel Mulero Martínez
I don't know if this is your case, but version 4.10 4.11 had a bug under windows if you install it in a different drive from C:. They fail when try to compile JSP. Alos it isn't your case, I recommend to you change to version 4.12 or 4.05 (other versions have a security problem with default

Durability of a ActionForm

2002-11-21 Thread Míguel Ángel Mulero Martínez
Hi all, My question is how can I make for extend the durability of a request scope ActionForm. For example, in my Action I can do somethig like: request.setAttribute(form, form); In this way, the ActionForm that I retrieved from the JSP and arrived to the Action, will arrive to the next JSP.

RE: Durability of a ActionForm

2002-11-21 Thread Míguel Ángel Mulero Martínez
or a cookie, and override the RequestProcessor to reinstantiate it on submission (which would still be a new object, but same data).- and you really dont want to do that...) -Original Message- From: Míguel Ángel Mulero Martínez [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 19

RE: ArrayList disappeared in ActionForm

2002-11-20 Thread Míguel Ángel Mulero Martínez
to all! -Mensaje original- De: Míguel Ángel Mulero Martínez [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 18 de noviembre de 2002 16:29 Para: Struts Users Mailing List Asunto: RE: ArrayList disappeared in ActionForm Hi Sri, Looking at your multibox logic, is the 'rol' property

RE: onclick attribute doesnt work in html:img tag?

2002-11-19 Thread Míguel Ángel Mulero Martínez
work. - Original Message - From: Míguel Ángel Mulero Martínez [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 19, 2002 7:51 AM Subject: RE: onclick attribute doesnt work in html:img tag? I think Netscape 6 and 7 yes. -Mensaje

RE: Showing the success message

2002-11-19 Thread Míguel Ángel Mulero Martínez
Put a message in the action (for example: request.setAttribute(message, Operation OK)) And in the HTML page put: bean:write name=message ignore=true / The ignore=true only prints the message if it exists. Regards, Miguel -Mensaje original- De: Alireza Fattahi [mailto:[EMAIL

RE: Opening a popup from a html:link

2002-11-19 Thread Míguel Ángel Mulero Martínez
Use JavaScript. The html:link has the onclick parameter. To create a relative path, use the html:rewrite. Regards, Miguel -Mensaje original- De: ROSSEL Olivier [mailto:[EMAIL PROTECTED]] Enviado el: martes, 19 de noviembre de 2002 12:12 Para: '[EMAIL PROTECTED]' Asunto: Opening a

RE: html:hidden and request parameter

2002-11-19 Thread Míguel Ángel Mulero Martínez
For this tag I think that the value of the hidden field must be in the ActionForm associated with the Action in Struts-config.xml. Regards, Miguel -Mensaje original- De: Jean-Baptiste Onofré [mailto:[EMAIL PROTECTED]] Enviado el: martes, 19 de noviembre de 2002 12:49 Para: [EMAIL

RE: Hidden and taglib

2002-11-19 Thread Míguel Ángel Mulero Martínez
The parameter command MUST BE in the ActionForm, not in the request. Regards, Miguel -Mensaje original- De: Jean-Baptiste Onofré [mailto:[EMAIL PROTECTED]] Enviado el: martes, 19 de noviembre de 2002 13:30 Para: [EMAIL PROTECTED] Asunto: Hidden and taglib Re all, the

RE: html:submit -- DispatchAction

2002-11-18 Thread Míguel Ángel Mulero Martínez
You can use the html:image tag. Regards, Miguel -Mensaje original- De: Murray, Christopher [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 18 de noviembre de 2002 12:28 Para: 'Struts Users Mailing List' Asunto: html:submit -- DispatchAction How do you customize html:submit tags to use

RE: onclick attribute doesnt work in html:img tag?

2002-11-18 Thread Míguel Ángel Mulero Martínez
The html:img don't have onclick function. This is because Netscape don't support it (Explorer yes). regards. -Mensaje original- De: Drew Zimber [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 18 de noviembre de 2002 16:09 Para: 'Struts Users Mailing List' Asunto: onclick attribute

RE: ArrayList disappeared in ActionForm

2002-11-18 Thread Míguel Ángel Mulero Martínez
: Míguel Ángel Mulero Martínez [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 2:06 AM To: Struts Users Mailing List Subject: RE: ArrayList disappeared in ActionForm Hi all! Thanks to both for your reply. Sorry for my late reply (and my poor english) but in the weekend I can't

RE: onclick attribute doesnt work in html:img tag?

2002-11-18 Thread Míguel Ángel Mulero Martínez
- From: Míguel Ángel Mulero Martínez [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 23:29 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: onclick attribute doesnt work in html:img tag? The html:img don't have onclick function. This is because Netscape don't support

RE: MySQL connection pooling problems!! (please help)

2002-11-18 Thread Míguel Ángel Mulero Martínez
I don't know it this would help, but I use the pooling classes of jakarta. Take a look at: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html It's an example under Tomcat. Regards, Miguel -Mensaje original- De: andres garcia [mailto:[EMAIL PROTECTED]]

RE: ArrayList disappeared in ActionForm

2002-11-17 Thread Míguel Ángel Mulero Martínez
... -Original Message- From: Míguel Ángel Mulero Martínez [mailto:[EMAIL PROTECTED]] Sent: Friday, November 15, 2002 2:03 AM To: Lista Struts Subject: ArrayList disappeared in ActionForm Hi all! I've got a little problem with Struts 1.0.2. I've got an ActionForm with two objects: one for save

ArrayList disappeared in ActionForm

2002-11-14 Thread Míguel Ángel Mulero Martínez
Hi all! I've got a little problem with Struts 1.0.2. I've got an ActionForm with two objects: one for save the values of a HTML form, and an ArrayList with Strings to print in the HTML form. The HTML form inits well, reading the values (object and ArrayList) from the ActionForm created in an