Flex :: Entity Container Lookup Columns?

Feb 22, 2011

I am successfully using an Entity Container to allow users to enter a new contactIs there any way to control what columns are shown when the user searches for an Account Name? At the moment 5 columns are shown, but I would like to display different columns and change the display order.

View 1 Replies


Similar Posts:


Flex :: Save State Of A DataGrid: Visible Columns, Columns Width And Order?

Jan 11, 2010

I want to save remotely (on a database) the state (visible columns, columns width and order) of a Flex3 DataGrid.For width and visibility I can simply save them by accessing each column attribute.. But for the order? Do I have to create the dataGrid dynamically?

View 2 Replies

Flash :: Flex - DNS Lookup Be Made With AS3?

Aug 10, 2009

Can a DNS lookup be made with AS3?

View 2 Replies

Professional :: Copy This Text Paragraph From Notepad (img1) And Paste Into A TLF Container With 2 Columns?

Apr 18, 2011

I want to copy this text paragraph from notepad (img1) and paste into a TLF container with 2 columns (img2), but it seems that something is wrong.

View 1 Replies

Flash 10 :: Copy Text Paragraph From Notepad (img1) And Paste Into A TLF Container With 2 Columns

Apr 18, 2011

I want to copy this text paragraph from notepad (img1) and paste into a TLF container with 2 columns (img2), but it seems that something is wrong. It seems that all the lines are overlapped and you can't tell what's written.

View 0 Replies

Handle M:M Entity Relationships In Flex / Java Web Application?

Dec 21, 2010

I am struggling to come up with a way to efficiently manage Flex entities that have a many-to-many relationships between their JPA/Java counter parts.[code]Both of these entities can exist independently of each other and both have a 1:M relationship with the other. The relationship is not really owned by one side or the other.Within the application there are Flex UI's that sometimes want to see viewers based on movies and other UI's that want to see movies based on viewers.Currently both the Movies.Viewers and Viewers.Movies collections are lazy loaded by JPA which works fine. The problem is that every time I ask a viewer for it's list of movies, then they all get sent over the wire and then within Flex I end up with a bunch of Movie objects that (often, not always) duplicate the ones I already have there.

It seems inefficient at best and could likely cause errors if the duplicate objects are not dealt with.In my real application I have tons of these types of relationships all over some very large object graphs.It almost seems to me that the lazy loaded object collections need to be turned into eagerly loaded collections of foreign keys which are used to explicitly load objects on the Flex side of things. But this seems like I am writing a JPA provider in Flex! Is the correct answer to never store state in a Flex application? (Yikes)I should add that all my value objects have a UID that is created on the server side, so I could somehow use that to find/remove duplicates on the Flex side. But how?

View 2 Replies

Flex :: Prevent Container In ItemRenderer From Exceeding Width Of List Container?

Jul 2, 2011

In a Flex Mobile project I have a simple itemRenderer where I'm trying to create an "bubble" texting effect, similar to ichat or iphone (just so you get what im going for). But if the text is longer than the screen it runs off, rather than just going down a line.

If I set Group thats holding the rectangle(to create the bubble effect) and the label to 100% it works and keeps it from exceeding the list containers bounds, BUT the group is always at 100% and looks bad, I'm trying to keep the "bubble" JUST AROUND the text.

Anyway so, at the top of my itemRenderer I tried specifying:

<s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" width="100%" height="100%">

And here's my layout I figured since msg_container has a width of 100% I was hoping bubble_lable_group would just not exceed that but...it doesnt...it just runs off. I tried setting a max width but that does not allow you to input percents. And just to say it 1 more time. I know if i set bubble_lable_group width to 100% it works, and keeps it from going off the edge, but then the rectangle "bubble" stretches all the way across and just looks bad.

<s:VGroup id="main_container" horizontalAlign="left" paddingBottom="10" paddingTop="10"
verticalAlign="top" width="100%">

[Code]....

View 1 Replies

Flex :: Dynamically Adding Container To A Dynamic Container

Sep 21, 2011

