How to fix "Must be literal" error when using a4j:keepAlive tag?

Hi everybody,
When I use <a4j:keepAlive> tag of Richfaces like this:
<a4j:keepAlive beanName="#{templateController.currentType}"/>I got the an error like this:
/templates.xhtml @20,91 <a4j:keepAlive beanName="#{templateController.currentType}"> Must be literalIn my class, I have declared as:
class TemplateController{
    private TemplateType currentType;
    public void setCurrentType(TemplateType type) {
    public TemplateType getCurrentType() {
}I implemented as guide from Richfaces document but don't know why this happened.
Could anyone tell me why? Please help me to fix it.
I really appreciate it,
Ringo
Edited by: Ringo.CS on Jun 19, 2008 3:42 AM
Edited by: Ringo.CS on Jun 19, 2008 3:43 AM

No, the error message says that the value must be a literal and thus not an EL. I don't know anything about Ajax4jsf (you're in the wrong place to ask questions about it, rather use the forums of the Ajax4jsf manfacturer at jboss.com), but the attributename and errormessage together makes it logical to put just the raw managed bean name in there. If this is not what you're after, then just consult their documentation and forums at jboss.com.

Similar Messages

  • [svn:fx-trunk] 10891: Fix for ASDoc throws error when using getter methods for pseudo-inheritance of static constants

    Revision: 10891
    Author:   [email protected]
    Date:     2009-10-06 09:46:47 -0700 (Tue, 06 Oct 2009)
    Log Message:
    Fix for ASDoc throws error when using getter methods for pseudo-inheritance of static constants
    QE notes: None.
    Doc notes: None
    Bugs: SDK-22676
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22676
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java

    Have you tried using com.adobe.air.crypto.EncryptionKeyGenerator instead?

  • How do I fix the Database Organizer Error when using Acrobat 9 Pro on desktop PC with Windows 8.1 and 64-bit OS?

    After loading Acrobat 9 Pro on my desktop PC (Windows 8.1; 64-bit OS), opening and closing a previously saved pdf file, I constantly get a message pop-up that indicates a "database organizer" error.
    How do I fix this?
    I have read multiple responses at various forums and they do not seem to apply, or have not worked for others, with regard to the details of my version of Acrobat and Windows OS.
    I'm beginning to think that the only solution is to purchase the latest version of Acrobat Pro and install it on my PC, which, of course, I would prefer not to do, unless this is my only viable option.
    Can this problem, specific to my version of Acrobat and Windows OS, be fixed or is the simple answer:  purchase the latest version of Acrobat Pro, because there is no fix for my version of Acrobat/Windows OS?
    Any help would be greatly appreciated.
    FHW

    Hi Frank ,
    Please refer to the following link and see if this helps.
    https://helpx.adobe.com/acrobat/kb/error-organizer-database-damaged-reset-1.html
    Regards
    Sukrit Dhingra

  • How to fix the 42408 unknown error when trying to authorize computer?

    I have 2 ipods which i use on th same account so they both have the same sogs and videos. I just recently tried to plug in the ipod videoto ge all my movies and tv shows and songs but it said that i neded to authorize my computer. I typed in my password and the friendly 42408 unknown error showed up..How do i fix this?

