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
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
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
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]
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.
Hi to all,
Im 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 Ive got a bean in the actual page that its not visible for the
included page. How can I pass it? Something similar to template:put?
Hi all!
Ive seen in a example of the Struts Documentation how to merge scriptlets
with tags. Ive tried this:
html:multibox property=buscoCooperacion.checkAnyoEmpresa
onclick=marcaMaximoCheckbox(0,, %=pos%);
bean:write name=elementoCreacion /
/html:multibox
But the code generated is:
input
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
Ive 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 Ive got 6 forms in the same JSP. The struts-config.xml is like:
action
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
: 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
-
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
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]]
...
-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
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
32 matches
Mail list logo