On 19.02.2008, at 10:56, Gavin Eadie wrote:

There is an exact parallel failure with

   <wo:WOHyperlink href = "http://www.apple.com"; />

<com.webobjects.appserver._private.WOComponentRequestHandler>:
  Exception occurred while handling request:
    com.webobjects.appserver.parser.woml.WOMLTemplateParserException:
      Main: 7:3: Could not generate an element named: WOHyperlink

Caused by: com.webobjects.appserver._private.WODynamicElementCreationException: <com.webobjects.appserver._private.WOHyperlink> Missing required attribute: 'action' or 'href' or 'pageName' or 'directActionName' or 'actionClass'

report heading for Radar ... Gavin

And it has the same workaround:

<a href="[href]">Apple</a>

with:

    public String href () {
        return "http://www.apple.com";;
    }

I've filed a bug (#5655740) on that too a while ago.

There is another "problem" with WOHyperlink, that it appends a wosid to external links and possibly break them. And I know that you can add "?wosid = false;" to prevent that.

Personally I think that this is a bug and I think that everybody should be aware of it and file a bug when they think this is the wrong behaviour.

cug

_______________________________________________
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