Images in Checkbox Item possible?

Hi All,
Is there a way to include images instead of text as checkbox display value? I've tried all I know and look elsewhere but have been unable to see how.
If anybody knows how can this be accomplished out of the box or by changing something somewhere I'll be thankful.
What I'm trying to do is basically show a list of images from the database and let the user select the ones he/she wants to use. Then pass this list to a database package for processing when the page is submited (being it a value in the form of ie 12:234:212:1 )
Thanks ind advance.
Regards,
Juan P.

Create an LOV
select '<img src='||image||'</>',image_value from database_table
(code}
Robert
Edited by: sect55 on Jul 22, 2012 4:46 PM                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Change template for Form Checkbox Item?

    I would like to remove the <label> tag from the template for Form Checkbox items and replace this in the list with my own label tag
    E.g. something like this
    select '<label onmouseover...>'||reference||'</label>', table_id r
    from tabel
    order by 1
    Is this possible?
    Thanks & regards
    Edited by: rw on May 3, 2012 6:10 AM

    Checkbox is <input> HTML tag with type="checkbox"
    The Label that wraps this Input is generated by Apex while rendering and stores important information.
    It is not advisable to play with that area even if someone gives you a technically feasible solution like "use a jquery selector to change the tags" in onload event,etc.
    Please find a more elegant solution to your problem.
    E.g. look at APEX_ITEM API
    Regards,

  • Checkbox item: How to get all values checked?

    See http://htmldb.oracle.com/pls/otn/f?p=24317:46
    The report query is simply
    select
    'One' one,
    'Two' two,
    'Three' three,
    'Four' four
    from dualThe checkbox item is a named static LOV with STATIC2:ONE,TWO,THREE,FOUR and a Source value of ONE:TWO:THREE:FOUR so that all boxes appear checked when the page is first rendered.
    All the 4 columns have a column condition like
    instr(':'||:P46_COLS||':',':ONE:') > 0to ensure that column is rendered only if the corresponding checkbox is checked.
    The report has Dynamic column headings with the following PL/SQL function body
    return 'ONE:TWO:THREE:FOUR';To my (pleasant) surprise, this works very nicely. When column TWO is conditionally not rendered, its corresponding column heading is also skipped with no effort on my part. Nice.
    Question:
    Instead of "hard-coding" that string ONE:TWO:THREE:FOUR in the 2 places I mentioned above (checkbox item source and report heading), is there a way to access the "all values checked" version of that LOV item so that it will dynamically pick up the latest LOV changes? The way I have done it currently, if I change the named LOV, I need to also change those 2 places where I have hardcoded the values.
    Any ideas? Thanks

    Scott:
    I thought about that but the LOV has dozens of values, each with a verbose display value and a return value of the column name (upto 30 characters) and the display values are still being "worked on" by the users.
    So, the "all columns" string would be a big, unweildy string that would be hard to edit.
    It is much easier to edit, resequence and generally work with a Shared Component LOV defined as a Static LOV because you get that nice page (4000:4111) where you can read everything nicely formatted instead of a STATIC2:<big long string>!
    Can I have my cake and eat it too?!
    Thanks

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information. Outcome: Unknown Error

    Received this error (The workflow could not update the item, possibly because one or more columns for the item require a different type of information.) recently on a workflow that was
    working fine and no changes were made to the workflow.
    I have tried a few suggestions, i.e. adding a pause before any ‘Update’ action (which didn’t help because the workflow past this action without incident); checked the data type being written
    to the fields (the correct data types are being written); and we even checked the list schema to ensure the list names and the internal names are aligned (they
    are), but we still cannot figure out why the workflow is still throwing this error.
    We located the area within the workflow step where it is failing and we inserted a logging action to determine if the workflow would execute the logging action but it did not, but wrote the same error message.
    The workflow is a Reusable Approval workflow designed in SharePoint Designer 2010 and attached to a content type. 
    The form associated with the list was modified in InfoPath 2010. 
    Approvers would provide their approval in the InfoPath form which is then read by the workflow.
    Side note - items created after the workflow throws this Unknown Error some seem to be working fine. 
    We have deleted the item in question and re-added it with no effect. 
    Based on what we were able to determine there don’t seem to be any consistency with how this issue is behaving.
    Any suggestions on how to further investigate this issue in order to find the root cause would be greatly appreciated?
    Cheers

    Hi,
    I understand that the reusable workflow doesn’t work properly now. Have you tried to remove the Update list item action to see whether the workflow can run without issue?
    If the workflow runs perfectly when the Update list item action is removed, then you need to check whether there are errors in the update action. Check whether the values have been changed.
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information using Update Item action

       I got error  "The workflow could not update the item, possibly because one or more columns for the item require a different type of information "I  found out the cause is  Update Item action       
    I need to update item in another List call Customer Report ,the field call "Issues"  with data type  "Choice"   to yes
    then the error arise .   please help..

    Thanks for the quick response Nikhil.
    Our SPF 2010 server is relatively small to many setups I am sure. The list with the issue only has 4456 items and there are a few associated lists, eg lookups, Tasks, etc see below for count.
    Site Lists
    Engagements = 4456 (Errors on this list, primary list for activity)
    Tasks = 7711  (All workflow tasks from all site lists)
    Clients = 4396  (Lookup from Engagements, Tslips, etc)
    Workflow History = 584930 (I periodically run a cleanup on this and try to keep it under 400k)
    Tslips = 3522 (Engagements list can create items here, but overall not much interaction between lists)
    A few other lists that are used by workflows to lookup associations that are fairly static and under 50 items, eg "Parters Admin" used to lookup a partners executive admin to assign a task.
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

  • I have a mac mini and just purchased a moshi hdmi connector for my LED TV. The problem is, I wanted to be able to take my mouse from one screen to another, not just as a mirror image! Is it possible to do this some how?

    I have a mac mini and just purchased a moshi hdmi connector for my LED TV. The problem is, I wanted to be able to take my mouse from one screen to another, not just as a mirror image! Is it possible to do this some how?

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    If you have two displays attached, then the function to change from mirrored to extended Desktop will appear in System Prefs/Displays.

  • I need to connect my Imac 27'' (newest version) up to 3/4 monitors (all 40'' LCD tv's with VGA and HDMI connections) with extended display to all external screens, not duplicate images. Is this possible?

    i need to connect my Imac 27'' (newest version) up to 3/4 monitors (all 40'' LCD tv's with VGA and HDMI connections) with extended display to all external screens, not duplicate images. Is this possible?

    I would suggest you visit an Apple dealer, preferably an Apple Store if there's one in your city, and ask for assistance in determining what you need. The questions and issues you bring up are rather complex to address in a technical support forum and would be better addressed in person where you and the salesperson can ask questions back and forth to arrive at the optimal setup.
    Regards.

  • Render a swf object(contains an image) in navigator not possible

    Hy, I have a swf object that is an image(a circle). I have tried to render it in firefox but it doesnt render anything but I have tried with other swf object(not an image, an application) and it renders it ok. So can I render a swf file that is an image or is not possible? should I extract the image in it first to render on the navigator?
    Thanks

    Take a look at
    http://developers.sun.com/jscreator/learning/tutorials
    /2/file_upload.html#07.Thanks jetsons. That particular code sample (#7 in SJSC, #8 in Netbeans) shows only how to serialize a file to a different location on the server, not how to reference a file (not stored within the app forlder) to be rendered as a result of hyperlink click for example. Reading a little further in that page, it says:
    Be careful when putting the uploaded files in the web application as anyone can access the files by URL, such as http://localhost:29080/MyWebApplication/faces/upload/images/myPicture.gif.
    So, I am thinking that for added security, may be it is meant to be that I can't make an imageComponent reference a file outside of the wep app folder, but I am just guessing. In which case, I will simply have to store all such files within the web app folder before attempting to access them, unless someone has a better answer.

  • Checkbox Item: character string buffer too small (APEX 4.0. - 4.2.)

    Hi all,
    I'm currently running the Oracle Application Express 4.0.2 on the Oracle DB 11g and thinking about the APEX upgrading to current 4.2. version. We have there quite big application used by the inernal employees so prior I need to test, if the migration will work.
    I installed the new server with database and the APEX 4.2. and import the current application. Everything seems to working good except few checkboxes, which returns me the error: "ORA-06502: PL/SQL: numeric or value error: character string buffer too small."
    LOV (Source) Code of Checkbox Item:
    SELECT email as display_value, id as return_value
    FROM users
    WHERE <some conditions>;
    In the current version 4.0.2. I get the checkbox item (total count of the rows approx. 650), but in the 4.2. I get this "string buffer too small" error and the page could not be rendered (if I add to the same query limitation: "rownum<242" it will display the item).
    Could you please help me with this issue? Any idea, what I should set up in the new APEX to get the same results or you see there any limitation, why it does not work in the new version, but in the old version the same SQL works fine?
    Thank you all in advance.
    Regards,
    Tomas.

    1007462 wrote:
    Hi all,Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your forum profile with a real handle instead of "1007462".
    I'm currently running the Oracle Application Express 4.0.2 on the Oracle DB 11g and thinking about the APEX upgrading to current 4.2. version. We have there quite big application used by the inernal employees so prior I need to test, if the migration will work.
    I installed the new server with database and the APEX 4.2. and import the current application. Everything seems to working good except few checkboxes, which returns me the error: "ORA-06502: PL/SQL: numeric or value error: character string buffer too small."
    LOV (Source) Code of Checkbox Item:
    SELECT email as display_value, id as return_value
    FROM users
    WHERE <some conditions>;
    In the current version 4.0.2. I get the checkbox item (total count of the rows approx. 650), but in the 4.2. I get this "string buffer too small" error and the page could not be rendered (if I add to the same query limitation: "rownum<242" it will display the item).
    Could you please help me with this issue? Any idea, what I should set up in the new APEX to get the same results or you see there any limitation, why it does not work in the new version, but in the old version the same SQL works fine?The total size of the HTML generated for an LOV-based item in APEX is restricted to 32K (this limit applies to every version). Why you are hitting this limit in the new instance may be due to differences in data or the database configuration (e.g. character set) rather than changes introduced in APEX.
    Is the data exactly the same? Is the database configuration the same? When you limit the number of rows so the checkboxes are displayed and view the page source, is there any difference in the HTML used to render the checkbox form elements between the two versions?
    That said, from a usability perspective 650 LOV options is rather a lot, and your application may very well outgrow this limit naturally in any version of APEX as more users as added. It is probably worthwhile thinking about other ways to display these options.

  • Accessing S:List Checkbox Item Renderer Outside the Renderer

    Hi All,
    I have an S:List, with a checkbox item renderer.  I was to be able to access the selected portion of the renderer to create a new function that at the press of a button this will delect all the current selected items in the list.
    Doco states that i should be able to do this just by setting the selectedIndex to -1.  But not sure if this is specific to 4.5??  But it is not working for me.
    Below is my current list.  Outside of this list flashbuilder does not know about chkList, or even selected.  How can i get access to this to deslect all?
    <s:List
    id="ltattributes">
    <s:itemRenderer>
    <fx:Component>
    <s:ItemRenderer>
    <fx:Script>
    <![CDATA[
    import mx.events.ItemClickEvent;
    protected function chkList_changeHandler(event:Event):void
    var e:ItemClickEvent = new ItemClickEvent(ItemClickEvent.ITEM_CLICK, true);
    data.selected = event.currentTarget.selected;
    e.item = data;
    e.index = itemIndex;
    dispatchEvent(e);
    ]]>
    </fx:Script>
    <s:CheckBox id="chkList" selected="false" label="{data.displayname}" change="chkList_changeHandler(event)"/>
    </s:ItemRenderer>
    </fx:Component>
    </s:itemRenderer>
    Thanks

    Try: dataGroup.getElementAt(). 
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • How do you get to display checkbox items  in list or detail layouts?

    Hi,
    I have searched everyhwere for what I felt would be standard stuff in web apps, now lost a day to it!
    None of the online videos/knowledge base articles or this forum seem to cover it but I can't believe you wouldn't be able to do it.
    If I have created checkbox fields in my web apps how do I get them to display in the main templates (details and list) as list items, ul, ol or dl or anything else other than raw output?
    How do I wrap the nessersary html around the values? Jquery for now I guess or is there some hidden liquid layout or tag parameter/value I don't know of?
    And whilst I'm on it is my only option to not show or show content based on a boolean true/false value to do it through jquery/css?
    Help appreciated, so desperate now!
    Regards
    Bangers

    Hi Mary,
    Thanks for the help. I saw that somewhere though Adobe's making this forum nice and tricky to find anything! Relied on google caching for most useful stuff I've found to bybass the redirect to the first forum page.
    I needed it to wrap around the items so came up with this:
    <script type="text/javascript">
         $(document).ready(function () {
         // Populate a dl with checkbox items or choose any other html to wrap around items
             var checkItems="{tag_checkboxItems}";
             $('#dlID').html('<dt>Items List Title</dt><dd>'+checkItems.split(",").join("</dd><dd>")+'</dd>');
              // #dlID can be anything but identifys the html element that you setup to contain your list of items in my case it was a dl with id #dlID
    </script>
    If there is a better SEO method to do this please let me know.
    Frankly I've been  amazed that web apps don't really support conditional statments and there is little to no information on achieving it through jquery (my first projects have been fairly basic)...roll on fluild layouts I guess.
    Failing that maybe Adobe could produce something in the knowledge base or videos which really do cover more advanced implementaion of web apps. I doubt anyone using web apps or having had experience of other CMS would really consider showing or hiding content based on boolean results or looping to create lists all that advanced, it's more a fundemental function of a CMS.
    P.S Thanks again to both of you.
    Bangers x

  • Moving checkbox items into other group

    I have a very simple Word doc that when I have Acrobat automatically create a form from it, puts checkbox items into groups I need to change. For example, the grouping should be
    GroupA
    Item1
    Item2
    Item3
    Item4
    but what I get is
    GroupA
    Item1
    Item2
    GroupB
    Item3
    Item4
    I can't select and slide item3 and 4 into GroupA. And if I delete item3 and 4 and add a new field, the new field is always outside of GroupA, even if I select GroupA or any item inside of it first.
    I do have a way out: I can delete them all and then add multiple checkboxes as a group, but I would rather slide them around, as there are a lot more checkboxes than the four shown.  Anyone know how I can accomplish this?

    Jeff,
    Thanks for the response. I had tried the apex_item before but I couldn't get it to work. I have changed the SQL to include the apex_item commands then used them to define parameters in the javascript function then added parameters to the Application Process but I get no data found. Am I using the apex_item wrong in the SQL or the apex_application wrong in the javascript?
    Thanks,
    Bob
    SQL:_
    q := 'select apex_item.checkbox(1, empno||''~''||ename||''~''||job||''~''||hiredate, ''onclick="f_UpdateCollection(this)"'',a.c001) cbox, '||
    ' apex_item.display_and_save(2,empno) "EMPNO", '||
    ' apex_item.display_and_save(3,ename) "ENAME", '||
    Javascript:_
    function f_UpdateCollection( cb ){
    var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=UpdateCheckboxValue',0);
    get.addParam('x01',cb.value);
    get.addParam('x02',apex_application.g_f02);
    get.addParam('x03',apex_application.g_f03);
    get.GetAsync(function(){return;});
    get = null;
    Application Process:_
    declare
    l_value varchar2(4000);
    l_empno  varchar2(4000);
    l_ename  varchar2(4000);
    begin
    l_value := wwv_flow.g_x01;
    l_empno := wwv_flow.g_x02;
    l_ename := wwv_flow.g_x03;
    apex_collection.add_member(
    p_collection_name => l_collection_name,
    p_c005            => l_empno,
    p_c006            => l_ename,
    p_c010 => l_value );
    ...

  • ADG Tree - Linked Checkbox Item Renderers

    Hi Everyone,
    I've put together an AdvancedDataGrid that displays nodes from an XML (generated from a MySQL DB) in a tree format with two columns.
    The first column is the actual tree and the second column utilizes a checkbox item renderer.
    What I need to do, however, is to have it so that when a user clicks on the checkbox of a parent node, it selects all child nodes as well.  If the parent node is deselected, all child nodes should also be deselected.  Furthermore, if a child node is checked off, the parent node should also be checked automatically.
    I did find a sample that utilizes a 3-state checkbox for ADG's, but my issues is that the checkbox's are in a different column and not beside the tree nodes.
    Any assistance in this would be really appreciated.
    Thanks!
    Dan

    I think you could simulate column-like display using itemRenderers in Tree component.
    I wanted to use ADG so much and was happy to finally work it out in my app, I thought.
    Then I noticed the issue with responsiveness and what a struggle it was to get the items to always render, that's a whole other topic.
    But I found the Runtime Error that basically crashed my app when my client data required the use of scrollbars to view
    the end of the list. Basically it has trouble with the itemRenderer getMeasurement () method I believe.
    I don't remember the exact error message - once I found out it was RTE I abandoned it completely
    in favor of Tree - nice and stable and does the job for me....
    There is a bug report in bugs.adobe.com/jira about this, others have reported it too.

  • WD JAVA : ContextMenu Checkbox item

    Hi,
    Can someone please explain or share some source for creating ContextMenu having Checkboxes
    Regards,
    Sam

    Hi Govardan,
    I am just trying to display a Context Menu with CheckBox items as shown below
    But am getting the below error while selecting the checkboxes.
    Caused by: java.lang.NullPointerException: while trying to invoke the method com.sap.tc.webdynpro.progmodel.context.AttributePointer.getElement() of a null object loaded from local variable 'property'
      at com.sap.tc.webdynpro.progmodel.view.SecureInteractionHelper.updateAttribute(SecureInteractionHelper.java:153)
      at com.sap.tc.webdynpro.progmodel.view.SecureInteractionHelper.updateAttribute(SecureInteractionHelper.java:136)
      at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.AbstractAdapter.updateAttributeAsKey(AbstractAdapter.java:1433)
      at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.MenuCheckBoxAdapter.onSelect(MenuCheckBoxAdapter.java:738)
      at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.MenuCheckBoxAdapter.onPOPUPMENUITEMSELECT(MenuCheckBoxAdapter.java:727)
      at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.MenuAdapter.onPOPUPMENUITEMSELECT(MenuAdapter.java:826)
    Could you please help me.
    Cheers,
    Samba

  • Show image into an item from URL

    Hi all
    i have to show a gif image into an item, but the source of the file is in a url
    Http://xxx.xxx.xxx.xxx/../../../image.gif
    i tried with web.show_document and with read_image_file, but there's something wrong... (forms 6)
    could you please suggest me the right way ?
    thank you !

    show_document is like opening a new browser window so that doesn't work. Read_image_file is like the name suggests for reading a file, not url so that doesn't' work either.
    You will need to move you files to a drive that the forms server can reach, or use a Java Bean that can load an image from an URL and perhaps even display it. You might find an existing Bean (I don't know of one) or you may have to write one yourself.

Maybe you are looking for