English 中文(简体)
g 铁路信息。 财产——如何解冻[封闭]
原标题:grails message.properties - how to debug [closed]
  • 时间:2011-10-01 17:06:15
  •  标签:
  • grails

I have entries added in message.properties to display customized error messages that totally work, e.g.

address.street1.blank=Please provide a street address or P.O. Box

我有其他条目,所有突发事件都可以在重新命名后发现,例如:

billingshipping.creditCardNumber.blank=Please provide a credit card number

以前的定制信息在将错误财产称为“Join”类改为“BillingShipping”之前有效:

join.creditCardNumber.blank=Please provide a credit card number 

我做了清理,我还可以将上述“处理”错误财产改名为“处理”和撤销电文。 财产档案,而且我有足够的把握,不使用习俗信息,就错了违约的铁路。 把它再次改为“处理”,我收到习俗信息,表明档案正在按预期使用。

我如何进一步推测这一错误?

Thanks

P.S. Note 这些错误信息是用同一控制器以同样形式显示的。

最佳回答

你们有一个打字。

The class is called "BillingShipping" while the key is "billingshipping". Note the capitalization of the "s" in shipping.

问题回答

暂无回答




相关问题
grails + gwt request handling via controllers

I am new to gwt. I am trying to integrate gwt+grails.Can anybody provide me a good example for handling the request using grails controllers and not a custom servlet.I will be really thankful if ...

Error loading the grails gwt module xml

I ve installed the plugin from this article by Peter http://www.cacoethes.co.uk/blog/groovyandgrails/the-command-pattern-w.... While compile time its not able to find the module file which is present ...

Sorting Objects Based on Custom Domain Class Methods

I have a domain class, in which I ve defined some methods which give the object a score based on different algorithms (eg. popularity). I now want to retrieve a list of these objects sorted by one of ...

Grails Packaging and Naming Conventions

Packaging Controllers, Services,etc. i.e. - com.company.controllers - com.company.services Is this a good practice or should be avoided by all means?? Another worth mentioning problem I encountered ...

Hibernate/GORM: collection was not processed by flush()

I have an integration test in my Grails application that fails when I try to save an entity of type Member invitingMember.save(flush: true) This raises the following exception org.hibernate....

热门标签