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: James Cicenia <email@hidden>
- Date: Tue, 25 Sep 2007 20:24:39 -0500
Thanks for the information.
I use D2W for a really nice reporting feature on our site. It has been
working great. But when I add a new query attribute or list attribute or
page attribute, it sure isn't easy to remember all the rules that need
to be explicitly set. And, well they aren't the easiest to debug. BUT,
it does work great when you get them all correct.
I guess I was just hoping that someone would have a default rule
set that could be shared. Something that would format all dates,
list out many relations with/without the relationship link, etc.
As far as locking goes. I am using MultiECLockManager. Do I still
have to worry about D2W? I don't think I have seen any explicit
locking problems from the reporting feature.
Thanks,
James Cicenia
On Sep 25, 2007, at 4:13 PM, Guido Neitzer wrote:
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
----------------------------------------------------------------------
---
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Wonder-disc mailing list
email@hidden
https://lists.sourceforge.net/lists/listinfo/wonder-disc
_______________________________________________
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