oracle-adf

Connection error - connection refused

谁说我不能喝 提交于 2019-12-24 17:17:16
问题 I am developing an Android app, using Mobile ADF in JDeveloper 11. I used weblogic server with SOAP service. When I test the webservice, its working fine, but I am getting this error after deployment on Android emulator - "cannot connect to 127.0.0.1 on port 7101: java.net.ConnectionException:connection refused". 回答1: use 10.0.2.2 instead of 127.0.0.1 and for SOAP use port 8080 instead of 7701 回答2: Use 10.0.2.2 instead of 127.0.0.1 10.0.2.2 Special alias to your host loopback interface (i.e.,

How to stretch inline frame size in panel stretch layout in ADF?

柔情痞子 提交于 2019-12-24 11:07:01
问题 I have .jsff page that contain command button and inline frame. What I want to do is, I want to make command button remain static at the same place and only inline frame can move when scroll the page. Currently what I do is I set some panel stretch layout(StyleClass:AFStetchWidth) . I put the command button at the top. Inline frame in scroll panel group at the center. Here is my structure: af:panelStetchLayout(StyleClass:AFStretchWidth) > Panel Stretch Layout facets bottom center af

ADF selectOnechoice how to display label in items

妖精的绣舞 提交于 2019-12-24 07:46:59
问题 I am working on ADF. I need to display help text on mouse hover for each value of drop down. I struggled al lot but dint find any thing to do in model layer. Finally I endded up playing with string EL expression. <af:table value="#{bindings.LetterUIConfig1.collectionModel}" rendered="false" width="98%" styleClass="AFStretchWidth" var="row" rows="#{bindings.LetterUIConfig1.rangeSize}" emptyText="#{bindings.LetterUIConfig1.viewable ? 'No data to display.' : 'Access Denied.'}" fetchSize="#

How can I use a treetable to show all rows in an Oracle SQL table?

放肆的年华 提交于 2019-12-24 00:48:36
问题 I have this table: CREATE TABLE perarea ( id_area INT primary key, nombre VARCHAR2(200), id_areapadre INT references perarea(id_area) ); And this was added to access the data: My intention is to create a hierarchy showing areas and their subordinates in the treeview. Then when a user clicks a node, have a table on the right of the treetable load all employee from that area. First thing's first though, how can I populate the treetable? Thank you! 回答1: It's helpful to think of a JTree as a view

ADF af:inputFile does not trigger ValueChangeEvent with valueChangeListener

流过昼夜 提交于 2019-12-24 00:46:30
问题 I am unsucessfuly trying to bind a RichInputFile with a viewScopeBean. Here is my code : jsff : <af:panelGroupLayout id="pgl1" layout="horizontal"> <af:inputFile label="Upload File" id="if1" binding="#{viewScope.userBean.inputFile}" valueChangeListener="#{viewScope.userBean.onFileUploadValueChangeListener}" autoSubmit="true"/> <af:spacer width="10" height="10" id="s7"/> <af:commandButton text="Upload" id="cb1" disabled="#{viewScope.userBean.inputFile.value == null ? true : false}"

Understanding DataControl abstraction in ADF framework

醉酒当歌 提交于 2019-12-23 04:37:16
问题 I am learning Oracle ADF framework and want to understand what service does the DataControl's expose to the UIComponents. I understood that there is a binding container abstraction which is actually doing the binding between View Objects and UIComponents that are rendered in the page. What role is the datacontrol abstraction playing in this framework ? In other words what is the relation between datacontrol and bindings that run in the binding environment and what can be called as the

Understanding DataControl abstraction in ADF framework

天大地大妈咪最大 提交于 2019-12-23 04:37:15
问题 I am learning Oracle ADF framework and want to understand what service does the DataControl's expose to the UIComponents. I understood that there is a binding container abstraction which is actually doing the binding between View Objects and UIComponents that are rendered in the page. What role is the datacontrol abstraction playing in this framework ? In other words what is the relation between datacontrol and bindings that run in the binding environment and what can be called as the

How to get any value from any text-box using oracle-adf through button click?

最后都变了- 提交于 2019-12-23 02:45:13
问题 How to get any value from a text-box adf component using oracle-adf through button click? 回答1: @ Livin, Your query was not completely clear, so I made assumption that UI had backing bean enabled. On UI lets have a "Text Box" & "Command Button" for getting this done. In the backing bean just write a method.., public String cb1_action() { String a = (String)it1.getValue(); // To recieve value from UI InputText Component System.out.println(a); return null; } "it1" is the id of the InputText

What is the difference between partialSubmit and autoSubmit in JSF?

大兔子大兔子 提交于 2019-12-21 02:46:23
问题 I guess I knew the difference, but right now I find myself confused. :P Both of them seem to be do the same thing, except that partialSubmit is used on submit buttons to submit the form using AJAX and autoSubmit is used on editable components, which submits only its own contents. Am I right in saying this? 回答1: They are both AJAX enabled calls occurring from custom properties of custom JSF components. The autoSubmit essentially asynchronously postsback content specific to the component for

Calling Managed Bean Method From JavaScript [duplicate]

房东的猫 提交于 2019-12-17 07:49:37
问题 This question already has an answer here : How to invoke a JSF managed bean on a HTML DOM event using native JavaScript? (1 answer) Closed last year . I have an application with a client-side image map with multiple sections defined. I need to call a method in the Managed Bean from the <area> onclick attribute. This doesn't work: <area id="ReviewPerson" shape="rect" coords="3, 21, 164, 37" href="#" onclick="#{personBean.method}" alt="Review Person" id="reviewPersonArea" title="Review Person"