Dynamic TabbedPanels Content
Hello,
Can uuuuuuuuuuuuuuuuuuuuu helpppppp mmmmmmmmmeeeeee
pleeeeeeeaassssssssssseeeeee ?
I want to make my TabbedPanels dynamically.
For example after every 3 seconds the tab and the
TabbedPanelsContent changes automatically. It's the same principle
of the Gallery.
Is there a solution ?
Thank u very much.
Alderaan,
Have you looked at Content Areas? They would be good for self service management of content.
Have you looked at some of the content providers for Oracle9iAS Portal? They have dynamic data content portlets available. http://www.oracle.com/portals/partners.
Rich
Similar Messages
-
Dynamically Updating Content Server Portlets
[urlHi, I am currently having difficulty dynamically updating content server portlets. I have a portlet of the following form:[/url]
ArticleName Author Title Date mystory author1 title1 04/05/01
story2 author2 title2 06/07/04
story author3 title3 01/02/03
So I have this table where each one of the line items is an article in the content server. So, for example the first line item is an article "mystory" by "author1", with title "title1" and date "04/05/01" additionally there is an article text field, but this isn't displayed unless I click on the article name.
I can set up the basics of this portlet, but when I try to add any real functionality I run into one of two problems.
First Problem: Passing Information
I cannot find a way to pass information between content portlets. For instance, if the user would like to "re-sort" this table based on "date", I would like to have the user click on the "date" column heading and then reload the page. To do so, I would have to pass the section name back to the page so that it could resort based on this data. I have not found anyway to effectively pass information to a content server portlet. I am building these pages through use of the presentation template framework (so I can have access to the content items) but that seems to change the way portlets are handled.
I got around this limitation with a regular portlet by creating an intermediary page which captures passed information and stores it to the session state. Once the information was in the session state, it is accessible to the portlet on the first page. However, this only works because remote portlets do not change their session id once loaded. Content Server portlets, on the other hand, change their session id after every reload of the browser or page change. I can send information from a content server portlet to an intermediary page, but I cannot send it back to the portlet because the session id has changed so I have no idea of knowing where to send the information. I can write it to a session state, but by the time I return to the portal page, the content server has changed its session id so it does not know where to look any longer.
I suppose it would be possible to create an application state variable and append it with some static token (if there is some static variable per portal session) but I would rather not have to deal with application variables if at all possible.
Second Problem: Dynamically Updating PCS Tags
Even if I were able to the pass information back to my content server portlet, I run into another issue. The easiest way to sort content server items is using the filter command in the pcs:foreach tag. So, if I wanted to sort by author name, I could do something like the following <pcs:foreach var="item" expr="filter(folderByName('content'), filtered.name == '"name")" or something like that (the syntax may be incorrect, I just wrote this off the top of my head). However, it appears that the way the presentation templates are compiled goes in the order of PCS tags THEN JSP. So I would have no way of dynamically changing the variable on which I sort. For example, if I clicked on "Date" above in my table, I would like to be able to dynamically change my code so that I sort on date, and not name. I cannot find a solution to this problem.
My workaround is to use the pcs tags to write out all the possible sortings to java array objects. This gives me access to the data on a JSP level and based on whatever the user will chose, I could then display that array. While this works, it is extremely ghetto and inefficient. Any help or suggestions would be fantastic.
Thanks a lot,
Jason GrauelYou can use just about any javascript you want in any Content Server presentation template including ones that are used for portlets.
However, you should be careful to name javascript functions and global variables uniquely so that they do not conflict with any other javascript on the page. To do this, you can append the item id to function and variable names, for example,
function doSomething<pcs:value expr="pcs_id"></pcs:value>() {
return true;
Randy -
Read Dynamic Selection contents of a Variant for QE51N
Hi Folks,
Need your help here !
In my report, I wish to read the Variants along with their contents created for transaction QE51N.
I tried using function module RS_VARIANT_CONTENTS and its working good, but not to my requirements. The function module returns only the selection screen contents of a given variant. It does not return the contents in 'Dynamic Selection' (Free Selection).
I read somewhere that the function module returns dynamic selection contents only if the report use Logical Database. To my understanding, the program for QE51N (SAPLQEES) do not use LDB.
So is there any way by which I can get dynamic selection contents of a variant?
Any suggestions / pointers would be a great help.
Thank you.
Regards,
Sud.Hi,
Did you find somethings? I have the same issue.
I would like to add some new fields on Dynamic Selection screen of QE51N.
Thanks in advance.
KR,
Arnaud -
Dynamic web content base on 9i/10g database
dear all,
i need to find sample of build dynamic web content base on
9i/10g database. i remember otn have a sample for dynamic
web content. but not found in sample code at otn now.
who can tell me where can find it ?
best regards
borisSee the last section of this link. You will get version specific information.
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1013164 -
hello can somebody help me with adobe air + html how to make
link to open in system external web browser in dynamic generated
content?window.runtime.flash.net.navigateToURL(new
window.runtime.flash.net.URLRequest("path to a file where you wrote
dynamic content")) -
Help! dynamic page content - how to handle?
Hi !
How do I handle dynamic page content, where for example my jsp page does a post and updates some data, and I dont want the user to use "back" button to go back onto it.
Hints appreciated
Cheers
SteveYes, you can create links for columns in the sql query of a portal report using htf.anchor/htf.anchor2 or just put in your own html code between single quotes. See the [PL/SQL Web Toolkit|http://download-west.oracle.com/docs/cd/B14099_10/web.1012/b15896/toc.htm] for info on the HTF package. There is also a portal Link component which can be created separately and then selected for use on a column in a portal report.
-
Dynamic HTML Content in iFrames of a BSP application
Hey Folks,
I am currently having to build a context sensitive URL, which is built dynamically and accordingly load the page within a given view during runtime. The URL points to a simple HTML page.
The application whcih is embedded in the view is a BSP application. The BSP application comprises of an iFrame which should hold the value of the URL built, within the attribute "src". Is there a way in which the value of this attribute "src" of the tag "iframe" can be populated during runtime for BSP applications?
Please do let me know of your thoughts on this.
Thanks and Best Regards,
Puja.@Rodrigo,
Did you make sure you have included the end tag </iframe>? am not sure about this, but maybe you would need to include the htmlb page extension too?
<%@ extension name="htmlb" prefix="htmlb"%>
@Others,
My problem is that the BSP in question has been generated by a framework, the content of which i need to tweak programatically.
I forgot to make a mention of the crutial aspect that, the Page Type of my BSP application is 'View'. I could have used the oninitialization event to my convinience , had the page type of the application been 'Page with Flow Logic'. I do not have the various event processing options such as 'onInputProcessing' or 'OnInitialization' or 'OnLayout' here which I can work upon.
Has any body worked with BSPs of type 'View'. Any help would be much appreciated.
Thanks and Best Regards,
Puja. -
Print Specific Frames and Dynamic XML content
Hello, I am trying to print specific frames of my Flash movie
with the dynamic text loaded from an XML file. The code below only
prints the current frame I am on and does not print the XML text.
The dataOK that is commented out is a function I have before that
loads the XML content. The XML content is loaded to dynamic text
boxes. Any help on this would be greatly appreciated.I am still having difficulty loading the XML data and the
frameNum parameter does not seem to work. Argghhhh....
function printTut(myevent:MouseEvent):void{
var myPrintJob:PrintJob = new PrintJob();
var mySprite:Sprite = new Sprite();
var printArea:Rectangle = null;
var options:PrintJobOptions = null;
var frameNum:int = 2;
mySprite.addChild(stage);
mySprite.rotation=90;
mySprite.scaleY=.80;
mySprite.scaleX=.80;
myPrintJob.start();
myPrintJob.addPage(mySprite,printArea,options,frameNum);
myPrintJob.send();
print_btn.addEventListener(MouseEvent.CLICK,printTut); -
Dynamic html content in a movie?
Hi,
Can someone tell me if it's possible to dynamically load a
HTML file into a flash movie without opening the content
into a separate browser window? i.e. Load the HTML into a
container in the movie window itself. The actual HTML file name
itself could be hardcoded in the movie if that helps...
I'm totally new to Flash and Action Script but am a
developer, so will understand if you can even just point me to an
API.
Thanks in advance.
BrianNo. You would have to parse the html using the xml class (for
instance). Or use an extension (search for tablemaker) that does
the parsing (with restrictions like content can only be in one
table). By itself Flash only supports a small subset of the html
tags. You could use an IFrame but that is pretty much asking for
trouble. And, Flash isn't a browser... -
Dynamically load content into a "template" swf from text file
I have a dream....
Well, I have a concept. I have not actively pursued Flash in
several years, though I've continued to have it in my arsenal. I've
not done much in the action scripting realm for a while though.
I am trying to create a template that will be used for about
100 different product pages.
It would have two tabs, basically, 2 different graphical
button sets. One will have up to 4 links to similar products, each
tab will be on the side of a square, and I need the ability to not
display a tab if there is no actual link.
As for the other tab, Its a menu that consists of a series of
lines. This can be an external menu, I just need a way to have
flash load the right menu. This menu, when you mouse over a line,
the name of the product appears, as well as a product image that
gets loaded with the menu. The product images would be external,
allowing me to simply replace an image if a new higher end version
of the product comes out.
So, I am totally not an actionscripter. Looks like I need to
load variables from an external file. Can I set a property in the
flash code on the html that tells the movie what dataset to grab
from?
Here's basically what I am looking for
property: value
(load variables for:)
item: 44
(menu1)
faster: 54b.html
slower: 34d.html
left: 43d.html
right: 45c.html
(menu2)
menu:graph5.swf
(menu loads images from external source)
link51: 51d.html
link52: 52c.html
link53: 53c.html
link54: 54d.html
link55: 55b.html
link56: 56d.html
A possible third menu would be text driven, and would use
html to link to various items.
This is a static site, so urls will be fixed.
Is it best to build a php page that serves up data for a
single item, or do one big text file with all 100 or so items? Is
that even possible?
My Flash since MX is very rusty. I am using Flash Pro8. I
would love to create a single file so modifications are to the text
files, unless a new item is released, then it's updating a single
flash menu and updating the text file.
Been spending way too much time in InDesign lately! I used to
be pretty good at Flash!well sorry there fanmap - but I don't think you're going to
be able to get this to work. here's why: the link points to a php
file - which gathers dynamic info from a DB - the return from the
php is generating a string that is based on the DOM and
'constructs' a javascript method that in turn writes to the html
document. although we can embed html into a textField in Flash
there are a limited number of supported html tags - and JS methods
will not operate internally. in addition, (i'm not certain someone
correct this if i'm off) there's no way to 'change' the output of
the php call, therefore you will not be able to read the return
because it is designed to use the DOM and write solely to the
current document. Even if you were to access the JS method from the
swf file (which one can) it will still only write the content of
the php return to the html document - and the output is not
compatible with the textField class. -
I maintain about 6 webpages for my church and updating has
become quite burdensome. Can someone point me in the right
direction or give me the instructions to add dynamic content to my
webpages. What i'd like to do is have various people able to edit
certain text fields on teh page and it update to the page
automatically so that I do not get stuck always having to update
pages. I know this can be done, and is probably not too difficult
but I can't seem to find a good tutorial anywhere. Any help is
appreciated. Thanks.Maybe try Contribute....
Dan
fbcojman wrote:
> I maintain about 6 webpages for my church and updating
has become quite
> burdensome. Can someone point me in the right direction
or give me the
> instructions to add dynamic content to my webpages. What
i'd like to do is
> have various people able to edit certain text fields on
teh page and it update
> to the page automatically so that I do not get stuck
always having to update
> pages. I know this can be done, and is probably not too
difficult but I can't
> seem to find a good tutorial anywhere. Any help is
appreciated. Thanks.
> -
Dynamically load content by date using xml
i would like to load content by date using xml. meaning if i
have 5 upcoming social events listed, i want them to dynamically
drop off from my webpage as the event date passes. i would like to
use the built in spry xml dataset functionality, but don't have to.
i can't seem to find a way to get the server date and then compare
it to a date in a xml node. this seems simple, but i can't seem to
find a tutorial that does not get crazy with all kinds of
code.Have the column headings (which the user clicks to sort by
that column) as
links back to the main page, with the sort as a url parameter
eg
www.mysite.com/mypage.php?sort=name
www.mysite.com/mypage.php?sort=date
etc
Then in your recordset, change the code from
$sql = "SELECT * FROM table ";
to
switch($_GET['sort']){
case "date":
$sql = "SELECT * FROM table ORDER BY date DESC";
break;
case "name":
$sql = "SELECT * FROM table ORDER BY name DESC";
break;
You`ll need to change the above to suit your needs obviously,
but the above
shows the principles that you need to use.
So you use the same page for each sort, but the SQL to
retrieve the records
in the order you want changes dynamically.
Gareth
http://www.phploginsuite.co.uk/
PHP Login Suite V2 - 34 Server Behaviors to build a complete
Login system. -
I'm currently displaying a Flash Video (instance name = vid)
through a movie clip (instance name = top) in my FLA with this
actionscript:
top.vid.contentPath = "0207.flv";
It works fine. But now I need to figure out how to make the
content path dynamic. A variable will be added to the SWF's parent
HTML file like this:
<param name="movie" value="test.swf?videoDate=0207" />
The goal is to make an SWF file that can play any FLV file
based on the value of the videoDate variable. So if videoDate=0207,
then the SWF will play 0207.flv. If videoDate=0307, then the SWF
will play 0307.flv. And so on.
I can see how this should work, but I'm just not enough of an
actionscript badass to know exactly how to code it. In plain
English, I think I need something like this:
videoArray = value of videoDate variable from HTML + .flv
extension
top.vid.contentPath = videoArray
Any help would really really be appreciated.videoArray = videoDate + ".flv";
-
Hi All,
I have a tabNavigator with only one tab and i am creating a new tab whenever user clicks “Add New Tab” button.
I want to create a DataGrid inside the newly created tabs. I have created a grid.mxml file which contains my DataGrid .
Now the problem is how to include grid.mxml as a tab content?
can anyone please help me with this?
Thnaks in advance
JavedHi Otto,
The view usage name is the name of the view suffixed with '_usage_1'.
eg: if your static view name is 'V_STATIC' then the view usage name would be 'V_STATIC_USAGE_1'.
if you want to navigate to the view automatically then use the method do_dynamic_navigation, however this shouldn't be used within the method wddomodifyview( ).
if you are using prepare_dynamic_navigation( ) then the outbound plug needs to be fired explicitely.
Hence you can save your view reference as a global attribute the first time the application is loaded and later on use it in any method to create dynamic ui elements and finally call the method do_dynamic_navigation, in this way we wouldn't be doing navigation from within wddomodifyview.
Regards,
Shweta -
Can you Make Dynamic Email Content by Open Time?
Not by send time, but dynamic content by open time? For text in a email.
Is there javascript that can do this?
Thank youI'm not an expert, but I know third party java script tends to be disallowed by most email providers. ReturnPath or Litmus might have wise guidance here.
Ian
Maybe you are looking for
-
How can I pre-define the default selection in a SelectOneChoice?
How can I pre-define the default selection in a SelectOneChoice? (1) Here's my JSF-code: <af:selectOneChoice label="#{res['usercreate.input.sex']}" value="#{bindings.Sex.inputValue}" binding="#{SelectListBean.sexlist}" readOnly="false" autoSubmit="fa
-
Fiscal Month/Year Date Calculations
Hi Gurus, I am trying to create a fiscal year and fiscal month offset using filter advanced SQL in answers. The “Offset” should allow to define a period of time + or – from a given starting point in order to report on a period of time. For example th
-
How to add page numbers (centred) at the foot of a page?
Even this is confusing! I typed my question hit return and was told I couldn't post a blank message. How do I post my message? I simply want to know how to add a page number at the foot (centred) of a page. Oh! Great! Now I see, I should have known t
-
Username and password for iSQLPLUS
The username and password combination I used for SQLPLUS does not work for iSQLPLUS. Why? how to fix it? I'm using 10g database. Any body can help? Thank you Alex
-
Video tutorial on changing the colour within a clip on Pr CC
Evening again, Please, would someone help me. The other day I watched a clip narrated by a women who took you through how to change the colour within a clip using a scene from someone surfing - turning the murky water into a deep blue colour. I'm dea