зеркало из https://github.com/mono/mail-archives.git
195 строки
7.2 KiB
HTML
195 строки
7.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 488634] New: Response.write unable to print variable value in html body
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20488634%5D%20New%3A%20Response.write%20unable%20to%20print%0A%20variable%20value%20in%20html%20body&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="087318.html">
|
|
<LINK REL="Next" HREF="087320.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 488634] New: Response.write unable to print variable value in html body</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20488634%5D%20New%3A%20Response.write%20unable%20to%20print%0A%20variable%20value%20in%20html%20body&In-Reply-To="
|
|
TITLE="[Mono-bugs] [Bug 488634] New: Response.write unable to print variable value in html body">bugzilla_noreply at novell.com
|
|
</A><BR>
|
|
<I>Wed Mar 25 06:22:39 EDT 2009</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="087318.html">[Mono-bugs] [Bug 488550] WSDL tool throws "Key duplication" exception when generating soap proxy for messages with duplicated element names
|
|
</A></li>
|
|
<LI>Next message: <A HREF="087320.html">[Mono-bugs] [Bug 488634] Response.write unable to print variable value in html body
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#87319">[ date ]</a>
|
|
<a href="thread.html#87319">[ thread ]</a>
|
|
<a href="subject.html#87319">[ subject ]</a>
|
|
<a href="author.html#87319">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=488634">https://bugzilla.novell.com/show_bug.cgi?id=488634</A>
|
|
|
|
|
|
Summary: Response.write unable to print variable value in html
|
|
body
|
|
Classification: Mono
|
|
Product: Mono: Runtime
|
|
Version: 1.2.6
|
|
Platform: All
|
|
OS/Version: RHEL 4
|
|
Status: NEW
|
|
Severity: Major
|
|
Priority: P5 - None
|
|
Component: JIT
|
|
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">lupus at novell.com</A>
|
|
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">sachinpatil10d at yahoo.co.in</A>
|
|
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
Found By: Development
|
|
|
|
|
|
|
|
sachin patil <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">sachinpatil10d at yahoo.co.in</A>> changed:
|
|
|
|
What |Removed |Added
|
|
----------------------------------------------------------------------------
|
|
Flag| |SHIP_STOPPER?, CCB_Review?
|
|
|
|
|
|
Description of Problem:
|
|
Variable value is not printed in text box in html body
|
|
i.e. <%=response.write(X)%> or <%=X%>
|
|
where X is variable decalred in vb code
|
|
|
|
this code works fine when written in html body
|
|
but gives error when written inside text box decleartion
|
|
|
|
Steps to reproduce the problem:
|
|
1.
|
|
-----------------------------------------------------------------------------
|
|
<%@PAGE LANGUAGE="VB" %>
|
|
<SCRIPT RUNAT="SERVER">
|
|
public X AS INTEGER
|
|
public Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
|
|
'Handles Me.Load
|
|
Try
|
|
X=10
|
|
Response.Write("SAC<BR>")
|
|
Response.Write(X)
|
|
Catch ex As Exception
|
|
Response.Write(ex.Message)
|
|
End Try
|
|
End Sub
|
|
|
|
</SCRIPT>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"<A HREF="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</A>>
|
|
|
|
<html xmlns="<A HREF="http://www.w3.org/1999/xhtml"">http://www.w3.org/1999/xhtml"</A> >
|
|
<head >
|
|
<title>Untitled Page</title>
|
|
</head>
|
|
<body>
|
|
<form id="form1" runat="server">
|
|
<TABLE WIDTH="100%" STYLE="TABLE-LAYOUT:FIXED;">
|
|
<TR>
|
|
<TD WIDTH="20%" COLSPAN="20" ALIGN="LEFT">
|
|
&nbsp;&nbsp;<LABEL CLASS="CAPTION">Text Box</LABEL>
|
|
</TD>
|
|
<TD WIDTH="80%" COLSPAN="80" ALIGN="LEFT">
|
|
<input type="text" id="TXT" name="TXT" size="10" maxlength="10"
|
|
VALUE=" <%response.write(X)%>" >
|
|
<input type="text" id="TXT1" name="TXT1" size="10"
|
|
maxlength="10" VALUE=" <%=X%>" >
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
</form>
|
|
</body>
|
|
</html>
|
|
-----------------------------------------------------------------------------
|
|
Actual Results:
|
|
Compilation Error
|
|
|
|
Description: Error compiling a resource required to service this request.
|
|
Review your source file and modify it to fix this error.
|
|
|
|
Compiler Error Message:
|
|
/tmp/apache-temp-aspnet-0/1df4f68f/App_Web_44e91ec3_1.vb(12,18) : warning
|
|
VBNC99998: Option Strict Off will probably fail.
|
|
/tmp/apache-temp-aspnet-0/1df4f68f/App_Web_44e91ec3_2.vb(12,18) : warning
|
|
VBNC99998: Option Strict Off will probably fail.
|
|
/tmp/apache-temp-aspnet-0/1df4f68f/App_Web_44e91ec3_0.vb(43,31) : error
|
|
VBNC99997: You've encountered something in the compiler which is not
|
|
implemented. Please file a bug (see instructions here:
|
|
<A HREF="http://mono-project.com/Bugs">http://mono-project.com/Bugs</A>)
|
|
|
|
Expected Results:
|
|
text box should show the value of variable X
|
|
|
|
How often does this happen?
|
|
always
|
|
|
|
|
|
Additional Information:
|
|
1. works on mozilla firefox 3.0 on windows paltform
|
|
2. doest'n works on firefox 2.0 on unix platform
|
|
|
|
--
|
|
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
|
|
------- You are receiving this mail because: -------
|
|
You are the QA contact for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="087318.html">[Mono-bugs] [Bug 488550] WSDL tool throws "Key duplication" exception when generating soap proxy for messages with duplicated element names
|
|
</A></li>
|
|
<LI>Next message: <A HREF="087320.html">[Mono-bugs] [Bug 488634] Response.write unable to print variable value in html body
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#87319">[ date ]</a>
|
|
<a href="thread.html#87319">[ thread ]</a>
|
|
<a href="subject.html#87319">[ subject ]</a>
|
|
<a href="author.html#87319">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
|
mailing list</a><br>
|
|
</body></html>
|