Commit graph

19 commits

Author SHA1 Message Date
Colin Kuskie
8c759ed7bc Implement keywords differently (successfully) in the Asset class. Extra tests to verify it in Asset.t 2010-06-04 11:33:06 -07:00
Scott Walters
7933e12ab5 get() shouldn't return session; fixes the Asset.t "get, specific properties - no session" test 2010-06-03 20:04:01 -04:00
Scott Walters
483acbc382 Revert "Calls to set() and update() set attributes as well as "properties"."
This reverts commit 57fe0721ab.
2010-05-31 14:39:36 -04:00
Scott Walters
57fe0721ab Calls to set() and update() set attributes as well as "properties".
Fixes t/Keywords.t number 11.
2010-05-27 22:26:37 -04:00
Graham Knop
12fcdf201f almost working using metaclass roles 2010-02-26 16:55:57 -06:00
Graham Knop
57484beb66 asset role should include generic object role, not itself 2010-02-17 16:13:38 -06:00
Colin Kuskie
d6cbcf4604 getFormProperties now also passes i18n arguments to sprintf if requested. 2010-02-12 11:33:23 -08:00
Colin Kuskie
3d733a1a93 Add subtext to list of form fields that will do i18n lookups. 2010-02-11 19:15:01 -08:00
Colin Kuskie
3b70d64b82 rework WebGUI::Definition::Role::Object when passing sub refs for form property values. 2010-02-09 19:28:45 -08:00
Colin Kuskie
60375516ab More attribute => aspect changes. Add get_all_attributes_list, which returns a list of the names of all attributes. 2010-01-25 19:21:00 -08:00
Colin Kuskie
b2db9d491b Change getProperty to getFormProperties, which returns the form element of the requested property with i18n and sub ref evaluated. 2010-01-21 16:41:53 -08:00
Colin Kuskie
ed752a25c3 Make WebGUI::Definition property methods work the same way that Moose attribute methods do.
Specifically, get_property_list does not return property names from all classes.  Add a new
method to do that.  Refactor and reuse lots of code.
2010-01-08 09:04:27 -08:00
Colin Kuskie
030f6bccf0 Force set to process properties in insertion order.
Note, we should look for a way to make this more efficient.
2009-12-18 15:28:10 -08:00
Colin Kuskie
812c2e4c37 Finish up POD for Definition::Role::Object 2009-12-10 19:46:14 -08:00
Colin Kuskie
0f3260131d Add POD. Use meta->find_attribute_by_name instead of can. Use get_property_list instead of get_all_properties. Change set to ignore bad properties instead of ending the set. 2009-12-10 17:48:23 -08:00
Graham Knop
bb2667206d adding some methods to role, other small cleanups 2009-12-07 12:16:07 -06:00
Graham Knop
fdb72a6d7f small adjustments 2009-12-07 11:29:03 -06:00
Colin Kuskie
0c90162c57 Fix a syntax error, and add a list of newly required modules to testEnvironment.pl 2009-12-02 16:06:06 -08:00
Graham Knop
88aba652c7 moose based definition 2009-12-02 11:37:41 -06:00