I have a loop that goes through data from a book and displays it. The book is not consistent in it's layout so I am trying to display it in two different ways. First way(works fine) is to load the text from that section in to a panel and display it. The second way is to create a new panel (panel creates fine) and then add collapsable panels(nested) to that panel. Here is the code from the else loop.

else if (newPanel == false){
// simpleData is just for the title bar of the new panel
// otherwise the panel has no content

[Code]....

The error I get is: ReferenceError: Error #1069: Property panel4.4 not found on components.readTest and there is no default value.

I have tried setting the "name" property instead of the "id" property.

View 1 Replies

Flex - Hide Container Of A Viewstack Container?

Dec 23, 2010

I have a viewstack container w/ 3 views: red, black, and blue. How can I completely hide the black & not include it?

[Code]...

View 2 Replies

Flex :: Drag Circle From One Container To Another Container?

Jan 13, 2012

I am creating an flex Air project,so mxml file will run. I have circles in one Big circle at one side and will be same on other side.

Now how to drag any circle from any Big circle to other side. Or it could be like any two container having circles, then how to drag and drop circle?

For one circle i am able to do drag and drop.But I want one Big circle on left hand side and one big circle on right hand side .And small circles with class names will be in these big circles.Now i want to drag and drop those small circles in big circles.Big cicles should not move. Even i have tried this code in actionscript

package
{
import flash.display.Sprite;
import flash.events.MouseEvent;

[Code].....

But in this i want big circles should not move and small circles should only be dragged.

View 1 Replies

ActionScript 3.0 :: Xml Zip Code Lookup?

Jun 26, 2009

I'm loading an xml file that contains nothing more than a list of "valid" zip codes.  Here's a sample of the xml:
 
=================================================
zipCodes.xml
=================================================
<?xml version="1.0" encoding="ISO-8859-1"?><zipCodes><zip>82930</zip><zip>82931</zip><zip>83114</zip><zip>83201</zip><zip>83202</zip><zip>83203</zip><zip>83204</zip><zip>83205</zip><zip>83206</zip><zip>83209</zip><zip>83210</zip><zip>83211</zip><zip>83212</zip><zip>83213</zip><zip>83214</zip><zip>83215</zip><zip>83217</zip>...and so on.

[code]....

View 7 Replies

Flex :: Moving Children Of A Container (defined In MXML) Inside An "inner Container"

Jan 27, 2010

I'm currently working on a custom component which extends Canvas (let's call it SuperCanvas) ; it's basically a container that let you zoom & pan its contents. It would be too long to explain why, but I can't use scrollRect, so I was forced to declare a Canvas object (called innerCanvas)... inside my SuperCanvas (I know, not very nice =/) I would like to know if there's a proper way to "redirect" the creation of my component's children in this canvas.

[Code]...

View 1 Replies

Flash :: Lookup Exchanged Data Between PHP?

Jun 29, 2011

I'ld like to see the data that is exchanged between a Flash based web app and PHP. What is the tool of choice for that?

View 2 Replies

Flex :: Keep The Order Of FLEX Datagrid Columns As Its Dataprovider?

Sep 8, 2009

The flex DataGrid colums are arranged alphabetically by default. I need to order the DataGrid colums as per the order in its dataProvider. The dataprovider is the result of the HTTPService . And the number of columns is not known to us . The number of columns depends on the HTTPService result.

View 1 Replies

ActionScript 3.0 :: Extending From Entity Class?

Jun 23, 2011

am attempting to make a simple asteroids game using push button engine. In the game the ship should fire when the user pushes the spacebar button.To do this my KeyboardController class should make a new instance of the Bullet class on every tick when the spacebar is down.The problem is for some (probably simple) reason I can't extend the Entity or IEntity class. IEntity is an interface so I understand why I can't extend that, but I'm not sure why it's not letting my extend entity. Heres my code for calling the bullet constructor:

if (PBE.isKeyDown(InputKey.SPACE)){
var _newBullet: Entity = Bullet();
}

and here is the first line of the bullet class.

public class Bullet extends Entity{...}

View 5 Replies

Php :: Data For The Columns In Flex?

Jul 13, 2009

<local:CheckBoxDataGrid id="dg"
allowMultipleSelection="true" x="118" y="151" width="557">
<local:columns>
<mx:DataGridColumn dataField="firstName" headerText="Select" width="50" sortable="false" itemRenderer="CheckBoxRenderer" >
</mx:DataGridColumn>

[code]....

I am getting the values as ArrayCollection, but when i bind it to my Datagrid, i am not getting any values.... though the objects returned from PHP are fine.

View 2 Replies

ActionScript 3.0 :: Bitmap Palette Shifting Using 2D Lookup Table

Oct 29, 2010

I'm having some problems porting a palette shifted animation system from J2ME to Flash. The system is used within a game that construct characters from separate body parts for e.g. head, left arm, legs, eyes, mouth etc. These can then be tinted and animated. Each of these body parts is coloured using a look up table. There is the original palette, then there are 18 other palettes that can be used to tint the image. This way you can configure different looking characters without having hundreds of different images. Each palette has 398 colours, there are 18 different palettes in total.

Each body part contains a small amount of colours, usually around 10-20. Colour A1, Colour B1 etc... Then the body part can be tinted using another set of colours, for eg Colour A3, B3, C3 etc.. It's simply a 2D array. (I have screenshots that help explain if needed) Now I've been trying to use PaletteMap, without success. I believe it uses a full colour palette (i.e. 255 vals per colour), and can't simply change colour A1 to colour A3 etc.

I also tried threshold, but that doesn't seem to be fit for purpose. getPixel / setPixel is way too slow for my purpose. It needs to be pretty fast as each body part is animated. I have a lot of flash programming experience, but never at such a low level! I might have been using paletteMap / threshold incorrectly, but the adobe docs leave a lot to be desired!

View 0 Replies

ActionScript 3.0 :: Any Way To Implement Drag And Drop On PBE Entity?

Feb 5, 2011

1) I have a UI component that extends sprite. I am storing them in Arrays.
Boxes[i].y += 5;
Has no effect on that UI components y. Neither does;
(Boxes[i] as UIcomponent).y +=5;

