For clarification, some code.

http://svn.karlmenn.is/Hugi/trunk/src/is/karlmenn/hugi/Application.java
user/pw : temp/temp

The method "handlemacros( WORequest, WOResponse )" is the meat.

- hugi

// Hugi Thordarson
// http://hugi.karlmenn.is/




On 8.5.2008, at 19:11, Hugi Þórðarson wrote:

Whoops, I forgot to mention that. Yes, the whole point is to support dynamic content. It's a content management system, and none- programmers are using the syntax to do stuff only WO programmers would be able to do otherwise. Like write {km:currentdate} into the content of a web page (a database field) and get, well, *cough*, the current date in the response.

ERXInlineTemplate is not what I'm looking for, we're doing that type of thing already in a different location.

- hugi

// Hugi Thordarson
// http://hugi.karlmenn.is/




On 8.5.2008, at 18:38, Mike Schrag wrote:

But. What I keep thinking is: "Hugi, you're doing this the wrong way. A Macro is nothing but a component, arguments are just bindings - and you're reinventing WO-inline syntax in a bad way".
My first thought .. I don't see the point? If you're talking about supporting this in dynamic content, then you should look at ERXInlineTemplate in Wonder.

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to