Can you set the value of a div from a select statment?

Hi all
I have a div that is used as Tool tips for a cell in a table, is there an easy way to set the text in that div to the result of a select statement?
Appreciate the Help
LT

select ename, '<div '||style||'>'||htf.escape_sc(description)||'</div>' description
from some_table
was this what your asking. You need to not escape special characters so the div tag acts as HTML in your report. The data is escaped using a PL/SQL function.
Is this what your asking?
Mike

Similar Messages

  • Can you set the Duration of a Transition to instant? Or Remove a previous?

    Can you set the duration of a Transition to instant? (Rotate and Translate).
    Or if not, remove a previous transition done? (Reset the transitioned object back to its original). Ihave tried setting Duration.millus(.000001), but I can still see it translate/rotate. if I set it to zero, it doesn't do anything at all.
    Goal:
    I have a Connect4 type grid that Flips. It rotates upside down 180degrees, the pieces 'fall' down. Then I ACTUALLY flip the game board (not just effects) using a matrix calculation. But since my grid is upside down, my pieces appear upside down.
    So here is the method I was thinking:
    -Flip the board upside down
    -Translate the pieces down (gravity)
    -Actually flip the game board's internals and positions.
    -Undo the previous rotate/translate so the user thinks the 'animation' actually flipped the board.

    You cannot create an instant Transition. An Animation with a duration of 0ms is considered invalid and does not do anything when play() is called.
    Why do you have to use Transitions to set the values? They just modify Node properties over time, if you want to change the properties instantly, you can just access them directly. TranslateTransition modifies translateX, translateY, and translateZ, RotateTransition modifies rotate and rotationAxis.

  • How can I set the value to a session bean from backing bean

    Hi Experts,
    How can I set the value to a session bean from backing bean where I have created getter and setter
    methods for that variable.
    Basically I am using ADFUtils class where I am able to get the value from session bean
    using following expression
    String claimType =
    (String)ADFUtil.invokeEL("#{ClaimValueObj.getClaimType}");
    Thanks
    Gayaz

    Gayaz,
    Wrong Post !!
    Post in JDeveloper and ADF
    Thanks
    --Anil                                                                                                                                                                                                                               

  • How can you set the max row for a 'open cursor' in a stored proc?

    I would like to know how can you set the maximum amount of row returned in a resultset coming from a stored proc?
    You can do it via JDBC with cStatement.setMaxRows(10); but it works only for select that you do via JDBC...
    I would like the same functionality using open cursor inside a stored proc...
    Thanks...

    is "where ROWNUM <= 10" the equivalent of "cStatement.setMaxRows(10);" because the ROWNUM as problem with the ORDER BY clause and the setMaxRows() as no problem...

  • Can I set the value of kernel paramaters less than default in Solaris 10?

    Can I set the value of kernel paramaters less than default in Solaris 10? If specified less than default values for kernel parameters in /etc/system, system is getting default values for such as SHMMAX, SEMMSL, SEMOPM. Is the default kernel parameter values the minimum values in Solaris 10?
    -Yong

    Yes, but not through /etc/system.
    /etc/system is the old way to do it. As a backward compatibility, it will allow lines there to increase parameters but not decrease them. This is on the theory that many memory defaults were significantly increased, and older /etc/system setups were trying to increase small defaults, not decrease large ones).
    Use prctl and set up a project.
    Darren

  • Can you set the i pod to play albums one after the other as it seems to stop once its played the one album!! :-(

    can you set the i pod to play albums one after the other as it seems to stop once its played the one album!! :-( thanks

    Unfortunately that is the way the interface is designed. If you select an album from the albums menu, then it plays an album, optionally shuffled and/or repeated. If you select from the artists menu then you should be able to shuffle the albums or songs by that artist or have them played in sequence, again with options to repeat. You can also cue up a number of songs or albums with the On-the-Go playlist feature.
    iPod classic manual
    tt2

  • Using MS Access Web App, can you set the tab order of the fields on a form?

    Using MS Access Web App, can you set the tab order of the fields on a form?  Doesn't appear to be a property.  I don't see a programmatic method.  I saw someone suggest using goto control on the after update event trigger but what if the person
    doesn't edit the field?  No event would be fired.
    Jim

    Hi Jim,
    >>Using MS Access Web App, can you set the tab order of the fields on a form?
    I am afraid you could not. In Web applications, the tab order is set automatically and cannot be changed.
    (From
    https://support.office.com/en-au/article/Set-the-tab-order-for-controls-3d7f749c-5a53-42b2-bb0e-2323fa044e2e)
    >> I saw someone suggest using goto control on the after update event trigger but what if the person doesn't edit the field?  No event would be fired.
    The goto method is a workaround, but it should be triggered by a specific event. What I can figure out is changing the order of the fields.
    If this is a feature you want to include in future versions of Access Web app, please submit a feedback as the picture below:
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can you change the value of app_user?

    can you change the value of app_user?

    Hi Scott,
    Thanks for being patient.
    A lot of the reports are based on personal information tied to the username. so on my reports I use app_user to pull the information. the app is a production app so when problems arise a lot of the time is user error but the users are in some other state so i need a way to look at the same thing they are looking at. I need to be able to sign in as them but since the app uses sso they cannot give me their corporate passwords. when i changed the value of g_user it changes but only for the scope of the region that i changed it in. it does not persist for the session.
    Thanks Fernando

  • Can you change the extensions in Adobe Muse from .html to .htm?

    Can you change the extensions in Adobe Muse from .html to .htm?
    I'm updating an old site where the extensions for the pages were all.htm. This means that when I upload the site index.htm is not being over written by index.html.

    Hi,
    It is not possible to change the extension in Muse at the moment. You can export the site as HTML and change the extensions outside the Muse.
    Regards,
    Aish

  • Can you assign the value of a jstl:out value to a jstl:set variable?

    Basically can you do the following?
    <jstl:set var="journeyVisit"
    value="<jstl:out value=${journeyVisits.stopPoint.description} />" />
    Basically we have our own independent markup language and I need to use our own href tag to wrap the 'journeyVisit' tag.
    Any ideas?
    Thanks.

    <jstl:set var="journeyVisit" value="${journeyVisits.stopPoint.description} " />

  • Why Can't You Set The Value Of A Boolean Wrapper?

    I don't see any methods in the Boolean class that would allow you to set the value of the underlying primitive. It seems that once it's created, that's it.
    My reason for wanting to do this is that I have some synchronized code which is synchronizing on the value of boolean flag. Since you cannot synchronize on a primitive type, I decided to wrap it in a Boolean object....
    Do I have to create my own custom class for this? Not that it would be hard, but it just seems like I shouldn't have to.
    Thanks,
    John
    PS: If the above wasn't clear, the synchronized code looks like this:
    //client code
    synchronized (myBooleanFlag) {
      while (!myBooleanFlag.booleanValue())
        myBooleanFlag.wait();
    //code which changes the flag
    synchronized (myBooleanFlag) {
      myBooleanFlag.setValue(true); //WAIT!! There's no method to do this
      myBooleanFlag.notifyAll();

    Hi,
    You usually write it like this:
    Object variableLock = new Object();
    boolean variable = false;
    synchronized (variableLock) {
    variable = true;
    }So, you don't have to synchronize on the value that
    you want to change, just make all competing code
    synchronize on the same (guard) object.Yes. That's what I want. Once again, Kaj saves the day!
    Thanks,
    John

  • Can I set the value of a list binding in my managed bean?

    Dear All,
    This is just an exercise for me and I just wanted to experiment on the bindings of ADF for me to understand it further.
    I wanted to create a custom Model Driven LOV with my data control listed below
    Countries
         -CountryId
         -CountryName..but I wanted to display the label similar to this
    1 - USA
    2 - England
    n - France..so I thought of manipulating the select items in a bean
    <af:selectOneChoice id="soc1" value="#{bindings.Countries.inputValue}">
      <f:selectItems value="#{pageFlowScope.MyBean.countries}" id="si1" valuePassThru="true"/>
    </af:selectOneChoice>..and the code similar to this
    public class MyBean{
         public List<SelectItem> getCountries(){
              //countryMap points to accessing the iterator binding
              //BindingsHelper is a utility class that sets the value
              for(...){
                   SelectItem item = new SelectItem();
                   item.setLabel(countryMap.get("CountryId") + " - " + countryMap.get("CountryName"));
                   item.setValue(countryMap.get("CountryId"));
                   list.add(item);
              //set the item to the first row
              BindingsHelper.setExpressionValue("#{bindings.Countries.inputValue}",
                                     list.get(0).getValue());
              return list;
    }...on the last part I wanted to set the value to the first item but I am encountering numberformatexception when setting the list binding.
    I know I can do this declaratively also by removing the unselected item but as I have said I am experimenting on the bindings.
    Is this not possible?
    Thanks.
    JDev 11G PS5

    Hi ,
    I understand that , you want to show select one choice (dropdown) with label (countyid - country name) and value is (countryid).
    and these informnation is coming from ADf Model ( may be a VO).
    in the UI page you used this list is coming from MyBean
    <af:selectOneChoice id="soc1" value="#{bindings.Countries.inputValue}">
    <f:selectItems value="#{pageFlowScope.MyBean.countries}" id="si1" valuePassThru="true"/>
    </af:selectOneChoice>
    so ,
    The Managed Bean code should be ,
    private List<SelectItem> countries;
    ///setter method
    public void setCountries(List<SelectItem> countries) {
    this.countries= countries;
    // getter method
    public List<SelectItem> getQuoteStatusList() {
    quoteStatusList =
    selectItemsForIterator("countriesVOIterator",
    "countryId", "countryName");
    return quoteStatusList;
    public static List<SelectItem> selectItemsForIterator(String iteratorName, String valueAttrName, String displayAttrName) {
    return selectItemsForIterator(findIterator(iteratorName), valueAttrName, displayAttrName);
    public static DCIteratorBinding findIterator(String name) {
    DCIteratorBinding iter = getDCBindingContainer().findIteratorBinding(name);
    if (iter == null) {
    throw new RuntimeException("Iterator '" + name + "' not found");
    return iter;
    public static List<SelectItem> selectItemsForIterator(DCIteratorBinding iter, String valueAttrName, String displayAttrName) {
    List<SelectItem> selectItems = new ArrayList<SelectItem>();
    for (Row r : iter.getAllRowsInRange()) {
    string labelValue = (String)r.getAttribute(valueAttrName) +"-"+ (String)r.getAttribute(displayAttrName);
    selectItems.add(new SelectItem(r.getAttribute(valueAttrName),labelValue ));
    return selectItems;
    this will give you what you except in the ui
    when you try to get the value form that seclecOneChoice value in MyBean what user selects , you can simply get the value of this selectOneChoice.

  • Can you change the value of a variable that is reset by a parameter?

    Sorry if this is simple but I just crashed a package and can't do an autopsy. I suspect I sent it into an infinite loop. I know you can't change the value of any passed in parameters. What I tried to do was have the parameter set the value of a variable
    and then I tried to change the value of the variable. Is that even allowed?
    I was trying to do this:
    MyCheckVariable = MyParameter (which equals true)
    (some cool stuff happens)
    MyCheckVariable = False
    I hit F5 and my package turned into the Energizer Bunny. Is the way I try to reset the variable the culprit?

    This is a prototype so I just created a project parameter and set it to true. In the real world the parameter will be used to control an optional part of the process because on a re-run after error that part doesn't have to be ran again.
    So when I say MyCheckVariable = MyParameter (which equals true) in reality what I actually have is in the variables window I'm using an expression and it looks like this in the variables window
    name = runDownload
    Scope = Package
    Data Type = Boolean
    Value = True (but greyed out)
    Expression = @[$Project::param_runDownload]

  • Can you set the print margins in Preview?

    Simple question: Is there a way to set the print margins when printing an image from Preview?
    Thanks,
    -ME

    EagleSongs wrote:
    I can set margins in other programs (like Photoshop, Word, Excel, Firefox, Chrome...), but there does not seem to be a setting for margins when printing from Preview. I don't want to resize the image, just get it to print in a certain position on the paper (template form).
    In the case of Photoshop, you are placing an image on a canvas and can position the image to suit. Word and Excel have a Page Setup menu that lets you set the margin positions - which know since you have got the output you wanted. There is no Page Setup menu for most, if not all, Apple applications like Preview. Instead parts of the Page Setup menu have been added to the print dialog but margins is not one of them.
    EagleSongs wrote:
    However, I was trying to find a way to print from Preview and get it to position the image on the page the way I want.
    Understood. Unfortunately you don't get that option in Preview. The image will be centred - both horizontal and vertical - based on the paper size and the printer you have selected in the print dialog. You could create a custom paper size with the margins you want to position the image and then use that custom paper in Preview. But your workaround of using Word gives you more control over the positioning of the image.

  • How can you set the ctxsvr time interval ?

    I would like to know how can i set the time
    inteval between each update of the Intermadia
    indexes.
    Thanks.

    stop and restart ctxsrv on specified intervals.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Lombar vincent ([email protected]):
    I'd like to use the ctxsrv utility, because i want automatic index rebuild.
    But Is it possible to set the time interval
    between each update?<HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • How do i copy music from my itunes account to a usb drive

    how do i copy music from my itunes account to a usb drive

  • After Restore from Time Machine Final Cut is Sluggish

    I recently had to restore my iMac from a Time Machine backup. After that, Final Cut Pro 6 is acting sluggish... taking a long time to render... completely different than the speed it used to process at. I tried reinstalling but it's still sluggish. A

  • How can you get an image's resolution information in OS X 10.3?

    In Windows Explorer you can see an image's size and resolution by right-clicking on it and looking at its properties. Is there any way you can get this image information in Finder or by running an AppleScript? Thanks in advance, Daniel Message was ed

  • Cash and Bank book

    HI My clients wants the separate day book for cash and bank... Ho can we do this???? since our people defined bank accounts as 'Cash accounts' in chart of accounts... so any idea.....

  • Permission Repair

    In 10.4, Permission Verify and Repair took about a minute. After the latest Updates - iTunes and Front Row - Permission Verify and Repair became an astounding 40 minute exercise. And whatever was in those Updates is seriously clogging performance. Up