[aida] ComboBox and CheckButton element?

Giuseppe Luigi Punzi Ruiz glpunzi at lordzealon.com
Sun Aug 17 20:18:18 CEST 2008


e addMenuCollection: (self parent companies) selectedToAspect:  
#company of: anObject.

I think this is the use but, I don't know what is the meaning of "of:  
anObject"

El 16/08/2008, a las 14:18, Rob Rothwell escribió:

> Giuseppe,
>
> Do you need just a drop-down, or a real combo box?  For a drop down,  
> you can use WebMenu:
>
>       e addMenuCollection: aMenuCollection selectedToAspect:  
> anAspect aspect of: anObject.
>
> For a "combo" box, I'd have to think about that...
>
> To mark thinks in a Grid to delete, I am doing this:
>
> abstractorListComponent
> 	| e |
> 	e := WebDataGrid new.
> 	e columnNames: #('abstractor' '' '' '' ).
> 	e columnAspects: #(#label nil nil nil ).
> 	e collection: self observee loadAbstractors.
> 	e
> 		column: e columns size - 1
> 		addBlock:
> 			[ :rowObject |
> 			WebElement new
> 				addLinkTo: rowObject currentDesignPage
> 				text: 'edit' ].
> 	e
> 		column: e columns size - 2
> 		addBlock:
> 			[ :rowObject |
> 			WebElement new
> 				addLinkTo: rowObject currentDesignPage
> 				text: 'design'
> 				view: #design ].
>
> 	e
> 		checkboxesColumn: e columns size
> 		collection: self observee selected.
> 	^ e
>
>
> where you can see the checkboxesColumn:collection: method in use, as  
> well as the idea of using a block to navigate to specific views  
> based on a hyperlink in a grid as well.
>
> To delete the items, you can reference the collection in self  
> observee selected.  If the objects you are deleting are other web  
> elements rendered as pages, you are about to go down the road of  
> Aida garbage collection, and I might be able to point you in the  
> right direction there when you get to it!
>
> Take care,
>
> Rob
>
>
> On Sat, Aug 16, 2008 at 5:44 AM, Giuseppe Luigi Punzi Ruiz <glpunzi at lordzealon.com 
> > wrote:
> Hi all,
>
> I need a ComboBox component to fill with a collection, and retrieve
> the option selected, and CheckButtons to put on every row of a Grid,
> to mark things to delete, but I don't find something like this on  
> Aida-
> Elements and/or Documentation. Somebody can help?
>
> Cheers.
> _______________________________________________
> Aida mailing list
> Aida at aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida
>
> _______________________________________________
> Aida mailing list
> Aida at aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20080817/5d1b0931/attachment.htm 


More information about the Aida mailing list