Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Displaying validation message #109

Closed
lforge opened this Issue Mar 26, 2012 · 7 comments

Comments

Projects
None yet
4 participants

lforge commented Mar 26, 2012

Folks,

I am having a problem displaying validation message in the todo app tutorial. I have done the following:

  1. Created a directory called "locales" in my todo app to directory.
  2. Updated the config/development.js file to add
    , i18n: {
    defaultLocale: 'en-us'
    ,loadPaths: [process.cwd() + '/locales']
    }
  3. Copy and Paste the template/locales/en-us.json file into my "locales" directory
  4. Updated my app/views/todos/_form.html.ejs based on the latest repo todo app example.
  5. Updated my app/controllers/todos.js based on the latest repo todo app example.
  6. Fire up geddy.

When I try to add a new todo say I leave out the title field blank and click add, it will give me the validation property name such as [[model.validatesPresent]] instead of the message itself.

Am I missing something here? Any help will be appreciated. Thanks.

Contributor

Techwraith commented Mar 29, 2012

We're working on reproducing this one now. There's likely an issue we need to solve here. I'll keep you updated with info as we get it.

lforge commented Mar 29, 2012

Thanks and let me know if you need a tester.

Sent from my iPhone

On Mar 29, 2012, at 3:36 PM, Daniel Ericksonreply@reply.github.com wrote:

We're working on reproducing this one now. There's likely an issue we need to solve here. I'll keep you updated with info as we get it.


Reply to this email directly or view it on GitHub:
mde#109 (comment)

Contributor

naimax commented Apr 11, 2012

I have the same problem in Windows 7

Contributor

Techwraith commented Apr 11, 2012

@mde Any ideas here? I haven't been able to jump in and try to reproduce this one yet.

Contributor

Techwraith commented May 9, 2012

@mde- have any input on this one?

lforge commented May 16, 2012

@Techwraith , I am sorry for not responding. I have since moved on to a different project. I will try to check into this perhaps this weekend. Thanks.

@Techwraith Techwraith closed this Jun 23, 2012

nguyenth commented Jan 4, 2013

How i validate from client with geddy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment