I will explain my scenario, 1. I want to send the confirm user password url emailed to user.
ie http:www.myside.com/virtualdirectory/user/confirm.castle?username=a but i dont want to hardcode it. Is there any method for getting url for a controller. //Asssemly name , method name ie GetUrl(WebProject.User, methodname) which should return the url for that controller or any other solution ie i want to prepend 'http:www.myside.com/virtualdirectory/' to controller url + .castle appended + user details I cant hard code it as, i may change the virtual directory and file extension Many Thanks Kcube On May 11, 4:06 pm, Roelof Blom <[email protected]> wrote: > Perhaps this article is of use:http://hammett.castleproject.org/?p=159 > > > > On Mon, May 11, 2009 at 12:29 PM, Kcube <[email protected]> wrote: > > > Sorry actually the issue was something else.... i interpreted the > > issue wrongly... > > > I just want to get the url for that controller + method. > > > For example: > > > MyProject.Admin.User.cs - GetUser() methods > > > I want to get the url > > > ie /admin/user/GetUser.castle > > > Kind Regards > > > On May 11, 1:02 pm, Roelof Blom <[email protected]> wrote: > > > Not quite sure what you mean, can you provide an example of how the > > calling > > > code should look like? > > > > On Mon, May 11, 2009 at 8:49 AM, Kcube <[email protected]> wrote: > > > > > How to call method of component from other project with out adding > > > > reference. I feel is method in routing class, which help us to call > > > > methods by passing compoment url and methods name.. Can anyone help me > > > > to identify it. > > > > > Thanks- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
