Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
civitas-digitalis
platform
Commits
f2e9e2b7
Commit
f2e9e2b7
authored
Jan 18, 2018
by
Elias Englmeier
Browse files
model hints for project service
parent
e9302ee1
Changes
4
Hide whitespace changes
Inline
Side-by-side
modules/MapModule/bin/MapModule/portlet/MapModulePortlet.class
View file @
f2e9e2b7
No preview for this file type
modules/MapModule/src/main/java/MapModule/portlet/MapModulePortlet.java
View file @
f2e9e2b7
...
...
@@ -80,13 +80,6 @@ public class MapModulePortlet extends MVCPortlet {
JSONFactoryUtil
.
looseSerializeDeep
(
tmp
));
}
// if(ProjectLocalServiceUtil.getProjectByLayoutIdRef(themeDisplay.getLayout().getPrimaryKey()) != null){
// renderRequest.setAttribute("allIdeas",
// JSONFactoryUtil.looseSerializeDeep(IdeasLocalServiceUtil.getAllIdeasForProject
// (ProjectLocalServiceUtil.getProjectByLayoutIdRef(themeDisplay.getLayout().getPrimaryKey()).getPrimaryKey())));
// }
super
.
render
(
renderRequest
,
renderResponse
);
}
...
...
modules/ideaService/ideaService-service/bin/META-INF/sql/tables.sql
View file @
f2e9e2b7
...
...
@@ -72,6 +72,6 @@ create table IDEA_Review (
createDate
DATE
null
,
modifiedDate
DATE
null
,
accepted
BOOLEAN
,
feedback
VARCHAR
(
75
)
null
,
feedback
STRING
null
,
ideasIdRef
LONG
);
\ No newline at end of file
modules/projectService/projectService-service/src/main/resources/META-INF/portlet-model-hints.xml
View file @
f2e9e2b7
...
...
@@ -13,7 +13,9 @@
<field
name=
"titleImgRef"
type=
"String"
>
<hint
name=
"max-length"
>
500
</hint>
</field>
<field
name=
"projectToken"
type=
"String"
/>
<field
name=
"projectToken"
type=
"String"
>
<hint
name=
"max-length"
>
300
</hint>
</field>
<field
name=
"title"
type=
"String"
>
<hint
name=
"max-length"
>
50
</hint>
</field>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
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 comment