Re: Wicket-Spring Hibernate dao

2011-03-02 Thread ookpalm
Thanks everyone. I will go for using the new operator for my domain object
since there is no simple way to inject and it is not really nescessary to
inject bean to object in this case.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-Hibernate-dao-tp3320134p3332713.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wicket and Amazon EC2

2011-03-02 Thread ookpalm
I am going to deploy my Wicket app on Amazon EC2. Is there any problem I must
be aware of when deploying Wicket app on Amazon EC2?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Amazon-EC2-tp3332718p3332718.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket and Amazon EC2

2011-03-02 Thread ookpalm
Not at all? 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Amazon-EC2-tp3332718p3332775.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wicket-Spring Hibernate dao

2011-02-22 Thread ookpalm

Hi 

I have a question about wicket spring.

My project is setup with Wicket-Spring plus using Hibernate annotation. I
created a Dao object says CatDao and created a entity for relational
mapping with hibernate says Cat. Both are created by using Spring
applicationContext file.

On my page says AddCat I show the default values of Cat object that I
set in my applicationContext which is rendered correctly in textFields
(Wicket-spring works correctly). But when I use the command
catDao.store(cat); The following error happens:

Last cause: Unknown entity: WICKET_com.ook.Cat$$EnhancerByCGLIB$$d80b8019

I commented out the @SpringBean annotation of the varriable Cat in my AddCat
page and used the operator new directly to the Cat object like

Cat cat = new Cat();

The CatDao still remains the same
@SpringBean
CatDao catDao;

now the command catDao.store(cat); works fine. Data are written to the
Database. I have no clue how to solve this.

Please help.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-Hibernate-dao-tp3320134p3320134.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wicket auth-roles and Spring Security 3

2011-02-06 Thread ookpalm

Hello everyone,

Can we provide a principle with many roles? My idea is to create role per
page. Something like.

@AuthorizeInstantiation(PageA)
Class PageA
...

@AuthorizeInstantiation(PageB)
Class PageB
...

@AuthorizeInstantiation(PageC)
Class PageC

And assign roles to a principle like  Mr. One has PageA, PageB roles so he
can access to PageA and PageB.

Can we do this in Wicket auth-roles and Spring Security 3 integration? Or is
there another way to achieve this?

Thank you
OOkpalm
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-auth-roles-and-Spring-Security-3-tp3263515p3263515.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket auth-roles and Spring Security 3

2011-02-06 Thread ookpalm

Thank you James for your answer.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-auth-roles-and-Spring-Security-3-tp3263515p3263615.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Does Wicket 1.5 requires Wicket-auth-roles if I want to use Spring Security 3?

2011-02-03 Thread ookpalm

I found example of Spring Security 3 and Wicket using wicket-auth-roles here 
https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html
But I wonder why we need to use wicket-auth-roles to use Spring Security 3
with Wicket?
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Does-Wicket-1-5-requires-Wicket-auth-roles-if-I-want-to-use-Spring-Security-3-tp3259415p3259426.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Does Wicket 1.5 requires Wicket-auth-roles if I want to use Spring Security 3?

2011-02-03 Thread ookpalm

Hello

Thanks both of you. I got the idea.  
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Does-Wicket-1-5-requires-Wicket-auth-roles-if-I-want-to-use-Spring-Security-3-tp3259415p3259473.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org