Hi,
is there any photo gallery available for Pier? I mean a widget where I
could upload pictures and they are rendered in a nice way. I started
one 4 years ago but I abandoned it.
Bye
--
Damien Cassou
http://damiencassou.seasidehosting.st
Hi folks,
This mail is just a heads-up to anybody already using DataTables
(https://datatables.net/) or that developed a Seaside wrapper for it.
I just uploaded my initial working version of DataTables to STHub. If
your current wrapper is better than mine we can merge our efforts.
This initial version supports the basic features to instantiate a
DataTables jQuery object, plus support for AJAX+JSON responses and
also Server-side Processing
(https://datatables.net/manual/server-side).
I still have to write a proper example of how to use it, but if you
load the DataTables-Magritte package it will include a
DTMagritteReport that you can use to replace the "stock" MAReport.
Once I have time I'll try to set up an example to show the different
ways it can be used. Meanwhile look at the DTMagritteReport class to
see a particular use case. It includes support for server side sorting
(multiple columns), filtering, pagination, search.
To load it with all the dependencies run:
Gofer it
smalltalkhubUser: 'emaringolo' project: 'DataTables';
package: 'ConfigurationOfDataTables';
load.
(Smalltalk at: #ConfigurationOfDataTables)project development load: 'Magritte'.
The STHub is:
http://smalltalkhub.com/#!/~emaringolo/DataTables/
Regards!
Esteban A. Maringolo
After the discussion about multiple sort criteria [1] I decided to
make some modifications I was needing, and also repackage the initial
port Nicolas Cellier did.
The result is the transformation of Nicolas' TAG-SortFunctions [2]
"experiment" to a first class project plainly named 'SortFunctions'
available at:
http://smalltalkhub.com/#!/~emaringolo/SortFunctions/
Nicolas said:
"Since I got absolutely zero feedback after a long thread, I assumed
it was not interesting anybody...
But my personal opinion differs: this should be included in each and
every Smalltalk."
I sorry for not replying before, I also think this kind of features
should be easily discoverable in a default image, and that's why I
built a Metacello config to be included, maybe, in the MetaRepo.
Credits were preserved in the STHub project site both for Travis and Nicolas.
Best regards,
Esteban A. Maringolo
[1] http://forum.world.st/Has-someone-ever-built-a-sort-block-generator-tp47712…
[2] I guess TAG is for Travis A. Griggs
Hi,
Magritte's MAOneToManyComponent uses a hardcoded reference to MAReport,
which shows all the descriptions of the reference, even those in which
#visibleInReport attribute is false.
MAOneToManyComponent>>#buildReport
^ (MAReport rows: self value description: self reference)
sortEnabled: self magritteDescription isOrdered not;
yourself
Can we add a #reportClass attribute to such component?
With its correspondent #defaultReportClass answering MAReport, and maybe
filter the descriptions by #visibleInReport attribute, or simply delegate
such behavior to the #reportClass
I fixed it by subclassing MAOneToManyComponent, but I think this should go
at base level.
Regards!
--
View this message in context: http://forum.world.st/MAOneToManyComponent-s-report-shows-all-descriptions-…
Sent from the Magritte, Pier and Related Tools mailing list archive at Nabble.com.
Hi, i am using QCMagritte and I like it. The problem I found is in using custom components.
For example I have this description
<magritteDescription>
^ MADateDescription new
priority: 200;
beRequired ;
label: 'Vencimiento';
accessor: #vencimiento;
default: ( Date today + 30 ) ;
componentClass: MAJQDateInputComponent ;
comment: 'Fecha de vencimiento de la lista de precios';
yourself
But no MAJDateInputComponent is using by description.
Can anyone help me?
TIA
Ing. Pablo Digonzelli
Software Solutions
IP-Solutiones SRL
Metrotec SRL
25 de Mayo 521
Email: pdigonzelli(a)softsargentina.com
pdigonzelli(a)gmail.com
Cel: 5493815982714