Re: [Wonder-disc] Direct To Web Rule Practices?
Re: [Wonder-disc] Direct To Web Rule Practices?
- Subject: Re: [Wonder-disc] Direct To Web Rule Practices?
- From: Guido Neitzer <email@hidden>
- Date: Tue, 25 Sep 2007 15:13:28 -0600
On 25.09.2007, at 14:55, James Cicenia wrote:
First:
Using D2W without Wonder's automatic locking/unlocking is suicide.
Second:
Using D2W and re-inventing a couple of hundred wheels with writing
components is time consuming.
1) Can there be a default formatter for all NSTimestamp attributes
or does one have to use Wonder?
If you use Wonder (I don't know whether it works without it):
smartAttribute.userInfo.prototypeName = 'dateTime' ==> formatter = "%
d.%m.%Y %H:%M"
should to do the trick as long as you use protoypes.
2) How can I set the default display of a related attribute to not
have an href to the related object?
Have you tried
pageConfiguration = 'MyConf' and propertyKey = 'myRel' => disabled =
true
?
3) Is there a more "visual" rule editor available?
Seems like it would be cool to be able to visually drag and drop
attributes of base class, subclass, specific entity, etc. Then this
would render a rule file.
There is the crappy, non-working D2W assistant, that messes up your
rules completely and there is RuleModeler. Sorry, no dragging and
clicking here ...
4) Can I use Wonder's DTW frameworks without subclassing my EO?
This will happen automatically. ERXGenericRecord is patched in as a
superclass when you subclass ERXApplication and ERXSession - which
you should if you don't want deadlocked applications.
If you don't want to use Wonder, you should stay away from D2W in my
opinion.
cug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden