Display based on SYBASE DB object

Hi all

I use version JDev 11.1.1.4.

Currently, my requirement is to created readOnly viewObject based on the SYBASE DB table.

If during treatment of the ViewObject creat step I get error below, when the request of VO is in TEST

Query: select LeadUniqNum, LoanNum from lead

Error: SQL Query Error Message: JZ0SB: parameter index out of range: 2

But if the same query I run spreadsheet SQL jdev will get DB record.

Thank you and best regards,

Amiar

Hello

Its driver not found error... try adding the sybase jdbc driver to the server of domain lib folder.

Nitesh

Tags: Java

Similar Questions

  • How to fill a display based on a change to a field list selection?

    Good afternoon

    I'm doing something with dynamic actions that I think should work, but is not...

    (1) I have a form based on a table.

    (2) one of the fields is a selection of an item list.

    (3) a display field is under the element to display the description of the object

    (4) when nothing is display the description is empty

    (5) when an item is selected in the select list should display the description

    I managed to get the description field to display the return value of the select list by setting its value to the value of the selection using Java list.

    I couldn't so he could use this value and look for the description.

    I was able to define a new element to the page to this value and argued that this element of the page so that it displays in the session state.

    I still cannot get the display item to refresh and use the new value of the element page for complete description.

    Any help would be greatly appreciated.

    I found the answer here...

    SQL - how to get a text box to be updated dynamically in the Apex? -Stack overflow

  • How do you get different fields of the checkbox to display based on a list box selection?

    I'm a relative newbie with lifecycle Designer ES use v.8.2.1 to create interactive forms to replace manual paper copies.  I am working on a form that has a bit down the list boxes.  I want another checkbox fields to display based on the selection of an item from the drop-down lists.

    Guidance on the best way to do this would be greatly appreciated.

    Hello

    Here is an example with the text of the dropdown list change event. You can clearly his choices of previous box once the subform is hidden.

    It is good to group objects in a subform - enough to hide the subform and not to each object in turn.

    Good luck

    Niall

  • Feature request: provide the option to display the names of the objects instead of MoRef in the generated code

    Currently, the generated code contains the value MoRef.

    We can't provide an option to display the name of the object?

    ____________

    Blog: LucD notes

    Twitter: lucd22

    Hi LucD,

    Thanks for the suggestion!

    Indeed, it will be very useful. However, its implementation is not trivial. Onyx is currently working as a passive proxy between the server and the client. And information on the names of the objects are not available in SOAP messages. This means that Onyx will generate calls to the server to retrieve the name for help be MoRef, i.e. Onyx will be not only proxy, but also a customer. Despite this us will search if there is a way to implement this or a similar feature.

    I did your suggestion as a feature request in our database, and it will be considered for a future version.

    Kind regards

    Ignat

  • Dynamic image displays based on Yes / No value

    Dynamic image displays based on Yes / No value

    I´d like to have a picture showing, according to a specific value (y/n)

    .. Sorry need help.

    I have can´t get it workin...

    < img <? PHP $status = "n";

    If ($status == 'y') {}

    "echo"src ="stecker_on.png" alt = "yes" ';

    } else {}

    "echo"src ="stecker_off.png" alt = "no" '.

    } ? > height = "71" width = "101" / >

    The STI image shows not... ideas?

    All I get is a text showing:

    height = "71" width = "101" / >

    Thank you very much!!!

    That error could only say that you implemented my suggestion correctly, or there is a pre-existing error on your page.  The code I gave you is correct.

  • ADF disable display based on value objects

    Hello

    I've seen object on my page and I want to disable based on the value.

    If #{bindings. PROCESS_STAGE.inputValue == 'stage1'}' then my VO work on another page work (no database queries).

    Could dear gurus, you give solutions for this case? Thank you

    Thanks for the reply. I'm ovverided executeQuery() in VOImpl but my work still VO despite if (false).

    public class CorrectRuleVOImpl extends ViewObjectImpl {
        /**
         * This is the default constructor (do not remove).
         */
        public CorrectRuleVOImpl() {
        }
    
        @Override
        public void executeQuery(){
    
             if (false)
                 super.executeQuery();
        }
    }
    

    But it works very well!

    @Override
        protected void executeQueryForCollection(Object object, Object[] object2,
                                                 int i) {
            if(false){
                super.executeQueryForCollection(object, object2, i);
            }
        }
    
  • Change the text displayed, based on the threshold value

    Hi users of Labview,.

    I need help with display and editing text in labview.

    The text should display and change according to the following conditions:

    0 volt - "no power".

    1 volt - "controller ON".

    2 Volt - "Rotor Running"

    3 volt - "Rotor stopped".

    Based on the voltage read by the channel, the text must be displayed and modified on the same area of the front panel. For example, initially it will be 0 Volt and the text "No power" should appear as an indicator of text (and not as a warning message). He needs to change ' controller we ' when the chages of voltage from 0 to 1 volt. The canal reads the analog input voltage (range 0 - 5V).

    I'm relatively new to labview. So please give me pointers or from suggestions on how can be done. Any help is greatly appreciated.

    Thank you

    REDA

    Hello

    Thanks for the crossrulz of notes, have not used the front threshold.  For this simple example, it is "symmetrical", but I can see how the values in the table have been does not correspond to the index position that is so true useful.  Learn something every day, I could not resist, wanted to try.

    OK, here's a sample VI that puts a custom message based on the crossing of a threshold.  Home work is to study the components before asking to :-)

    The dice are the analog signal of 0 to 6.   He rounded to the whole number to provide the index number.  Power is the index number in the index table, the table being hard-coded text messages.

    Two additional indicators may be deleted, useful to see what is happening.

    And get rid of the value 0 if you want the text to match the number, he he he

    Enjoy.

  • Computer hangs when the video display based on the web

    I use Windows Vista.   When I view the videos on the web, I sometimes my computer crash.  It happens intermittently, perhaps one out of every 10 times I discovered a video and occurs with IE8 and Firefox.  I reinstalled the Flash player as it seemed at the time when it crashes flash videos of base.   Just before the crash to computer, I get a bunch of lines on the screen.  Video files and DVD that is not based on the web seems to play fine

    Hello
     
    1. do you remember any change before the question?
    2. What if the problem occurs on a particular Web site?
     
    Follow the steps below and see if they help.
     
    Step 1:
     
    I suggest you to disable the auto restart in case of system error and try to take note of the error message and reply with the exact error message. Once we have the exact error message that we will be in a better position to determine the exact nature of the problem and fix it.
     
    Follow the steps below to disable automatic restart on system failure:
     
    a. Click Start.
    b. type system in the search box after clicking on start. Choose system from the list of results.
    Note: If you see the classic view of the Control Panel, you will not see this link. Just double-click on the system icon and go to step d.
    c. click on the system link.
    d. in the left pane, click Advanced system settings.
    e. Locate the startup and recovery area and click on the settings button.
    f. in the startup and recovery window, locate and uncheck the box next to automatically restart.
    g. click OK in the startup and recovery window.
    h. click OK in the System Properties window.
     
    You can now close the system window.
     
    Subsequently, when the computer is lorsque l' ordinateur s' arrete stop the computer restarts automatically and you will receive the error message, make a note of it and post back.
     
    You can also open the event viewer and check if there are other significant error messages/codes. See the link below for more details:
     
    What are the information contained in the logs of the event (Event Viewer)?
    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer
     
    Step 2:
     
    If you don't have to update your display drivers yet, I suggest you Update your display drivers and check if the crash stops.
    Step 3:
    I suggest you put your computer in a clean boot State, and check if the problem persists. I suspect that there could be involvement of third-party software.
    Note: Follow step 7 to your computer as usual.

    Aziz Nadeem - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • Problem with the display of help on hidden objects

    Hello.

    I started the conversion of an application to make use of the universal theme. The way I did is create a new system of menu navigation from this part of zero with the universal theme.

    I loaded my old 4.1.0.00.3 application in my workspace and began to copy pages in my new app. The problem that I am facing is bound to the elements of the region that appear under certain conditions. When the items are hidden, the help icon is (surrounded by a circle point of mark) still visible, stand-alone meeting in the middle of the region. If you click on it it displays help for a field that is not visible:

    So as you can see, there's a widget of self-help on the right side below the item earlier in the day.

    I use the product Application Express Build 5.0.2.00.07

    All advice appreciated.

    Thank you

    Clive.

    Hello. Thank you. I ended up remove and re-create the item that did the trick.

    I'm guessing that he in some way I messed up migrate objects from 4.1 to 5.

  • SelectOneChoice based on the view object

    Hello

    I have a simple need to create a selectOneChoice based on viewObject.

    If I drag the VO dataControle Panel and drop it into the page as a selectOneChoice, I have something like this

    < af:selectOneChoice value = "#{pageFlowScope.myBean.mySelectedValue} '"

    label = "#{Bindings.myVO.label} '"

    required = "#{bindings. . myVO. hints.mandatory}.

    shortDesc = "#{bindings. . myVO. hints.ToolTip}"id ="soc2">

    < f: selectItems value = "#{bindings. . "{myVO.some}" id = "si4" / >

    < / af:selectOneChoice >

    NB. I manually modified value points to an attribute in the bean

    The problem is that when the user choose a value and submit, the value set in the myBean.mySelectedValue is that the label not display the code (actually I don't know where I can choose which attribute represent the value).

    So, how can I ask to ADF to set the value, and not on his label as the value selected in the selectOneChoice.

    NB. in the case of slectManyChoice, when we drop the VO, the popup displays choose us the attribute which is the base attribute and the screen, but this is not the case for selectOneChoice.

    Thank you

    Elias.

    I now, however, it's the simplest solution possible. You do not have to use the VO itself that you store the selection elsewhere. You can create a VO with a transitional attribute that allows you to create a list of value. This allows you to leave the framework it's magic.

    Timo

  • Textarea conditional display based on the value of the checkbox.

    Hi all

    I have a question regarding the conditional display of an article based on the value of the checkbox.

    I have a checkbox in a region, which is a STATIC LOV:; Y and the text box in the same region. Now I want to show this textarea only if the check box is selected. ??

    Please suggest how to achieve this.

    Thank you

    DC

    Hello

    I guess that you are 4.2 Apex as you haven't shared the same.

    • Create a dynamic Action on change of box which should present the value of the checkbox and update the TextArea element.
    • Then continue as conditional Textarea with checkbox value.

    BR,

    Patrick

  • How can I activate/disable the display of a scrolling text object?

    I am a relatively new user of Captivate and I am using the Interaction of learning in 8 Captivate text scrolling. Specifically, I would like to have a button on the screen when you click it, the drop-down text box will be displayed for the learner. In addition, when viewing, I want a REJECTION or button CLOSE to allow the user to hide the drop-down text box. Basically, I want them to be able to toggle the scrolling text box market at their convenience. I have the following set in place.

    1 READ MORE graphic.

    2. click on the box 1 interaction drawn at the top of the image to READ MORE.

    3 interaction marquee training.

    4. close.

    5. I have a Click Box 2 cartoon above the button interaction CLOSE.

    6. I have items 3 and 4 together to form GROUP_1.

    7 GROUP_1 is set to NO VISIBLE output.

    8. click on box 1 has defined action so that the success is to see THE GROUP_1.

    9. click on box 2A action defined for that success it is HIDE GROUP_1.

    Here's what it looks like:

    screenshot.gif

    When I saw my project, the first part works fine, I click on READ MORE and my scroll text box and a button CLOSE appear as they should. However, when I click the button CLOSE, it moves to the next slide instead of simply to hide the group.

    Also, if I publish the project, the drop-down text box appear not at all. The button CLOSE pops up so when he is supposed to, but the space where the text box should appear does not display anything. I tried the consultation in Chrome Version 43.0.2357.132 m, 11 Version IE and Firefox v39. It seems to be related to the area of text scrolling in a group because I put a box of scrolling text on a separate screen and it shows well in all browsers.

    So, I'm looking for advice, including at - it an easier way to achieve the goal of enabling/disabling of the scrolling text box on and off the screen? TIA!

    Dee

    One thing you need to know using unique actions on objects interactive such as click on boxes or buttons will also trigger an action to continue later by default.  This is probably why your slides advance when you don't want to.  To work around this problem, you must replace the shares you are currently using with stock Standard or conditional Actions that do the same thing.  They don't progress not the timeline unless you stipulate specifically action continues or a jump to slip as well.

  • stream based on its length object

    Hello

    I have the following pdf file and I can't see the 1 page in Adobe Acrobat Reader. I can see it correctly in any other pdf reader.

    I need to create a data flow based on its length (see item 100 and 200), but I could make it work. I followed the specification pdf (page 65), but it does not work.

    on page 2, where the length is not an object of reference, everything's fine.

    Help, please.

    %PDF-1.5

    1 0 obj < < / Type/Catalog Pages 2 0 R > > endobj

    2 0 obj < < / type/pages [0 0 595 842] /MediaBox [0 0 595 842] /CropBox /Resources 3 0 R /Kids [010 011 0 R 0 R] count 2 > > endobj

    3 0 obj < < / type/resources/make < < /FH 4 0 R /FHB 5 0 R > > > > endobj

    4 0 obj < </Subtype/make/type/Type1/Name /FH /BaseFont /Helvetica /WinAnsiEncoding /Encoding > > endobj

    5 0 obj < < / type /Type1/Subtype/make/name/Helvetica-Bold/encoding /WinAnsiEncoding /BaseFont /FHB > > endobj

    6 0 obj < < AR 205 > > flow

    0.5 0.5 0.5 GR BT FHB 14 Tf 55 810 Td (xxx) Tj AND BT 55 795 Td (www.ABC.com) Tj AND BT 421 810 Td (yyy) Tj AND BT 421 795 Td(01/01/2015 12:00:04) Tj AND BT /FH 12 Tf 295 30 Td (/ 1) AND Tj 55 790 m 540 790 l S

    EndStream > > endobj

    10 0 obj < < / Type/page there 2 0 R /Contents [6 0 R 200 0 100 0 R R] > > endobj

    11 0 obj < < / Type/page there 2 0 R /Contents [6 0 R 0 R 101] > > endobj

    100 0 obj < < AR 200 0 R > > flow

    BT /FHB 14 Tf 235 750 Td (Page 1) Tj AND

    EndStream > > endobj

    200 0 obj

    37

    endobj

    101 0 obj < < / length 37 > > flow

    BT /FHB 14 Tf 235 750 Td (Page 2) Tj AND

    EndStream > > endobj

    Xref

    0 12

    0000000000 65535 f

    0000000014 00000 n

    0000000064 00000 n

    0000000198 00000 n

    0000000270 00000 n

    0000000378 00000 n

    0000000492 00000 n

    0000000753 00000 n

    0000000837 00000 n

    0000000913 00000 n

    0000001012 00000 n

    0000001035 00000 n

    trailer

    < < / size 12/root 1 0 R > >

    startxref

    1381

    %% EOF

    10, used in the summary table on page 1, is not a stream.

  • display based on the user

    Hi Experts,

    I have a requirement where I need to show the screen based on the logged in user.

    http://localhost:9000 web /-determinations9000/enquete/customrule/fr-u.s./attribut ~ interview_complete ~ global ~ global? user = comments

    If the user is prompted then 1 SCREEN appears
    If the user is not prompted SCREEN 2 is displayed.

    How this functionality can be achieved.
    The pointers will be of great help.

    Kind regards
    Sameer

    You are right to make this need to enter the user name in the session of rules somehow. So, there are 2 problems:
    1. the representation of the user in the session of rules
    2. how to manage the display of the different screens

    About 1, create a global attribute for the user name. The "user = comments" you see in the URL for OWD is not really used for anything anyone internally. The SecurityService does not work in the OPA at the present time. The user name (security token) is passed to the InterviewEngine at the time of session creation, but is not used. So to access that piece of information you can possibly create an OnRequireSessionEventHandler that you provide the user information and then create your own session and fill the username in the new session. (Ideally, you would use an OnSessionCreatedEventHandler but you do not have access to the SecurityToken recalled). Another option is to set up an OnRequestEventHandler and direct access to the web query to get the user name and write it in the session.

    2, regarding if it is a question that should be displayed differently for users, and then as you suggest a screen flow branching on the user name could then be used, or if you do not use the screen flows and instead to use attribute goals then use procedural rules to manage navigation. If this is the summary screen which should vary then, you place all the controls for each user in folders and apply attributes of visibility to the folder level to achieve the desired effect. (depending on how complicated and different screens 2 question are that you can use attributes of visibility on every control, i.e. to put the two logical screens in 1 OPA screen, just hide the irrelevant controls for specific user)

    Hope that helps.

  • Good way to eliminate a display with the children &amp; listeners object

    It is my function that creates a display object with several children, one is an event listener.

    function makeIt (): void {}

    var spriteA:Sprite = new Sprite();

    var spriteB:Sprite = new Sprite();

    spriteB.addEventListener (MouseEvent.CLICK, myCallback);

    var spriteC:Sprite = new Sprite();

    spriteA.addChild (spriteB);

    spriteB.addChild (spriteC);

    stage.addChild (spriteA);

    }

    Let's say that I'm done with it. What is the right way to dispose of it so that it uses more memory? I do all this?

    spriteB.removeChild (spriteC);

    spriteB.removeEventListener (MouseEvent.CLICK, myCallback);

    spriteA.removeChild (spriteB);

    stage.removeChild (spriteA);

    I read that some people say that you must also assign things to null, then maybe like this? :

    spriteB.removeChild (spriteC);

    spriteC = null;

    spriteB.removeEventListener (MouseEvent.CLICK, myCallback);

    spriteA.removeChild (spriteB);

    spriteB = null;

    stage.removeChild (spriteA);

    spriteA = null;

    And I have a few questions:

    1. what happens if I just removeChild (spriteA) when I'm done with him and call makeIt() later when I need it? Are the same variables being reassigned, so there is no need to clean up after them?

    2. If this display object will be frequently used and removed, would it be better to simply turn spriteA.visible?

    Also, I am familiar with the weak event listeners, but I prefer not to use them.

    removeChild is not deleting anything, whether it is simply detached from the display list... it could very well known as setting the visible property of the object to be both Visual false... the object is still there and can be targeted with the code in both cases.  If you want things get out and be ready for garbage collection, you must remove all references to them and objects Dummies.  If you know that an object is often reused so you probably want to go the road visible from true/false, although using addChild/removeChild can work as well.

Maybe you are looking for