Achor validation

Maarten Mostert <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
Hello,

Is there something inside that allows me to trigger a smalltalk action as a validation before anything else.

I do something like this:

(html anchor)
							attributeAt: 'href' put: ’Somefile' ;
							class: 'pure-button pure-button-primary';
							attributeAt: 'download' put:  ’some download file';
							callback: [self  getInventoryFile];
							with: 
									[(html tag: 'i')
										class: 'fas fa-download';
										style: 'font-size: 14px;'.
									html space.
									html space.
									html text: 'Download counter’]

The callback is not executed now as the anchor directly responds to the download attribute.

Thanks in advance.

Maarten

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.