Trace:
Differences ¶
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
en:tutorials:jurl [2012/01/23 17:08] – created foxmask | en:tutorials:jurl [2012/01/31 10:34] – [the simplest] foxmask | ||
---|---|---|---|
Line 15: | Line 15: | ||
</ | </ | ||
- | But, if you install this application in an environment where the path is different, | + | But, if you install this application in an environment where the path is different, |
===== 2 - writting URL "à la jelix" ===== | ===== 2 - writting URL "à la jelix" ===== | ||
Line 28: | Line 28: | ||
Where : | Where : | ||
+ | - '' | ||
- __news__ is the __module__ name, | - __news__ is the __module__ name, | ||
- | - __default__ is the name of my __contrôleur__, | + | - __default__ is the name of my __controller__, |
- and __index__ is my __method__. | - and __index__ is my __method__. | ||
Line 43: | Line 44: | ||
A concret case of this usage through a controller, could be for a form which always uses the same fields to create and edit a news, but the action itself will be different. | A concret case of this usage through a controller, could be for a form which always uses the same fields to create and edit a news, but the action itself will be different. | ||
- | Let's have a look to the following example | + | Let's have a look to the following example |
==== the controller ==== | ==== the controller ==== |