How to use a constant rather than a "getter"?

I'd like to refer to a constant rather than a property using a "getter" (accessor), but I'm not sure how.
For example:
<f:selectItem itemLabel="Option1" itemValue="#{Constants.MINIMUM}"/>
But of course this results in trying to call getMINIMUM(), which isn't what I'm trying to so.
Any ideas?

hi ,
as far i know u cannot access a variable unless using a getter method !!
Viel spasss...

Similar Messages

  • How to use request variables rather than session variables

    Are there any good examples? , I am constantly adding too many session variables in the fear they will get 'crossed over'.
    Like when you spawn new windows.
    how to refresh a page when the variable was passed on the URL.?
    A guide with all the varible passing methods woulbe be great.
    Regards
    Jonathan.

    See the other post:
    http://swforum.sun.com/jive/thread.jspa?threadID=50091&tstart=0
    The problem is when the page is reloaded when a button is pressed for example, the URL variables are gone.
    I know to to retrieve the variables, just having problems putting it all together.
    I'm trying to avoid using session varibles.
    Regards,
    Jonathan

  • How to set iPhoto to use yahoo webmail rather than mail.app

    When emailing from within iPhoto using the email icon or via the share menu option in the task bar, mail.app launches. I prefer to use (Yahoo) webmail, rather than use an email client, so how do I change this setting?
    Thx in advance.

    Mansel
    Simply: you can’t, I’m afraid. This feature requires an E-Mail Client that supports Apple Script. Yahoo Mail is a service (not an client) that’s accessed via a Web Browser and it’s not Apple Scriptable.
    FYI:
    There are many, many ways to access your files in iPhoto:
    *For Users of 10.5 Only*
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Apple-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    *For users of 10.4 and 10.5* ...
    Many internet sites such as Flickr and SmugMug have plug-ins for accessing the iPhoto Library. If the site you want to use doesn’t then some, one or any of these will also work:
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. However, if you're using Gmail you can use iPhoto2GMail
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto not running*:
    Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    Regards
    TD

  • How to tell AE CS6 to use bundled Mocha rather than Pro?

    I recently upgraded my bundled Mocha from AE CS6 to Mocha Pro 4, but for some unknown reason, it won't let me export shape data in Mocha.  There seems to be no data at all, as even trying to paste in Notepad results in nothing.  Tracking data, however, works fine (both in AE and Notepad).
    Since I cannot figure out any solution in Mocha, the only thing I can do is use bundled Mocha rather than Pro... but I do not know how to tell AE to use bundled Mocha rather than Pro when I click 'Track In Mocha' (...a setting which was changed when Pro was installed).
    Does anyone know where/how I can switch it to Mocha bundled when you click on Track In Mocha?  (or, does anyone have any idea why Pro would not export shape data, whereas the same project in bundled Mocha did?)
    If anyone has any answers or theories, please let me know ASAP, as I have a project I'm trying to complete, and (as luck always has it) the weekend is now upon us, and support is closed over the weekend.

    I tried connecting MBP and TC via Ethernet - after verifying the settings that you suggested - and it does not work: if I turn Airport off, Time Machine says it can't find the TC
    Any other sugestions?
    Ok, then ethernet is not getting an ip address from the TC and is plugged in wrongly..
    You still didn't give me any idea of what actual model the linksys is.. and why is it in the network.. Is it a modem router?? If you have cable internet just throw it away and use the TC.
    If you have the linksys as modem, then bridge it.. turn off wireless and run pppoe client on the TC.
    If the ISP does not allow pppoe client mode then simply use the TC in bridge. Turn off all wireless in the linksys and just use the TC.
    Still need info on how everything is setup to analyse the problem.

  • How can i move songs to my playlists using my iphone rather than computer?

    How can I move songs to my playlist using my iphone rather than my computer?

    @allamb & stephanW
    I found this thread via a search, I have a new iphone 5 (also i am completely new to iphone, having been the last few years on android) and i have spent 20 minutes trying to figure out how to add a song to a playlist.
    You see i sit a work and listen to dozens of tunes, and i want to add a paticular song to a particular play list, and low and behold I can't, excuse my special characters but "What the f#%k itunes/apple??? - how can this be? Such a commonly needed function and for itunes to be the number music player in the world not to have this feature is ludicrus.
    I am lucky that i only have about 500 songs on my iphone thus far, i feel sorry for stephanW with 4000+ !!
    Apple - please fix  - this is schoolboy programming stuff...

  • I have a separate apple id and my daughter bought a song using my ID rather than hers.  Now I've got this song that I don't care for and have no use for.  Is there a way to get it to her ID short of burning it on to CD and then uploading it to her phone?

    I have a separate apple id and my daughter bought a song using my ID rather than hers. She was playing on my computer and bought it, thinking it would download to her phone through the cloud. Now I've got this song that I don't care for and have no use for.  Is there a way to get it to her ID short of burning it on to CD and then uploading it to her phone?

    sure pretty simple.  make a backup of your current settings
    http://support.apple.com/kb/HT1766?viewlocale=en_US
    then restore device from old backup you need pics off of
    then import pics to computer
    http://support.apple.com/kb/HT4083
    you may need to save pics to camera roll first
    then restore the new backup and sync pics back to phone via itunes
    Peace, Clyde

  • HT4863 Can I use g-mail rather than outlook?

    Can I use g-mail rather than outlook with icloud?

    Welcome to the Apple Support Communities
    Outlook is a mail program, and Gmail is a mail service. You can't use an iCloud mail with Gmail because Gmail can only be used with Google mail. If you don't want to use Outlook, you can set up your iCloud mail using this information > http://support.apple.com/kb/HT4864?viewlocale=en_US
    Also, you can access to your iCloud email on http://www.icloud.com

  • ThreadReaper object used with finalizer rather than finalizer on Timer?

    Timer class has threadReaper object used with finalizer rather than finalizer on Timer itself, can anyone explain the following snippet. what is the advantage of keeping the finalize in its references rathe rthan in the original object itself.
         * This object causes the timer's task execution thread to exit
         * gracefully when there are no live references to the Timer object and no
         * tasks in the timer queue.  It is used in preference to a finalizer on
         * Timer as such a finalizer would be susceptible to a subclass's
         * finalizer forgetting to call it.
        private Object threadReaper = new Object() {
            protected void finalize() throws Throwable {
                synchronized(queue) {
                    thread.newTasksMayBeScheduled = false;
                    queue.notify(); // In case queue is empty.
        };

    skakita wrote:
    Now I am getting something. If some-one subclass the Timer class and they forgot to call the finalize on the Timer... So they have done in this way. Thank u kayaman.Just in case you're interested, that pattern is called a 'finalizer guardian'. You may find it on Google.
    Winston

  • Is it possible to create a drop down menu using form fields rather than text?

    Is it possible to create a drop down menu using form fields rather than text?

    Yes, correct - values of form fields. If one is blank, then the field would be blank - yes? If two or more have the same value that is fine.
    A standard dropdown ... As shown here. If there is an easier way to do this, I'd love to hear your suggestions. Thank you!

  • [svn:fx-trunk] 7120: Switched to using "use namespace mx_internal" rather than using explicit namespace scoping (e.g.,  mx_internal::foo) in RichEditableText and its related classes.

    Revision: 7120
    Author:   [email protected]
    Date:     2009-05-19 23:46:06 -0700 (Tue, 19 May 2009)
    Log Message:
    Switched to using "use namespace mx_internal" rather than using explicit namespace scoping (e.g.,  mx_internal::foo) in RichEditableText and its related classes.
    Removed stale import statements.
    QE Notes: None
    Doc Notes: None
    Bugs: None
    Reviewer: Carol
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/RichEditable TextContainerManager.as

    I'm more of a 1.3 chick myself, but the words are the same just in a different language.
    1. Is Tomcat running?
    2. Have you configured the ajp13 connector on 8009 in Tomcat? (Should it be ajp13 for Apache 2.0? - I really must upgrade)

  • How to play SWF with AxShockwaveFlash control using a stream rather than a file path?

    My WinForm app downloads and plays SWF files from my server. Currently, I have an object of type AxShockwaveFlash called "flash" display the movie. The code I use to load the SWF is:
    flash.Movie = "http://example.com/file.swf"
    The URL is generated dynamically by the module based on what the user wants to watch.  I'd like to know how can I load the SWF using a memory stream rather than a file path? I have already configured my server to process the url and return the contents
    of the file. What I don't know is how to read those contents within my WinForm application as a stream instead of the default which is to just provide a URL path to the movie.
    For instance I think I can use the Net.HttpWebRequest object to make an HTTP request, and read the response contained in the resulting Net.HttpWebResponse into a stream, but I have no idea what I could do to that stream to feed it to AxShockwaveFlash
    A very similar question was posed on
    stackOverflow but I cannot make sense of the answer (I'm quite inexperienced).
    I'd appreciate your help,
    -Patrick

    Hi Patrick,
    Since this issue is mainly related to a control which belongs to third-party, I would recommend you consider posting this issue on the same site like the following thread because issues related to third-party are not supported.
    https://forums.adobe.com/thread/717505?tstart=0
    Regards.
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to print Cell Formula rather than its Result?

    Hi,
    I work with data that includes lots of multiple fractions, and print reports showing results of various calculations based on the fractions. The fractions themselves can be important, so I need to be able to display them when used in a formula.
    For example, in one cell (cell A1) I need to enter "1/3 * 13/21"; I need to display this formula when I print. Cell A2 would contain a specific number, like "141.5". Cell A3 needs to calculate A1 * A2.
    In order to provide a number that A3 can use, I need to enter "=1/3 * 13/21", but when printing this displays "206349". I can format A1 as text, but then A3 won't calculate it. I tried using "Value(A1)*Value(A2)" in A3, but it looks like Value will only accept a decimal number.
    So, is there any way to format some cells in a sheet (but not all cells) to display the cell contents rather than the result? Or a way to enter a fraction as text and have another cell evaluate the fraction or formula?
    Thanks for any help or advice.
    Tom

    Yvan,
    Merci for the reply.
    Unfortunately, that option does not work for my purposes. Below is a row that Numbers will allow me to print.
    0.07968198 | 1/6 | 23.58333 | 0.01463667 | 0.03333333 | 141.500
    Next is the row as I desire to print it (but have not figured out how to print):
    1/5 - (80/141.5 * 1/5) - (5.125/141.5 * 1/5) | 1/6 | 23.58333 | 0.01463667 | 0.03333333 | 141.500
    Next is the row as it appears if I follow your suggestion:
    =1/5 - (80/141.5 * 1/5) - (5.125/141.5 * 1/5) | =1/6 | =ROUND(D41*H41,5) | =ROUND(G41*H41/322.25,8) | =ROUND(C41*D41,8) | 141.5
    So in other words, I only want the first cell in the row to print as text. My clients need to see the equation in the first cell, not its calculated result. But for each following cell, they need to see the result; if I print the functions and cell references, as in the 3rd example, my report won't make any sense at all to my clients.
    Quattro Pro on Windows allowed me to do this easily. I switched to Mac and Excel 2008, and found a difficult workaround solution to accomplish this; but Excel is a dog of a program, with many bugs still. I'd much prefer to work with Numbers, but unless I can do something about the printing issue, I'll have to stick with Excel, or run Quattro under VMWare Fusion.
    Thanks a lot,
    Tom

  • Can I use album artist rather than Artist on my iPod160?

    The Artist selection on the iPod has its problems as "Album Artist" is not always the same as "Artist". I know I can correct the Cover Flow problems with Artist View by use of the Sort Artist option but I do have a few questions.
    I would rather display the Album Artist rather than Artist. Is this possible? I can do it in ITunes but cannot seem to do it on the iPod itself.
    Also, is it possible to do mass changes on Sort Artist rather than hit "next", paste the change, etc. Everything I try to mass change, Sort Artist is not an option.

    Hi,
    Unfortunately, the 'album artist' field is ignored on the iPod (I hope it one day will be 'solved'). If you mark albums with multiple artists as 'compilation', the album artist in iPod coverflow is automatically set to 'various artists'. And I haven't found a way to mass-edit the sort fields either

  • N8 - Use of WLAN rather than USB lead or Bluetooth

    Is there an application available for the N8 to allow the use of WLAN to copy files across to a PC, rather than having to use Bluetooth or the USB lead.
    I quite often use Bluetooth to transfer files such as Images but WLAN would be much faster.
    History: Always Nokia since 1994 including Nokia 2140, 7110e, 6150, 6210, 6310i, 6230i, N82
    Current: Nokia N8 (Anna - I have no intention of going to Belle) - and delighted with it!

    Dukto http://store.ovi.com/content/67131?clickSource=sea​rch will do that. You will need to also install it on your computer, link is in the store description. There was an issue with it defaulting to C: on the phone and filling the memory when transferring files to the phone, so make sure you check the settings - Although I think the developer was intending to solve the problem with this newer release - there is a thread about this somewhere on here, a search for Dukto should find it.
    There is a review at http://www.symbiantweet.com/dukto-r4-transfer-file​s-over-lan-between-clients-running-symbian-windows​...
    N8-00 pc059C9F6 Belle
    808 PureView pc059P6W5

  • How to Display the Image Rather Than the Link of a Dreamweaver Record From the Database

    I wanted the image rather than the link to appear on my page. The link is from my database which is
    imported from a .csv file.

    You use the link as the value of the src attribute of an <img> tag:
    <img src="<?php echo $row_getDetails['image_link']; ?>" alt="My image">

Maybe you are looking for