Add image to choice group

hello
i want help regarding adding image to the choicegroup
the list of choices to be displayed is decided dynamically
i used following technine wich doesn't worked
ChoiceGroup choose=new ChoiceGroup("Choose",ChoiceGroup.EXCLUSIVE);
choice.append("hello",Image.createImage("/img.png"))

hi
try to use se80. search your function group on the package (development class) you use then right-click your function group choose create then select transaction...
reward points if helpful...thanks
regards,
nips

Similar Messages

  • Is there a way to add images to the collection used in Photomerge Style Match?

    When one uses the menu: Enhance->Photomerge® Style Match, there will be six images displayed to choose from. The path to them is (Mac):
    /Application/Contents/Resources/models/ While this menu is only available in Expert mode, you end up in Guided when you choose it. I assume, therefore, that there is actually an Action or at least a script.
    Simply adding an image wouldn't work, which I confirmed. Even rebuilding the MediaDatabase.db3 didn't help. But there must be more than just the simple jpeg that the app uses to perform the effect... or maybe not! ;-) All I'd like to know is if there is a way to add images to the list of choices.
    Thanks!

    What version of photoshop elements and mac os x are you using?
    Once your in the Style match screen you add images using the Green Plus button
    (the screenshot is from photoshop elements 12)

  • Add image to SharePoint Survey for multiple questions??

    Hi,
    How can i show a particular picture for group of questions in sharepoint 2010 survey? From following link i was able to add image for one question. so what i need to do if i want to add more questions with the same image?
    http://robdevereaux.wordpress.com/2013/08/09/how-to-add-pictures-to-a-survey/
    Thanks

    If you want to add images to multiple questions using the code at that link do something like:
    elements[e].innerHTML = elements[e].innerHTML
    .replace('CAR_IMAGE','<img src="/PATHTO/IMAGE/CAR.jpg"></img>')
    .replace('BOAT_IMAGE','<img src="/PATHTO/IMAGE/BOAT.jpg"></img>')
    .replace('PLANE_IMAGE','<img src="/PATHTO/IMAGE/PLANE.jpg"></img>');
    Also, if you would like to add a picture, text or formatting to every survey page in a survey with page breaks you will typically need to edit both the NewForm.aspx and EditForm.aspx pages using SharePoint Designer or by adding a Content Editor Web
    Part to both pages.
    Here's some of the other things like this I have done with surveys:
    http://techtrainingnotes.blogspot.com/2013/02/add-content-editor-web-part-cewp-to.html
    http://techtrainingnotes.blogspot.com/2010/07/sharepoint-add-instructions-and-color.html
    (and there's a chapter on surveys in my customization book.)
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • Add image to iPhoto library doesn't open IPhoto screen

    OS 10.4.10
    Ibook G4
    1.5 GB Ram
    iPhoto 5.0.4
    Hi,
    When I want to capture a picture, whether from the web or elsewhere, I usually press control-click and a pop down window appears with various choices, one of which is "Add image to iPhoto library". Ordinarily, what happens is that the iPhoto screen appears, says "loading photos" and I see the image I have added.
    Today, I have pressed control-click, "Add image to iPhoto library", but the iPhoto window didn't open. The application opened because the tool bar (menu?) at the top was iPhoto, and said so at the far left corner.
    The weird thing then was that when I did get the iPhoto screen to open (and I don't remember what I did to do that) all the pictures I thought I hadn't downloaded, were there.
    I admit I have been having some weird things going on in all my programs and in the finder, such as lots of the beach ball, and the stopped watch; putting the cursor into a line of text not to select but to write, and the word and/or the line got selected. Other things too. But iPhoto has been reliable up to today. I'm pleased that I /did/ get the pictures after all, but I'd like to know why the iPhoto screen didn't appear as usual.
    Thanks for any help you can give,
    Rafael

    Rafael
    My concern is that your issue is not with iPhoto, but a more generalised one - especially when I read
    I have been having some weird things going on in all my programs and in the finder, such as lots of the beach ball, and the stopped watch; putting the cursor into a line of text not to select but to write, and the word and/or the line got selected. Other things too.
    I would have that Hard Disk checked, this could be the beginnings of a hardware issue.
    Regards
    TD

  • How to show image in radio group ?

    Hello,
    I tried to add image on my radio group
    select '<img src="/../i/ok.png">' as d, 1 as r from dualBut it's replacing the signs '<' and '>' by "& lt;" and " & gt;"
    Any idea how to avoid html to replace those characters?
    (I'm using Apex 4.0)
    Thanks,
    Uji

    Hi Prabodh,
    I'm trying to put the image in the select list of values.
    I would like to have two columns in my radio group and show 2 different images instead of texts
    Before I had this result instead of an image <img src="/../i/ok.png">In Firebug it is : <label for = "blabla">& lt;img src=&quot;/../i/ok.png&quot;& gt;</label>
    Now with htf.escape_sc I have & lt;img src=&quot;/../i/ok.png&quot;& gt; Kr

  • Add Image to an Applet

    How do I add an image to an applet (along with other components:button, choice etc)? Sample code would be appreciated. I do not see any component to add image.
    Thanks.

    If you are using one of the getImage methods, they don't wait around for the image to load; they return immediately. So we use a MediaTracker to block program execution until the image is completely loaded. This is older java technology and will work in older versions of java. If you are using j2se 1.4+ then you can use the ImageIO class for loading an image.
    /*  <applet code="AppletImage" width="400" height="400"></applet>
    *  use: >appletviewer AppletImage.java
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    public class AppletImage extends Applet
        public void init()
            Button button = new Button("Button");
            Choice choice = new Choice();
            choice.add("item 1");
            choice.add("item 2");
            Panel north = new Panel();
            north.add(button);
            north.add(choice);
            TextField tf = new TextField("text field", 12);
            Panel fieldPanel = new Panel();
            fieldPanel.add(tf);
            ScrollPane scrollPane = new ScrollPane();
            scrollPane.add(new AppletImagePanel());
            Panel panel = new Panel(new BorderLayout());
            panel.add(scrollPane);
            panel.add(fieldPanel, "South");
            setLayout(new BorderLayout());
            add(north, "North");
            add(panel);
        public static void main(String[] args)
            Applet applet = new AppletImage();
            Frame f = new Frame();
            f.addWindowListener(new WindowAdapter()
                public void windowClosing(WindowEvent e)
                    System.exit(0);
            f.add(applet);
            f.setSize(400,400);
            f.setLocation(200,200);
            applet.init();
            applet.start();
            f.setVisible(true);
    class AppletImagePanel extends Panel
        Image image;
        public AppletImagePanel()
            loadImage();
        public void paint(Graphics g)
            super.paint(g);
            int w = getWidth();
            int h = getHeight();
            int imageWidth = image.getWidth(this);
            int imageHeight = image.getHeight(this);
            int x = (w - imageWidth)/2;
            int y = (h - imageHeight)/2;
            g.drawImage(image, x, y, this);
        public Dimension getPreferredSize()
            return new Dimension(image.getWidth(this), image.getHeight(this));
        private void loadImage()
            String fileName = "images/owls.jpg";
            MediaTracker tracker = new MediaTracker(this);
            URL url = getClass().getResource(fileName);
            image = Toolkit.getDefaultToolkit().getImage(url);
            tracker.addImage(image, 0);
            try
                tracker.waitForID(0);
            catch(InterruptedException ie)
                System.err.println("interrupt: " + ie.getMessage());
    }

  • Setting multiple album images for a group.

    I want to put multiple images for CDs that I have (Front, back, inside of booklet, etc). Can I do this for an entire CD or do I need to do each song separately?

    You can add multiple album artwork images to multiple tracks at the same time, but not through the Multiple Song Get Info pane. Each time you drag an image onto the Artwork box in this pane, the previous image is erased.
    To add multiple images, select your tracks in the main iTunes Window, and make sure that Artwork box under the Source Menu is visible. Then just drag the image you want to add to the tracks onto this pane, but make sure you FIRST add the image you want to appear FIRST. There isn't any way to reorder the images in a group of tracks - that has to be done in the individual track's artwork pane (Get Info>>Artwork tab).
    Lita

  • Choice Group Problems

    aft I add the items to the choice group.. When I use isSelected(0) == true --> to delete the particular item but it will prompt me indexarrayoutofbound.. wat happen?
    else if(c == confirm  && s == purForm)
          if(cgp.isSelected(0) == true)
           confirmForm.append("1st item on the purchase list: " + 1);
          if(cgp.isSelected(1) == true)
            confirmForm.append("2nd item on the purchase list: " + cgp.getSelectedIndex());
          if(cgp.getSelectedIndex() == 2)
            cgp.delete(2);
          if(cgp.getSelectedIndex() == 3)
            cgp.delete(3);
          if(cgp.getSelectedIndex() == 4)
            cgp.delete(4);
          if(cgp.getSelectedIndex() == 5)
            cgp.delete(5);
          if(cgp.getSelectedIndex() == 6)
            cgp.delete(6);
          if(cgp.getSelectedIndex() == 7)
            cgp.delete(7);
          if(cgp.getSelectedIndex() == 8)
            cgp.delete(8);
          if(cgp.getSelectedIndex() == 9)
            cgp.delete(9);
          if(cgp.getSelectedIndex() == 10)
            cgp.delete(10);
          if(cgp.getSelectedIndex() == 11)
            cgp.delete(11);
          if(cgp.getSelectedIndex() == 12)
            cgp.delete(12);
          createConfirmForm();
          display.setCurrent(confirmForm);
        }can someone help me please... Thankz alot...

    aft I add the items to the choice group.. When I use isSelected(0) == true --> to delete the particular item but it will prompt me indexarrayoutofbound.. wat happen?
    else if(c == confirm  && s == purForm)
          if(cgp.isSelected(0) == true)
           confirmForm.append("1st item on the purchase list: " + 1);
          if(cgp.isSelected(1) == true)
            confirmForm.append("2nd item on the purchase list: " + cgp.getSelectedIndex());
          if(cgp.getSelectedIndex() == 2)
            cgp.delete(2);
          if(cgp.getSelectedIndex() == 3)
            cgp.delete(3);
          if(cgp.getSelectedIndex() == 4)
            cgp.delete(4);
          if(cgp.getSelectedIndex() == 5)
            cgp.delete(5);
          if(cgp.getSelectedIndex() == 6)
            cgp.delete(6);
          if(cgp.getSelectedIndex() == 7)
            cgp.delete(7);
          if(cgp.getSelectedIndex() == 8)
            cgp.delete(8);
          if(cgp.getSelectedIndex() == 9)
            cgp.delete(9);
          if(cgp.getSelectedIndex() == 10)
            cgp.delete(10);
          if(cgp.getSelectedIndex() == 11)
            cgp.delete(11);
          if(cgp.getSelectedIndex() == 12)
            cgp.delete(12);
          createConfirmForm();
          display.setCurrent(confirmForm);
        }can someone help me please... Thankz alot...

  • Choice group problem

    Aft i add 25 items in the choice group..
    when i need to delete them, it will give me indexarrayoutofbounds.. How can i solve it? and wat is the max. size of the choice group?

    You can't use the ChoiceGroup on a Canvas. You'll have to make your own menu widget.
    Another option would be to display first the question on a form with a Command "Answers" and then when the Command is pressed you switch to a List (with List.IMPLICIT set as the type).
    shmoove

  • Can not add members to a Group as Group Administrator

    Hi,
    My collegue has created a Group 'WE_PM_group' and added me to that Group with role 'Group Administrator'.
    But when I connect to the 'Create Group Or Add New Members' tool, then after SSO and acknowledging the 'read and understood Beehive Online Guidelines', it does not show the 'WE_PM_group' (it shows no Groups) and I can only Create a group.
    My question : how can I add members to the Group that my collegue created and for which I am Group Administrator ?
    Note : When I connect to the BeehiveOnline Administration Tool, I indeed see my e-mail address within the Group 'WE_PM_group' and with the correct role (Group Administrator)
    Thanks for your help,
    Peter

    If you go to the APEX app and have any group - like your Administrator - you will have a list of group - each of them is a hyperlink. Click on the group and the Group settings will be displayed - one of the fields is the Manager email. Get him/her to puit your email in that field, separated by a comma, and you are good to go.
    Phil

  • How do I add image upload to web app edit template?

    How do I add image upload to web app edit template. When creating fields I am selecting image from the field type. But the only way to upload and image is when I create the web app item within the admin. The option to upload an image is not available when the user submit web form opens.
    Wont send any of these questions through this email anymore but really needed assistance.
    Thanks,
    Gordon

    On the Details tab of the Web App setup, under Web App Item Options; have you ticked "Allow File Upload" and specified a Default Upload Folder?

  • How to add Images and PDFs in MDM iView

    Hello!
    We use SAP Portal as interfase to access SAP MDM repository tables.We use MDM Record Set and MDM Item Detail iViews to display and operate with main table content.
    There is a field in the qualified table, which is the lookup to the Images table. And the other field is the lookup to the PDFs table. Both fields are qualifiers.
    In the main table there is a field, which is the lookup to the qualified table. When we try to add values to this field using Item Detail iView, we get a window, where we can fill all values of the qualified table, except Image field and PDF field - they are disabled. So, can we add Images and PDFs to the table using Item Datail iView? Or what is the other way to add them?
    Thanks,
    Vika
    Message was edited by:
            Viktoria Demina

    Ooohh... you mean, like the one mentioned in http://indesignsecrets.com/adding-zoom-and-print-to-indesign-swf-files.php?
    But they want to get paid for their hard work, the bastards!

  • Display image in detail groups in jheadstart 11.1.1.3.35

    Hi, I've been trying to make a project that should display one picture in one of the detail groups. but when i generate the jheadstart definition editor and run the project, it shows an empty box for the image (image is not loaded).
    I've seen the source code and every thing seems right and when i use that detail group as a master group the image display just fine.
    is jheadstart 11g have a problem for displaying image in detail groups? because I've heard this option works in 10g pretty fine.
    please help me how i can fix this problem and i have to say my project deadline is coming :(

    We are not aware of such a problem.
    To really check whether it is related to a detail group, can you temporarily make the detail group a top-level group, generate and run your application to see whether the problem goes away?
    Make sure you first uncheck the Same Page checkbox before you drag and drop the detail group to become a top group.
    There is a known ADF issue that when you upload a new image, the new image is only shown when you restart the session.
    Steven Davelaar,
    JHeadstart Team.

  • How do i add images in the header and footer to a PDF using iText

    Hi ,
    I want to add images to the header and footer of every page while i am genrating a pdf i have created a separate class called EndPage which i am instanceiating its default constructor in another class 's button action method.
    The above code genrates a PDF for me however it genrates a file with file size zero bytes and does not open it following is my sample code
    //**********Any Help would be appreciated
    Thank You
    public class My_Class
    public String pdf_action()
    EndPage ep=new EndPage();
    return null;
    }//My_class Ends
    class EndPage extends PdfPageEventHelper
    * Demonstrates the use of PageEvents.
    * @param args no arguments needed
    public EndPage()
    try {
    com.lowagie.text.Document document = new Document(PageSize.A4, 50, 50, 70, 70);
    PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("D://proposals/endpage.pdf"));
    writer.setPageEvent(new EndPage());
    document.open();
    String text = "Lots of text. ";
    for (int k = 0; k < 10; ++k)
    text += text;
    document.add(new Paragraph(text));
    document.close();
    catch (Exception de) {
    de.printStackTrace();
    public void onEndPage(PdfWriter writer, Document document) {
    try {
    Rectangle page = document.getPageSize();
    PdfPTable head = new PdfPTable(3);
    for (int k = 1; k <= 6; ++k)
    head.addCell("head " + k);
    head.setTotalWidth(page.width() - document.leftMargin() - document.rightMargin());
    head.writeSelectedRows(0, -1, document.leftMargin(), page.height() - document.topMargin() + head.getTotalHeight(),
    writer.getDirectContent());
    PdfPTable foot = new PdfPTable(3);
    for (int k = 1; k <= 6; ++k)
    foot.addCell("foot " + k);
    foot.setTotalWidth(page.width() - document.leftMargin() - document.rightMargin());
    foot.writeSelectedRows(0, -1, document.leftMargin(), document.bottomMargin(),
    writer.getDirectContent());
    catch (Exception e) {
    throw new ExceptionConverter(e);
    }

    Hi,
    Thanks for the quick response.
    The problem is that when I keep the logo as a watermark, the pdf is not adjusting itself to include the logo as header.
    But if I add a header text via Tools -> Headers and Footers, the pdf is adjusting itself so that the header text is at the beginning , not overlapping with the contents of pdf.
    But while using logo as watermark, some times overlapping of the pdf contents and logo is happening.
    Is there any way to add a logo in the Header and Footer via the option in Tools -> Headers and Footers
    Thanks,
    Vidhya

  • How do I add a user's group calendar in iCal?

    How do I add a user's group calendar in iCal?
    I just keep getting "the account was not found"
    But the account works for its own network calendar.
    None of the following locations work -
    master.mydomain.net:8008/principals/groups/domainusers/calendar
    master.mydomain.net:8008/principals/wikis/domainusers/calendar
    master.mydomain.net:8008/calendars/_uids_/wiki-domainusers/calendar
    and every variation I can think of (I've tried master.local, http:// & webcal:// and a / at the end)
    I can add a users network calendar account to iCal.
    I can subscribe to a group / wiki calendar in iCal.
    I can add an event on the wiki calendar as a user.
    But I want a user to be able to add an event to a group calendar in iCal.
    Any ideas would be appreciated.

    Hi!
    I've got the same weird problem..
    I tried that url and I can open it in Safari and I even can add the calander in iCal on a macbook with 10.5 - but i just can't add it on my macbookpro with snow leopard.
    Did anybody made that work on a snow leopard machine?
    Best regards,
    Fabian

Maybe you are looking for

  • Using HP Laserjet 5100 as a postscript level 3 device

    Hi Smart People, I'm usually pretty good at figuring this kind of thing out, but this setup has me at the edge of my understanding. If you could help me out, I would be very grateful. I'm planning to use my 5100 to print offset plates for use on a pr

  • Song Titles Get Cut Off

    I have decided to convert all of the music on my computer from MP3 to AAC format, but when i convert songs the titles tend to be cut off after 35 characters or less. A good portion of my music has rather long names in the file titles because some of

  • Need to reduce `target-player` to support users with older Flash versions?

    Right now we are currently compiling ZeroClipboard using the Flex 4.6 SDK, which has a minimum (and default) "target player" version of 11.1.  I am uncertain if this is preventing users with Flash 10.x from utilizing ZeroClipboard but the documentati

  • Autconfig error : ORA-01400: cannot insert NULL into ("APPLSYS"."FND_NODES"."NODE_NAME")

    Good day, I am running EBS 11.5.10  with DB 10.2.0.4. I applied patch 7429271 following the steps in  Doc Id. 233044.1. After restarting the application, I got a "node id does not exist for the current application" when the forms started. After purgi

  • Unable to use bt speedtester

    Hi  This happened for years and years when I was with another provider. Now it's disappeared again (since October) and I haven't been able to access it since then. Comes up with  The Performance Tester is currently unable to run a speed test for your