Patches: Browse | Submit New | Admin

[#9500] Add "value" reader/writer to Gauge + event_handler autoload support

Date:
2007-03-23 16:04
Priority:
3
Submitted By:
Joachim Glauche (joaz)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Add "value" reader/writer to Gauge + event_handler autoload support

Detailed description
Two small additions to the SVN code:

1) I added value and value= to Gauge. So you can now do something like this:
gauge.value = gauge.value + 10

2) I added autoload support for event_handlers

before  Object::const_get(template.event_handler).new is called, I now call a 
require template.event_handler

So you don't have to require it in the loader - code. This means that if you call an Eventhandler "MyForm",
you have to name the file MyForm.rb .



Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
gauge_value_and_auto_require.patch Download

Changes:

Field Old Value Date By
File Added1615: gauge_value_and_auto_require.patch2007-03-23 16:04joaz