How to render outputlink as an area tag rather than an a tag

Hi all,
As stated in JSF document, both shape and coords are valid properties in outputlink. So, I have tried following
<map name="monkey">
<h:outputLink shape="rect" coords="0,0,30,30" value="http://yahoo.com"/>
</map>
however. that is rendered as &lt;a href="http://yahoo.com" coords="0,0,30,30" shape="rect">&lt;/a>, what I really want is
&lt;area href="http://yahoo.com" coords="0,0,30,30" shape="rect">&lt;/area> ...
I mean if outputlink can only be render an a tag, but not an area tag, I do not see why it will support shape and coords propeties ...
Any help here ...
Thanks a million
Edited by: EJP on 5/09/2011 10:50: fixed your meta-HTML

886619 wrote:
I know that coords and shape are defined in w3c standard, my questions are
1) what jsf component can be rendered as area tag for html frontend?None that I am aware of. You could write your own. Or, if an existing component is appropriate, you could write an alternative renderer for the component.
2) "The position and shape of the hot spot on the screen (for use in client-side image maps)." That is the sentence for JSF document, what you think about for use in client-side image map mean? I donot see why render as <a> tag for client-side image map will be an acceptable solution ...I don't think this has anything to do with JSF at this point; JSF simply passes these values through to the rendered HTML. You have to understand how to use HTML to make proper use of these attributes.

