Re: Direct Actions in 5.4
Re: Direct Actions in 5.4
- Subject: Re: Direct Actions in 5.4
- From: "Gennady Kushnir" <email@hidden>
- Date: Sun, 16 Dec 2007 18:12:25 +0300
your DirectAction class should be in anonymous package.
otherwise url will be like
wa/my.package.DirectAction/welcome
anyway if you are experimenting just try adding to your Main page a hyperlink to that welcome action (using WOHyperlink dynamic element) and see what url it renders into and how this url will work
2007/12/16, Thierry Kramis <email@hidden>:
I did try lowercase. no luck on this.
Am 16.12.2007 um 14:16 schrieb Pascal Robert:
> You have to respect the case, so it's /wa/welcome (lower case "w")
>
>> Hi all
>>
>> I'm working on my first Direct Actions and on WO 5.4. I added an
>> action welcomeAction() to DirectAction that returns a page Welcome
>> (a component file).
>>
>> When I call that action using url/wa/Welcome I get "Unable to find
>> framework named "Welcome".
>>
>> What am I missing here?
>>
>> Regards Thierry
>>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
_______________________________________________
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