Duplicate top level entries in Data Control Palette

Hi
I'm not sure when this happened, but I have just discovered that my local facade is now appearing twice in the Data Control Palette.
Anyone know why this should be?
I have made a stab in the dark and checked the DataControls.dcx and similar files in the model project, there only appear to be one reference there.
Tom

When you create DataControl from SessionBean parser
goes through that Bean and adds in interface all the
methods that have different signatures. Only if you
use refactoring from the pallete when renaming the
method signature from session bean method in the
interface will be refactored too. That's all. I don't
think it is a bug, but I agree that it could be
solved in better way.
Regards.Are you saying that if you don't use refactoring to alter a methods name or arguments then when the Create Data Controls is run it simply looks for new method signatures, ie the name and argument as one, and adds those?
If this is the case, then surely it should remove ones that no longer exist, ie the old one, thus there would still only be one definition. At the end of the day, manually altering a methods name or argument list is surely no different to using refactoring.
As has been pointed out if you chose to alter the name/arguments manually unless the interface and class method names/arguments match compilation would fail anyway.
Tom

Similar Messages

  • Nested AMs in Data Control Palette

    Hi,
    I have configured a root application module "RootAM" and a nested application module "NestedAM" in my data model. The Data Control Palette shows two top nodes for both AMs. The RootAM contains a childnode "NestedAM".
    + RootAM
    ---+ NestedAM
    ------+ NestedVO
    + NestedAM
    ---+ NestedVO
    When using the childnode "NestedAM" and its VOs in my bindings everthing works fine. But when using the top level node "NestedAM" and its VOs I get some strange behaviour accessing data. The VOs act as they belong to a different transaction/application.
    My Questions are:
    1.) Why does the Data Control Palette provide nested AMs as top level AMs? Using those AMs leads to some unexpected results.
    2.)
    The NestedAM depends on the RootAM. Why can it act as independent AM when using the top level node "NestedAM"?
    3.)
    How many instances of the NestedAM exist when I use both 'versions' (top level node and childnode) in my bindings?
    Thanks for your comments,
    Markus

    Markus,
    Good questions.
    Any ADF Application Module can be both a top-level service, as well as nested as a reusable component inside another application module.
    For the sake of argumet, let's call our two application modules AM1 and AM2.
    If you nest/reuse an instance of AM2 inside of AM1, it does not prevent AM2 from also being used on its own as a top-level ("root") application module. From the ADF data binding point of view, a top-level application module corresponds to a data control and its own application module pool. In contrast, nested application modules are simply a part of the implementation of the AM that includes them and don't have there own data control or their own application module pool.
    In my example above, if you use both AM1 and AM2 as data controls via drag and drop data binding, then the runtime behavior depends on which AM2 in the Data Control palette you drop. The Data Control palette will present both AM1 and AM2 as top-level data controls, but it will also present AM2 as a nested child node of the AM1 application module in which is it embedded. If you drop something from the top-level AM2 in the data control palette, it will create a data control for it and it will have its own AM2 application module pool. If instead you drop something from the AM2 node that is nested inside of the AM1 (top-level) node in the palette, it will not create a separate data control for AM2.
    So, to your questions...
    Why does the Data Control Palette provide nested AMs as top level AMs?
    All AM's show up as top-level data controls in the data control palette at present. Nested AM's show up indented inside their containing AM in the palette. Since the same AM can be used both ways, they both show up.
    I agree it could lead to user confusion, perhaps rather than automatically publishing all application modules as data controls, a separate "Create Data Control" step should be required so the developer would only publish the ones (s)he wants to be top-level data controls?
    The NestedAM depends on the RootAM. Why can it act as independent AM when using the top level node "NestedAM"?
    In general a nested AM does not depend on the AM that embeds a nested instance of it. Rather, the reverse is true. A containing, nesting AM depends on the AM instance it contains but not vice versa.
    How many instances of the NestedAM exist when I use both 'versions' (top level node and childnode) in my bindings?
    If you use both, then you'll have one instance that is a top-level AM and pooled as explained above, and another instance that is just an embedded part of the containing AM whenever it is used.

  • ADF - New columns in DB table need to be reflected in Data Control Palette

    I am new to ADF. I am editing a JSF that does add and edit to data in database table. I added new columns to the table and need to modify the JSF accordingly.
    I have not been able to find info on how to take a new "snapshot" of the database table that will reflect my new columns in the DataBindings.cpx.
    Can someone steer me in the right direction?
    Thanks,
    Chris

    Chris,
    if your business service is ADF BC, then synchronize the EO with the database for it to pick up the changes. Once this is done, go to the VO and add the two new attributes. Right after that the data control palette will show the new entries.
    If you use EJB as a business service layer, change the entity classto expose the two attributes, re-generate the session facade ad then re-generate the data control.
    Frank

  • Unexpected  behavior with data control palette after migration to 10.1.3

    I recently migrated my adf/struts app to 10.1.3 from 10.1.2.
    The app compiles and runs fine in jdev, and the migration had no errors.
    When I try to drag and drop attributes from the data control palette onto an existing (or new) page I get the “you can’t drop that here icon” circle with a line through it.
    This happens on all my pages and for every attribute in the data control including actions.
    Is this the intended behavior? In 10.1.2 there was a section that asked if it should be dropped as a label or text field etc, I don’t see that option anymore.
    I can still use the component palette  JSTL 1.0 core “out” and drag that onto the page and then bind the value to binding.attname. this works fine.
    In 10.1.3 faces I see that when I drag and drop I get a popup menu which shows the available type of component to drop the item as.
    Is this the correct behavior or am I missing something?
    I'm using jdev version 10.1.3.0.4 (SU2)
    Thanks

    So as far as I can tell the issue bioled down to having something wrong with my libraries definition. When would go to the project properties the libraries tab would not show correctly, I was able to remove some libraries and then add them back in. This made the libraries tab in the project properties work, and as a side effect fixed the data control drag and drop.
    thx

  • 10.1.3.1.0 : Nested View Object sould not appear in Data Control Palette

    Hello,
    I have a strange behavior in JDeveloper 10.1.3.1.0.
    I have two View Objects, a parent and a child, that are linked by a View Link.
    Although my Application Module instanciates only the parent View Object, I can still see the child View Object in the Data Control Palette.
    I've checked in JDev 10.1.3 SU5 and this behavior doesn't occur.
    Is this a bug ?
    Thanks,
    Seb.

    Hi,
    I tried to reproduce but cannot. I created a m/d ViewObject that are linked by a ViewLink. I removed the detail from the master tree in the AppModule configuration so that only the master instance is left. Opening the DataControl palette, I only see the master view.
    Is the project one that you upgraded from 10.1.3.0? If yes, please try and reproduce in a new workspace
    Frank

  • Anything dragged from data control palette squeezes text out of jsp page

    Hi,
    I am using JDeveloper 10.1.3.4. When I drag-and-drop anything from the data control palette onto a jsp page, then any template text on the page will be gone in the Design tab of the page, only the component from the data control palette is visible. The template data is still there though, as can be seen in the Source tab. This makes the Design tab unusable if I want to edit the text on the page. If want to drag-and-drop another component from the palette, I am not able to drop it in desired place since the page text is not visible.
    If these are relevant: the page is a jsp page and the tab libraries used in the page before the drag-and-drop are:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>Besides the text on the page, I also had a JSF HTML command button added to the page:
    <h:commandButton value="Quit"/>After the drag-and-drop the ADF tag libraries were added by JDeveloper, and the directives became:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>Is there any incompatibility between the elements from the different tag librarries? How to fix this problem? Or anybody had the same problem before and solved it?
    Thanks!
    Newman

    Shay,
    Thank you for the advice. I was using jsp pages. But I also tried jspx and had the same problem. I wonder if it is a problem with the tag library or with the JDeveloper software. When I create a new jsp page, at the step where the available tag libraries can be shuttled from left to the right, sometimes on the right side there is only JSF HTML but hot JSF Core, but JSF core is not on the left side either. Yet if you click finish and check the source tab you would see both directives for the two libraries are in the page.
    When building the pages, all the tags are created by JDeveloper. I do not have the freedom to edit the code because I do not know the tags. If I knew how to directly edit the tags, I can forget about the Design tab. But at least for now I am dependent on the Design tab.
    There are many questions on my mind such as the difference between <form> and <h:form>? Is it OK to mix all these tags from the different tag libraries in one page? What is the difference between the JSF HTML CommandButton and the ADF FACES Core CommandButton, and which one should I used in what context? And many many other questions. Are there any Oracle documents that cover these topics and systematically explain and teach the use of these tags? I just found documents for 11g, one of which, by its title at least, looks like a book for such purpose. But it is for 11g.
    Many thanks for your guidance!
    Newman

  • Adding tables not reflecting in data control palette

    hello
    i am using jdev 10 g and oracle xe
    i connected the database to the new aplication, then i can now use the datas but in the middle of my work i want to add another table, how can i add the new table in the data control palette so i can continue my work.
    i am doing my project all over again because i always forgot some tables that i needed.
    can you give me the steps in adding the tables. the REFRESH button also doest work for me
    thanks!

    You didn't mention what technology you are using to access your database, but assuming it is ADF Business Components - then you can create a new entity and view at any time for more table.
    Also make sure to edit your application module and get the new view object exposed in the data model.

  • Data Control Palette in Jdev 10.1.3

    I have a struts project, and an ADF model project in my workspace. I created a new Data Page. My Data Control Palette shows the ADF components available from my Model Project. But, I cannot drag anything onto the page like it seems to be possible from the documentation:
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/ADFBindingPrimer/index.html
    I know the screenshots are for 10.1.2 but I expect it to be similar. I don't see the "Drag and Drop As" dropdown. Nor do I see a UI model tab in the structure pane. Am I missing something?

    No luck with new projects. I created a new workspace - selected JSP, Struts, ADF. Created one App Mod in the Model. Created One ViewObject based on a simple select query. Added the ViewObject to the AppMod. Opened the struts-config.xml under the ViewController project. Dragged a DataPage from the component palette. Double clicked the new page. Completed the wizard with default selections. Opened the new JSP in design view. My Data Control Palette shows the app mod with the view under it. I try to drag the View onto the page, and the circle-slash icon appears and does not allow it to be dropped on the page. I can't drag out the attributes, operations, or anything at all from the Data Control Palette. I don't see any text printed on the Java console run from jdev.exe.

  • Methods At Data Control Palette

    How can i see methods from Menage beans in the Data Control Palette ?

    I recommend checking out the resources for developer's new to ADF on the ADF Learning Center. There are tutorials, demos, and developer's guides both for advanced J2EE developers as well as Forms/4GL developers who prefer a maximally declarative environment that is the same one Oracle Applications uses internally at Oracle.
    ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html

  • I've lost my data control palette

    well this is embarrassing
    my JDeveloper 11.1.2.2 seemed to switch roles from "all features" to "java developer" (maybe I did it, but I don't remember doing it)
    so I switched it back to "all features" and everything seems ok except I can't see my data control palette in the application manager view anymore
    I've tried a few things (turned it off and on again, restarted etc...) but to no avail
    have I broken it or am I missing something obvious as usual?
    thanks
    Mark

    Hi Frank,
    I've just tried your suggestion (I let it restart JDeveloper each time) and at first nothing changed, I then tried it with changing JDeveloper to prompt for the role at start up and still nothing, I then closed the application navigator and restarted and then opened Application Navigator, nothing again, restarted it one last time to make sure and as I was staring at the screen the "Data Control" palette appeared a few seconds after the others, have since restarted and it's now there immediately along with the rest.
    Thanks for your help Frank!
    Regards
    Mark

  • JDev10g Data Control Palette - Blank

    1) I have used jDev10g to follow a tutorial on Struts BC4J ADF JSP
    2) Successfully run the JSP to browse thru the records.
    3) Now the jDev IDE "data control palette" is blank. I can close and re-open using the menu View but the contents of the palette remain blank.
    Of course, a blank data control palette is a problem to me. I can create a new Application and gen new BC4Js and the data control palatte appears with content in the new app.
    I am using OS: Win XP, jDev10g preview 90500 bld 1375.
    Any suggestions/comments? Thanks

    hi
    A colleague of mine has the same problem.
    If I am not mistaken, the contents of the Data Control Palette are based on the DataBindings.cpx file, so I suppose a "Refresh" of the Data Control Palette (from its context-menu) would check the DataBindings.cpx file. But a "Refresh" had no result, the Data Control Palette stayed empty.
    Could someone tell us what to check, to enable the Data Control Palette to find all the information it needs to show the data controls?
    tnx
    -Jan

  • Can't find Data Control Palette

    I can't find the Data Control Palette...
    If I click on "View" in the jdev toolbar, I only see Component Palette and Resource Palette. What do I do?
    Thanks

    The Data Control Palette is inside an accordion in the Application Navigator in 11g.
    See this :
    http://www.oracle.com/technology/obe/obe11jdev/11/ejb/images/t50105.gif

  • How to drag component from data control palette and drop in a line of text?

    Hi,
    I am using JDeveloper 10.1.3.4 and get frustrated with my attempt to drag a component from the data control palette and drop it in a line of text in a .jspx page. What I need to accomplish is to display a line of text to the use on a page:
    Get clearance for the Spring 2009 semester.This is a line of static text except "Spring 2009" is the {color:green}Term{color} attribute of a view object dragged from the data control palette. I found that if I try to type some text on a page, as soon as I create a new line, a <f:verbatim> is created. So when I tryped the first part of the text, the code is:
    <f:verbatim>
    <p>
       Get clearance for the
    </p>
    </f:verbatim>Then drag-and-drop the bound data from the data control palette:
    <f:verbatim>
    <p>
       Get clearance for the
       <af:outputText value="#{bindings.Term.inputValue}"
                 binding="#{backing_student_printOrQuit.outputText6}"
                 id="outputText6"/>
    </p>
    </f:verbatim>And then add the last word:
    <f:verbatim>
    <p>
       Get clearance for the
       <af:outputText value="#{bindings.Term.inputValue}"
                 binding="#{backing_student_printOrQuit.outputText6}"
                 id="outputText6"/> term.
    </p>
    </f:verbatim>This looks OK in the Source tab. But in the Design tab the bound data jumps above the text line. Both the bound data and the <f:verbatim> appear to be block elements in the page. And so is it when the line is displayed in the browser:
    Spring 2009
    Get clearance for the term.How to overcome this problem?
    Thanks for sharing your experience.
    Newman

    Shay,
    Waht a surprise! Just now I had already finished typing the posting to tell that it did not work. I tried changing the original code to
    <f:verbatim>
    <p>
       Get clearance for the #{bindings.Term.inputValue} term.
    </p>
    </f:verbatim>and got the display:
    Get clearance for the #{bindings.Term.inputValue} term.I tried various ways, putting single quotes around the whole expression in single quotes, around part of it, using square brackets, ... I was going to click the "Post Message" button, but gave it one last try:
    <f:verbatim>
    <p>
       Get clearance for the ${bindings.Term.inputValue} term.
    </p>
    </f:verbatim>and I got it! --
    Get clearance for the Spring 2009 term.It was my gut feeling that I was quite close because the dot-separated hierarchy {color:green}bindings.Term.inputValue{color} looks right, only some tiny bit in syntax narrowly missing it. I was lucky.
    Thank you for the suggestion!
    Newman

  • UPDATE button in the Data Control Palette and CREATE,SUBMIT,COMMIT

    JDeveloper 10.1.3
    I created a simple JSP page. It is based on a ViewObject that ties directly to a Person Table.
    two questions:
    1) I noticed in the "Data Control Palette" doesn't have the UPDATE operation... How do I do an UPDATE?
    2) to Create a Person through my new form I had to do the following steps in the Web Page: HIT CREATE BUTTON, ENTER DATA, HIT SUBMIT BUTTON, HIT COMMIT BUTTON.
    Seems like a lot of steps to simply create a record - is there a simpler way (using the JSP page, not JHS or JSF..etc).
    Thanks!

    1) my edit form is pre loaded with a record, since it is based on a parameterized view and I had to modify the pagedefs for that edit page to have the proper binding and action. It is setup to receive the PID in the request and set the value to the bind variable. This works fine to pull up the record. I then have the buttons that I dragged and dropped onto the screen: Submit (came with the drag-drop of the parameterized view), Create, Execute, Commit, Rollback. When I preload the right person into the form (by calling edit_person.jsp?pid=1), and then change the name (for example), I would have suspected that if I hit Submit that the Commit button would be enabled.. but it isn't. if I remove the part that disables the Commit button, then the Commit button doesn't work...
    2) I am in 10.1.3, and if I drag the commit over to the "Submit" button it doesn't take...it wants to add the new button to the right or left of the "Submit" button....

  • No Master Detail option in Data Control Palette

    No Master Detail option in "Drop as:" dropdown list in data control palette.
    First I create two entity objects with a referential key relation in a business
    components diagram from an existing db schema.
    Than I create two view objects and a view link from the entity objects.
    Following I create an application module with the view objects and the view link.
    The diagram seems correct, it shows the view objects and the view link inside
    of the app module.
    When I create a data page (jsp) in the struts-config.xml I'm not able to
    select the option Master Detail (Many to many) in the dropdown list from
    data control palette due to it isn't there.
    What is my mistake ?
    Many thanks.

    There is no mistake in your side. Thing is actually you cannot use the many to many option for a view object in jsp. This option is available if you are using UIX page. In case of jsp, you could manually create the master table using master view object and create the child table using the detail view object(present as child in view link). In the master table, you can add another column with ADF operation: setCurrentRowWithKey(String). That's it. Now selecting the select link in master table will refresh the child table rowset.

Maybe you are looking for

  • Application crashes nearing 28 concurrent transactions

    Its been a while folks.... I used to post and answer allot here back in the day when i was coding in CF daily. Here is the problem... more details will follow when I get them. I was tasked by my director to look into a problem for an application on t

  • Preview doesn't always display .pdf files correctly....

    Some .pdfs I open come up with some logos or pictures and the background colours - however the writing is all coloured blocks, and completely useless. Why does this happen?

  • Is there a manual for the Razr M???

    I am new to smart phones. I admit that right away. But I follow instructions really well. The starting instructions for this phone don't help, as they are incomplete. For example: When I try to do what it tells me, as in getting a couple of widgets o

  • No acknowledgement of purchase through ATV from iTunes

    when I try to purchase anything use the ATV I connect to iTunes but I always get a communication error. But the purchase gets completed and I get billed. The item music movie etc after a while shows up in my list of mymusic or mymovies. Any thoughts

  • No sound in my videos on my ipod

    hey i was wondering if anyone could tell me why my ipod has no sound when its playing videos. it plays the video but i cant hear anything. can anyone tell me how to fix it? please and thank you