Commit 04c7e377 by Tuukka Kivilahti

Merge branch 'master' of tkfftk@dev.intra.insomnia.fi:/data/bortal

2 parents 2de125b1 fffdd55d
*/build */build
*.class *.class
.DS_Store
Manifest-Version: 1.0 Manifest-Version: 1.0
Class-Path: Class-Path: lib/LanBortalDatabase.jar
...@@ -38,6 +38,9 @@ public class AccessRight implements ModelInterface { ...@@ -38,6 +38,9 @@ public class AccessRight implements ModelInterface {
@Column(name = "right_name", nullable = false) @Column(name = "right_name", nullable = false)
private String name; private String name;
/**
* Decribes the access right...
*/
@Lob @Lob
@Column(name = "right_description") @Column(name = "right_description")
private String description; private String description;
...@@ -48,9 +51,11 @@ public class AccessRight implements ModelInterface { ...@@ -48,9 +51,11 @@ public class AccessRight implements ModelInterface {
@OneToMany(mappedBy = "accessRight") @OneToMany(mappedBy = "accessRight")
private List<RoleRight> roleRights; private List<RoleRight> roleRights;
@Override @Override
public Integer getId() { public Integer getId() {
return id; return id;
} }
@Override @Override
......
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
version="2.0"> version="2.0">
<application> <application>
<resource-bundle> <resource-bundle>
<base-name>resources.i18n</base-name> <base-name>i18n</base-name>
<var>i18n</var> <var>i18n</var>
</resource-bundle> </resource-bundle>
<message-bundle>i18n</message-bundle> <message-bundle>resources.i18n</message-bundle>
<!-- Legal Country codes: http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm --> <!-- Legal Country codes: http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm -->
<!-- Assigned Country codes: --> <!-- Assigned Country codes: -->
<!-- Insomnia: IN (INDIA) --> <!-- Insomnia: IN (INDIA) -->
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<a href="http://www.insomnia.fi">www.insomnia.fi</a> <a href="http://www.insomnia.fi">www.insomnia.fi</a>
</ui:insert> </ui:insert>
</div> </div>
<div id="logo"><h1><ui:insert name="globaltitle">Y<span>ks </span>P<span>ikku </span>J<span>uttu </span></ui:insert></h1></div> <div id="logo"><h1><ui:insert name="globaltitle">Lan Bortal</ui:insert></h1></div>
<div id="menu"> <div id="menu">
<ui:insert name="toplinks"><ui:include src="/layout/toplinks.xhtml" /></ui:insert> <ui:insert name="toplinks"><ui:include src="/layout/toplinks.xhtml" /></ui:insert>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<ui:define name="content"> <ui:define name="content">
<h:form> <h:form>
<h:panelGrid comlumns="2"> <h:panelGrid columns="2">
<h:outputLabel value="Nick:" /><h:inputText value="#{userView.nick}" /> <h:outputLabel value="Nick:" /><h:inputText value="#{userView.nick}" />
<h:outputLabel value="Password:" /><h:inputSecret value="#{userView.password}" /> <h:outputLabel value="Password:" /><h:inputSecret value="#{userView.password}" />
<h:commandButton action="#{userView.createUser()}" value="Create" /> <h:commandButton action="#{userView.createUser()}" value="Create" />
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!