[flexcoders] how to create custom tables

2010-05-18 Thread Ivan Perez
Hi!

I wanna  create different kinds of table inside my flex application like
pivot tables, but without data processing as OLAP cube  does.  So, I spend
some  time looking for (googling)  solutions about how to include tables
inside flex applications.
I'm a little confuse aboud which solution I should take, so I will present
here the solutions that I found and considering and some quotes about them:


1) Pivot table component or OLAP CUBE

 It solution show the information in the same way that I want,  but I don't
want to reprocess the information creating queries, filters and so...
It look like huge and complex  component  just for present information
without data processing.



2) Iframe-flex

This solution seemed to be a good solution because, with the Iframe, I could
put my data in a simple html table struture but, as I was expecting, the
behavior has a trade-off : 

It will hide any flash content that enters the area bounded by the IFrame.
(source:  iframe-flex faq).

3) Alex's solution (
http://blogs.adobe.com/aharui/2008/01/html_and_flex_1.html)

It seem a good solution for presenting html, I didn't test it yet. Is there
someone working on this solution It? Or using it? you  know, this post is
from 2008 and as I could see the project site was drop.


4) DataGrid and AdvancedDataGrid

It presents a good solution  for tables, simple tables, drag and drop
columns, ordering columns, etc. But It is not so good for present a simple
pivot table, with columns or lines in different styles.

:-(



Which solution would be the best to show a custom table?

Is there any other solution for custom tables?



tnks a lot
Ivan Perez


Re: [flexcoders] Is MATE framework appropriate for my project?

2010-04-19 Thread Ivan Perez
Are you planning work with modules?

Or will you use this structure in a single flex project?


[]s.
Ivan

On Mon, Apr 19, 2010 at 2:55 PM, md_ars mdar...@gmail.com wrote:



 Hello,

 We are planning to use MATE framework for our project. We will have two
 separate applications our main transaction application will have probably
 over 150 screens and 100 reports. The application is mostly data driven and
 we are using web-services to display and enter the data. I tested the MATE
 frame work with one screen and it was easy to implement. Now I am trying
 with one MENU and two screens and it is getting complicated to use shared
 classes etc. Is the MATE framework good for our application? If yes what is
 the best way to implement MATE? With two screens I am already finding tricky
 to use Injectors. The main code structure of my project looks like as given
 below.

 Main – Contains Application module
 view
 Forms – Contains screens based on panels/vbox or mdi window
 Events - Contains main event map and following folders
 Session – Events triggered from the screens.
 EventManager – Parsing the data after session events fetched data through
 web service.
 ControlClass – Common classes used for screens etc.

 Should I use a common structure of the whole application or should it a
 separate for each screen? To me it will be too messy to have common
 structure whereas too tedious for each screen. So far team size is 2 and may
 extend to 3. Please suggest an optimum way.

 Thanks
 Ars

  




-- 
Ivan Perez -


Re: [flexcoders] Getting session in Flex

2009-06-08 Thread Ivan Perez
It means, do you want to use remote comunication between from flex to java?

Did you try the remoteObject to make calls?

this link would help you:
http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_4.html

[]s,
Ivan

On Mon, Jun 8, 2009 at 6:07 PM, nhid nhi...@gmail.com wrote:



 Hello,

 How do I get an HttpSession from Flex to pass to the java backend?

 Thank you for your help.
  



Re: [flexcoders] Re: Form validation before submitting...

2009-05-18 Thread Ivan Perez
Why not stop and return when validForm just turns false, like this:

On Mon, May 18, 2009 at 5:54 PM, Tim Hoff timh...@aol.com wrote:



 *

 import
 * mx.core.UIComponent;

 *private* *function* formIsValid():Boolean
 {

 * for* (*var* i:int = 0; i  *this*.numChildren; i++)
  {
 *  if* ( UIComponent(*this*.getChildAt(i)).errorString != ** )
  {
*return*  *false*;
   }
  }

 ***return*  *true*;
 }

 -TH


 --- In flexcoders@yahoogroups.com, sminrana sminr...@... wrote:
 
  first you trying to use numChildren as a method but it is not it is a
  property which return int value and it is read-only so remove the () in
 the loop
 
  second what is errorString ???
 
  




-- 
Ivan Perez - Desenvolvimento Tecnológico
TecSinapse - www.tecsinapse.com.br
11 9324-0097  /  19 8812-0809


Re: [flexcoders] filter complex arrayCollection

2009-05-18 Thread Ivan Perez
have you ever seen OLAP Cube for flex 3?
http://livedocs.adobe.com/flex/3/html/help.html?content=olapdatagrid_6.html

Maybe it works.


On Mon, May 18, 2009 at 12:02 PM, Mark mark.pusat...@yahoo.com wrote:



 Is there a way to filter an ArrayCollection of hierarchical data?  So if I
 have a structure as I layed out below where I have a number of projects in
 my ArrayCollection, how can I filter on delCreationDate within
 deliverables/deliverable (there could be multiple deliverables)?  I've
 looked around and can't find much on this.  If I can't filter an
 ArrayCollection in this way, is there another collection I can use that will
 allow me to do this?   Thanks

 projects
 project
 pKey120/pKey
 projectNameDeployment/pilot/projectName
 startDate07/01/2008/startDate
 endDate/endDate
 actualCompleationDate/actualCompleationDate
 isOngoing1/isOngoing
 creationDate3/31/2009/creationDate
 contactEmail/contactEmail
 description/description
 notes/notes
 actionSteps/actionSteps
 SOW/SOW
 extraProjectFalse/extraProject
 code14129911/code
 engagementNameICL Comms Internal Comms/engagementName
 audienceTitle/audienceTitle
 orderID1/orderID
 priorityTitle/priorityTitle
 statusTitleOpen/statusTitle
 categoryTitleActive/categoryTitle
 pmNameJay Lindell/pmName
 leadNameJay Lindell/leadName
 deliverables
deliverable
   deliverableTitleAITIC: Communication/deliverableTitle
   estimatedHours1/estimatedHours
   actualHours1.5/actualHours
   startDate03/30/2009/startDate
   endDate04/02/2009/endDate
   actualCompleationDate04/02/2009/actualCompleationDate
   delCreationDate4/3/2009/delCreationDate
   statusTitleComplete/statusTitle
   comptencies
   competency
   pKey144/pKey
   startDate03/30/2009/startDate
   endDate04/02/2009/endDate
   actualCompleationDate04/02/2009/actualCompleationDate
   estimatedHours1/estimatedHours
   actualHours1.5/actualHours
   comCreationDate4/3/2009/comCreationDate
   resourceNameMark Pusateri/resourceName
   competencyTitleWriter/competencyTitle
   statusTitleComplete/statusTitle
  /competency
   /comptencies
   /deliverable
 /deliverables
 /project
 /projects


  




-- 
Ivan Perez - Desenvolvimento Tecnológico
TecSinapse - www.tecsinapse.com.br
11 9324-0097  /  19 8812-0809