FMT and SQL tablibs not recognised in JSF2 xhtml page

The following xhtml page produces the html source shown below. However I can't get it to process the fmt and sql taglibs correctly. I had this working prior to using xhtml pages. I had a look a the J6EE tutorial (Chapter 6 - Facelets) which mentions all the other tab libraries, but not those two. What are the available alternatives ?
other.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
      xmlns:sql="http://java.sun.com/jsp/jstl/sql"
      xmlns:fn="http://java.sun.com/jsp/jstl/functions"
      xml:lang="en" lang="en">
<fmt:setBundle basename="com.j2anywhere.addressbookserver.web.Translations" var="translations" scope="session"/>
<f:loadBundle basename="com.j2anywhere.addressbookserver.web.Translations" var="faces_translations"/>
<h:head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <c:if test="${pageContext.request.requestURI ne '${pageContext.request.contextPath}/autoLogout.jsf'}">
  <meta http-equiv="refresh" content="1800;url=${pageContext.request.contextPath}/autoLogout.jsf"/>
  </c:if>
  <title><fmt:message key="PageTitle" bundle="${translations}"/></title>
  <script src="${pageContext.request.contextPath}/scripts/common.js" type="text/javascript"></script>
</h:head>
<h:body>
  <h1>Other</h1>
  <h:form>
    <h:outputText value="#{faces_translations.Yes}"/>
  </h:form>
  <h:outputText value="#{faces_translations.Yes}"/>
</h:body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns:sql="http://java.sun.com/jsp/jstl/sql" xml:lang="en" lang="en">
<fmt:setBundle basename="com.j2anywhere.addressbookserver.web.Translations" var="translations" scope="session"></fmt:setBundle>
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <meta http-equiv="refresh" content="1800;url=/autoLogout.jsf" />
  <title><fmt:message key="PageTitle"></fmt:message></title>
  <script src="/scripts/common.js" type="text/javascript"></script></head><body>
  <h1>Other</h1>
<form id="j_idt10" name="j_idt10" method="post" action="/other.jsf" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="j_idt10" value="j_idt10" />
Yes<input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="-9208139216578266380:-4314993053830858838" autocomplete="off" />
</form>Yes</body>
</html>

okay here's the code for the whole procedure. Some variable names have been changed but it's otherwise the same code:
DECLARE
v_total_cost     NUMBER(10,2);
v_deposit        NUMBER(10,2);
v_remaining      NUMBER(10,2);
v_payment_type   varchar2(2);
v_checkbox       varchar2(4000);
v_user           varchar2(4000);
v_bok_paid       varchar2(1);
v_msg            varchar2(4000);
BEGIN
v_total_cost     := :P100_COST;
v_deposit        := :P100_DEPOSIT;
v_remaining      := v_total_cost - v_deposit;
v_payment_type   := :P100_PAYMENT_AMOUNT;
v_checkbox       := :P100_CHECKBOX;
v_user           := :APP_USER;
--wwv_flow.debug('before condition');
if v_checkbox != '' AND :P100_RADIO = 'CD' THEN
  v_bok_paid := 'Y';
else
  v_bok_paid := 'N';
end if;
--wwv_flow.debug('after condition');
IF v_payment_type  = 'D' THEN
:P100_AMOUNT_TO_PAY := :P100_DEPOSIT;
INSERT INTO SAL_TRANSACTIONS (TRA_BKG_ID, TRA_COST, TRA_TOTAL,TRA_TYPE, TRA_PAID, TRA_PAY_TYPE, TRA_DATE, TRA_MANUAL, TRA_USER)
VALUES (:P100_BKG_ID, 0, v_deposit, v_payment_type, v_bok_paid, :P100_RADIO, SYSDATE, v_checkbox, v_user);
INSERT INTO SAL_TRANSACTIONS (TRA_BKG_ID, TRA_COST, TRA_TOTAL,TRA_TYPE, TRA_PAID, TRA_PAY_TYPE, TRA_DATE, TRA_MANUAL, TRA_USER)
VALUES (:P100_BKG_ID, 0, v_remaining, 'L','N', null, SYSDATE, v_checkbox, v_user);  
ELSIF v_payment_type  = 'F' THEN
:P100_AMOUNT_TO_PAY := :P100_COST;
INSERT INTO SAL_TRANSACTIONS (TRA_BKG_ID, TRA_COST, TRA_TOTAL,TRA_TYPE, TRA_PAID, TRA_PAY_TYPE, TRA_DATE, TRA_MANUAL, TRA_USER)
VALUES (:P100_BKG_ID, 0, v_total_cost, :P100_PAYMENT_AMOUNT, v_bok_paid, :P100_RADIO, SYSDATE, v_checkbox, v_user);
END IF;
:P100_TRANSACTION_FLAG := '1';
if v_bok_paid = 'Y' then
v_msg := '<div>Message clipped</div>';
--send confirmation email
GLO_CORRESPONDANCE.proc_corr_controller(
:P100_BOOKING_MEMBER_ID,
:P100_BKG_ID,
null,
v_msg,
'E',
'Payment confirmation',
null
end if;
END;Thanks :)

