Resource bundle question, where does it fit into package structure?

I have a resource bundle but am getting an exception that says my resource bundle is not found (base type) of my OS local. I am not sure why.
Here is my log...
11 Apr 2009 10:40:09 AM suncertify.util.ErrorHandler handle
SEVERE: Can't find bundle for base name SuncertifyExceptionBundle, locale en_ZA
java.util.MissingResourceException: Can't find bundle for base name SuncertifyExceptionBundle, locale en_ZA

Just some thaughts I would like to get opinions on. I felt I would create different bundles for Exception messages, and GUI text. I even go as far as creating a different bundle for each application mode, one for each different window(server, network, standalone). I want to know if I should let each of these classes call their respective bundle or should I let one class provide access to all resource bundles? Which is more favourable? I only ask because I have a application constants class that I am recoding and I could "convert it" to open the needed bundle properties file for the appropriate Strings?

Similar Messages

  • Where does SRTCM fit into preparing ABAP for Hana?

    I've seen and heard mention of transaction SRTCM (Runtime Check Monitor), to run in Production for one or two weeks to go alongside static code checks. I'm a little confused on how this fits into preparing our code for Hana though.
    If we use ATC/Code Inspector with the 'FUNCTIONAL_DB' and 'PERFORMANCE_DB' variants and then the SQL Monitor in Production, these are then plugged into transaction SWLT to provide a focused list on what we need to work on. SRTCM, however, does not seem to fit into this picture. There doesn't seem to be a way of plugging it into SWLT (unless I'm missing something?). Or is it meant as a stand alone tool?
    We're on SAP_BASIS 740, SP8, in case that makes the difference.
    thanks,
    Malcolm.

    Dear Malcolm,
    you are right, SRTCM is not integrated into SWLT. You can use it as standalone tool. But it is an additional source of information to find critical places in source code. You can also export SRTCM information from an productive system and import it into an development system.
    Best Regards, Thomas

  • Resources Bundle question

    I am using the following code to get the property file
    try {
    Res = ResourceBundle.getBundle("test.resources.uiRes", pLocale);
    } catch (MissingResourceException e) {
    System.out.println("Unqualified resource bundle name");
    where pLocale is a parameter.
    But it seems once the resource is load, I cannot reload the resource again in different locale. Anyone can give me some hints?
    Thanks

    Hmmm.... interesting - thanks for sharing it with us!
    I'm wondering if the main ResourceBundle you're using will only ever end up with the default system Locale, simply because you're never defining m_resource_bundle's Locale when you're creating it. Calling this.setLocale() the way you are certainly has the potential to be taking care of this, but whether or not it actually does is something I'm not sure of. Certainly one I'll have to try though!
    I have seen SwingUtilities.updateComponentTreeUI() work to an extent. If you're using a special font, resetting the font on all components before using this is often a very good idea, but it still doesn't force absolutely everything to repaint.
    One final thing to bear in mind for the newbies. If you're switching locales only, and not ResourceBundles, all the dates, times, currencies and other i18n data that Java carries within its i18n.jar will update automatically. You'll often need to set the font as mentioned above to get it all to display, but the way it all changes with one simple setLocale() call is excellent. If only ResourceBundles did the same!
    Hope that helps!
    Martin Hughes

  • Window does not fit into page

    Hi all,
    I'm creating a smartform which prints one internal table consists of 36 fields. In table line type i have mentioned the 36 fields. First four are of 4CM and other 32 fields of 2CM width. So in total i have mentioned as 80 CM. 
    But its showing an error like 'Main window does not fit into Page'.  
    What could be the mistake?
    Can anyone help me in this..
    Regards,
    Shanthi

    Hi,
    U have to adjust the 36 fields into 21 cm by Allocating Space accordingly.
    if Your Space is small then data will be displayed in the next line.
    And display The data in Smallest  font possible.
    Regards
    sandipan

  • I recently bought a Macbook Air and a Thunderbolt Display and the laptop's power is supposed to come from the display, but the power cable on the display does not fit into the Macbook Air.

    I recently bought a 11" Macbook Air and a 27" Thunderbolt Display.The laptop's power is supposed to come from the display when connected, but the power cable on the display does not fit into the Macbook Air.

    If your MBair is a 2012 model, it has a Magsafe 2 power connection.  The monitor probably has the old magsafe connection.  If this is the case, you need this adapter.
    http://store.apple.com/us/product/MD504ZM/A?fnode=5a

  • Transportation error - SIPT_INSERT_FI (SIPT_DATA|11) does not fit into the existing function group ((SIPT_DATA_FI|02))

    While performing a system maintenance task we came across this Transportation error - SIPT_INSERT_FI (SIPT_DATA|11) does not fit into the existing function group ((SIPT_DATA_FI|02))
    Can someone help us in resolving this
    Thanks and regards
    RS

    Please expand the log also please check the SAP note 1835436
    Regards
    Aneesh

  • Table does not fit into window.

    Hi Guys,
    When I execute the Smartforms I get this message ? '
    "Table does not fit into window."   any guess why this message ?
    Regards

    >
    P R Raghu wrote:
    > "Table does not fit into window."   any guess why this message ?
    > Regards
    If TABLE does not fit WINDOW try to take it through the DOOR LOL
    Doesn't the error seems self explanatory to you?
    Regards
    Karthik D

  • Error:   Table TEMPLATE_HEADER does not fit into window.

    Hello Experts ,
    I met a very strange problem.
    I am printing a process order using smartform.
    for other process nrs , print perfect.
    But only for a certain precess nr, I got a popup error 'Table TEMPLATE_HEADER does not fit into window.'
    At beginning , I suppose my table line extend the mainwindow width. But infact , no!
    I try to comment every node one by one, I found the reason: I put a table line into a loop node, if I add a text node which has something inside, it will triger this error. (only for this process order, others works fine)
    so , does someone met this error before ?
    Please help me!!
    Regards
    Kevin

    Hi Kevin,
    Which printer and device type do you use? For line printers and device type(driver STN2) like e.g. EPESCP9, the SAP system
    must use spaces and empty lines to place the text. This is a limitation of the ESC/P printer languagesa per SAP note #19807.
    For this, the Smartforms rounds all coordinates(of the table cells and the window). Only after this step it checks, whether the table fits into the window. So if the table size is quite close to the window size size, it may happen on line printers that the table doesn't fit anymore.
    If this is the reason for your problem, the error message should vanish if you increase the size of the window containing table TEMPLATE_HEADER a little in your smartform.
    Regards,
    Aidan

  • Template does not fit into the window

    Hello all,
    <b>Template does not fit into the window (Message no. SSFCOMPOSER173)</b>
    I am getting the above error in when i try to preview my smartform.
    The template is in footer window. I have only 3 lines in the template.
    And the size of template is less than window size.
    I do not understand why this error. This happened when there are many line items in the main window. With less no. of line items it worked well.
    If you have any suggestions Please help.
    Thanks.

    Hi,
    Please check the following points:
    1. Font size and font family.
    2. Line spacing
    3. Allignment.
    4. Left and right margin
    Deserve Rewards.
    regards.

  • Getting "Table %TEMPLATE does not fit into window" error

    Hello,
    I am trying to print a form to an old EPSON DFX-9000 dot matrix printer and am getting the error message Table %TEMPLATE does not fit into window".
    This only happens when I go to that printer.  I can print fine to a laser printer.
    I have tried creating a new device type and copying over the format from the laser printer, playing with the format, changing formats, ect.
    I have adjusted the size of the window that my template cannot allegedly fit into but still no luck.  I have checked the height and width of the template and the window many, many times and still get the same error.
    Has anyone seen this before?  Please help.   Thanks.

    Hi James,
    You need to see the width and height of the Page Format which you have set in Form Attributes of your smartforms.
    What ever you create should be within this width and height .
    So accordingly adjust the width and height of your windows and components within them
    Regards,
    Dep

  • Resource Bundling question.

    Hi,
    I have a message in my resource bundle say:
    static final Object[] messages_ =
    { T2zosMessageKeys.MYDETAILS_,
    " My name is = {0} and my age is "{1}"},
    My question is when I invoke this message in my resource bundle , how do I supply the parameters to the arguments {0} and {1}?

    Well, if that's your resource file, I would say you need some sort of method to search and replace those parameters in the string.

  • What/where does VideoDisplay load into?

    When VideoDisplay loads an FLV, where does it go? Into
    memory? Onto the local filesystem somewhere?
    I've got an app that loads an 80Mb FLV but the memory usage
    of the browser (Firefox) doesn't seem to climb, and I don't see any
    evidence of disk space being used in the shared objects directory
    or in the Firefox directory associated with the profile I'm using.
    The app listens for progress events and shows progress, and I
    can seek around in the video, so I'm pretty sure it's all getting
    loaded.
    Any ideas?

    Progressive download FLV content is cached by the browser.
    Video streams from Flash Media Server are not cached. You may not
    see it in your cache until it is fully downloaded. Then you can
    leave the browser open and go to your cache folder to find
    it.

  • P6N Diamond, SLI question: where does the 2nd card go?

    As per title, I have a P6N Diamond motherboard with 4 video card slots (four PCI-e x16), two yellow + two white. I have a single GPU/card in the first slot as usual, but I got a 2nd GPU/card today. Where does it go so I could get 16x16 SLI? Manual is unclear.
    2nd white slot (third PCI-e x16) or the yellow (second PCI-e x16) ?
    I ask because this motherboard has non-standard color coding. Even the RAM slots are not color coded (channel-wise). Instead of A-B-A-B color arrangement on the RAM slots as every other motherboard out there, this motherboard has A-A-B-B arrangement.

    Update: First of all, the case connectors on the motherboard are in the way for SLI purposes. They are too tall and block the insertion of the second card. On my old ASUS moterboard the case pins were on the bottom of the PCB, out of the way, but on this MSI motherboard they are on the side, lined up with the PCI-e x16 slot. Really dumb design! It might be fine for short video cards like 9600GT or similar, but for extended length dual slot video cards like GTX260 (which what I'm using) they are in the way, so much that the second card can't be inserted into the slot at all.
    I spent two hours modding the connectors. I had to snap and break the plastic plugs, remove the metal pins and mod them so they are only 3mm tall, instead of 9mm. I know this motherboard is old so MSI couldn't plan for GTX260/280 and other long cards, but cards like 7950GX2 and similar did exist and predate this motherboard so there is no excuse for MSI for placing the connectors in that position.
    Anyways, warning for any P6N Diamond owners: if you have extended length or longer dual slot video cards like GTX 260, GTX 280, and 4870x2 you will have problems with clearance and would need to do some severe modding or get a different motherboard.

  • Resource Bundle question

    Can I keep HTML format in a resource bundle -properties file?
    Anybody has expirience?

    yep u can keep HTML format in Resource bundle..
    basically if u get through reading of the Resource bundle u will find the answer by userself.
    when u say resource bundle .getBundle it assumes a class to be opened instead of a property file..
    and the key value pairs inside the property file is also readed the same way as that of the hashtable.
    Infact all the keys are cached as a part of the hashtable.
    and when u say bundle.getString(key) it returns u just a strings... whihc might contain any kind of string.
    hope this answers ur question

  • My Iphone Touch 4rd gen does not fit into Bose system

    I got me a new Ipod touch 4rd gen. Now it doesn't fit into my Bose system? Also not in my daugters Sony?
    Cable fits and it charges.

    If the docks use the universal dock system then you need to purchase these:
    http://store.apple.com/us/product/MC650ZM/A?fnode=MTY1NDA0OQ&mco=MTg5MTgxMjc
    Otherwise you can use a dock extender cable or use a knife and tape or similar to make the iPod fit.
    Cable:
    http://www.amazon.com/Connector-Extender-Extension-Cable-iPhone/dp/B004BJLXAM

Maybe you are looking for

  • Troubleshooting IC WebClient's Interactive Scripting Runtime

    What can you do if when running IC WebClient, scripts don't appear for selection in the dropdown. Here are few things to check if you encounter this symptom. It is     described depending on the CRM version you have installed <b>    CRM 4.0</b>     1

  • Can I define a constructor for a Custom Component?

    I have a custom component which I instantiate through ActionScript.  For the sake of clean code, I would like to be able to assign the variables through the constructor like any other class: var myComp:CustomComponent = new CustomComponent(arg1, arg2

  • Trading partner business area

    Hi Sap Experts, Where do define Trading partner business area and where it will be stored (Table). Regards, Prabhakar

  • AIX 5.3 TL 05 and Oracle 9i

    HI I need to have some information first about TL 05 for AIX 5.3 ? In what context the bug really appears ? Before this upgrade of my OS i must be in the serenity ocean ! Regards Den

  • OSB 10.3 Evaluation Version

    On trying to publish an OSB project to a local WebLogic server, Workshop reports an out of memory error - "requested array larger than heap" while weblogic_eval_Error.log reports the install as a "size resticted version". The OSB project contains no