NPE in the method so that access to the contents of the line.
Hi experts,am on jdev 11.1.1.5.0 - adfbc-db10g of oracle.
This method is exposed as a button. relax the click the button always npe.
public String checkLogin(String p_user,String p_password)
{
System.out.println("Parameter Username :" + p_user + "Parameter Password :" + p_password);
ApplUsersVOImpl vo = (ApplUsersVOImpl)this.getApplUsers1();
/*set the bind variable value*/
vo.setNamedWhereClauseParam("p_user",p_user.toUpperCase());
System.out.println ("Am Implementation Username :" + p_user);
vo.setNamedWhereClauseParam("p_password",p_password.toUpperCase());
System.out.println("Am Implementation Password :" + p_password);
vo.executeQuery();
int rowCount=vo.getEstimatedRangePageCount();
System.out.println("rowCount :" + rowCount);
Row r = vo.getCurrentRow(); // here always printing null value and Null pointer exception
String s = (String)r.getAttribute("AppluserBu"); // here always printing null value and Null pointer exception
System.out.println("here am" + s); // here always printing null value and Null pointer exception
if(rowCount==0)
{
throw new JboException("Password doesn't match");
}
return "Welcome"+ "User" + p_user.toUpperCase();
}
When I debuged he also says the null pointer.How to get this attribute.
someone point me in the right direction.
After running a query is three no current row. You can use vo.first () to move to the first line of the rowset. The only exception to this is if the vo is used on a page, then the framework.masked the first route of the current line.
Timo
Tags: Java
Similar Questions
-
Original title: HELP
{Moderator note: version of Windows has not been confirmed}
In microsoft mail I get the following script error and cannot print emails, then the error lock the computer.
Script error
An error has occurred in the script on this page
Line 215
1 tank
Unexpected call to method or property access
Code 0
URL: res://ieframe.dll/preview.js
Do you want to continue running scripts on this page
Yes No
I can print other documents.
Please help I need to be able to print my emails.
Thank you
Windows Mail uses the Internet Explorer print engine to print. You can print from Internet Explorer? It is possible that your antivirus software might be the cause. You can try to turn off and then restart and see if it will print. Otherwise, you will need to provide more detailed information depending on your version of Windows, what e-mail program, you are using and what version of Internet Explorer you are using.
Steve
-
I downloaded the new 9. ? version said to my PC to run it. It said to restart my system which will come into force. Yes, I did. Whenever I try to access the line, it gives me the message that I have to restart my system. What should I do?
Do a cleaning (re) install and delete the folder of the program Firefox (C:\Program Files\Mozilla Firefox\).
Download a new copy of Firefox and save the file to the desktop.
- Firefox 9.0.x: http://www.mozilla.org/en-US/firefox/all.html
Uninstall your current version of Firefox, if possible.
- Do NOT remove the data of a personal nature when you uninstall the current version or you lose your bookmarks and other data in the profile folder.
Delete the program folder Firefox before installing newly downloaded copy of the Firefox installer.
- It is important to remove the Firefox program folder to delete all the files and make sure that there is no problem with the files that were the remains after uninstallation.
- http://KB.mozillazine.org/Uninstalling_Firefox
Your bookmarks and other profile data stored in the Firefox profile folder and will not be affected by a relocation, but make sure that you do not select delete data of a personal nature if you uninstall Firefox.
-
How to have an e-mail link that accesses the APEX page without you connect again.
Greetings,
It is common in our applications APEX to send e-mail to a user with a link to a specific data line so that they can access the line and approve it. The user who receives the email is already connected to the application, but when they click on the link in their email, he is asked to open a session. How to do this?
Thank you, Tony
Published by: hidden on 5 July 2012 14:47What you need is a custom page Sentinel installation that will detect if there is a session already valid and which then uses.
See {: identifier of the thread = 2283805} for a fantastic example of Patrick Wolf on the functions of sentry page. You will need to change to get a valid session, through apex_custom_auth.get_session_id.For some tips, check out these blog posts
http://joelkallman.blogspot.be/2010/10/custom-authentication-scheme-for-Oracle.html
http://Zetetic.net/blog/2010/12/10/updating-page-sentry-for-Apex-40-upgrade.html
http://timnzblog.WordPress.com/2010/09/13/application-express-and-JanRain/(from the last blog :) code example
FUNCTION PAGE_SENTRY RETURN BOOLEAN IS l_username VARCHAR2(512); l_session_id NUMBER; BEGIN IF USER != 'APEX_PUBLIC_USER' THEN RETURN false; END IF; l_session_id := wwv_flow_custom_auth_std.get_session_id_from_cookie; -- check application session cookie. IF wwv_flow_custom_auth_std.is_session_valid THEN apex_application.g_instance := l_session_id; l_username := wwv_flow_custom_auth_std.get_username; wwv_flow_custom_auth.define_user_session( p_user => l_username, p_session_id => l_session_id); RETURN true; ELSE OWA_UTIL.REDIRECT_URL('f?p=RPXAUTH:LOGIN:'|| nv('APP_SESSION')|| '::::RETURN_APP_ID,RETURN_PAGE_ID:'|| v('APP_ID')|| ','||v('APP_PAGE_ID')); END IF; RETURN false; END page_sentry;
Perhaps others have more recent links, but that's where you should look. I have not set myself up again, however, so I can't really be much more help on this.
-
Necessary to reach the line of Fax Long Distance access code
I have a HP all-in-one Officejet J4550 Copier-scanner-fax. My question is how can I send a fax when I need to enter a series of numbers without connection with the fax number to reach a long-distance line? It's a long story, but I mainly long distance access via a calling card. I first call a toll-free number and enter a 12-digit before I can enter the fax number. The Officejet does not seem to have provisions for this. She has just one field for the fax number.
I was able to answer my own question by using the method of trial and error. It turns out that you can use the machine all-in-one HP Officejet J4550 fax 'manual', after all. Forget the software "Solution Center". I wrote just to the top of the other fax manually on the phone machine, put in all my codes required. When I got another fax to the line, I put the Officejet key 'FAX (black and white)' using the arrow (adjacent to the 'OK' button '), responsible for my fax in the feeder and you press '1' at the prompt to send the fax. (By pressing '2' will tell the Officejet to receive a fax.) It's good to know, especially for the time that you can not by software.
-
executeQuery() method affects the lines in the cache?
Hello.
I use Jdeveloper 11.1.1.3.0 ADF BC and ADF Faces.
I want to implement the simple hide/show button in my page. The use case is as follows,
I will give the step and scripts required to reproduce the case if anyone is interested.
1 - the database contains a table TEST and here is the script to create. where the flag column is used as an indicator to show or hide line in my page.
2 - I created my business EO, VO, Module of Application components. and I have added where clause to my display. and here is the full query.CREATE TABLE TEST ( ID NUMBER, NAME VARCHAR2(50 BYTE), FLAG VARCHAR2(1 BYTE) ) INSERT INTO TEST ( ID, NAME, FLAG ) VALUES ( 1, 'one', 'Y'); INSERT INTO TEST ( ID, NAME, FLAG ) VALUES ( 2, 'two', 'Y'); INSERT INTO TEST ( ID, NAME, FLAG ) VALUES ( 3, 'three', 'Y'); INSERT INTO TEST ( ID, NAME, FLAG ) VALUES ( 4, 'four', 'Y'); commit;
3 - I created a page and drag and drop my TestView1 of the data control in the table of the ADF in my page.SELECT Test.ID, Test.NAME, Test.FLAG FROM TEST Test WHERE FLAG = 'Y'
4. Add an additional column and slide SetCurrentRowWithKey action as a button and set the parameter #{row.rowKeyStr}, and create an action Binder method (hideRow) to this button in a bean.
5. change the (hideRow) method to set the Flag attribute for the current selected row "N", and then rerun the query. the goal is to hide the line of the screen.
6 - drag a new button (cancel the changes) and bind its action to a method that iterates over all the lines in the view object and all of the flag attribute to 'Y' and rerun the query. The goal is to show hidden lines.
Here is my page source
And here's my two cents<?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:table value="#{bindings.TestView1.collectionModel}" var="row" rows="#{bindings.TestView1.rangeSize}" emptyText="#{bindings.TestView1.viewable ? 'No data to display.' : 'Access Denied.'}" fetchSize="#{bindings.TestView1.rangeSize}" rowBandingInterval="0" filterModel="#{bindings.TestView1Query.queryDescriptor}" queryListener="#{bindings.TestView1Query.processQuery}" filterVisible="true" varStatus="vs" selectedRowKeys="#{bindings.TestView1.collectionModel.selectedRow}" selectionListener="#{bindings.TestView1.collectionModel.makeCurrent}" rowSelection="single" id="t1" styleClass="AFStretchWidth" binding="#{Test.myTable}"> <af:column sortProperty="Id" filterable="true" sortable="true" headerText="#{bindings.TestView1.hints.Id.label}" id="c1"> <af:inputText value="#{row.bindings.Id.inputValue}" label="#{bindings.TestView1.hints.Id.label}" required="#{bindings.TestView1.hints.Id.mandatory}" columns="#{bindings.TestView1.hints.Id.displayWidth}" maximumLength="#{bindings.TestView1.hints.Id.precision}" shortDesc="#{bindings.TestView1.hints.Id.tooltip}" id="it3"> <f:validator binding="#{row.bindings.Id.validator}"/> <af:convertNumber groupingUsed="false" pattern="#{bindings.TestView1.hints.Id.format}"/> </af:inputText> </af:column> <af:column sortProperty="Name" filterable="true" sortable="true" headerText="#{bindings.TestView1.hints.Name.label}" id="c3"> <af:inputText value="#{row.bindings.Name.inputValue}" label="#{bindings.TestView1.hints.Name.label}" required="#{bindings.TestView1.hints.Name.mandatory}" columns="#{bindings.TestView1.hints.Name.displayWidth}" maximumLength="#{bindings.TestView1.hints.Name.precision}" shortDesc="#{bindings.TestView1.hints.Name.tooltip}" id="it2"> <f:validator binding="#{row.bindings.Name.validator}"/> </af:inputText> </af:column> <af:column sortProperty="Flag" filterable="true" sortable="true" headerText="#{bindings.TestView1.hints.Flag.label}" id="c2"> <af:inputText value="#{row.bindings.Flag.inputValue}" label="#{bindings.TestView1.hints.Flag.label}" required="#{bindings.TestView1.hints.Flag.mandatory}" columns="#{bindings.TestView1.hints.Flag.displayWidth}" maximumLength="#{bindings.TestView1.hints.Flag.precision}" shortDesc="#{bindings.TestView1.hints.Flag.tooltip}" id="it1"> <f:validator binding="#{row.bindings.Flag.validator}"/> </af:inputText> </af:column> <af:column id="c4"> <af:commandButton text="hide" disabled="#{!bindings.setCurrentRowWithKey.enabled}" id="cb1" partialTriggers="::t1" action="#{Test.hideRow}" partialSubmit="false"/> </af:column> </af:table> <af:commandButton actionListener="#{bindings.Rollback.execute}" text="Rollback" immediate="true" id="cb2"> <af:resetActionListener/> </af:commandButton> <af:commandButton actionListener="#{bindings.Commit.execute}" text="Commit" id="cb3"/> <af:commandButton text="cancel Changes" id="cancel" action="#{Test.showAllHiddenRows}" partialSubmit="false"/> </af:form> </af:document> </f:view> <!--oracle-jdev-comment:preferred-managed-bean-name:Test--> </jsp:root>
the problem is, when I click on the button that hide the indicator of the value N, but the line is always indicated in the table, even if I re - run the query. I want to hide the line, and when click Cancel button I want to re - show the line.package view.bean; import model.views.TestViewImpl; import oracle.adf.model.BindingContext; import oracle.adf.model.binding.DCBindingContainer; import oracle.adf.model.binding.DCIteratorBinding; import oracle.adf.view.rich.component.rich.data.RichTable; import oracle.adf.view.rich.context.AdfFacesContext; import oracle.binding.BindingContainer; import oracle.binding.OperationBinding; import oracle.jbo.Row; import oracle.jbo.RowSetIterator; import oracle.jbo.ViewObject; public class Test { private RichTable myTable; public Test() { } public BindingContainer getBindings() { return BindingContext.getCurrent().getCurrentBindingsEntry(); } public String hideRow() { BindingContainer bindings = getBindings(); OperationBinding operationBinding = bindings.getOperationBinding("setCurrentRowWithKey"); Object result = operationBinding.execute(); DCBindingContainer dc = (DCBindingContainer)bindings; DCIteratorBinding iterator = (DCIteratorBinding)dc.findIteratorBinding("TestView1Iterator"); iterator.getCurrentRow().setAttribute("Flag", "N"); ViewObject vo = iterator.getViewObject(); TestViewImpl testVO = (TestViewImpl)vo; testVO.executeQuery(); AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance(); adfFacesContext.addPartialTarget(this.getMyTable()); return null; } public String showAllHiddenRows() { // Add event code here... BindingContainer bindings = getBindings(); DCBindingContainer dc = (DCBindingContainer)bindings; DCIteratorBinding iterator = (DCIteratorBinding)dc.findIteratorBinding("TestView1Iterator"); ViewObject vo = iterator.getViewObject(); TestViewImpl testVO = (TestViewImpl)vo; RowSetIterator rsi = testVO.createRowSetIterator(null); rsi.reset(); Row current; while (rsi.hasNext()) { current = rsi.next(); System.out.println("current flag " + current.getAttribute("Flag").toString()); current.setAttribute("Flag", "Y"); } rsi.closeRowSetIterator(); testVO.executeQuery(); AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance(); adfFacesContext.addPartialTarget(this.getMyTable()); return null; } public void setMyTable(RichTable myTable) { this.myTable = myTable; } public RichTable getMyTable() { return myTable; } }
Is this bug or am I missing something?
This problem is driving me crazy, it takes a full day of work.
Cannot Jdeveloper solve this simple use case.
Any help is highly appreciated
Edited by: 857800 may 18, 2011 23:46
Published by: 857800 on May 19, 2011 05:08OK, I tried your use case and well, I managed to do the work.
I don't know whether or not this behavior you're seeing is a mistake. We will, one of the Oracle who comment.
The problem you have is that you set the value "n" indicator in the set of lines, but do not save your work in the db (no commit). Then when you update the table and display the line (now with indicator = 'n') which does not clearly where clause in the VO. So the framework is not a football game the where clause with the cache lines.Now to the solution:
Remove the line that you just change the flag of "n" of the collection (which does not remove it from the DB) line went after the update of the table. It's still in the comic book, so get it if you run the query again.
You add in your method of hideRow() iterator.getCurrentRow (.removeFromCollection ()); } After the definition of the indicator to "n".
Resulting code:public String hideRow() { BindingContainer bindings = getBindings(); OperationBinding operationBinding = bindings.getOperationBinding("setCurrentRowWithKey"); Object result = operationBinding.execute(); DCBindingContainer dc = (DCBindingContainer)bindings; DCIteratorBinding iterator = (DCIteratorBinding)dc.findIteratorBinding("TestView1Iterator"); iterator.getCurrentRow().setAttribute("Flag", "N"); iterator.getCurrentRow().removeFromCollection(); // ViewObject vo = iterator.getViewObject(); // TestViewImpl testVO = (TestViewImpl)vo; // testVO.executeQuery(); AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance(); adfFacesContext.addPartialTarget(this.getMyTable()); return null; }
As you can see the executeQuery() is not necessary of not more that it will come to the line.
to get the rear linespublic String showAllHiddenRows() { // Add event code here... BindingContainer bindings = getBindings(); DCBindingContainer dc = (DCBindingContainer)bindings; DCIteratorBinding iterator = (DCIteratorBinding)dc.findIteratorBinding("TestView1Iterator"); ViewObject vo = iterator.getViewObject(); TestViewImpl testVO = (TestViewImpl)vo; // get all rows back testVO.executeQuery(); RowSetIterator rsi = testVO.createRowSetIterator(null); rsi.reset(); Row current; while (rsi.hasNext()) { current = rsi.next(); String id = current.getAttribute("Id").toString(); System.out.println("current flag " + current.getAttribute("Flag").toString() + " ID:"+id); current.setAttribute("Flag", "Y"); } rsi.closeRowSetIterator(); AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance(); adfFacesContext.addPartialTarget(this.getMyTable()); return null; }
Yet, I don't know if it will work in all circumstances (for example, you have 1000 + lines). It is up to you to test...
Timo
-
I spent over 5 hours in computer shares with AVG. They said your server messed up my email account. I can access my email account, but the line that reads "delete, move, not spam, more' loads ever... so I can't delete the email or anything else. My email account is to verizon yahoo. I need access to my email for various reasons, one of them being pay several bills online and my email account is where to get confirmation that the payment has gone through! My email works through IE, however. I don't want to use IE to see my email... I use Firefox for everything and it would be a pain in the end to have to switch to IE to access my mail. Not to mention, I hate IE - it's like using WEBTV! It's so slow... [address removed by email, please do not provide sensitive information in a public forum] is my email...
So Safe Mode made no difference?
To test how Firefox works no 'custom' on your system, could you experience in two minutes?
Create a new Firefox profile
A new profile will be your plugins installed by system (for example, Flash) and extensions (e.g., security suite toolbars), but no themes, other extensions or other customizations. It should also have databases of completely fresh settings and cool a cache folder.
Out of Firefox and start in profile to help Manager start > run:
firefox.exe -P
Do not delete anything here.
Any time want to switch profiles, exit Firefox and return to this dialog box.
Click on the button to create a profile, assign a name like TEST and skip the option to choose a different folder location. Then launch Firefox in the new profile that you have created.
Yahoo does not improve in the new profile?
When you return to the Profile Manager, you might be tempted to use the button Delete a profile on TEST. It's a little too easy to accidentally delete your 'real' profile, so I recommend you to resist the temptation. If you don't want to clean up later, I suggest to make a backup of all your profiles first in case something go wrong.
-
RowAlreadyDeletedException so that the line exists in the database
Hello
JDev 11.1.2.4
I put in place the mechanism to keep the current line on the restoration.
http://andrejusb.blogspot.ch/2013/03/ADF-rollback-and-keep-current-row.html
In a managed bean I call the restore operation, and if the restoreCurrentRow is called on all your.
The code is in the VOImpl database which all your runs from:
protected void restoreCurrentRow() {}
If (currentRowKey! = null) {}
_logger.fine ("START RESET CURRENT ROW");
_logger.info ("restoreCurrentRow" + this.getClass () + "" + currentRowKey + "" + this.getName ());
this.executeQuery (); < = RowAlreadyDeletedException thrown here
Key k = new Key (currentRowKey.getAttributeValues ());
[] Found line = this.findByKey (k, 1);
If (found! = null & & found.length == 1) {}
Line r = this.getRow (k);
this.setCurrentRow (r);
If (r! = null & & currentRowIndexInRange > = 0) {}
this.scrollRangeTo (r, currentRowIndexInRange);
}
}
_logger.fine ("FINISHING RESET CURRENT ROW");
}
currentRowKey = null;
}
For on VO, I get an RowAlreadyDeletedException exception:
< Utils > < buildFacesMessage > ADF: addition of the following JSF error: line entity with key oracle.jbo.Key [2044346 null] is not in VwWrkdclWrkTitle.
oracle.jbo.RowAlreadyDeletedException: Houston-25019: line entity with key oracle.jbo.Key [2044346 null] is not in VwWrkdclWrkTitle.
at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:875)
at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:552)
at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:8311)
at oracle.jbo.server.EntityImpl.populate(EntityImpl.java:6975)
at oracle.jbo.server.EntityImpl.merge(EntityImpl.java:7314)
at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1087)
at oracle.jbo.server.EntityCache.add(EntityCache.java:541)
at oracle.jbo.server.ViewRowStorage.entityCacheAdd(ViewRowStorage.java:3173)
at oracle.jbo.server.ViewRowImpl.entityCacheAdd(ViewRowImpl.java:3799)
at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:5913)
at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:3637)
at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:3492)
at oracle.jbo.server.QueryCollection.get(QueryCollection.java:2209)
at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:5125)
at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2961)
at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2817)
at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:3058)
at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2797)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1255)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1413)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1319)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1304)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:7211)
at org.xxx.common.model.adfbc.base.MyViewObjectImpl.restoreCurrentRow(MyViewObjectImpl.java:238)
at org.xxx.common.model.adfbc.base.MyViewObjectImpl.afterRollback(MyViewObjectImpl.java:230)
at oracle.jbo.server.DBTransactionImpl.rollback(DBTransactionImpl.java:2544)
at oracle.adf.model.bc4j.DCJboDataControl.rollbackTransaction(DCJboDataControl.java:1600)
VwWrkdclWrkTitle is a SQL view.
In the managed bean, I call a PL/SQL operation. PL/SQL commits the changes, and then I call the restore operation.
So I set a breakpoint after the operation of PL/SQL and test the SQL and I get a single record. Because the PL/SQL is committed, before restoring SQL must return the same as the restoreCurrentRow method.
I do not understand this RowAlreadyDeletedException exception because the line exists.
Thank you
I changed to a primary key that is never zero, and it works. Seems to be a bug in the ADF.
-
I have problems connecting with adobe catalyst in program adobe muse. A pop-up window appears saying that "access to adobe ID has expired. Check your connection and try again later. I checked my internet and everything works fine. Can someone help me with this?
Hello
Please try the steps in the following thread
-
How to access all the lines one by one, a table ADF via managed bean
Hi Experts,
Hi I'm new in the ADF.
Could someone help me to fix the case below?
Scenario - I have a table called Test_T1 that have 4 columns C1, C2, C3, C4. Creation of EO, VO and AM for test_t1.
When created in pages ADF, I selected the option "automatically exposed components UI in new managed bean" (mynewmanagedbean.java).
Control data drag and drop Test_T1 table in the page as a table of the ADF.
Set the properties is read-only C1, C2, C3 and C4 is an input text.
Add after the table and attathed button action on the mynewmanagedbean.java bean managed.
At the time of the Test_T1 page filled with a few No.. lines (such as 9).
How can I access all the lines above through the key without selection of these.
In fact, I want to print all the rows of the table in the log at the time to press the button.
Thanks in advance.Sorry for the delay, the code was copied from another test case. You can work directly with the line...
I created a new test case based on the departments of the HR schema table:import oracle.adf.model.BindingContext; import oracle.adf.model.bean.DCDataRow; import oracle.adf.model.binding.DCBindingContainer; import oracle.adf.model.binding.DCIteratorBinding; import oracle.adf.share.logging.ADFLogger; import oracle.jbo.Row; public class DumpRows { private static ADFLogger _logger = ADFLogger.createADFLogger(DumpRows.class); public DumpRows() { } public String cb3_action() { DCBindingContainer bindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry(); DCIteratorBinding dcIteratorBindings = bindings.findIteratorBinding("DepartmentsView1Iterator"); // Get all the rows of a iterator Row[] rows = dcIteratorBindings.getAllRowsInRange(); for (Row row : rows) { String depname = (String)row.getAttribute("DepartmentName"); _logger.info(depname); } return null; } }
As you do not have the class of line interface build you must get the attributes in their names. Be careful here, because any misspelling is cought only when you run the application.
Timo
-
Disable access to the lines calculated in 11.1.2
Hello
I use a v11.1.2 of EPMA planning application using calculation Manager to create the business rule.
In fact, I have a very simple request to disable (write) access to the cells, calculated by the business rule.
This option is automatically made to the calculated by the formula of Member members. is it possible to do for calculated members by business rules rather than derivative of the cell by the validation rule.
Thanks in advance.If you have a member that you want to write in a form a reading in there, you have a few options:
(1) set the line or column must be set to read-only - in order to mix it with the accessible elements in writing, you must configure a separate section.
2) there is an option to set an entire form read-only.
(3) finally well advised against it, you could do a dynamic account which was equivalent to the other account - no real need to do so - you should doe #1.Kind regards
John A. Booth
http://www.metavero.com -
I want a user to be able to set day/remove the lines that they inserted
Hi guys,.
I have a table 2 inserting users. They can also change/remove lines in the table. However, I don't want them to be able to set day/remove other ranks of users. I just want that they have update/remove at the level of the line.
How can this be achieved?
Thank youI don't think that Oracle Label Security would be as good as opions as just using row-level security, RLS, also say Fine Gain Access Control, FGAC, just in this case. Private virtual database, CAE, has been mentioned, but Oracle defines EVP as RLS more Oracle contexts so use, technically, all that is necessary if only the user column pseudo-device is used to apply the predicate checking is RLS. From a practical point of view, there is no real difference, but Oracle made the distinction in the manual.
IMHO - Mark D Powell-
-
The line to type under the tabs disappeared. How can I get that back?
The line under the tabs - where I could type in a question, view the address of the web site or web site is missing. How can I get that back?
Hi WriteGirl,
You can click View > toolbars > and check "Bar of Navigation" to get this back bar.
-
I can't create a shortcut to the site on my desktop, when I click on the url bar I can drag on the browser to open a new, but as I drag him on my desktop I get the circle with the line through it, one that looks like a no entry sign. Help
Try to drag the image to id web site (favicon) on the left side of the address bar, instead of the URL.
-
I have a computer running windows vista that Ive had on the line running on the line with professional Xp but it seems that I can't find a compatible driver for the audio device. Ant suggestions? The Pc has a legacy, it's a Compaq laptop
Hi morningstar410,-What is the brand and model of your laptop? Specify the same thing to help us find the right audio driver for you.-For which version of the operating system you are looking for the driver?Visit the following link and check if you download the drivers here:In the meantime, follow the three steps solution given in the link below and see if this helps you.
Keep me updated on the status of the issue.
Maybe you are looking for
-
How to disable 'Hit and run' on Toshiba Satellite
I can't find the touch and launch on my Satellite. I think it is boring. I have it disabled, but he insists on the execution of a task in the system tray telling me that he's disabled. I like a tidy taskbar neat without unnecessary icons, and this al
-
can we build SP1 AND SP2 in a Vista image file and burn it to a single DVD?
can we build SP1 AND SP2 in a Vista image file and burn it to a single DVD?
-
Problem with the installation of Visual Studio 2010 Express on Window XP 10 MS.
I tired to install MS Visual Studio Express from 2012 on window XP with SP3 with all updates to date. But it fails with exit code 1602. Please help solve this problem. Some components (redistributable) in Visual C++ 2005, 2008 and 2010 are already in
-
HP LASERJET P3015: CHANGE MY DEFAULT TRAY and the PAPER WEIGHT
MY DEFAULT PRINTER IS TRAY 1 AND I NEED TO CHANGE IT TO TRAY 2 AND THE WEIGHT OF THE PAPER IS AT LOURDES AND I NEED TO BE AT STANDARD, HOW TO MAKE THESE CHANGES?
-
Ripple Packager - where he went?
One of the most exciting things that I learned at the DevCon was that I could use ripple to the package and sign my Tablet OS application. It is documented here: https://bdsc.webapps.BlackBerry.com/HTML5/documentation/ww_developing/packaging_your_app