Ajax4Jsf won't work if I have page fragment component.

I am trying to use Ajax4jsf on my JSC project. This is bizarre but when ever i have a page fragment component in my page the ajax4jsf stops re-rendering. The code is as following.
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:a4j="https://ajax4jsf.dev.java.net/ajax" 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="#{Page1.page1}" id="page1">
<ui:html binding="#{Page1.html1}" id="html1">
<ui:head binding="#{Page1.head1}" id="head1">
<ui:link binding="#{Page1.link1}" id="link1" url="/resources/stylesheet.css"/>
</ui:head>
<ui:body binding="#{Page1.body1}" id="body1" style="-rave-layout: grid">
<ui:form binding="#{Page1.form1}" id="form1">
<ui:staticText binding="#{Page1.staticText1}" id="staticText1" style="left: 408px; top: 240px; position: absolute" text="#{RequestBean1.text}"/>
<a4j:commandLink action="#{Page1.setText}" reRender="staticText1" style="left: 240px; top: 240px; position: absolute" value="thif"/>
<div style="left: 0px; top: 0px; position: absolute">
<jsp:directive.include file="topMenu.jspf"/>
</div>
</ui:form>
</ui:body>
</ui:html>
</ui:page>
</f:view>
</jsp:root>
If iremove <div>....</div>(which is 7 line from the end) then everything works fine otherwise re-rendering of statictext component stops.
Message was edited by:
Sapan

Hi Sapan
I am a newbie to AJAX4JSF . I think it provides Rapid Application Development just by using tags like a4j: without the need to develop complex JSF Custom Components as shown in BluePrints Catalog
https://bpcatalog.dev.java.net/ajax/jsf-ajax/
Pl suggest
Regards
Bansi

Similar Messages

  • I am having a big problem. I am not getting notifications from snapchat and only snapchat. I've made sure every notification setting was on and it just won't work. I have also restored my phone and deleted the app and re-downloaded it multiple times. Help

    I am having a big problem. I am not getting notifications from snapchat and only snapchat. I've made sure every notification setting was on and it just won't work. I have also restored my phone and deleted the app and re-downloaded it multiple times. It just wont give me my notifications. Help please.

    Go to Settings > Privacy > Location Services.
    Turn off SnapChat.
    Go to Settings > Notification Center
    Turn off SnapChat.
    Restart the device.
    Go to Settings > Privacy > Location Services.
    Turn on SnapChat.
    Go to Settings > Notification Center
    Turn on SnapChat.
    Test the issue.

  • My iPod iTunes thing is be a pain in the you know what and won't let download anything cause my account verified thing keeps popping up and I put my security code in but it won't work and I have my iTunes redeem card and it wo t let me use it.please help

    My iPod iTunes thing is be a pain in the you know what and won't let download anything cause my account verified thing keeps popping up and I put my security code in but it won't work and I have my iTunes redeem card and it wo t let me use it.please help

    Maybe heresince yu proviced little informatin about what security code yu are talking about.
    iTunes Store: My credit card's security code or zip code does not match my bank's records
    Contact iTunes:
    Apple - Support - iTunes - Contact Us

  • I received a .pdf document as an attachment to an Entourage Email. It refuse to print on my HP4050N printer which is otherwise performing as advertised. Printing fron the desktop, Adobe 9.4.4 nor Preview won't work. I have a PowerPC G5, OS 10.4.11.

    I received a .pdf document as an attachment to an Entourage Email. It refuse to print on my HP4050N printer which is otherwise performing as advertised. Printing fron the desktop, Adobe 9.4.4 nor Preview won't work. I have a PowerPC G5, OS 10.4.11.

    I think the file has somehow been corrupted. Can you have the person that sent it to you send another copy?
     Cheers, Tom

  • How can I copy my music files to my iPAD. The CDs are currently stored in folders on my PC. Note: Synching via iCLOUD won't work because I have VISTA OS and I need at least Windows 7 or 8.

    How can I copy my music files to my iPAD. The CDs are currently stored in folders on my PC. Note: Synching via iCLOUD won't work because I have VISTA OS and I need at least Windows 7 or 8.

    Hi ladextr,
    Thanks for using Apple Support Communities.  To sync your music to your iPad, first put your music in iTunes as described here:
    Adding music and other content to iTunes
    http://support.apple.com/kb/ht1473
    Adding content on your computer to iTunes
    iTunes helps you add digital audio and video files on your computer directly to your iTunes library. You can add audio files that are in AAC, MP3, WAV, AIFF, Apple Lossless, or Audible.com (.aa) format. If you have unprotected WMA content, iTunes for Windows can convert these files to one of these formats. You can also add video content in QuickTime or MPEG-4 format to iTunes. To learn how to add these files to iTunes follow the steps below.
    Open iTunes
    From the File menu, choose one of the following choices:
    MacAdd to Library
    Windows
    Add File to Library
    Add Folder to Library
    Navigate to and select the file or folder that you want to add
    If iTunes is set to "Copy files to the iTunes Music folder when adding to library," iTunes will copy all content that is added to the iTunes library to the iTunes Music folder. To adjust this setting or change the location of this folder, go to the Advanced tab in iTunes Preferences.
    Once that's done, you can sync the music to your iPad by following this article:
    iTunes 11 for Windows: Set up syncing for iPod, iPhone, or iPad
    http://support.apple.com/kb/ph12313
    Cheers,
    - Ari

  • HT1338 I have updated my Imac to Mavericks and now my parallells won't work and I have reinstalled as per the instructions. Please help as all my data is on a hardrive that is formatted for PC

    I have updated my Imac to Mavericks and now my parallells won't work and I have reinstalled as per the instructions. Please help as all my data is on a hardrive that is formatted for PC.

    Yes I just discovered that this morning but I have purchased another external harddrive and formatted it for both and am in the process of transferring the files across it and then I will erase the old harddrive and reformat it so I can use it.
    I have learnt to format harddrives from this experience but am happy to see the back of parallells.
    Thank you for your help though it is much appreciated.

  • My rental movie won`t work. I have sound but no picture on my screen (stays green). What can I do?

    My rental movie won`t work. I have sound but no picture on my screen (stays green). What can I do?

    Hello Amy
    If you were not able to watch your rental, then report it to the iTunes Store for further assistance.
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    http://support.apple.com/kb/HT1933
    Regards,
    -Norm G.

  • I have downloaded adobe flash and it won't work. What have I done wrong?

    I have downloaded adobe flash and it won't work. What have I done wrong? I have even downloaded it twice (different versions). Is this a mistake?

    What is your operating system, version & edition?
    What is your web browser?

  • My iPad 1 is not responding. I restored to factory settings and when it says to hook up to I tunes it still won't work. I have restarted I tunes and uninstalled and installed and still not working. Help!!!!

    I restored to factory settings and when it says to hook up to I tunes it still won't work. I have restarted I tunes and uninstalled and installed and still not working. Help!!!! Before I reset it it would say not charging but it was still charging. This could be a hardware problem with the I pad.

    Explain exactly what "it won't work" means. The iPad does not respond at all? Does it turnn on? It is not recognized in iTunes when you connect it to your computer?

  • Two JavaScript widgets won't work on the same page [was: Not the first time]

    I ran into this a few months back and gave up on it. I have a page that has several javascripts running on it. They are:
    vnu_datestamp.js
    a flashing neon text script (inline)
    DW's own rollover image (MM_swapimgRestore) script (also inline)
    jquery1.2.2_pack.js
    overlapviewer.js
    lightbox.js (which also relies on scriptaculous.js, prototype.js and an "effects.js" to run)
    I know that's a "garbage pail" of javascripts to all be on the same page. Frankly I'm surprised that they don't all give me problems. But there is one.
    The lightbox and overlap viewer just will not play together.
    Depending on which one I list first in the header, the other one quits. Whichever one I lose goes from the image display effect to acting like a straight hyperlink to the designated image.
    It isn't a huge deal, but I'd like to be able to have the two of these on the same page and working. I have them running alone on other pages and can link to them, but it sort of defeats the purpose of making a web page to show the variety of things I can do for someone who whats a website built, if one or more of the things won't work.
    [Subject line edited by moderator for clarity]

    Please don't use cryptic subject lines for posts. The value of a forum is that other people might be searching for the answer to a similar problem. Meaningless subject lines prevent others from finding useful replies. They also discourage others who might be able to provide help more quickly if they knew what you're asking about.
    I've had a quick look at your page. Quite honestly, I find all the flashing rather nauseating, but if that's the way you want to design a page, it's your choice...
    The conflict is caused by the fact that overlapview.js seems to rely on jQuery, while lightbox.js relies on Prototype and script.aculo.us. Both jQuery and Prototype use $() as a shortcut, so you cannot mix the two libraries on the same page without taking special measures to prevent the conflict. In jQuery, you do this by loading all the jQuery, Prototype, and script.aculo.us libraries first, and then using the following script:
    jQuery.noConflict();
    Then load overlapview.js, replacing all instances of $ with jQuery. So, for example, the following line:
    $(t).fadeTo('normal', overlapviewer.endopacity, function(){
    needs to be rewritten like this:
    jQuery(t).fadeTo('normal', overlapviewer.endopacity, function(){

  • My Quicktime 7 won't work. I have purchased a key code and followed instructions but videos won't play

    Hello - can anyone help please? I have upgraded my software to Quicktime 7 and purchased a registration code. When I enter it, there is no box to click enter and when I press the tab key, nothing happens? I spent £20 on the code and my videos still won't play? Can anyone help please?

    It may sound silly, but i had an issue with my Quicktime Pro key (Quicktime 7) where the key was not accepted due to my not using capital letters on my first and last name. My iMac auto capitalized when I entered the info when i purchased the Pro key.  Once I used the Capitals on my registration,  my old key worked fine.  Hope this helps.

  • Very often when I click bookmarks, it won't work. I have to close firefox and reopen it and then usually bookmarks will open. What's wrong?

    Basically, just as I said in the above question, frequently, bookmarks won't open when I click on it. If I close firefox and restart it, usually then I can access bookmarks. Is there anything that will fix this?

    '''Try the Firefox SafeMode''' to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • Two finger "back" of "forward" swipe in Safari won't work on PDF web pages.

    This is a problem that carries forward from OSX 10.6 when using the swipe gesture on the magic mouse for browsing "back" and "forward" in Safari. It now continues with the mouse and on the track pad in 10.7.  When viewing PDF web pages the 'back" and "forward" swipe gestures work only sometimes, and when they do work, it requires a much faster swipe.  There are no issues associated with clicking on the back and forward buttons at the top left corner of Safari, so this appear to be isolated to gestures.  Is there any solution to correct this inconsistency?
    Thanks,
    Marc

    Indeed, swiping back from pdf pages sometimes works, but most often does not.
    It seems that the swiping gesture has in all cases changed slightly. It is now necessary to swipe a little until a portion of the previous page is uncovered, and only then can one swipe back.
    The fact that there is a specific way to swipe back from html pages suggests that there might be an equally specific way to swipe back from pdf pages. I am still experimenting. Meanwhile make sure no one is sitting to your right in case your trackpad flies off during a gesture trial.

  • Upgraded, and now my original serial number won't work, can't use pages!

    Hi everyone --
    I recently upgraded my hard drive in my ibook g4, and backed everything up to an external hard drive. I've since transferred everything back, including iwork '05. Now I open pages and it asks me for the serial number...only thing is, I didn't keep the original box/book w/ serial numbers, and only have it written on a slip of paper -- I entered it, and it's not right! It's a series of 5sets of numbers/letters (QMMH-6CDS-etc.etc.). Do you think if I call apple they'll give me another one? If not, how the heck can I obtain a new serial number so I can use pages again? This is so frustrating...Thanks!

    Laura,
    I'm sorry you're having problems. iWork '05 was infamous for making some serial numbers difficult to enter. Make sure you properly distinguish between zeros and ohs. Zeros will have a dot in the center. Also make sure you enter a one and not a small L. They look very similar. Use the hyphens. Don't use the Caps Lock key.
    Finally, don't ever throw out package materials that have serial numbers on them.
    -Dennis

  • Since my last software update the auto rotation on both my ipad air and my iphone 5c won't work. I have tried everything, including; checking the auto-lock - it isn't on lock. I've checked the settings in the Control Centre and they're as they should be.

    Since my last update the auto rotation on both my ipad &amp; my iphone has stopped working. I've done all the usual stuff to correct it but no joy. I've reset, rebooted, turned off then back on, checked all settings including those for the side switch and everything is as it should be except the rotation still doesn't work. There are no open apps, movies or videos that could be locking the screen so I am now totally stumped.
    Any suggestions please?

    The fact that gs.apple.com was in your host file to begin with is an indicator that your computer was used to jailbreak or hack an iOS device at some point in the past. You can not get help here for a hacked or jailbroken device. If your phone was hacked or jailbroken, Apple won't touch it.
    RecBoot and Tinyumbrella are hacking tools.
    Google "iPhone DFU mode".
    Try restoring in DFU mode. If that doesn't fix it, make an appointment at the genius bar and see what Apple has to say about it.

Maybe you are looking for