Adding JS graph to Flex project

2015-06-09 Thread Oleg Konovalov
Hi, We have Flex + Java Web App. Needed to add Graphs to it, kind of a network of nodes, built from data coming from DB. Tried Birdeye Ravis, were not happy with it. So now we want to try using one of JS visual libs like VisJS or D3, possibly try to add AngularJS if it becomes necessary, which I d

Re: Profiling Flex/Java Web App

2015-04-13 Thread Oleg Konovalov
re could be some issue with how the profiler talks to the SWF. I think > it uses a Socket. Maybe something else is using that socket. > > -Alex > > On 4/10/15, 11:03 AM, "Oleg Konovalov" wrote: > > >I don't think that is the issue. > > > >I tried pro

Re: Profiling Flex/Java Web App

2015-04-09 Thread Oleg Konovalov
, in your case, if you can control the number of children, instead of > profiling 100, profile 50. The same hotspots should show up. > > Or do 50 and then 20 and see if you see a trend. > > -Alex > > On 4/8/15, 3:25 PM, "Oleg Konovalov" wrote: > > >Hi

Profiling Flex/Java Web App

2015-04-08 Thread Oleg Konovalov
Hi, I have a large Flex+Java app (Flex 4.5.1). Created a new complicated screen (with 3 ADGs) and WindowTitle popup to edit a row with 2 sets of children (each is a DataGroup with Renderer, one is a few TextInputs (with 2 way binding), another is 2 dropdownlists (2nd gets a list based on 1st one

DataGroup with TextArea

2014-12-09 Thread Oleg Konovalov
Hi, I used to have a DataGroup with a Renderer which had a bunch of TextFields, CheckBoxes, Dropdowns,... Worked fine, was using it with VerticalLayout with requestMaxRowCount =4. It had a button below to add an item or Delete button inside Renderer. All that worked fine on TitleWindow popup. I ad

Re: Tooltip on GroupingCollection2

2014-12-07 Thread Oleg Konovalov
Any pointers ? TIA, Oleg. On Fri, Dec 5, 2014 at 9:25 AM, Valdemar Lopes wrote: > Please remove me from this maillist > > 2014-12-05 14:10 GMT+00:00 Oleg Konovalov : > > > Hi, > > > > Is there an easy way of showing tooltip on "folder" level >

Tooltip on GroupingCollection2

2014-12-05 Thread Oleg Konovalov
Hi, Is there an easy way of showing tooltip on "folder" level when you use ADG with GroupingCollection2. if I use tooltip="{myGC.field1}" in ADG, getting error 1119: access to possibly undefined property field1 through reference with static type GroupingCollection2. Using Flex 4.5.1 -- Thank

Re: Flex3 module in Flex4 FB project

2014-11-05 Thread Oleg Konovalov
> > >themes/Halo/halo.swc >themes/Spark/spark.css > > > Hope that helps. Good luck. > > Curtis > > > On Oct 23, 2014, at 4:55 PM, Oleg Konovalov wrote: > > > > Hi, > > > > We currently have a legacy Flex3 app with Cairngorm which

Re: Conditional renderer in MXML

2014-10-23 Thread Oleg Konovalov
e used. > > On 22 October 2014 21:14, Oleg Konovalov wrote: > > > Hi, > > > > I am need to implement conditional logic for renderer in MXML > > ADGRenderProvider, something like: > > if (condition1) renderer = renderer1 > > else renderer=renderer2 &g

Flex3 module in Flex4 FB project

2014-10-23 Thread Oleg Konovalov
Hi, We currently have a legacy Flex3 app with Cairngorm which we would like to bring into the Flex4 app with Parsley 2.4. Is it possible to put that Flex3 code as module into Flex4 project in FB 4.5.1? Is it possible to incorporate that Flex3 module as an item in Flex4 menu (using 3rd party compo

Conditional renderer in MXML

2014-10-22 Thread Oleg Konovalov
Hi, I am need to implement conditional logic for renderer in MXML ADGRenderProvider, something like: if (condition1) renderer = renderer1 else renderer=renderer2 How can I do that? TIA, Oleg

Which panel?

2014-10-09 Thread Oleg Konovalov
Hi, I have a bunch of Panels on the Form, each having Submit and Cancel buttons. So when user presses Cancel, how do I determine from which Panel it came? Looks like I can't get it from event.currentTarget.panentDocumentI will need to hide that panel. Please advise. TIA, Oleg.

Re: HostComponent is NULL?

2014-09-12 Thread Oleg Konovalov
As I mentioned in previous post, I am already getting a 1-2 lines exception, so what will try/catch block give me? :-) On Sep 11, 2014 8:10 PM, "OmPrakash Muppirala" wrote: > On Thu, Sep 11, 2014 at 5:01 PM, Oleg Konovalov wrote: > > > All I get in error stack trace is 1 l

Re: HostComponent is NULL?

2014-09-11 Thread Oleg Konovalov
wrote: > Did you try to attach something? Attachments don't always work on the > mailing list. Copy and paste the stack trace or post it somewhere and > send a link to it. > > -Alex > > On 9/11/14 12:37 PM, "Oleg Konovalov" wrote: > > >Skin

Re: [FlexJS] Presenting at the HTML5 Dev Conference

2014-09-11 Thread Oleg Konovalov
If you included GWT, include Vaadin too (it's better but used more in Europe than in US). I used it a few yrs ago and liked it a lot. But maybe this time my vote would be for Dart (AFTER FlexJS of course). On Thu, Sep 11, 2014 at 4:50 PM, Alex Harui wrote: > Good questions. My thoughts: > >

Re: HostComponent is NULL?

2014-09-11 Thread Oleg Konovalov
Skin's spark button click -- to hostComponent.method1() On Sep 11, 2014 3:19 PM, "Alex Harui" wrote: > What does the call stack look like? > > On 9/11/14 12:15 PM, "Oleg Konovalov" wrote: > > >I am calling it by clicking a button on fully drawn screen,

Re: HostComponent is NULL?

2014-09-11 Thread Oleg Konovalov
. On Sep 11, 2014 3:03 PM, "Alex Harui" wrote: > Calling too soon before hostComponent is assigned, or maybe hostComponent > is the type you specified. > > On 9/11/14 11:53 AM, "Oleg Konovalov" wrote: > > >Hi, > > > >I am creating a View/Vie

HostComponent is NULL?

2014-09-11 Thread Oleg Konovalov
Hi, I am creating a View/ViewSkin pair, with view extending SkinnableContainer. As usual, often have to call hostComponent.method1(), but getting Error # 1009 Cannot access a property or method. I do define HostComponent properly in the skin. When I call that method1, hostComponent is NULL. Why? W

Re: Deep Linking problem in IE9

2014-06-08 Thread Oleg Konovalov
Hmm, was that posted to the group? On Thu, Jun 5, 2014 at 11:04 PM, Oleg Konovalov wrote: > Hi, > > I tried to introduce Adobe Deep Linking to my Web App. > That created a problem when I run it in IE9 - it often shows "#" on page > title (if no URL params used) >

Expanding ADG to particular level

2014-05-03 Thread Oleg Konovalov
Hi, I have AdvancedDataGrid with multi level GroupingCollection2 which shows 1000s of rows. I am using displayItemsExpanded="true". Is there a way not to expand it not all the way up, but to the particular level of grouping, lets say to level 1 programmatically ? So in that case user will

Validating DataGroup children

2014-04-27 Thread Oleg Konovalov
Hi, I have a popup (TitleWindow) with Form, which has a DataGroup, consisting of a number of "rows", which have some GUI widgets (TextInputs, DropDownLists, ComboBoxes, etc) in ItemRenderer. I do validate data on that Form. But how can I do validation of data which user fills on these ch

Re: CreationComplete of ViewStack components

2014-04-02 Thread Oleg Konovalov
OMPLETE > > -Alex > ________ > From: Oleg Konovalov [oleg...@gmail.com] > Sent: Tuesday, April 1, 2014 6:49 PM > To: flex-...@apache.org; us...@flex.apache.org > Subject: CreationComplete of ViewStack components > > Hi, > > > > > I have a popup (TitleWindow) which

CreationComplete of ViewStack components

2014-04-01 Thread Oleg Konovalov
Hi, I have a popup (TitleWindow) which has ViewStack with a few NavigatorContent's which contain Form's with a bunch of components (TextInputs, DropDownLists, etc). User is editing some data, so when he selects ADG row and clicks Edit, that row data is displayed in that popup. I could e

Re: Filtering Hierarchical data in ADG

2014-03-09 Thread Oleg Konovalov
e: > Filter columns as in not show some columns? > > On 3/4/14 4:30 AM, "Oleg Konovalov" wrote: > > > Hi, > > > > > >I have a true hierarchical data presented via HierarchicalData with input > >in XML in MX AdvancedDataGrid. > > >

Filtering Hierarchical data in ADG

2014-03-04 Thread Oleg Konovalov
Hi, I have a true hierarchical data presented via HierarchicalData with input in XML in MX AdvancedDataGrid. Need to filter columns in ADG. None of existing filters (standard or some proprietary filters in my company) work. Any suggestions how to make it work? (haven't touched filters yet)

ViewStack, states and validator

2014-03-02 Thread Oleg Konovalov
Hi, I have a popup where user enters data, currently implemented as TitleWindow with a ViewStack and several NavigationContent containers, having Forms with a bunch of components. When user clicks submit, it does validation and saves entered data to the database. I could have implemented

Re: FormLayout not aligning

2014-02-26 Thread Oleg Konovalov
Mon, Feb 24, 2014 at 5:56 PM, Oleg Konovalov wrote: > > > Why is it not posted? > > > > > > On Sat, Feb 22, 2014 at 7:04 PM, Oleg Konovalov > wrote: > > > > > Hi, > > > > > > I have a Spark TitleWindow popup > > > which ha

Re: DataGroup elements window adjustments

2014-02-24 Thread Oleg Konovalov
Why is it not posted? On Sat, Feb 22, 2014 at 5:13 PM, Oleg Konovalov wrote: > Hi, > > I have a Spark TitleWindow popup with Form, > which among other widgets includes DataGroup (one of FormItem's) > with custom ItemRenderer (where I put rows of data as per dataProvider

Re: FormLayout not aligning

2014-02-24 Thread Oleg Konovalov
Why is it not posted? On Sat, Feb 22, 2014 at 7:04 PM, Oleg Konovalov wrote: > Hi, > > I have a Spark TitleWindow popup > which has a Spark Form and a lot of FormItems, say 15 > (mostly Label and DropDownList's). > Labels range from 2-5cm. > I do have FormLayout

FormLayout not aligning

2014-02-22 Thread Oleg Konovalov
Hi, I have a Spark TitleWindow popup which has a Spark Form and a lot of FormItems, say 15 (mostly Label and DropDownList's). Labels range from 2-5cm. I do have FormLayout specified inside that Form (and VerticalLayout outside it, because there is a few Buttons at the bottom of the window, but out

DataGroup elements window adjustments

2014-02-22 Thread Oleg Konovalov
Hi, I have a Spark TitleWindow popup with Form, which among other widgets includes DataGroup (one of FormItem's) with custom ItemRenderer (where I put rows of data as per dataProvider contents - custom component). So user should Add or Remove a row of data on button click. Adding/Removing row work

Working with '>', '<' in Web Service

2014-02-13 Thread Oleg Konovalov
Hi, I am using a Web service between Flex client and Java based server, some proprietary Web Service (which included REST/SOAP bridge). We have noticed when client puts '>' or '<' in their data [lets say in Description field he notes "if myValue is >0"], it creates exceptions in that Web Service.

Fwd: Rendering Spark Datagroup

2014-02-13 Thread Oleg Konovalov
Hi, I am trying to create Spark custom component which represents a table row which includes TextInputs, DropDownList and CheckBox, that is to Add/Edit/Delete data (rows) to DB. I am pretty new to component development, looking at somebody else's code who did something similar (kind of re

Rendering Spark Datagroup

2014-02-12 Thread Oleg Konovalov
Hi, I am trying to create Spark custom component which represents a table row which includes TextInputs, DropDownList and CheckBox, that is to Add/Edit/Delete data (rows) to DB. I am pretty new to component development, looking at somebody else's code who did something similar (kind of re

Re: Rendering components in MX DataGrid

2014-02-12 Thread Oleg Konovalov
I meant I can not use Spark DataGrid, only Flex3 DG or ADG for consistency. But I use some Flex4 components (DropDownList, etc). So is it possible to put DDL inside Flex3 DataGrid? And is it legitimate to expect to see that DDL or ComboBox on the screen (even not populated) if myDG.dataProvider i

Re: Rendering components in MX DataGrid

2014-02-07 Thread Oleg Konovalov
erer used, you > have to provide your data Container with at least one element to make it > actually Display anything. > > Chris > ____ > Von: Oleg Konovalov > Gesendet: Dienstag, 4. Februar 2014 13:49 > An: flex-...@apache.org > Bet

Rendering components in MX DataGrid

2014-02-04 Thread Oleg Konovalov
Hi, I have tried to add Spark Dropdown, MX Checkbox and a Button in MX DataGrid (as FX Component in itemRenderer). Neither of them had any data, I just needed to see them displayed, but none of them displayed. Why? Each of them displayed fine outside of DataGrid Am I missing something? Us

Re: Adjusting layout on Button made invisible

2014-01-31 Thread Oleg Konovalov
Lee, That worked. Thanks a lot! Oleg. On Fri, Jan 31, 2014 at 3:05 PM, Lee Burrows wrote: > in addition to setting visible=false, set includeInLayout=false > > > On 31/01/2014 19:57, Oleg Konovalov wrote: > >> Hi, >> >> >> >> I am using

Adjusting layout on Button made invisible

2014-01-31 Thread Oleg Konovalov
Hi, I am using ApplicationControlBar with a bunch of buttons. Depending on some external conditions (app state), it should make some buttons invisible, change their labels, etc. When these buttons become invisible look like someone with missing teeth. :-( Is there a way to adjust other but

MX DataGrid not compatible with Spark Skin?

2014-01-26 Thread Oleg Konovalov
Hi, I am working on a screen where I need an MX AdvancedDataGrid and a regular DataGrid, and have Spark skin. I used to have a Spark DataGrid there in MXML skin page, everything worked fine, but it looks slightly different from MX ADG, so I am trying to replace that Spark DataGrid with eit

Re: Extracting XML from web service result with namespace

2014-01-21 Thread Oleg Konovalov
33 PM, Alex Harui wrote: > See the doc on Qname and Namespace. > > On 1/20/14 8:54 AM, "Oleg Konovalov" wrote: > > >Hi, > > > > > > > > > >I need to extract some XML data from proprietary Web Service (to be fed to > >HierarchicalData

Extracting XML data from web service result with namespace using E4X

2014-01-20 Thread Oleg Konovalov
Hi, I need to extract some data from proprietary Web Service (to be fed to HierarchicalData for dataProvider of ADG). So I made service.returnType=’e4x’; In that case it returns data as XML. I need to get useful data from it after Snapshot: http://schemas.xmlsoap.org/soap/envelope/ "> h

Extracting XML from web service result with namespace

2014-01-20 Thread Oleg Konovalov
Hi, I need to extract some XML data from proprietary Web Service (to be fed to HierarchicalData for dataProvider of ADG). So I made service.returnType=’e4x’; In that case it returns data as XML. I need to get useful data from it after Snapshot: http://schemas.xmlsoap.org/soap/envelope/

Re: Building Class Explorer in Flex

2014-01-09 Thread Oleg Konovalov
e hierarchical data interface, a data grid accepts that > interface as well. > > -Original Message- > From: Oleg Konovalov [mailto:oleg...@gmail.com] > Sent: Tuesday, January 07, 2014 10:49 AM > To: flex-...@incubator.apache.org; > flex-users-sc.1332161687.jb

XMLListCollection as ADG DataProvider

2014-01-09 Thread Oleg Konovalov
Hi, I am trying to implement Object Model Explorer (something like Windows Explorer which would allow users to view & modify data in ORM kind of system consisting of 1000s of classes, so I need to dig into Classes which are 10s of levels deep (Class can contain other Classes or Attributes/prim

Building Class Explorer in Flex

2014-01-07 Thread Oleg Konovalov
Hi, I am trying to build Class (Object Model) Explorer in Flex, so it would show user Classes within Classes and allow View/Add/Edit/Delete them. This is not Flex classes, but kind of ORM system for user data. So I receive user data as from DB with a row like: Path (class4.class3.class2) - not lik

Re: Search in ADG

2013-12-04 Thread Oleg Konovalov
yé : mercredi 4 décembre 2013 08:36 > À : 'dev@flex.apache.org'; flex-...@incubator.apache.org; > flex-users-subscr...@incubator.apache.org > Objet : RE: Search in ADG > > MX components manage scrolling internally, Spark Scroller is used for > spark skins only. > So yes, you shou

Search in ADG

2013-12-03 Thread Oleg Konovalov
Hi, I have a Flex App where on several tabs (TabNavigator) I have MX AdvanceDataGrid's (wrapped in Spark Scroller's), which are dynamically populated (so I don't know in advance about 1/2 of Columns). Since the number of columns can be 200+, I am trying to implement a Search within Column Headers

Re: Focusing on TabNavigator tab

2013-11-13 Thread Oleg Konovalov
some control like a TextInput or Button or ADG > gets focus > > If you want an ADG in a new Tabnavigator child to get focus, you should > probably first call validateNow() after addChild(), set selectedIndex to > the new tab, call validateNow() again, then call adg.setFocus() > > On 11

Re: Focusing on TabNavigator tab

2013-11-12 Thread Oleg Konovalov
gator's children are containers, and the containers never get > focus. Only their children do. > > It might be best to provide a 20-line MXML test case that shows what you > want to accomplish. > > -Alex > > On 11/12/13 8:11 AM, "Oleg Konovalov" wrote: > >

Re: Focusing on TabNavigator tab

2013-11-12 Thread Oleg Konovalov
I do dataTabs.addChild(tab). After that how can I do selectedIndex on that tab? On Nov 12, 2013 7:37 AM, "Oleg Konovalov" wrote: > > I have tried to > 1) Google on that subject - could not find anything useful. > 2) FocusEnabled = true - did nothing > 3) play with F

Re: Focusing on TabNavigator tab

2013-11-12 Thread Oleg Konovalov
wrote: > What have you tried? > > Have you set selectedIndex (zero-based)? > > > On Tue, Nov 12, 2013 at 3:50 PM, Oleg Konovalov wrote: > > > Hi, > > > > I am creating a few tabs in (Super)TabNavigator. > > How can I put a focus on one of the

Focusing on TabNavigator tab

2013-11-11 Thread Oleg Konovalov
Hi, I am creating a few tabs in (Super)TabNavigator. How can I put a focus on one of them? Tried a few things, but it didn't work... Please help! -- Thank you, Oleg.

Getting SuperTabNavigator child

2013-10-29 Thread Oleg Konovalov
Hi, I have several components (Box with DataGrids) dynamically added as children to SuperTabNavigator. Need to get a handle to such child component to refresh its DataGrid's data (or possibly to close it and open another one like that with new data). So how can I get a handle to the child of Supe

Getting SuperTabNavigator child

2013-10-29 Thread Oleg Konovalov
Hi, I have several components (Box with DataGrids) added as children to SuperTabNavigator. Need to get a handle to such child component to refresh its DataGrid's data (or possibly to close it and open another one like that with new data). So how can I get a handle to the child of SuperTabNavigato

Re: blazeDS time zone

2013-10-01 Thread Oleg Konovalov
Justin, My client is a large global company which is in ever region. So when user in India saves data on server in Virginia, it shows him as saved 10.5 he's later than he specified. How to fix it? Also is conversion to ITCh done as date.getUTCDate() ? On Sep 24, 2013 4:03 AM, "Justin Mclean" wrot

Re: Migration to Apachle Flex 4.10

2013-09-30 Thread Oleg Konovalov
Can Flex 4.10 work with Flash Builder 4.5.1 ? TIA, Oleg. On Sat, Sep 28, 2013 at 7:56 PM, piotr.zarzycki wrote: > I'm sorry Amit for wrong link. This is correct -> http://bit.ly/1azHNgM > > > > - > Flex/Air Developer > -- > View this message in context: > http://apache-flex-development.2333

Re: Dynamic validation in AS

2013-09-18 Thread Oleg Konovalov
Oops, my mistake. It works just fine. Issue resolved. Thank you, guys!!! On Sep 18, 2013 10:23 AM, "Oleg Konovalov" wrote: > I still get the same exception from the same line if I do that. > Any other ideas? > On Sep 17, 2013 10:50 PM, "Justin Mclean" > wrote: &

Re: Dynamic validation in AS

2013-09-18 Thread Oleg Konovalov
I still get the same exception from the same line if I do that. Any other ideas? On Sep 17, 2013 10:50 PM, "Justin Mclean" wrote: > Hi, > > > validator.source = "{field}"; <<< Error: source attribute "{field}" > can > > not be of Type String [from mx.validators::Validator/set] > > validator.s

Re: Dynamic validation in AS

2013-09-17 Thread Oleg Konovalov
through Dictionary of TextInput object, where Key is column name. How can I fix it? TIA, Oleg. On Tue, Sep 17, 2013 at 8:58 AM, Franck Wolff wrote: > Don't know if it could help, but you can check this: > > http://www.graniteds.org/public/docs/3.0.0/docs/reference/flex/en-US/html/gr

Re: Dynamic validation in AS

2013-09-17 Thread Oleg Konovalov
On Sep 16, 2013 7:36 PM, "Oleg Konovalov" wrote: > Hi, > > I need to validate dynamic form data in Flex 4.5 ADG, meaning that I don't > know column names, > order, but if the attribute is Required, than I have to make sure user > filled it in. > From all examp

Export to Excel

2013-08-29 Thread Oleg Konovalov
Hi, I am trying to export data from few DataGrids to Excel, using AS3XLS library, but it seems it doesn't create a second sheet. Does anyone knows how to do it? Or is there a better AS library for that? Optionally I might want to skip a few rows and put second DG data there. But how to add blank

Re: Building Spark DataGrid dynamically

2013-07-25 Thread Oleg Konovalov
/doPhasedInstantiation()[E:\dev\4.5.1\frame works\projects\framework\src\mx\managers\LayoutManager.as:816] at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.5 .1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180 ] On Thu, Jul 25, 2013 at 12:25 AM, Oleg Konovalov

Re: Building Spark DataGrid dynamically

2013-07-24 Thread Oleg Konovalov
It is Flex 4.5.1 (client requirement :-( ) I will send full trace with numbers tomorrow. No, I haven't tried Flex 4.9-4.10 yet. Thanks, Oleg. On Thu, Jul 25, 2013 at 12:20 AM, Justin Mclean wrote: > HI, > > What version of the SDK are you using? Does teh same happen using 4.9.1 or > 4.10 (ha

Building Spark DataGrid dynamically

2013-07-24 Thread Oleg Konovalov
Hi, I am building a screen with one Static DataGrid and one Dynamic (data comes through SOAP and I do not know the number of columns or their names in advance). I also get a list of column names in order from another SOAP call. That Dynamic DataGrid works (converting data from Vector of Objects t

Re: Building Spark Datagrid dynamically

2013-07-05 Thread Oleg Konovalov
roperty. > > Ex.: > > > field4="" /> > > > > If this does not work for you, please give us a sample of your XML, code > snippet, etc. > > Thanks, > Om > > On Thu, Jul 4, 2013 at 3:24 PM, Oleg Konovalov wrote: > >

Building Spark Datagrid dynamically

2013-07-04 Thread Oleg Konovalov
Hi, I am getting data from the database via XML (SOAP Web Service), and in that case I don't know number of columns or their names. Need to display them in Spark DataGrid (and allow user to add, edit, delete rows). The complication I see here is that in that project there is Parsley + proprietary

Re: TextArea ignoring new lines

2013-02-11 Thread Oleg Konovalov
I can see '\' characters in myTextArea.text. Should I try replacing them with '\n' or that won't help? As I said, that TA doesn't display new lines. Any TA properties can help? TIA, Oleg On Feb 8, 2013 1:15 PM, "Oleg Konovalov" wrote: > Hi, >

From ADG to Clipboard and Excel

2013-01-18 Thread Oleg Konovalov
Hi, I need to add the following to my Flex4 (4.6) Web App: 1) being able to select some cells from AdvancedDataGrid and copy it to Clipboard (to be able to paste to any file like Word, Excel, CSV or text file 2) being able to export the whole ADG context to Excel. Could you please suggest how t

Re: Dynamic DataGrid

2013-01-14 Thread Oleg Konovalov
ist on the screen. On Mon, Jan 14, 2013 at 6:54 PM, Alex Harui wrote: > Remove all columns from the ADG and don't assign a dataprovder. Is that > what you want it to look like? > > If so, define the columns somewhere else and only assign them if there is > data. > > &