Loading swf from database
well, the question is - is this possible - storing a swf as
binary data in a n online db (nt not a ref to it), then sending a
query and recieving the swf with out it actually being written to
disk
what's your url?
Similar Messages
-
Issue to load data from database to XML file. error: ODI-40768
Hi,
While I am trying to load data from database to XML following error is appearing.
ODI-1228: Task TEST_XML_DATA (Integration) fails on the target XML connection MyLOCALXSD.
Caused By: java.sql.SQLException: ODI-40768: Could not save the file <default>:C:\DATA_FILE\www.xml because a class java.io.IOException occurred and said: The filename, directory name, or volume label syntax is incorrect
at com.sunopsis.jdbc.driver.xml.SnpsXmlFile.writeToFile(SnpsXmlFile.java:751)
at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.internalExecute(SnpsXmlConnection.java:769)
at com.sunopsis.jdbc.driver.xml.SnpsXmlPreparedStatement.execute(SnpsXmlPreparedStatement.java:46)
at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:166)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
at java.lang.Thread.run(Thread.java:662)
jdbc url: jdbc:snps:xml?d=C:\test_xsd.xsd&s=TESTSQL&re=employeesX&ro=true
physical schema: TESTSQL
Knowledge modules are:
LKM: LKM SQL to SQL
IKM: IKM XML Control Append
CKM: CKM SQL
Parameters set are:
CREATE_XML_FILE: true
XML_PATH:<default>:C:\DATA_FILE\www.xml
I have tried to change the directory path but error is still there.
Could some one please help me to resolve the issue?
Regards,
user1672911Hi,
The trouble in "<default>:" - if you set XML_PATH as C:\DATA_FILE\www.xml instead <default>:C:\DATA_FILE\www.xml- it will work correctly.
Greetings,
Eugene -
How to effectively remove a loaded SWF from the stage?
I can not figure out a proper coding to remove a loded SWF from the stage.
Here is my set up.
I have a layout segmented into labeled section. In the section labeled "products" I have a layout consisting of product images acting as buttons which bring a user to another labeled section "prdctsPopUps"
In the "prdctsPopUps" section I have placed an instance of LoaderMax placed into an mc container. Placing LoaderMax into an mc container automatically resolved an issue of clearing loaded SWFs from stage when I come back to "products" section.
I specified the variable in the "products" section with the following set up:
var sourceVar_ProductsPopUps:String;
function onClickSumix1PopUp(event:MouseEvent):void {
sourceVar_ProductsPopUps="prdcts_popups/sumix1-popup_tl.swf";
gotoAndPlay("prdctsPopUps");
So each button has its own "....swf" URL and they all open fine and I can come back to "products" section without any issues.
However inside the swf (which loads through LoaderMax which is placed into an mc) there are other buttons which bring a user to labeled section "xyz". Which also functions properly. It opens as it is supposed to be and without any previously loaded "...swf" on the stage.
At the labeled section "xyz" there is a limited set of buttons repeating from section "products" which has to bring a user back to the same set up in the "prdctsPopUps" labeled section and open a corresponding "...swf" .
However only the last opened "...swf" will appear in that section. Effectively the one which was originally opened from the "prdctsPopUps" section and not the one which was supposed to be opened from the "xyz" section.
I can not understand why it would work from one labeled section and not from another. I can not figure out on which section which code/function needed to be placed.
Here is the set up from a button from the "xyz" section whcih supposed to bring a user to the same "prdctsPopUps" section but to load a different "...swf"
var sourceVar_ProductsPopUps_fromXYZ:String;
function onClick_floralytePopUp_fromXYZ(event:MouseEvent) :void {
sourceVar_ProductsPopUps_fromXYZ="prdcts_popups/floralyte-popup_tl.swf";
gotoAndPlay("prdctsPopUps");
Here is the code set up for the LoaderMax from the "prdctsPopUps" section:
var loaderProductPopUps:SWFLoader = new SWFLoader(sourceVar_ProductsPopUps,
estimatedBytes:5000,
container:holderMovieClip,
onProgress:progressHandler,
onComplete:completeHandler,
centerRegistration:true,
alpha:1,
scaleMode:"none",
width:540,
height:730,
crop:true,
autoPlay:false
function progressHandler(event:LoaderEvent):void{
progressBarPopUp_mc.gradientbarPopUp_mc.scaleX = loaderProductPopUps.progress;
function completeHandler(event:LoaderEvent):void{
var loadedImage:ContentDisplay = event.target.content;
TweenMax.to(progressBarPopUp_mc, 1.5, {alpha:0, scaleX:0.25, scaleY:0.25});
loaderProductPopUps.load();
Is there something which needs to be imported, or specific function needs to be specified in a specific labeled section?actually, i think you'll need to use something like:
var loaderProductPopUps:SWFLoader;
if ((loaderProductPopUps){
if(loaderProductPopUps.content)){
loaderProductPopUps.unload();
loaderProductPopUps= new SWFLoader(sourceVar_ProductsPopUps, //the value of sourceVar_ProductsPopUps allows to load mulitple SWFs from the products page.
estimatedBytes:5000 ,
container:holderMov ieClip,// more convinient and easier to manage if to place the LoaderMax into an empty mc (holderMovieClip)
// if not will work as well. Then the line container:holderMovieClip, has to be replaced with container:this,
// can be any size, can not be scaled as it distorts the content
onProgress:progress Handler,
onComplete:complete Handler,
centerRegistration: true,
//x:-260, y:-320, //no need for this is if used: centerRegistration:true,
alpha:1,
scaleMode:"none",
//scaleX:0, scaleY:0,
//vAlign:"top",
width:540,
height:730,//scales proportionally but I need to cut off the edges
crop:true,
autoPlay:false
function progressHandler(event:LoaderEvent):void{
progressBarPopUp_mc.gradientbarPopUp_mc.scaleX = loaderProductPopUps.progress;
function completeHandler(event:LoaderEvent):void{
var loadedImage:ContentDisplay = event.target.content;
//TweenMax.to(loadedImage, 1.5, {alpha:1, scaleX:1, scaleY:1});//only need this line if corresponding values are changed in SWF loader constructor
TweenMax.to(progressBarPopUp_mc, 1.5, {alpha:0, scaleX:0.25, scaleY:0.25});
loaderProductPopUps.load(); -
How to enable Load Roles from database in workflow builder
Hi,
I am new to workflow.
In the wrokflow builder, How to enable file -> Load Roles from database.
I am working on workflow builder2.6.3.5.
Thanks & Regards,
Bharathi.SYou have to connect to database to load roles. File --> Open --> Database, then select the workflow.
Then load roles, then save to database.
The save as to .wft file and work on for customizations. -
SAP Add On: How to load data from database to a matrix
I am making a payroll application add-on for SAP Business One. I have made a form using screen painter and wanted to know how one goes about loading data from a database into the matrix columns.
My matrix has 6 columns and have called the items;
public void DeclareColumsInMonthlyMatrix()
SAPbouiCOM.Item oItem = null;
// Adding the Monthlymatrix Elements
oItem = _form.Items.Item("matMonthly");
oMatrix = oItem.Specific;
oColumns = oMatrix.Columns;
oColumn = oColumns.Item("mPayYear");
oColumn = oColumns.Item("mMonth");
oColumn = oColumns.Item("mStartDate");
oColumn = oColumns.Item("mEndDate");
oColumn = oColumns.Item("mPayStatus");
oColumn = oColumns.Item("mTaxMethod");
I have retrieved the appropriate data from the database using LinQ to SQL and I have:
// Populate the Monthly Period Data Grid View
var monthlyPeriods = Program.Kernel.Get<IMonthlyPeriodService>().GetAllMonthlyPeriods();
monthlyPeriods = monthlyPeriods.OrderBy(x => Enum.Parse(typeof(MonthsOfAYear), x.Code, true));
The corresponding field names in the database for the 6 columns are:
U_Payroll_Year,
U_Month,
U_Starting_date,
U_Ending_date,
U_Pay_Process_Status,
U_Tax_Method
I was previously using C# .Net win forms and was using a datagrid and bindingsource which was easy by using the code
// Populate the Monthly Period Data Grid View
var monthlyPeriods = Program.Kernel.Get<IMonthlyPeriodService>().GetAllMonthlyPeriods();
monthlyPeriods = monthlyPeriods.OrderBy(x => Enum.Parse(typeof(MonthsOfAYear), x.Code, true));
monthlyPeriodBindingSource.DataSource = monthlyPeriods.ToList();
How do I achieve the same in SAP? How do I get the returned results from monthlyperiods to map over the appropriate columns in my matrix?Hi Nor,
you could build a function which is able to generate a list of koordinates from your geometry.
The file generated will be a character-separated list.
This list will be generated by using a simple select statement like this:
<font color="FFFF00">
select obj_id, mysdo_koo2list(geometry) from my_geotable where ... ;
</font>
the function mysdo_koo2list(..) have to be built by you first.
<em>create function mysdo_koo2list ( gc sdo_geometry) return varchar2 as
line varchar2(4000);
n number;
ordinate number;
begin
line:= ''; n := 0;
for ordinate in gc.sdo_ordinates.FIRST .. geom.sdo_ordinates.LAST
loop
line := line||to_char(geom.sdo_ordinates(ordinate), '9999999D999');
if ( mod(n,2) = 1 ) then
line := line||chr(10);
else
line := line||',';
end if;
n := n +1 ;
-- exit when n >330;
end loop;
return (line);
end;
</em> -
Could someone show me how to load swf file from a link on a
tree node? The tree would come from embeded xml.
ThanksI am getting 1034 Type coercion error. I have Googled it this
error must have hundreds of links. Is it a bug in Flex 3? Here is
the code. The problem only occurs when I link to a swf.
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="vertical"
verticalAlign="middle"
backgroundColor="white">
<mx:Script>
<![CDATA[
import mx.events.ListEvent;
import mx.managers.*;
import mx.flash.*;
import mx.controls.treeClasses.*;
private var t:Tree;
private var dataObj:Object;
private var suffix:String;
private function tree_itemClick(evt:ListEvent):void {
var t:Tree = evt.currentTarget as Tree;
var dataObj:Object = evt.itemRenderer.data;
if (dataObj.hasOwnProperty("@src")) {
swfLoader.source = dataObj.@src;
} else if (t.dataDescriptor.isBranch(t.selectedItem)) {
swfLoader.source = null;
panel.status = "";
private function tree_labelFunc(item:Object):String {
var suffix:String = "";
if (tree.dataDescriptor.isBranch(item)) {
suffix = " (" + item.children().length() + ")";
return item.@label + suffix;
private function swfLoader_complete(evt:Event):void {
panel.status = (swfLoader.bytesTotal/1024).toFixed(2) +
'KB';
]]>
</mx:Script>
<mx:XML id="dp" source="data/dp.xml" />
<mx:HDividedBox width="100%" height="100%">
<mx:Panel width="200" height="100%">
<mx:Tree id="tree"
dataProvider="{dp}"
labelFunction="tree_labelFunc"
showRoot="false"
width="100%"
height="100%"
itemClick="tree_itemClick(event);" />
</mx:Panel>
<mx:Panel id="panel"
width="100%"
height="100%"
backgroundColor="white">
<mx:SWFLoader id="swfLoader"
scaleContent="true"
width="100%"
height="100%"
complete="swfLoader_complete(event);"/>
<mx:ControlBar>
<mx:LinkButton label="{swfLoader.source.toString()}"
/>
</mx:ControlBar>
</mx:Panel>
</mx:HDividedBox>
</mx:Application> -
Unable to load swf from different domain through html wrapper in Chrom
Hi All,
I am trying a embed a swf from different domain. My html wrapper was in one domain and swf was in another domain. I have embedded the swf into the html wrapper. When i run the html file it is loading the swf in firefox and working fine. But when i try to run the same html in chrom or IE the swf is aborted. I have crossdomain.xml file in both the servers which is also allowing both the domains. I was not able to figure out the issue. Can anybody help on this.
regards,
Jayagopal.Are you getting any errors or warnings?
-
Controlling loaded swf from main timeline
Hello,
I'm working on loading external swf files for ios. I am able to load the swf files and set them to visible or invisible in different frames. I am having trouble controlling the loaded swf files from the main timeline. Specifically, I would like to have a button on the main timeline, that when clicked will move a loaded swf to frame 1.
Here is a code that loads one swf file:
var myLoader1:Loader;
var loaderContext1:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
if(myLoader1 == null)
myLoader1 = new Loader();
addChild(myLoader1);
myLoader1.load(new URLRequest("folder/file1.swf"),loaderContext1);
myLoader1.visible = true;
backbutton.addEventListener(MouseEvent.MOUSE_DOWN, backbutton1);
function backbutton1(myEvent:MouseEvent):void {???????????? myLoader1.gotoAndStop(1);} (this line does not work)
(Once I load file1.swf, within the file1.swf I click a forward button to move to different frames. My question is: how do I code the 'backbutton' on the main timeline so that it causes the loaded file1.swf to go to frame 1?)
Thank you for your help.sure.
if the movieclip on the loaded swf's main timeline has reference mc, you would use:
MovieClip(myLoader.content).mc.gotoAndStop(1);
p.s. you might find the following helpful, http://kb2.adobe.com/community/publishing/918/cpsid_91887.html -
Flushing loaded swfs from stage target mc?
Hi, I'm using buttons to send the playhead to frames in which swfs are then loaded into an otherwise blank movieclip called "stage_target_mc" ...how can I then flush out the previously loaded swf so only a newly loaded swf displays in "stage_target_mc"? For example, after clicking upon the 'about' button the 'about' swf loads...then if the 'concepts' button is clicked the 'concepts' swf loads -- but the previously loaded 'about' swf still plays...I would like to be able to flush the 'about' swf so only 'concepts' is display, in this example. Thanks!
code associated with buttons used to send playhead to frames "concepts" or "about":
about_btn.addEventListener(MouseEvent.CLICK, displayAbout);
function displayAbout(e:MouseEvent):void {
root.gotoAndStop("about");
concepts_btn.addEventListener(MouseEvent.CLICK, displayConcepts);
function displayConcepts(e:MouseEvent):void {
root.gotoAndStop("concepts");
code on frame called "concepts":
stage_target_loader.load(new URLRequest("swfs/stages/concepts.swf"));
MovieClip(root).stage_target_mc.addChild(stage_target_loader);
code on frame called "about":
stage_target_loader.load(new URLRequest("swfs/stages/about.swf"));
MovieClip(root).stage_target_mc.addChild(stage_target_loader);Before loading, try using the unloadAndStop() method of the Loader class if you are using a newr version of Flash
-
Can't stop loaded .swf from looping
I have a loaded .swf that has the necesary stops to just play once and stop. It works when testing the movie, but once uploaded to the server, it loops forever, any ideas, I am using ActionScript 2.0
it works when tested in HTML browser, but not when uploaded to server
-
How to Load Values From Database on page load?
I am sure this is easy but... I have a website that lists products similar to the way Amazon lists them. Each product is listed in a separate HTMP table cell complete with Product Name, Desciption, Image and Pricing. Any given product will appear on many different pages within the website. I have a mysql dtabase that has columns that define the primary key, the Product Name, the Product Description and Pricing. I was hoping to use the Dremaweaver Recordset to load the correct pricing and product description for each product on any given web page at the time the page is loaded by the user. Surely I must be able to run an SQL query based on a hiiden vale (e.g. the primary key or name of the product) in order to fill in the correct descriotion and pricing. Am I on the right track or is there a better way to do this? Put another way, how do you load your product data from a database onto a web page without using URL paraneters?
Yes, you are on the right track. Besides URL parameter you can filter a recordset with a session variable, cookie, or entered value.
-
Could not load data from database after adding a query
Dear all,
I have a working crystal reports 2011 report. This report get its data from a BW 7.01 system provided by three bex queries. Everything works as expected but not I have to add a fourth query to the report then I get the following messages:
I try to translate it because I user the german version:
INFORMATION: In this report a stored procedure is used. Ensure that no SQL expression was added and no grouping on server side will be done.
WARNING: Data could not be load from the database.
WANING: Invalid argument provided. Details: The key figure structure isn't a valid field for report generation. Use instead the real keyfigures with teir units.
Has anyone an idea what can be the reason for my issue?
Thanks and regards!hi Gerrit,
a couple of questions...
1) are you adding all 3 queries (and then the 4th) in the same data connection or are each of these additional queries in a subreport?
2) if all 3 queries (and then the 4th) are in the same data connection are you linking them?
3) most importantly, if you create a brand new report off of the 4th query, is it successful?
it's been quite a while since I've worked with bex queries but in general adding multiple queries (or stored procs or commands or combinations thereof) to the same report is probably not a good idea. there ends up being a lot of processing happening in the crystal reports designer itself as a large virtual record set is created by the individual queries.
-jamie -
Hi all,
The structure of my application is :
- a flex client
- a tomcat server
- a mysql database
I use hibernate to retrieve my objects from the database.
I'm trying to have the flex client display images loaded at
runtime from the database. Those images are stored as byte arrays
(byte[]) and were produced in java with the following type of code
: ImageIO.write(myBufferedImage, "PNG", myByteArrayOutputStream);
so those byte arrays pretty much represent the content of a png
image file.
Is there any chance I might be able to produce a BitmapData
out of the ByteArray instance I'll retrieve on the flex side or
should I rely on some kind of a decoder ? Another solution could be
to rewrite my storing mechanism but I'm trying, as much as
possible, to avoid having to modify my current database content ;)
Thanks in advance,
Pierre.Thanks for the quick response.
quote:
Yes. Sure, this should work. Have you tried it? Are you
having any problems?
Actually, I haven't.. yet (I'm currently migrating this
project from echo2 to flex and I haven't reached the point where I
can really test anything). I should be able to create a prototype
quickly though ;) .
quote:
Easiest check would to start off with <Image> component
and set it's url to the servlet that's pumping image bytes and see
if it displays it right. ATTA
Good idea... Thanks for the pointer. My first intention was
to directly use the ByteArray retrieved through FDS to create some
kind of an image, client side but, as you mentioned Image, I read
through the code of both this class and its parent class SWFLoader.
It turns out that this class relies on the use of a Loader
(couldn't find the source ;( ). It's kind of a pity that there
should be no obvious means to directly feed the Image instance with
the content (or the Loader, if that's where the PNG decoding
occurs) through a ByteArray format. Anyway, your suggestion of
creating a Servlet to retrieve the image content is indeed a good
idea. I should be able to store some kind of an image id in my
object that I could use as a parameter of the servlet's url. So
much for trying to leave my current database intact but I can't
think of any other way, considering my very small current knowledge
of the whole flex framework.
Thanks again for the tip. I'll come back later on with the
results of my tests...
Pierre. -
Multiple MovieClips Loading SWF From Same Array (Posted Code)
Hey there,
I'm currently working on a project that has eight separate movieclips (for loading content) on separate layers. I have placed code in these mc's to randomly draw from the same array of 61 different swf's. Each mc randomizes the array just fine, but here's the problem. The code works great for one instance, but as soon as I add the code (including renaming) to the other mc's, the swf won't load/play. I am not getting an compiler errors, and am kinda stuck as to what the problem may be. Here's an example of the code I'm using. It is the same for each mc, except I'm renaming the variables as well as the instances for each mc. Thanks for any suggestions.
Mike
//filename = new Array("screen1.swf","screen2.swf","screen3.swf","screen4.swf","screen5.swf","screen6.swf" ,"screen7.swf","screen8.swf","screen9.swf","screen10.swf","screen11.swf","screen12.swf","s creen13.swf","screen14.swf","screen15.swf","screen16.swf","screen17.swf","screen18.swf","s creen19.swf","screen20.swf","screen21.swf","screen22.swf","screen23.swf","screen24.swf","s creen25.swf","screen26.swf","screen27.swf","screen28.swf","screen29.swf","screen30.swf","s creen31.swf","screen32.swf","screen33.swf","screen34.swf","screen35.swf","screen36.swf","s creen37.swf","screen38.swf","screen39.swf","screen40.swf","screen41.swf","screen42.swf","s creen43.swf","screen44.swf","screen45.swf","screen46.swf","screen47.swf","screen48.swf","s creen49.swf","screen50.swf","screen51.swf","screen52.swf","screen53.swf","screen54.swf","s creen55.swf","screen56.swf","screen57.swf","screen58.swf","screen59.swf","screen60.swf","s creen61.swf");
//i = filename.length;
//k=random(i)
//_root.movieTarget.loadMovie(filename[k]);
//movieTarget._xscale=80;
//movieTarget._yscale=80;
var fileNames:Array = ["screen1.swf","screen2.swf","screen3.swf","screen4.swf","screen5.swf","screen6.swf","scr een7.swf","screen8.swf","screen9.swf","screen10.swf","screen11.swf","screen12.swf","screen 13.swf","screen14.swf","screen15.swf","screen16.swf","screen17.swf","screen18.swf","screen 19.swf","screen20.swf","screen21.swf","screen22.swf","screen23.swf","screen24.swf","screen 25.swf","screen26.swf","screen27.swf","screen28.swf","screen29.swf","screen30.swf","screen 31.swf","screen32.swf","screen33.swf","screen34.swf","screen35.swf","screen36.swf","screen 37.swf","screen38.swf","screen39.swf","screen40.swf","screen41.swf","screen42.swf","screen 43.swf","screen44.swf","screen45.swf","screen46.swf","screen47.swf","screen48.swf","screen 49.swf","screen50.swf","screen51.swf","screen52.swf","screen53.swf","screen54.swf","screen 55.swf","screen56.swf","screen57.swf","screen58.swf","screen59.swf","screen60.swf","screen 61.swf"]
fileNames.sort(function () {
return Math.round(Math.random());
trace("Random array: " + fileNames);
var currentMovieNum:Number = 0 ;
this.createEmptyMovieClip("container", _root.getNextHighestDepth());
var mcl:MovieClipLoader = new MovieClipLoader();
var mclListener:Object = new Object();
mcl.addListener(mclListener);
mclListener.onLoadInit = function(movieTarget:MovieClip) {
trace("Preparing to play: " + fileNames[currentMovieNum]);
movieTarget.loadClip(fileNames[currentMovieNum], container);
movieTarget._xscale=80;
movieTarget._yscale=80;
this.onEnterFrame = function() {
if (currentMovieNum == fileNames.length) {
currentMovieNum = 0;
} else {
if (movieTarget._currentframe == movieTarget._totalframes) {
mcl.loadClip(fileNames[currentMovieNum], movieTarget);
currentMovieNum++;Thanks for taking a look at this. The randomizer seems to work just fine, as here is a sample output from the trace:
Random array: screen47.swf,screen2.swf,screen57.swf,screen21.swf,screen9.swf,screen49.swf,screen36.swf, screen17.swf,screen6.swf,screen59.swf,screen15.swf,screen12.swf,screen33.swf,screen25.swf, screen42.swf,screen22.swf,screen24.swf,screen40.swf,screen11.swf,screen19.swf,screen32.swf ,screen35.swf,screen7.swf,screen39.swf,screen23.swf,screen4.swf,screen1.swf,screen48.swf,s creen31.swf,screen45.swf,screen29.swf,screen18.swf,screen51.swf,screen14.swf,screen34.swf, screen10.swf,screen38.swf,screen26.swf,screen16.swf,screen13.swf,screen55.swf,screen37.swf ,screen44.swf,screen61.swf,screen43.swf,screen20.swf,screen28.swf,screen30.swf,screen56.sw f,screen50.swf,screen54.swf,screen53.swf,screen46.swf,screen58.swf,screen41.swf,screen8.sw f,screen5.swf,screen52.swf,screen3.swf,screen60.swf,screen27.swf
Might you be able to lead me down a better path? I'm currently unable to get this to function for multiple symbols. The previous is the code that I've placed on the first keyframe of a movieclip with an instance name of movieTarget. Works swimmingly for one, but once the code is placed on the other symbols on different layers, it seems to only work on the lowest layer in the project.
M -
How to load values from database into the f:selectItems value attribute
Hi,
I am trying to load the drop down menu value i.e f:selectItems from the database with a list of values from a column in the databse table. how can i do this? Should i use binding? or is there any other way.
Note:i am able to load values into f:selectItems from the faces-config.xml file but they are static values. i want the values from the database
Please reply with sample codes of faces jsp, bean file and config.xml fileBut this is working for me,
JSF
<h:selectOneMenu value="#{loadbean.grade}" >
<f:selectItems value="#{loadbean.gradelist}" />
</h:selectOneMenu>
bean
private String grade;
private List<SelectItem> gradelist;
public String getGrade() {
return grade;
public void setGrade(String grade) {
this.grade = grade;
public List<SelectItem> getGradelist() {
return gradelist;
public void setGradelist(List<String> items) {
gradelist=new ArrayList<SelectItem>();
gradelist.add(new SelectItem("daniel"));//this value can be from data base
gradelist.add(new SelectItem("pspindia"));
gradelist.add(new SelectItem("prelude sys"));
faces-config.xml
<managed-property>
<property-name>gradelist</property-name>
<null-value/>
</managed-property>
this working fine for me. So setter method also works to load value for the h:selectItems
Thanks a lot.
Maybe you are looking for
-
Issue with access to itunes on other computers
i have itunes on 3 computers in my home wireless network. i wish to share the music in itunes from my main pc to my childrens computers in their bedrooms. When itunes is accessed, i can see the "library" appear in the left hand menu, but when "clicke
-
Have Pinned site shortcut open in full screen mode (not maximized)
Hello. I'm currently in the testing phases of migrating all of our users from a locally installed client version of their email to a web version of their email. I'd really like the webmail version to look more like an application than a website. I
-
HOW DO I GET MY OLD SET UP BACK AFTER HITTING THE RESET BUTTON AS A WAY TO GET RID OF OUTFOXTV? i HATE WHAT IT DID TO FIREFOX! bermea 2014-04-15 09:06:42.402830 Hi, no need to use caps. We can read. :P You can reset Firefox by following the instructi
-
Had a failed Firmware Upgrade on a Zen??? LOOK INSIDE FOR POSSIBLE
From the Nomadness.net forums: (I had the same problem and user inferno9 at those forums posted this which fixed my issues - hope it helps!) The problem was that I had formatted the dri've and attempted to reload the firmware, when, BOOM, the firmwar
-
Loading vst file in Elements 11
I was able to load TAL-Reverb-2.vst sucessfully in Elements 10 but have not had sucess yet in Elements 11. It is in the folder Adobe Premiere Elements 11/Contents/Plug-ins/en_US. This was the plugins log: Loading /Applications/Adobe Premiere Elements