DO NOT REPLY [Bug 8460] - using null=false in message-resources adds alt title element to generated html

2002-07-25 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460

using null=false in message-resources adds alt  title element to generated html





--- Additional Comments From [EMAIL PROTECTED]  2002-07-25 13:59 ---
I've seen this as well.  The tags are looking up a message resource null that 
isn't there, so it is returning a string as you asked it to.  

I'm guessing the Right-thing-to-do would be change all of the custom tags to 
not look up the message resource if no resource key is specified.  I'm guessing 
they check for null after the resource lookup now, which is why they don't 
return alt and title if the message resources are set to null=true.  

There is a simple 90% solution though.  Add the line null= to your 
appropriate ApplicationResources file.  You'll still get the alt and title 
tags, but they'll be render as alt= and title=.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 8460] - using null=false in message-resources adds alt title element to generated html

2002-07-25 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460

using null=false in message-resources adds alt  title element to generated html

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||DUPLICATE



--- Additional Comments From [EMAIL PROTECTED]  2002-07-25 19:21 ---
Arron Bates fixed this on 2002-05-13

*** This bug has been marked as a duplicate of 7411 ***

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 8460] - using null=false in message-resources adds alt title element to generated html

2002-07-23 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460

using null=false in message-resources adds alt  title element to generated html

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WORKSFORME  |



--- Additional Comments From [EMAIL PROTECTED]  2002-07-23 08:17 ---
Ok, here is an attachment with a war file with a simple testcase. Try to change
the message-resources  line in the struts-config.xml file to include or
exclude the attribute null=false.

With null=false, the generated html code for the first.jsp file is 

form name=dynamicForm method=POST action=/strutsbug/first.do

  simple string

  input type=text name=field1 value= title=???en_US.null???
alt=???en_US.null???
/form



Without null=false, the generated code is

form name=dynamicForm method=POST action=/strutsbug/first.do

  simple string

  input type=text name=field1 value=
/form

The problem are the generated title  alt attributes for the html:text input.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 8460] - using null=false in message-resources adds alt title element to generated html

2002-07-23 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460

using null=false in message-resources adds alt  title element to generated html





--- Additional Comments From [EMAIL PROTECTED]  2002-07-23 08:18 ---
Created an attachment (id=2447)
simple testcase war file. try loading url http://localhost:8080/testcase/first.do

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 8460] - using null=false in message-resources adds alt title element to generated html

2002-07-21 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460

using null=false in message-resources adds alt  title element to generated html





--- Additional Comments From [EMAIL PROTECTED]  2002-07-21 20:38 ---
The message-resources  tag is from the struts-config file, not in the jsp
file. I can submit a complete example tomorrow at work.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 8460] - using null=false in message-resources adds alt title element to generated html

2002-07-11 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460

using null=false in message-resources adds alt  title element to generated html

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WORKSFORME  |



--- Additional Comments From [EMAIL PROTECTED]  2002-07-11 17:35 ---
Struts 1.1b1

i'm using

message-resources parameter=ApplicationResources null=false/

and use html tag for example
html:submit value=go

struts will render this
input type=submit name=submit value=go title=???sk_SK.null??? alt=???
sk_SK.null???

problem is that i didn't specified to add title  alt parameters ... but they 
are rendered with that wierd values

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 8460] - using null=false in message-resources adds alt title element to generated html

2002-06-22 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460

using null=false in message-resources adds alt  title element to generated html

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME



--- Additional Comments From [EMAIL PROTECTED]  2002-06-23 00:27 ---
I am unable to reproduce this problem, which I tested by adding the following to
the index.jsp page of struts-example:

  html:link forward=successbean:message key=index.tour//html:link

and then trying the app with and without the null=false setting.  A couple of
other notes:

* Your two example pages both have the wierd title= and alt= values,
  and appear to be identical.
* I don't see how the original jsp file that you included in your
  third attachment could have possibly created either of the two
  generated pages -- the only way to get Struts to create the title=
  and alt= attributes on the generated a element itself would be to
  use these attributes on the html:link tag.  The nested
  bean:message tag cannot cause this.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 8460] - using null=false in message-resources adds alt title element to generated html

2002-04-24 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460

using null=false in message-resources adds alt  title element to generated html





--- Additional Comments From [EMAIL PROTECTED]  2002-04-24 12:08 ---
Created an attachment (id=1679)
generated html with null=false

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 8460] - using null=false in message-resources adds alt title element to generated html

2002-04-24 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460

using null=false in message-resources adds alt  title element to generated html





--- Additional Comments From [EMAIL PROTECTED]  2002-04-24 12:08 ---
Created an attachment (id=1680)
correctly generated html code without null=false

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




DO NOT REPLY [Bug 8460] - using null=false in message-resources adds alt title element to generated html

2002-04-24 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8460

using null=false in message-resources adds alt  title element to generated html





--- Additional Comments From [EMAIL PROTECTED]  2002-04-24 12:09 ---
Created an attachment (id=1681)
original jsp file using html:link, etc.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]