Use the altKey attribute (rather than alt) - its exactly what you're looking
for.
html:img align=absmiddle altKey=Empleados.imagen.nuevo border=0
height=24 src=../images/Nuevo.png width=24 /
http://struts.apache.org/userGuide/struts-html.html#img
Also if you wanted to have different images for
html:img src=../images/new.png alt=bean:message
key=img.new/ width=24 height=24 / /html:link
You can't nest tags like this. It's not a limitation of Struts, it's the way
tags are defined and the way they work.
For many problems like this, you can get around it by using the EL version
of the
in such a case you have to use titleKey=img.new
here is the attribute from the struts-html.tld, i look in there most
of the times if i need to figure out which attribute a certain taglib
call take.
attribute
nametitleKey/name
requiredfalse/required
rtexprvaluetrue/rtexprvalue
/attribute
-Original Message-
From: Andy Schmidgall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 10, 2004 7:06 PM
To: Struts Users Mailing List
Subject: RE: Taglibs generating lots of warning messages
Does anyone know anything about this? This is generating HUGE
catalina.out files
:32 AM
To: Struts Users Mailing List
Subject: RE: Taglibs generating lots of warning messages
-Original Message-
From: Andy Schmidgall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 10, 2004 7:06 PM
To: Struts Users Mailing List
Subject: RE: Taglibs generating lots of warning
Does anyone know anything about this? This is generating HUGE
catalina.out files, and I would really like to use log4j to catch these
rather than having to build and/or configure yet another app just to
rotate this one file...
Thanks,
Andy
-Original Message-
From: Andy Schmidgall
Sent:
hallelujah! Now I just need to migrate ... ugh
Erik Weber wrote:
If I'm not mistaken, the action attribute to html:rewrite is
supported in 1.2.
Erik
Ruth, Brice wrote:
alu, artifex wrote:
i need to rewrite an action uri for use in a javascript function,
something like this:
--
function
Or, add it yourself:
package com.dotech.servlet.taglibs;
import java.net.MalformedURLException;
import java.util.Map;
import javax.servlet.jsp.JspException;
import org.apache.struts.util.RequestUtils;
import org.apache.struts.util.ResponseUtils;
public class RewriteTag extends
alu, artifex wrote:
i need to rewrite an action uri for use in a javascript function,
something like this:
--
function foo()
{
document.location.href=html:link action=/foo/bar paramId=blah
paramName=blah/;
}
--
however the html:link renders html code which i can't use in my
I thought someone had done something for Struts/Dreamweaver a while back the
only thing I can see on the struts resources is this:
http://jakarta.apache.org/taglibs/doc/ultradev4-doc/intro.html
Niall
- Original Message -
From: ali [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday,
There is a commercial struts extension for Dreamweaver
http://www.fwasi.com/products/
-Original Message-
From: ali [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 7:42 PM
To: [EMAIL PROTECTED]
Subject: taglibs bitter for web designers!!!
the first time i used taglibs
11 matches
Mail list logo