You may want to consider creating a direct action of your own, i.e.:
YourApp.woa/wa/myPageWithName?name=MyComponentName
That way you can check the name value and decide if it's an
appropriate component to return. If not, you could provide a default
or error page.
-G
On Oct 27, 2008, at 6:25 AM, Jonathan Ricker wrote:
I don't think any exists because I don't believe you normally would
do that. You could just make a direct action that uses
pageWithName. Perhaps if you provided more info on what you are
doing the good people on the list can provide you with the best
options.
-- Jonathan
P.S. There is (or maybe was?) a way to get at components with a url
like /cgi-bin/WebObjects/AppName.woa/wo/ComponentName.wo but I
believe it is considered a security hole...
On Oct 27, 2008, at 7:31 AM, Freddie Tilley wrote:
How do I get a complete url to the component as a String, like the
url returned by pageWithName?
I cannot find a method like directActionURLForActionNamed specific
for components
Freddie Tilley
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/jricker
%40vt.edu
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/george%40boxofficetickets.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]