    In the course of your troubleshooting to date, have you worked through the following document?
    [iTunes: "Error 42408" or "Error 42404" after upgrading to iTunes 9.0.3|http://support.apple.com/kb/TS3258]

  • "caching-descriptor" must be declared error when using ejbc on WLS6.0 with EJB 1.1

    I'm compiling with ejbc an entity bean .jar. Using WLS 6.0. In the ejb-jar.xml,
    I've set version to EJB 1.1. I've made sure the weblogic-ejb-jar.xml has the caching-descriptor
    element defined (used to work with WLS 5.1).
    Thanks.
    Sayid
    Error is : org.xml.sax.SAXParseException: Element type "caching-descriptor" must
    be declare d. at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java
    :1008) at weblogic.apache.xerces.validators.common.XMLValidator.reportRecoverab
    leXMLError(XMLValidator.java:1236) at weblogic.apache.xerces.validators.common.XMLValidator.validateElement
    AndAttributes(XMLValidator.java:2673) at weblogic.apache.xerces.validators.common.XMLValidator.callStartElemen
    t(XMLValidator.java:818) at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher
    .dispatch(XMLDocumentScanner.java:1222) at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
    mentScanner.java:380) at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
    at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:128 ) at
    weblogic.ejb20.dd.xml.WebLogicEjbJarLoader_WLS600.process(WebLogicEjb JarLoader_WLS600.java:455)
    at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:9 3) at
    weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:4 7) at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:3
    8) at weblogic.ejbc20.runBody(ejbc20.java:665) at weblogic.utils.compiler.Tool.run(Tool.java:81)
    at weblogic.ejbc.main(ejbc.java:20) --------------- nested within: ------------------
    weblogic.xml.process.XMLParsingException: Element type "caching-descriptor" must
    be declared. - with nested exception: [org.xml.sax.SAXParseException: Element
    type "caching-descriptor" must be declar ed.] Line: 8 Column: 27 at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:132
    ) at weblogic.ejb20.dd.xml.WebLogicEjbJarLoader_WLS600.process(WebLogicEjb JarLoader_WLS600.java:455)
    at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:9 3) at
    weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:4 7) at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:3
    8) at weblogic.ejbc20.runBody(ejbc20.java:665) at weblogic.utils.compiler.Tool.run(Tool.java:81)
    at weblogic.ejbc.main(ejbc.java:20) ERROR: weblogic.xml.process.XMLParsingException:
    Element type "caching-descripto r" must be declared. - with nested exception:
    [org.xml.sax.SAXParseException: Element type "caching-descriptor" must be declar
    ed.] Line: 8 Column: 27

    but a bean's deployment descriptor lies in the
    meta-inf folder, right?Sorry, my mistake. I was thinking of WAR files while writing. Thanks for pointing out.
    Regards,
    $ Carol.

  • How do I avoid getting this error when using an OpenVPN?

    I did a little research online and noticed that people got this same (or a very very similar) error in iOS on Safari when browsing with a proxy and they just had to reset network connections.
    I'm getting it in OS X. When I turn on the VPN sometimes browsing will work fine, but then this pops up and once I get this error in one tab I get it in all of them. Firefox still works. There's plenty of memory -- RAM and ROM.
    When I turn off the VPN it works again.

    Thanks Carolyn!
    I don't think this is the solution for me, although I do think it is a clue. It can't be a mistyped proxy field, as this happens across different VPN's (i.e. work, personal, school) and browsing is working fine for a time before it starts all the sudden giving me that message.
    I am on 10.8 which I didn't think was related, but now I'm starting to think maybe it is, so I'll also post in the Dev community. However if you or anyone has any ideas PLEASE do follow up, as I find the user support community to be far, far more useful than the Dev community in general!

  • How do I fix a "medium write error" when I try to burn a MP3 CD?

    how do I fix a "medium write error" when I try to burn a MP3 CD?
    Thanks,
    Jackie

    First, update your Mac OS 10.6.8 (Apple menu Software update).
    If that doesn't do it, try a different brand CD-R.

  • How do you fix a msvcr80.dll error when trying to install itunes 11.1.4

    How do you fix a msvcr80.dll error when trying to install itunes 11.1.4?

    This also work100% 
    Removing and reinstalling iTunes and other software components
    If applicable, disconnect any iPod or iOS device and close Microsoft Outlook.
    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later).
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (see note 1 below)
    iCloud (if present)
    MobileMe (if present) (see note 2 below)
    Bonjour
    Apple Application Support
    Reboot your computer. Delete any of the following folders where they can be found: (see note 3 below)
    C:\Program Files\Bonjour
    C:\Program Files\Common Files\Apple
    C:\Program Files\iPod
    C:\Program Files\iTunes
    also on 64-bit systems:
    C:\Program Files (x86)\Bonjour
    C:\Program Files (x86)\Common Files\Apple
    C:\Program Files (x86)\iPod
    C:\Program Files (x86)\iTunes
    Download the iTunes setup file and run it to install. Use an account with administrative rights. This can usually be achieved by right-clicking on the downloaded file and selecting Run as... or Run as Administrator. In some cases a combination of Shift or Ctrl keys may be required for the option to show, or it may not be necessary.
    If you deleted iCloud and reinstalling iTunes doesn't automatically reinstall it visit iCloud Control Panel.

  • How to fix Adobe App Manager error code -60 Download appears corrupt but only for Photoshop CS6 app

    How to fix Adobe App Manager error code -60 Download appears corrupt but only for Photoshop CS6 Creative Suite Cloud App. Many attempts were made to install Photoshop CS6 with Adobe Application Manager without success. Every other Creative Suite Application was successfully downloaded. I keep getting Installation Failed when attempting the Photoshop install. How does one correct this?

    Thanks Jeff! So, it totally appears as if it was a network issue. The corporate network where I work is quite likely the culprit. Where I was thrown off is that since I have admin rights on my computer, I can install software. But using Adobe Application Manager to install Adobe software wasn't working. And to make matters worse, there didn't appear to be any way to install Acrobat Pro for Mac without using AAM. The workaround that I used previously was to install the trial versions of Adobe software, and then just register them using my username and password. But the workaround for being able to install everything using AAM was to bring my computer home and download from my home network.

  • How to fix Acrobat 9 Standard freezing when I try to open a PDF form I created?

    How to fix Acrobat 9 Standard freezing when I try to open a PDF form I created?

    Hi jamesh,
    Considering the error 'licensing has stopped working', I would refer you to visit this KB doc link and try troubleshooting:
    Error "Licensing has stopped working" | Windows
    Regards,
    Anubha

  • How to fix "1801-Microcode Update Error" in HP Compaq dc7700p Convertible Minitower

    Hello, 
    i've been reading and reading this post for a several times and i'm not sure will this work on my PC so i must ask, how to fix "1801-Microcode Update Error" in HP Compaq dc7700p Convertible Minitower i've upgraded it with E7200 instead of the original E6300
    here's Product Number: p/n RN120ET#UUZ
    I'm able to boot up and start windows i don't know is it working normaly or not, i'm just annoyed with the boot message: 
    Please HELP and Thank You in advance !!!
    This question was solved.
    View Solution.

    Hi:
    You will need to update the BIOS to its latest version to get rid of the microcode error, and the processor will only run at half the FSB speed because the BIOS update was not written to make the E7xxx processors work correctly.
    You will need to run this software each time you get into windows and change the multiplier to the max.
    Or you can run that batch file listed on the below webpage for it to run automatically.
    http://crystalmark.info/software/CrystalCPUID/index-e.html
    If I were you, I would just install a Conroe E6700 and have a problem-free upgrade.
    You will need to use the DOS based flash because I don't think there is a BIOS update written for W7.

  • HT203200 How can i solve the -50 error when downloading video from itunes??

    How can I solve the -50 error when downloading video from itunes.   The apple support people cannot even figure it out!??

    The 2330 error often means some sort of damage to the filing system as might happen if the battery fell out while the disk was in use.
    Try running a disk check to see if it finds and fixes any errors.
    http://support.microsoft.com/?kbid=315265

  • My transparency does not work on my iPhone and I was wondering how I fix that? It worked when I first downloaded ios7 but not now.

    My transparency does not work on my iPhone and I was wondering how I fix that? It worked when I first downloaded ios7 but not now.

    Hello wilsontot_too,
    Thank you for the details of the issue you are experiencing on your iPhone.  It sounds like you are not noticing transparency on your iPhone.  It may be that you have "Increase Contrast" turned on in your iPhone settings.
    I recommend verifying that Increase Contrast is turned off in Settings>General>Accessibility.
    iPhone User Guide - Large, bold, and high-contrast text
    http://help.apple.com/iphone/7/#/iph73b89c6
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • How do I correct an "undetermined error" when trying to reload Photoshop CS4 remotely on a Mac Air?

    How do I correct an "undetermined error" when trying to reload Photoshop CS4 remotely on a Mac Air?

    Hi dsalacain,
    Are you trying to run the setup from network location. If yes please copy the installation file to the desktop of the Mac and try installing again.
    Regards,
    Romit Sinha

  • Help! How to fix "Acrobat quit unexpectedly (error code: 0x00000004)"?

    Help! How to fix "Acrobat quit unexpectedly (error code: 0x00000004)"?
    Customer service ask me uninstall - restart PC - CC cleaner tool - restart PC again - reinstall, but still useless.
    Who also facing this problem?

    I already check the permission, but still can't run.

Maybe you are looking for