[ic] Passing options to widgets via table-editor

Mike Heins mike at perusion.com
Wed Mar 12 13:53:54 EST 2008


Quoting Bill Carr (bill at worldwideimpact.com):
> 
> On Mar 12, 2008, at 1:46 PM, Mike Heins wrote:
> 
> >Quoting Bill Carr (bill at bottlenose-wine.com):
> >>The time.widget has an 'ampm' option. How to I specify I would like
> >>the time formatted with AM/PM in my table-editor setup.
> >>
> >>[table-editor
> >>	label.starttime='Start Time'
> >>	filter.starttime=date_change
> >>	widget.starttime=time
> >>]
> >
> >[table-editor
> >	label.starttime='Start Time'
> >	filter.starttime=date_change
> >	widget.starttime=datetime_ampm
> >]
>
> Thanks for that but I only want to use the time widget. I actually had  
> the above but am upgrading the page with a javascript based date  
> selector. For now  just made a new widget out of a copy of the stock  
> time widget with the 'ampm' option hard coded on.

I think I missed the boat with the way some things are done in
table-editor. We should really have:

	extra.starttime="ampm=1"
	
-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <mike at perusion.com>

I don't want to get to the end of my life and find I have just
lived the length of it. I want to have lived the width of it as
well. -- Diane Ackerman


More information about the interchange-users mailing list