|
sebastianconcept |
|
|
This post has NOT been accepted by the mailing list yet.
Hi guys,
I want to play a little bit with Iliad and I need to do an action based on a path, possible? Let's say I want the counter to increase when the request has a path like: blahblah/counter/add and decrease blahblah/counter/subtract possible? yes? how? :) seb o/ |
|
|
If you just want a Smalltalk code to be executed and the current page is not changed when a new url is entered then I dont know if it is possible and I guess it should be done using the normal way like in the counter example.
But if you dont mind page reloading then just create a controller named "add" in your application class like this: add [ <category: 'controllers'> counter := counter + 1. ^pageContents ] Canol Gökel
|
|
sebastianconcept |
|
|
This post has NOT been accepted by the mailing list yet.
Iliad simplicity is #win
On Sat, Oct 1, 2011 at 6:43 AM, ZuLuuuuuu [via Smalltalk] <[hidden email]> wrote: If you just want a Smalltalk code to be executed and the current page is not changed when a new url is entered then I dont know if it is possible and I guess it should be done using the normal way like in the counter example. |
|
|
That's right. By the way, I guess you are not registered to Iliad Google group, that's why only forum.world.st users can see your messages. If you register to Google group your messages will be seen by everybody:
http://groups.google.com/group/iliad
Canol Gökel
|
|
sebastianconcept |
|
|
I've subscribed now :)
double checking.. yeah, the google groups UI offers the unsuscribe
On Mon, Oct 3, 2011 at 3:12 AM, ZuLuuuuuu [via Smalltalk] <[hidden email]> wrote: That's right. By the way, I guess you are not registered to Iliad Google group, that's why only forum.world.st users can see your messages. If you register to Google group your messages will be seen by everybody: |
| Powered by Nabble | See how NAML generates this page |