Data access in List Based components
Hello ,
I am working with List Based components , List and a Combobox for practice purpose.
I had written a Event Listener as :
public function handleList(event:ListEvent):void
Why is that both of them are having two different ways of accessing Data .
event.itemRenderer.data.toString() is for List and
event.target.selectedItem.toString() is for ComboBox ??
and what i observered is that event.target.selectedItem.toString() is working for both of them , but event.itemRenderer.data.toString() is working with List only .
I am no real expert on this, but I think you may be a little confused, as I was when I first started learning Flex: the list is a control, the itemRenderer is normally a container – two different animals.
The itemRenderer is a property of the list and all of that renderer's data is available in a variable called 'data' – it does not have a selectedIndex or any of many properties that controls have.
HTH. Regards,
Carlos
Similar Messages
-
[svn] 4210: Enabled 3D effects support for Halo list based components.
Revision: 4210
Author: [email protected]
Date: 2008-12-01 15:35:46 -0800 (Mon, 01 Dec 2008)
Log Message:
Enabled 3D effects support for Halo list based components.
Added ArrayList to the MXML manifest, with source as defaultProperty, so it can be used from MXML.
Review: Glenn
QA: None.
Modified Paths:
flex/sdk/trunk/frameworks/mxml-2009-manifest.xml
flex/sdk/trunk/frameworks/projects/framework/manifest.xml
flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.asHi,
I met same issue when try RDP to the VM vai administrator account
please try this:
open Remote desktop connection, click "show options", in experience page, my default setting is "detect connection quality ...", change to "LAN (10 Mbps..)"; after
that I can connect to VM again...
hope will helpful for you ..
FYI;
http://social.technet.microsoft.com/wiki/contents/articles/16652.remotefx-vgpu-setup-and-configuration-guide-for-windows-server-2012.aspx
Andrew -
Create a workflow that pulls data from a list based on a person in the list and emails that person
I am trying to create a workflow in SharePoint 2010 using SharePoint Designer.
I have a list [ExceptionList] of users each associated with a sponsor. A sponsor can have multiple users aligned to them. I need to create a workflow which emails the sponsor with their associated users.
Example:
John, Bill, and Kelly are listed with Bob as their sponsor. I'd like an email sent that will pull the names of John, Bill, and Kelly into the email so that Bob can validate that he is still their sponsor.
I know how to create the basic workflow email, but am not sure how to pull in the related names into the body of the email. I assume I will need to build a string.
Anyone know how to achieve this?
Thanks in advance!Hi,
According to your description, my understanding is that you want to use workflow to send an email to the sponsor with the users’ names who are belonging to the sponsor.
I recommend to create another list to store the users’ names who are belonging to the sponsor and then email the sponsor with the values in the list.
In my test, I created another list called test list and created two columns: user(store users’ names) and Sponsor(store sponsor’s name). Fill the list with all the sponsors and leave user field as blank.
After that, create another workflow associated with the ExceptionList to get all the users’ names who are belonging to a sponsor to fill in the user field in the test list and set the workflow to start when an item is created.
And then you can send email with the value in the user field in test list to the sponsor.
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Can you disable the autoseek that occurs on key down in list based components?
I have a datagrid and hitting a key causes an autoseek to happen which takes me to a different row in the grid/list. I have tryed adding an event listener and using prevent default but apperently the event is happening elsewhere. The basic setup is a grid in a item renderer for another datagrid. I have tried capturing the event for both and while I can use the event I can't seem to disable the autseek that occurs. Any help would be great.
Thanks,
-JonathanSet the Boolean enabled property to false.
<?xml version="1.0"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<s:controlBarContent>
<s:CheckBox id="ch" label="enabled" selected="true" />
</s:controlBarContent>
<s:List id="lst" enabled="{ch.selected}" horizontalCenter="0" verticalCenter="0">
<s:dataProvider>
<s:ArrayList source="[One,Two,Three,Four,Five,Six,Seven,Eight]" />
</s:dataProvider>
</s:List>
</s:Application>
Peter -
Oracle Data Access Layer - w/Enterprise Services
I'm looking for an example Oracle Data Access layer incorporating Enterprise Services with at least a simple window form inserting and updating data tables.
Can somepoint point me in the right direction?
Thanks,
TonyHi Tony,
I would recommed you hit some of the popular .Net Development sites on the Internet. For example, just googling on .Net Enterprise Services provides links where simple samples can be reviewed. These generic code samples can then be tweaked to include ODP code for data access. If your components or code will be enlisting in transactions with MTS, hence your class or aspx page is transactional, you will need to install the Oracle Services for MTS in addtion to the ODP driver.
HTH
Jenny -
Access data from from two lists based on lookup columns and insert into another
Hi,
I am new in SharePoint and is stuck in some problem.
I want to insert data in to a list by fetching data from 2 lists.
The scenario is :
List A Columns : EmployeeName, EmployeeID, EmployeeSalary
List B Columns : DepartmentName, EmployeeID, ManagerID
EmployeeID is lookup column
I want to fetch data from these 2 lists and insert data into another list:
List C Columns: EmployeeName, EmployeeSalary, DepartmentName
Can someone please explain me all the possible approaches to do the above taskIf ListA and ListB are the lists that you created, it would be better to generate the lists data into one list not seperate lists, as they both represents the property information of one employee.
If they are existing lists, you may have following considerations:
1. if you are a programmer, it would be easier to have a lookup column at ListA, to generate the EmployeeName, EmplyeeSalary, then using ItemAdded event, to generate the DepartmentName column based on EmployeeID column.
2. have a lookup column look at ListA, use workflow, set when item is created, start the workflow automatically, then in the workflow, find ListB related item based on EmployeeID column, to set the DepartmentName column, SharePoint designer workflow
set Item Value activity can do this work, you can research to find more information about how to do this.
Thanks,
Qiao Wei <br/> My blog:http://blog.goobol.com -
Hi,
As a part of new requirement in my project I am supposd to work on SharePoint 2007. I have one List (BCExtract - Main list) with all data related to an Application (like ID, name, app manager RTO etc).
I have created another list which has form to be filled by a user (with details about his/her applications). My requirement is that when the user enters AIT ID then the page should refresh (probably after hitting enter) and other details like Application
name, RTO etc which is present in another list gets auto populated depending on the AIT ID (unique column) entered so reduce the burden on the user.
Please suggest me how this can be done. I do not have permission for obtaining SharePoint Designer and I do not know JQuery. Infopath is ok but if this can be done through SharePoint 2007 alone then it would be great.
Thanks....Hello,
You can either use jquery/jaavscript or infopath form to achieve this. There is no default way to do this.
I would suggest jquery because you can put script in newform/editfor.aspx page using content editor webpart. Refer this link for jquery:
To get value from list:
http://social.technet.microsoft.com/Forums/en-US/ac47fe2a-ccb6-4f5b-b274-703aecc6cb0a/get-list-items-in-sharepoint-2010-by-using-jquery
http://www.robertkuzma.com/2010/08/read-list-items-using-sharepoint-web-services-and-jquery/
To set value in column:
http://paulgalvinsoldblog.wordpress.com/2009/06/13/quick-and-easy-use-jquery-to-set-a-text-field%E2%80%99s-value-on-a-sharepoint-form/
http://spservices.codeplex.com/discussions/468729
If you use infopath form, then you need to create two data connection to get data from both lists. Later you can set value in fields based on selection using rule. This can be possible without code.
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
How to Install Oracle Data Access Components (ODAC) on Windows Server 2003?
I recently installed "32-bit Oracle Data Access Components (ODAC) with Oracle Developer Tools for Visual Studio" on my computer (Windows 7, 64bit). Everything seems fine and I can develop and run my application in Visual Studio 2010 and IIS 7.
Now, when I deploy my application to the Server, it raises error:
Exception: System.TypeInitializationException: The type initializer for 'Oracle.DataAccess.Client.OracleCommand' threw an exception. ---> Oracle.DataAccess.Client.OracleException: The provider is not compatible with the version of Oracle client
Obviously I need to install ODAC on the server, too. My server is:
- Windows 2003 32 bit R2 (I know, I know!)
- IIS 6
So. I downloaded the same installation from Oracle website (ODAC 11.2 Release 5 and Oracle Developer Tools for Visual Studio [11.2.0.3.20]) and installed it on the server. But still getting the same error.
PS: When I was installing, I chose Oracle Data Access Component for Oracle Client 11.2.0.3.20 in Oracle Universal Installer. hmmmm. Should I choose "Oracle Server" instead? Screenshot
Edited by: 1000434 on Apr 17, 2013 6:35 AM
Edited by: 1000434 on Apr 17, 2013 6:36 AMODP.NET, Unmanaged Driver uses unmanaged dependencies in the Oracle Client. The error you see means you have another Oracle Client installed on the Win2003 machine and ODP.NET is attempting to load the incorrect Oracle Client version, rather than the version you installed ODP.NET with.
What you need to do is direct ODP.NET where to find the correct version of its unamanaged Oracle Client dependencies. This will be generally the bin directory of your Oracle Client home that was installed with ODP.NET.
You can learn more about DllPath here:
http://docs.oracle.com/cd/E20434_01/doc/win.112/e23174/InstallODP.htm#sthref94
If you're not familiar with how to set ODP.NET settings in the Registry or .NET config files, you can read how to do that here:
http://docs.oracle.com/cd/E20434_01/doc/win.112/e23174/featConfig.htm#sthref106 -
How to check if Oracle Data Access Components is installed?
How to check if Oracle Data Access Components is installed and version on my computer?
Also How to check if Oracle Data Provider is installed and version?
TIA
Steve42Regedit HKLM->Software->Oracle. See what's there...
At the very least, that can give you paths and can check file versions from there. -
Adding a custom meta data field which lists out content id based on query
How can we add a custom meta data filed which lists out content id based on query like dDocType <matches> `AssociatedProduct`?
Or other alternative would be to have a custom metadata field such that it allows selection of content id using link wizard which we typically use in site studio. It would be preferable to have this second option as it is user friendly. Can we do this on a check-in screen?
-PratapThanks for the reply Deepak.
We got it resolved. We did following changes in /ucm/custom/SiteStudio/resources/ss_custom_field_resources.htm file and it worked cleanly.
Added following section at the end before body tag
===================================================================================================
<@dynamichtml ss_parent_definition_field_entry@>
<$include super.std_edit_entry$>
<$if isQuery and isTrue(isQuery)$></td><td><$endif$>
<$include ss_contributor_base_scripts$>
<script type="text/javascript" src="<$HttpRelativeWebRoot$>resources/<$SSContributorSourceDir$>/sitestudio/wcm.contentserver.popup.js"></script>
<script language="JavaScript">
function OnSelectParentId()
var selectParentIdOptions = {};
selectParentIdOptions.httpCgiPath = '<$HttpCgiPath$>';
selectParentIdOptions.queryText = 'dDocType <matches> `Country`';
selectParentIdOptions.coreContentOnly = '<$if coreContentOnly and isTrue(coreContentOnly)$>1<$else$>0<$endif$>';
selectParentIdOptions.callback = function( returnParams )
returnParams = returnParams || {};
if( returnParams && returnParams['dDocName'] && ( returnParams.dDocName.length > 0 ) )
// Set the actual metadata value
<$if isQuery AND isTrue(isQuery)$>
for (var i=0; i < document.<$formName$>.elements.length; i++)
var elt=document.<$formName$>.elements;
if (elt.name=="<$fieldName$>")
elt.value = returnParams.dDocName;
<$else$>
document.<$formName$>.<$fieldName$>.value = returnParams.dDocName;
<$endif$>
WCM.ContentServerPopup.ChooseManagedDocument(selectParentIdOptions);
</script>
<input type="button" value="<$lc("wwBrowse")$>..." onclick="OnSelectParentId();">
<@end@>
======================================================================================
Then modified the section which show xWebsiteSection, xRegionDefinition etc to include my custom meta data defitnion as well ('xParentContentType')
===================================================================
<@dynamichtml std_edit_entry@>
<$if fieldName and ( fieldName like "xWebsites|xDontShowInListsForWebsites" )$>
<$include ss_website_query_text_field$>
<$elseif fieldName and strEquals( fieldName, "xWebsiteSection" )$>
<$include ss_website_section_field_entry$>
<$elseif fieldName and strEquals( fieldName, "xRegionDefinition" )$>
<$include ss_region_definition_field_entry$>
<$elseif fieldName and strEquals( fieldName, "xParentContentType" )$>
<$include ss_parent_definition_field_entry$>
<$else$>
<$include super.std_edit_entry$>
<$endif$>
<@end@>
====================================================================
This worked fine.
Regards,
Pratap -
No Setup.exe in 64-bit Oracle Data Access Components (ODAC) Dowload
Why is there no Setup.exe in the 64-bit Oracle Data Access Components (ODAC) Download? Are the only instructions for installing in the dowloaded readme file?
You're probably looking at an XCOPY bundle.
If you're looking for an x64 11.2 bundle installed via the Oracle Installer, you'd need to get either the 11201 full client on OTN, or the 11202 full client on My Oracle Support. The 11202 full client includes support for .NET 4 if you need that.
Hope it helps,
Greg -
Dynamic Select List based on TextField data
Hi,
I like to dynamically display the select list based on the value in the textfield, the data in the textfield is of character type.
ThanksHello,
Well as you now know HTML based select lists don't work like that, that widget is called a combo box and there will be built in combo boxes in APEX 3.0, it's a fairly complex dhtml widget.
What you might want to do is provide a text item next to your select box and an Add New Value Option in your select list.
Carl -
Data is not populated in List based on custom Query
Hi
I want to query the BO and display only certain instances in a advanced ListPane based on a query condition. But when i bind the custom query to the advanced list pane no data is displayed.
1. Created a Bo PersistForcastBo.
2. In Ti screen of PersistForcastBo add a tab QUALIFICATIONS.
3. Two Advanced List Panes are created in QUALIFICATIONS tab
4.fields of second advancedlist pane are bound to respective fields of Bo.
5.Also an absl action script I created which displays data in the advanced listpane on click of QUALIFICATIONS tab.
6.created a SADL Query in the controller and added the fields required for selection.
6.also created condition in the selected parameter
6. In AdvancedListPane added the default set created., but after the querying the Bo data doesnt display in AdvancedlistPane
Can Anyone Please suggest a solution to this.
Regardshi Fred,
On click of QUALIFICATIONS tab , Eventhandler gets called . In the eventhandler a Bo action is called first which is a absl script- displayforecast, to get all the data . The data in the list pane is populated due to this script. But when i created the query and binded the default set to the listpane the data is not populated
the Eventhandler is called on Click of Qualifations Tab, first action gets called and then eventhandler that executes defaultset is fired . This eventhandler is the handler created when query->defaultset is created
but after firing this query no data is displayed. -
How to access sharepoint List Data in Power Pivot model
Hi,
I have a sharepoint list and i want to access the list in power pivot workbook.
I tryed exporting the list as datafeed but iam that is missing under export.
Iam stuck pls help any other approach.?
Regards,
KrishnaaHello,
I have answered this question in this thread below:
http://social.technet.microsoft.com/Forums/office/en-US/92a04e1b-a5f7-4dbe-88e7-0a1064622641/sharepoint-list-access-in-power-pivot?forum=sqlkjpowerpointforsharepoint
Please go through the following aticles:
Using SharePoint List Data in PowerPivot:
http://msdn.microsoft.com/en-us/library/hh230322.aspx
Using a SharePoint List as a data source:
http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/07/11/excel-services-using-a-sharepoint-list-as-a-data-source.aspx
Regards,
Elvis Long
TechNet Community Support -
BI Data Access Set-based security
Hi,
My client is using EBS security feature “Data Access Set” for segment security. I'm looking for a tech note to implement this type of security from the OBIEE/OBIA side.
Any pointers on this topic would be very much appreciated,
Tarik Bouaziz.
Environment: OBIEE 11.1.1.5.0 on Solaris Sparc64, OBIA 7.9.6.3, EBS 12.1.3Tarik,
If I don't mistake, the "Data Access Set" security on EBS 12 is based on the Ledger-Based Security in OBIA (2.6.4 Ledger-Based Security for Oracle EBS).
Gurus, thanks to confirm.
Hope it helps,
Benoît
Maybe you are looking for
-
Any authorization check in output messages of Purchase order (Me22n)
Release strategy is assigned to a purchase order type in our situation. I want to set up authorization in ME22N so that only users with particular release code can prepare PO output message. Can anyone help ? Thanks in advance.
-
Having trouble with Spry not uploading correctly
Hey guys, so I edited some of the other content on my site and it seems my spry won't upload correctly. I'm fairly new to CS5 and using spry, and I've had a look at the code with no luck. It works fine if I open the page on my PC, but when I upload t
-
Mac Mini and the HP Photosmart All in One Scanner
When I got my Mac Mini from MacMall, I got the free HP Printer (C3180 Photosmart all in one) printer works fine, copier works fine, but I am not able to Scan. HP is no help because their chat customer service reps "are only trained on PC related issu
-
My map icon disappeared, where can I find it ?
my factory installed map icon disappeared, how do I find it ?
-
Have an ipad, cannot update because I forgotten my password. Have tried, but have never gotten an email back for Apple. There is another laptop in our home, and the icloud email address had been taken off of that laptop. My ipad has the same icloud a