Internationalization in Creator

i can write an Internationalization app which can depend on the browser's locale.but i must add the faces-config.xml and locale setting by myself.
i have seeen the tutorial which says adding the supported locale by project's properties window.But it looks dont work..
or what function it provides?
if i dont add the faces-config.xml and locale setting in faces-config.xml, the app will shows the server side's locale as default.(ex:run app on japanese windows, no matter what locale set in the browser, will all show japanese message properts). but i have added the internationalization properties in project property window.
so i dont know what feature it provides.
regards
koji

Hi Koji,
The following links may help you,
http://swforum.sun.com/jive/post!reply.jspa?messageID=170866
http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=44838
http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=46438
http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=47775
http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=46383

Similar Messages

  • How to do internationalization with Sun Java Studio Creator?

    Hi everybody,
    the Sun Java Studio Creator seems to be a great peace of software ;-) Currently I'm trying to design some forms for a hello-world-test-project. My question now is: how can I realize internationalization with property-bundles? I already managed it to create my own bundles, I set up a few locales (de, en, fr) and put in some "SayHello" Variables. But how can I associate my locale-variables in the .propertie-files with the value- or text-attributes of the UI-Components using the form designer?

    well... it's not working!
    I created some locale-properties. Put a
    <f:loadBundle basename="mypackage.mainlocales" var="messages"/>directly under the "<f:view>"-Tag as it is descriped in the manual.
    But when I write something like
    <ui:label binding="#{sites$main$mainmenu.label1}" id="label1" style="position: absolute; left: 312px; top: 168px" text="#{messages.test}"/>The designer crashes with an error-message:
    javax.faces.el.PropertyNotFoundException: Error testing property 'test' in bean of type null
         at com.sun.faces.el.PropertyResolverImpl.getType(PropertyResolverImpl.java:342)
         at com.sun.rave.web.ui.faces.UIComponentPropertyResolver.getType(UIComponentPropertyResolver.java:298)
         at com.sun.rave.web.ui.faces.DataProviderPropertyResolver.getType(DataProviderPropertyResolver.java:264)
         at com.sun.jsfcl.data.ResultSetPropertyResolver.getType(ResultSetPropertyResolver.java:141)
         at com.sun.rave.jsfsupp.container.DesignTimePropertyResolver.getType(DesignTimePropertyResolver.java:169)
         at com.sun.faces.el.impl.ArraySuffix.getType(ArraySuffix.java:240)
         at com.sun.faces.el.impl.ComplexValue.getType(ComplexValue.java:208)
         at com.sun.faces.el.ValueBindingImpl.getType(ValueBindingImpl.java:350)
         at com.sun.rave.web.ui.renderer.ValueHolderDesignTimeRenderer.encodeBegin(ValueHolderDesignTimeRenderer.java:59)
         at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:683)Nevertheless - when I deploy my application, the locales are processed correctly.
    What am I doing wrong?

  • Java API, problem with secondary keys using multi key creator

    Hi,
    I'm developing an application that inserts a few 100k or so records into a Queue DB, then access them using one of four Hash SecondaryDatabases. Three of these secondary dbs use a SecondaryMultiKeyCreator to generate the keys, and one uses a SecondaryKeyCreator. As a test, I'm trying to iterate through each secondary key. When trying to iterate through the keys of any of the secondary databases that use a SecondaryMultiKeyCreator, I have problems. I'm attempting to iterate through the keys by:
    1: creating a StoredMap of the SecondaryDatabase
    2: getting a StoredKeySet from said map
    3: getting a StoredIterator on said StoredKeySet
    4: iterate
    The first call to StoredIterator.next() fails at my key binding (TupleBinding) because it is only receiving 2 bytes of data for the key, when it should be getting more, so an Exception is thrown. I suspected a problem with my SecondaryMultiKeyCreator, so I added some debug code to check the size of the DatabaseEntries it creates immediately before adding them to the results key Set. It checks out right. I also checked my key binding like so:
    1: use binding to convert the key object to a DatabaseEntry
    2: use binding to convert the created DatabaseEntry back to a key object
    3: check to see if the old object contains the same data as the new one
    Everything checked out ok.
    What it boils down to is this: my key creator is adding DatabaseEntries of the correct size to the results set, but when the keys are being read back later on, my key binding is only receiving 2 bytes of data. For the one SecondaryDatabase that doesn't use a SecondaryMultiKeyCreator, but just a SecondaryKeyCreator, there are no issues and I am able to iterate through its secondary keys as expected.
    EDIT: New discovery: if I only add ONE DatabaseEntry to the results set in my SecondaryMultiKeyCreator, I am able to iterate through the keys as I would like to.
    Any ideas or suggestions?
    Thank you for your attention,
    -Justin
    Message was edited by:
    Steamroller

    Hi Justin,
    Sorry about the delayed response here. I have created a patch that resolves the problem.
    If you apply the patch to your 4.6.21 source tree, and then rebuild Berkeley DB, the improper behavior should be resolved.
    Regards,
    Alex
    diff -rc db/db_am.c db/db_am.c
    *** db/db_am.c     Thu Jun 14 04:21:30 2007
    --- db/db_am.c     Fri Jun 13 11:20:28 2008
    *** 331,338 ****
           F_SET(dbc, DBC_TRANSIENT);
    !      switch (flags) {
    !      case DB_APPEND:
                 * If there is an append callback, the value stored in
                 * data->data may be replaced and then freed.  To avoid
    --- 331,337 ----
           F_SET(dbc, DBC_TRANSIENT);
    !       if (flags == DB_APPEND && LIST_FIRST(&dbp->s_secondaries) == NULL) {
                 * If there is an append callback, the value stored in
                 * data->data may be replaced and then freed.  To avoid
    *** 367,388 ****
    -            * Secondary indices:  since we've returned zero from an append
    -            * function, we've just put a record, and done so outside
    -            * __dbc_put.  We know we're not a secondary-- the interface
    -            * prevents puts on them--but we may be a primary.  If so,
    -            * update our secondary indices appropriately.
    -            * If the application is managing this key's data, we need a
    -            * copy of it here.  It will be freed in __db_put_pp.
    -           DB_ASSERT(dbenv, !F_ISSET(dbp, DB_AM_SECONDARY));
    -           if (LIST_FIRST(&dbp->s_secondaries) != NULL &&
    -               (ret = __dbt_usercopy(dbenv, key)) == 0)
    -                ret = __db_append_primary(dbc, key, &tdata);
                 * The append callback, if one exists, may have allocated
                 * a new tdata.data buffer.  If so, free it.
    --- 366,371 ----
    *** 390,401 ****
                /* No need for a cursor put;  we're done. */
                goto done;
    !      default:
    !           /* Fall through to normal cursor put. */
    !           break;
    !      if (ret == 0)
                ret = __dbc_put(dbc,
                    key, data, flags == 0 ? DB_KEYLAST : flags);
    --- 373,379 ----
                /* No need for a cursor put;  we're done. */
                goto done;
    !      } else
                ret = __dbc_put(dbc,
                    key, data, flags == 0 ? DB_KEYLAST : flags);
    diff -rc db/db_cam.c db/db_cam.c
    *** db/db_cam.c     Tue Jun  5 21:46:24 2007
    --- db/db_cam.c     Thu Jun 12 16:41:29 2008
    *** 899,905 ****
           DB_ENV *dbenv;
           DB dbp, sdbp;
           DBC dbc_n, oldopd, opd, sdbc, *pdbc;
    !      DBT olddata, oldpkey, newdata, pkey, temppkey, tempskey;
           DBT all_skeys, skeyp, *tskeyp;
           db_pgno_t pgno;
           int cmp, have_oldrec, ispartial, nodel, re_pad, ret, s_count, t_ret;
    --- 899,905 ----
           DB_ENV *dbenv;
           DB dbp, sdbp;
           DBC dbc_n, oldopd, opd, sdbc, *pdbc;
    !      DBT olddata, oldpkey, newdata, pkey, temppkey, tempskey, tdata;
           DBT all_skeys, skeyp, *tskeyp;
           db_pgno_t pgno;
           int cmp, have_oldrec, ispartial, nodel, re_pad, ret, s_count, t_ret;
    *** 1019,1026 ****
            * should have been caught by the checking routine, but
            * add a sprinkling of paranoia.
    !      DB_ASSERT(dbenv, flags == DB_CURRENT || flags == DB_KEYFIRST ||
    !            flags == DB_KEYLAST || flags == DB_NOOVERWRITE);
            * We'll want to use DB_RMW in a few places, but it's only legal
    --- 1019,1027 ----
            * should have been caught by the checking routine, but
            * add a sprinkling of paranoia.
    !       DB_ASSERT(dbenv, flags == DB_APPEND || flags == DB_CURRENT ||
    !             flags == DB_KEYFIRST || flags == DB_KEYLAST ||
    !             flags == DB_NOOVERWRITE);
            * We'll want to use DB_RMW in a few places, but it's only legal
    *** 1048,1053 ****
    --- 1049,1107 ----
                     goto err;
                have_oldrec = 1; /* We've looked for the old record. */
    +      } else if (flags == DB_APPEND) {
    +           /*
    +            * With DB_APPEND, we need to do the insert to populate the
    +            * key value. So we swap the 'normal' order of updating
    +            * secondary / verifying foreign databases and inserting.
    +            *
    +            * If there is an append callback, the value stored in
    +            * data->data may be replaced and then freed.  To avoid
    +            * passing a freed pointer back to the user, just operate
    +            * on a copy of the data DBT.
    +            */
    +           tdata = *data;
    +           /*
    +            * If this cursor is going to be closed immediately, we don't
    +            * need to take precautions to clean it up on error.
    +            */
    +           if (F_ISSET(dbc_arg, DBC_TRANSIENT))
    +                dbc_n = dbc_arg;
    +           else if ((ret = __dbc_idup(dbc_arg, &dbc_n, 0)) != 0)
    +                goto err;
    +
    +           pgno = PGNO_INVALID;
    +
    +           /*
    +            * Append isn't a normal put operation;  call the appropriate
    +            * access method's append function.
    +            */
    +           switch (dbp->type) {
    +           case DB_QUEUE:
    +                if ((ret = __qam_append(dbc_n, key, &tdata)) != 0)
    +                     goto err;
    +                break;
    +           case DB_RECNO:
    +                if ((ret = __ram_append(dbc_n, key, &tdata)) != 0)
    +                     goto err;
    +                break;
    +           default:
    +                /* The interface should prevent this. */
    +                DB_ASSERT(dbenv,
    +                    dbp->type == DB_QUEUE || dbp->type == DB_RECNO);
    +
    +                ret = __db_ferr(dbenv, "DBC->put", 0);
    +                goto err;
    +           }
    +           /*
    +            * The append callback, if one exists, may have allocated
    +            * a new tdata.data buffer.  If so, free it.
    +            */
    +           FREE_IF_NEEDED(dbenv, &tdata);
    +           pkey.data = key->data;
    +           pkey.size = key->size;
    +           /* An append cannot be replacing an existing item. */
    +           nodel = 1;
           } else {
                /* Set pkey so we can use &pkey everywhere instead of key.  */
                pkey.data = key->data;
    *** 1400,1405 ****
    --- 1454,1465 ----
      skip_s_update:
    +       * If this is an append operation, the insert was done prior to the
    +       * secondary updates, so we are finished.
    +       */
    +      if (flags == DB_APPEND)
    +           goto done;
    +      /*
            * If we have an off-page duplicates cursor, and the operation applies
            * to it, perform the operation.  Duplicate the cursor and call the
            * underlying function.

  • Satellite U400 Impossible to create recovery DVD with Recovery disc creator

    Hi,
    I have a Satellite U400 (few years old), and I never created the recovery DVD.
    Now I want to do it, but for some reasons, when I launch Toshiba recovery disc creator, nothing happens...
    The partition with the recovery files is there, as well as the folder HDDRecovery. I did add some files to this partition, could this be the problem ?
    Thanks for your help.

    It is big problem now if the Toshiba tool cannot find the files.
    How it works you can read on http://forums.computers.toshiba-europe.com/forums/thread.jspa?messageID=140985
    Check it out please.
    What you can try now is to check if HDD recovery installation will start - http://aps2.toshiba-tro.de/kb0/HTD1303440001R01.htm but Im afraid the same problem will occurs again.
    To be honest you should install Win7 32bit on this small Satellite notebook. It works perfectly. Forget original Vista OS, Win7 works better.

  • MS Access and Sun Java Studio Creator

    I am new to the forum.
    Having searched for the issue above I failed to find a way to connect between MS Access database and Creator.
    However I came accross a thread in 2004 which suggested that Sun techs are working on a solution.
    I wonder if such a solution has been found ?
    If not I may have to convert my database to SQL to be able to use it with Creator or consider my purchase of Creator was a loss.
    This may be a better long term but very sad for someone who is using Creator for developing purposes.
    I will value your help.

    I also would find a driver for MS Access very useful. I currently have about 12 databases done in MS Access that we are trying to move over to something else. We are evaluating Creator for this and it would be useful if I could talk to the existing databases with it.
    We could port the databases over to SQL server but then I have to load that onto my home computer because I do a lot of work there.
    I read somewhere that it might be possible to use the JDBC-ODBC data bridge to read the access files but I am not sure how to set that up. I can find several 3rd party drivers but I woudl for a non-profit and there is never any money to buy stuff like that .

  • [installation] studio creator on Suse 10.1

    Hi there,
    on my laptop (1,7 Ghz cpu, 1 Ghz ram), runs Suse 10.1(kernel Linux 2.6.16.13-4-default i686) and I'd like install studio creator wich is at moment on XP (and I'm not very happy about the performance).
    But looking at http://developers.sun.com/prodtech/javatools/jscreator/sysreqs/index.jsp#04
    it seems that it can only runs on Red Hat Enterprise Linux 3.
    Did anyone try it on Suse, what will be the conseguence if I proceed anyway?
    Thanks in advance for your reply.

    Have you tried downloading and installing the latest HotFixes from the Update Center, on your window machine? The HotFixes have several performance improvement fixes.
    http://developers.sun.com/prodtech/javatools/jscreator/downloads/hotfixes/index.jsp
    Regarding creator on suse 10.1, users have reported that it runs fine:
    http://forum.sun.com/jive/thread.jspa?threadID=97305&messageID=334105

  • Studio Creator installation problem with Fedora 5

    Hi,
    I tried installing JCreator in Fedora core 5, but I get the problem concerning the graphical installation. I tried installing Jcreator in silent mode using the command line options -is:log log.txt �silent and a sp file which sets the installDir and is.debug to 1 , however the installation does not complete, properly and it does not install the SunAppServer8 directory

    I can't recall what they are, but I know that there are some libs that you need to install to get the Creator installation to complete OK on Fedora 5.
    I think that I ended up using some libs from either Fedora 3 or 4 since there were no Fedora 5 versions available for the two (and again, I can't recall what they were) libs.
    I do know that it is possible though as I have Creator on Fedora 5 right now.

  • Roxio Creator 2010 not installing on Windows 7

    I recently installed Window 7 Home Premium via a clean install.  Have been reinstalling programs as time permits.  Had to upgrade to Roxio Creator 2010 as my older version would not work.  First attempt at install gave an error stating that the installation had been interrupted.  As I recall, it was when the installation routine was trying to install DirectX 9.  This doesn't make sense since my computer shows DirectX 12 as being installed.  The installation ended.
    Subsequent tries at the installation have resulted in stoppages with the message "Setup has determined that your configuration does not support any of the included products".
    I have been going back and forth with Roxio tech support without success.  Thought that I would try here.
    They have told me to uninstall Microsoft.NET Framework 3.5.1, then update both DirectX and Microsoft.NET Framework.
    Microsoft.NET Framework (any version) does NOT appear in the "Uninstall or change programs" listing.  It does, however, appear in the "Turn Windows features on or off" listing.  It was first found to be turned off.  I subsequently turned on all of its features.  I understand that .NET is 'built-in' to W7.  Is that why it doesn't appear in the "Uninstall...." list or do I have a problem there?
    I downloaded dotnetfx35.exe and dotNetFx35setup.exe from the MS site.  The User Account Control box appears when either is selected.  When the "Yes" box is selected, each program appears to terminate without further action.  Does this mean that the installation was previously completed?
    When I tried the DirectX update, I got a message that I was at the latest level.
    Roxio's "Clean Install" routine, their knowledgebase article 000207CR, was performed at least four times under different circumstances without success.

    I had the same problem with the install at the point where the Roxio 2010 installer gets stuck on installing Microsoft.Net v3,5 SP1.  I went back and forth with Roxio tech support and Microsoft for two weeks.  Thanks to my IT background, I finally got Roxio Creator 2010 installed.
    Here is the fix:
    1.   Go to http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en and download "dotNetFx35setup.exe". Save it to your desktop.
    2.   Go to "Turn Windows Features on  or off" Deselect Microsoft.net 3.5 SP1.
    3.   Then right click on the Roxio Digital downloaded file and choose the Compatibility mode tab.
    4.   Change the Compatibility mode to "Windows Vista (Service Pack 2)".
    5.   Use an unpacking program such as "WinRar" to Unpack the Digital download to a specific location.
    6.   After unpacking, go to unpacked folder location "RoxioCreator2010".
    7.   Then open the folder "DOTNETFX_351" and go to folder "wcu" and open the folder, go to folder "dotNetFramework" and open the folder.
    8.   Replace the file "dotNetFx35setup.exe" you downloaded with the file in this folder.
    9.   Then right click on the file "dotNetFx35setup" and change the compatibility mode to "Windows Vista (Service Pack 2)".
    10. Now run the Roxio Installer.  The installer will take at least 15 minutes or more to finish.
    Good Luck!

  • Problem with Java Studio Creator and Tomcat Server

    Hi Gays ,
    I have problem:
    here is the error from tomcat 5
    com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.lang.RuntimeException: java.sql.SQLException: statement handle not executed: getMetaData
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java: 601)
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.ja va:316)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87 )
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    if i develop application on my pc ( java studio creator with sun apps bundlled) is working perfectly,
    but i migrated application to Tomcat Server ( Database the same - Oracle 10 g)
    i can't show value ( as text) from datasoruce ( is in SessionBean1)
    (Category-.>Subcat->Items->details( url from items table[items.jsp])
    this is a working url "/faces/testpage.jsp?auk_id=31 "
    ( working with sun apps server , but not on Tomcat 5)
    below prerender method in details.java and fragment of details.jsp
    public void prerender() {
    try {
    String idauk = (getExternalContext().getRequestParameterMap().get("auk_id").toString());
    System.out.println("wartosc auk_id " + idauk);
    if (idauk != null) {
    getSessionBean1().getDetailsRowSet().setObject(1,idauk);
    getSessionBean1().getDetailsDataProvider().refresh();
    details.jsp
    xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <ui:page binding="#{testpage.page1}" id="page1">
    <ui:html binding="#{testpage.html1}" id="html1">
    <ui:head binding="#{testpage.head1}" id="head1">
    <ui:link binding="#{testpage.link1}" id="link1" url="/resources/stylesheet.css"/>
    </ui:head>
    <ui:body binding="#{testpage.body1}" id="body1" style="-rave-layout: grid">
    <ui:form binding="#{testpage.form1}" id="form1">
    <ui:staticText binding="#{testpage.staticText1}" id="staticText1" style="position: absolute; left: 120px; top: 96px" text="#{SessionBean1.testDataProvider.value['Name']}"/>
    </ui:form>
    </ui:body>
    </ui:html>
    </ui:page>
    </f:view>
    </jsp:root>
    Help People ! Any Ideas I'm stuck, why is working with Sun Servet but not with Tomcat and only just thing ?
    Thanks in advance for helping me to resolve the night problem :)

    Hi I found solution, i puted on the page a table -component (with brand new automaticly created dataprovider) , then i set properties visible= false for table, and now I can bind statictext with database field and deploy on tomcat server .
    But i think it is not a elegant solution in page source i habe noused-code.
    Have Any another Ideas. HELP PEOPLE !!!!
    Mariuszek: I use Creator.because right now I can see result of my job and i can qickly change ideas ,
    I tried with JDeveleper but i did'nt find this functionality (wich version do you prefered ?) , unfortunately i have to deploy my application on Tomcat. This is my study project, and i make this to become a Master of Techinal Univeristy ;), Deadline time is 30 th September :(
    greetings

  • Help needed with Sun Java Studio Creator and EJB in a Portlet Project

    Hi
    I have created an web-application with JSF in Sun Java Studio Creator 2. The web application uses a lot of EJB's which acts as the dataProviders. In a typical jsp page i have more that one data providers(the EJB's) getting used. When i run the project everything opens up properly in the browser and the application seems to be fine.
    But when i create a JSP 168 Portlet project and do exactly the same thing for some reason the Apache Pluto(comes as the default Portlet Container with Studio Creator) conks off.
    Then i started going ahead step by step:
    1. First i created a portletpage and added only one dataProvider(EJB) and ran the project...It gets deployed properly in Pluto and the browser comes up and everything shows up fine.
    2. Just to re-confirm i did the same thing with another dataProvider(EJB). So still we have just 1 EJB in the portlet page. As expected it also worked fiine.
    3. Then when I added more that one dataProviders(EJBs) in the porlet page the Apache Pluto conks off(saying that Pluto is not available)
    I tried doing a lot of things but nothing works...Surprisingly the same thing works when u create a JSF web Application project but the same thing does not work when u create a JSR 168 JSF Portlet Project...
    Did anybody face the same problem..Is it a bug in the Studio Creator...Any help would be highly appreciated.

    Hi,
    There are a few discussion threads in the feedbackprograms portal for Creator 2 EA 2. The URL is:
    https://feedbackprograms.sun.com/login.html
    In the EA discussion forum you will find threads which discuss the concerned topic. In specific look for threads titled:
    # Deploying Portlets
    # Taking a JSC Portlet to Tomcat creates a Faces Mapping Error
    # Problem with Pluto when trying to deploy a portlet
    # Request: JSR-168 Portlet Project without JSF
    We kindly request you to post your further queries related to EA in the above mentioned forum.
    Cheers
    Giri

  • Applying Java's internationalization facilities to a web application

    Hello,
    I am a member of a software developing team (using Java-based technologies). Our web application consists of a:
    1. static part (HTML-based pages), and
    2. a dynamic part (using JSPs and servlets, mainly)
    The static part of our web site is currently supported in four languages, having our html pages replicated four times. On the other hand, the dynamic part of our web (that is, the part of our web site restricted to authorized
    users only, using JSPs and servlets) is only supported in one of those languages and we are thinking of extending it to support, at least, one more of the other languages. Obviously, it wouldn't be manageable replicating the JSP
    pages (about a hundred or so) for the new language, so we are thinking of using Java's internationalization facilities. According to what I have understood, we have two possibilities, basing the internationalization process on:
    a. properties files (one for each language?)
    b. class files
    Knowing all this, our problem is a matter of organization of those approaches. How could I organize the different files? Should I use a database to store the messages, instead of using files (either properties files or class files)? Or might I create different files depending on where the string texts appear? For example, create a
    properties file or a class file containing the different string messages in every JSP file? Any other ideas of organization or design would be highly appreciated. Do you know any other web site where internationalization has been applied or case studies dealing with this matter?
    Thanks in advance.

    >
    Knowing all this, our problem is a matter of
    organization of those approaches. How could I organize
    the different files? Should I use a database to store
    the messages, instead of using files (either
    properties files or class files)? Or might I createYou could go with using Java's existing resource bundle facilities to work with localized resource bundles stored in files. Whether that be list or property resource bundles, the code is already written to load and manage resource bundles in these formats. I have personally worked with database-backed resource bundles, but that required custom code to be written.
    On a performance note, list resource bundles are found before property resource bundles. In a development environment, I've used property resource bundles and when moving an application into production, I have gone through the conversion of the property to list resource bundle format. There's a utility in our book, "Java Internationalization" (O'Reilly) which does conversion from property to list resource bundle format for you.
    different files depending on where the string texts
    appear? For example, create a
    properties file or a class file containing the
    different string messages in every JSP file? Any other
    ideas of organization or design would be highly
    appreciated. Do you know any other web site where
    internationalization has been applied or case studies
    dealing with this matter?Also in our book, we advocate using different resource bundles for holding different types of localized data. For example, there's nothing that says you cannot have resource bundles devoted to user exception messages, status messages, regular text, prompt text, etc... By splitting up your resources into different categories and placing them in an appropriately named resource bundle, you can know exactly where certain resources will be pulled from when your application is running.
    >
    Thanks in advance.Hope this helps.
    -David

  • PO Report by PO creator's name

    Hello!
    Is there any way (other than the Document Overview Method and the EKKO Database Table Method) wherein a PO report can be generated along with the PO creators name.
    Thanks in advance.
    Riju.

    Hi!
    Thanks.
    Yes. That's true. But what if I don't know the SU01 names of any of the PO creator's beforehand.
    For example, if i wish to take out the list of all the POs in a company code with the PO creator's name, but I don't know the names beforehand.
    Thanks and Regards,
    Riju.

  • How to chage the welcome file in web.xml using creator?

    Hi guys,
    I want to set the welcome file in web.xml to index.html but every time I run my project in creator, creator replaces index.html by faces/index.jsp. I need the index.html to check if the browser enables cookies & javascript and then I redirect to index.jsp. If I change the web.xml in a common editor, build the war-file with ant and deploy the project with tomcat, everything is fine. but how can I change it in creator?
    thanks in advance

    Sorry, that doesn't make much sense.
    The XML you gave is a configuration file for txt2xml utility. It doesn't represent the output format.
    Are you a user of this utility?

  • Task API - Completed Tasks for Creator

    Hi,
    I started to investigate the BPEL TaskManager Service following the Steps of Tutorial 6. That works great, no problem there.
    Then I followed Tutorial 7 to invoke the BPEL process from a Java Application. That also works fine.
    Finally I used the TaskManager API to retrieve all Tasks owned by a creator.
    So I used the following code:
    ITask[] creatorTasks = worklist.listTasksByCreator("TaskSample");
    System.out.println( " **** Creator Tasks ****");
    for (int j = 0; j < creatorTasks.length; j++) {
    ITask thisTask = creatorTasks[j];
    System.out.println("Task Title " + thisTask.getTitle() + " Status: " + thisTask.getStatus());
    What happens is that the API is giving me only the tasks that are in the "Active" Status and I want also the ones that are in the "Completed" Status.
    However with the following code, the completed tasks appear:
    ITask[] allTasks = worklist.listTasks(1,100);
    System.out.println( " **** All Tasks ****");
    for (int j = 0; j < allTasks.length; j++) {
    ITask thisTask = allTasks[j];
    System.out.println("Task Title " + thisTask.getTitle() + " Status: " + thisTask.getStatus());
    So my question is: does "listTasksByCreator" only gives the "Active" tasks or is this a bug ?
    I will be waiting for your answer.
    Thanks,
    Claudio.

    Hi Brooke,
    I recommend to change the $item.percentcomp, $item.created, $item.status and $item.id to be like this: $item[" percentcomp"], $item[" created"], $item[" status"] and $item[" id"] in the command.
    Please also make sure that the percentcomp or status is the internal name of the fields.
    More reference:
    SharePoint: A Complete Guide to Getting and Setting Fields using PowerShell:
    http://social.technet.microsoft.com/wiki/contents/articles/20831.sharepoint-a-complete-guide-to-getting-and-setting-fields-using-powershell.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How do I print a book from book creator on the ipad?

    I have created a book on the ipad using book creator.  I do not have an apple computer, I have only got the ipad.  I cannot email the book as it has too much memory.  I have exported it to itunes as pdf.  Can I get it printed in the apple store from pdf in itunes?

    Once you've exported the book to iTunes as a PDF, connect your iPad to your PC/Mac and open iTunes.
    In iTunes, click on your iPad from the top toolbar and go to Apps.
    Scroll down to the section which says File Sharing, and click on Book Creator. You'll now see a list of Book Creator documents which should include the PDF you exported.
    If you right-click on the PDF you can save it to your desktop, ready to send to a printing service.

Maybe you are looking for