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

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.

  • 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,

  • 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 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.

  • Dynamically Binding to Dynamically Create View

    I tried to copy the code of “Dynamically Binding to Dynamically Create View object” but something is wrong because when I am debbuging it doesn’t work after the sentence vo.executeQuery();
    I suspect that the reason could be how I created the view..
    Your code is running well but not mine.
    It shows this error
    •     JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    •     null
    I don’t know why because the code is the same.
    How did you create the objet view ?
    Could you help me?

    I'd recommend checking out this article on Debugging ADF Applications:
    http://www.oracle.com/technology/products/jdev/tips/muench/debugger/index.html
    and then reporting here the full stack trace using the tips described in that article.

  • 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

  • Feild assignment not yet been made

    Dear SD Gurus,
    Whenever i try to create an access sequence with standard table such as 004 and 005 and assign it to a access. I get following error in Yellow saying "<b>Feild assignment not yet been made</b>". I am trying to create a pricing for an item. Your help will be greatly appreciated. Thank you! in advance.
    Cheers
    Raji

    Hi,
    When you are trying to create new access sequence with standard condition tables you should follow the step wise procedure.
    1. Check the required condition tables available in T.Code V/04 ( Change)
    2. If required condition tables are not avaibale -ceate the table using T.code v/03(create)
    3. Go to access sequence ( v/07)
    4.give the naming for new access sequence
    5. add the table in access
    6. select the table entered in the access sequnce
    7. finally go to fields tab and check all the tables belongs to condition tables are available.
    then save it.
    regards,
    Naveen Duggineni

  • Sequence :   .CURRVAL is not yet defined in this session

    Hi ,
    I had created a sequence with the name 'myseq' and used next function to retrieve the value.
    But when used currval function
    I am getting the following error:
    sequence MYSEQ.CURRVAL is not yet defined in this session

    898763 wrote:
    Hi ,
    I had created a sequence with the name 'myseq' and used next function to retrieve the value.
    But when used currval function
    I am getting the following error:
    sequence MYSEQ.CURRVAL is not yet defined in this sessionYou don't need currval. The typical scenario is either to use the sequence value and store it in a variable. Then reuse this variable. Or better insert into a table that has a db trigger that fills the ID column from the sequence. In the latter case you would use the returning clause to fetch the new ID value.
    example pl/sql code
    declare
      v_empno ename%empno%type;
    begin
      /* the empno column is filled by a DB-Trigger from a seqeunce */
      insert into emp (ename)
      values ('Ellison')
      returning empno into v_empno;
      /* do more stuff here, using the variable v_empno */
    end;
    /

  • Dynamically binding VO Parameter from Context Switcher

    Hi guys,
    I am using ADF JSF and BC, and I have a situation here which is:
    1) My JSF page has a panel page component, inside it is a navigable form referencing a View Object.
    2) In the contextSwitcher facet of this PanelPage, i have a SelectInputText which points to a "Globals" VO, having only one row ever (similar to SRDemo)
    3) When the LOV returns value to this field, i must re-bind the navigable form VO Query to this value, and the form must show the first record of the NEW rowset.
    The solution i am writing uses a ValueChangeListener on the SelectInputText, which runs an Application Module method that gets the value from the Globals VO and re-runs the query using "vo.setWhereClause" and "vo.executeQuery".
    However, even though i debug the application and see the query being executed, the form shows strange behavior, as the page then re-runs the query, but swaps the first row of the new rowset with the row currently displayed. For example, suppose that i am seeing row "X" on the page and select a value from the LOV. The new execution fetches rows "Y" and "Z" from DB. When i scroll the page, i see that the first record is "X" again, followed by "Z"!
    Do you have any idea of what could be the problem? Maybe a form clearance issue with ADF? Or i shouldn't be using dynamic binding with UPDATEABLE fields on the page, only when i use READ-ONLY fields?
    Thanks a lot, and regards!
    Thiago

    Thiago,
    you are not showing any of your code and I can only assume that this is a coding problem of yours.
    Frank

  • Dynamic bind parameters failure

    Hi
    Ive dynamically bind parameters in view object
    JHeadstart 10.1.2.0 (build 19). The data is getting bind. But with the following error. Kindly help me.
    regards
    Jayashri
    17:30:42 DEBUG (JhsDataAction) -ViewObject programView1: value of bind param 0 set to 04
    17:30:42 DEBUG (JhsDataAction) -ViewObject programView1: value of bind param 1 set to BORE
    17:30:42 DEBUG (JhsDataAction) -ViewObject programView1: executing query, bind parameter values have changed
    05/04/01 17:30:43 java.sql.SQLException: Missing IN or OUT parameter at index:: 1
    05/04/01 17:30:43      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
    05/04/01 17:30:43      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
    05/04/01 17:30:43      at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1552)
    05/04/01 17:30:43      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2896)
    05/04/01 17:30:43      at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2942)
    05/04/01 17:30:43      at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:691)
    05/04/01 17:30:43      at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:547)
    05/04/01 17:30:43      at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3422)
    05/04/01 17:30:43      at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:663)
    05/04/01 17:30:43      at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:769)
    05/04/01 17:30:43      at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:706)
    05/04/01 17:30:43      at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3361)
    05/04/01 17:30:43      at oracle.adf.model.bc4j.DCJboDataControl.executeIteratorBindingIfNeeded(DCJboDataControl.java:803)
    05/04/01 17:30:43      at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIteratorBinding.java:1587)
    05/04/01 17:30:43      at oracle.adf.model.binding.DCBindingContainer.refreshControl(DCBindingContainer.java:1544)
    05/04/01 17:30:43      at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.applyIterBindParams(JhsDataAction.java:2785)
    05/04/01 17:30:43      at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.prepareModel(JhsDataAction.java:3136)
    05/04/01 17:30:43      at oracle.adf.controller.struts.actions.DataAction.prepareModel(DataAction.java:486)
    05/04/01 17:30:43      at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:105)
    05/04/01 17:30:43      at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
    05/04/01 17:30:43      at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.handleLifecycle(JhsDataAction.java:389)
    05/04/01 17:30:43      at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
    05/04/01 17:30:43      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    05/04/01 17:30:43      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    05/04/01 17:30:43      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    05/04/01 17:30:43      at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
    05/04/01 17:30:43      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
    05/04/01 17:30:43      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    05/04/01 17:30:43      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    05/04/01 17:30:43      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    05/04/01 17:30:43      at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    05/04/01 17:30:43      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
    05/04/01 17:30:43      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    05/04/01 17:30:43      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
    05/04/01 17:30:43      at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
    05/04/01 17:30:43      at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
    05/04/01 17:30:43      at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
    05/04/01 17:30:43      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
    05/04/01 17:30:43      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    05/04/01 17:30:43      at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
    05/04/01 17:30:43      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
    05/04/01 17:30:43      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    05/04/01 17:30:43      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    05/04/01 17:30:43      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    05/04/01 17:30:43      at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    05/04/01 17:30:43      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
    05/04/01 17:30:43      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    05/04/01 17:30:43      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
    05/04/01 17:30:43      at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
    05/04/01 17:30:43      at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
    05/04/01 17:30:43      at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
    05/04/01 17:30:43      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
    05/04/01 17:30:43      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    05/04/01 17:30:43      at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
    05/04/01 17:30:43      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
    05/04/01 17:30:43      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    05/04/01 17:30:43      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    05/04/01 17:30:43      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    05/04/01 17:30:43      at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    05/04/01 17:30:43      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    05/04/01 17:30:43      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
    05/04/01 17:30:43      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    05/04/01 17:30:43      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
    05/04/01 17:30:43      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    05/04/01 17:30:44      at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:172)
    05/04/01 17:30:44      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
    05/04/01 17:30:44      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    17:30:44 DEBUG (JhsDataAction) -ViewObject programView1: bind parameter values have not changed
    05/04/01 17:30:44      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    05/04/01 17:30:44      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    05/04/01 17:30:44      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    05/04/01 17:30:44      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    05/04/01 17:30:44      at java.lang.Thread.run(Thread.java:534)

    Hi Stevan
    I'm using JSP.
    Ive used request parameters for binding in the where clause {app_cycle=:1 and college_code='MICH'}in application structure i gave ${param.appcycle},${param.collegecode} , which the page is loaded successfully. Dont know how did that error got cleared. Anyway now session is the problem.
    I want to use session and not request parameters.
    How to achieve this. I dont understand the help give in the query bind parameters tab in application structure file. It says ${MyObject.MyParameter}
    in Jsp session is the object. Assuming that i gave ${session.appcyle} where appcycle is the parameter which holds the value. But it didnt work
    Kindly help on this.
    regards
    Jayashri
    regards
    Jayashri

  • Dynamically binding backing bean

    Dynamic binding of backing bean
    Here is a problem that I have been trying to solve. Maybe someone can have a go at it:
    Here is a Search form(Simplified version):
    af:selectOneChoice - to choice a 'class family' e.g., companies, NGO, charity, institution etc
    af:inputText - to enter a name
    af:commandButton – to search
    Here is a User task:
    1.     Choose a 'class family' from the selectOneChoice
    2.     Enter a name in inputText
    3.     Click commandButton to start the search
    Additional information
    1. The number of 'class family' is about 30 and requires different method of search.
    2. I want to use a uniform search user interface and so there is only one page for all.
    3. Each 'class family' has it own managed bean in face-config.xml.
    Scenario:
    Lets say the searchUI.jsp has an initial backing bean called SearchBean.java. The af:selectOneChoice in searchUI.jsp has a valueChangeListener and when the user chooses a 'class family' at step (1), the valueChangeListener in SearchBean.java is triggered.
    Problem:
    The problem is how do I dynamically switch the backing beans, say from SearchBean.java to SearchCompanyBean.java so that when the user next click the search commandButton, it is the searchAction method in the SearchCompanyBean.java and NOT the initial SearchBean.java that handles the action.
    Cheers in advance.

    Hi,
    Assuming you are using ADF BC, have a look at using view criteria. You can define, dynamically apply and remove view criteria on the view object.
    Have a look at the help on oracle.jbo.ViewCriteria and applyViewCriteria from the ViewObject implementation class. Sounds like they might meet your requirements.
    Create a client method on your VO and drag it onto your page as an ADF parameter form and go from there.
    Brenden

  • Dynamic Binding on BC4J bound UIX forms

    Hi
    I'm attempting to use Dynamic Binding in my ADF UIX forms to determine whether to render certain fields on a form depending on the data in the current row.
    Now, I completely understand how to bind the rendered="" attribute with a bound value determined by a static accessor to a bean, but the problem I am having is how to access the current row from my BC4J appModule.
    The datascope beans only have access to the RenderingContext in the following manner:
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <data name="generic">
    <method class="com.xxx.eim.tools.SetupFormDataBinder" method="getSetupState"/>
    </data>
    </provider>
    The accessor:
    public class SetupFormDataBinder {
    static public Object getSetupState ( RenderingContext context
    , String namespace
    , String name
    return new SetupFormBean(context);
    which calls my bean.
    But, the RenderingContext class does not seem to offer any accessors to the BC4J Configuration or similar.
    So, how can I get to the data in the background...
    Or, is this a poor way of doing it.... Can anyone offer any suggestions???
    Cheers
    Chris

    You should scope your application module before entering dataScope:
            <bc4j:rootAppModuleScope name="EhiskommAM">
              <contents>
                <dataScope>
                   <provider>
                      <data name="someData">
                        <method class="test.Test" method="getData"/>
                      </data>
                   </provider>
                   <contents>
                   </contents>
                </dataScope>
              </contents>
            </bc4j:rootAppModuleScope>And remember to add app. module to the page definitions:
    <page ....>
      <bc4j:registryDef>
        <bc4j:rootAppModuleDef name="AppModule" definition="test.AppModule" releaseMode="stateful">
        </bc4j:rootAppModuleDef>
      </bc4j:registryDef>
    </page>
    Alexey.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Valuation area not yet productive with material ledger

    While doing goods receipt at MB1C,i got the below error:
    The description of the error is given below
    Valuation area XXX2 not yet productive with material ledger
    Message no. C+020
    Diagnosis
    The material ledger has been activated for the valuation area but material data has not yet been converted in this valuation area.
    Procedure for System Administration
    If you want to work with the material ledger, choose Accounting -> Controlling -> Actual Costing/Material Ledger -> Utilities -> Production Startup.
    There you can convert the data for the material ledger by following the instructions in the online documentation.
    Note
    Setting the material ledger to productive cannot be undone.
    See also:
    Actual Costing/Material Ledger in the SAP Library.
    The implementation guide for Actual Costing/Material Ledger.
    Can you kindly suggest me how to fix this error.
    Regards
    Sabera

    Hi Sabera,
    The Valuation Area is not activated for your material ledger. Go to SAP Access>>Accounting>>Controlling>>product cost controlling>>Actual Costing>>environment>>Production Start up>>Set Valuation area as productive.
    If you already activated Valution area in to Productive Statge.
    Then go to T.Code OMX1 and for your valuation area XXX2 tick the ML activation box.
    the error wont come
    regards
    srikanth

Maybe you are looking for

  • Make oracle database case insensitive

    Hi All, I am using oracle 10g EE as my back end database and front end is in C# .NET. I want to make my oracle database to perform any comparison case insensitively. I searched on the net and found several ways to achieve that 1. using upper function

  • Ongoing iPod 30GB Problem

    I am currently on my third 30GB iPod with color display. I have had an ongoing problem with them since I got my first one in mid June of last year, after 'X' period of time listening to music (varies from weeks to many months) the iPod will begin to

  • ICloud mail settings not saved in System Preferences on Mountain Lion

    I note that iCloud mail settings not saved in System Preferences on Mountain Lion even if I tick mail in Icloud then close system preferences then open system preferences and it is untiked again? Does anyone know how to fix this? Cheers Paul

  • DOCUMENTING SELECT STATEMENT

    Hi All, I been working with databases (ORACLE, MSSQLSERVER, SQLANYWARE) for last couple of years. SELECT statement comes into picture very frequently. But yet I am unable to find any template, tool or hint to document the SELECT statement, so that ot

  • Essbase Excel add in compatibility

    Hi there is the Exel addin for Essbase in Version 11 compatible with Office 2010? we are rolling out Office this year but are currently only using the essbase version 7 add in