List of Portlets with thier page group names
Hello,
Could someone suggest which is the table or view where I can query to get the list of all the portlets are stored?
I would like to list the page groups and the portlets in a page. Eg:
We have two or three page groups like Games, Sports etc and few portlets under those page groups. So I would like to list the page group names and the portlets inside.
Besides in the query how can I restrict the portlets bases on the OID group permission.
Thanks
My suggestion 1)
is to create 1 Connection Pool with passing values for DSN, UID,PWD using repository variables.
for this you need to have other connection since user validation is done in init block.
After LDAP authentication go for init block to run that validates user and set these DSN, UID,PWD variables with values.
Suggestion 2) You can use "Connection Scripts" tab on Connection pool
Suggestion 3) Can go for a external db table to store DSN,UID,PWD values and get them after authentication
goes like this....
Pls mark if helps
Similar Messages
-
'Error 30644: Page Group name should be unique' after page group is removed
Hi, I have removed a page group with name 'X'. But when i tried to create a new page group with the same name 'X', i encountered the following error message:
'Error 30644: Page Group name should be unique'
What could i do to create page group with the same name 'X'?
Thanks for any replies!I just tried this on a 9.0.2.2.14 version and was able to add, delete, and add again witout an error. It is possible that there was some kind of error during the delete which caused a row in the DB to remain. Unfortunately, there is no way to be sure without delving into the tables and looking for the 'deleted' page group. Not recommended unless absolutely critical. Given that the display name is what is typically shown in most screens, is it reasonable for you to name the new one X1 with a display name of X? If so, that's the safest bet.
-
I just upgraded from Mountain Lion to Maverick (10.9.3) and Adobe CC is listed as incompatible with this OS. What do I need to do to make it work again? Just a patch/update or do I need to uninstall and install?
antoniobesteban wrote:
I just upgraded from Mountain Lion to Maverick (10.9.3) and Adobe CC is listed as incompatible with this OS.
Where are you seeing that information? Got a link?
According to the Adobe website: Mac OS X Mavericks (10.9) compatibility FAQs | CC, CS6, Acrobat
Plenty of people, including me, are currently running CC on Mavericks. -
Why don't we list model number with this information rather than the month the model was released?
e.g. MacBook 2,1 or 5,2 or whatever.Generally, Apple refers to it's systems by what part of the year they are released, ie early - mid - late. Some people do provide the model number when they post questions, however, generally, the time of year and year released equals the model number.
-
Whats the problem with this page
hi,
i have problem with this page
page
it loading the video but not showing any content related to
the video.
i use
[code]
var netCon:NetConnection = new NetConnection();
netCon.connect(null);
var netStr:NetStream = new NetStream(netCon);
netStr.addEventListener(AsyncErrorEvent.ASYNC_ERROR,
getError);
var video:Video = new Video();
video.attachNetStream(netStr);
addChild(video);
video.x=201;
video.y=125;
function getError(e:AsyncErrorEvent) {
play_btn.addEventListener(MouseEvent.MOUSE_DOWN, playVideo);
function playVideo(e:MouseEvent) {
netStr.resume();
removeEventListener(KeyboardEvent.KEY_DOWN, keyPressHandler
this.addEventListener(Event.ENTER_FRAME, fileLoaded);
var loaderBar:Sprite = new Sprite();
addChild(loaderBar);
function fileLoaded(e:Event) {
var percent:Number = (netStr.bytesLoaded * 100 ) /
netStr.bytesTotal;
loaderBar.graphics.clear();
loaderBar.graphics.beginFill(0xDE2C18);
loaderBar.graphics.drawRect(205,378,percent * 4.32,5);
loaderBar.graphics.endFill();
if (percent==100) {
this.removeEventListener(Event.ENTER_FRAME, fileLoaded);
[/code]here is the full code
and i have an error saying:
ArgumentError: Error #2004: One of the parameters is
invalid.
at flash.display::Graphics/drawRect()
at VIDEOPLAYER_fla::MainTimeline/fileLoaded()
[code]
import flash.display.Sprite;
import flash.net.NetConnection;
import flash.display.SimpleButton;
import flash.net.NetStream;
import flash.events.NetStatusEvent;
import flash.media.Video;
import flash.events.MouseEvent;
import flash.events.KeyboardEvent;
import flash.events.Event;
import flash.display.Graphics;
import flash.text.*;
var netCon:NetConnection = new NetConnection();
netCon.connect(null);
var netStr:NetStream = new NetStream(netCon);
netStr.addEventListener(AsyncErrorEvent.ASYNC_ERROR,
getError);
var URL:String =
"/hakans/videos/BEDUK_AUTOMATIK00.flv?start=";
var offset:uint = 1048576;
var tamURL:String = URL + offset;
trace(tamURL);
var video:Video = new Video();
video.attachNetStream(netStr);
video.x=201;
video.y=125;
netCon = new NetConnection();
netCon.addEventListener(NetStatusEvent.NET_STATUS,
netStatusHandler);
netCon.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
securityErrorHandler);
function netStatusHandler(event:NetStatusEvent):void {
switch (event.info.code) {
case "NetConnection.Connect.Success":
connectStream();
break;
case "NetStream.Play.StreamNotFound":
trace("Unable to locate video: " + tamURL);
break;
function connectStream():void {
netStr.addEventListener(NetStatusEvent.NET_STATUS,
netStatusHandler);
netStr.addEventListener(AsyncErrorEvent.ASYNC_ERROR,
asyncErrorHandler);
netStr.play(tamURL);
addChild(video);
function securityErrorHandler(event:SecurityErrorEvent):void
trace("securityErrorHandler: " + event);
function asyncErrorHandler(event:AsyncErrorEvent):void {
// ignore AsyncErrorEvent events.
function getError(e:AsyncErrorEvent) {
var myTextBox:TextField = new TextField();
var myText:String = "Bytes loaded";
function TextWithImage()
addChild(myTextBox);
myTextBox.text = myText+netStr.bytesLoaded;
/*--------------< Videoyu Durdurma, Oynatma ve Başa
Alma >------------------*/
stage.addEventListener( KeyboardEvent.KEY_DOWN,
keyPressHandler );
function keyPressHandler( e:KeyboardEvent ):void {
// if the spaceBar is pressed then toggle video play/pause
if( e.charCode == 32 ) {
netStr.togglePause();
play_btn.addEventListener(MouseEvent.MOUSE_DOWN, playVideo);
function playVideo(e:MouseEvent) {
netStr.resume();
removeEventListener(KeyboardEvent.KEY_DOWN, keyPressHandler
pause_btn.addEventListener(MouseEvent.MOUSE_DOWN,
pauseVideo);
function pauseVideo(e:MouseEvent) {
netStr.pause();
stop_btn.addEventListener(MouseEvent.MOUSE_DOWN, stopVideo);
function stopVideo(e:MouseEvent) {
netStr.pause();
netStr.seek(0);
fastforward_btn.addEventListener(MouseEvent.MOUSE_DOWN,doForward);
function doForward(e:MouseEvent):void {
var f:int = 1; //you can schange the skipping time here
netStr.pause();
netStr.seek(netStr.time + f);
netStr.resume();
rewind_btn.addEventListener(MouseEvent.MOUSE_DOWN,doRewind);
function doRewind(e:MouseEvent):void{
var x:int = 2;
netStr.pause();
netStr.seek(netStr.time - x);
netStr.resume();
fullscreen_btn.addEventListener(MouseEvent.MOUSE_DOWN,doFull);
function doFull(e:MouseEvent):void{
stage.displayState = StageDisplayState.FULL_SCREEN;
/*--------------< Videoyu Durdurma, Oynatma ve Başa
Alma / >------------------*/
/*--------------< Video İçin Yükleme Bilgi
Çubuğu >------------------*/
var loaderBg:Sprite = new Sprite();
loaderBg.graphics.beginFill(0xc78f8e);
loaderBg.graphics.drawRect(205 , 378 , 430 , 5);
loaderBg.graphics.endFill();
addChild(loaderBg);
this.addEventListener(Event.ENTER_FRAME, fileLoaded);
var loaderBar:Sprite = new Sprite();
addChild(loaderBar);
function fileLoaded(e:Event) {
var percent:Number = (netStr.bytesLoaded * 100 ) /
netStr.bytesTotal;
loaderBar.graphics.clear();
loaderBar.graphics.beginFill(0xDE2C18);
loaderBar.graphics.drawRect(205 , 378 , percent * 4.32 , 5);
loaderBar.graphics.endFill();
if (percent==100) {
this.removeEventListener(Event.ENTER_FRAME, fileLoaded);
/*--------------< Video İçin Yükleme Bilgi
Çubuğu / >------------------*/
/*--------------< Video Meta Bilgileri
>------------------*/
var metaObject:Object = new Object();
netStr.client = metaObject;
metaObject.onMetaData = getMetaInformation;
var lengthOfVideo:Number = 0;
function getMetaInformation(e:Object):void {
lengthOfVideo = e.duration;
trace("Genişlik :" + e.width);
trace("Yükseklik :" + e.height);
/*--------------< Video Meta Bilgileri /
>------------------*/
/*--------------< Videonun Durum Çubuğu
>------------------*/
//may cause problem part
var GraphicsExample :Sprite = new Sprite();
var size:uint = 10;
var bgColor:uint = 0x999999;
var borderColor:uint = 0x999999;
var borderSize:uint = 0;
var cornerRadius:uint = 9;
var gutter:uint = 5;
var dragBar:Sprite = new Sprite();
var halfSize:uint = Math.round(size / 2);
dragBar.graphics.beginFill(bgColor);
dragBar.graphics.lineStyle(borderSize, borderColor);
dragBar.graphics.drawCircle(halfSize, halfSize, halfSize);
dragBar.graphics.endFill();
dragBar.x=201;
dragBar.y=376;
addChild(dragBar);
var drag:Boolean = false;
this.addEventListener(Event.ENTER_FRAME, setDragBar);
function setDragBar(e:Event) {
if (!drag) {
dragBar.x = ((netStr.time / lengthOfVideo) * 429) + 201;
/*--------------< Videonun Durum Çubuğu /
>------------------*/
/*--------------< Videonun Kaydırma Çubuğu
>------------------*/
dragBar.addEventListener(MouseEvent.MOUSE_DOWN,
startDragging);
dragBar.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
dragBar.buttonMode = true;
var rect:Rectangle = new Rectangle(205,378,429,0);
function startDragging(e:MouseEvent) {
drag = true;
netStr.pause();
dragBar.startDrag(false,rect);
function stopDragging(e:MouseEvent) {
dragBar.stopDrag();
drag = false;
netStr.resume();
this.addEventListener(Event.ENTER_FRAME, reSetVideo);
function reSetVideo(e:Event) {
if (drag) {
netStr.seek(Math.floor(((dragBar.x-201) / 429) *
lengthOfVideo ));
/*--------------< Videonun Kaydırma Çubuğu
/ >------------------*/
netStr.addEventListener(NetStatusEvent.NET_STATUS,
netStatusHandler1);
function netStatusHandler1(e:NetStatusEvent):void
switch (e.info.code)
case "NetStream.Seek.InvalidTime":
trace("You have seeked too far ahead, the video hasn't fully
loaded yet");
break;
case "NetStream.Play.StreamNotFound":
trace("Unable to locate video");
break;
/*--------------< Video Ses Kontrolü
>------------------*/
sound_btn.addEventListener(MouseEvent.MOUSE_DOWN, setSound);
var checkSound:Boolean = true;
var soundTrans:SoundTransform = new SoundTransform();
function setSound(e:MouseEvent) {
if (checkSound) {
soundTrans.volume = 0;
checkSound = false;
} else {
soundTrans.volume = 1;
checkSound =true;
netStr.soundTransform = soundTrans;
/*--------------< Video Ses Kontrolü /
>------------------*/
[/code] -
What's wrong with this refresh group?
Hello,
I want the materialized views group refresh to refresh once per day so I created the following;
BEGIN
DBMS_REFRESH.MAKE(name=>'mviews_refg',
list=>'mview1,mview2'
next_date => SYSDATE,
interval => 'SYSDATE + 23/24');
END;But the issue, I am seeing the refresh done all the time in serie, what is wrong with this syntax. Please help me in fixing it and provide me the correct systax. My database version is 11.2.0.3.
ThanksThis for 10g but will help
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2664480900346253895 -
Single adf task flow portlet with multiple pages and paramter from url
Hi ,
I have made a adf task flow portlet with a parameter.
I have made a portal applcation and added multiple pages . in each of the page I am consuming that portlet through wsrp2.
I have mapped the task flow parameter in page bindings of the pages with #{param.code}. where code is the get parameter.
I have edited navigatinoal template so that when i click the pages , code parameter also get added in the url.
issue
When I run the applcation and visits first page with get parameter i get the right result. but when i click the on the other page which has some other value for the same get parameter , it doesnt display the value. But the other page shows me correct value if I go this page first but the later page doesnt display any value.
thanks1001446 wrote:
Hi ,
I have edited navigatinoal template so that when i click the pages , code parameter also get added in the url.Can you paste the code from the template here? -
EasyVPN with space in Group name on 837
Hi (me again)
I have the 837 with EasyVPN remote configured to my work (a Cisco 3000). The problem is that our group name has two spaces in it :format 'ab cde fghij' and while this works fine in the Cisco VPN client software and from my linux box (vpnc), the cisco router will not accept it. (due to the space in the group name). Is there a way to add a group name containing spaces? I have tried all my esc codes and such like, but none work :(
I have asked the cisco peep at work to set up a new group and she will, but she is having her baby any day now and doesnt really have a lot of time so I figured; if anyone knows The Cisco crew will! :)
any ideas? (all this cos I am wanting to move to my Vista64bit platform now that everything else works on it, appart of course from the Cisco VPN Client (even V5.00.340)
Heres hoping - Rachel in Gibraltar
(slowing becomming a cisco-gal...)I don't think its is possible to have group names containing spaces for a router. I think you will need to configure a new group for connecting VPN clients.
-
Need help with outputing query group names
I am trying to come up with a way to output group headers, then all the records under each group header etc. It would be easy, except there is a twist with what i want to do.
Normally if I have this set of data (which I ‘borrowed’ from a site that showed the closest to what I’m looking for):
Example Table Setup:
TABLE [Numbers]
(Name, NUMBER)
Dave Bosky 843-444-4444
Dave Bosky 843-555-5555
Matthew Small 843-111-1111
Matthew Small _843-222-2222
Matthew Small 843-333-3333
I could use the following code:
<cfoutput query="somequery" group="name">
#name#<br>
<cfoutput>
#phonenumber#<br>
</cfoutput>
<hr>
</cfoutput>
And get this:
Dave Bosky
843-444-4444
843-555-5555
Matthew Small
843-111-1111
843-222-2222
843-333-3333
BUT, my actual tables are not set up like this. Rather than recording each name with each record, I would have an ID that is the foreign key for another table.
Current table set up would look like this:
TABLE [People]
(ID, NAME)
1 Dave Bosky
2 Matthew Small
TABLE [Phones]
(PEOPLE_ID, NUMBER)
1 843-444-4444
1 843-555-5555
2 843-111-1111
2 843-222-2222
2 843-333-3333
So this output would actually give me this with my current setup and the query code above:
1
843-444-4444
843-555-5555
2
843-111-1111
843-222-2222
843-333-3333
How do I keep my current setup but create a query that achieves the same result from the top? (Output the names from the People table as the group headers, but the data from the Phones table underneath that)Thanks! With a little tweaking I got it done.
In case this might be useful to someone else this is the code I ended up using as a test run for what Im trying to do:
<cfquery name="testthis" datasource="IRLE">
SELECT ACCOUNTTYPES.ACCOUNTTYPEID, ACCOUNTTYPES.TYPEDESCRIPTION, ACCOUNTS.ACCOUNTNUMBER, ACCOUNTS.ACCOUNTTYPE, ACCOUNTS.ACCOUNTDESCRIPTION
FROM ACCOUNTS INNER JOIN ACCOUNTTYPES ON ACCOUNTTYPES.ACCOUNTTYPEID = ACCOUNTS.ACCOUNTTYPE
WHERE ACCOUNTUSERID = '#Session.UserID#'
</cfquery>
<table>
<th colspan="3" align="center"><u>ACCOUNTS:</u></th>
<cfoutput query="testthis" group="TYPEDESCRIPTION">
<tr><td></td>
<td colspan="2">#TYPEDESCRIPTION# Accounts:<BR></td>
</tr>
<cfoutput>
<tr>
<td></td>
<td>#ACCOUNTNUMBER#</td>
<td>#ACCOUNTDESCRIPTION#</td>
</td>
</tr>
</cfoutput>
</cfoutput>
</table>
Im using MySQL, so all the table names etc have to be capitalized.
Table setup:
ACCOUNTTYPES
ACCOUNTTYPEID
TYPEDESCRIPTION
1
CASH
2
TRADE
ACCOUNTS
ACCOUNTNUMBER
ACCOUNTUSERID
ACCOUNTTYPE
ACCOUNTDESCRIPTION
1
1
1
CASH
2
1
2
BROKERAGE
Note I also threw in a WHERE clause to only show accounts for the logged in user. (Session.USERID is defined by my code at login)
All in all the output was:
ACCOUNTS:
CASH Accounts:
1 CASH
TRADE Accounts:
2 BROKERAGE
Given my data at the moment, that’s what I wanted! Sweet! -
What is wrong with this page and IE???
Gents,
I have this page, exported from Excel to an HTML file, added a few Lightbox and Spry Tooltips and published it.
It works fine with Firefox and Chrome, but IE trips over it. It just displays a blank page.
Here is the link to the home page: PPBM5 Benchmark
With FF or Chrome the Benchmark Results page displays without problems, with IE it is just a blank page. This is the page that causes these problems: http://ppbm5.com/Benchmark5.html
What am I messing up that IE does not work? Any suggestion is welcome.Jeepers Gary,
How on earth did you spot that among the 4,577errors reported by W3C validator.... KUDOS
http://validator.w3.org/check?uri=http%3A%2F%2Fppbm5.com%2FBenchmark5.html&charset=%28dete ct+automatically%29&doctype=Inline&group=0 -
For-each loop with colon in group name
When making my first simple RTF report with XML Publisher, I am encountering problems with an XML tag name that contains a colon. When I set the tag name as the group for a loop - <?for-each:Blah1:Blah2?>, where Blah1:Blah2 is the tag name in my XML file, I get an error - java.lang.reflect.InvocationTargetException ... caused by oracle.xdo.parser.v2.XPathException: Namespace prefix 'Blah1' used but not declared. Any help would be appreciated.
JWHi JW
The colon denotes that you XML is using a namespace and you need to declare in in your template. Just check out the user guide for namespaces. Its pretty straigntforward. I also touched on it in the latest blog entry here, http://blogs.oracle.com/xmlpublisher
Regards
Tim -
Alphabetical Artist listing of artists with 'The' in their name
Previously my nano would ignore the 'the' in artist names such as 'The Used' and 'The Hush Sound', ordering them by the second word. However, when I started using my ipod today, it no longer ignores the 'The' and has collected all artists whose names start with 'The' in 'T'.
Is there a way to change this so the ipod ignores the 'The' in artist names like it used to only a few days ago (and like most alphabetised systems do)?im trying to search my settings.... mine is sorting the way it should be excluding 'the' from the titles when sorting...
-
This is the information that I get from the crashes. I don't know how to fix it. I happens everywhere so it is not related to one site.
App Name plug-incontainer.exe AppVer. 1.9.2.4280 ModName:ntdll.dll
ModVer:5.1.1600.6055 Offset: 0000100bplease upgrade your browser to Firefox 8 and check
* getfirefox.com -
In 9iAS Release 1, we can call a specific portal page using the following URL:
/pls/portal30/url/PAGE/page_name
Is there any similar url to call pages in Release 2?Malin,
I have tried that earlier. It was not working.
I just tried with giving page group name as well. Now it's working.
/pls/portal/url/PAGE/<page_group_name>/<page_name>
Thanks,
Chandra. -
ASA - logging via radius with group name passed.
Hi,
I'm trying to setup ASA5520 with Radius to authenticate users with group
privileges.
Useing Radius with ASA to authenticate users is quite simple. When I try
to pass from asa tunnel-group name (with group-policy and attributes
attached) there is a problem that ASA dosn't pass any group name to
radius.
Is there any way to overcome it?
What I want to do is to apply different policies to username depending
with what tunnel-group name he logs in to webvpn. I assume one user may
be member of different groups.
br
MarcinIt's possible.
Differentiate your privileges and restrictions based off of group-policy, not the tunnel-group. Keep your default WebVPN tunnel-group, and do not specify a default group policy for this tunnel-group.
Create separate group-policies that differentiate what links different groups of users should be presented with. If you're using ACS, link your Cisco Secure Groups to groups in Active Directory (or other method of directory services). The Cisco Secure Groups should then be configured to pass specific RADIUS attributes, such as the "Class" attribute #25. ACS will then tell the ASA to place the user (from Active Directory) into a specific group-policy, which you can then limit URL's shown with the url-list command.
Long winded, I know...any questions, please ask.
Maybe you are looking for
-
Problem retrieving javabean instance from request in JSP
I am using WSAD and I created a javabean called confirmBean in default package which contains two private properties fname, lname and public setters and getters In a servlet I placed values in the bean, then placed the bean in a request and then forw
-
I created podcasts using GarageBand and added artwork as chapters to the audio naration. In the old iTunes they would show up as seperate large screenswhich could be easily read by other on a large monitor. While they can be seen as tiny pictures wh
-
Where is the best place to set the path with Application.cfc?
Hi! When I used Application.cfm, I set many path variables here so I don't have to keep writing a full path on many of the templates repeatedly. So I did: <CFSET FileArchives = "/space/users/www/FileArchives/#session.Groups#/"> <CFSET GoodFiles = "/s
-
Hello,In my overview when I click the button to go to another page of my website , it shows me a blank page after you or may come this bug ?
-
Puppet Tool in After Effects 7.0?
Hi Everyone, I have a question for you. I am trying to create a 2D animation with after. I want it to look like tradional hand drawing animation. I have a character to animate and I wanted to use the puppet tool. The thing is that I have After Effect