Similar Messages

  • How do I ensure user name is shown rather than 'another user' on the 'File in Use' dialog box?

    How can I ensure user names are shown rather than just 'another user' on the 'File in Use' dialog box that appears when attempting to edit a checked out document in Microsoft Word/Excel? 
    All suggestions welcome. 

    If I recall correctly, that dialog is generated by the Office client product supporting that file type. There would be no way to modify it.
    Trevor Seward
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to create a rectangle per entering dimensions rather than by drawing it

    how to create a rectangle per entering dimensions rather than by drawing it

    ReNewUs,
    Just click with the Rectangle Tool somewhere on the Artboard, then insert Width and height.

  • How can I get iTunes to use voucher rather than credit card when downloading to iPod touch?

    How can I set up an iPod touch so that it uses iTunes vouchers when downloading apps etc rather than charging to a credit card?

    Hello, Helen. 
    Thank you for visiting Apple Support Communities. 
    Here is the best resource on how iTunes Store purchase are billed. 
    iTunes Store: How iTunes Store purchases are billed
    http://support.apple.com/kb/HT5582
    Regards,
    Jason H. 

  • 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

  • When I "bookmark all tabs" into a bookmark folder, the webpage URLs are used rather than the wepage TITLES and for me this causes a problem.

    Using Firefox 34.0 on Ubuntu.
    To expand on my particular problem, I use this feature exclusively for going over many days of TV/radio demand services, opening all of them in different tabs, and then at the end 'bookmark all tabs', and store them in a bookmarks folder.
    The bookmarks are all displayed as URLs rather than webpage titles. Most of the TV/radio sites I look at have meaningless URLs (the titles are meaningful) so when I look in the folder I cannot quickly browse by bookmarks, I have to open every one individually to see what it is.
    THis is different behaviour when I individually bookmark single pages and store it on the bookmark toolbar or other folder. Then the webpage title is displayed, which is the desired behaviour.

    ''cor-el [[#answer-670559|said]]''
    <blockquote>
    I see the URL if I haven't visited the tab in the current session and the tab hasn't loaded yet.
    *browser.sessionstore.restore_on_demand
    *browser.sessionstore.restore_pinned_tabs_on_demand
    </blockquote>
    Hi and thanks for your reply. However, I get URLs instead of names even if I've visted the tabs and they've loaded.
    So no solution for me yet. But your reply has opened up the murky world of Mozilla preferences, and by searching (on google) for bookmark preferences I've found someone on Mozillazine forums with a similar issue to mine (I didn't notice this alternative source of help when I was registering for the standard mozilla support)
    [http://forums.mozillazine.org/viewtopic.php?f=38&t=2438357&sid=4cb515b6e7704181d49073403be55317]
    Unfortunately, this mozillazine thread doesn't end in a solution. I've done some brief and unadvised fiddling of preferences without success. I am just adding this info here in case anyone else has this issue and wants to experiment themselves. Perhaps I will repost my problem in Mozillazine explicitly.
    thanks again

  • How can I use the database default time rather than Java supplied time

    I've searched over and over and nobody seems to have this issue so maybe its just me!
    When inserting a record I would like the a create_date column to automatically use the database time rather than a supplied time via JPA. That was all times a relative to the database which makes sense.
    The trouble is I cant figure out how to do this in a sensible manor.
    If I specify an column like :
         @Temporal(TemporalType.TIMESTAMP)
         @Column(name = "CREATE_DATE")
         private Date createDate;
    and IDL
    CREATE_DATE TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_DATE NOT NULL
    If I leave createDate null I get an exception. If modify the column to allow Nullable then column is set as Null.
    If I leave the column out of the entity bean and then and create a row then the database current time is inserted. The trouble then is that if I want to read the date I'm going to have to create a copy of the bean but with the CREATE_DATE in it, and this doesn't make sense.

    I should also mention that TopLink has always supported the ability to retrieve the current time from the database for use in optimistic locking. The TimestampLockingPolicy offers the ability to configure the next value being retrieved from the database instead of using the local time from the JVM. Our extended optimistic locking configuration does not currently support setting this option but it could be done using a descriptor customizer which can be configured in your persistence unit properties.
    Using optimistic locking may be a good solution for the last modified date since it will also ensure that you do not corrupt the database if someone else has incremented this value since your last read.
    Doug

  • How to test with the standard Flash player, rather than debug player

    Folks,
    I am interested in running my flexunit 4 tests against the standard flash player, rather than the debug player that comes with the SDK.  Is this possible?
    BTW, I am working on Windows for now.
    I installed both the flash ActiveX control for IE, and the standard flash plugin for Firefox.  I then associated the SWF file extension with Firefox using the "Open With" dialog.  I had to choose a single program, and the browser appeared to be my only choice, as I could not find any sort of "FlashPlayer10.exe" to associate with.  I ran my ant script that calls <flexunit>, and it kind of works.  It launches Firefox, runs the tests, and the results get piped back, but Firefox is not shut down.  Yep, Firefox stays open after the tests complete.  I seem to recall that the debug flash player would close itself after being opened by <flexunit>.  I tried using IE, and the same result occurs: the browser is not shutdown after the tests complete.  This behavior makes for an unacceptable test setup, as eventually the system memory on the machine will be exhausted as more and more browsers are opened and not closed.
    Questions/options:
    1) Is there a standard flash player "executable" somewhere on my system that I can associate the SWF files with (that would hopefully shut itself down)?
    2) Second choice, is there a way to get the browser to close after <flexunit> completes?
    3) or am I stuck using the debug player?  I am concerned that testing management at my company might not like the fact that we are testing against a debug player, rather than the standard one that users will likely be using. If flexunit 4 CI only supports the debug player, is there something I can say to appease management?
    Thanks for any help...
    Trevor

    @trevorbutler - Here are my 2 cents, but the group may have a different perspectives for your questions.
    Currently, we suggest the use of the CIListener class as a FU4 listener for use when building your test SWF to run via the FU4 Ant task.  This class (http://opensource.adobe.com/svn/opensource/flexunit/branches/4.x/FlexUnit4CIListener/src/o rg/flexunit/listeners/CIListener.as) uses the fscommand() function to send a message to its host environment to exit (i.e. - fscommand("quit")).  This command is only recognized by the Flash projector and stand-alone players, which are thin wrappers around the Flash Player so that it may be executed as its own process in the OS.  Based on the setup you are describing, the behavior you're seeing should be expected since the browser is the host environment for the Flash Player.  When the browser recieves the resulting message of the fscommand("quit") call nothing will happen since the browser doesn't support this command.  If you use the Flash projector or stand-alone players however, they will exit when recieving the results of this command.  The projector/stand-alone players come in two flavors, release and debug.  Release will act very closely to the typical plugin installed in the web browser (e.g. - swallows errors, no debug support, etc) whereas debug will allow you to write log files to the system, show error messages, etc.  Currently the debug stand-alones are available on Windows, Mac, Linux and the release stand-alone is only available on Linux.
    To address your questions:
    1.  If you've installed the Flash Player browser plugin, there is no way that I know of to launch the player as its own process.  I've only had success using the projector/stand-alone player (http://www.adobe.com/support/flashplayer/downloads.html).
    2.  The Flash Player does have the ability to send javascript to the browser to ask it to close the current window, but most modern browser will prompt the user to confirm they'd like to close the window if its the only open window.  Additionally, taking this approach on Mac, the browser process would remain active until an explicit call is made to the host OS to shut down the browser process.  The Ant task could be enhanced to use the browser to launch the Flash Player, but that is not currently on our checklist of features to support.  If it's something you'd be interested in contributing, let me know and I can work with you on this.
    3.  For the time being the FlexUnit4 Ant task only supports the stand-alone Flash Player (and adl soon), which for Windows only comes in the debug flavor. The only thing I've run into with the stand-alone player is that ExternalInterface reports that its enabled, but since the host environment is not the browser, javascript calls made via this class will fail, consequently causing tests to fail.  I haven't tried anything with shared objects or flashvars but my assumption is that they should work correctly, but anything that depends on the browser has the potential not to.
    As far as your testing management goes, I would discuss with them the problem context FlexUnit4 hopes to solve.  The framework is intended to produce unit and integration tests.  Functional testing is not withing the scope of the library.  Although, it's technically feasible to write integration tests which will exercise components similarly to a functional test, tools such as FlexMonkey, Selenium Flex, QTP, etc are much better geared towards this problem domain.  Test recording and playback, using these tools, is typically done using the FP browser plugin and is much easier to use by most QA and testing staff.  At the end of the day, as we're testing our code using FlexUnit at a smaller granularity than that of which the user interacts with in our application.  To reliably test the applicaiton as the user would interact with it requires additional tooling and a different type of testing.
    Like I said, just my take, maybe some of the other guys can help as well.

  • How can I split edit css screen horizontally rather than vertically?

    How can I split the edit css split-screen horizontally rather than vertically?

    Unfortunately, Firefox doesn't have a built in "tile two windows side-by-side" command. There might be an add-on for that (in a quick search, I mostly found add-ons to tile two or more tabs rather than separate windows).
    If that sounds completely off topic, can you describe the steps to get to what you're seeing?

  • HT1382 how do I organize iTunes in Album folders, rather than artist/album.

    The way iTunes organizes my music is not very organized for me. I would like to organize all songs from an album into a single folder, rather than having the album folders present with artists folder.  Is there any way I can change the way iTunes organizes the songs in my media library?
    I tried to see if I can export a playlilst that is organized by Albums rathre than artists, but there seems to be no options.

    iTunes has exactly one way to organize, and that is by artist/album.
    If that is not what you prefer, then go into Preferences > Advanced, and make sure that "Keep..." and "Copy..." are both not checked.  Then, for any new songs you plan to add to iTunes, put them in whatever folder you want them to be, and iTunes will be reference their current location, and will not move or change anything.
    BTW, changing those settings will give you the correct handling of new additions, but will not change anything that is already in the library.  Also, it does not affect any future items purchased from the iTunes Store.

  • How to make WebView Render Html select elements as ComboBox rather than ChoiceBox

    I have a dropdown of country names. The problem is whatever value is selected the dropdown always starts from top of the list, as webview is creating choceboxes for selects. I want to display ComboBox instead.
    How can I accomplish this?

    Also, did you ever think to use the "Preview" button?
    Do you expect anybody to look at that mess of code?

  • Guided Access (how to make areas transparent rather than gray?)

    I'm trying to use guided access so I can read while holding the iPad like a book = don't wish to have my thumbs changing the zoom and place I'm at in the trext...
    When I set up Guided access for this and mark off regions for my thumbs they show up as gray regions which is annoying. Is there a way to make them clear, or even better another solution for this problem as guided access seems rather flacky at times. Thanks

    Hi all,
    I've this quiestion too. My target is make it for eBook reader, such as (reading pdf). Or any 3rd parties apps can't do it? Thanks a lot.

  • How do I make Indesign CS3 the default rather than Indesign CS4?

    Indesign 6.0.2 is driving me crazy, that spinning ball spins for every character I type.  It takes 5 minutes to write one word.  I want to use CS3 instead, which works great with dynamic spelling, which I have turned off in CS4, but don't want to dump CS4.  How do I make CS3 the default?  When I open CS3 and save, it saves it as CS4 so to open it I can't click on it I have to open CS3 first.  Illustrator in CS4 works great.

    bdquilts wrote:
    Indesign 6.0.2 is driving me crazy, that spinning ball spins for every character I type.  It takes 5 minutes to write one word.  I want to use CS3 instead, which works great with dynamic spelling, which I have turned off in CS4, but don't want to dump CS4.  How do I make CS3 the default?  When I open CS3 and save, it saves it as CS4 so to open it I can't click on it I have to open CS3 first.  Illustrator in CS4 works great.
    The only way to make a mac recognize CS3 as default would be to completely remove CS4.
    In OSX new version trumps older versions. you can however have both apps open drop files you know are cs3 on the CS3 dock Icon or an Alias on your desktop. CS3 does not save as CS4 its just that the OS makes all ID files look like the newest version.

  • How can I download music from another plance rather than Itunes and how can I transfer songs from my Sony to my Ipod and my laptop??

    I have been having some troubles trying to transfer some songs into my ipod and some songs are only silence. and others i cannot send them into my ipod. how can I syncronize it with my cellphone?

    Check out http://www.imobie.com/podtrans-pro/

  • TS3899 Suddenly, when I check my email, the screen does not rotate to the direction the phone is being held.  How can I correct this?  (Displays horizontally rather than vertically.)

    My phone has suddenly started to display my emails horizontally and does not self-correct when I am holding it vertically.  I have tried to correct this - to no avail.  Does anybody know how to correct this?

    Hi Sylver123,
    Thanks for posting, please use the 'contact the mods' link in my forum profile to send in your details and we'll get this issue with your email looked into further. You can find the link by clicking on my username.
    Thanks
    Neil
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

Maybe you are looking for

  • Changing My Blackberry Curve 8900 Housing

    Hi, I'm planning to get a Blackberry Curve 8900. Before I buy this phone I would like to know if I can change my housing to pink. I'm aware that a phone comes in 3 parts. A front cover, a middle cover and a back cover. I would just like to change the

  • Process to upgrade Certs in NAC 4.7.2 OOB VG HA environment

    I am in the process of replacing the CCA manager certificate which is about to expire. My environment is HA and as such consists of two CAM servers and two pairs of HA-CAS servers. First - I have submitted and generated the CAM server certificate (Ea

  • Config - Line Item Sequence

    As parts are automatically added using config (guided selling) when the user makes guided selling selections, can we control the sequence of the parts being added?  We would like the more important parts to be listed first.  And unfortunately, the mo

  • Perl package maintenance under Arch - how?

    Hi. New to Arch (but not to Linux in general). I have seen that Perl 5.12 is in core of Arch, which is good. In my work I need a _lot_ of Perl modules from CPAN, besides the standard core modules which come bundled with Perl. Question: How is the ins

  • Tips for online usage

    Premier Pro CS4 Mac Noob I am creating online video's for our company and was wondering if anyone has tips on file format, encoding (H.264, FLV etc) and other settings to use to make small files of acceptable quality. A 3 minute movie I put together