[Seaside] Seaside and Bootstrap

Paul DeBruicker pdebruic at gmail.com
Thu Jul 18 15:12:18 UTC 2013


Hi Olivier,


You'd do this:

 	html div 	
 		class: 'input-append';
 		with: [
 			html anchor
 				class: 'btn btn-info';
 				url: '#mymodal';
				attributeAt:'data-toggle' put:'modal';
 				with: [			
 					html twbsIcon: 'icon-white icon-user'.
 				].			
 		]



Good luck

Paul




On 07/18/2013 07:01 AM, Olivier Auverlot wrote:
> Hi Paul,
> 
> I found this possibility but I don't know how to use it properly?
> 
> For example, if I create a graphical button to open a modal box: 
> 
> 	html div 	
> 		class: 'input-append';
> 		with: [
> 			html anchor 
> 				class: 'btn btn-info';
> 				url: '#mymodal';
> 				with: [			
> 					html twbsIcon: 'icon-white icon-user'.
> 				].			 
> 		]
> 
> Where do you set a new attribute as data-toggle ?
> 
> Olivier ;-)
> 
> Le 18 juil. 2013 à 15:01, Paul DeBruicker a écrit :
> 
>> Use #attributeAt:put:
>>
>>
>>
>> On Jul 18, 2013, at 5:54 AM, Olivier Auverlot <olivier.auverlot at gmail.com> wrote:
>>
>>> Hi, 
>>>
>>> I work on a Seaside application with the bootstrap framework. Bootstrap uses custom attributes as data-toggle or data-dismiss. 
>>>
>>> Someone know how to use it ?
>>>
>>> Best regards
>>> Olivier ;-)_______________________________________________
>>> seaside mailing list
>>> seaside at lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 



More information about the seaside mailing list