Siena - Gallery control behaving differently when data is filtered?

I have a gallery control populated by a dataset that contains images and text. In my app I have two dropdowns that I use to filter the contents of the gallery. When the gallery is showing 'all' (nothing filtered out, selecting an image in the gallery
results in the selected item moving to the top of the gallery. However, when the dataset is filtered, I get a different result:
1. If the dataset it small enough to be visible on the screen, the selected image stays in place and is visible
2. If the dataset is bigger than what can be viewed on the screen, selecting an image in the gallery results in the selected image being scrolled off screen
Any ideas on how to program the selection behavior to make it consistent?

Also, here is the filter I am applying to the dataset:
If(Dropdown_Location_Filter!Selected!Value="ALL", BUSINESS_LIST_1,Filter(BUSINESS_LIST_1, NEIGHBORHOOD=Dropdown_Location_Filter!Selected!Value))

Similar Messages

  • Why does "Link Media" behave differently when used as a keyboard shortcut vs when right clicked???

    Not sure whether anyone else is encountering this, but the "Link Media" command behaves differently when right clicked as opposed to when used as a keyboard shortcut.
    When you right click to select that option for an offline file, you get only the corresponding disconnected source media. But when you execute "Link Media" via a keyboard shortcut, PP brings up a huge list of all other offline media. Why does it only do that when you use the keyboard shortcut for "Link Media" but not when you right click "Link Media".
    I'd like to get the Link Media command to behave via the keyboard shortcut the same way it behaves when right clicked. I don't want to have to deal with relinking a hundred other files, but just the single offline file I'm working on.

    Among the alternatives not mentioned... Using a TiVo DVR, rather than the X1; a Roamio Plus or Pro would solve both the concern over the quality of the DVR, as well as providing the MoCA bridge capability the poster so desperately wanted the X1 DVR to provide. (Although the TiVo's support only MoCA 1.1.) Just get a third-party MoCA adapter for the distant location. Why the hang-up on having a device provided by Comcast? This seems especially ironic given the opinions expressed regarding payments over time to Comcast. If a MoCA 2.0 bridge was the requirement, they don't exist outside providers. So couldn't the poster have simply requested a replacement XB3 from the local office and configured it down to only providing MoCA bridging -- and perhaps as a wireless access point? Comcast would bill him the monthly rate for the extra device, but such is the state of MoCA 2.0. Much of the OP sounds like frustration over devices providing capabilities the poster *thinks* they should have.

  • Executable behaving different when called f/Java

    I have an executable that is run from the command line which behaves differently when I run it from my application. The executable takes MP3s files as arguments and merges them together. When I use large files from within my app, it doesn't respond, but using the same files from the command line works fine. I was thinking it might be a memory thing, but the executable should get its own space seperate from the VM. Does anyone have any suggestions? Thanks!

    I do not have the source for the executable, so I wouldn't be able to pull lines out of there. It works from my Java app when I pass in smaller files, so I know I have the syntax correct, but with larger files it hangs. When I run the same thing from the command line with the larger files it runs like a champ. I was trying to use my task manager (I'm on Win NT) to look at memory usage since the only variable seems to be file size, but nothing seems to indicate it is a memory issue.

  • Code behaves differently when run in debugger

    var he:Array = handControl.getHumanInfo(ha, handNumber);
    while (he.length != 0)
    humanInfo.push(he.shift());
    This snippet is part of a large flash project I am working
    on. The program works fine by itself, but when I try to step
    through it in the debugger, it sometimes crashes, depending on
    where I put a breakpoint. If I put the breakpoint on the first line
    of code above, I can step into the function getHumanInfo(), trace
    it, and step back out, and everything is fine. But if I only put a
    breakpoint somewhere inside the getHumanInfo() function, all of a
    sudden when I step out of that function, the variable 'he' is
    undefined, and so the while loop never ends.
    This makes no sense to me. The code is either good or bad, it
    shouldn't behave differently based on where I put the breakpoint.
    The getHumanInfo() function always creates a new array and
    passes it back, so there is no reason 'he' should be undefined.
    This has happened many times when I've tried to use the flash
    CS3 debugger -- is there a known issue that this sounds like? I'm
    so fed up I'm ready to stop using the debugger altogether.

    I ran the program without the debugger and put some trace()
    statements in, just to make sure. Everything works fine without the
    debugger. So it seems to me it has to be a debugger issue. Has
    anyone heard of a similar issue?

  • Items in Tree control move around when data is submitted using custom ItemRenderer

    I'm working on a Tree control with an XMLListCollection as
    its dataProvider.
    The dataProvider has information looking like this :
    quote:
    <?xml version='1.0' encoding='utf-8'?>
    <INFO>
    <FIELD label="STR_USER_NAME"
    type="text"
    value=""
    >
    </FIELD>
    <FIELD label="STR_USER_EMAIL"
    type="text"
    value=""
    >
    </FIELD>
    <FIELD label="STR_OPTIONAL"
    type="branch"
    value="0"
    >
    <FIELD label="STR_USER_ADDRESS"
    type="text"
    value=""
    >
    </FIELD>
    <FIELD label="STR_USER_POSTAL_CODE"
    type="text"
    value=""
    >
    </FIELD>
    </FIELD>
    </INFO>
    So in the Tree control I'd like the information to show up
    with a label and
    an
    editable textbox for each item :
    [Label] [textbox]
    To do this I made a tree like this :
    quote:
    <mx:Tree id="userTree"
    editable="true"
    rendererIsEditor="true"
    editorDataField="curVal"
    itemRenderer="{new ClassFactory(ItemRendererUser)}"
    itemEditEnd="e_ProcessData(event);"
    dataDescriptor="{new DataDescriptorUsers()}"
    showRoot="false"
    verticalScrollPolicy="{ScrollPolicy.AUTO}"
    />
    where the e_ProcessData() function looks like this (I used
    http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/js/html/wwhelp.htm?href=c
    elleditor_073_16.html#202105 as a guide) :
    quote:
    public function e_ProcessData(event:ListEvent):void
    event.preventDefault();
    userTree.editedItemRenderer.data.@value =
    ItemRendererUsers(event.currentTarget.itemEditorInstance).curVal;
    userTree.destroyItemEditor();
    userTree.dataProvider.notifyItemUpdate(userTree.editedItemRenderer);
    } // END OF e_ProcessData()
    I attached the rest of the files because they're a little
    bit longer.
    When I run the program, the data shows up fine when it is
    initialized the
    very
    first time, and I made a test button that just dumps the
    contents of the
    dataProvider in a trace statement to verify that the data has
    been set
    properly.
    The problem I've run into is whenever the textfield is
    edited, the item
    that
    I've selected jumps around the list.
    For example, if I edit the item "STR_USER_NAME" after I
    finish the edit, it
    will move from the very first position in the Tree to the
    bottom of the
    Tree.
    I traced the contents of the dataProvider and the
    dataProvider structure
    stays
    the same, with the "STR_USER_NAME" at the top, but if I look
    at the flex app
    in
    the web browser, its position is at the bottom of the Tree.
    This happens for every other item I try to edit... I read in
    the
    documentation
    that the ItemRenderers are recycled, so it means I should be
    checking to
    make
    sure the initial states are covered, but I'm not sure how
    this affects my
    application.
    Can anyone help me out with this ? Its very confusing - I've
    tried making
    an
    ItemRenderer using pure actionscript, mxml and the
    combination you see in
    this
    example and I always end up with the same behaviour - So I
    must be missing
    something critical...
    // ItemRendererUsers.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    verticalScrollPolicy="{ScrollPolicy.OFF}"
    horizontalScrollPolicy="{ScrollPolicy.OFF}"
    creationComplete="initItemRendererUsers();"
    >
    From my FAQ:
    Q: I've created a custom itemRenderer component to use in a
    List
    based component (Datagrid, TileList, HorizontalList, etc.).
    When my List
    first displays, everything looks fine, but when I scroll it
    or change the
    dataProvider, some of the itemRenderers show values or
    formatting that
    aren't right. How do I fix this?
    A: List-based components don't draw a renderer for every item
    in the
    dataProvider. Instead, they create enough to display what is
    on screen now,
    plus one or two more waiting in the wings. This means they
    recycle the
    renderers rather than creating new ones when you change
    dataProvider or
    scroll up and down. When you use a creationComplete event to
    set up the
    itemRenderer, that event doesn't happen again when the
    renderer is used for
    a different set of data. The solution to this is to override
    the set data
    protected function that most components have.
    For more information, check out the following resources:
    http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html?devcon=f1
    http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html
    Please note, I post this FAQ weekly, and you can find a
    permanent copy of it
    here
    http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf

    "peterh8234" <[email protected]> wrote in
    message
    news:gaqttd$kft$[email protected]..
    > Yes - the set and get functions are listed down below.
    But the quirky
    > behaviour
    > is the same regardless of whether I override the set and
    get functions or
    > not.
    >
    > I noticed there was another variable called listData -
    should I be using
    > that
    > one or the data variable to read and write to the
    dataProvider ?
    >
    > // _data
    > [Bindable] public var _data:Object;
    > [Bindable("dataChange")]
    > //
    > override public function get data():Object
    > {
    > trace('[ItemRendererDefault.GET data()] called for {' +
    > _data.attribute("label") + '}.');
    > return _data;
    > } // END OF get data()
    >
    > //
    > override public function set data(value:Object):void
    > {
    > _data.@value = inputText.text;
    > trace('[ItemRendererDefault.SET data()] called for {' +
    > _data.attribute("label") + '}.');
    >
    > invalidateProperties();
    > } // END OF set data()
    Your set data needs to set a flag that gets picked up in
    commitProperties()
    and does your thing that you were doing before in
    creationComplete. You
    should see examples of this in the links I posted. Instead of
    this:
    _data.@value = inputText.text;
    you should look at implementing IDropInListItemRenderer,
    which will allow
    you to dynamically determine which field to look at, instead
    of hardcoding
    it. You also might wind up overwriting the stored value with
    a null value
    when the List passes the stored value in. I'd encourage you
    to really go
    through those links I posted and make sure you understand
    what they're
    saying. The itemRenderer life cycle is one of the hardest
    things to
    understand, but once you understand it, it makes many things
    in Flex much
    easier. It's worth investing the time.

  • Why does terminal behave differently when logged in as different users?

    when I'm logged into my mba as my regular normal user, bash behaves normally;  but when I create a new user or use any user other than my default the behavior is different.  (might be bash or sh)
    Specifically, the tab autocomplete function works fine when I'm logged in as my regular user (tab-complete;  tab twice for all available selections/options).
    But on a newly-created user (also an admin) there is no tab complete, no 'tab twice, other options' etc. 
    Has anyone else seen this?
    I searched in this forum and found some instructions for creating an .inputrc file but I don't appear to have one on my default user so not sure why I would need this on the new user ?!?!?
    p.s. here are the instructions I found previously via a post on this forum:
    http://www.ernieflores.net/osx-page-4/how-to-enable-tab-completion-in-mac-os-x-t erminal/

    Done!  Thanks!
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.0.9
    https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/6/wo/iLhrfiEtEJtPFTt J8S23O0/23.83.28.1.9

  • Javascript written in Dreamweaver behaves different when inserted in Muse

    I have a simple javascript list that is written in Dreamweaver and works as expected but when I copy & paste that exact javascript into the -Object-insert html section in Muse the outcome is different.
    Is there a place I can go to research on what I need to do different for that code to behave properly in Muse? I am not understanding what I need to change or do different.
    Below is the code I got to work in Dreamweaver:
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>list</title>
    <script type="text/javascript">
    function fixTheList(){
    var msg = "";
    var msg = "";
    if (document.getElementById("appleQty").value > 0) {
    msg += "Apples   ";
    msg +=document.getElementById("appleQty").value;
    msg += "<br>";
    if (document.getElementById("orangesQty").value > 0) {
    msg += "Oranges   ";
    msg +=document.getElementById("orangesQty").value;
    msg += "<br>";
    if (document.getElementById("tangerineQty").value > 0) {
    msg += "Tangerines   ";
    msg +=document.getElementById("tangerineQty").value;
    msg += "<br>";
    if (document.getElementById("kiwiQty").value > 0) {
    msg += "Kiwis   ";
    msg +=document.getElementById("kiwiQty").value;
    msg += "<br>";
    if (document.getElementById("pearsQty").value > 0) {
    msg += "Pears   ";
    msg +=document.getElementById("pearsQty").value;
    msg += "<br>";
    if (document.getElementById("grapesQty").value > 0) {
    msg += "Grapes   ";
    msg +=document.getElementById("grapesQty").value;
    msg += "<br>";
    if (document.getElementById("canteloupeQty").value>0) {
    msg += "Canteloupes   ";
    msg+=document.getElementById("canteloupeQty").value;
    msg += "<br>";
    if (document.getElementById("strawberryQty").value>0) {
    msg += "Strawberry   ";
    msg+=document.getElementById("strawberryQty").value;
    msg += "<br>";
    document.getElementById("outputDiv").innerHTML = msg;
    </script>
    </head>
    <body>
    <div id="outputDiv">
    <table>
      <tr>
      <td>Item</td>
      <td>Quantity</td>
      </tr>
      <tr>
      <td>Apples</td>
      <td><input type="text" size="3" id="appleQty"></td>
      </tr>
      <tr>
      <td>Oranges</td>
      <td><input type="text" size="3" id="orangesQty"></td>
      </tr>
      <tr>
      <td>Tangerines</td>
      <td><input type="text" size="3" id="tangerineQty"></td>
      </tr>
      <tr>
      <td>Kiwi</td>
      <td><input type="text" size="3" id="kiwiQty"></td>
      </tr>
      <tr>
      <td>Pears</td>
      <td><input type="text" size="3" id="pearsQty"></td>
      </tr>
      <tr>
      <td>Grapes</td>
      <td><input type="text" size="3" id="grapesQty"></td>
      </tr>
      <tr>
      <td>Cantaloupe</td>
      <td>
      <input type="text" size="3" id="canteloupeQty">
      </td>
      </tr>
      <tr>
      <td>Strawberry</td>
      <td><input type="text" size="3" id="strawberryQty">
      </td>
      </tr>
      </table>
      <input type="button" value="Stack" onclick="fixTheList();">
    </div>
    </body>
    </html>

    Hello,
    Only difference I see is with the CSS properties of Input tag.
    You can define the style for these tag by adding few lines of code right below <title> tag in the code you are pasting in Object > Insert HTML.
    For an example you can add codes mentioned below
    <style type="text/css">
      input {
        border: thin solid #AAA2A3;
        margin-bottom: 7px;
        margin-left: 9px;
      </style>
    As per your requirement you can edit them.
    One more advice. Break your codes in to 3 part, Scripts tag, Style tag and Div tag in body.
    Insert Div tag in body in Object > Insert HTML
    Insert Scripts tag, Style tag in Page > Page Properties >Metadata > HTML for <head>
    This will help you avoid any unexpected behavior in preview when you have more stuff inserted in Muse Page.
    1. Script tag (Insert it in Page > Page Properties >Metadata > HTML for <head>)
    <script type="text/javascript">
    function fixTheList(){
    var msg = "";
    var msg = "";
    if (document.getElementById("appleQty").value > 0) {
    msg += "Apples   ";
    msg +=document.getElementById("appleQty").value;
    msg += "<br>";
    if (document.getElementById("orangesQty").value > 0) {
    msg += "Oranges   ";
    msg +=document.getElementById("orangesQty").value;
    msg += "<br>";
    if (document.getElementById("tangerineQty").value > 0) {
    msg += "Tangerines   ";
    msg +=document.getElementById("tangerineQty").value;
    msg += "<br>";
    if (document.getElementById("kiwiQty").value > 0) {
    msg += "Kiwis   ";
    msg +=document.getElementById("kiwiQty").value;
    msg += "<br>";
    if (document.getElementById("pearsQty").value > 0) {
    msg += "Pears   ";
    msg +=document.getElementById("pearsQty").value;
    msg += "<br>";
    if (document.getElementById("grapesQty").value > 0) {
    msg += "Grapes   ";
    msg +=document.getElementById("grapesQty").value;
    msg += "<br>";
    if (document.getElementById("canteloupeQty").value>0) {
    msg += "Canteloupes   ";
    msg+=document.getElementById("canteloupeQty").value;
    msg += "<br>";
    if (document.getElementById("strawberryQty").value>0) {
    msg += "Strawberry   ";
    msg+=document.getElementById("strawberryQty").value;
    msg += "<br>";
    document.getElementById("outputDiv").innerHTML = msg;
    </script>
    2. Style Tag (Insert it in Page > Page Properties >Metadata > HTML for <head>)
    <style type="text/css">
      input {
        border: thin solid #AAA2A3;
        margin-bottom: 7px;
        margin-left: 9px;
      </style>
    3. Div tag in body (Insert in Object > Insert HTML)
    <div id="outputDiv">
    <table>
      <tr>
      <td>Item</td>
      <td>Quantity</td>
      </tr>
      <tr>
      <td>Apples</td>
      <td><input type="text" size="3" id="appleQty"></td>
      </tr>
      <tr>
      <td>Oranges</td>
      <td><input type="text" size="3" id="orangesQty"></td>
      </tr>
      <tr>
      <td>Tangerines</td>
      <td><input type="text" size="3" id="tangerineQty"></td>
      </tr>
      <tr>
      <td>Kiwi</td>
      <td><input type="text" size="3" id="kiwiQty"></td>
      </tr>
      <tr>
      <td>Pears</td>
      <td><input type="text" size="3" id="pearsQty"></td>
      </tr>
      <tr>
      <td>Grapes</td>
      <td><input type="text" size="3" id="grapesQty"></td>
      </tr>
      <tr>
      <td>Cantaloupe</td>
      <td>
      <input type="text" size="3" id="canteloupeQty">
      </td>
      </tr>
      <tr>
      <td>Strawberry</td>
      <td><input type="text" size="3" id="strawberryQty">
      </td>
      </tr>
      </table>
      <input type="button" value="Stack" onclick="fixTheList();">
    </div>
    Regards
    Vivek

  • Code behaves different when SWF is in browser as opposed to stand alone player, why?

    In ActionScript, I have some code that dispatches a
    MOUSE_OVER event when a tween is complete. I am using Tweener for
    the tween. On my Mac OSX machine, I preview the SWF file in a stand
    alone player spawned from my Flash IDE, and the event is dispatched
    and the behavior works as expected, but when I preview the SWF file
    as embedded in a MacOSX browser, the event is not dispatched. On a
    Windows machine, however, the event is dispatched both in a stand
    alone player and within the embedded SWF file in a browser. The
    problem seems to come particularly from the Mac OSX player.
    Has anybody ever experienced this? Is the OSX implementation
    of the Flash player different in a stand alone and browser setting?
    Here is the code that I am using:

    HMMM! Verrrrrry interesting.
    Yes file size is an issue, it's a large project.
    Exterenally host it?
    Where could I go and do that?
    I'm not familiar with this process.  Can you please tell me exactly how it works? 
    And....that means both servers need to be up and running?  Kinda sounds a bit shakey.   This project needs to be strong and stand alone to go here and there.  Durable.   
    I feel safer if its all in one piece.  Bam.
    You know, I noticed "FAST" and "BEST" does not make a difference to file size or quality. 
    Could I be wrong?
    Thanks.

  • PA30 and ESS behave differently when updating other bank details

    I am trouble shooting an issue with maintaining other bank details in ESS. In PA30 when a other bank details record is updated SAP code just updates the record with new data. it will change the date changed to sy-datum with no changes to the begda and endda,
    In the case of ESS a new enrty is created in created in the PA0009 so now we have 2 active banks. please help

    Hi,
    You need to implement BADI "HRXSS_PER_BEGDA"
    Please find the following SPRO path
    Personnel Management-> Employee Self-Service -> Service-Specific Settings -> Own Data -> Change Default Start Date
    Change Default Start Date
    Use
    In this IMG activity, you can specify a certain date as the default value for the start date of data records in the Own Data area. You can specify the following dates:
    A date that will be displayed as the start date on the overview page
    A date from which the user can maintain his or her personal data
    You can thus specify whether a user can change only present and future dates or if he/she can also change data records whose validity periods are in the past.
    For example, if a customer wants to allow their employees to maintain their family dependents information as of the previous year, the customer can implement this BAdI specifying the date from which employees can maintain their family data.
    Requirements
    The current system date is currently set as the default value. You can overwrite this setting with a date of your choice.
    Activities
    To change the default start date, you can use the Business Add-In (BAdI) HRXSS_PER_BEGDA. You can set the date in the DEFAULT_DATE method.
    Parameters of the method DEFAULT_DATE:
    MOLGA (Importing)
    PERNR (Importing)
    INFTY (Importing)
    SUBTY (Importing, optional)
    BEGDA (Changing)

  • Flex app behaves differently when Adobe automation files loaded

    We have an application built with Flex 3.1. I am attempting to create QTP tests for this application.  The instrumentation files are loaded at run time, not compiled into the application.
    I am using QTP 9.5 with the Adobe Flex Add-in 3.0.  I am able to see the controls an run tests to some extent.
    The main issue I am trying to resolve is that there is a difference in behavior of the application when it is started with the instrumentation files. The differences occur both inside and outside of the QTP environment.
    The observed differences are:
    The initial page is a login screen. After entering the id and password, I can click ‘Enter’ or click the “Log in” command button. With the instrumentation files loaded, the ‘Enter’ key no longer works.
    When I log out of the application, a progress screen displays while the environment clean-up occurs.  When the progress bar hits 100%, the original login screen is displayed. With instrumentation files loaded, activity stops when the progress bar hits 100% and the original login screen is never displayed.
    After logging in, a window with perspective tabs displays.  Each perspective tab page contains a window containing a list of resource associated with the perspective. When instrumentation files are loaded, the tab pages exist, but the perspective windows are not created.
    I realize I am dealing with application-specific behavior here and I am pursuing this with our developers. What I am looking for is any information related to differences in application behavior when instrumentation files are loaded.

    I can't seem to reproduce what you are seeing with this sample application:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark">
        <s:states>
            <s:State name="state1" />
            <s:State name="state2" />
        </s:states>
        <s:controlBarContent>
            <s:Button label="change state" click="currentState=currentState=='state1'?'state2':'state1'" />
        </s:controlBarContent>
        <s:Button x="50" y="50" label.state1="state1" label.state2="state2" skinClass="CustomButtonSkin" />
    </s:Application>
    Can you provide a similar sample application that demonstrates the issue?

  • Java application behaving differently when run from netbeans

    Hi,
    When i run my program from netbeans it receives packets from ip addresses which are not in my subnet
    but when i run it from outside netbeans it doesn't receives packets from ip addresses which are not in my subnet.
    Can anybody explains why my application is showing different behavior when run from netbeans and when run independently?
    Thanks.

    Bingo! My script started the rmiregistry and continued on to start the servers. Apparently, it was too quick. I put a 10 second delay after the rmiregistry startup and all is working as it should.
    Thanks for your help. You get the Duke dollars if I can figure out how that works.

  • Applescript in Automator behaves differently when executed from inside Automator, or as an Automator application

    Hello everyone,
    I'm trying to execute an Automator workflow at startup, which I do by saving the workflow as an application, and adding it to the startup list, this works fine.
    My workflow works fine when executed from within Automator (ie clicking on the "Execute" button), but does not anymore when the Automator application is executed (ie. simply double clicking on my Automator file)
    I have narrowed it down to an Applescript inside my workflow which fails only when the application is executed from the finder (the step works fine from within Automator). The script automatically creates an ad hoc wifi network.
    The line which specifically fails is :
    set menu_extras to value of attribute "AXDescription" of menu bar items
    Anyone has any idea why executing the workflow from within automator, and executing it from the finder yield different results ?
    The crazy thing is that all this worked fine up until a few days ago, there might have been an update since (running Mavericks 10.9.2), but nothing game-changing.

    You will need to provide more than the one line of AppleScript you quote if you want a definitive answer.  (We can't even see which app you are addressing this to.)

  • 'create table..' statement behaves differently when alone or in a SP

    hello
    sorry for the title, I just couldnt think of a better description of the problem in very few words...
    the problem I have is:
    I created a stored procedure into the oracle db, and this procedure has the following code inside it:
    auxsql := 'create table tmp (id smallint, name varchar2(256))';
    execute immediate auxsql;
    - now this procedure I call from a java class, using a callable statement
    when I call the stored procedure, I get this message:
    ORA-01031: insufficient privileges (at the line containing the execute instruction)
    my dillema arises from the fact that if I change my callable statement to execute a query of the form:
    auxsql := 'create table tmp (id smallint, name varchar2(256))';
    execute immediate auxsql;
    - but executed as is, not embedded in a sp or something;
    - so if I change to execute simply this, all goes well....
    I would much appreciate if anyone knew at least where to start looking.
    Thank you,
    Silviu Lipovan Oanca
    p.s. for any further details, just say.
    Message was edited by:
    silviulipovan

    In all probability, the user that owns the stored procedure has the CREATE TABLE privilege through a role, not granted directly. In PL/SQL blocks (assuming definer's rights), only direct privilege grants are "visible", whereas straight SQL statements also "see" privileges granted through a role.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • IDOC : Interface behaves differently when updated via external system

    Hi,
    I have a z idoc function module to update customer master table. z function module was created coping the standard fucntion and added a additional logic.
    Now when the idoc from other non sap system hits sap, the tables are not updated as expected by the logic but updated the tables when it used to update with standard function module.
    When I reprocess the same idoc through we19, it updates correctly.
    Am i missing something please help.
    Thanks

    I created a zprocess code and assigned it to inbound parameters in partner profiles settings. and z process code is assigned to z funtion module.

  • Clipped adjustment layers behave differently when blend clipped layers as a group is selected. Why?

    Let's say I have a clipped adjustment layer( Layer 1 ) that affects Layer 0 only.  Afterwards I  enter in Layer 0 advanced blending mode and lower fill to 50% or other value and check and uncheck " blend clipped layers as a group option ". It looks different, but I cant understand why. Both layers blend mode is normal.

    Thanks for the reply...
    Me bad . You are right. Here is the situation I  really encountered:
    Checked " blend layers as a group "
    http://www.flickr.com/photos/58880156@N07/5732874879/in/photostream
    Unchecked " blend layers as a group"
    http://www.flickr.com/photos/58880156@N07/5732875367/in/photostream
    I didnt change anything except " blend layers as  a group ".

Maybe you are looking for

  • Error while deploying CMP.. can u pls tell me...

    Hi, Below is the error my jboss 3.2.3 container is throwing when i tried to deploy my CMP entity bean. It says my ejbFindByPrimaryKey() method must be implemented,but in a CMP i am told the container will take care of the implementation, one just has

  • Airport extreme A1143 problem with mountain lion

    what airport extreme software version works with mountain lion

  • Dropped frames on MultiCam editing with Canon XF305 Footage

    Hello, I recently purchased three Canon XF305 series cameras and have been conducting a series of tests to determine the best recording format and editing workflow. First, does anyone have experience with these new Canon cameras? Using the log and tr

  • Cover art for pdf books in ibook library

    Hi have tried for days to get covers on my pdf books that are in my ibook library but i can't find the answer. Have tried various methods and it is driving me insane!!! Have tried calibre, get the cover but when i try and open the book nothing happen

  • Export Menu Missing Newly Installed Plugin

    Is there a limit to how many export plugins you can have installed? How do you remove one? I installed Kodak Gallery one a few weeks ago and it works, but I want to use Myphotoalbum plugin now instead of kodak one and have run install and rebooted an