Jakarta i18n Tags

I'm trying to use tag libs to i18n my jsp based site. I,m using jakarta i18n based tags. This is what I understand/done so far.
Changed the page encoding on all pages to UTF-8.
Searched through all of the pages for text/data that has to be i18n. Placed all this in a message tag. The message tag contains a key to the text/data that I have written/translated into property files.
I understand that ResourceBundles in the form of i18n:bundle tag, which are used in conjunction with the property files that I have. I just don't understand how? Or where the property files should be stored.
Also from what I've read, a locale setting is required, i18n:locale, however I don't understand how to use this tag.
Any help would be much appreciated.
Regards

You might look at an article just posted to the main page on java.sun.com.
http://developer.java.sun.com/developer/technicalArticles/Intl/MultilingualJSP/
The article is titled, "Developing Multilingual Web Applications Using JavaServer Pages Technology" and does cover the use of the JSTL tags you mention.
-David

Similar Messages

  • Is It legal to use Jakarta I18N Tag Library in my projects on work?

    I'm a JSP pages developer on my work and Jakarta I18N Tag Library is very usefull for me.
    But I'm not sure about licensing. Can I use this library in commercial projects?

    I am not a lawyer, but ys, the Apache Lisence allows you to use the library for such a purpose.

  • JSTL i18n tags timezone/setTimezone

    As far as I'm aware, there are two tags for configuring the timezone used by the i18n JSTL tags: -
    <fmt:timeZone ...>
      //rest of JSP
    </fmt:timeZone>and
    <fmt:setTimeZone="Europe/Amsterdam" />Does anyone know why these don't seem to be mentioned in the i18n tag documentation? (http://jakarta.apache.org/taglibs/doc/i18n-doc/index.html) Where have these tags gone?

    You're looking at an older version of the documentation.
    I would recommend picking up the specification from here:
    http://java.sun.com/products/jsp/jstl/reference/api/index.html

  • How to put a javascript  variable containg the i18n key  in the i18n tag

    I have a list of values in a List box.when the user selects a praticular value.,i need to show the java script localized alert message for the selected value.
    how can i pass the javascript variable to i18n tag.
    For ex:
    function test(){
    var selectedvalue='name';
    var localizedstring='<i18n:message key="+selectedvalue+"/>';--This is not working
    alert('<i18n:message key="+selectedvalue+"/>');
    the alert message is a blank string,even though i have the key in my resource bundle.
    Also..if i give directly pass the key value to i18n string it works. like..
    var localizedstring='<i18n:message key="+name+"/>';--This is  working
    *(am passing the variable value)*

    The following should be able to pass ans.
    <script language="Javascript">
    function check_answer(ans) {
    if (testing.result.value==ans ){
    window.alert("You have got 10 marks.");
    </script>
    <body>
    <form name="testing"...>
    <%
    ResultSet rs = stmt.executeQuery("select * from level where...");
    while(rs.next())
    out.println("<tr>");
    out.println("<td>" + rs.getString("question") + "</td>");
    ans = rs.getString("answer");
    out.println("</tr>");
    out.println("<input type='text' name='result'>);
    out.println("<input type='button' value='Enter' onclick='check_answer('<%= ans%>')'>");
    %>jag

  • I18n, bundles and personalized taglib

    Hello,
    My aim is to write a personal taglib which could be used such as:
    <menu:menu>
    <menu:groupmenu name="${menu.group0}">
    </menu:groupmenu>
    </menu:menu>
    the menu.group0 would be an entry in a mymessage.properties file that would be in the classpath
    Actually my ${menu.group0} is not interpreted
    So my question is why??!
    I've set the rtexprvalue to true in my taglib class handler.
    I'm not sure of versions of jsp-api to use...as well as I'm not sure if it's possible
    Does el expressions evaluate message.properties entries?? or just objects in some scopes?
    Any help would be very great, I'm stuck with this :-(
    Thanks

    Doea anyone from BEA have a reply on this?
    Sincerely,
    Paul Nyheim
    Paul Nyheim wrote:
    OK. Thanks.
    In our case, we have started out using <netui:label> tags with the
    {bundle} value. This works great both in pageflows and in jsp's. However
    we have not found a similiar feature here as in the <i18n> taglib that
    allows reloading with "i18n.bundle.reload.seconds".
    What is the preferred way from BEA when developing portals?
    Mvh,
    Paul
    srini_1976 wrote:
    I donno what BEA reccomended way of doing it is... but in our
    application we use i18n tags to access i18n message resources.
    You can paste the following in your web.xml and it checks for the
    properties files and reloads it every 5 mins.
    All you have to do is just refresh the JSP. While in development I
    have it set to 30 secs.
    <context-param>
    <param-name>i18n.bundle.reload.seconds</param-name>
    <param-value>300</param-value>
    </context-param>
    As to your question about where to place these files. I would
    reccomend putting them in the root folder for the files which will be
    accessing these properties.
    Hope this helps.

  • Jakarta JSTL conflict

    Hi,
    I have a problem using Jakarta standard tag library along with
    portal's taglibs.
    If I try to include the directive
    <%@ taglib uri=http://jakarta.apache.org/taglibs/c' prefix='c' %> in a
    jsp file that already include webflow, portlet or portal taglib, I get
    an exception at compile time:
    java.lang.NullPointerException
    at antlr.CharBuffer.fill(CharBuffer.java:45)
    at antlr.InputBuffer.LA(InputBuffer.java:82)
    at antlr.CharScanner.LA(CharScanner.java:147)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.nextToken(JSP2XMLLexer.java:343)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.parse(JSP2XMLLexer.java:296)
    at weblogic.servlet.jsp.jsp2xml.Jsp2XmlOutputter.getSubLexerXmlOutput(Jsp2XmlOutputter.java:277)
    at weblogic.servlet.jsp.jsp2xml.Jsp2XmlOutputter.addIncludeDirective(Jsp2XmlOutputter.java:136)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.addIncludeDirective(JSP2XMLLexer.java:177)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.mINCLUDE_DIRECTIVE(JSP2XMLLexer.java:1076)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.mDIRECTIVE(JSP2XMLLexer.java:772)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.mSTANDARD_THING(JSP2XMLLexer.java:503)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.mTOKEN(JSP2XMLLexer.java:440)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.nextToken(JSP2XMLLexer.java:344)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.parse(JSP2XMLLexer.java:296)
    at weblogic.servlet.jsp.StandardTagLib.makeXMLStream(StandardTagLib.java:345)
    at weblogic.servlet.jsp.StandardTagLib.callValidator(StandardTagLib.java:433)
    at weblogic.servlet.jsp.JspParser.callTaglibValidators(JspParser.java:164)
    at weblogic.servlet.jsp.JspParser.doit(JspParser.java:139)
    at weblogic.servlet.jsp.JspParser.parse(JspParser.java:212)
    at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
    at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:255)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:352)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:210)
    at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:149)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:521)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:542)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:368)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:120)
    at jsp_servlet._framework.__portlet._jspService(portlet.jsp:84)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:542)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:368)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:120)
    at com.bea.portal.render.servlets.jsp.taglib.RenderTag.renderPortlets(RenderTag.java:172)
    at com.bea.portal.render.servlets.jsp.taglib.RenderTag.doStartTag(RenderTag.java:60)
    at jsp_servlet._framework._layouts._spanningthreecolumn.__template._jspService(template.jsp:7)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:542)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:368)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:120)
    at jsp_servlet._framework.__page._jspService(page.jsp:64)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:542)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:368)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:120)
    at jsp_servlet._framework.__portal._jspService(portal.jsp:19)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:341)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
    at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.doGet(PortalWebflowServlet.java:176)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:341)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:116)
    at jsp_servlet.__index._jspService(index.jsp:3)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    Did somebody already used jstl with portal ?
    Do you have any idea of what's wrong ?
    regards,
    Roland Pellegrin.

    You need another "'" after the uri=
    Roland Pellegrin wrote:
    Hi,
    I have a problem using Jakarta standard tag library along with
    portal's taglibs.
    If I try to include the directive
    <%@ taglib uri=http://jakarta.apache.org/taglibs/c' prefix='c' %> in a
    jsp file that already include webflow, portlet or portal taglib, I get
    an exception at compile time:
    java.lang.NullPointerException
    at antlr.CharBuffer.fill(CharBuffer.java:45)
    at antlr.InputBuffer.LA(InputBuffer.java:82)
    at antlr.CharScanner.LA(CharScanner.java:147)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.nextToken(JSP2XMLLexer.java:343)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.parse(JSP2XMLLexer.java:296)
    at weblogic.servlet.jsp.jsp2xml.Jsp2XmlOutputter.getSubLexerXmlOutput(Jsp2XmlOutputter.java:277)
    at weblogic.servlet.jsp.jsp2xml.Jsp2XmlOutputter.addIncludeDirective(Jsp2XmlOutputter.java:136)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.addIncludeDirective(JSP2XMLLexer.java:177)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.mINCLUDE_DIRECTIVE(JSP2XMLLexer.java:1076)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.mDIRECTIVE(JSP2XMLLexer.java:772)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.mSTANDARD_THING(JSP2XMLLexer.java:503)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.mTOKEN(JSP2XMLLexer.java:440)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.nextToken(JSP2XMLLexer.java:344)
    at weblogic.servlet.jsp.jsp2xml.JSP2XMLLexer.parse(JSP2XMLLexer.java:296)
    at weblogic.servlet.jsp.StandardTagLib.makeXMLStream(StandardTagLib.java:345)
    at weblogic.servlet.jsp.StandardTagLib.callValidator(StandardTagLib.java:433)
    at weblogic.servlet.jsp.JspParser.callTaglibValidators(JspParser.java:164)
    at weblogic.servlet.jsp.JspParser.doit(JspParser.java:139)
    at weblogic.servlet.jsp.JspParser.parse(JspParser.java:212)
    at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
    at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:255)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:352)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:210)
    at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:149)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:521)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:542)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:368)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:120)
    at jsp_servlet._framework.__portlet._jspService(portlet.jsp:84)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:542)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:368)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:120)
    at com.bea.portal.render.servlets.jsp.taglib.RenderTag.renderPortlets(RenderTag.java:172)
    at com.bea.portal.render.servlets.jsp.taglib.RenderTag.doStartTag(RenderTag.java:60)
    at jsp_servlet._framework._layouts._spanningthreecolumn.__template._jspService(template.jsp:7)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:542)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:368)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:120)
    at jsp_servlet._framework.__page._jspService(page.jsp:64)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:542)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:368)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:120)
    at jsp_servlet._framework.__portal._jspService(portal.jsp:19)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:341)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
    at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.doGet(PortalWebflowServlet.java:176)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:341)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:116)
    at jsp_servlet.__index._jspService(index.jsp:3)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    Did somebody already used jstl with portal ?
    Do you have any idea of what's wrong ?
    regards,
    Roland Pellegrin.

  • Jakarta taglibs and iWS4.1

    Is it possible to use the Jakarta custom tag libraries with iWS4.1 SP11?
    I am able to make the custom tag samples work (http://docs.sun.com/source/816-5680-10/2-examp.htm#21044). But I can't figure out how to plug in the pre-built custom tag libraries from Jakarta.
    My goal is to use XSLT to dynamically display XML documents. It runs on Tomcat, but it needs to run on iWS4.1
    Any input is greatly appreciated.
    Thanks

    This is not an Apache site. It is not even the Oracle JSP forum.
    I suggest you try the JDeveloper site, which you will find JDeveloper and ADF, where at least they all speak Java. There is also the J2EE forum, although that seems somewhat less OC4J. And of course there is a designated Java Server Pages (JSP).
    Cheers, APC

  • Jakarta taglibs

    hi all,
    Is it true that by using the jakarta i18n taglibs, the properties files are preloded into the memory. How exactly do they work.
    Is the working different from using
    ResourceBundle.getBundle().
    please help
    thanka in advance

    Yes, it is perloaded in memory, That is why when you make some changes in property file then you have to restart the application

  • Changing button label;JSP; input type="submit" name="jboEvent" value="Search"

    Hello everybody,
    I try to develop a multilanguage application in which the button labels will change accordingly with the browser's regional settings.
    The line in the generated DataQueryComponent.jsp file is the following:
    <input type="submit" name="jboEvent" value="Search">
    If I want to change the value like value="Rechercher" the application will not execute the query.
    In fact the section
    <jbo:ViewCriteriaIterate datasource="dsQuery" >
    </jbo:ViewCriteriaIterate>
    is not executed.
    I tried to generate the button with:
    <input type="submit" name="jboEvent" value="Rechercher" onClick="this.value='Search'"> ,
    but for a long query the name Search will remain as button label on the screen.
    Any new solutions, please?
    Thanks in advance.

    Visit that Jakarta web site. There is an i18n tag library that you will find useful.
    http://jakarta.apache.org/taglibs/doc/i18n-doc/intro.html

  • Resource bundle in content repository

    Hi,
    We have a weblogic portal application. Client wants the flexibility to be able to change the text (labels, paragraphs) without any help from IT i.e no releases or redeployment should be required.
    For static pages htmls have been moved to content repository and that helps.
    However for multilingual jsp labels, headers etc. should we add the resource bundle files(.properties files) to content repository?
    Please suggest. We are using netui tags in UI.

    What are you using to show the message i18n or JSTL? i18n tag libraries have a timed technique of reload. ResourceBundles cant be reloaded (directly). search for a snippet on the web which shows how to reload ResourceBundles.
    should we add the resource bundle files(.properties files) to content repository?So long as you have a way to push the files to all managed servers , store it wherever you want.
    While this is an idealistic scenario of business can update all content consider what happens when a business user changes the key by mistake, makes a formatting error etc that can potentially break your page.

  • SAPDB password in content repository

    Hello,
    I 'm in the process of configuring the repository with content server.
    Two of the parameters with content repository are SAPDBUser and SAPDBPassword.
    Before finishing to configure this we have used the report RSCMSPWS to set the technical user password settings used for connection.
    After launching this report with definning the DBuser = SAPCS and Password = SAPCS
    Two parameters have been aded on the parameters of the repository:
    -1- SAPDBUser
    -2- SAPDBPassword
    with SAPCS as user and another different password as SAPCS defining in MAXDB
    Knowing that the 2 passwords must be the same, what must be done to resolve this.
    Best Regards.
    Zied.

    What are you using to show the message i18n or JSTL? i18n tag libraries have a timed technique of reload. ResourceBundles cant be reloaded (directly). search for a snippet on the web which shows how to reload ResourceBundles.
    should we add the resource bundle files(.properties files) to content repository?So long as you have a way to push the files to all managed servers , store it wherever you want.
    While this is an idealistic scenario of business can update all content consider what happens when a business user changes the key by mistake, makes a formatting error etc that can potentially break your page.

  • Content Management Configuration in WebLogic Portal 9.2 Beta

    Hello All,
    I am aware of configuring Content Management System to Third Party CMS using a DMBase directory reference in the application-config.xml in WLP 4.0, 7.0 and 8.1 Versions...
    This also include the DocumentConnectionPool to point to the Database where the METADATA is stored.
    But how do I do this in 9.2 Beta Version. I did read thru the cm.pdf where they talk about the CMS configuration.
    Where do I configure the DMBase direcory?
    Any help would be appreciated.
    Thanks and regards,
    Pazhanikanthan. P

    Hi,
    You can use the "i18n" tags associated with resource files.
    http://e-docs.bea.com/wls/docs92/i18n/utilities.html
    Also, in netuix-config.xml, you can enable localisation and choose the default locale:
    <localization>
    <enable>true</enable>
    <default-locale language="fr" country="FR"/>
    </localization>
    By default, the locale will be chosen from attributes in the request. But if you want to change this behavior (for example decide the locale from the URL), you can develop a custom LocaleProvider (com.bea.netuix.servlets.l10n.LocaleProvider)
    Best regards
    Stéphanie

  • Unicode in page contentType?

    <%@page contentType="text/html;charset= .... "%>
    Is it possible to set charset to unicode in page contentType?
    Which identifier?
    Thank you.
    Ondrej Psencik

    Ondrej,
    Without going into details, I would recommend using charset=UTF-8
    If you have problems with this, please post back with info: what characters you
    are using (Korean, Chinese), are you using the i18n tags, etc.
    Cheers,
    PJL
    "Ondrej Psencik" <[email protected]> wrote:
    >
    <%@page contentType="text/html;charset= .... "%>
    Is it possible to set charset to unicode in page contentType?
    Which identifier?
    Thank you.
    Ondrej Psencik

  • Create a configurable Web Interfaces

    Good Afternoon,
    I would like to build a Web application using JSP, Servlets and Struts. However I want that the users could configure their interfaces once they are logged. By configuring interface, I mean that a user could choose to hide/show an input of a form and chose if this input is read-only or not.
    I've though it would be a good idea of using a simple XML configuration file for each user to do that like this one :
    <config>
    <ITEM ID="name_input">
    <DISPLAY>1</DISPLAY>
    <CHANGE>1</CHANGE>
    </ITEM>
    <config>
    By the way, I must use the i18n tag to manage the translation of my application in different language.
    I'm a beginner in using these technologies and I'd like to have some advises from someone who did a configurable Web application.
    I hope Someone will help me.
    Thank you very much
    Xavier

    hello, ive also started to build a web site that will allow some configuration.
    But im using a bd to store all info for the web site.
    I dont know how good it is to use xml file or struct to configure dynamicaly since i dont use/know how to use this technologie.
    As for the bd case, you need at least 1 table per web page and some info to identifie eatch user parameters, also, you could need to keep a table with user login/info as to identifie them.
    To keep the language for every user, you may need to put extra field in eatch web page table.
    Hope this can help you :)

  • 50k limit on imported content

    I'm trying to import pieces of another page into a JSP using the
    Jakarta scrape tag. Works like a charm for anything under 50k but as
    soon as the file size gets >50k none of the content is displayed.
    It doesn't seem like a time-out, the blank page is displayed almost
    immediately. Like the server just looked at the header and said "nope,
    not doin it". Same behavior whether I deploy to Sun AppServer or
    Tomcat.
    I'm using Studio Creator and in the web app's web.xml, I have maxSize = -1.
    I'd post code, but I suspect this is a server setting or OS (I'm
    running XP Pro) limitation. Since I don't know which, and since I
    encountered this in JSP, I figured it was appropriate to post here.
    I've searched the groups and the web extensively but have found nothing
    to help. Thanks in advance for any pointers you can offer!

    BTW, here is the relevant log from Tomcat:
    Apr 17, 2006 8:27:02 AM org.apache.catalina.core.ApplicationContext log
    INFO: Page.streamtochararray(): Error ocured while reading the inputstream java.net.SocketTimeoutException: Read timed out
    Again, I've searched all the groups for this. A lot of people seem to be having this issue, but no one seems to know how to prevent it (aside from keeping files under 50k which isn't feasible for me). I've combed through all the config files I can think of to look through but to no avail. Thanks again for your time in reading this.

Maybe you are looking for

  • 5/28/2014 - Beta - Flash Player 14.0.0.122

    The latest Flash Player 14 builds are now available.  You can download Flash Player here: http://www.adobe.com/go/flashplayerbeta. New Features for Flash Player 14: PPAPI Content Debugger - EXTENDED BETA We're pleased to announce the immediate availa

  • How many application modules do I have to have ?

    Sir, In my JClient application, there is a model project which contains view objects for two forms. One of the forms is opened witin the other form. If I include all view objects in one application module, will the two forms share one database sessio

  • Red x issue in KM

    Folks,     i have read in some posts that assigning eu_role will resolve the red X that appears instead of the KM folder. this has been very intermittent and even the eu_role has not resolved our issue. can anybody give me a solution to resolve this

  • Fiber connectivity with ASA

    I am having a fiber for internet converted to ethernet using ISP's media convertor . Now that media convertor is not that good and hangs sometimes . Edge equipment is ASA and if I need to put fiber there I would require to puchase SSM-4GE which is qu

  • Unable to create webOS account to set up HP Touchpad

    Alright, so I got my Touchpad Saturday, and tried to set it up the day after.  So in order to actually use it, you have to create a webOS account, but every time I try, I get the error "We are unable to create an account for you.  Please try again in