Quick links: Content - sections - sub sections
EN

Trace: 1.6.x 1.1 1.4.x accueil 1.2rc1 utiliser-composer simple-jforms-example 1.3 1.4 1.7.x

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:tutorials:jurl [2012/01/23 17:08] – created foxmasken:tutorials:jurl [2012/04/14 18:44] (current) – [4 - Conclusion] laurent
Line 15: Line 15:
 </code> </code>
  
-But, if you install this application in an environment where the path is different, on the click of this link will lead to a 404 error page+But, if you install this application in an environment where the path is different, one the click of this link will lead to a 404 error page
  
 ===== 2 - writting URL "à la jelix" ===== ===== 2 - writting URL "à la jelix" =====
Line 28: Line 28:
  
 Where :  Where : 
 +  - ''{jurl ...} '' is the template plugin that will build the URL for you
   - __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 which illustrates how to assign the result of jUrl to a template
  
 ==== the controller ==== ==== the controller ====
Line 106: Line 107:
 with jelix, **jUrl** is the essential tool for porting its applications in heterogeneous environments and a very flexible implementation. with jelix, **jUrl** is the essential tool for porting its applications in heterogeneous environments and a very flexible implementation.
  
-[[http://jelix.org/articles/fr/manuel-1.3/urls|read more about jURL]]+[[http://docs.jelix.org/en/manual-1.3/urls|read more about jURL]]

en/tutorials/jurl.1327338487.txt.gz · Last modified: 2012/01/23 17:08 by foxmask

Recent changes RSS feed Creative Commons License