Application module differs from Data Control Panel - oracle-adf

I am using JDeveloper 12c (version 12.1.3) and am encountering strange behaviour in 2 separate applications. In both cases the list of items in the application module is not reflected in the Data Controls palette in Jdeveloper.
In 1 project, while the application module VO displays correctly, some items in the corresponding Data Control displays twice. It is also displayed this way in the page's bindings. For example if the hierarchy is Department -> Employee in the app module, Employee shows up twice under Department in the Data Control panel.
In the 2nd project, the Data Control panel displays more items than is configured in the application module. For instance, in the Data Control panel, the listing shows Employee and Activities under Department while the Application Module only has Department -> Employee set up. Activities is a legitimate child of Department but for some reason has disappeared from the Application Module.
Both these examples were simplified - there are nested and master-detail hierarchies in these applications. Nevertheless, is there any way to synchronise the Application Module and the Data Controls panel? Did a file get corrupted? How can I resolve this problem?

One note is that the data control panel will only show what is in the AM data model - which might not be all the VOs and links you have in your project.
It might be worth going into the am.xml file to check if there are duplicates in there.
Then verify that the datacontrols.dcx file points to the right AM file.

Related

dispaying slideshow on drupal homepage

I am building a website with drupal 7 in which I have two user roles i.e. a member and an expert. I want to display slideshow of expert type of users with their image, name and few lines describing them in every instance of slideshow. All 3 fields which I require are stored in mysql database as the users entered these details at the time of signup. I used view_slideshow module but I am unable to configure it my way. Unable to create new content type.
Can it be possible to display slideshow in the way I want?
I am using "busy" theme if its required.
Using the views slideshow module you should be able to create a view where instead of displaying content you display users. On the create view page there is a spot where it says 'show: content ' as a drop down. Change this to users and then when you have the views slideshows module change the display format on the same page to slideshow.

How do I tackle ordered text widget on multiple pages in cakephp

Hey guys. so I'm not quite sure how to tackle my next big problem in this project.
I want to create an admin interface which allows my client to create a dynamic menu page for the food and drinks. Basically, I want him to be able to enter a short paragraph for the top of the page, and then 2-6 widgets that he can drag and drop onto the page. This menu will then render under owlhouse.com.au/food. I figure it'll be something to do with associations, but I have no idea how to construct a function which attaches dynamic data to the page on the fly.. and keep it in the layout the client wants (2 columns, diff modules for beer, wine, etc.)
HOW ON EARTH DO I GO ABOUT THIS?
thankyou,
~Harley
Dynamic Data
Build a "CRUD" interface that the client can log into. (Think blog entries). Store the content in the database (of course). Then provide a drag & drop interface that allows the client to order them, assign them to pages, or whatever is needed to meet the requirement. When the client clicks update, you simply add/remove IDs to the content for the given page. When the page loads (like a blog page) it loads the content for the given IDs.
Widgets
The same would apply for widgets. I would build an element that provides the basic layout for the widget. Then build it the same way as the content. The client will have CRUD functionality with drag & drop interface to show which widgets are displayed.
Send me a PM if you need to hire someone. ;)

accessing form fields in html module in dnn

in my dotnetnuke site, i have added a form and list module. And added the form containing fields name, occupation..., and records are added. will i able to get the values in another html module(row wise or column wise)
I'm not sure what exactly you want to do. What I understand is, you have listing of some object in one module and insert/update/delete in another module and you've installed both of them in same tab and now you wan to update listing module when edit module changes.
you can use IMC for implementing such kind of functionality.
No, you can't access the data from an HTML Module. But, you can certainly display the data in a variety of ways. If you want the same people who enter the data to view the data, just go into module settings and for "Appearance", select "Form Above List" or "Form Below List". That will cause the module to display both the Form and the List.
If you need more advanced control, you could also use the Reports module or a module like Efficion's Advanced Data Grid to display the data but you'll need to understand SQL pretty well to make those work.

dotnetnuke clicking left bar opening page on the content pane(BEST PRACTISE)

ok i have created a picture gallery module in the left bar , there is a page viewpicturegallery.ascs . on clicking any image i want it details to open in the content pane in the middle . how would i do it.
can some tell me the process? i would made a new page or new module or what? for the details in the middle
here are some steps you can achive it:
create two controls in a single module for showing images and showing details for a single image and create two different definitions, each having a default view control as the one you want to show.
when you install the module in the page, it will show both definition controls in content page, you can re-arrange them in whatever panes you want.
search for inter module communication in dotnetnuke and grab a sample from net
you will find that there are two module definitions participating in the communication. Your list control will be the IModuleCommunication and your details view will be your IModuleListner
That's how you can achieve the things you want.
Please tell me if you have any other questions.
Short answer: use multiple DNN modules and communicate between them via querystring parameters, postbacks or IModuleCommunicator. Depending on your requirements, the details view may be possible to implement using a Text/HTML module and client-side tools like jQuery and plugins only?
More details on using multiple interconnected DNN modules:
You can define multiple modules in the .dnn manifest section.
This way, each interconnected submodule is part of the same install package, but you'll only have one visible module in the in the control panel's "Modules" dropdownlist. Adding this composite module to a page will add all the submodules, but you can remove any one of them independently of the others.
You should be aware that each submodule that directly inherits PortalModuleBase will have its own Settings object. If you want to share settings, you'll have to inherit from a shared parent ascx that inherits PortalModuleBase or write a function to read settings from another module in the same page (having the same ModuleID helps here).
Communication between modules can be based on querystring parameters, which is recommendable for opening a details view so that you can open it even if the gallery module weren't present. PostBacks let you use UpdatePanel, though. Modules in the same page can also use IModuleCommunicator interface for event-based communication. For example, I use an event calendar module with a "month view datepicker" module and a "list view of events" module. List view module communicates active days to the monthview via IModuleCommunicator. This way I can emphasize the active days with a boldface font in the datepicker. For more details on IModuleCommunicator, see Rafe Kemmis's blog post.

dotnetnuke: can we create a master page?

Can we create a content managed master page in dotnetnuke?
eg. I want the right pane and bottom pane to be content managed, but to show the same thing across all pages.
Thanks
What you are describing is essentially what DNN calls a Skin.
A DNN skin is actually just an ASP.NET user control (ascx) that dictates page-wide or site-wide look and feel, which offers developers the same functionality as a Master page, except that it ties into DNN-specific elements and uses some DNN-specific user controls, such as menu/navigation, logo, breadcrumbs, login/user account links, etc.
Now, in order to add the ability to provide content management capabilities site-wide, you specify an area in your skin to place a module (let's say, a Text/HTML module). This area is called a pane. Once you add a module to this pane, in its settings you can tell it to appear on every page. This way, the module can be edited on any page, and its changes will be reflected on all pages automatically.
Check out DNN's site, as it contains a TON of documentation on how to do many common tasks: http://www.dotnetnuke.com/Support/Documentation/DownloadableFiles/tabid/478/Default.aspx. Under the Technical Documentation section, you'll want to grab the Skinning document (I believe it's a PDF).
DNN Modules can be set to appear on all pages by checking a checkbox in the module settings. However DNN does not use the concept of a Master Page. It injects modules (user controls) in containers on a single aspx page at runtime.
A Master Page would be a great addition to DotNetNuke you cannot replace content in a single area of the page. The whole page refreshes. For example if you have a menu and you only want the content of what you select to appear in a specific content area without refreshing the rest of the page you have to resort to third party modules that attempt to do that but usually fail. There are 'module wrappers' but all the ones I've tested have issues with modules that allow the user to edit content. Edit screens are usualy different user control files (ascx) that are launched when you edit the module content. Since the page refreshes with the new page you have lost your place. Those module wrappers work fine for static content and some other controls but not for all controls.
IFrames can be used (DNN has one) to trade out content but that doesn't get rid of the probelms mentione above. I'm heavily invested in DNN, running the UCanUse.com web site so this isn't a slam on DNN. I just thought I'd try to answer the quesiton with detail.

Resources