This project is read-only.

How to put a hyper link in objectView ?

Jun 26, 2012 at 1:50 PM

I am trying to put a simple outside hyper link in ObjectView. If I  use something like that ..<a href="google.com"> CLick </a>.

it directs to  localhost/google.com  which is really odd. It thinks its a action.

 

is there anyway I can solve that problem ? 

 

thanks

Jun 26, 2012 at 2:47 PM

Adding links into a view is standard ASP.NET MVC stuff, not specific to Naked Objects MVC.

It looks to me like it is just treating your link as a relative address.  Did you try it with a properly formed URL e.g.:  <a href="http://google.com"> CLick </a> ?