ADF & JSF : how can I create a clickable  image

Hi,
How can I create a clickable object with an image property and have an action, I want to use it instead of a command button.
thanks,
Ahmad Esbita

Hi Ahmad
One way is to drop an objectImage tag inside a commandLink tag without a text attribute as follows:
<af:commandLink actionListener="#{backingBean.someMethod}">
  <af:objectImage source="/someimage.gif"/>
</af:commandLink>The image is clickable raising the actionListener event.
Hope this helps.
Regards,
CM.

Similar Messages

  • How can I create a disk image of snow leopard installer disk from my Imac which runs it?

    how can I create a disk image of snow leopard installer disk from my Imac which runs it? It came without DVD installer, and I want to make a copy of it's OS installer but can't find out how.

    You need to have the disc in order to create disk image of snow leopard installer disc. What did your machine ship with? If something later than SL, then why? If earlier, then you can buy the SL installer disc and make the disk image.

  • How can I create clearer, sharper images and buttons in Muse?

    How can I create buttons and images that have a vector like clarity? When I upload images (buttons, jpegs and pngs) a lot of the time they seem to have a slightly fuzzy quality to them. I have read previous posts on this matter and none have helped. Any feedback on this will be greatly appreciated. Thanks

    When you place your images in exactly the size you saved them in Photoshop or whatever, Muse doesn’t touch it.
    The quality in this case is the quality you saved the image.
    The best way is, to examine in Muse the available pixel size of the image and then use Photoshop to obtain this size
    A helpful widget to examine the potential size of an image in advance, is the "lore ipsum"-Muse-widget, that you find in the free widget collection "Andrew’s Prototypes":
    Andrew Prototypes | Exchange | Adobe Muse CC

  • ADF-Newbie.How can I create a many-to-many row from an action method?

    Hi all,
    First of all, this is my scenario:
    - JDeveloper 10.1.3.0.4
    - My application is running ADF + Faces + Toplink + EJB Facade
    - My database model includes some many-to-many relationships and some one-to-may relationships.
    I have developed several ADF pages displaying some CRUD operations over my master tables and my master-detail tables without any problem.
    I am now trying to implement some CRUDs over my many-to-many relationship tables.
    Lets call the tables involved as master1, master2, and relationship (the many-to-many table)
    Because usability reasons, my user wants me to implement an interface where he can:
    -Select a row from the master1 table
    -Select a row from the master2 table
    -Click a button called "Create relationship"
    I need to implement the code inside the action button to add my new record on the relationship table, and honestly, I have not found any clue.
    Please, give me some directions to solve my problem.
    Thank you in advance for your help...

    The key here is to work with the intersection table for your MtM relationship.
    The way I do it, is to have the user view Master Table I, and click on the add Relationship button, this button is a link to a add form for the Intersection Table. On the Add form, the MasterTable 1 Id is already filled in and I hide it. I then setup MasterTable 2 as an LOV on the page. The used selects the item from the LOV and clicks on the commit button. I refresh my many-to-many view and all is grand.
    Using ADF/JSF, I have made it even nicer by turning the add relationship page into a dialog page, that way the user can see the previous page while adding the new relationship.
    Kelly

  • How can I create a NetBoot image using command line tools?

    Is it possible to create a NetBoot image entirely using command line tools?
    (That is, without using the SystemImageUtility)
    If so, are there reasonable instructions posted somewhere?
    I don't believe I can use SystemImageUtility with my current setup,
    but I would be happy to hear how I could:
    I have a set of Xserve clusternodes but without optical drives or video cards.
    One node acts as the head, running DHCP, DNS, OpenDirectory, Xgrid.
    They are wired to a gigabit switch.
    I have a PowerBook connected on the subnet which has ServerAdmin Tools installed.
    I don't think when I run SystemImageUtility on my PowerBook that I can successfully image one of the clusternodes disks over the network.
    I have tried to start one node in target(Firewire) mode, connect it via Firewire
    to the head node, and run hdiutil from the head node to make a complete disk image of the clusternode's drive.
    But a NetBoot image requires the whole nbi file, right?
    Could I then use copy this disk image to my PowerBook and use SystemImageUtility on my PowerBook to create a NetBoot image from it?
    I really have tried to read the PDFs, but I found the section on System Imaging in the Command Line Reference rather unhelpful.
    Thanks for anyones help.
    dmaus
      Mac OS X (10.4.4)  

    To create a NetBoot image, you could just put the cluster node in target mode and attach it to your PowerBook. Then use SIU to create the NetBoot image.
    If you're trying to create a backup image of the disk, use hdiutil, or put in in target mode and create the image with Disk Utility.

  • How can I create a interactive image on ibook author, just like the temperatures map on the "life on earth" book?

    I need a create an interactive image at the ibook author app, but I don´t know how, I saw the interactve image in the "life on earth" book, from the apple store, in an temperature map
    apreciate that someone could help me, please

    Doesn't work w/iBA books & iBooks 2, sorry.

  • How can I create a one image per page caption sheet that includes the description in Bridge?

    I am trying to find a way to create a one-image-per-page caption sheet for my workflow. I currently place each image into Word and copy the description onto the document, then repeat for each image. I am hoping that there is a way to automate this process using Bridge. I know that it can be done using Lightroom, however, that is not currently an option for me. Is this something that can be done or am I bound, like Sisyphus to Microsoft Word? I have a very limited grasp of scripting, but I feel like this is possible.
    Thanks for any help.

    To create a NetBoot image, you could just put the cluster node in target mode and attach it to your PowerBook. Then use SIU to create the NetBoot image.
    If you're trying to create a backup image of the disk, use hdiutil, or put in in target mode and create the image with Disk Utility.

  • How can I create a clickable matrix that each cell leads to a different view?

    Hi everybody,
    I want to create a matrix in my Sharepoint homepage that each of its cells will be clickable and lead to different filtered results. I use Sharepoint 2010.
    Currently I am thinking of creating the filtered results using views and then  inserting the links of the views in a two dimensional matrix. I want this matrix to be present in my homepage and those who click on its sells will be directed to the aforementioned
    views. 
    First I would like to know if it's possible to do this, whether there is a better way and finally how I can create this matrix. Any help is welcome! 
    Cheers,
    Sakis

    Depending on which version of SharePoint you're using, this (InfoPath) may not be the best way.  Otherwise, here's how I'd do it:
    Create buttons with custom look and feel...  make them look like your matrix... then, use rules to "switch views" to whatever view you want them to go to based on which button they click.  Buttons can be used to run rules and switch views, really
    easily.  Then (depending on what version of SharePoint you have... MOSS vs WSS, 2007 vs 2010 vs 2013) you could put a "Form webpart" on the home page to display your form when people visit the page. 

  • How can I create life size images in Lightroom's Book module?

    I want to scan something and place it in a book without scaling the original up or down. I have not found a way to do this – Lightroom only tells me what percentage of the image is showing and it can be at any scale. Can anyone say how I should go about this?

    You are not doing anything wrong - except to try this in the Lr Book Module.
    The Lr Book Module is not a full fledged book layout program, and many things that you expect for a book layout program can't be done.
    I would not be so "picky" as to wanting to avoid any up- or downsampling.
    But if you absolutely have to, use Blurb Booksmart or Adobe InDesign to do this. In Blurb Booksmart you can design an image box to exact dimensions in inches.
    In Lr you cannot do this, a feature that many users want but it seems that Adobe is adamant that templates is the way to go. Lr 5 beta has not changed this.
    You can download Blurb Booksmart free of charge from Blurb's website. You will like the freedom of page design that Booksmart offers.
    Disadvantages: Your workflow is more complicated than using the Book Module in Lr. And you are bound to print with Blurb.
    With Booksmart you have to export the images from Lr to a specific folder from which Booksmart loads the images. But every time you change an image in Lr you have to export it again and load it again in Booksmart.
    If you also use the Blurb plug-in for Lr you can create a Blurb Publish Service. Changes to an image that has already been published have to be re-published in Lr but the changes will "carry through" into the book automatically.
    Finally, I question whether you can actually test the size of an image in the Lr Book Module by printing the page with your printer. There are reports on this forum that the printed image size is not exactly as shown in the Lr Print Module. I have observed this too with my printer. Mostly the printed image is about 1/8 of an inch larger than in the Lr Print Module. The reason might lie in how the printer translates pixels into ink droplets - just a guess of mine.

  • How can I create a vi Image I can export to Powerpoint

    Create documentation for review

    The solution depends on how you want to export to Powerpoint. I use pdfFactory which prints my VI to a pdf file. The file can be somewhat modified in Photoshop, has reasonable clarity, and is fairly compact.
    If you require more editing then another format will have to be selected.
    You can download a trial version of pdfFactory Pro and use it if you do not mind the reminder at the bottom of the page.
    RL

  • How can I create a dynamic image button

    Hi
    I want to fill a region with buttons with image. I will execute a PL/SQL procedure to do this. I have made some tests but the image didn't is shown.
    I write in my plsql code:
    htp.p('<input type="image" src="#WORKSPACE_IMAGES#image.png" >');
    Any help?
    I am using Apex 4, EPG, Oracle 11g, Ubuntu environment.
    Tks a lot.
    Ricardo

    There is no "image" type for an INPUT tag
    Oh yes there is.
    >
    I have made some tests but the image didn't is shown.
    I write in my plsql code:
    htp.p('<input type="image" src="#WORKSPACE_IMAGES#image.png" >');Works for me&mdash;in terms of images being displayed&mdash;from a dynamic PL/SQL region. Confirm the image(s) exist as uploaded files and are correctly referenced (case sensitive)? The image(s) are actually workspace images and not associated with a particular application?
    However, the bigger problem likely to arise here is that we don't normally generate <tt>input</tt> elements in APEX in this fashion: we either get APEX to do this for us or we use the <tt>apex_item</tt> API&mdash;which doesn't include a method for generating inputs of type <tt>image</tt>. If this region is generated inside the form APEX generates then page submission will fail with a 404 error as the inputs generated through your PL/SQL are not known to APEX. All you can really do in this fashion is attach an <tt>onclick</tt> event handler to submit the page using the <tt>apex.submit</tt> JavaScript API method, either using a Dynamic Action as Tobias suggests, or directly in your code:
    htp.p(q'{<input type="image" src="#WORKSPACE_IMAGES#icon-1.png" onclick="apex.submit('foo'); return false;" alt="Foo" />}');Which means it's not a great deal different from using an <tt>img</tt> element, as Andy said. There's also the <tt>button</tt> element, which allows you to construct a clickable button using other elements (as long as you don't have to support IE6):
    htp.p(q'{<button type="submit" onclick="apex.submit('bar');"><img src="#WORKSPACE_IMAGES#icon-2.png" alt="Bar" /></button>}');Why have you chosen to try this approach rather using <tt>img</tt> or APEX button templates?
    Edited by: fac586 on 16-Jan-2011 18:00
    Few problems getting Jive to accept the post...

  • How can I create a DVD image that PC users can retrieve and burn...

    I need to create a DVD disc image that PC users can retrieve from a private network share and burn to a blank DVD. Once burned, it needs to auto-start at the Menu. The master works fine. Images burned using the Mac Disk Utility work fine. But I have little control over who will download the image or the method by which they will burn it, so I need to provide visitors with guidance. Thank you in advance for any assistance you can provide.

    Thank Jeff for this one.....
    http://homepage.mac.com/geerlingguy/macsupport/mac_help/pages/0023-convert_dmg_imgiso.html
    I've also heard that you can just copy an ".img" iDVD image to a pc, change the extension to .iso and then burn with Nero, etc. But I haven't tried it myself.....
    John B.

  • How can I create write-able images

    The problem I have is that when I create imagges through aperture and export, then burn to cd, when I put them in my other computer I can't edit the images as they are locked and 'read only'.
    Is this an Aperture export preference or is it somewhere in the settings?
    I need to get these images to someone so they can edit them but I can't figure it out.
    TIA

    Wow...do I feel stupid. I knew this but for some reason my brain was telling me it was more complicated than it needed to be.
    Thanks for pointing out the obvious  and saving me a headache.

  • How can I have a clickable image as my signature?

    I have tried diff. codes and nothing, can anyone help?
    TIA
    This is the image I want clickable
    iMac   Mac OS X (10.2.x)  

    I don't believe this is possible.
    http://helpblog.blackberry.com/2013/02/blackberry-z10-set-up-signature/
    Please click the Thumbs Up icon if this comment has helped you!
    If your issue is resolved, please click the solution button on the resolution!
    Every BlackBerry should have BlackBerry Protect, get it now! | Follow me on Twitter | Bring Back BBM Music!

  • How can i create java.awt.Image Serialized To write it in A socket

    I want to write the Object of Image in Socket ...
    What i want to do is I am caturing A screen Shot of one Client Side and Want display it on the Other Client End..

    Since the image is transmitted in byte[], no need to use Ojbect write or read
    I am doing the same thing but i am not able recreate
    the Image at reading the Obj from the Sockets
    BufferedImage bImage= robot.createScreenCapture(new
    Rectangle(600,800));
    img = this.createImage(bImage.getSource());
    PixelGrabber pix = new PixelGrabber(img
    ,0,0,-1,-1,true);
    pix.startGrabbing();
    pix.imageComplete(pix.status());
    obj.writeObject(pix.getPixels());
    Object obj = objStream.readObject();
    int []pix =(int [])obj;
    Image Reimgage = createImage(new
    MemoryImageSource(600,800,pix,600,800));
    // When i recreate this Image ... it does not Show me
    any thing..

Maybe you are looking for

  • SQL Server Driver Class not found problem

    Hi, I've read several replies to similar topics but almost all the answers are: set your classpath because JVM can't find your .jar files containing those classes. I'm using Windows 2000 Pro and J2SDK1.4.1_01 Ok, the problem is that I've set my CLASS

  • My keyboard only types certain letters

    on my password screen, my usb keyboard (razer blackwidow 2013) won't type certain letters so i can't login in. for example, my password is mattman23 and i can only type the the letter "t" and "23". i have tried a logitech wireless keyboard and still

  • Where are the labour and setup time cost maintained ?

    Dearest all, Does anybody know which transaction screen that labour cost is maintained ? and setup time cost ? thank you, me

  • GMS Database connection problem after OES2 update

    Hi all, Latest version GMS on linux - after applying latest patches (eDir and others) I couln't connect to GMS admin interface. I found in syncserver.log java.sql.SQLException: [Sybase]ODBC Driver]SQL Anywhere]No database file specified Look that any

  • I can't access my server from a remote PC

    I can access a mac mini running snow leopard from remote Macs but I cannot access it from a remote PC. Are there special ports that need to be opened on the router to permit this?