[Mono-bugs] [Bug 417883] New: In ASP pages use of resources in the HTML tag does not work correctly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Aug 17 22:51:39 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=417883


           Summary: In ASP pages use of resources in the HTML tag does not
                    work correctly
           Product: Mono: Class Libraries
           Version: 1.9
          Platform: x86-64
        OS/Version: Red Hat 9.0
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: everard at htcl.eu
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User


Description of Problem:


Steps to reproduce the problem:
1. Create a page with two resource (resx) files, one for LTR language and the
other for a RTL language.

The HTML should read something like this:
<html xmlns="http://www.w3.org/1999/xhtml" runat="server" dir="<%$
Resources:HTMLDirectionality %>" >
  <asp:Label ID="HomeMenu" runat="server" Text="<%$ Resources:Information.Text
%>"/>
</html>

2. Add the relevant UICulture code to handle language selection/switching


Actual Results:
The resource file selection works just fine for each language but the dir="<%$
Resources:HTMLDirectionality %>" part of the HTML tag is not processed and thus
the directionality of the page does not change from LTR to RTL (or vice-versa)


Expected Results:
HTMLDirectionality should be sourced from the resource file the same as the
Information.Text

How often does this happen? 
Always

Additional Information:
A more detailed example can be supplied and the same page works and changes
direction when used with IIS.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list