Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Linnea Samila
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 04c7e377
authored
Mar 20, 2010
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of tkfftk@dev.intra.insomnia.fi:/data/bortal
2 parents
2de125b1
fffdd55d
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
5 deletions
code/.gitignore → .gitignore
code/LanBortal/EarContent/lib/LanBortalDatabase.jar
code/LanBortalBeansClient/ejbModule/META-INF/MANIFEST.MF
code/LanBortalDatabase/src/fi/insomnia/bortal/model/AccessRight.java
code/LanBortalWeb/WebContent/WEB-INF/faces-config.xml
code/LanBortalWeb/WebContent/layout/default-template.xhtml
code/LanBortalWeb/WebContent/user/create.xhtml
docs/kaaviot/tietokanta.zargo
code/
.gitignore
→
.gitignore
View file @
04c7e37
*/build
*/build
*.class
*.class
.DS_Store
code/LanBortal/EarContent/lib/LanBortalDatabase.jar
View file @
04c7e37
No preview for this file type
code/LanBortalBeansClient/ejbModule/META-INF/MANIFEST.MF
View file @
04c7e37
Manifest-Version: 1.0
Manifest-Version: 1.0
Class-Path:
Class-Path:
lib/LanBortalDatabase.jar
code/LanBortalDatabase/src/fi/insomnia/bortal/model/AccessRight.java
View file @
04c7e37
...
@@ -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
...
...
code/LanBortalWeb/WebContent/WEB-INF/faces-config.xml
View file @
04c7e37
...
@@ -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) -->
...
...
code/LanBortalWeb/WebContent/layout/default-template.xhtml
View file @
04c7e37
...
@@ -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>
...
...
code/LanBortalWeb/WebContent/user/create.xhtml
View file @
04c7e37
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<ui:define
name=
"content"
>
<ui:define
name=
"content"
>
<h:form>
<h:form>
<h:panelGrid
co
m
lumns=
"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"
/>
...
...
docs/kaaviot/tietokanta.zargo
View file @
04c7e37
No preview for this file type
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment