Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Max Mecklin
/
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 139ae8d2
authored
Feb 11, 2012
by
Tuomas Riihimäki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed product mgmt
1 parent
3d9986b2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
7 deletions
code/LanBortalBeansClient/ejbModule/fi/insomnia/bortal/beans/RoleBeanLocal.java
code/LanBortalWeb/WebContent/product/createDiscount.xhtml
code/LanBortalWeb/WebContent/resources/cditools/products/manageDiscount.xhtml
code/LanBortalWeb/WebContent/shop/shopToUser.xhtml
code/LanBortalBeansClient/ejbModule/fi/insomnia/bortal/beans/RoleBeanLocal.java
View file @
139ae8d
...
...
@@ -31,6 +31,4 @@ public interface RoleBeanLocal {
public
Role
setPermissions
(
Role
role
,
List
<
IAppPermission
>
newPerms
);
public
Object
getEmptyRole
();
}
code/LanBortalWeb/WebContent/product/createDiscount.xhtml
View file @
139ae8d
...
...
@@ -12,10 +12,7 @@
<ui:composition
template=
"/layout/#{sessionHandler.layout}/template.xhtml"
>
<ui:define
name=
"content"
>
<h:link
id=
"back"
outcome=
"/product/edit"
value=
"#{i18n['product.returnProductEdit']} #{productView.product.name}"
>
<f:param
name=
"productid"
value=
"#{productView.product.id}"
/>
</h:link>
<products:manageDiscount
commitaction=
"#{productView.createDiscount()}"
commitvalue=
"#{i18n['discount.create']}"
/>
...
...
code/LanBortalWeb/WebContent/resources/cditools/products/manageDiscount.xhtml
View file @
139ae8d
...
...
@@ -14,6 +14,9 @@
<composite:implementation>
<h:form
id=
"discountform"
>
<h:link
id=
"back"
outcome=
"/product/edit"
value=
"#{i18n['product.returnProductEdit']} #{productView.product.name}"
>
<f:param
name=
"productid"
value=
"#{productView.product.id}"
/>
</h:link>
<h:panelGrid
columns=
"2"
>
<h:outputLabel
value=
"#{i18n['discount.shortdesc']}:"
/>
<h:inputText
value=
"#{productView.discount.shortdesc}"
/>
...
...
code/LanBortalWeb/WebContent/shop/shopToUser.xhtml
View file @
139ae8d
...
...
@@ -7,7 +7,6 @@
>
<h:body>
<ui:composition
template=
"/layout/#{sessionHandler.layout}/template.xhtml"
>
<ui:param
name=
"thispage"
value=
"page.eventorg.list"
/>
<f:metadata>
<f:event
type=
"preRenderView"
listener=
"#{productShopView.initView}"
/>
</f:metadata>
...
...
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