JSTL FMT multiple content-language headers

hello
this is my second post about htis same problem. I am alot smarter now (which isn't saying much). But on ASF bugzilla they claim this is a OC4J issue. I can easily reproduce the problem.
the link is
http://issues.apache.org/bugzilla/show_bug.cgi?id=28248
A brief summary, each time i call fmt:formatNumber it ADDS a content-language header, eventually it overflows the browsers buffers or something similar and causes an error. Is there a work around for this problem?
Please help
thanks
troy

hi troy,
i think, they'll dont fix it (it's too trivial), but i suggest a workaround. establish a simple filter (thanks servlet 2.3), that prevent subsequent setLocale calls to the response object.
Here is my workaround.
[web.xml]
<filter>
<filter-name>oc4jsetlocalefilter</filter-name>
<display-name>SetLocaleFilter</display-name>
<filter-class>workarounds.oc4j.setlocale.SetLocaleFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>oc4jsetlocalefilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
[SetLocaleFilter.java]
package workarounds.oc4j.setlocale;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletResponse;
public class SetLocaleFilter
implements Filter
public SetLocaleFilter()
public void init(FilterConfig p0) throws ServletException
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
throws IOException, ServletException
if (response instanceof HttpServletResponse)
SetLocaleResponseWrapper respWrapper =
new SetLocaleResponseWrapper((HttpServletResponse)response);
chain.doFilter(request,respWrapper);
else {
chain.doFilter(request,response);
public void destroy()
[SetLocaleResponseWrapper.java]
package workarounds.oc4j.setlocale;
import java.util.Locale;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpServletResponseWrapper;
public class SetLocaleResponseWrapper extends HttpServletResponseWrapper
public SetLocaleResponseWrapper(HttpServletResponse response)
super(response);
public void setLocale(Locale locale)
if (containsHeader("Content-Language"))
System.out.println("setLocale skipped by filter. Content-Language already set.");
return;
System.out.println("setLocale called.");
super.setLocale(locale);
Good luck,
Daniel

Similar Messages

  • What decides the Content-Language in Internet headers of Outlook?

    Hi Everyone,
    I found weird that any mail generated by outlook will have message"Content-Language ",
    Which is explained by Microsoft that it's by your default languages set in your Office (File-> Options -> Language -> Choosing Editing Languages)
    Whatever Languages I choose here has no effect to the "Content-Language" internet Header.
    Also I tried to Install other languages pack, no changes.
    But If I sent e-mail from my friend's PC which has both Windows 7& Office 2013 in French, the internet header is "Content-Language: FR"
    I don't understand, anyone's help will be very appreciated.

    This value should depends on the language of your Outlook Client.
    I have just tested this in Outlook Web App by changing the
    Language option from English (United States) to
    English (Australia) in Options->See All Options->Settings->Regional->Language. And then, the value of
    Content-Language: have changed from en-US to
    en-AU.
    Although, I don't have any documentation on hand to show you, but please have a try on your end.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

  • [Fatal Error] jstl::1:1: Content is not allowed in prolog.

    I use Tomcat 5.5, Eclipse 3.0, JSTL 1.1 and the following jsp doesnt work on my system, it comes the error:
    [Fatal Error] jstl::1:1: Content is not allowed in prolog.
    farben.jsp:
    <%@ page language="java" contentType="text/html" %>
    <%@ taglib prefix="c" uri="/WEB-INF/tld/c.tld" %>
    <%@ taglib prefix="x" uri="/WEB-INF/tld/x.tld" %>
    <%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
    <%
         System.out.println("farben 0");
         try { String seite = request.getAttribute("seite").toString();
         //String seite = session.getAttribute("seite");
    %>     
    <% if(seite.length() > 0) { %>
         <c:set var="hnr"><%=seite.substring(0,3)%></c:set>
         <% System.out.println("farben 1"); %>
         <c:set var="mnr"><%=seite.substring(3,6)%></c:set>
    <% System.out.println("farben 2"); %>
         <c:set var="snr"><%=seite.substring(6,9)%></c:set>
    <% System.out.println("farben 3"); %>
         <c:set var="stufe"><%=session.getAttribute("stufeID")%></c:set>
         <% System.out.println("farben 4"); %>
         <c:set var="rolle"><%=session.getAttribute("rolleID")%></c:set>
         <% System.out.println("farben 5"); %>
         <c:import url="/xml/Menue.xml" var="xmlmenue">
         </c:import>
         <% System.out.println("farben 6"); %>
         <x:parse varDom="farben" doc="$(xmlmenue)" />
         <% System.out.println("farben 7"); %>
         <c:set var="name"><x:out select="$farben//hauptmenue[@hnr=$hnr]/@hnr"/></c:set>
         <c:set var="farbe1"><x:out select="$farben//hauptmenue[@hnr=$hnr]/farbe[@nummer='f1']"/></c:set>
         <c:set var="farbe2"><x:out select="$farben//hauptmenue[@hnr=$hnr]/farbe[@nummer='f2']"/></c:set>
         <c:set var="farbe3"><x:out select="$farben//hauptmenue[@hnr=$hnr]/farbe[@nummer='f3']"/></c:set>
    #menue , #${name} {
         background-color: ${farbe1};
         color: #ffffff;
    .aktiv1 , #untermenue {
         background-color: ${farbe2};
    .aktiv2 , #menue a:hover{
         color: #000000;
         background-color: ${farbe3};
         <x:forEach select="$farben//hauptmenue[contains(@stufe,$stufe)and contains(@rolle,$rolle)]">
              .hmenue #<x:out select="@hnr"/>:hover { background-color: <x:out select="farbe[@nummer='f1']"/> }
         </x:forEach>
    <%           }
              } catch (Exception ex) {%>
    #menue {
         background-color: #ffffff;
    <% } %>
    if i change <x:parse varDom="farben" doc="$(xmlmenue)" /> in <x:parse varDom="farben" doc="<test>test</test>" /> it works without error, what can i do ?

    It may be that your source includes some XML that is escaped during parsing. Try this (it worked for me)
    <x:parse varDom="farben" ><c:out value="$(xmlmenue)" escapeXml="false"/></x:parse>c:out is from java.sun.com/jstl/core

  • Problem: Localisation with JSTL FMT and Struts

    Hello!
    I am working on my first project with JSP / Servlets including JSTL and Struts Tag Libraries.(plus tiles from JSTL)
    I am trying to use localised messages, to deploy a webshop in multiplle languages.
    I allready managed to accomplish that the messages are read out of a file ApplicationResources.en.properties and another one ApplicationResources.de.properties which will be chosen by the preferences of the browser (JSTL FMT:message tag).
    The strange this is, this only works the first time the servlets are compiled. After I opened the servlet once in my browser, I am allways seeing the message in that language that was used first, even if I set the the locale trough a link in the URL. I am using this code:
    http://localhost:8080/Inkrement18/buchladenseite.jsp?lang=en
    <c:if test='${param.lang == "de"}'>
    DE <fmt:setLocale value="de" scope="session" />
    <fmt:setBundle basename="ApplicationResources" scope="session" />
    </c:if>
    <c:if test='${param.lang == "en"}'>
    EN <fmt:setLocale value="en" scope="session" />
    <fmt:setBundle basename="ApplicationResources" scope="session" />
    </c:if>It seems to me, the servlet is compiled once, and afterwards the locale does not get checked anymore. Is that possible?
    When I delete the compiled servlets from the work directory by hand, my link to change the locale manually works once, till I delete the servlets again (the session does not get killed by deleting the servlets!)
    My webserver is Jakarta Tomcat 5.5.9 and IDE Is eclipse.
    I am not sure if it matters here, but the main page consists of 4 parts like banner, menu, main-page, footer which gets assembled trough "tiles".
    Most submenues like shopping basket / catalogue are action servlets, realised with struts, calling another .jsp page by forward.
    Any ideas are really apreciated - I have no idea where to look for the error!
    If you need any more input from my side, please let me know!
    Best regards
    Jan

    Hey Experts!
    Nobofy has a clue on this? I have really no clue where to start to look for the problem...
    Cheers...Jan

  • JSF and JSTL fmt:message

    I have the following JSP:
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
    <html>
    Language: <fmt:message key="test.language"/>
    </html>When I run this without faces (http://localhost:8080/myapp/test.jsp), it works fine, the language for the message is choosen by the browsers language setting. If I run this thru faces servlet (http://localhost:8080/myapp/faces/test.jsp) the message is english always and the browser setting is ignored (english is the default language of the VM running tomcat).
    It may be a problem in JSTL because request.getLocale() returns the correct locale in both cases.
    Any ideas?
    I tried JSTL 1.0.5, Tomat 4.1.30 and 5.0.19
    Thanks a lot
    Andreas

    JSF sets the locale for the view to the locale specified by the Accept-Language request header (i.e., the user's browser language setting) that is the best match for the locales defined as the default or supported locales in faces-config.xml, or to the JVM default locale if none of them matches. The selected locale is made available for JSTL i18n actions (when you use JSP for the view), so as long as you define all locales you support in faces-config.xml, your page shouldwork fine.

  • Not able to generate multiple lines for headers in report

    Hi,
    I am new to BI publisher and not able to generate multiple lines for headers. Please help me to resolve.
    I am using RTF template, data source as PS Query and XML file (system generated from the data source)
    When I am using system generated 'First XML' file, I am getting output in the follwoing format.
    TEAM_MEMBER, PROJECT_ID, NAME, START_DT
    e.g.
    EMP1 , 71000, Sample, 01-Jan-2010
    EMP1 , 72000, Sample, 01-Feb-2010
    EMP1 , 73000, Sample, 01-March-2010
    But I want the report to be generate with multiple projects for one employee like below format , for that I used 'Second XML' file but I am getting blank report.
    In short if there is one to many case, how to show in reports??? Please correct if I am going wrong.
    TEAM_MEMBER
    PROJECT_ID, NAME, START_DT
    PROJECT_ID, NAME, START_DT
    PROJECT_ID, NAME, START_DT
    e.g.
    EMP1
    71000, Sample, 01-Jan-2010
    72000, Sample, 01-Feb-2010
    73000, Sample, 01-March-2010
    **********First XML**************System generated XML ****************************
    <?xml version="1.0"?>
    <query numrows="2" queryname="SY_EMP_PROJECT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="">
    <row rownumber="1">
    <TEAM_MEMBER>TEAM_MEMBER </TEAM_MEMBER>
    <PROJECT_ID>PROJECT_ID samp</PROJECT_ID>
    <NAME>NAME sample data</NAME>
    <START_DT>2010-08-25</START_DT>
    </row>
    <row rownumber="2">
    <TEAM_MEMBER>TEAM_MEMBER</TEAM_MEMBER>
    <PROJECT_ID>PROJECT_ID samp</PROJECT_ID>
    <NAME>NAME sample data</NAME>
    <START_DT>2010-08-25</START_DT>
    </row>
    </query>
    **********Second XML**************Manually created XML and using to show multiple projects for one employee****************
    <?xml version="1.0"?>
    <TEST numrows="2" queryname="SY_EMP_PROJECT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="">
    <TEAM_MEMBER rownumber="1">
    <TEAM_MEMBER>1</TEAM_MEMBER>
    <EMPLOYEE_NAME>SAMPLE</EMPLOYEE_NAME>
    <PROJECT>
    <PROJECT_ID>1111</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01012010</START_DATE>
    </PROJECT>
    <PROJECT>
    <PROJECT_ID>1112</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01022010</START_DATE>
    </PROJECT>
    </TEAM_MEMBER>
    <TEAM_MEMBER rownumber="2">
    <TEAM_MEMBER>2</TEAM_MEMBER>
    <EMPLOYEE_NAME>SAMPLEC</EMPLOYEE_NAME>
    <PROJECT>
    <PROJECT_ID>1111</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01012010</START_DATE>
    </PROJECT>
    <PROJECT>
    <PROJECT_ID>1112</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01022010</START_DATE>
    </PROJECT>
    </TEAM_MEMBER>
    </TEST>
    Edited by: ganeshtw on Aug 25, 2010 12:14 AM

    Hi,
    With your first xml you can print like
    EMP1
    71000, Sample, 01-Jan-2010
    72000, Sample, 01-Feb-2010
    73000, Sample, 01-March-2010While creating the RTF template you can use the Group by option.
    <?for-each-group:ROW;./columnname> then print the column name
    <?columnname?>
    --Then your table format
    71000, Sample, 01-Jan-2010
    72000, Sample, 01-Feb-2010
    73000, Sample, 01-March-2010
    <?end for-each-group?>
    Thanks.

  • View for multiple Content Type List

    Hello
    I have a SP list with multiple Content types.
    i want add a kind of view for the list that have diffrent content types for the some item/record.
    it means that every time someone edit this item and change/add diffrent data in diffrent contant type
    is there any way to do that?
    or there is a way to add the Content type dropdown list in Display view and not just in Edit view? can i do it in SP Designer?

    Hi Avinoam, do you have access to InfoPath? You can do what your asking with that program.
    cameron rautmann

  • Exchange 2007 - content-language in message header

    Exchange 2007
    The Regional Settings on client computer is set to Bulgarian (Formats/Location/non Unicode/System Account)
    The Regional Settings in Outlook Web Access for user1 is set to Bulgarian.
    On the exchange server, the language of mailbox of user1 is set to Bulgarian with powershell command
    Set-Mailbox -Identity "user1" -Languages "bg-BG"
    And the check shows
    [PS] C:\Windows\system32>$Mailbox = Get-Mailbox -Identity "user1"
    [PS] C:\Windows\system32>$mailbox.languages
    LCID             Name             DisplayName
    1026             bg-BG            Bulgarian (Bulgaria)
    If user1 sends a new message using Outlook, the message header contains:
    Accept-Language: bg-BG, en-US
    Content-Language: en-US
    But if user1 sends a new message to same recepient using Outlook Web Access, the message header contains:
    Accept-Language: bg-BG, en-US
    Content-Language: bg-BG
    The recepient uses some Blackberry smartphone.
    The problem comes with cyrrilic text in the message:
    If the messaqge is sent using OWA, the recepient can visualize and read cyrillic text.
    But if the message is sent from Outlook, the recepient see symbols "????...?" instead cyrillic text
    Is there a way when use Outlook the message header to be
    Content-Language: bg-BG
    This problem with incorrect cyrrilic text can be observed only on this Blackberry smartphone. There are not any problems if recepient uses computer with correct regional settings and various mail clients

    Hi,
    Have you resolved this issue?
    If there is any update, please feel free to post here for further research.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Content type headers and spam checks within Java MAil

    Hello there
    I have successfully created a java mail api to send any one of the following
    plain/text message, with or without attachments, with or without the body of the email to be HTML
    I have a question on how to ensure that the email is not marked spam? Sometimes the Spam score goes high if there is olly html for an email that is text/html type.;
    What are the possible values for content/type of Mime Message header for following scenarios
    An Email message that may have its bodypart as html and may have attachments
    An Email message that will have plain text messages along with attahcments and HTML concattenated with text messages ( LIke google maps along with text message]
    IF I do messaget.set ("This is my message") andthen I add attachments to the message body part, is it advisable to have two seperate content-type mime headers for these messages? wrt not having higher spam score.
    Or Is it advisable to have seperate mime type content headers for text part and sperate for message part.
    IS the attachment part also has a seperate mime header content type value?
    does the header's content type value is plain/text for messages that are text messages with attachments>?
    IS there a way to chek spam scores for messages generated by java mail? The ides is to create java mail API customsied sot hat the sent emails are not marked spams ?
    In order for the mail to be having zero spam scrore, it is helpful to have seprate mime content type headers?
    Edited by: user9328023 on May 23, 2011 1:45 PM

    If you want to create a message that has both plain text and html versions of the main
    message content, you want to create a multipart/alternative message, as described in
    this FAQ entry.
    If that message also needs to have attachments, you should embed the multipart/alternative
    part in a multipart/mixed message, along with the attachment parts.
    If the html part needs to reference images included with the message, you would replace
    the text/html part with a multipart/related part, as described in this FAQ entry.
    Combining all these techniques together can seem a bit complicated unless you understand
    recursion! :-) Remember that in addition to creating a body part with a text content type,
    you can create a body part with a multipart content type, and use that body part in the same
    places you would use a text body part.
    As for making sure your message isn't marked as spam, well, you're probably asking in the
    wrong place, but the simple answer is to make sure that it's actually not spam! Usually the
    structure of the message isn't as important as the content of the message.

  • Multiple content databases and Project Sites

    Hi,
    I am in the process of migrating our Project 2007 PWA + Project Workspaces data to Project 2010.  Our PWA site and the Project Workspaces are in a single content DB (2007) and I am trying to work out what I should do when I migrate it.  Our content
    DB is about 150GB which I believe is around the maximum that it should be.
    I am unsure about a couple of things.
    1. In SharePoint, you can assign multiple content DBs to a single web application, but each Site Collection will only live in a single content DB.  Given that all of the Project Sites are actually just sub-sites of a single Site Collection I cannot see
    a way to ever split them up into multiple content DBs.  Am I missing something?
    2. There is another post in this forum talking about whether to split PWA and Project Sites into different content DBs (and therefore Site Collections) with Project 2010 or not.  Even though I have read it I am still unclear as to whether or not I should
    do this and what the actual pros and cons are.
    Thanks in advance for the replies.
    Cheers,
    David

    All,
    The requester wants more than 1 Site Collection for Project Sites and he wants more than 1 content database for each site collection. Neither of which apparently SharePoint can do. However,
    for large numbers of Projects and associated Project Sites this will almost certainly be a necessity.
    The Suggestion was that the PWA site collection and Project Sites site collection could be different and hence on different databases (even web apps). Fine. But not helpful, really, since that
    only gets us to two site collections.  One very small and one that will potentially grow very large, too large.
    What appears to also have been suggested was to create a separate site collection for very large project sites.
    While this approach could work, it is administration intense and is bound to have issues related to PWA navigation, etc...and certainly not part of the Project Server 2010 PWA automatic Site
    Creation methodology.  It also is after the fact and not really scalable.  it would be possibe, but tricky to do this after the fact - moving it from one site collection to another - and then reset the URL in PWA Server Settings,
    could be done.
    I would suggest something similar, but a bit more pragmatic...Thanks Bruce!
    Create 1 new Site Collection for Project Sites (same web app) in a new content DB - use script.
    Setup PWA to provision all new Project Sites to that new site collection.  Maintains automatic site provisioning.
    Monitor
    the size of the DB, when it reaches a reasonable limit (? 50GB ?) - repeat this process, create another site collection in a new DB - but
    change the PWA provisioning settings to have all new sites go to the new (next) site collection.  Existing sites will still be found (keep the site collections in the same web app for continuity) and can have content added (I guess up
    to a point - monitor).  Repeat as needed.
    Another way I can conceive of is to create a fixed set of a small number of site collections (in the same web app) and manage the Project Site creation manually selecting which
    project site goes against which site collection. Division along some logical boundary such as Departments makes sense. But other divisions may be used. This could scale by simply adding more site collections at each department (HR-2), should any given department's
    DB grow too big. Then all the logically related Project Sites will hang off the site collection selected and be part of that database for that site collection for that "department" let's say.
    just a variation of the above solution.  Monitoring the DB size is key in both cases.
    There may of course be caveats to any approach other than OOTB and all in 1 site collection, around navigation, web parts, solution starters, etc...some of which are addressed elsewhere. Of
    course, this is admin intensive but retains automatic provisioning for new sites. I believe it would work and meet the requirements for smaller DB's and multiple Site collections for PWA Project Sites and scale to thousands of project sites.
    Thanks,
    Eric S.
    Eric S.

  • Managed metadata columns in document information panel with multiple content types

    Hi everyone,
    The problem I have is that for custom content types not all managed metadata columns are displayed in Document Information Panel (DIP) for the document in the Office client application. 
    However, everything works fine with 1 specific content type. Even though the others using exactly the same site columns. The content types are deployed using visual studio to the content type hub, and after this the content types are correctly published to
    the site collections, there are no publish issues here. 
    When I create a document based on the second content type in the same library, all fields are showed in the document information panel, except the managed metadata columns.
    Detailed explanation:
    Library: procedures
    Content types:
    - simple procedure (with 4 managed metadata fields and some other text fields)
    - procedure with approval (with the same 4 managed metadata fields and some other text fields)
    Scenario 1: I add the 'simple procedure' content type to the procedures library as only content type. Everything works fine, and all fields show correctly in the document information panel in Word.
    Scenario 2: I add the 'procedure with approval' content type to the procedures library as only content type. Everything works fine, and all fields show correctly in the document information panel in Word.
    Scenario 3: I add the 'simple procedure' and 'procedure with approval' content types to the document library procedures (added simple procedure first). When I create a new document based on the 'simple procedure'
    content type, everything works fine and he shows all metadata fields. When I add a new document based on the 'procedure with approval' content type, the document information panel shows correctly, except all managed metadata fields. These are not visible at
    all. Though they worked perfectly in scenario 1 and 2.
    Is this a known issue or is there a workaround for this? 
    Thanks in advance! 
    Kind regards, Davy

    Yes!
    This problem is solved right now.
    My issue was that I'm using custom content types deployed by Visual Studio in the content type hub. To create a managed metadata site column in visual studio, you need to have first of all your managed metadata field, but also a hidden field accompagnied
    to make the actual mapping like the example below:
    <Field ID="{B654D984-187A-471B-8738-F08F3356CFDA}"
    Type="TaxonomyFieldType"
    DisplayName="Countries"
    ShowField="Term1033"
    EnforceUniqueValues="FALSE"
    Group="Demo"
    StaticName="Countries"
    Name="Countries">
    <Customization>
    <ArrayOfProperty>
    <Property>
    <Name>TextField</Name>;
    <Value xmlns:q6="http://www.w3.org/2001/XMLSchema" p4:type="q6:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">{67308AC2-9556-456B-BF9E-43E8F23EBEE6}</Value>
    </Property>
    </ArrayOfProperty>
    </Customization>
    </Field>
    <Field Type="Note"
    DisplayName="Countries_0"
    StaticName="CountriesTaxHTField0"
    Name="CountriesTaxHTField0"
    ID="{67308AC2-9556-456B-BF9E-43E8F23EBEE6}"
    ShowInViewForms="FALSE"
    Required="FALSE"
    Hidden="TRUE"
    CanToggleHidden="TRUE"
    Group="Demo"
    RowOrdinal="0"
    />
    </Elements>
    VERY important here is that when you create your content type using visual studio, you not only have to add the managed metadata site column in your xml (which let the content type work already perfectly) but also add the hidden field to your content type
    xml !! This way, SharePoint knows that when you have multiple content types with the same site columns in the same library, the second content type also need to get the hidden field from this site columns like in the example below!
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Parent ContentType: Document (0x0101) -->;
    <ContentType ID="0x010100571ebc0f478a49d5a775039347ee1535"
    Name="Document Location"
    Group="Demo"
    Description="A content type containing Managed Metadata Column."
    Inherits="TRUE"
    Version="0">
    <FieldRefs>
    <FieldRef ID="{B654D984-187A-471B-8738-F08F3356CFDA}" Name="Countries"/>
    <FieldRef ID="{67308AC2-9556-456B-BF9E-43E8F23EBEE6}" Name="CountriesTaxHTField0"/>
    <FieldRef ID="{f3b0adf9-c1a2-4b02-920d-943fba4b3611}" Name="TaxCatchAll"/>
    <FieldRef ID="{8f6b6dd8-9357-4019-8172-966fcd502ed2}" Name="TaxCatchAllLabel"/>
    </FieldRefs>
    </ContentType>
    </Elements>
    I'm very happy I found this solution, because in the whole project i'm implementing, this was used a lot!
    Special thanks to the blog of @cann0nf0dder (http://cann0nf0dder.wordpress.com/2013/04/01/creating-a-site-column-with-managed-metadata) which let me think about this! 
    This ticket is answered now! :-)
    Kind regards,
    Davy

  • Multiple display languages

    Hi experts:
    Are multiple display languages supported for 1 B1 database?  Example - have system defaulted to English for everyone except Jose in the warehouse who wants the system in Spanish?
    It appears that under Administration -> system initialization -> General settings -> Display tab affects the entire system and the "standard" multi-language support only works with printing, business partners, and item translations.
    Thanks in advance,
    Aaron

    Hi Aaron,
    You can check SAP note 1017441 to find the multiple display languages supporting list.  If you version support Spanish language, you can delete all other language files for that user and leave Spanish folder only.  That user will then display menu in Spanish.
    Thanks,
    Gordon

  • T-Code BP ( Type Contact Person ) with multiple correspondence languages?

    Is there way that we can create Contact person with multiple correspondence languages?  There is no way in the system to maintain multiple correspondence languages? How can we do it?
    Please advice.
    Thanks,

    Hi
    You can not maintain the BP with multiple language.Devlopent will be required for this.
    Do let me know if you get any work around for this scenario
    Regards
    Hrishikesh

  • JSTL fmt:param tag question

    <%@taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
    <fmt:message key="result_display">
         <fmt:param value="${resultBean.sourceNumber}"/>
         <fmt:param value="${resultBean.resultValue}"/>
    </fmt:message>
    As far as I can tell, the "value" attribute of the <fmt:param> tag is capable of taking an EL. And yet, the code above does not compile. I get the error message "According to TLD or attribute directive in tag file, attribute value does not accept any expressions". If I use the <fmt_rt:param> tag, everything works fine. Am I reading the spec wrong?

    You're not reading the spec wrong, but I think you are using the wrong version of JSTL. Are you using Tomcat 5? (Or another JSP2.0 container?)
    If so, you should be using JSTL1.1
    It has a uri of "http://java.sun.com/jsp/jstl/fmt"
    Note the extra /jsp in there.
    Tomcat 5 treats ${  } as runtime expressions. To a JSP2.0 container, they ARE runtime expressions. Thus in JSTL 1.1, the fmt:param tag does accept runtime expressions.
    In JSTL1.0 because the ${  } expressions WEREN'T understood by the container, they made the tags so as not to accept runtime expressions, and called their custom evaluator.
    You are using the 1.0 uri, which specifies that it doesn't accept runtime expressions. It is complaining that ${ } is a runtime expression - so you must be using a JSP2.0 container.
    In short: You probably have a JSP2.0 container, and should be using JSTL1.1 uri: <%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
    Cheers,
    evnafets

  • DMS need to send the same document to multiple content servers

    Dear Experts,
    We are implemeting DMS with three content servers(A,B,C locations).We have requirement that need document must save on 3 content servers and user can see document from any one of them.
    As per understanding while create document ECC system ask which content server need to save,We can select one of content servers.
    Kindly give me answers for below questions
    - Is there any posibility to select multiple content servers which creating document?
    - Is there any posiblity to shared repository for 3 servers?
    Please advice on the requirement.
    Thanks in advace.
    Regards,
    Santhosh.

    Dear Santhosh...
    for this kind of scenario SAP Provide
    Content Servers and Cache Servers
    Any number of content servers can be installed in different locations. The contents are transferred directly between the client and content server. A cache is used to store copies of documents when they are accessed for the first time. As a result, the documents can be accessed again more quickly, since the contents are taken directly from the cache. Caching, however, must not be confused with replication.
    With caching, the original documents are stored in one location, namely on the content server. The copies in the cache can be replaced with newer content at any time.
    Follow the link ..it will help you
    http://help.sap.com/saphelp_nw04s/helpdata/en/02/804d3ccd6fba74e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/7f/fba637fcf7dc39e10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/21/f36c11389511d5992200508b6b8b11/frameset.htm
    for the installation process Content Servers and Cache Servers
    follow the link
    [SAP Content Server for Windows Installation Guide|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cfa73246-0a01-0010-71b4-bc21ccb45c99?quicklink=index&overridelayout=true]
    or see this post...
    Content Repository & Content Category
    Regards
    Tushar Dave

Maybe you are looking for