Similar Messages

  • IPod Nano: Error Message "The USB device has malfunctioned and Windows does not recognise it"

    Hi everyone, I just received 2 brand new iPod Nanos for my kids for Christmas, thought I'd be smart and sync them both now before wrapping them so I don't have to be messing around with them on the day. One synced without a problem, then using the same cable, same computer, same USB port, the 2nd one came up with "The USB device has malfunctioned and Windows does not recognise it" I've tried restarting my computer, unplugging and reinserting the USB. Is there anthing else I can try before returning it? Thanking you for any help.

    I have solved my problem, I ended up ringing Apple and got an awesome lady who told me to reset it by pressing the sleep button and menu button together for about 10 seconds and once it actually turned on for the first time the computer then recognised it, so it's all good, :-) Thank you lovely lady!

  • HT204053 My iPhone is set up with my old iCloud details. I can't remember the password, it is an old email address and it is not recognising my date of birth!! How can I delete it from my phone and enter my new Apple ID?

    My iPhone is set up with my old iCloud details - how do I change it to my new Apple ID - my email has changed. I can't remember old password and it's not recognising my date of birth. I no longer have the trusted device or key thing??

    Try going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • Error code 43 with message 'one of the USB device attached to this computer has malfunctioned, and Windows does not recognise it'.

    i have suddenly got this message 'one of the USB device attached to this computer has malfunctioned, and Windows does not recognise it'. it says error code 43. the usb drives (2 in no.) have stopped working as in they dont recognise the external hard drive
    or pen drive.  I have a HP pavilion dv4 series notebook.  the usb drives were working fine - however suddenly yesterday this strange message cropped up. life has taken a drastic turn! please help.
    in device status is says:  Windows has stopped this device because it has reported problems. (Code 43)
    location: Port_#0002.Hub_#0005
    driver provider:  microsoft
    date of driver: 21-06-2006
    driver version: 6.1.7600.16385
    HELP!!!!!!!!!!!

    Hi ameet2005,
    Please check if the following suggestions help:
    First, please disconnect all USB devices and then perform the following steps:
    1. Click "Start" button, type “devmgmt.msc” (without quotation marks) in the “Search” bar and press "Enter". Click “Continue”
    if necessary.
    2. In Device Manager, double click to expand "Universal Serial Bus controllers", right click on the Host Controller, click "Uninstall" and click "OK".
    3. Repeat the step 2 to uninstall all items under "Universal Serial Bus controllers".
    Then, restart your computer and Windows 7 will reinstall all USB controllers automatically.
    If the issue persists, please check if it can be resolved by running
    System File Checker.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • TS1369 I have windows 8 and itunes is not recognising my ipod can anyone assist?

    I have windows 8 and itunes is not recognising my ipod - anyone assist?

    Hi Moclam12,
    Thanks for visiting Apple Support Communities.
    If your iPod classic is formatted for Windows, and you want to sync it with your Mac, try to force the iPod into Disk Mode and then restore it using your Mac.
    Putting iPod into Disk Mode
    http://support.apple.com/kb/HT1363
    Restoring iPod to factory settings
    http://support.apple.com/kb/HT1339
    If the iPod is not recognized by your Mac when it is in disk mode, the troubleshooting advice in this article may help:
    iPod not recognized in iTunes and Mac desktop
    http://support.apple.com/kb/ts1410
    Best Regards,
    Jeremy

  • MacBook Pro 10.6.8  My @me account has been wiped of all mail, will not send or receive and iCal will not recognise user name or password even though i haven't changed it.  All this after a scheduled software update. Any ideas??

    MacBook Pro 10.6.8  My @me account has been wiped of all mail, will not send or receive and iCal will not recognise user name or password even though i haven't changed it.  All this after a scheduled software update. Any ideas??

    kwmlr439 wrote:
    CSOUND Read the title please:
    Re: Macbook Pro 10.6.8 RAM Upgarde to 8 GB
    The amount of RAM is not dependant on the operating system. It is all about the model of you Mac.
    10.6.8 is the version of OS X that is installed on your system. It has no real baring on the amount of RAM that CAN be installed.
    Personally I have never had good luck with Corsair RAM. I have always had good luck with Crucial and Kingston.
    Message was edited by: Shootist007
    Message was edited by: Shootist007

  • I have just taken delivery of my LR5 disc. I had already downloaded the trial version. I just tried entering the serial number from my hard copy to authorise my downloaded trial version and it did not recognise the serial number. So, I loaded the hard cop

    Question: I have just taken delivery of my LR5 disc. I had already downloaded the trial version. I just tried entering the serial number from my hard copy to authorise my downloaded trial version and it did not recognise the serial number. So, I loaded the hard copy, and the instructions said that it would just overwrite the downloaded version. And again it will not recognise my serial number! I am not wanting to uninstall the trial version as I have already got quite a lot of personal preferences entered etc. Help please. I am on a macbook pro with latest OS

    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • TS1538 I have just installed Windows 8.1 and now my ipad and iphone are not recognised in iTunes, can anyone help?

    Hi everyone,
    This is my first post so if I've made any mistakes please forgive me. I have recently upgraded from Windows 7 Ultimate to Windows 8.1 Professional however, now my iPad and iPhone are not recognised in iTunes. I have checked Device Manager and the iPad is listed, I also asked it to update the driver but it informed me that I have the most up to date version. Can anyone help please?

    Hi Skydiver119,
    Many thanks for your prompt reply however, I found this post and it worked perfectly. I hope it helps other users.
    Plug your Ipad USB cable into USB port.
    Go to your Control Panel, click Hardware and Sound, then click Device Manager.
    Click on Portable Devices, and you should see Apple Ipad shown (or whatever apple device your using).
    Right-click the Apple Device your using, and choose Update Driver Software..
    Click "Browse my computer for driver software."
    Click "Let me pick from a list of device drivers on my computer."
    Click the Have Disk button. (If the Have Disk option is not present, choose a device category such as Mobile Phone or Storage Device if listed, and click next. The Have Disk button should then appear.)
    In the "Install from Disk" dialog, click the Browse button.
    Use this window to navigate to the following folder:
    C:\Program Files\Common Files\Apple\Mobile Device Support\Drivers.
    Double-click the "usbaapl" file. (This file will be called "usbaapl64" if you have a 64-bit version of Windows. If you don't see "usbaapl64" here, or if there is no Drivers folder, look in C:\Program Files (x86)\Common Files\Apple\Mobile Device Support\Drivers. instead).
    Click OK in the "Install from Disk" dialog.
    Click Next and finish the driver-installation steps. Open iTunes to verify that the device is recognized properly.

  • How do I import from my Sony Z5, FCPX and iMovie do not recognise the file format?

    How do I import from my Sony Z5, FCPX and iMovie do not recognise the file format?

    GR-Blitz,
    You can see a few ways of doing it in this thread:
    https://forums.adobe.com/message/6474423#6474423

  • HT204053 I have an Apple ID and use I Cloud with my Ipad and Iphone. I am trying to publish a website from my macbook but my user name and password is not recognised when I try?

    I have an Apple ID and use I Cloud with my Ipad and Iphone. I am trying to publish a website from my macbook but my user name and password is not recognised when I try?

    Ken.Lloyd wrote:
    Sorry for the delay. System preferences icloud is not an option for me. Syst preferences mobileme is
    The minimum requirement for iCloud is Lion 10.7.2 - earlier systems don't show the iCloud preference pane. If you want to use iCloud you will have to upgrade to Lion or Mountain Lion (assuming your computer meets their requirements) but even so you won't be able to publish web pages to iCloud because it does not provide web hosting. This page examines that situation in more detail:
    http://rfwilmut.net/missing2

  • My iphone5 freezes my iTunes v11 when connected and I cannot sync or do anything. I have reinstalled iTunes, tried different USB ports, ran diagnostics and said phone not recognised. Please help as have wasted nearly a day and a half trying to sort!

    My iphone5 freezes my iTunes v11 when connected and I cannot sync or do anything. I have reinstalled iTunes, tried different USB ports, ran diagnostics and said phone not recognised. Please help as have wasted nearly a day and a half trying to sort and at wits end!

    To double check you tried everything http://support.apple.com/kb/TS1538

  • HT4759 When I sign into my mobile me account the username and password is not recognised what do I do?

    When I sign into my mobile me account the username and password is not recognised what do I do?

    - Go to settings>iTunes and App Store and sign out and sign into your account.
    - Apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.

  • My user name/email and password are not recognised. I a...

    my user name/email and password are not recognised.
    I am looking for someonw to tell me why.
    preferabley someone to talk to.

    Hi there!
    For formal (perhaps including live) support, your carrier is your first stop -- they are responsible for all of your formal support.
    In the support forums, we can provide you with much user-to-user assistance, but it means that you need to come to the forums and register an account. Please come to:
    http://supportforums.blackberry.com/rim/
    and register an account. Then post to the applicable forum.
    Thanks!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I have Windows 8.1 and Itunes will not recognise either my Ipad, Ipone or Ipod

    I have Windows 8.1 and Itunes will not recognise my Ipad, Iphone or Ipod even though it did so in Windows 7

    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
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or by right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Just bought an iMac and it does not recognise my existing HP printer which is wifi - how do i connect it to my imac

    just bought an iMac and it does not recognise my existing HP printer which is wifi - how do i connect it to my imac

    It should recognize it if they are both on the same Wifi network. Have you signed into the Wireless network on your iMac?
    Also, you must go into the Printer and log the printer into the wireless network. If the printer was working wirelessly before, this may have already been done.
    If that does not help, tell us the model of the HP Printer.

Maybe you are looking for