I'm try to use this:
html:link property=teste href=javascript:eSenha()Esqueci a senha/html:link
,and when I open de Internet Expore the hint of this link have the jsessionid value,
ex.:(javascript:eSenha();jsessionid=123456), and the link fail, but if I refresh
the browser it's ok , don't
: Struts Users Mailing List
Objet : [SPAM] - Problem with html:link - Bayesian Filter detected
spam
I'm try to use this:
html:link property=teste
href=javascript:eSenha()Esqueci a senha/html:link
,and when I open de Internet Expore the hint of this link
have the jsessionid value
I'm passing a HashMap with link parameters to the html:link tag using
the name attribute and whenever the Hash contains more than one
parameter to add, in the a href= that gets created, the parameters
are separated by amp; - not ... which seems to not bother popular
browsers, but the search
Hey, man, don't blame that filter! ;-) That's just the hard-coded behavior of
html:link.
Quoting Brice Ruth [EMAIL PROTECTED]:
I'm passing a HashMap with link parameters to the html:link tag using
the name attribute and whenever the Hash contains more than one
parameter to add, in the a
So, html:link puts the params in the page separated by amp; - not by
as it should (?) be?!?
Kris Schneider wrote:
Hey, man, don't blame that filter! ;-) That's just the hard-coded behavior of
html:link.
Quoting Brice Ruth [EMAIL PROTECTED]:
I'm passing a HashMap with link parameters to the
In XML, an designates the beginning of an entity reference (e.g. lt;). I'm
not sure what the HTML 4.01 spec requires, but for XHTML 1.0 it's definitely a
requirement to use amp; in attribute values.
Quoting Brice Ruth [EMAIL PROTECTED]:
So, html:link puts the params in the page separated by
Brice Ruth wrote:
So, html:link puts the params in the page separated by amp; - not by
as it should (?) be?!?
IIRC the ampersand should always be escaped in any html/xhtml. When the
page is processed by the browser it should then be converted to a simple
on the user's display. This is
Looks like it's an HTML 4.01 requirement as well:
http://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2
Quoting Kris Schneider [EMAIL PROTECTED]:
In XML, an designates the beginning of an entity reference (e.g. lt;).
I'm
not sure what the HTML 4.01 spec requires, but for XHTML 1.0 it's
Really?! Wow ... I had no idea ... well, for a short-term fix, I've
modified the no-op encodeURL/encodeUrl to search/replace amp; with
and it did the trick for the time being. I'll have to keep that in mind
for future designs, though ... definitely good information to provide to
the search
Hello,
I need to dynamically set the URL for html:link. Its giving me an exception
for this. Here's what I am trying to do.
logic:iterate id=child name=wm property=children
nbsp;nbsp;
html:link href=bean:write name=child property=url/
styleClass=plain
you can't nest tags...
On Thursday, June 12, 2003, at 03:00 PM, Ujwal Oswal wrote:
Hello,
I need to dynamically set the URL for html:link. Its giving me an
exception
for this. Here's what I am trying to do.
logic:iterate id=child name=wm property=children
nbsp;nbsp;
? Might look
into that.
Chip
-Original Message-
From: Ujwal Oswal [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 3:01 PM
To: '[EMAIL PROTECTED]'
Subject: Problem using html:link Tag
Hello,
I need to dynamically set the URL for html:link. Its giving me an exception
for this. Here's
I've seen this mentioned in the mailing list archives, but couldn't find a
definitive answer.
I'm actually using the IBM Websphere Portal Struts Portlet Framework. I
believe they're using Struts 1.1 RC1 as their foundation.
I'm trying to pass multiple parameters via a map in html:link. I get
Encoding to amp; is the correct behavior as documented by the W3C. What
browser are you using?
David
I've seen this mentioned in the mailing list archives, but couldn't find a
definitive answer.
I'm actually using the IBM Websphere Portal Struts Portlet Framework. I
believe they're using
Good day!
I'm new to struts and i need to help..my problem is:
mytag:corsoSIter colors=#FF,#E5E9F5
TR bgcolor=%=Color%
TD align=left%=CorsoSId%/TD
TD align=left%=CorsoSName%/TD
TD align=left%=CorsoSFacolta%/TD
TD align=left%=CorsoSCrediti%/TD
TD
html:link page=javascript:onClick=document.searchEmployeeForm.submit()
html:img page=/images/go1.gif alt=Click to continue border=0/
/html:link
It creates a link like this (note:examples is my web app name)
a href=/examplesjavascript:onClick=document.searchEmployeeForm.submit()img
html:link onclick= /
R
-Original Message-
From: TK [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 18, 2003 7:14 PM
To: 'Struts Users Mailing List'
Subject: problem with html:link jstl tag
html:link page=javascript:onClick=document.searchEmployeeForm.submit()
html:img page
I tried html:link href=javascript: / and that also works
thanks.
- Original Message -
From: Robert S. Sfeir [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Saturday, January 18, 2003 7:51 PM
Subject: RE: problem with html:link jstl tag
html:link onclick
Hi,
I have a page where I want to combine my html:link and html:img tags. In
regular html, it would be something like this.
a href=dummy.htmlimg src=submit.gif /a
I want to write the same thing using struts tags.On clicking the image,
I want to invoke a JavaScript function which eventually
have you tried html:link onclick=func()
html:img src=submit.gif /
/html:link ?
On Mon, 2002-07-08 at 16:08, Ravi Kora wrote:
Hi,
I have a page where I want to combine my html:link and html:img tags. In
regular html, it would be something like this.
Yes, that is what I have tried. But it doesn't seem to work.
Regards,
Ravi Kora
-Original Message-
From: Nina-Annick Stranzenbach [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 9:44 AM
To: 'Struts Users Mailing List'
Subject: Re: Problem with html:link and html:img
have you
Title: Message
html:link page="/dotest1/test"
html:img
src="javascript:void(0);" linkName="assess" width=97
height=32 border="0"/html:link
it is giving me the
following error.
Attribute value
should be quoted, stack: org.apache.jasper.compiler.ParseException:
an example of same
type
: Muthukumar Subramanian [EMAIL PROTECTED] on 15/04/2002 16:15 ZE5B
Please respond to Struts Users Mailing List [EMAIL PROTECTED]
To:[EMAIL PROTECTED]
cc:
Subject:problem with html:link
html:link page=/dotest1/test
onmouseover=assess.src='/myimages/images/ing_3_f2.gif'
onmouseout=assess.src
and the
html:img tag needed an end slash.
-Original Message-
From: Muthukumar Subramanian [mailto:[EMAIL PROTECTED]]
Sent: Monday, 15 April 2002 8:46 PM
To: [EMAIL PROTECTED]
Subject: problem with html:link
html:link page=/dotest1/test
onmouseover=assess.src='/myimages/images/ing_3_f2.gif
Thanks David, here is my form bean definition:
form-beans type=org.apache.struts.action.ActionFormBean
form-bean name=userMaintForm type
=application.presentation.struts.formbeans.UserMaintForm /
/form-beans
This is for the page that I am linking to from the menu page. Eventually I
will be
Thanks Cody, but I had the same problem with using Page and Forward! As
far as naming the global forward and action the same in the config file,
the Struts Example app does this and I can get this to work fine so I don't
think it is this that is the problem.
James.
Thanks Keith, here's some more info...
The full error msg is:
Error 500
An error has occured while processing request:http://localhost:8080/myapp/
Message: Server caught unhandled exception from servlet [file]: Server
caught unhandled exception from servlet [jsp]: null
Target Servlet: file
I have a JSP with the following lines:
ul
lihtml:link forward=userMaintAdd a new User Account/html:link/li
/ul
My struts-config.xml is as follows:
global-forwards type=org.apache.struts.action.ActionForward
forward name=userMaint path=/userMaint.do?actionName=add /
/global-forwards
Hi!
When mixing both static and dynamic params, html:link automatically
inserts the ampersand character to tokenize the parameters, but it does
*filter* it as if it were an illegal character. As should be expected with
filtering the ampersand gets replaced by amp;, which obviously is not
valid
Hi all,
I am facing a problem when using Javascript with html:link. Below is the
jsp code segment and the html that was generated. My problem is that the
jsessionid is being generated and this is messing up my webpage. I keep
getting javascript errors. Any help on an alternate suggestion would
30 matches
Mail list logo