wso2 / jaggery

The delicious Javascript framework
Apache License 2.0
115 stars 175 forks source link

application.serve() doesn't work without an index.jag in app directory #77

Open ruchiraw opened 10 years ago

ruchiraw commented 10 years ago

If you don't have an index.jag, then the callback function doesn't get executed.

ruchiraw commented 10 years ago

It seems like any request other than /{context} doesn't hit the callback that we register, even with the index.jag

Madhuka commented 10 years ago

without index.jag where it give 404, It do not hit 'JaggeryFilter', so it make fail and there is separate issue for this, Let debug into this deep and fixed both.

ruchiraw commented 10 years ago

This could happen due to the automatic registration of welcome file as index.jag through our deployer.

Madhuka commented 10 years ago

URL mapping was will fixed it. By now I have introduced programmatic URL mapping and this was been fixed. Sample Code/App and Introduction post will added soon