FlexJSStore example uses DragDrop to drag from what looks like a TileList
to a regular List, but neither are actually based on List. But there might
be code in there you can leverage.
HTH,
-Alex
On 6/9/17, 6:19 AM, "Josh Tynjala" wrote:
>I played around with the HTML drag and drop API not too l
I played around with the HTML drag and drop API not too long ago. It was
pretty intuitive and easy to work with.
https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API
- Josh
On Thu, Jun 8, 2017 at 11:46 PM, Harbs wrote:
> Has anyone done any work on reordering items in lists
; View this message in context:
> http://apache-flex-development.247.n4.nabble.com/FlexJS-List-reordering-tp62261p62262.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
Hi Harbs,
I haven't touch subject, but one question - Do you have in mind Basic List
or MDL List ?
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/FlexJS-List-reordering-tp62261p62262.html
Sent
Has anyone done any work on reordering items in lists (and drag/drop from and
into lists)?
Thanks,
Harbs
Yes. I think people expect lists to scroll by default. Sorry I missed that
when I made those changes.
—peter
On 6/5/17, 1:43 PM, "Harbs" wrote:
>That’s what I did for my app css. Changing it to ScrollingViewport fixed
>it.
>
>I did not know whether I should change defaults.css in Basic. It sound
That’s what I did for my app css. Changing it to ScrollingViewport fixed it.
I did not know whether I should change defaults.css in Basic. It sounds like
you are saying yes.
> On Jun 5, 2017, at 5:25 PM, Peter Ent wrote:
>
> That had to be accidental. I see in defaults.css that List has a View
That had to be accidental. I see in defaults.css that List has a Viewport
rather than ScrollingViewport. Just change that and lists should default
to scrolling.
Need to watch the DataGrid because its lists should not scroll - they just
grow and the enclosing container scrolls them all together.
‹
It looks like List defaults to overflow: hidden while it used to allow
scrolling by default.
Was this an intentional change?
Hi Alex,
I forgot to respond to this email. I got the selection working with your
indications. Thanks! :)
Hope we could work in get rid of the extra div as we talked in the layout
problems thread.
2016-11-28 7:12 GMT+01:00 Alex Harui :
> Actually, I was looking at the wrong widgets. Adding the
Actually, I was looking at the wrong widgets. Adding the
ItemRendererMouseController gets things working for me.
On 11/27/16, 12:06 AM, "Alex Harui" wrote:
>
>I spent time digging into it. Because you've stripped out the CSS for the
>components you are borrowing you may have to replace some of
Carlos, your example is buried in a big app. Kind of makes it harder to
debug. I posted a much simpler app. Does it work for you or not?
I spent time digging into it. Because you've stripped out the CSS for the
components you are borrowing you may have to replace some of it. I think
you may n
No errors and I build with maven so first there's a clean.
I upload a commit with the list, could you build it and see it?
The main difference I think I could have with other project is the excluded
default CSS:
-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css
2016-11-2
Hmm. Works for me. Make sure you've cleaned and built everything. Do
you get any exceptions in the console?
-Alex
On 11/26/16, 4:35 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>Hi Alex,
>
>I tried with you recent commit and selection is not working. The examples
>is simil
Hi Alex,
I tried with you recent commit and selection is not working. The examples
is similar to what you posted:
On 11/25/16, 10:22 AM, "Alex Harui" wrote:
>
>
>On 11/25/16, 7:41 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
>
>wrote:
>
>>Hi Alex,
>>
>>I'm looking through the different components and can't see the the way to
>>assign the items to the container (removing the div from DataGroup).
Ok Alex, we will see as Thanksgiving has ending.
Happy ThanksGiving! :)
2016-11-25 19:22 GMT+01:00 Alex Harui :
>
>
> On 11/25/16, 7:41 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
>
> wrote:
>
> >Hi Alex,
> >
> >I'm looking through the different components and can't see the the way
On 11/25/16, 7:41 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>Hi Alex,
>
>I'm looking through the different components and can't see the the way to
>assign the items to the container (removing the div from DataGroup). Can
>you give some clue about where to look?
I don't ha
Hi Alex,
I'm looking through the different components and can't see the the way to
assign the items to the container (removing the div from DataGroup). Can
you give some clue about where to look?
One more thing, beads names are about "Selection" but when I tun the
example nothing is selectable...
On 11/25/16, 1:49 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>Thanks Alex,
>
>I test your code and is running :)
>
>About order you mention, so order matters, ok, but I think that's could be
>s problem since people will get confuse since beads are pieces of code
>like
>conf
Thanks Alex,
I test your code and is running :)
About order you mention, so order matters, ok, but I think that's could be
s problem since people will get confuse since beads are pieces of code like
config and is strange need to declare a bead before other.
...I use the order in CSS, but you sa
Looks like there were a few places where the beads should have checked the
strand before the CSS.
It turns out you can't just use the order of beads in the CSS. You have
to know the pattern. That's why it use the term "beads" and "strand": the
order matters. Also, StringItemRenderer isn't a bea
Hi Alex,
I'm not capable to make a working exploded List, hope you could share with
me the recipe to get it running.
Those are the namespaces I have:
xmlns:ui="org.apache.flex.core.*"
xmlns:models="org.apache.flex.html.beads.models.*"
xmlns:bea
Thanks, I'm trying some things with all the info, I'll return to this
thread as I get some experience from this.
About UIBase, I think it should be accesible in mxml and maybe other
components as well...in the meanwhile I'm trying declaring package
namespaces
2016-11-24 8:19 GMT+01:00 Alex Harui
On 11/23/16, 10:42 PM, "yishayw" wrote:
>That was what I had in mind too, but why not extend ListBase instead of
>Container? If we extends ListBase then all beads except controller and
>model
>can stay as they are.
>
ListBase is currently written to have an internal "container" for the
rendere
context:
http://apache-flex-development.247.n4.nabble.com/FlexJS-List-Structure-tp56640p56711.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
On 11/23/16, 1:59 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>More over, If I put only
>
>it fails the same way
Well, that was more of an illustration. UIBase isn't currently in the
basic-manifest since most folks won't be using it in MXML. But I don't
have any objectio
Hi Alex, just going through the mails, great info here Thanks.
But I'm trying your example and can't make it work
This:
results in:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/src/main/flex/MainNavigation.mxml(113):
col: 13 Error:
On 11/23/16, 1:09 PM, "yishayw" wrote:
>Alex,
>
>If you read my post carefully you'll see I'm suggesting to separate some
>concerns that are now baked into List. Currently there's selection and
>data
>rendering baked into List. That's the reason Carlos couldn't just use List
>as is or even exte
ggesting that List (renamed to DataGroup)
only deal with data rendering.
--
View this message in context:
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-List-Structure-tp56640p56704.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
On 11/23/16, 8:58 AM, "Josh Tynjala" wrote:
>> In fact, for every Basic component, we should try to prove that you can
>use composition to create the very same component from a UIBase.
>
>This explanation and the UIBase example code that follows it is probably
>good to bring up more frequently.
ned in defaults.css) should not be
> >ArraySelectionModel but new stripped down version called ArrayModel. A
> >controller would not be necessary so I would remove that from
> >defaults.css.
> >
> >
> >
> >List would extend DataGroup, add the said proxy methods, and have
t;
>From: Carlos Rovira<mailto:carlos.rov...@codeoscopic.com>
>Sent: Wednesday, November 23, 2016 1:07 PM
>To: dev@flex.apache.org<mailto:dev@flex.apache.org>
>Subject: Re: [FlexJS] List Structure
>
>
>
>Hi Alex,
>
>it seems the DataGroup is not a component
that sound?
From: Carlos Rovira<mailto:carlos.rov...@codeoscopic.com>
Sent: Wednesday, November 23, 2016 1:07 PM
To: dev@flex.apache.org<mailto:dev@flex.apache.org>
Subject: Re: [FlexJS] List Structure
Hi Alex,
it seems the DataGroup is not a component for direct use like in old
Hi Alex,
it seems the DataGroup is not a component for direct use like in old flex
sdk, I tried to extend from it but doesn't know nothing about a
dataProvider. I think I need to wrap it. There's some docs about the
minimum requirements and beads needed?
I think what we need is exactly the DataGr
Hi Alex,
That would be ok, but I would like to provide data in flex way vía data
provider, since is the way we have to populate List in Flex... Is like
other components I introduce yesterday. I marked here :
https://cwiki.apache.org/confluence/display/FLEX/Table+Of+Components
to redactor and provi
On 11/22/16, 4:15 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>2016-11-22 22:56 GMT+01:00 Alex Harui :
>
>> I just remembered that there are two kinds of "lists" in HTML. There is
>> the Select element which has a selection model, and then there is ol/ul
>> which has no sel
2016-11-22 22:56 GMT+01:00 Alex Harui :
> I just remembered that there are two kinds of "lists" in HTML. There is
> the Select element which has a selection model, and then there is ol/ul
> which has no selection model. What kind of list is MDL's list? Does it
> support selection?
>
> IMO, ol/u
or item, add to data provider) but all with the look and feel of
>MDL List. If we don't get the flex ease in this control, a flexjs user
>will
>feel disappointed about how cumbersome is to make an app without the old
>flex way of list management that we all think is the right
r will
feel disappointed about how cumbersome is to make an app without the old
flex way of list management that we all think is the right way.
I think, I should start with flexjs List, but List component should not
"write" html tags. I think is the ListView Datagroup how needs to write the
en if we are writing some
tiny wrapped object around MDL components.
Piotr
-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/FlexJS-List-Structure-tp56640p56675.html
Sent from the Apache Flex Development mailing
Well if it were up to me, the Basic List and SimpleList will only support
the dataprovider/factory mechanism and not support setting random
children. Again, I am trying to make sure the Basic set does not have
just-in-case code. I think you've added components that thinly wrap HTML
elements so I
> Ugh. SimpleList got ruined in the back port from JS to AS.
>
>
So maybe I should wait for some fix on this component?
> It occurred to me though that both SimpleList and List/ListBase are going
> to be oriented towards the "ItemRenderer Factory" API. In such a case,
> there is a dataProvider
On 11/22/16, 7:43 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>I tried to extend from SimpleList, but I get the same output (ul -> div
>ListDataGroup -> items)
>It seems SimpleList extends Listso all complexity is there :?
Ugh. SimpleList got ruined in the back port fr
com on behalf of Carlos Rovira"
> wrote:
>
> >Hi,
> >
> >I'm digging into the FlexJS List, and is a complex component with lots of
> >beads. But in MDL the structure is simpler.
> >
> >In MDL there is only a with item elements
> >
> &g
03 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
wrote:
>Hi,
>
>I'm digging into the FlexJS List, and is a complex component with lots of
>beads. But in MDL the structure is simpler.
>
>In MDL there is only a with item elements
>
>in FlexJS we h
main container.
From: Carlos Rovira<mailto:carlosrov...@apache.org>
Sent: Tuesday, November 22, 2016 2:04 PM
To: dev@flex.apache.org<mailto:dev@flex.apache.org>
Subject: [FlexJS] List Structure
Hi,
I'm digging into the FlexJS List, and is a complex component with lots of
Hi,
I'm digging into the FlexJS List, and is a complex component with lots of
beads. But in MDL the structure is simpler.
In MDL there is only a with item elements
in FlexJS we have the List Container (that I can change to ), but then
we have the List DataGroup that is an additional div
48 matches
Mail list logo