2) I am using Push Button Engine. How do I get an entity to display text? I don't see a Text component in the library.

3) Say I have a sprite or some class that extends sprite and I want to change its graphic to a different graphic, like BrownLeaf.swf for example. I have the BrownLeaf.swf in my ResourceBundle as;

[Embed(source="../assets/textures/LeafGame/BrownLeaf.swf", mimeType='application/octet-stream')]
public var BrownLeaf:Class;

4) Is there an easy way to implement Drag and Drop on an PBE entity? A Drag and Drop component?

View 0 Replies

Flex :: Use Flex Datagrid Lockedcolumncount For Two Columns?

Mar 21, 2011

How do you use flex datagrid lockedColumnCount for two columns?

For example, I have 5 columns of datagrid columns: A, B, C, D and E. I want the A and E columns to be locked and the remaining columns able to be scrolled horizontally.

View 1 Replies

Flex :: Set Different Columns To Have AlternatingItemColors On DataGridColumns?

Dec 3, 2009

On a DataGrid, setting alternatingItemColors will apply the color scheme to all of the columns of that grid. I'm looking for a way to define different alternating colors for each column.

View 2 Replies

Flex :: Sort Columns In AdvancedDataGrid?

Mar 15, 2011

I'm making an application where I display an AdvanvedDataGrid with one column with dates(in format DD/MM/YYYY) and another with datetimes (in format HH:MM). I'd like to sort dates according with the datetimes as well(just clicking in the header of the column), there is an examplen of the expected behaviour:

02/02/2011 | 10:42
03/02/2011 | 09:45
02/02/2011 | 11:45
03/02/2011 | 11:30

[Code]....

_currentDatosBusqueda is an arraycollection I receive from the Server (with the correct format of dates and datetime).

View 2 Replies

Flex :: Unable To Hide Columns

Mar 24, 2011

What I am trying to do is hide an entire column if the content is all null.

