[Dev] Governance Registry - Where to define a new handlebars helper ?
Hi, We are working on the publisher of governance registry. We are trying to internationalize some text chains with jaggery and the Handlebars template engine. We understood that we have to define a new helper with the function registerHelper of the template engine Handlebars but we can't figure out in which Javascript file we should use this function ? We tried to do it in caramel.handlebars.client.js (path : /wso2greg-5.1.0/repository/deployment/server/jaggeryapps/publisher/themes/default/js/caramel.handlebars.client.js ) and some others js files but it didn't work. Regards Arnaud Charpentier ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Governance Registry - Where to define a new handlebars helpers ?
Hi, We are working on the publisher of governance registry. We are trying to internationalize some text chains with jaggery and the Handlebars template engine. We understood that we have to define a new helper with the function registerHelper of the template engine Handlebars but we can't figure out in which Javascript file we should use this function ? We tried to do it in caramel.handlebars.client.js (path : /wso2greg-5.1.0/repository/deployment/server/jaggeryapps/publisher/themes/default/js/caramel.handlebars.client.js ) and some others js files but it didn't work. Regards Arnaud Charpentier ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Governance Registry - What means these double curly braces in hbs files and how does it work ?
Hi, We are new to UI development of governance registry and are trying to internationalise some text of the publisher. We've tried to pass JS var from the server side to the client with jquery but it doesn't work. It seems that we should use the syntax with double curly braces as is done in every hbs files. But our problem is that we can't understand what are all these double curly braces. We've done many researches and tests but we're not able to figure out how does it work. Is that an existing web technology or a mechanism that WSO2 has created ? If this syntax was specifically created by WSO2, is there any documentation to help us on this subject ? Or could you explain us briefly how does it work ? Regards Arnaud Charpentier ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Getting involved in Governance Registry development - Building from sources
Hello, We are a group of 3 french engineering students working with Emoxa (WSO2 French partner) in order to develop some Governance Registry features. In that purpose we've built the product as described in the documentation but we are facing this issue : After the build is finished and successful, the shell scripts (and the whole bin directory) to launch the software are not existing. These are the steps we've done : - Cloning the source from : https://github.com/wso2/product-greg - Installing all the prerequisites (Maven, JDK, Ant, SVN, ...) - Building the software with "mvn clean install" Is there anything we are missing or something we are doing wrong ? Could you give us more details about how to setup a proper developer environment ? Regards. Arnaud CHARPENTIER ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev