UI Hints for JavaBean Data Controls

According to the new features for 11.1.2, "Bean data control metadata management improvements now only generate xml if needed (sparse xml)".
Oracle JDeveloper and Oracle ADF 11g Release 2 (11.1.2.x): New Features (http://www.oracle.com/technetwork/developer-tools/jdev/jdev-11gr2-nf-404365.html)
So long story short, the JavaBean xml is not generated any longer. Instead, by going through the DataControls.dcx, you can create a PDefViewObject xml that will allow you to edit, among other things, UI hints.
Tutorial: http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_36/jdtut_11r2_36.html
In previous releases, I have been able to edit the 'precision' of an attribute within the JavaBean xml.
<Attribute Name="address" Type="java.lang.String" Precision="40"/>However, the PDefViewObject xml appears to not allow you to edit the 'precision'. Display Width, yes, but not Precision.
When using the Expression Builder while building a ADF jspx, precision is still a selectable hint.
#{bindings.site.hints.precision}So, how do I set this value in 11.1.2?

Thank you for the reply; unfortunately, I have tried those steps. An xml file is created but it is a PDefViewObject, which does not have the precision parameter, not a JavaBean.
<?xml version="1.0" encoding="windows-1252" ?>
<!DOCTYPE PDefViewObject SYSTEM "jbo_03_01.dtd">
<!---->
<PDefViewObject
  xmlns="http://xmlns.oracle.com/bc4j"
  Name="Site">
  <DesignTime>
    <Attr Name="_DCName" Value="olvims.datamodel.DataControls.ODPublicFacadeLocal"/>
    <Attr Name="_SDName" Value="olvims.datamodel.Site"/>
  </DesignTime>
</PDefViewObject>In JDeveloper 11.1.1, that process would create a JavaBean xml.
<?xml version="1.0" encoding="UTF-8" ?>
<JavaBean xmlns="http://xmlns.oracle.com/adfm/beanmodel" version="11.1.1.55.36"
          id="Site" Package="olvims.dispatch.datamodel"
          BeanClass="olvims.dispatch.datamodel.Site" isJavaBased="true">
  <Attribute Name="address" Type="java.lang.String" Precision="40"/>
  <Attribute Name="baseCode1" Type="java.lang.String" Precision="4"
             PrimaryKey="true"/>
  <Attribute Name="city" Type="java.lang.String" Precision="50"/>
  <ConstructorMethod IsCollection="true" Type="olvims.dispatch.datamodel.Site"
                     BeanClass="olvims.dispatch.datamodel.Site" id="Site"/>
  </ConstructorMethod>
</JavaBean>If I try replacing the PDefViewObject a JavaBean, I get the following error:
JBO-26051: Unrecognized XML element tag JavaBean found in meta object persdef.olvims.datamodel.Base.In reference to your question, "what precision does for a String attribute?" Nothing directly that I am aware of; however, i have been using it with text boxes.
I have been using it in the maximumLength parameter of an <af:inputText> to prevent the user from typing any more that the specified precision. I use the displayWidth in the columns parameter so that I could make my textboxes slightly larger than the maximum allowed characters.

Similar Messages

  • Inserting and deleting with JavaBean Data Control

    Hi,
    I have been teaching myself how to use Data Controls with a Struts applications. In order to understand the fundamentals, I thought I could just use a simple javabean encapsulated in a Service facade to implement trivial CRUD operations.
    Upto this point I have the ability to Diplay a table of my objects, Edit a single object and display a single object using the Data control and struts. Unfortunately I am now stuck since all the help documents assume that either I am using a Database bound business object or an EJB to implement my CRUD use cases. These have a lot more operations on their data control that are unavailable to JavaBean data controls.
    How do I go about implementing create and delete use cases with plain JavaBeans? Presumably there are Oracle foundation classes that I can extend that would allow me to expose more operations to the Data Control Pallete.
    Thanks for the input
    Suhail

    For JavaBean DataControl, you will have to write custom methods in servicefacade class which will create, delete or update the collections.
    Though you are not using EJB, following tutorial, shows how custom methods which implement crud operations are used with sessionfacacde (EJB Session bean).
    http://otn.oracle.com/products/jdev/collateral/tutorials/9050/ejbdatabinding_tut.html
    Following thread has discussion on how to refresh the collections from JavaBean.
    10g ADF : how to update the binding values in the UI layer ?
    or
    10g ADF : how to update the binding values in the UI layer ?
    raghu
    JDev Team

  • JavaBeans Data Control / Managed beans interaction

    Working in JDev/ADF 11g
    I have an Application Scoped ADF managed bean that initializes some services for my ADF application. (These are non-database backed business services and so they do not integrate as tightly with Jdev as data controls). They require some constructor arguments and other initialization parameters and so they cannot be written as pure beans.
    I wrote Java Beans to use as data controls that wrap these services. What I would like to do is to keep the creation of these services in the application scoped bean, so they can be used programmatically in other areas. When the data controls beans are initialized, I want to grab their underlying services from the application scoped bean via the ADFContext.
    My issue is that at the time the data control beans are instantiated, the ADFContext returns null when accessing the application scoped bean - ie it has not been created yet.
    What is the proper way to pass initialization data to JavaBean data controls? Ideally I could simply pass the data control a reference to its underlying service.
    If Im going about this all the wrong way, with the application scoped bean holding the application wide business services, please feel free to advise me otherwise.
    Thanks!

    Okay - so I figured out one way to do this (detailed below), but my question still stands as to if there is a proper way to get information to a JavaBean data control when it is instantiated.
    What I just learned is that although my application scoped bean does not exist when the data control is created, it can exist when the the data control is called by the .jspx. I say 'can' because it will only exist if the .jspx backing bean references the application scoped bean as a managed property. i.e. ADF will create the data control, create the page bean, create the application bean (b/c the page needs it), and then call the data control, at which point the data control will find the application scoped bean. This is sort of a hack, since it requires an unintuitive setting for it work. so I think my question still stands, how to pass data from the application scoped bean to the data control.

  • Is it possible to implemnt af:query using JavaBean Data Control?

    Is it possible to implemnt af:query using JavaBean Data Control?

    Fortunately for you and me, Oracle documents this stuff.
    http://docs.oracle.com/cd/E17904_01/web.1111/b31974/appendix_datacontrols.htm#BABGECDA

  • Should we really go for bean data controls for a new project?

    Hi,
    I am still new data controls and trying to figure out the advantages of using bean data controls for our new project. Our UI is going to have customized UI components and our back end is going to be a tcp/ip server.
    Is it a good idea to develop java beans and then create data controls to bind to UI layer? I think it makes sense to use data controls if we want to use existing java beans. Maybe we would be separating the model layer by using data controls, but only thing it would be doing for us would be the simple object calls to my java beans. Would it be better to use data controls or use I choose to make object calls?
    Thanks,
    Manoj

    Hi,
    the POJO data control will always give you a benefit and develope productivity, unless what you have to build fits on a single page - in which case you may not mind the burdon of manual UI component binding
    Frank

  • Scope of java class used for building data control

    Hello,
    I have tried a sample application where in we are using Datacontrols to render the UI.
    The data control is generated off a simple java class(abc.java) which is used to render a "Page called - Employee". This java class then uses a session bean which in turn talks with the database entities. The database entities(POJO's - employee.java) are then exposed in the abc.java and used to display data on the UI such as employee name, id , etc.
    My question is regarding the scope of abc.java. I presume, that the constructor of this class will be called when the page is rendered.
    Now say i am navigating from some Page-A to Page-Employee. On click of a button in Page A, i want to go to the Database, retrieve a particular employee's details and then place it in the employee entity exposed in abc.java so that it gets displayed when Page-Employee is rendered.
    If the actionlistener method of the button click in Page A has the code of - 1)create new instance of abc - new abc() 2)retrieve employee entity 3) set employee entity in the class level attribute of abc
    But on going to the next page-employee, a new instance of abc is getting created and i am losing the employee that i had retrieved in the previous screen.
    Is there a scope for abc that can be set somewhere similar to managed beans? or is there some other solution.
    -thanks

    Hi,
    Say, on an 'employee create page' we use data controls which are generated from a java class, 'EmployeeService'.
    This java class has the POJO(entity) - Employee whose attributes like name, description are used to create input text boxes on the employee page.
    Now, assume we come to the Employee create page from some other page in the application; where exactly is the best place to make an instance of the employee entity.
    Do we place- Employee emp = new Employee(); in the constructor of the EmployeeService.java class or is there some other way?
    Any pointers would help.
    Thanks
    Edited by: user9935204 on Feb 4, 2010 8:44 PM

  • Tutorials for MVC, Data Controls, and Data Bindings

    I am looking for some good tutorials on:
    Model View Controller concept
    Creating Data Controls from Java Beans
    Creating and Using Data Bindings
    We are using JDeveloper, but do not want to use ADF as we want more control than ADF offers.
    Thanx
    Pam

    Just curious, what control do you need that ADF doesn't offer you?
    If you use ADF, you don't have to use it for every page. You can bind some components on your page using adf directly to your adf data controls, and you can bind other components to your backing beans, and have full control. No reason to throw out adf if there are just a few cases where you need more control.
    Btw, do you have a link to a page describing these non adf data controls and data bindings?

  • Need some hints for evaluating data from Central Performance History

    Hi Experts,
    I am pretty new to all the BI-stuff and hopefully someone can provide some hints. I got the requirement to read data (CPU usage/peaks) from central performance history of "system a" into "bi system" to generate overviews/charts/etc
    Now I guess there might be a standard report/info cubes and stuff which will help to solve this.
    I would really appreciate if someone could throw me a few keywords about this topic.
    Thanks in advance!

    Hi David,
    Thanks, I hadn't looked at the note.
    Section 2 - history of all connected systems showed me what to do to collect the data. I had seen that in the setup but not understood the implications of it fully. The note explained it much clearly than the SAP help.
    Thanks again,
    Gareth

  • Using the Edit definition feature for data controls in Jdeveloper 11g

    Hello,
    I am using Jdeveloper 11g 11.1.2.3.0.
    I have some data controls used in my application. Initially they were pointing to lab now it has been changed to development.
    I need to change the wsdl urls' for each data controls. I used edit definition feature in each data controls and copy pasted the new urls. But this does not seem to work.
    Is this the right way of doing it or is there any other way to accomplish this?
    Thanks in advance,
    Sal

    Hi,
    choose Application Resources (iAccordion in Application Navigator) --> ADF META-INF --> Open and Change connections.xml
    Frank

  • Named Criteria created, but it does not show up in the Data Controls view

    Hello there,
    I wish to use a data-bound ADF Mobile ListView in one of the pages on the app. However, only entries of the underlying data that fulfill a certain condition shall be displayed in the list. The condition basically is an "Equals" test against a bind variable in the pageFlowScope. Therefore, I have created a corresponding Named Criteria for the data control - proceeded like described here:
    https://blogs.oracle.com/adf/entry/create_named_criteria_in_ejb
    The Named Criteria, in my case, has been created and saved, yet it does not show up in the Data Controls view of JDeveloper. Therefore, I cannot drag it on a UI element to use it.
    I only have the "Operations" folder where the quick guide above also shows a "Named Criteria" folder.
    Refreshing or restarting JDeveloper did not solve this.

    It was all taken care of by Gaurav Aggarwal
    He got me all fixed up, Thank you for your concern.
    Daniel Walters

  • Request parameter of Web Service Data Control shows up as an Object

    I have deployed a simple web service on a peoplesoft instance.
    The request message is:
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="SSR_CLASS_SEARCH_REQ">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="INSTITUTION" type="xsd:string" nillable="true"/>
    <xsd:element name="TERM" type="xsd:string" nillable="true"/>
    <xsd:element name="CAREER" type="xsd:string" nillable="true"/>
    <xsd:element name="SUBJECT" type="xsd:string" nillable="true"/>
    <xsd:element name="CLASS_NBR" type="xsd:int" nillable="true"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    While the response message has a depth of three levels:
    In jdev 11g (Studio Edition Version 11.1.1.1.0, Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407) the one available for download on OTN, I perform the following steps.
    Create a Web Service Data control using the WSDL url, generated from the PSFT end.
    The Data control creates successfully. The problem is:
    - In the service operation method (in the data control) the request parameter is shown as an Object.
    - The entry under the service operation parameter tree, is 'paramater'
    The data control looks like:
    - <datacontrolname>
    - <serviceOperationName>_parameters
    - parameter
    - CAREER
    - CLASS_NBR
    - INSTITUTION
    - SUBJECT
    - TERM
    - <serviceOperationName>(Object)
    - Parameters
    - parameter
    - Return
    - <Return type>
    The return type shows up fine, with collections in hierarchy of a depth of tree.
    How do I create a parameter form for this data control.

    Hi,
    In this usecase , you can DnD the <serviceOperationName>_parameters as an ADF from. Then DnD the operation as a method. The methods input arg value is automatically set to the parameterIterator.currentRow.DataProvider. This works fine.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Price Determination (Pricing) Date Control in PO

    Hi,
        We have feature in PO for price date control. Following are available in drop down:
    1. Purchase order date
    2. Delivery Date
    3. Current date
    4. Manual date
    5. GR date
    no control.
    I did F1 to find details how to use this functionality but there is not much explaination to it except with GR control.
    Also below to it there is a field Price Date.
    1.Please explain in which scenarios these all are used and what is the accounting impact of it.
    2. Is there any study material to take deep understanding of this concept.
    Regards

    hi,
    The pricing date is the date defined by date-dependent pricing elements such as conditions and the foreign currency rate.
    As we know that the prices of foreign currency  changes day by day..so if you post your PO today and make IR some other day then there may changes in prices from date to date...
    so this field is used to ref. to date for the price applied...
    can see the link for more details:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/93/7440fa546011d1a7020000e829fd11/frameset.htm
    hope it helps....
    Regards
    Priyanka.P
    Edited by: Priyanka Paltanwale on Sep 25, 2008 6:24 AM

  • Data control issue for content repository when running apps in webcenter .

    Hi All ,
    I have created content repository connection in my local jdeveloper and
    exposed it as a data control .
    from data control i am displaying some path and name based on some search criteria .
    Whenever i am runnig this application i am getting following exceptions and no datas are displayed .
    Since i have define connection for content server locally on my jdeveloper do i need to create some jndi
    on server side .
    TestContentServer is the content repository connection i have created in jdeveloper .
    if yes tell me how can i do it and how it will port to my data control .
    [2010-10-05T09:34:39.245-07:00] [wc_custom] [WARNING] [] [oracle.adf.controller.faces.lifecycle.Utils] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: 0000IhxFdvi4ulWpTwp2ic1CemrZ0000fT,0:1] [WEBSERVICE_PORT.name: WSRP_v2_Markup_Service] [APP: application1] [J2EE_MODULE.name: TestContentService-ViewController-context-root] [WEBSERVICE.name: WSRP_v2_Service] [J2EE_APP.name: application1] ADF: Adding the following JSF error message: TestContentServer[[
    javax.naming.NameNotFoundException: TestContentServer; remaining name 'TestContentServer'
    Thanks,
    Arun

    Hi Yanic ,
    1. code for my jspx page
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:inputText value="#{bindings.path.inputValue}" simple="true"
    required="#{bindings.path.hints.mandatory}"
    columns="#{bindings.path.hints.displayWidth}"
    maximumLength="#{bindings.path.hints.precision}"
    shortDesc="#{bindings.path.hints.tooltip}" id="it1">
    <f:validator binding="#{bindings.path.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.type.inputValue}" simple="true"
    required="#{bindings.type.hints.mandatory}"
    columns="#{bindings.type.hints.displayWidth}"
    maximumLength="#{bindings.type.hints.precision}"
    shortDesc="#{bindings.type.hints.tooltip}" id="it2">
    <f:validator binding="#{bindings.type.validator}"/>
    </af:inputText>
    <af:commandButton actionListener="#{bindings.getItems.execute}"
    text="getItems"
    disabled="#{!bindings.getItems.enabled}" id="cb1"
    partialSubmit="true"/>
    <af:table value="#{bindings.Items.collectionModel}" var="row"
    rows="#{bindings.Items.rangeSize}"
    emptyText="#{bindings.Items.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.Items.rangeSize}"
    rowBandingInterval="0" id="t1" partialTriggers="::cb1">
    <af:column sortProperty="name" sortable="false"
    headerText="#{bindings.Items.hints.name.label}" id="c2">
    <af:inputText value="#{row.bindings.name.inputValue}"
    label="#{bindings.Items.hints.name.label}"
    required="#{bindings.Items.hints.name.mandatory}"
    columns="#{bindings.Items.hints.name.displayWidth}"
    maximumLength="#{bindings.Items.hints.name.precision}"
    shortDesc="#{bindings.Items.hints.name.tooltip}"
    id="it3">
    <f:validator binding="#{row.bindings.name.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="path" sortable="false"
    headerText="#{bindings.Items.hints.path.label}" id="c3">
    <af:inputText value="#{row.bindings.path.inputValue}"
    label="#{bindings.Items.hints.path.label}"
    required="#{bindings.Items.hints.path.mandatory}"
    columns="#{bindings.Items.hints.path.displayWidth}"
    maximumLength="#{bindings.Items.hints.path.precision}"
    shortDesc="#{bindings.Items.hints.path.tooltip}"
    id="it8">
    <f:validator binding="#{row.bindings.path.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="URI" sortable="false"
    headerText="#{bindings.Items.hints.URI.label}" id="c5">
    <af:inputText value="#{row.bindings.URI.inputValue}"
    label="#{bindings.Items.hints.URI.label}"
    required="#{bindings.Items.hints.URI.mandatory}"
    columns="#{bindings.Items.hints.URI.displayWidth}"
    maximumLength="#{bindings.Items.hints.URI.precision}"
    shortDesc="#{bindings.Items.hints.URI.tooltip}"
    id="it7">
    <f:validator binding="#{row.bindings.URI.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="primaryType" sortable="false"
    headerText="#{bindings.Items.hints.primaryType.label}"
    id="c7">
    <af:inputText value="#{row.bindings.primaryType.inputValue}"
    label="#{bindings.Items.hints.primaryType.label}"
    required="#{bindings.Items.hints.primaryType.mandatory}"
    columns="#{bindings.Items.hints.primaryType.displayWidth}"
    maximumLength="#{bindings.Items.hints.primaryType.precision}"
    shortDesc="#{bindings.Items.hints.primaryType.tooltip}"
    id="it6">
    <f:validator binding="#{row.bindings.primaryType.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="title" sortable="false"
    headerText="#{bindings.Items.hints.title.label}" id="c1">
    <af:inputText value="#{row.bindings.title.inputValue}"
    label="#{bindings.Items.hints.title.label}"
    required="#{bindings.Items.hints.title.mandatory}"
    columns="#{bindings.Items.hints.title.displayWidth}"
    maximumLength="#{bindings.Items.hints.title.precision}"
    shortDesc="#{bindings.Items.hints.title.tooltip}"
    id="it9">
    <f:validator binding="#{row.bindings.title.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="docType" sortable="false"
    headerText="#{bindings.Items.hints.docType.label}" id="c6">
    <af:inputText value="#{row.bindings.docType.inputValue}"
    label="#{bindings.Items.hints.docType.label}"
    required="#{bindings.Items.hints.docType.mandatory}"
    columns="#{bindings.Items.hints.docType.displayWidth}"
    maximumLength="#{bindings.Items.hints.docType.precision}"
    shortDesc="#{bindings.Items.hints.docType.tooltip}"
    id="it5">
    <f:validator binding="#{row.bindings.docType.validator}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="displayName" sortable="false"
    headerText="#{bindings.Items.hints.displayName.label}"
    id="c4">
    <af:inputText value="#{row.bindings.displayName.inputValue}"
    label="#{bindings.Items.hints.displayName.label}"
    required="#{bindings.Items.hints.displayName.mandatory}"
    columns="#{bindings.Items.hints.displayName.displayWidth}"
    maximumLength="#{bindings.Items.hints.displayName.precision}"
    shortDesc="#{bindings.Items.hints.displayName.tooltip}"
    id="it4">
    <f:validator binding="#{row.bindings.displayName.validator}"/>
    </af:inputText>
    </af:column>
    </af:table>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    2. code for binding .
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="11.1.1.56.60" id="Test1PageDef"
    Package="com.heiwip.cs.view.pageDefs">
    <parameters/>
    <executables>
    <variableIterator id="variables">
    <variable Type="java.lang.String" Name="getItems_path"
    IsQueriable="false"/>
    <variable Type="java.lang.String" Name="getItems_type"
    IsQueriable="false"/>
    </variableIterator>
    <methodIterator Binds="getItems.result" DataControl="TestDC1" RangeSize="25"
    BeanClass="com.heiwip.cs.view.TestDC1.getItems_return"
    id="getItemsIterator"/>
    </executables>
    <bindings>
    <methodAction id="getItems" RequiresUpdateModel="true" Action="invokeMethod"
    MethodName="getItems" IsViewObjectMethod="false"
    DataControl="TestDC1" InstanceName="TestDC1"
    ReturnName="TestDC1.methodResults.getItems_TestDC1_getItems_result">
    <NamedData NDName="path" NDType="java.lang.String"
    NDValue="${bindings.getItems_path}"/>
    <NamedData NDName="type" NDType="java.lang.String"
    NDValue="${bindings.getItems_type}"/>
    </methodAction>
    <attributeValues IterBinding="variables" id="path">
    <AttrNames>
    <Item Value="getItems_path"/>
    </AttrNames>
    </attributeValues>
    <attributeValues IterBinding="variables" id="type">
    <AttrNames>
    <Item Value="getItems_type"/>
    </AttrNames>
    </attributeValues>
    <attributeValues IterBinding="getItemsIterator" id="displayName">
    <AttrNames>
    <Item Value="displayName"/>
    </AttrNames>
    </attributeValues>
    <attributeValues IterBinding="getItemsIterator" id="name">
    <AttrNames>
    <Item Value="name"/>
    </AttrNames>
    </attributeValues>
    <attributeValues IterBinding="getItemsIterator" id="path1">
    <AttrNames>
    <Item Value="path"/>
    </AttrNames>
    </attributeValues>
    </bindings>
    </pageDefinition>
    3. Table is displayed with no data .
    whenever i am trying to pass something in search criteria to get the result its
    throwing connection error .
    4. I am using oracle UCM (oracle content server) .
    for this i am using identity propogation .
    Thanks,
    Arun.

  • Custom Control for 2D data

    Hi,
    I want to develop a new Control/Indicator for 2D data, i.e. 2D points. My idea is to
    display a canvas with the current point and let the user drag it. Somehow it would
    thus be analogous to the common slider for 1D data.
    I'm quite new to Labview, so I don't really know how to address this question best.
    Should I customizing an existing control? I found some examples on that, but could
    not find a way how to link two inputs to the visual state, in other words, how to move
    the point on the canvas depending on the two input data.
    Or do I need to use an XControl?
    Sorry if this question is trivial or has been asked before, but I could not find a satisfying
    answer.
    Best wishes,
    Bene

    I bet this is somewhat the same as you need. try the link.
    How to create 2d slider?
    Ivel R. | CLAD

  • Howto change property of javabeans based data control?

    Hi,
    I have a swing application which displays a combobox. This combobox is bound to a javabeans based model using ADF.
    The combobox is enabled/disabled based on a value in another combobox, so sometimes the combobox is enabled, sometimes it's not.
    We've currently implemented this using an action listener, which call comboBox.setEnabled(false).
    This works, but when you refresh the iterator binding for the panel, the combobox is always enabled. I assume this is caused by the fact that the adf xml file describing the javabean contains the following attribute: IsUpdatable="true".
    How can i programatically change this attribute? Can i set a property for the jcombobox control binding, or can i change the AttributeDef used by the combobox?
    Thanks,
    Andrej

    How do i programatically change an adf javabeans based control value from editable to not-editable?

Maybe you are looking for

  • L7580 found but does not connect with ver 14 software

    Lenovo R61i LaptopWindows XP SP3.  connecting wirelessly from laptop to router, printer is connected via ethernet cord through a D-Link Dir-655 Router. Updated to Version 14 of all in one driver for L7580.  In set up the setup sees the L7580 on the n

  • 3rd gen iPod touch lock button issues

    Recently my 3rd gen iPod touch started giving me problems with the lock button.  If I press the lock button the screen will turn on and off rapidly and then the power off screen will come up.  It will just keep doing this over and over; I've tried to

  • AppX Packager: directory structure for referenced .dll(s)

    I'm trying to use precompiled NuGet packages, like zlib, for WinRT Universal App development. Everything installs and compiles just fine, but running app ends up with "Unable to locate DLL" exception. Apparently, zlib.dll ends up copied into AppX\bin

  • Can not set  css style class of  TD  in DataTable??

    <h:dataTable value='#{myList.rows}' var='row' headerClass='cs_header' styleClass="cs_list" rowClasses='cs_TR_EVEN,cs_TR_ODD' > The following is what I want to be generated by JSF. <table class="cs_list"> <thead> <tr> <th class="cs_header" scope="col"

  • 320 vs 256, CBR vs VBR, 44.1Khz vs 48Khz

    Can someone please tell me the difference between the above settings when converting from CD/lossless? I know the 320/256 is the bit rate, higher = better quality, I know what CBR and VBR *stand for*, and I know that 44.1/48 is the sample rate, but I