<mx:DataGrid width="100%" dataProvider="{service}" id="dg1">
<mx:columns>
<mx:DataGridColumn headerText="Location Origin" dataField="originLocation" visible="{data.originLocationExists}" />
<mx:DataGridColumn headerText="Location Destination" dataField="destinationLocation" visible="{data.destinationLocationExists}" />

[code]....

In the sample above, sometimes all the data in the "Location Origin" will be null, so under the visible property I put a value which is either true or false depending on the data. But even when all the data is null and the visible property equals false, it still stays visible.

View 2 Replies

Flex :: Add Total Columns In DataGrid?

Jun 9, 2011

I have one Datagrid in Flex. In datagrid there are 4 columns like mark1,mark2,mark3,Total.When i enter mark1,mark2,mark3 that time i want to update total.

View 2 Replies

Flex - Increase Space Between Columns?

Oct 26, 2011

I just added columnWidthRatio: 1; to my mx|ColumnChart to fatten up my columns a little. But now, there's no space between the X axis and columns, and between the columns themselves, so how do I increase this space?

View 1 Replies

Java :: Duplicate Session Error When Perform Proxy Lookup

Oct 5, 2011

We have deployed a flex application on Tomcat and it uses Blaze-DS to communicate with the Java side. However when using the deployed application we constantly get the error:Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly. url...Within our Apache httpd.conf we have set up a proxy lookup so that rather than using particular ports (e.g 8082) we want to use port 80 (some of our customers operate in a locked-down environment).[code]

View 1 Replies

Flex :: Swapping Columns And Rows Of DataGrid Possible?

Jul 22, 2009

I have a 1 row, many column flex datagrid. I would like to turn the dataGrid on its side, so that the column headers become a single column running down and v.v. Is there a way to do that in the DataGrid? Or am I stuck manipulating the data presented to the grid?

I have an object like:
x=y
b=u
o=p
u=e
w=p

And I'd like a control that is visually similar to that. Currently the datagrid displays the object as:
x b o u w
y u p e p
Which is too horizontal for my case.

View 2 Replies

Flex :: Creating A TreeGrid With Sortable Columns?

Aug 21, 2009

I'd like to put a TreeGrid in my application so that the columns can be sorted. If you refer to this sample application, you'll notice that if you

Open a branch node
Sort by one of the columns
Close that branch node

then the TreeGrid starts to get out of wack and duplicate columns start appearing and other columns start disappearing. What I would like is to have the columns sorted only by the outermost nodes.

One attempt I had was to run treeGrid.closeAllItems() before the sort occurred. However, this does not work, because a Sort Column event gets dispatched while closeAllItems is running, so the list gets messed up and listOutOfBounds exceptions get thrown.

View 1 Replies

Flex :: Sending Entire Columns Of Datagrid To PHP?

Nov 4, 2009

My Main.MXML

<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:mate="http://mate.asfusion.com/" width="100%" height="100%">
<mx:AdvancedDataGrid sortExpertMode="true" id="baselineGrid" dataProvider="

[Code].....

I need to send the entire datagrid columns to PHP. How to send all the values of the column 1 and column 2.

Note: COlumn 2 is an itemRenderer which has a combo box.

View 1 Replies

Flex :: Make Columns Aligned Between 2 DataGrids?

Nov 9, 2009

I have 2 advanced data grids, one above the other. They both have the exact number of columns, and pertain to each other in the same way. But each is showing different data, which is why I split into 2 grids. However, on each one you can resize the columns, what I would like is to make it so that if you resize a column on either datagrid the same column on the opposite datagrid resizes as well, so they are both always lined up.

View 1 Replies

Flex :: Resizing Columns In Adobe AdvancedDataGrid?

Jun 10, 2010

I'm using an AdvancedDataGrid without the header row (AdvancedDataGrid.showHeaders="false"), my AdvancedDataGrid has 2 columns, where the first one will show a hierarchical data (tree).The tree may be very long and very deep or may contain a long string in the node label so the user will not be able to see the whole vale of the tree node, I want to be able to resize the column using the vertical separator of the gris (the one displayed/separates between columns) or to be able to define a horizontal scroll bar only for the first column.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved