JSF - Map area redirect

Hy all.
I have two problems whith JSF and Seam.
I've define several areas on an image to choose points of impact in an accident
Code is like this:
<center><img src="myImage.jpg" usemap="#ImpactLateralGauche" border="0"/></center>
<map name="ImpactLateralGauche">
<c:forEach var="degat" items="${myBean.listeDegats}">
  <area shape="circle" coords="${degat.coordonnees}"  alt="${degat.libelle}" href="#{myBean.addDegat(degat)}" />
</c:forEach>
</map>Don't worry, the code
href="#{myBean.addDegat(degat)}"doesn't work.
First question:
Why when i load my page, JSF call the method addDegat as many times there has occurrence???
I don't want this to append.
Second question:
Do you know how i can use the Href tag to call my method instead of a redirection page??
Thank's for your help.

I imagine a custom component might be the way to go here.

Similar Messages

  • How can i get Google maps back on, i lost them with the ios6 update, the new maps are terrible

    how can i get Google maps back on, i lost them with the ios6 update, the new maps are terrible

    It's still not known if and when Google Maps becomes available in the AppStore. This is today's story: http://www.macrumors.com/2012/09/25/google-has-not-yet-submitted-a-google-maps-a pp-to-apple/

  • JSF mapping missing. ExtensionsFilter not correctly configured.

    I am new to JSF's and using JBoss 4.2.0 application server.
    I trying to use <t:panelTabbedPane> and <t:panelTab> in my page like this:
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <t:panelTabbedPane id= "tbParticipant" selectedIndex = "0">
         <t:panelTab id = "ptFirstName" label = "First Name"></t:panelTab>
         <t:panelTab id = "ptLastName" label = "Last Name"></t:panelTab>
    </t:panelTabbedPane>
    When I open my page i get this error
    ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered.
    Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html
    I have my web.xml configured exactlly as described at http://myfaces.apache.org/tomahawk/extensionsFilter.html
    Actually I copied and paste the whole text word by word as shown below but still getting that error.
    <filter>
         <filter-name>MyFacesExtensionsFilter</filter-name>
         <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
    <init-param>
    <param-name>maxFileSize</param-name>
    <param-value>20m</param-value>
    <description>Set the size limit for uploaded files.
    Format: 10 - 10 bytes
    10k - 10 KB
    10m - 10 MB
    1g - 1 GB
    </description>
    </init-param>
    </filter>
    <!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages -->
    <filter-mapping>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry -->
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    <!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) -->
    <filter-mapping>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
    </filter-mapping>
         Alternate mapping using a url-pattern instead of a servlet-name (you still need the /faces/myFacesExtensionResource/* mapping as well):
    <!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages -->
    <filter-mapping>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    Please help and thank you in advance.

    Please post the configuration of the FacesServlet in the web.xml.

  • After installing iOS6, my Maps are not working at all, anything i search it says "result not found" even after placing a pin and selecting "Direction to here" i get the same result not found. Very disappointed with the new iOS

    After installing iOS6, my Maps are not working at all, anything i search it says "result not found" even after placing a pin and selecting "Direction to here" i get the same result not found. Very disappointed with the new iOS.

    Have you run it in a debugger? That will show you exactly what is happening and why.

  • Image - maps are not working in Firefox but it does work in IE. Some help required.

    Hey there,
    Last week i've been building a website for our company. However, there is still a problem with our banner/slider. I've uploaded some images and the slider is currently working. But the image maps ,using <map> & <area> taggs, are not functional in FF. They do work in IE so I suppose it should be working correctly.
    I've tried using Chrome & Safari but the problem keeps persisting.
    Some help would be nice (:
    Marnix.

    Doesn't work in Firefox, Chrome, and Safari? <br />
    Sounds like you're using non-compliant code.
    http://www.w3.org/TR/html5-author/the-map-element.html <br />
    http://www.w3.org/wiki/HTML/Elements/area
    You could try posting the URL to a test case at the Web Development / Standards Evangelism forum at MozillaZine, and see what they have to say. The support helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • The Informatica maps are not taking the parameters from dac

    Hi All,
    The Informatica maps are not taking the parameters from dac. We have tried setting the parameters at DAC level, task level. The parameter file is getting generated by DAC and has correct values as we expect. But when we run a full load from DAC, the initial date in Informatica is being taken as 1/1/1753. Do we need to specify the parameter file name at workflow level?
    Is there any setting that we are missing. Please guide us and let us know the steps we should take to make sure that the parameters that we set at DAC level get passed to the Informatica maps. Also mention this is happening only with dates and other parameters like data source num , soruce and target database information is getting passed to Informatica maps.
    The version of Informatica as 7.4.1 and dac version AN 328, Build date Aug 8 2007.
    Please Help me in this issue.
    Thanks in advance for all members.

    Hi Ananth.v
    Try to make sure that your parameter file's path in Infa is in-sync with the path of DAC files being generated.
    The date you are getting seems strange - which are your Source/Target DB platforms?
    In general take a look at [this thread|   http://forums.oracle.com/forums/message.jspa?messageID=3405906#3405906] , it may make some thing clearer for you.
    Hope it helps,
    Please post if you found a solution,

  • My maps are not showing buildings with clarity. They have no color. It's like my maps are outdated but my ipad is fully updated. I can't get the option of views in my ipad

    My maps are not showing buildings with clarity. They have no color. It's like my maps are outdated but my ipad is fully updated. I can't get the option of views in my ipad. Like the downtown view and stuff. Please help.

    What locations are you seeing these "problems"? If the satellite photos are older or not as clear, you may see some of what you describe. Take a look at one of the major cities and see if they are also appearing as you describe. Someplace like New York, London, Paris. Those are among the cities that seem to be updated most frequently.
    Incidentally, the maps are web/cloud based and not contained within the maps app on your iPad, so regardless of the version of your app, you will still get the most current map available.

  • How to tell which maps are the latest?

    I have Maps v3.01 loaded on my 6710 Navigator (came with free worldwide licence) and Map Loader v3.0.28 on my PC.
    How do I tell which maps are loaded on my Nokia and what version/date the maps availalble on Map Loader are?
    Map Loader does not state which maps are already on my phone, nor does it state the date or version of the maps which can be uploaded.
    Obviously, I'd like to install newer versions of my country map if and when it is available, but how do I know which version is available and which I already have?
    Ovi.com does not seem to be the answer either as all maps were downloaded using Map Loader.
    Solved!
    Go to Solution.

    If you already have a free worldwide license and V 3.01 is working well for you then you are right to leave it for the moment. I hear of problems  searching for addresses etc with V3.03.  Can always update later when everything is sorted.
    I believe if you delete all your maps and then use Ovi Suite to download new maps, Ovi Suite will at least tell you what maps you have on your phone. I haven;t tried it myself because I can't stand Ovi Suite.
    Speed warning is available for Ireland but just like you I have to import the speed camera locations as landmarks. Hopefully, we will see these as new features in future updates.

  • Maps are not working in India after updating to iOS 6

    I bought my iPhone 4S from USA now I am in India and I updated to iOS 6 but now maps are not working.. Earlier it use to search every single place in india.. What to do??

    me too stuck up with the iOS 6 update. I was using my phone mainly for tracking roads and places. Now its useless. So guys if u r using iOS 5.1 in India dont update to iOS 6.Moreover i cant find google maps app in Appstore! can anyone find me a solution?

  • Pictures disappear, maps are not displayed

    Some malfunction in displays - showing up in actually 2 errors:
    1. On certain webpages, the picture is shortly displayed but then replaced by the loading symbol, reload will repeat this sequence.
    2. Also, maps are typically not displayed but remain empty right from beginning (no loading symbol).
    I guess it has something to do with settings, add-ons, or plug-ins, but could not get proper function by disabling them. It is not the website itself, since the pictures show up fine with the same Firefox version on another PC.
    Thanks for help.

    I have finally solved the problem. It had to do with the user profile - after reset everything is working fine. Good luck for those who also have this problem!

  • Image map areas not dynamic

    I have created a complexer version of the imageMenu, http://www.phatfusion.net/imagemenu/, which allows the active shapes to be any shape, not only rectangular, see http://jrvproducts.nl/ . This works great in all browser except safari, not in windows, neither on Mac.
    The menu works with a single transparent overlay image which has image map areas (see source if you like. The map start at line 37). These areas are updates onDomReady and also when the menu is in motion by calculating the coordinates and setting the 'coords' attribute of every area. Setting this attribute doesn't seem to work in safari. I believe safari 3.0 on windows did do it onDomready, but not after page load. Now, in 3.1, the 'coords' aren't even being set onDomready anymore.
    To see the 'coords' updating in action, see http://www.saulmade.nl/forum/slideMenu/ . Here I enabled the 'draw areas' option I've built for testing purposes. (It's actually drawing the shapes on canvas, but used the same coordinates as by which the areas are updated)
    This looks to me like a bug, but perhaps anyone has a better explanation?
    Can I submit issues to Apple?

    darn, no-one seems to know an answer
    To get this a bit further, or at least under the attention of the developers, *is there any way I can submit issues to Apple?*

  • Can't stop redirects, and effort to access resources that would help are "redirected". What to do?

    Malware, AdAware, AVG are all run, with no bugs found, yet system continues to redirect from searches in google, or from within another site. What can be done to stop it.

    Do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • Is it just me or Maps are terrible

    new iso6 maps are the worse version of mapsever used on iphone. not user friendly at all and not street view. big disappointment

    yea it's pretty crappy.  absolutely agreed!
    i'm so disappointed too..
    when in NYC the map doesn't even display what trains stop at the various stops.
    this used to be my go-to app...and now i'm not so sure.
    i almost wish i could be running ios5 again...but on my i5

  • HT5429 How Can we reverse to google maps. Apple and Tom Tom maps are awful with plenty of mistakes and less details

    How can we get back google maps as the default maps application.
    Apple maps are just 5 years behind. Really awful and disappointing.

    For now, it's easiest just to go to maps.google.com in Safari.  It will automatically load the mobil version of thei site.  Not the same as the old app, but at least you have access to the basic features.
    You can even create an icon to add to your home screen.
    I think Apple knows they've got a lot of work to do with Maps!
    Matt

  • After loading the internet using Firefox AND then selecting NEWS and a delay the Error "The MSN toolbar has encountered an error. etc" occurs. Also, when browsing some searches are "REDIRECTED"!

    After loading the internet using Firefox AND then selecting NEWS and a delay the Error "The MSN toolbar has encountered an error. etc" occurs. Also, when browsing some searches are "REDIRECTED"!
    == This happened ==
    Every time Firefox opened
    == Hard to say but have been trying to diagnose for at least a week.

    Original message wouldnt post with attachments - trying again....
    Attachments:
    secondclickheredialog.jpg ‏40 KB
    FirstDialog.jpg ‏19 KB
    Firstclickheredialog.jpg ‏16 KB

Maybe you are looking for

  • EBS ISG using custom PL/SQL functions that return XMLType

    Hi, We have a custom PL/SQL package that we use for interfacing systems and some of the functions in this package ruturn an XMLType. We want to deploy the package functions as web services through the ISG, but it is not working as expected. When depl

  • Saving Multiple Attachments in iOS mail

    I've run into a few problems / issues, searched the forums for a solution, and will turn my ignorance over to the internet.... Three problems, First is an inability to save multiple attachments in mail - be in to DropBox, Adobe Reader, FileManager, w

  • T61 external monitor permenantl​y in sleeping mode

    Greetings, I want to run an external monitor with my T61 for desktop extention.  It was working fine, until I once booted up my PC before having switched on the external monitor.  Since that day I have never been able to display anything on the monit

  • Open application in a frame

    how can i open an application like for example notepad or windows media player inside a internal frame on say a click of a button? My swing application has a requirement where an application has to be opened inside it.

  • Earmarked funds budget check in SRM

    Hello to all SRM experts, I've added two customer fields (earmarked funds and earmarked funds item) in the account assignment according to note 672960 using the INCL_EEW_PD_ACC_CSF structure. Now we need to add those fields to the standard account as