Image in a post element text : urgent

hello.
I am simulating a lov popup field (display description, return key..) because I am building the popup page manually...
All works fine, I have a text field witch receive the key and display a description, I am concatening an image (in the post text element), when I click on this image My lov popup is openeing...
My problem is : the image witch is right to the text field must be stuck to this text field ( I have a space between them),
Any idea please ?

lila,
We can look at your application on htmldb.oracle.com where you reproduce this problem. Just post the app ID and we'll take a look.
Scott

Similar Messages

  • Post Element Text on report items

    I am trying to add an image after an item on a multi row report.
    Was wondering if there was anything similar to the Post Element Text attribute that is available for individual page items??
    I admit to being a little lazy in trying to create a custom popup lov (Displays description, returns key value) in a multi row report without using the htmldb_util.item function (as this would mean having to create my own optimistic locking and md5 computations).
    Was wondering if this was possible and if anyone had done this??

    Vikas,
    just trying to create a multi-row report which has several columns
    one of the columns is hidden and stores the id. One of the visible rows stores a description associated with the hidden id.
    I then want to display the list.gif icon after the description field so that it looks like a popup lov (i will code the popup up stuff seperately). In effect i wish to mimic the functionality provided by htmldb_item.popupkey_from_query without having to also code the optimistic locking you have to when using this in a query.
    what i am thinking is that if my reports select statement is a basic column selection and i can add a href image to the column as a post element text then this will give me the functionality i need with the optomistic locking provided out of the box?
    sorry the concept seems quite easy in my head but quite hard to explain ;-)

  • Post Element Text

    Hi,
    I'd like to use JavaScript to add some post element text to some form items that is based on the content of the form item.
    I know that I could just add some extra items on my page and condition them but I'm keen to avoid this as I don't want to clutter the page with too many items. I'd rather just have post element text that I can condition in some way.
    Any ideas how I'd do this?
    Cheers
    Yog

    Hello,
    Just add something like this. To your post element attribute
    <span id="after_#CURRENT_ITEM_NAME#"></span>
    and lets say your item name is
    HELLO
    you javascript should look like this
    $x('after_HELLO').innerHTML = 'After Hello';
    or
    html_GetElement('after_HELLO').innerHTML = 'After Hello';
    Carl
    Message was edited by:
    Carl Backstrom

  • Post Element Text - Checkbox

    Apex 4.0.2
    Suppose I use the Post Element Text attribute of a page item to render a checkbox using <input type="checkbox" .... and a dynamic action to save its state to a database table. I am sure this will work fine but when the page loads how do I go about setting the value of all these checkboxes?
    Any ideas? Thanks

    Hello Vikas,
    >> I am sure this will work fine but when the page loads how do I go about setting the value of all these checkboxes?
    The trick is to use a checkbox that has the same ID and value. Remember that only checked checkboxes are submitted to the server. You can look at the following for a simple example:
    http://htmldb.oracle.com/pls/otn/f?p=52616:30
    Now for some code. I’m using the following as the post-element content for the first checkbox:
       <input type="checkbox" name="f50" id="CB1" value="CB1">Option 1<br />The HTML name will remain the same for all checkboxes; however, the ID and value should be different for each extra checkbox (e.g. CB2, CB3m etc.). In this example, the checked checkboxes will be populated, at submit time, into the G_F50 array. Of course, you can use any other available G_Fxx array.
    I’m using the following table to save the checkboxes state:
    CREATE TABLE  "CB_STATE"
       (     "PAGE" NUMBER(4,0) NOT NULL ENABLE,
         "VALUE" VARCHAR2(4) NOT NULL ENABLE
       ) ;For saving the checkboxes state, I’m using the following after submit PL/SQL process:
    delete from cb_state
    where page = :APP_PAGE_ID;
    for i in 1..apex_application.g_f50.count loop
      insert into cb_state
      values(:APP_PAGE_ID, apex_application.g_f50(i));
    end loop;For setting the checkboxes state, while rendering the page, I’m using the following Before Footer PL/SQL process:
    htp.p('<script type="text/javascript">');
    for x in (select * from cb_state
              where page = :APP_PAGE_ID) loop
      htp.p('$x('''||x.value||''').checked = true;');
    end loop;
    htp.p('</script>');I’m sure you can translate the last snippet of code to a Dynamic Action. If you do, please post it in here.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Post-element text with computed value

    I have a page item (P10_X) with post-element text referencing a application level item using &G_ITEM. notation. G_ITEM is computed on the page and the computation needs to take into account the value of P10_X so the firing point is "after footer".
    This leads to a Catch-22 because the item and post-element text is rendered before the computation so the value of G_ITEM is not accurate.
    Any ideas? Thanks

    Not sure I understand. Suppose P10_X=10 when it is rendered. G_ITEM is computed as :P10_X (i.e. 10) + (select ...). The post-element text for P10_X refers to &G_ITEM. so it uses the "stale" value of G_ITEM; the latest value is not computed until after all regions are rendered.
    Edit: Turns out that P10_X obtains it value in an Before Header application process, not via its Source attribute. So I can put the computation for G_ITEM at the After Header point and so everything gets computed and rendered properly.
    Edited by: Vikas2 on Jul 14, 2009 4:05 PM

  • Conditional display of post element text.

    Hello,
    I wanted to know if it was possible to display the
    post element text for a text item conditionally.
    Thanks,
    shilpa.

    Hi Shilpa
    I am not aware of any functionality to conditionally display the post element text on its own. However there are 2 ways around this.
    1) If when entering the page you want to decide if you should display the text you could, after each item add a display only item and put a condition on that. Changing the display only items displayed properties to Begin On New Line = NO and Field = NO will give the impression of post element text
    2) If you want to conditionally display the text dependent on what the user has entered into the box you could use some javascript in the post element text field. e.g.
    &lt;span id="me"&gt;&lt;/span&gt;
    &lt;script language="javascript"&gt;
    function test1(){
    if (1 + 1 == 2){
    document.getElementById("me").innerHTML = "sometext";
    &lt;/script&gt;
    then in the html form element attributes field you can call this function like this:
    onblur="test1()"
    Hope that helps
    Adam

  • 3.12 post element text appearing on new line

    I have an icon and some javaScript behind it to clear the content of the item, which on moving to 3.12 is moved onto the next line:
    http://apex.oracle.com/pls/otn/f?p=41395:10
    Is there a simple way of avoiding this please so that it all appears on the same line (as in v2)?
    Phil

    Hi Phil,
    In your page's HTML Header setting, add in:
    &lt;style type="text/css"&gt;
    fieldset {display:inline}
    &lt;/style&gt;By default "fieldset" items are block elements so will always end with a new line - the above forces it to flow with the text
    Andy

  • 3.1 upgrade problem:  Post Element Text does not align properly - DUPLICATE

    Duplicated in error - problem with browser. Please remove this one.
    Thank you.
    Message was edited by:
    Thomas 8246

    Duplicated in error - problem with browser. Please remove this one.
    Thank you.
    Message was edited by:
    Thomas 8246

  • Button with pre element text is given a container div

    Hi!
    Just installed 4.2.2.00.09 and imported a workspace and an application. Worked fine.
    I noted a page display difference when compared to the exported application (4.1.0.00.32). I have (so far) found this:
    If I have a button with Pre Element Text set to <div class="dummy"> and Post Element Text set to </div>, Apex generates an extra div around it all.
    If my button was named P1_SUBMIT I end up with
    <div id="P1_SUBMIT_CONTAINER">
    <div class="dummy"> <input type="button" value="Search" id="P1_SUBMIT" /></div>
    </div>
    Is it possible for me to turn this extra div off?
    Kind regards
    Tomas

    Hi,
    Change the "Number of Columns" setting in the "List of Values" where you define the 1,2,3,4,5 to "5", and you'll be all set.
    --Jennifer                                                                                                                                                                                                                                                                                                   

  • Unable to insert an image in a post.

    When I attempt to insert an image in a post I get an "Error on page" message with the following description:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; BOIE8;ENUSMSCOM)
    Timestamp: Sun, 15 Jan 2012 23:06:27 UTC
    Message: 'undefined' is null or not an object
    Line: 1805
    Char: 63
    Code: 0
    URI: http://bt.i.lithium.com/t5/scripts/093FBAB1052718DFC22CCFE69E6394AC/lia-scripts-body-min.js
    This occurs using Windows XP and Internet Explorer  8 Version 8.0.6001.18702IC.
    On another PC using Windows XP and Internet Explorer 7 Version 7.0.5730.11 it works OK.
    I have also found that it works OK on the original machine using Firefox.
    Is there anyone else having this problem ?
    Can the moderators please investigate ?

    Keith,
    I am using the Tree symbol.
    DOM.get(id+'_ok').focus()
    ;t.count++;return w;},focus:function(id){var t=this,w;if(w=t.windows[id]){w.zIndex=this.zIndex++;w.element.setStyle('zIndex',w.zIndex);w.element.update();id=id+'_wrapper';DOM.removeClass(t.lastId,'mceFocus');DOM.addClass(id,'mceFocus');t.lastId=id;if(w.focussedElement){w.focussedElement.focus();}elseif(DOM.get(id+'_ok')){DOM.get(w.id+'_ok').focus();}elseif(DOM.get(w.id+'_ifr')){DOM.get(w.id+'_ifr').focus();}}},_addAll:function(te,ne){var i,n,t=this,dom=tinymce.DOM;if(is(ne,'string'))
    te.appendChild(dom.doc.createTextNode(ne))
    ;elseif(ne.length){te=te.appendChild(dom.create(ne[0],ne[1]));for(i=2;i<ne.length;i++)
    The code that is being flagged is given in bold in the last line above.

  • How can I fix an error where Firefox temporarily opens a blank new window every time I try to post a text reply on any YouTube video?

    I'm not sure when it first started occurring, however, I recently noticed that ANY time I have tried lately to post a text reply to ANY video on YouTube, Firefox will open an "about:blank" screen for about 1-2 seconds, and close it. I will not get to make my reply and everything seemingly goes back to normal.
    If I open the same video URL in I.E. 11.0, I have no difficulty whatsoever posting text replies to ANY videos, so something is going on with Firefox.
    The thought had crossed my mind to uninstall/reinstall Firefox, and I know there's no harm in doing so, but I figured I'd come here first, in case someone who knows Firefox better than I, has an even simpler solution, or in case the uninstall/reinstall idea wouldn't have worked anyway. Please let me know what y'all think about this.

    Hello,
    Please try using our Reset feature.
    The Refresh feature (called "Reset" in older Firefox versions) can fix many issues by restoring Firefox to its factory default state while saving your bookmarks, history, passwords, cookies, and other essential information.
    '''''Note:''' When you use this feature, you will lose any extensions, toolbar customizations, and some preferences.'' See the [[Refresh Firefox - reset add-ons and settings]] article for more information.
    To Refresh Firefox:
    # Open the Troubleshooting Information page using one of these methods:
    #*Click the menu button [[Image:New Fx Menu]], click help [[Image:Help-29]] and select ''Troubleshooting Information''. A new tab containing your troubleshooting information should open.
    #*If you're unable to access the Help menu, type '''about:support''' in your address bar to bring up the Troubleshooting Information page.
    #At the top right corner of the page, you should see a button that says "Refresh Firefox" ("Reset Firefox" in older Firefox versions). Click on it.
    #Firefox will close. After the refresh process is completed, Firefox will show a window with the information that is imported.
    #Click Finish and Firefox will reopen.
    Did this fix the problem? Please report back to us!
    Thank you.

  • Inserting an image to a message post or attaching images to a post or creating a gallery

    Hi:
    I'm trying to either attach an image to a message post or insert it in-line with a message.  I've read several references to this ability perhaps being something that will happen "soon", but those messages that refer to this are dated in August of 2009.  Here it is December and I still can't figure out how.
    The online help says very clearly:
    How do I insert an image in a post?
    You insert an image the same way as you did before, but now you have more choices about where the image comes from and how it looks. You can insert an image from your computer (this uploads the image to your gallery), from your image gallery (if the image has been approved), or from another location on the Web.
    To insert an image in a post:
    Start a new post.
    You can insert images anywhere: in messages, replies, blog articles, ideas, or comments.
    Click the Insert Image button in the editor's tool bar (it looks like a tree).
    Well, I don't know how you could do it "before", but there is no "Insert Image" button in the editor's toolbar at all.
    There are also messages in this forum that say you can paste from a Word document (there IS a "Paste from Word" icon on the toolbar.)  However, when I paste from word, the images in my Word document are lost.
    Finally, I thought I'd post the images in a gallery.  Again the online help says:
    To upload an image to your image gallery:
    Go to your Profile page and click the View Image Gallery link.
    Click Browse to select an image file to be uploaded.
    If the image is small enough (the size limit is set by your community), the image is uploaded. A preview of the image appears so that you can make sure you uploaded the right image.
    There is no "View Image Gallery" link on my profile page.
    Now, I am a computer consultant and therefore (hopefully) very computer-savvy, so this is not an issue with me being a forum "novice."  But I've always had issues with help documents that say "click on this icon" and don't show a screenshot of where the icon is.
    And, I can't PROVE that my profile page doesn't have a gallery link because I can't upload a screenshot! <grin>.
    So, can anyone clarify if and how we can upload images?  Or if there is a definitive help document that lays this out, provide a link to that document?  The help "search" function is pretty weak, because it does a FORUM search on any term you type in, rather than restricting it to help documents.
    There's also some references to having to be a "silver member" in order to upload images, but no information on what is required to become such a member.
    Thanks
    Ron

    As stated in the Community Ranking Structure post on the Announcements section:
    Many community members will ask (and have asked in the past) exactly what the criteria is for achieving each rank in the hierarchy.  To eliminate the likelihood of system abuse or forum ‘rank climbing’, we have decided not to publicize the exact ranking criteria.  That said, community members will gain higher ranking by excelling in the activity components below.  The list is not in order of importance and some elements are weighted greater than others.
    Kudos Given
    Kudos Received
    Length of Time on the Community
    Number of logins
    Posts marked as “Accepted Solution”
    Total number of Posts (minus deleted posts)
    Total Number of Tags applied throughout community
    Time spent online in the Community Forums
    As members achieve higher rankings within the Community Forums, they will automatically receive additional functionality – while maintaining the functionality rights previously achieved.
    This is done to prevent spamming and trolling of the forums and to prevent objectionable content from being uploaded to the site.  There are legal issues involved with this and it preserves the integrity of the forums to grant certain permissions at certain ranks.
    The ranking structure undergoes periodic review and this may change in the future -- but no guarantees. 
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer that solved your issue as the accepted solution.

  • How do I embed an image in a post here?

    How do I embed an image in a post here?

    Hi Roger!
    Some additional tips.
    To post an image in  Discussions, create a Screen Shot of the image you wish to post.
    Upload the image to an online storage facility, like one of these linked to below.
    Flickr
    ImageShack
    PhotoBucket
    PICVAULT
    Twango
    tinypic
    imageno
    Then use HTML formatting, to insert the URL of the location.
    Use this format <img src="Insert URL Here">
    Post the resulting line of text.
    You can alternately insert the URL of the image between ! (Exclamation Marks) to have it appear in a post.
    Keep the images small, and unobtrusive, when possible.
    If the image is large, you can use this format:
    <a href="Insert URL Here"target="_blank"><img src="Insert Same URL Here" width="Insert Desired Size Here"></a>
    Desired Size is a number, dependent on the size to be displayed in the post, such as 20, 50, 200, etc. You can experiment with that number.
    Below that type "Click to View Full Size".
    The image will appear in the post at the size you selected, but when clicked, will open full screen.
    You can also just post a Link/URL, to the image location, using this format:
    <a href="Insert URL Here">Type Title Here</a>
    Or use Skitch.
    Quoted from the Skitch website:
    "Skitch.com is a webservice that works hand in hand with our application Skitch to give you 1-click uploading of images for fast and fun image sharing."
    ali b

  • Displaying images in VBOX mxml element

    hi,
    i am new to flex.i am using flex builder 3.
    i want to disply sime images in a VBOX element. i have image URLs and image names with me in an arraycollection. i should disply the images side by side and VBOX should have scroll bar.
    thanks
    sankar

    If you want the images side-by-side, don't you want an HBox? Anyway, here's some code to answer your question.
    The scrollbar won't display unless the images do not display within the HBox width. You can force the scrollbar to display always by setting the HBox horizontalScrollPolicy property to "on".
    You might want to use a HorizontalList control instead.
    Below I have hard coded indexes and also used a repeater in the HBox.
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
      verticalGap="30">
      <mx:Script><![CDATA[
        import mx.collections.ArrayCollection;
        [Bindable] private var imgs:ArrayCollection = new ArrayCollection([
          {name: "red", path: "images/red.png"},
          {name: "green", path: "images/green.png"},
          {name: "blue", path: "images/blue.png"}
      ]]></mx:Script>
      <mx:HBox>
        <mx:Image source="{imgs.getItemAt(0).path}"/>
        <mx:Image source="{imgs.getItemAt(1).path}"/>
        <mx:Image source="{imgs.getItemAt(2).path}"/>
      </mx:HBox>
      <mx:HBox horizontalScrollPolicy="on">
        <mx:Image source="{imgs.getItemAt(0).path}"/>
        <mx:Image source="{imgs.getItemAt(1).path}"/>
        <mx:Image source="{imgs.getItemAt(2).path}"/>
      </mx:HBox>
      <mx:HBox>
        <mx:Repeater id="rp" dataProvider="{imgs}">
          <mx:Image source="{rp.currentItem.path}"/>
        </mx:Repeater>
      </mx:HBox>
      <mx:HorizontalList dataProvider="{imgs}" columnCount="3">
        <mx:itemRenderer>
          <mx:Component>
            <mx:Image source="{data.path}"/>
          </mx:Component>
        </mx:itemRenderer>
      </mx:HorizontalList>
    </mx:Application>
    If this post answers your question or helps, please mark it as such. Thanks!
    http://www.chikaradev.com
    Adobe Flex Development and Support Services

  • How to insert image in Blog Post

    Hi,
         I want to create a blog post. For that i have to insert some images in that post. These image are in my PC desktop. How to upload/insert these images in my blog post body.
        I am able to see a option 'Insert Image' in blog post editor. But it is asking me the URL of the image. I can brouse the image from desktop but how to get the URL of that image.
        The same problem also come while adding snaps in profile.
        Can anyone help me on this regards.
        I am sorry if it is not the right forum for putting such question. Also want to know which will be the right forum for putting such queries.
    Thanks & Regards,
    Abhishek Sarkar

    Hello,
    There is 2 ways to insert an image:
    1. You can select the picture icon on the tool bar
    and then the foolowing screen will allow you to upload your picture from your computer:
    2. You can also drug and drop the image directly from your computer to the text, this is the way I use.
    Hope it is helpful,
    Elidan

Maybe you are looking for

  • HP Photosmart 6520 will not print in black

    I've tried all the solutions listed on this forum, but it's not working, the printer will not print black ink at all. I replaced all cartriges today and afterwards, it will only print in color, how can I fix this issue?

  • How can I designate the primary monitor?

    I have a three monitor setup. The center monitor has always been designated as the main monitor (has the Finder bar on it). Since I've upgraded to Mavericks, the left monitor seems to be the primary, despite the settings in the Display control panel

  • Transaction Launcher in CRM2007

    Hi Gurus, I am trying to launch a transaction (lets say CRMD_ORDER) in CRM 2007 with the help of transaction launcher but I am not getting any link on UI in the navigation bar. I performed the following steps: 1. I defined the logical system in the v

  • Using MovieClipLoader to load paused movieclip

    I am using MovieClipLoader to load an external swf file into a movieclip container. I would like it to be paused on load so that I can use a play button to play it. I can't seem to get it to load in a paused state. My code follows: stop(); var clipPo

  • Loading ActiveX with panel after TestStand API

    Hi, My problem is : With Labwindows CVI 8.5 and API TestStand, after loading TestStand by its API, i can't load another activeX control with associate panel. There is an activeX library error - 143 It seems to work when i load my activeX control befo