i had a cloumn is id (message id)
and use activescaffold manage the table
and i had outside web pages
i want the columns[:id] had links to :
"http://222.208.6.68:8080/Article/Frodo_#{:id}.htm"
how can i link this?
i use this code:
config.columns.add :id
url = "http://222.208.6.68:8080/Article/Frodo_#{:id}.htm"
link = ActiveScaffold::DataStructures::ActionLink.new(url)
config.columns[:id].set_link link
the view has id cloumn , and had link ,but it is wrong
i want link to :
http://222.208.6.68:8080/Article/Frodo_5268.htm
but it is :
http://127.0.0.1/articles/http://222.208.6.68:8080/Article/Frodo_id.htm/5268?_mothod=get
action name is : articles
how do that?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---