Skip to content

Commit

Permalink
Fix problems with not loading, links not linking
Browse files Browse the repository at this point in the history
r-friedman committed Jul 1, 2012

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 92815e1 commit e65aec6
Showing 36 changed files with 69 additions and 478 deletions.
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ public String getTitle() {
public Map<String, String> getLinks() {

Map<String, String> map = new LinkedHashMap<String, String>();
map.put("module/tbcase/landing.list", "Manage TB Case Reporting");
map.put("module/tbcase/admin/reportSelection.list", "TB Case Reports");
return map;
}
@Override
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ public String getRequiredPrivilege() {

@Override
public String getUrl() {
return "module/tbcase/admin/reportSelection.jsp";
return "module/tbcase/admin/reportSelection.list";
}

}
2 changes: 1 addition & 1 deletion api/src/main/resources/TBCaseReport.hbm.xml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<column name="reportId" />
</key>
<list-index column="parameter_id"/>
<composite-element class="TBCaseReportParameter">
<composite-element class="TBCaseParameter">
<property name="displayName" type="string" column="display_name" />
<property name="name" type="string" column="name" not-null="true" />
<property name="valueClass" type="class" column="class" not-null="true" />
51 changes: 16 additions & 35 deletions api/src/main/resources/liquibase.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/src/main/resources/messages.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@MODULE_ID@.title=TB Case Report Module
tbcase.title=TB Case Report Module
2 changes: 1 addition & 1 deletion api/target/classes/TBCaseReport.hbm.xml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<column name="reportId" />
</key>
<list-index column="parameter_id"/>
<composite-element class="TBCaseReportParameter">
<composite-element class="TBCaseParameter">
<property name="displayName" type="string" column="display_name" />
<property name="name" type="string" column="name" not-null="true" />
<property name="valueClass" type="class" column="class" not-null="true" />
51 changes: 16 additions & 35 deletions api/target/classes/liquibase.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/target/classes/messages.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@MODULE_ID@.title=TB Case Report Module
tbcase.title=TB Case Report Module
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion api/target/maven-archiver/pom.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Generated by Maven
#Sat Jun 30 16:46:01 EDT 2012
#Sun Jul 01 11:36:17 EDT 2012
version=0.5-SNAPSHOT
groupId=org.openmrs.module
artifactId=tbcase-api
Binary file modified api/target/tbcase-api-0.5-SNAPSHOT.jar
Binary file not shown.
7 changes: 7 additions & 0 deletions omod/pom.xml
Original file line number Diff line number Diff line change
@@ -210,4 +210,11 @@
</plugins>
</build>

<properties>
<MODULE_ID>${project.parent.artifactId}</MODULE_ID>
<MODULE_NAME>${project.parent.name}</MODULE_NAME>
<MODULE_VERSION>${project.parent.version}</MODULE_VERSION>
<MODULE_PACKAGE>${project.parent.groupId}.${project.parent.artifactId}</MODULE_PACKAGE>
</properties>

</project>
40 changes: 0 additions & 40 deletions omod/src/main/webapp/landing.jsp

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Generated by Maven
#Sat Jun 30 16:46:01 EDT 2012
#Sun Jul 01 11:36:17 EDT 2012
version=0.5-SNAPSHOT
groupId=org.openmrs.module
artifactId=tbcase-api

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion omod/target/classes/TBCaseReport.hbm.xml
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
<column name="reportId" />
</key>
<list-index column="parameter_id"/>
<composite-element class="TBCaseReportParameter">
<composite-element class="TBCaseParameter">
<property name="displayName" type="string" column="display_name" />
<property name="name" type="string" column="name" not-null="true" />
<property name="valueClass" type="class" column="class" not-null="true" />
12 changes: 6 additions & 6 deletions omod/target/classes/config.xml
Original file line number Diff line number Diff line change
@@ -6,35 +6,35 @@
<id>tbcase</id>
<name>TB Case Report Module</name>
<version>0.5</version>
<package>org.openmrs.module.@MODULE_ID@</package>
<package>org.openmrs.module.tbcase</package>
<author>Ivan Tellez</author>
<description>
TB Case Report Module for the Dominican Republic
</description>

<activator>@MODULE_PACKAGE@.TBCaseModuleActivator</activator>
<activator>org.openmrs.module.tbcase.TBCaseModuleActivator</activator>

<!-- <updateURL>https://dev.openmrs.org/modules/download/@MODULE_ID@/update.rdf</updateURL> -->
<!-- <updateURL>https://dev.openmrs.org/modules/download/tbcase/update.rdf</updateURL> -->
<!-- /Base Module Properties -->

<require_version>1.9.0</require_version>

<!-- Extensions -->
<extension>
<point>org.openmrs.admin.list</point>
<class>@MODULE_PACKAGE@.api.extension.html.AdminList</class>
<class>org.openmrs.module.tbcase.api.extension.html.AdminList</class>
</extension>
<extension>
<point>org.openmrs.gutter.tools</point>
<class>@MODULE_PACKAGE@.api.extension.html.TBCaseGutterLinkExt
<class>org.openmrs.module.tbcase.api.extension.html.TBCaseGutterLinkExt
</class>
</extension>




<!-- Internationalization -->
<!-- All message codes should start with @MODULE_ID@.* -->
<!-- All message codes should start with tbcase.* -->
<messages>
<lang>en</lang>
<file>messages.properties</file>
23 changes: 2 additions & 21 deletions omod/target/classes/liquibase.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion omod/target/classes/messages.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@MODULE_ID@.title=TB Case Report Module
tbcase.title=TB Case Report Module
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit e65aec6

Please sign in to comment.