How to add the parameter/event on a portletized app and how to access?
HelloI have a simple JSF page that retrieves data by using data control. Here are the steps I did
1 create a WebCenter application
2 set the control data for the service URL
3. slide DC page as a parameter
4 create the entry Portlet to convert page Portlet
5. manually change oracle - portlet.xml to set the parameters of navigation under the tag < portlet-extension >
What I want to do is the value of the control of the parameter of navigation data entry, so I can remove the button from the form. Is this possible? What I need to change anything else?
All opinions are appreciated.
I use Jdev 11 g
Thank you!
Rian
Rian,
I did a portlet from the sample of producers that shows these techniques: http://www.yonaweb.be/DCParameters.zip
When you want to build portlets and not an ADF application, you must use the request of the Portlet producer instead of a Webcenter application or a web application from merger and turn your JSPX page in a portlet.
The reason why you can't find the PortletRequest is because by default portlet libraries are not added to your application. When you use the Portlet producing, these libraries are properly added.
The application project, I downloaded, is the production of portlet application. You should be able to deploy in your internal weblogic server and register the producer of your application.
Some information on what I did:
(1) create the portlet. You can find information about the portlet in the portlet.xml in the WEB - INF folder
(2) create the user class in the package model. It's just a class that I created to have some data.
(3) create the UserDC class. This class will have a method that takes 2 parameters. This class will be transformed into a datacontrol by right-click on it and click 'Create DataControl'
(4) create the bean managed by opening the faces-config in the WEB folder - INF. press the plus sign in the section bean managed and enter data.
My managed bean is the UserBean in beans package
(5) write the code for the managed bean. You'll see that 2 methods in the bean. One to get the name and the other for the lastname parameter
(6) in the data section press controls refresh so the data controls are updated and you should see "UserDC".
(7) open view.jspx DCPortlet/html
(8) slide collection user to the datacontrol to the page and select the Table-table ADF online read-only
9) press ok
(10) in the context menu for the DC method parameters enter #{UserBean.lastnameParameter} and #{UserBean.firstnameParameter}.
That's what I did to create the portlet.
If you have any questions or something is not clear, just ask.
Tags: Fusion Middleware
Similar Questions
-
Add the constant event name to FlowElementMouseEvent?
I realize that the LinkElement will be sending, in most cases, up to six different events, using the same name defined in the MouseEvent event constants:
* MouseEvent.CLICK
* MouseEvent.MOUSE_DOWN
* MouseEvent.MOUSE_OUT
* MouseEvent.MOUSE_UP
* MouseEvent.ROLL_OVER
* MouseEvent.ROLL_OUTIn the Flex IDE, the event metadata are interpreted and causes incorrect Eclipse code Council as event names do not exist as constants as all caps/line of underscores in the FlowElementMouseEvent.
For example, if I have an instance of the item link and type ' linkElement.addEventListener (', once I typed the left paren, it triggers code completion that presents me with the following list of types of events possible to add listeners for these types of six events):
* FlowElementMouseEvent.CLICK
* FlowElementMouseEvent.MOUSE_DOWN
* FlowElementMouseEvent.MOUSE_OUT
* FlowElementMouseEvent.MOUSE_UP
* FlowElementMouseEvent.ROLL_OVER
* FlowElementMouseEvent.ROLL_OUTObviously, the use of one of those who will not compile. I know that you use the same constant MouseEvent event name strings,
but it would be really nice if you could add these strings as constants of FlowElementMouseEvent event as well! It is confusing to some developers when it does not work as they expect.
Thank you!
Brent
I filed a bug on the name constants.
Richard
-
Add the parameter to hardcoded string to decode function
I have a query something like this:
Select...
..............
decode ((select bill_sequence_id
of bom_structures_b one
where a.assembly_item_id = POL. ITEM_ID
and a.organization_id = FSP.INVENTORY_ORGANIZATION_ID
and a.alternate_bom_designator is null
and msi.bom_enabled_flag = 'Y'
), null, null, 'test_url | a.bill_sequence_id) "Destination".
Of...
where the...
I want to add the value of the column that I looked at the end of "test_url.
If I decode (..., null, null, 'test_url' | 222222222) it worked, but when I give bill_sequence_id or a.bill_sequence_id, he cries for invalid identifier.
Please help.
Thank youHello
Let me make sure I understand the problem.
You want to return a value like'Today is = ' || x
where x is a complex expression. But if x is NULL, you don't want to not return 'is now', you want to return null.
What is the problem?Here's how you can do this without repeating x:
NULLIF ( 'Today is = ' || x , 'Today is = ' )
A more general solution is to calculate the value in a subquery. In the Super request, you can see him as often you simply by using the alias that you gave in the subquery, like this:
WITH got_inner_select AS ( select a.dummy, ( select b.dummy from dual b where a.dummy = b.dummy ) AS inner_select from dual a ) SELECT dummy DECODE ( inner_select , null , null , 'Today is = ' || inner_select ) FROM got_inner_select ;
-
The data object dialog box that is displayed when I select a plus sign (+) for the parameter indicates the title to browse the data instead of the data object object. Therefore, I'm unable to drag and drop the data for the parameter object. -What did I do wrong?
Thanks for your help.
Sam
Ramesh,
I don't have a solution to this problem. All the documentation I've read sugggest that describes the steps that should work; but it does not work for me. I am very frustrated at this topic.
I think the Oracle BMP is a good thing. So if you find a solution, please let me know.
Thank you.
Sam
-
Add the parameter value total page
Hello
I want to add a parameter of total pages value, possible? Thanks in advance.You can't do that.
-
You are not allowed to add the e-mail address of your account and user already exists
Hi Experts,
My SAP CLM (Contract Lifecycle Management) System integrated system of Echosign by SAP itself and we test the functionality.
Everything works fine and I am able to send documents to the signature of the CLM system and the beneficiaries are able to sign the document and even get all historical information and the status of it.
But I am facing problems below 2 cases,
1. for a particular user, whenever the user sends the document to the signature, we get the error:-"you are not allowed to add that e-mail address to your account.
2. for another user,who already have created account itself, whenever the user sends the document to the signature, we get the error:- 'user already exists: [email protected]"" " ."
For question 1, I googled and found the link the specified item was not found. , who seems to have the answer, but unfortunately, this link seems to be outdated.
Any help would be great.
Thank you
Uday Chassagne
Hi Uday,
I sent you a message in response. Please check and provide the requested information.
-Usman
-
sequence of images, add the keyboard event loop?
Hi all
I have a sequence of 3d images that I want to run with the mouse and drag.
So far I succeeded with that.
Also added keyboard event.
stage.addEventListener (KeyboardEvent.KEY_DOWN, keyPressed);
function keyPressed(event:KeyboardEvent):void
{
If (event.keyCode is 39)
{
images_mc.gotoAndStop (images_mc.currentFrame + 1);
}
Else if (event.keyCode == 37)
{
images_mc.gotoAndStop (images_mc.currentFrame - 1);
}
}I tried looping event, that is, playing continuously until the button is pressed.
Help, please.
Thanks in advance.
function keyPressed(event:KeyboardEvent):void
{
If (event.keyCode is 39)
{
If (images_mc.currentFrame<>
images_mc.gotoAndStop (images_mc.currentFrame + 1);
}
else {}
images_mc.gotoAndStop (1);
}
Else if (event.keyCode == 37)
{
{if(images_mc.currentFrame>1)}
images_mc.gotoAndStop (images_mc.currentFrame - 1);
}
else {}
images_mc.gotoAndStop (images_mc.totalFrames);
}
}
}
-
Add the listener event for several children at the same time
Suppose I have a Movieclip and in that Movieclip, I have several clips that I use as buttons. I want that all the buttons to do the same thing when I MouseOver. Is there a way I can refer to all the children of a display container so that I can have a statement such as MouseChildren.addEventListener (MouseEvent.RollOver, rollOverHandler); ?
You can attach your mouse listener to the parent of your buttons.
-
When I go into Options and then security, passwords remembering is faded and I can't select it. I need that, I have to connect to my home page every time, and it shows that it is a saved password. I'm new to Firefox and need help.
The application databases
Name: Firefox
Version: 30.0
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; RV:30.0) Gecko/20100101 Firefox/30.0Reports of incidents for the last 3 days
All Crash reports (including current 60 blocks in the given time interval)
Extensions
Important change preferences
Browser.cache.Disk.Capacity: 358400
Browser.cache.Disk.smart_size_cached_value: 358400
Browser.cache.Disk.smart_size.first_run: false
Browser.cache.Disk.smart_size.use_old_max: false
browser.places.smartBookmarksVersion: 7
Browser.privatebrowsing.AutoStart: true
browser.sessionstore.upgradeBackup.latestBuildID: 20140605174243
Browser.Startup.homepage: http://xfinity.comcast.net/home/x/?cid=mtmh10212014
Browser.Startup.homepage_override.buildid: 20140605174243
Browser.Startup.homepage_override.mstone: 30.0
Browser.urlbar.default.Behavior: 2
dom.mozApps.used: true
extensions.lastAppVersion: 30.0
GFX. Direct3D.last_used_feature_level_idx: 1
network.cookie.prefsMigrated: true
places.database.lastMaintenance: 1414127486
places. History.expiration.transient_current_max_pages: 102097
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
.print_bgcolor Print.printer_HP_Officejet_4630_series_ (network): false
.print_bgimages Print.printer_HP_Officejet_4630_series_ (network): false
.print_colorspace Print.printer_HP_Officejet_4630_series_ (network):
.print_command Print.printer_HP_Officejet_4630_series_ (network):
.print_downloadfonts Print.printer_HP_Officejet_4630_series_ (network): false
.print_duplex Print.printer_HP_Officejet_4630_series_ (network):-2129785343
.print_edge_bottom Print.printer_HP_Officejet_4630_series_ (network): 0
.print_edge_left Print.printer_HP_Officejet_4630_series_ (network): 0
.print_edge_right Print.printer_HP_Officejet_4630_series_ (network): 0
.print_edge_top Print.printer_HP_Officejet_4630_series_ (network): 0
.print_evenpages Print.printer_HP_Officejet_4630_series_ (network): true
.print_footercenter Print.printer_HP_Officejet_4630_series_ (network):
Print.printer_HP_Officejet_4630_series_ (network) .print_footerleft: & PT
Print.printer_HP_Officejet_4630_series_ (network) .print_footerright: & D
.print_headercenter Print.printer_HP_Officejet_4630_series_ (network):
Print.printer_HP_Officejet_4630_series_ (network) .print_headerleft: & T
Print.printer_HP_Officejet_4630_series_ (network) .print_headerright: & U
.print_in_color Print.printer_HP_Officejet_4630_series_ (network): true
.print_margin_bottom Print.printer_HP_Officejet_4630_series_ (network): 0.5
.print_margin_left Print.printer_HP_Officejet_4630_series_ (network): 0.5
.print_margin_right Print.printer_HP_Officejet_4630_series_ (network): 0.5
.print_margin_top Print.printer_HP_Officejet_4630_series_ (network): 0.5
.print_oddpages Print.printer_HP_Officejet_4630_series_ (network): true
.print_orientation Print.printer_HP_Officejet_4630_series_ (network): 0
.print_page_delay Print.printer_HP_Officejet_4630_series_ (network): 50
.print_paper_data Print.printer_HP_Officejet_4630_series_ (network): 1
.print_paper_height Print.printer_HP_Officejet_4630_series_ (network): 11.00
.print_paper_name Print.printer_HP_Officejet_4630_series_ (network):
.print_paper_size_type Print.printer_HP_Officejet_4630_series_ (network): 0
.print_paper_size_unit Print.printer_HP_Officejet_4630_series_ (network): 0
.print_paper_width Print.printer_HP_Officejet_4630_series_ (network): 8.50
.print_plex_name Print.printer_HP_Officejet_4630_series_ (network):
.print_resolution Print.printer_HP_Officejet_4630_series_ (network): 1149309452
.print_resolution_name Print.printer_HP_Officejet_4630_series_ (network):
.print_reversed Print.printer_HP_Officejet_4630_series_ (network): false
.print_scaling Print.printer_HP_Officejet_4630_series_ (network): 1.00
.print_shrink_to_fit Print.printer_HP_Officejet_4630_series_ (network): true
.print_to_file Print.printer_HP_Officejet_4630_series_ (network): false
.print_unwriteable_margin_bottom Print.printer_HP_Officejet_4630_series_ (network): 0
.print_unwriteable_margin_left Print.printer_HP_Officejet_4630_series_ (network): 0
.print_unwriteable_margin_right Print.printer_HP_Officejet_4630_series_ (network): 0
.print_unwriteable_margin_top Print.printer_HP_Officejet_4630_series_ (network): 0
privacy.sanitize.migrateFx3Prefs: true
Storage.vacuum.Last.index: 1
Storage.vacuum.Last.places.sqlite: 1413611062Graphics
Description of the adapter: Intel(r) HD Graphics
Drivers: igdumd64 igd10umd64 igdumdx32 igd10umd32
RAM card: unknown
Device ID: 0 x 0046
Direct2D Enabled: true
DirectWrite Enabled: true (6.2.9200.16571)
Driver date: 25/03/2011
Driver version: 8.15.10.2342
GPU #2 Active: false
GPU accelerated Windows: 2/2 Direct3D 10
Vendor ID: 0 x 8086
WebGL Renderer: Google Inc. - ANGLE (Intel(r) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)
windowLayerManagerRemote: false
AzureCanvasBackend: direct2d
AzureContentBackend: direct2d
AzureFallbackCanvasBackend: Cairo
AzureSkiaAccelerated: 0JavaScript
Incremental GC: true
Accessibility
Enabled: false
Prevent accessibility: 0Versions of the library
NSPR
The expected minimum version: 4.10.6
Version: 4.10.6NSS
The expected minimum version: 3.16 base ECC
Version: 3.16 base ECCNSSSMIME
The expected minimum version: 3.16 base ECC
Version: 3.16 base ECCNSSSSL
The expected minimum version: 3.16 base ECC
Version: 3.16 base ECCNSSUTIL
The expected minimum version: 3.16
Version: 3.16Hello, firefox will not save your passwords when you put to execution in permanent private browsing mode ("never remember history" in options > Privacy panel).
-
How do I add the complication of weather
Hi all
I "hid" my current and retired from the weather app iPhone apps. I didn't far enough to see who would remove the app Apple Watch too. So I reinstalled the weather on iPhone, but the complication of quarter will not return. How to re - add the complication?
Using iOS 10 and watch OS 3.
Hello
The following steps may help:
- Restart your iPhone and your watch:
- Close the two devices together, and then restart your iPhone first.
- Disable the twinning and re - pair your watch:
- The app shows on your iPhone takes a backup of your watch automatically when the disparity with the app choose to restore from backup during the whole upward. Most of the data and settings will be restored, with a few exceptions (for example cards Pay Apple, access code).
- Cancel the twinning of your iPhone - Apple and Apple Watch Support
- Set up your Apple Watch - Apple Support
- Restart your iPhone and your watch:
-
How to add the delivery address to a profile?
Hello
How to add a delivery address to a profile? Can we add using ProfileFormHandler shipping address? I googled a lot but has no solutions. Also the ATG docs aren't useful. But I see a Web Service Guide to add Oracle ATG Commerce Web address - add an address for a profile of customer... Is this the only way?
Please help me has add a delivery address to a profile?
Thank you.
Hi Ronald,.
Yes, you can use ProfileFormHandler to add the delivery address in the profile.
For example, in your CustomProfileFormHandler, you can write a method handleNewAddress which
* You can create a new delivery address using the inputs is entered in a map [it's a card that stores the value of properties of addresses] frontend page.
* Then, create an object of the address of the value entered by the user.
* Then to this new address create an entry in the secondaryAddress on profile plan. Set this new identity as the newAddressId, so it can be picked up on the success page.
* Check that Profile.ShippingAddress is set to null, if it is, add the new address as default delivery address and copy the default home delivery address [If you want to see the first address as the default address].
* Empty the card.
Hope it helps.
Kind regards
Prateek G
-
Mac OS 10.8.5
iPhoto 11
When I import pictures from my iPhone, I label the individual events while they are still in the import window. When I change the window of events, new events appear at the very top/beginning of the library. In order to get these new events in order chronologically, which means that they should be at the bottom of the window, I have to drag the new events down through several years and thousands of photos. I can't find anything in the preferences that I can change to specify that I would like to added to the base, not from the top. Or, said differently, is there a mechanism to ensure that the library is organized in chronological order? Any suggestions? Thank you!
Click on events in the source to the left - pane in the view menu == > sort events, and then select the type you want - this is for iPhoto 9.6.1 - you don't specify what version you have, but I think it's the same for all versions of iPhoto 11
LN
-
configuration dll when the parameter is of type STRUCT
Hi all
I use call library funtion to bind to one of the DLL, but my question is is the parameter to pass to STRUCT type and I do not know how to configure this feature.
If you pass the struct by reference, then choose Yes, adapted to the Type. It does not matter what you choose "Data Format", because the grapes are always passed by reference. If you pass the struct by value, then pass each element of the structure as a separate parameter without using a cluster, as described here.
-
When you restore the backup files in Vista, get error "the parameter is incorrect."
I reinstalled my windows vista cd and all my files was erected to another area of my computer for the back, but I don't know how to restore them for use on my laptop. How to restore my stored backup files? It's there, but there are errors such as (the parameter is incorrect)
Hello
"and all my files was erected to another area of my computer to school."
do you have you will actually cost the files yourself or did it do for you through the recovery process
If this has been done by the recovery of computer manufacturers as part of the resettlement process, you will need to contact the manufacturer of the computer
If you have saved the files yourself, read this:
make backups on an external hard drive or DVD
see if this information helps you
How to make a backup of your data
http://www.vista4beginners.com/how-to-backup-your-data
How to restore your files
http://www.vista4beginners.com/how-to-restore-files
the 1st link below is how do the backup complete pc
http://www.bleepingcomputer.com/tutorials/tutorial145.html
and that is how do to recover the backup complete pc
http://www.bleepingcomputer.com/tutorials/tutorial144.html
and here is the information of microsoft in restoring a system image backup
http://Windows.Microsoft.com/en-us/Windows-Vista/restore-your-computer-from-a-system-image-backup
If you have problems, it's in here is a forum for microsoft at the link specifically for backup questions below
http://social.technet.Microsoft.com/forums/en-us/WindowsBackup/threads
-
How to access the CSS files for the plugin Enkitec-database file directory navigation bar
Apex 4.2.3.00.08
Enkitec-NavBar-1-2-0-for-4-2
Hi I am faced with the same question that: https://community.oracle.com/thread/2563229
Enkitec vertical list Navbar appears momentarily until it is formatted by CSS and it seems OK.
It is really annoying and makes pages look stupid. This problem is identified as a performance problem and can be solved by putting the support of Plugin files in directories of files instead of the database.
I created a directory on the database server: D:\102175\Kav\Plugin
I created a Directory pointing to the file directory database:
CREATE or REPLACE directory PLUGIN AS "D:\102175\Kav\Plugin".
GRANT READ THE PLUGIN DIRECTORY TO THE PUBLIC;
GRANT READ THE PLUGIN DIRECTORY TO ANONYMOUS.
GRANT READ THE PLUGIN DIRECTORY FOR UTVIKLING.
I also copied the CSS etc support plugin files in the files directory.
In the Apex plugin I changed the prefix 'file' #PLUGIN_PREFIX # D:\102175\Kav\Plugin
Now all the Navbar formatting disappeared and now the navigation bar appears only in form of vertical list.
I also tried to use the PLUGIN as 'File prefix' same thing.
I'm not Apex or Web expert so I'm sure there is something that I misunderstood.
Hope some of you are able to help out me.
Sincerely
Arild
Hmmm, well it does not matter if you do the mapping. The embedded PL/SQL gateway is well integrated in the database in PL/SQL. All your resources (images, CSS, javascript, etc.) are still be extracted from the base in order to be served to the client. Those in the file system are not in use after installation.
This is going to be heavy.
I think you may still be able to make some optimizations by moving the assets of plugin for a name that is mapped by the gateway.
In your apex installation, take a look at apxldimg.sql see how records and assets are added. You can then add the plugin files.
See if that helps.
In addition, you can follow the comments of Patrick on the post you are referencing and move the inclusion of files to the top of the page AND change the plugin so it does ' t add any more files. Now in theory, you can skip the download folder and the image and add the plugin assets as standard apex post and reference them with #WORKSPACE_IMAGES # #APP_IMAGES, or # (if you add specifically for an application). But you still want to include them at the top of the page.
Sorry... I know it's a lot of things to take and much heavier than expected.
Thank you
-Jorge
Maybe you are looking for
-
My words that I had before (in iTunes and viewable on iPhone) manual went with the new update of ios10. Anyone know how to get on the new update?
-
Projector does not? Try to kill background apps
Spotlight on my iPhone Chess 6 were driving me crazy. About half the time Spotlight returns no results. After much trial and error I found that killing a background app, Reeder, 3 (reeder.app) solved the problem. I don't think it's a bug of Reeder, I
-
Z210 Workstation: EFI Image Restore failed - how to fix?
Some time previously, I installed a Win 7 64 bit OS to my Workstation Z210 manually using a MS. installation disc Then after a few other software installs and the mandatory and quite large OS updates that occur over time, I recently created a System
-
I can not play CD on my laptop because I restored it back to factory settings
Separated from this thread. I can not play CD on my laptop because I restored it back to factory settings
-
Recently, I changed to a PowerMac and use Parallels to run Windows Vista. I upgraded to Parallels 4.0. I use automatic updates and yesterday a few upgrades that have installed on had closed. Today when you are working in Word, I got a warning that