Hi All,
I've spent many hours trying to get this to work. And I'm getting quite desperate.
Would be great if someone out there could help me out :)
Currently using Zend Framework 1.9.5, though I have been struggling to get this to work for many versions now.
What I want to do is provide my own routes through an XML config, and make su...
I have a controller called form_questions_answers with a method in it called modify_rule but when I perform a post to /form_questions_answers/modify_rule/60 Rails tells me:
Routing Error
No route matches "/form_questions_answers/modify_rule/60" with {:method=>:post}
Why is this happening, I have map.resources :form_question_answers in...
I have used the ASP.net MVC Routing classes to provide REST-like URLs in a legacy ASP.net Web Application. Currently, the application has both these REST-like URLs, and file URLs (those ending in .aspx).
I now want to provide a facade over all these URLs for some additional functionality, something like http://server/facade/<actual u...
Hello
I would like to know if there is a method that, given a virtual path, will return a collection of parameter names and values for a route that matches the path. I need this to get the parameters of the URL on the target page without resorting to hard-coding a regular expression.
This is I guess the reverse of RouteTable.Routes.Get...
I want:
Every projectpart to belong to a
project.
Every solution to belong to a
projectart (and to a project through
that projectpart).
Every image to belong to a solution
(and to a project and a projectpart
through that solution.)
Every document to belong to a
solution (and to a project and a
projectpart through that solution.)
Every ...
Hi,
I'm creating in my index page of my ruby on rails program, a list of the most commonly searched for terms in my database and hence each time a user selects a specific category this is written to another database.
What i would like it to create a hyperlink and pass a certain amount of parameters to a form like is usually done with a ...
The website I'm working on has some fairly complicated routing structures and we're experiencing some difficulties working with the routing engine to build URLs the way we need them to be built.
We have a search results page that uses RegEx based pattern matching to group several variables into a single route segment (i.e. "www.host.com...
Because of issues with the Content-Disposition header (character encoding, cross-browser support) I decided to give another way to dynamically serve files a try.
Namely, I redirect the request to something like:
localhost/Download/Page.aspx/filename-without-extension
in order for the browser to pick up the file name at the end.
I als...
I need to give an external payment site a return url to my site after a customer pays. It will be to my create action in a RESTful subscription controller.
Ive tried giving the payment site this
blah.com/users/7/subscription/?_method=POST
but on return my app keeps trying to call my show action presumably because it thinks its a get ...
Wanting to play with jQuery, Orbited, and FasterCSV, I made a Rails chat application.
You can browse to a URL and there is a chat window that is similar to IRC. You can also export the contents of the chat window by visiting the same URL but adding a ".csv" extension to the URL.
HTML version: http://host.name/channel/sweetchatroom
CS...
I have ZF app that is utilizing a legacy Javascript at for some functionality. In order for this app to work i need to pass it a standard query string. So how can i use a standard Zend Route with a query string on it?
for example:
domain.com/my/routing/rule?legacyparm1=value&legacyparam2=value
It is not possible at this time to rewrit...
I found a post in asp.net:
URL Routing overrides Directory Listing
I met the same problem with the post's description.
So in a host enviroment, i have no rights to reorder the list modules in iis7, is there a solution to do in web.config, or it is imposible to do it?
...
So we've got a legacy system that tracks places with IDs like "Europe/France/Paris", and I'm building a Rails facade to turn this into URLs like http:// foobar/places/Europe/France/Paris. This requirement is not negotiable, the number of possible levels in unlimited, and we can't escape the slashes.
Setting up routes.rb for http://foob...
I'm running asp.net MVC site on IIS6 - I've edited my routing to look like the following:
routes.MapRoute(
"Default",
"{controller}.aspx/{action}/{id}",
new { controller = "Home", action = "Index", id = "" }
);
routes.MapRoute(
"Root",
...
I am unsure if my title was accurate enough. I am trying to make SEO URLs for my website which is developed in ASP.NET MVC. I configured my route to include:
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}/{seo}", ...
I have a simple form for searching for a user
<p>Enter a user's id number to search:</p>
<% using (Html.BeginForm("Search", "UserAdmin", FormMethod.Get)) { %>
<%= Html.TextBox("id") %>
<input type="submit" value="Search" />
<% } %>
I want this link to go to useradmin/search/{id} but the link is rendered as useradmi...
I am attempting to route a URL that does not have a static action i.e. Users can create systems which can be represented by any string. I would like to have a URL like the following:
http://yousite.com/System/WIN1234/Configure
By default the routing mechanism thinks that WIN1234 is the action, whereas I would like to be able to catch...
I've developed a new Ruby on Rails site for my organization. I want the new Rails site to intercept incoming requests that were meant for the old site and display a message for the user indicating that the new site is launched, a link the new URL they were most likely trying to get to, and a reminder to update bookmarks.
So I'm prett...
I'm working on a mini CMS-like application using asp.net MVC 1.0 (I will upgrade it once 2.0 is released). Once feature I want, that is pretty vital to a CMS, is the ability for an admin to add pages to their site.
Essentially, if the admin wants to add a page called "Links", I want them to be able to do so without having to go through...
I am setting up a simple routing system for my new custom MVC framework that I am making.
Currently my router class views the URL as such:
www.example.com/controller/controller_action/some/other/params
So, essentially...i've been reserving the first two segments of the URI for controller routing. However, what if I just want to run t...