OpenShift + Mentawai Problem

2

I have a problem with OpenShift. I already uploaded my application (java / jsp) and my bank (postgresql) and it looks Okay.

The problem is that I use mentawai as an mvc framework and the application is not finding the lists and i18n internationalization.

The app address is this: link

I have already researched in several places but I did not find anything related to this! Could someone help me?

    
asked by anonymous 31.03.2015 / 21:30

1 answer

1

It looks like you are not sending your list to JSP and thus the tag mtw on the page gets broken. In the corresponding method that invokes your page you should send the list positions via "output".

Example:

output.setValue("posicoes", posicoes);

This code should be placed before its SUCCESS consequence.

    
17.04.2015 / 16:17