Not Yet Documented ADF Sample Applications #113.Apply Bind Varible Val @11g

Hi ,
I am trying to apply this to 11g but I am facing some weird issues. I am using an editable inline detail table and when I edit a row and refresh the page it adds a new row with the updated value to the table.
Should I use a different way to Apply Bind Varible Values to Filter View Link Accessor RowSets in 11g ?
113.Apply Bind Varible Values to Filter View Link Accessor RowSets
Thanks

Hi Frank,
Would really apprecaite your feedback and Muhammad has same issue and he is
trying work around for this issue using view accessor.
I read your wonderful blog everytime, I am stuck in problem , I would appreciate ,if you can give me answer to my issue.
Let us consider : Item , SubItem relationship.
Component : Item VO , SubItemVO , Item can have many subitem.
1.Created ItemVO
2.Create SubItemVO
3.Create View Link based on ItemVo-ItemId that is FK in SubItem table.
4.Created JSF page and Dragged ItemVO from Datacontrol to JSF Pagen as ADF ReadOnly Table.
5.Expanded Item table structure in Structure window and open the detailstamp.
6.Dragged SubItemVO in detailstamp as ADF ReadOnly table.
Expected Result :
1. ItemVO First Row
1.SubItems belonging to ITEMVO First Row
2.SubItems belonging to ITEMVO First Row
2.ItemVO Second Row.
1.SubItems belonging to ITEMVO Second Row
Current Result :
1. ItemVO First Row
1.SubItems belonging to ITEMVO First Row
2.SubItems belonging to ITEMVO First Row
2.ItemVO Second Row.
1.SubItems belonging to ITEMVO First Row
2.SubItems belonging to ITEMVO First Row
Description: Second ItemVO when expanded shows first ItemVO SUBITEMS.
Thanks,

Similar Messages

  • Not Yet Documented ADF Sample Applications download link not working

    Steve Muench Not Yet Documented ADF Sample Applications located at http://blogs.oracle.com/smuenchadf/examples/
    The download link for the samples does not work. It directs us to Oracle JDeveloper Products Page instead.
    Clicking on the title of any sample application used to enable the download of the sample file. Now it points to http://www.oracle.com/technetwork/developer-tools/jdev/overview/index.html
    Is there an alternative way to download the sample applications?
    Thanks in advance for your help.
    Mitesh

    Unfortunately the link https://smuenchadf.samplecode.oracle.com/samples does not work. It gives message URL is not valid.
    Your samples are a very important source of reference for us. Hopefully all the samples can be migrated to the new site soon.
    I am using JDev 11.1.1.2. I am using editable checkboxes is a table with RowSelection = Single. When I click on a selectBooleanCheckbox on a different row other than the current table row, the checkbox value changes at first but immediately reverts back to the previous state. It works fine so long as I remain on current row of the table. If I turn RowSelection off then I don't face this issue.
    For information, I wanted to take a look at your sample 145. Using a CheckBox in an Editable Table with Boolean/Button Binding.
    Thank you for your help.
    Mitesh.

  • Cannot download Not Yet Documented ADF Sample Applications

    Hi:
    I am having problems to download the examples in this page:
    http://blogs.oracle.com/smuenchadf/examples/
    When clicking on a link to download a sample I get asked my user name and password and after that I get an internal server error:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    I've asked some colleagues to try the procedure to see if it is a problem with my account, but they get the same result, we are all Oracle employees.
    Regards,
    Cesar

    hi Cesar
    I must say that the RestoreCurrentRowAfterRollback.zip file I downloaded looks a little strange
    see http://www.consideringred.com/files/oracle/img/2011/RestoreCurrentRowAfterRollback-zip-20110118.png
    It is a ZIP file with one single file inside it "RestoreCurrentRowAfterRollback" (no extension) which seems to be a ZIP file (add ".zip" extension).
    success
    Jan

  • Not Yet Documented ADF Ex 9 Dynamically Binding to Dynamically Created View

    I have dynamically created a View Object and would like to build a dynamic HTML Table on a web page based upon my view. I think something similar is done in Steve Muench's sample #9. My problem is I am new to ADF and the example was done in an earlier version of JDev (I am using 10.1.3.0.4) and the JSP page in the example will not compile. I get an error at:
    <textarea style="width: 100%" name="sql" rows="3" ><c:out value="${param.sql}"/></textarea><br>
    Saying required param "cols" is missing. I also get a nesting error in this code:
    <tr>
    <c:forEach var="attributeLabel" items="${bindings.DynamicViewObject.labelSet}">
    <th>
    because (I think) the compiler expects a </tr> and it is seeing the <c:forEach var="attributeLabel"> tag.
    Is there a setting in JDeveloper I can use to allow this application to compile? Is there a similar example done in JSF as that is what my current application is being developed using.
    TIA,
    Jeff

    Any help on this? Kind of Urgent...
    Thanks,
    Jeff

  • Not Yet Documented Array Example as JSP doesn't work.

    Example:
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
    Steve, in the Not yet documented examples, you have an Array of String Domain Example. We tried to modify this to create a simple struts flow that sets up the view with some parameters and then shows a datapage of the results.
    When run in batch mode, you get:
    Validation Error
    You must correct the following error(s) before proceeding:
    JBO-28302: Piggyback write error
    oracle.sql.CharacterSet1Byte
    JBO-29000: Unexpected exception caught: oracle.jbo.InvalidOperException, msg=JBO-25063: Operation getCurrentRowSlot cannot be performed because the working set object is not bound.
    JBO-25063: Operation getCurrentRowSlot cannot be performed because the working set object is not bound.
    the 28302 and 25063 errors are undocumented.
    If you switch to Immediate mode, it works.
    Similarly, we tried to use a numeric Array in our current project to filter a view of records to a specific client list (client and his associations). The view renders OK the first time, but when you click a setCurrentRowWithKey hyperlink, the view ends up getting "refreshed" so that our JSTL expressions that point back to this "master page" bindings, i.e. ${data.MasterPageUIModel.ViewPfRptsDueView1} show incorrect data.
    Normally, if you drop a view object on the page, and have a setCurrentRowWithKey, then navigate to a detail set, it RETAINS the row selected when you return to this view. Without changing ANYTHING else, other than the where clause to read: client_id in (' || my_client_list ||')', it worked perfectly. It also worked perfectly if we switched our sync mode to: Immediate instead of batch.
    Can you/anyone elaborate why it works in one mode and not in another?

    Repost.
    Here's a section of the batch mode bc4j.log:
    [221] Array.getInternalArray(281) Warning:No element type set on this array. Assuming java.lang.Object.
    [222] RuntimeViewRowSetIteratorInfo.rangeRefreshed(1266) [RangeRefreshEvent: EmpArrayView1 start=0 count=3]
    [223] Diagnostic.printStackTrace(405) java.io.NotSerializableException: oracle.sql.CharacterSet1Byte
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    =====> at oracle.jbo.domain.Array.writeObject(Array.java:748)
    ... [ much removed ] ...
    NOTE [221] and [223].
    It appears to work in batch mode, if you make a call to the array method: useElementType, i.e.
    arr = new Array(descriptor,conn,names);
    arr.useElementType( java.lang.String.class);
    However, this method appears to be written incorrectly. IF I just change the array.java useElementType method to read:
    public void useElementType( Class claz )
    if ( mElemType == null )
    mElemType = claz;
    instead of:
    public void useElementType(Class claz)
    if (mElemType != null)
    mElemType = claz;
    it works.
    I'm just trying to get some closure on this.

  • According your advice reset my home screen layout but not yet show apple store application and another question when I any thing brows from apple site by safari then show "this address is invalided" please advice me......

    According your advice reset my home screen layout but not yet show apple store application and another question when I any thing brows from apple site by safari then show "this address is invalided" please advice me......

    I am using windows Vista and having this problem also (not exactly, but iTunes gives pop-up that "files are in use"). Acting a suggestion from another answer in this thread, I clicked on Computer and selected eject...windows did warn me that the device was in use, but also gave me a CONTINUE button, which I clicked and it was ejected...had to go back to iTunes and eject the iPod there also, but it did eject

  • Where can I access a version 5 download? Version 6 is not yet compatible with an application I use for school.

    Is there a version 5 download available on the website? Version 6 is not yet compatible with an application I use for school.

    I think this link will work:
    ''moderator deleted a hyperlink to an unsupported version''
    I suggest, that while Mozilla is on a "rush to release updates faster than fixing bugs" kick, NO ONE should have "automatic updates" on. Go into "tools" and turn off that option, and NEVER agree to accept an update unless you know that things have been made compatible and that the bugs have been ironed out.
    It's also wrong of them to release NON-beta copies, automatically, which cause incompatibility, every few weeks. That should only happen every year or two.
    We need to ban together and quit installing their updates until they quit rushing them out too quickly.

  • Where to get ADF Sample Applications with Documentation.

    Hi All,
    I am new to ADF.I have followed oracle tutorials to learn ADF.
    Now I am looking for some sample applications with documentation so I can build some applications in ADF.I did one procurement application using following link.
    http://www.scribd.com/doc/13088674/Oracle-ADF-11g-Learning-Application-My-Procurement-Application
    Also I got one more application from Baig's Blog.But documentation is not there.
    http://baigsorcl.blogspot.com/2010/07/sample-code-quiz-application-in-oracle.html
    I will be very thankful if you provide me the documentation of Baig's application or some other applications with documentation.
    Regards,
    SHD

    Hi SHD,
    U can find some samples and their documentions here http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html
    But learning the basics u can go through the developer guide and some hands on Application
    Ref : http://www.oracle.com/technetwork/developer-tools/adf/overview/index.html
    U can start ur learning here http://www.oracle.com/technetwork/developer-tools/jdev/overview/jdeveloper-reviewrguide-086026.html
    Developer Guide : http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/toc.htm
    make use the links below
    http://www.oracle.com/technetwork/developer-tools/jdev/overview/index-100269.html#adf
    http://www.oracle.com/technetwork/developer-tools/jdev/index-087798.html
    http://www.oracle.com/technetwork/developer-tools/jdev/viewlet-097827.html#adf
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html#adf
    Regards,
    Suganth.G

  • The data from a table of a database are not retrieved in ADF BC Application

    I have two separate ADF BC applications. Each application retrieve
    the data from the same scheme of a database. Both applications work
    well when I launch them under embedded OC4J. I have deployed
    these applications to a standalone OC4J. When I launch one application,
    the data from a database's table are retrieved. When I launch the other
    application, the data from a database's table are not retrieved. Why? Please,
    help me.

    Any error message ?
    Frank

  • Images do not display in Acmevideo sample application WebApp_8i.jws

    Hello,
    The JDeveloper 3 Acmevideo web application for Oracle8i is a nice-looking web application.
    There is a syntax fault in the Java source files WebAppReports.java, WebApp.java of the JDeveloper 3 workspace WebApp_8i.jws
    In the file acmevideo_deploy.properties I used something like this:
    ...imageURL=http://oashost:80/acmeimages/...
    All occurrences of "/topmovie.gif", "/onoracle.gif","/filmsquare.gif" in the java source files WebAppReports.java, WebApp.java should be replaced by "topmovie.gif","onoracle.gif","filmsquare.gif". Otherwise these images will not display correctly in the web application.
    I would like to know when Oracle will provide a tutorial on servlet deployment of the acmevideo web application to Oracle Application Server.
    I understand that by providng a Java Webserver servlet deployment example the JDeveloper customer is not dependent on Oracle Application Server as web server.
    How to deploy the acmevideo servlet to Oracle Application Server 4.0.8.1?
    Thank you in advance for your reaction,
    Erik Martens
    null

    Hi Erik,
    For our next release, we are actually removing the Acme Video sample application. It will be replaced with the Web Auctions demo, which was used at the most recent Oracle Open World conference.
    Instructions for deploying DBServlets to OAS 4.0.8.1 are included in the JDeveloper 3.0 release notes.
    Laura
    null

  • Data Source - Alias Not Found in SDK Sample Application VIDS

    Hi,
    I am trying to run SDK sample application VIDS.
    In the function, BindDataToForm, I am getting error at line:
    oColumn = oColumns.Item("CardCode")
    oColumn.DataBind.SetBound(True, "@VIDS", "U_CARDCODE")
    The error is: Data Source - Alias Not Found
    I have checked that the user tables and the fields in the user tables are correct.
    What can be the issue?
    Thanks.

    Hi Rajesh,
    Works just fine for me.
    Double check that you've created the userfields. You must press the button create user fields before attempting to use the sample.
    Best regards,
    Pedro Magueija

  • Steve Muench ADF Sample Applications Empty

    Not sure if this is the right place to post this, but does anyone else have an issue with retrieving any of Steve's sample applications? I am able to get the zip file, but they are all empty and I get an error saying the zip file is corrupt.
    I desperately need his Example #1 https://smuenchadf.samplecode.oracle.com/samples/ArrayOfStringDomain.zip
    Thanks!
    Edited by: JoeScheirich on Nov 29, 2010 1:51 PM

    Weird. I have tried this on two different computers on two different networks with the same issue. Very frustrating as I really need that zip file.
    5 points for the first person that posts and emails it to me at [email protected]
    Thank you

  • ADF Sample application

    Hi ,
    I have to deploy some working samples for Jdeveloper ADF demo.
    I am trying to use these samples : http://java.net/projects/smuenchadf/pages/ADFSamplesADFFacesUIComponents#UI_Components ;
    When I download some of these samples I have the source code. To deploy them on WebLogic Server I need .war or .ear file .
    I try to build them on Jdeveloper. I download and install the latest 11g Release 2 with ADF.
    When I import the the project (successfully) I use the deploy option. First I create deployment profile and then EAR -file but i receive the following error :
    [11:08:28 AM] Deployment cancelled.
    [11:08:28 AM] ---- Deployment incomplete ----.
    [11:08:28 AM] == ERROR: No Java EE modules detected in EAR archive. Deployment aborted. == (oracle.jdevimpl.deploy.ear.WeblogicAssembler)
    Is there any tutorial with step by step description how to deploy these samples on weblogic server and to have this application running ?

    Thanks for the help !
    Now I receive the error with JDBC . I have running oracle instance but I don't know how to connect jdeveloper with this instance .
    This is the error I receive :
    <25-Feb-2013 12:54:27 o'clock CET> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "ApplicationDB": IO Error: The Network Adapter could not establish the connection>
    <25-Feb-2013 12:54:28 o'clock CET> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1361793266982' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:302)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: IO Error: The Network Adapter could not establish the connection
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:276)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1166)
         at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:249)
         at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1154)
         Truncated. see log file for complete stacktrace
    >
    <25-Feb-2013 12:54:29 o'clock CET> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Application5_application1'.>
    <25-Feb-2013 12:54:29 o'clock CET> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:302)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: IO Error: The Network Adapter could not establish the connection
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:276)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1166)
         at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:249)
         at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1154)
         Truncated. see log file for complete stacktrace

  • Where are steves "not yet documented example file"

    hello
    i am tryin go test some of the examples that are demonstrated in http://blogs.oracle.com/smuenchadf/resource/examples page
    One of them for example is #113. It URL is broken as are all other examples that i have tried (http://java.net/projects/smuenchadf/sources/samples/content/BindVariablesAppliedToDetail.zip)
    where can i find them please
    m. bani yanseen

    mohammad,
    I know that Oracle is in the process of migrating stuff from samplecode.oracle.com to the java.net infrastructure - apparently those haven't been moved yet, but the links are pointing to where they should eventually end up.
    John

  • Can't download file from Steve Muench not yet documented examples

    I'm trying to download example 64 - Recalc Sum of Salary at the view object level but the link is broken? Can someone provide me the file?
    Thanks.

    Thanks for reporting the issue. We have been able to reproduce it at our end and shall let you know when this gets fixed in one of the future releases.
    Thanks,
    Adobe Reader Team

Maybe you are looking for