Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 38c9e760
authored
Oct 26, 2012
by
Petri Jarvisalo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
can i has infoikkuna, can i ?
1 parent
84f36402
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
323 additions
and
72 deletions
code/LanBortalWeb/WebContent/admin/info/general.xhtml
code/LanBortalWeb/WebContent/admin/info/index.xhtml
code/LanBortalWeb/WebContent/admin/info/shop.xhtml
code/LanBortalWeb/WebContent/layout/blipview/template.xhtml
code/LanBortalWeb/WebContent/resources/cditools/shop/readerlisttiles.xhtml
code/LanBortalWeb/WebContent/resources/cditools/shop/readeventtiles.xhtml
code/LanBortalWeb/WebContent/resources/cditools/user/readerlist.xhtml
code/LanBortalWeb/WebContent/resources/cditools/user/tileview.xhtml
code/LanBortalWeb/WebContent/resources/style/blipview/css/general.css
code/LanBortalWeb/WebContent/resources/style/blipview/css/style.css
code/LanBortalWeb/WebContent/resources/style/blipview/img/arrow.png
code/LanBortalWeb/WebContent/resources/style/blipview/img/computer.png
code/LanBortalWeb/WebContent/resources/style/blipview/img/shop.png
code/LanBortalWeb/src/fi/insomnia/bortal/resources/i18n.properties
code/LanBortalWeb/src/fi/insomnia/bortal/resources/i18n_en.properties
code/LanBortalWeb/src/fi/insomnia/bortal/resources/i18n_fi.properties
code/LanBortalWeb/src/fi/insomnia/bortal/web/cdiview/shop/ReaderView.java
code/LanBortalWeb/WebContent/admin/info/general.xhtml
0 → 100644
View file @
38c9e76
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xmlns:ui=
"http://java.sun.com/jsf/facelets"
xmlns:h=
"http://java.sun.com/jsf/html"
xmlns:f=
"http://java.sun.com/jsf/core"
xmlns:c=
"http://java.sun.com/jsp/jstl/core"
xmlns:p=
"http://primefaces.org/ui"
xmlns:user=
"http://java.sun.com/jsf/composite/cditools/user"
xmlns:tools=
"http://java.sun.com/jsf/composite/cditools"
>
<h:body>
<ui:composition
template=
"/layout/#{sessionHandler.fullscreen}/template.xhtml"
>
<f:metadata>
<f:viewParam
name=
"userid"
value=
"#{userView.userid}"
/>
<f:event
type=
"preRenderView"
listener=
"#{userView.initView}"
/>
</f:metadata>
<ui:define
name=
"topbar"
>
<h:link
outcome=
"/admin/info/index"
class=
"userbackbutton"
value=
""
>
<div>
<h:outputText
value=
"#{i18n['infoview.back']}"
/>
</div>
</h:link>
</ui:define>
<ui:define
name=
"content"
>
<h:link
outcome=
"/admin/info/shop"
class=
"usertile"
value=
""
>
<div>
<img
src=
"#{request.contextPath}/resources/style/blipview/img/shop.png"
/>
<h:outputText
value=
"#{i18n['infoview.shop']}"
/>
</div>
</h:link>
<h:link
outcome=
"/admin/info/shop"
class=
"usertile"
value=
""
>
<div>
<img
src=
"#{request.contextPath}/resources/style/blipview/img/computer.png"
/>
<h:outputText
value=
"#{i18n['infoview.computerplace']}"
/>
</div>
</h:link>
</ui:define>
<ui:define
name=
"sidebar"
>
<user:tileview
/>
</ui:define>
</ui:composition>
</h:body>
</html>
\ No newline at end of file
code/LanBortalWeb/WebContent/admin/info/index.xhtml
View file @
38c9e76
...
@@ -18,13 +18,11 @@
...
@@ -18,13 +18,11 @@
</f:metadata>
</f:metadata>
<f:metadata>
<f:metadata>
<f:event
type=
"preRenderView"
listener=
"#{readerListDataView.initView}"
/>
<f:event
type=
"preRenderView"
listener=
"#{readerListDataView.initView}"
/>
<f:event
type=
"preRenderView"
listener=
"#{readerList.initReaderList}"
/>
</f:metadata>
</f:metadata>
<ui:define
name=
"content"
>
<ui:define
name=
"content"
>
<h:form>
<h:inputText
name=
"barcode"
value=
"#{barcodeView.barcode}"
/>
<h:commandButton
action=
"#{barcodeView.readBarcode}"
value=
"#{i18n['barcodeReader.readBarcode']}"
/>
</h:form>
<br
/>
<br
/>
<br
/>
<br
/>
<shop:readeventtiles
/>
<shop:readeventtiles
/>
...
@@ -32,7 +30,14 @@
...
@@ -32,7 +30,14 @@
</ui:define>
</ui:define>
<ui:define
name=
"sidebar"
>
<ui:define
name=
"sidebar"
>
<shop:readerlist
/>
<shop:readerlisttiles
/>
<br
/>
<h:form>
<h:inputText
name=
"barcode"
value=
"#{barcodeView.barcode}"
/>
<h:commandButton
action=
"#{barcodeView.readBarcode}"
value=
"#{i18n['barcodeReader.readBarcode']}"
/>
</h:form>
</ui:define>
</ui:define>
</ui:composition>
</ui:composition>
...
...
code/LanBortalWeb/WebContent/admin/info/shop.xhtml
0 → 100644
View file @
38c9e76
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xmlns:ui=
"http://java.sun.com/jsf/facelets"
xmlns:h=
"http://java.sun.com/jsf/html"
xmlns:f=
"http://java.sun.com/jsf/core"
xmlns:c=
"http://java.sun.com/jsp/jstl/core"
xmlns:p=
"http://primefaces.org/ui"
xmlns:user=
"http://java.sun.com/jsf/composite/cditools/user"
xmlns:tools=
"http://java.sun.com/jsf/composite/cditools"
>
<h:body>
<ui:composition
template=
"/layout/#{sessionHandler.fullscreen}/template.xhtml"
>
<f:metadata>
<f:viewParam
name=
"userid"
value=
"#{userView.userid}"
/>
<f:event
type=
"preRenderView"
listener=
"#{userView.initView}"
/>
</f:metadata>
<ui:define
name=
"topbar"
>
<h:link
outcome=
"/admin/info/general"
class=
"userbackbutton"
value=
""
>
<div>
<h:outputText
value=
"#{i18n['infoview.back']}"
/>
</div>
</h:link>
</ui:define>
<ui:define
name=
"content"
>
<h1>
Kaappa
</h1>
</ui:define>
<ui:define
name=
"sidebar"
>
<user:tileview
/>
</ui:define>
</ui:composition>
</h:body>
</html>
\ No newline at end of file
code/LanBortalWeb/WebContent/layout/blipview/template.xhtml
View file @
38c9e76
...
@@ -30,16 +30,16 @@
...
@@ -30,16 +30,16 @@
<h:body>
<h:body>
<div
class=
"container top"
>
<div
class=
"container top"
>
<ui:insert
name=
"topbar"
/>
</div>
</div>
<div
class=
"container clearfix"
>
<div
class=
"container clearfix"
>
<div
id=
"right"
>
<div
id=
"right"
>
<ui:insert
name=
"sidebar"
style=
"border-left: 1px solid black;"
/>
<ui:insert
name=
"sidebar"
/>
</div>
</div>
<div
id=
"left"
style=
"width: 800px;"
>
<div
id=
"left"
>
<ui:insert
name=
"content"
/>
<ui:insert
name=
"content"
/>
</div>
</div>
...
...
code/LanBortalWeb/WebContent/resources/cditools/shop/readerlisttiles.xhtml
0 → 100644
View file @
38c9e76
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xmlns:h=
"http://java.sun.com/jsf/html"
xmlns:f=
"http://java.sun.com/jsf/core"
xmlns:composite=
"http://java.sun.com/jsf/composite"
xmlns:ui=
"http://java.sun.com/jsf/facelets"
xmlns:c=
"http://java.sun.com/jsp/jstl/core"
xmlns:tools=
"http://java.sun.com/jsf/composite/tools"
xmlns:p=
"http://primefaces.org/ui"
>
<composite:interface>
</composite:interface>
<composite:implementation>
<h:form
id=
"readerlist"
>
<h:dataTable
id=
"reader"
value=
"#{readerListDataView.readers}"
var=
"rr"
>
<h:column>
<f:facet
name=
"header"
>
<h:outputText
value=
"${i18n['reader.name']}"
/>
</f:facet>
<h:outputText
value=
"#{rr.identification}"
/>
</h:column>
<h:column>
<f:facet
name=
"header"
>
<h:outputText
value=
"${i18n['reader.description']}"
/>
</f:facet>
<h:outputText
value=
"#{rr.description}"
/>
</h:column>
<h:column>
<p:commandButton
ajax=
"false"
action=
"#{readerView.setReaderToId(rr.id)}"
value=
"#{i18n['reader.select']}"
/>
</h:column>
</h:dataTable>
</h:form>
</composite:implementation>
</html>
code/LanBortalWeb/WebContent/resources/cditools/shop/readeventtiles.xhtml
View file @
38c9e76
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
<composite:implementation>
<composite:implementation>
<h:form>
<h:form>
<p:poll
interval=
"3"
/>
<p:poll
interval=
"3"
/>
<ui:repeat
value=
"#{readerView.readerEvents}"
var=
"event"
rendered=
"#{readerView.readerSelected}"
>
<ui:repeat
value=
"#{readerView.readerEvents}"
var=
"event"
>
<h:link
styleClass=
"userimagetile"
outcome=
"/
user/edit
"
<h:link
styleClass=
"userimagetile"
outcome=
"/
admin/info/general
"
rendered=
"#{!empty event.printedCard.user}"
>
rendered=
"#{!empty event.printedCard.user}"
>
<div>
<div>
...
...
code/LanBortalWeb/WebContent/resources/cditools/user/readerlist.xhtml
0 → 100644
View file @
38c9e76
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xmlns:h=
"http://java.sun.com/jsf/html"
xmlns:f=
"http://java.sun.com/jsf/core"
xmlns:composite=
"http://java.sun.com/jsf/composite"
xmlns:ui=
"http://java.sun.com/jsf/facelets"
xmlns:c=
"http://java.sun.com/jsp/jstl/core"
xmlns:tools=
"http://java.sun.com/jsf/composite/tools"
>
<composite:interface>
</composite:interface>
<composite:implementation>
<h:dataTable
id=
"reader"
value=
"#{readerListDataView.readers}"
var=
"rr"
>
<h:column>
<f:facet
name=
"header"
>
<h:outputText
value=
"${i18n['reader.name']}"
/>
</f:facet>
<h:outputText
value=
"#{rr.identification}"
/>
</h:column>
<h:column>
<f:facet
name=
"header"
>
<h:outputText
value=
"${i18n['reader.description']}"
/>
</f:facet>
<h:outputText
value=
"#{rr.description}"
/>
</h:column>
<h:column>
<h:link
outcome=
"/shop/showReaderEvents"
value=
"#{i18n['reader.select']}"
>
<f:param
value=
"#{rr.id}"
name=
"readerId"
/>
</h:link>
</h:column>
<h:column>
<h:link
outcome=
"/shop/editReader"
value=
"#{i18n['reader.edit']}"
>
<f:param
value=
"#{rr.id}"
name=
"readerId"
/>
</h:link>
</h:column>
</h:dataTable>
</composite:implementation>
</html>
code/LanBortalWeb/WebContent/resources/cditools/user/tileview.xhtml
0 → 100644
View file @
38c9e76
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xmlns:h=
"http://java.sun.com/jsf/html"
xmlns:f=
"http://java.sun.com/jsf/core"
xmlns:composite=
"http://java.sun.com/jsf/composite"
xmlns:ui=
"http://java.sun.com/jsf/facelets"
xmlns:c=
"http://java.sun.com/jsp/jstl/core"
xmlns:tools=
"http://java.sun.com/jsf/composite/tools"
xmlns:p=
"http://primefaces.org/ui"
>
<composite:interface>
</composite:interface>
<composite:implementation>
<h:outputScript
library=
"primefaces"
name=
"jquery/jquery.js"
target=
"head"
/>
<div
style=
"width: 300px; margin: 0 auto;"
>
<h:form
id=
"userform"
enctype=
"multipart/form-data"
>
<ui:fragment
rendered=
"#{not empty userView.user.id}"
>
<h:outputText
rendered=
"#{empty userView.user.currentImage}"
value=
"#{i18n['user.noCurrentImage']}"
/>
<ui:fragment
rendered=
"#{!empty userView.user.currentImage}"
>
<img
style=
"width: 150px;"
src=
"#{request.contextPath}/dydata/userimage/#{userView.user.currentImage.id}.img"
alt=
"image"
/>
</ui:fragment>
<br
/>
</ui:fragment>
<h:outputText
value=
"#{userView.selectedUser.nick}"
/>
<br
/>
<h:outputText
value=
"#{userView.selectedUser.wholeName}"
/>
<br
/><br
/>
<h:outputText
value=
"#{userView.selectedUser.address}"
/>
<br
/>
<h:outputText
value=
"#{userView.selectedUser.zip}"
/>
<h:outputText
value=
" #{userView.selectedUser.town}"
/>
<br
/><br
/>
<h:outputText
value=
"#{userView.selectedUser.email}"
/>
<br
/>
<h:outputText
value=
"#{userView.selectedUser.phone}"
/>
<br
/>
</h:form>
</div>
</composite:implementation>
</html>
code/LanBortalWeb/WebContent/resources/style/blipview/css/general.css
View file @
38c9e76
...
@@ -77,12 +77,12 @@ a.shopItem:active {
...
@@ -77,12 +77,12 @@ a.shopItem:active {
background
:
red
;
background
:
red
;
}
}
a
.userimagetile
{
a
.userimagetile
,
a
.usertile
{
float
:
left
;
float
:
left
;
}
}
a
.userimagetile
div
{
a
.userimagetile
div
{
width
:
128px
;
width
:
128px
;
height
:
192
px
;
height
:
224
px
;
border
:
1px
solid
black
;
border
:
1px
solid
black
;
margin
:
2px
;
margin
:
2px
;
}
}
...
@@ -91,6 +91,27 @@ a.userimagetile div img {
...
@@ -91,6 +91,27 @@ a.userimagetile div img {
}
}
.usertilenick
{
.usertilenick
{
font-size
:
14pt
;
font-size
:
14pt
;
}
a
.userbackbutton
:link
,
a
.userbackbutton
:visited
{
color
:
black
;
text-decoration
:
none
;
}
a
.userbackbutton
div
{
background
:
#CEE4ED
;
width
:
8em
;
height
:
2em
;
padding
:
1em
;
border
:
1px
solid
black
;
}
a
.usertile
div
{
background
:
#CEE4ED
;
width
:
10em
;
height
:
10em
;
padding
:
1em
;
margin
:
1em
;
border
:
1px
solid
black
;
}
}
code/LanBortalWeb/WebContent/resources/style/blipview/css/style.css
View file @
38c9e76
...
@@ -127,32 +127,3 @@ vertical-align: top;
...
@@ -127,32 +127,3 @@ vertical-align: top;
label
{
label
{
}
}
/* input {
border: 1px solid #ccc;
padding: 3px 6px;
border-radius: 6px;
background:rgba(0,130,250,0.1);
margin-right: 1em;
}
input:focus{
border: 1px solid black;
background:rgba(0,130,250,0.2);
}
input[type=submit] {
padding: 4px 16px;
border-radius: 8px;
border: 1px solid black;
background: skyblue;
}
input[type=submit]:hover {
padding: 4px 16px;
border-radius: 8px;
border: 1px solid black;
background: lightblue;
}
*/
code/LanBortalWeb/WebContent/resources/style/blipview/img/arrow.png
0 → 100644
View file @
38c9e76
331 Bytes
code/LanBortalWeb/WebContent/resources/style/blipview/img/computer.png
0 → 100644
View file @
38c9e76
11.3 KB
code/LanBortalWeb/WebContent/resources/style/blipview/img/shop.png
0 → 100644
View file @
38c9e76
3.04 KB
code/LanBortalWeb/src/fi/insomnia/bortal/resources/i18n.properties
View file @
38c9e76
...
@@ -119,9 +119,9 @@ placegroupview.toptext = \
...
@@ -119,9 +119,9 @@ placegroupview.toptext = \
poll.edit
=
edit
poll.edit
=
edit
product.providedRole
=
Tuote tarjoaa roolin
product.providedRole
=
Tuote tarjoaa roolin
product.returnProductEdit
=
Palaa tuotteeseen:
product.returnProductEdit
=
Palaa tuotteeseen:
product.saved
=
Tuote tallennettu
product.saved
=
Tuote tallennettu
productshop.minusOne
=
-1
productshop.minusOne
=
-1
productshop.minusTen
=
-10
productshop.minusTen
=
-10
...
@@ -136,4 +136,4 @@ resetMail.username = Username
...
@@ -136,4 +136,4 @@ resetMail.username = Username
resetmailSent.body
=
Email has been sent containing a link where you can change the password.
resetmailSent.body
=
Email has been sent containing a link where you can change the password.
resetmailSent.header
=
Email sent
resetmailSent.header
=
Email sent
user.unauthenticated
=
Kirjautumaton
user.unauthenticated
=
Kirjautumaton
code/LanBortalWeb/src/fi/insomnia/bortal/resources/i18n_en.properties
View file @
38c9e76
...
@@ -207,6 +207,10 @@ imagefile.file = Imagefile
...
@@ -207,6 +207,10 @@ imagefile.file = Imagefile
importuser.file
=
File
importuser.file
=
File
importuser.template
=
Template
importuser.template
=
Template
infoview.back
=
Back
infoview.computerplace
=
Computer places
infoview.shop
=
Shop
invite.emailexists
=
User with that email address already exists in the system.
invite.emailexists
=
User with that email address already exists in the system.
invite.notFound
=
Invite invalid or already used
invite.notFound
=
Invite invalid or already used
invite.successfull
=
Invite sent successfully
invite.successfull
=
Invite sent successfully
...
@@ -428,27 +432,27 @@ poll.end = Close poll
...
@@ -428,27 +432,27 @@ poll.end = Close poll
poll.name
=
Poll name
poll.name
=
Poll name
poll.save
=
Send answers
poll.save
=
Send answers
product.barcode
=
Barcode
product.barcode
=
Barcode
product.billed
=
Billed
product.billed
=
Billed
product.boughtTotal
=
Products billed
product.boughtTotal
=
Products billed
product.cart.count
=
To shoppingcart
product.cart.count
=
To shoppingcart
product.cashed
=
Cashpaid
product.cashed
=
Cashpaid
product.color
=
Color in UI
product.color
=
Color in UI
product.create
=
Create product
product.create
=
Create product
product.createDiscount
=
Add volumediscount
product.createDiscount
=
Add volumediscount
product.edit
=
edit
product.edit
=
edit
product.name
=
Name of product
product.name
=
Name of product
product.paid
=
Paid
product.paid
=
Paid
product.prepaid
=
Prepaid
product.prepaid
=
Prepaid
product.prepaidInstant
=
Created when prepaid is paid
product.prepaidInstant
=
Created when prepaid is paid
product.price
=
Price of product
product.price
=
Price of product
product.providedRole
=
Product defines role
product.providedRole
=
Product defines role
product.save
=
Save
product.save
=
Save
product.shopInstant
=
Create automatic cashpayment
product.shopInstant
=
Create automatic cashpayment
product.sort
=
Sort nr
product.sort
=
Sort nr
product.totalPrice
=
Total
product.totalPrice
=
Total
product.unitName
=
Unit name
product.unitName
=
Unit name
product.vat
=
VAT
product.vat
=
VAT
products.save
=
Save
products.save
=
Save
...
@@ -528,6 +532,7 @@ shop.count = Q
...
@@ -528,6 +532,7 @@ shop.count = Q
shop.price
=
price
shop.price
=
price
shop.product
=
Product
shop.product
=
Product
shop.readBarcode
=
Read
shop.readBarcode
=
Read
shop.shop
=
Shop
shop.totalPrice
=
Total
shop.totalPrice
=
Total
shop.user
=
Selling to
shop.user
=
Selling to
...
...
code/LanBortalWeb/src/fi/insomnia/bortal/resources/i18n_fi.properties
View file @
38c9e76
...
@@ -214,6 +214,10 @@ importuser.template = Malli
...
@@ -214,6 +214,10 @@ importuser.template = Malli
index.title
=
Etusivu
index.title
=
Etusivu
infoview.back
=
Takaisin
infoview.computerplace
=
Tietokonepaikat
infoview.shop
=
Kauppa
invite.emailexists
=
J
\u
00E4rjestelm
\u
00E4ss
\u
00E4 on jo k
\u
00E4ytt
\u
00E4j
\u
00E4tunnus samalla s
\u
00E4hk
\u
00F6postiosoitteella.
invite.emailexists
=
J
\u
00E4rjestelm
\u
00E4ss
\u
00E4 on jo k
\u
00E4ytt
\u
00E4j
\u
00E4tunnus samalla s
\u
00E4hk
\u
00F6postiosoitteella.
invite.notFound
=
Kutsu virheellinen tai jo k
\u
00E4ytetty.
invite.notFound
=
Kutsu virheellinen tai jo k
\u
00E4ytetty.
invite.successfull
=
Kutsu l
\u
00E4hetetty
invite.successfull
=
Kutsu l
\u
00E4hetetty
...
@@ -439,7 +443,7 @@ product.vat = ALV
...
@@ -439,7 +443,7 @@ product.vat = ALV
productShopView.readBarcode
=
Lue viivakoodi
productShopView.readBarcode
=
Lue viivakoodi
products.save
=
Tallenna
products.save
=
Tallenna
productsShopView.readBarcode
=
Lue
productsShopView.readBarcode
=
Lue
...
@@ -514,6 +518,7 @@ shop.count = Lkm
...
@@ -514,6 +518,7 @@ shop.count = Lkm
shop.price
=
Hinta
shop.price
=
Hinta
shop.product
=
Tuote
shop.product
=
Tuote
shop.readBarcode
=
Lue
shop.readBarcode
=
Lue
shop.shop
=
Kauppa
shop.totalPrice
=
Yhteens
\u
00E4
shop.totalPrice
=
Yhteens
\u
00E4
shop.user
=
Myyd
\u
00E4
\u
00E4n
shop.user
=
Myyd
\u
00E4
\u
00E4n
...
...
code/LanBortalWeb/src/fi/insomnia/bortal/web/cdiview/shop/ReaderView.java
View file @
38c9e76
...
@@ -123,10 +123,10 @@ public class ReaderView extends GenericCDIView {
...
@@ -123,10 +123,10 @@ public class ReaderView extends GenericCDIView {
public
void
initReaderList
()
{
public
void
initReaderList
()
{
if
(
super
.
requirePermissions
(
ShopPermission
.
SHOP_TO_OTHERS
))
{
if
(
super
.
requirePermissions
(
ShopPermission
.
SHOP_TO_OTHERS
))
{
}
}
}
}
public
List
<
Product
>
getAutoProducts
()
{
public
List
<
Product
>
getAutoProducts
()
{
List
<
Product
>
ret
=
new
ArrayList
<
Product
>();
List
<
Product
>
ret
=
new
ArrayList
<
Product
>();
...
@@ -216,6 +216,13 @@ public class ReaderView extends GenericCDIView {
...
@@ -216,6 +216,13 @@ public class ReaderView extends GenericCDIView {
this
.
readerid
=
readerid
;
this
.
readerid
=
readerid
;
}
}
public
String
setReaderToId
(
Integer
readerid
)
{
this
.
readerid
=
readerid
;
this
.
namecontainer
.
setReaderId
(
readerid
);
reader
=
readerbean
.
getReader
(
readerid
);
return
"/admin/info/index"
;
}
public
Reader
getReader
()
{
public
Reader
getReader
()
{
return
reader
;
return
reader
;
}
}
...
...
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