Re: PageParameters & mounted pages

2015-11-18 Thread Sebastien
Hi Martin, Thank you very much for this explanation and suggestion! As you said, both are GET parameters (and actually, both are accessible thought page-parameters), so from a user point of view it is strange that one is not considered as a "request parameter". Consider a user, who used to get t

Re: Adding line breaks in MessageDialog

2015-11-18 Thread Sebastien
Hi, You have to override #newLabel like this: @Override protected Component newLabel(String id, IModel model) { return super.newLabel(id, model).setEscapeModelStrings(false); } Hope this helps, Sebastien. On Wed, Nov 18, 2015 at 5

Re: Wicket 7 - OutOfMemory PermGen

2015-11-18 Thread Mihir Chhaya
Thanks, Christos. That is not the case though; we have Java 7 JDE from IDE to Application server. On Wed, Nov 18, 2015 at 12:43 PM, Christos Stieglitz wrote: > Just in case: > i recently had exactly the same problem. It turned out that it is not > related to Wicket at all. > > Do you use a Java8

Re: Wicket 7 - OutOfMemory PermGen

2015-11-18 Thread Christos Stieglitz
Just in case: i recently had exactly the same problem. It turned out that it is not related to Wicket at all. Do you use a Java8 JDK? Do you compile for Java7? The PermGen Exception happens at random times [*], always at the same line in the code. Hence you assume you have some faulty code there.

Adding line breaks in MessageDialog

2015-11-18 Thread smoothe19
How can I add line breaks in the message content of a message dialog? I have tried String message = "Text here: More text " ; Dialog.setEscapeModelStrings(false); Dialog.setModelObject(message); failed to work HTML: java: private void createDialog(){ Dialog = new MessageDialog("dia

Re: Wicket 7 - OutOfMemory PermGen

2015-11-18 Thread Mihir Chhaya
Martin, Yes. I am using Wicket 7.00. On Wed, Nov 18, 2015 at 11:55 AM, Mihir Chhaya wrote: > First, Thanks Francois for your quick looking into this. > > The SearchDealerPage is created as below. The link is menu option. > > BookmarkablePageLink dealerInquiryLink = new > BookmarkablePageLink("de

Re: Wicket 7 - OutOfMemory PermGen

2015-11-18 Thread Mihir Chhaya
First, Thanks Francois for your quick looking into this. The SearchDealerPage is created as below. The link is menu option. BookmarkablePageLink dealerInquiryLink = new BookmarkablePageLink("dealerInquiryLink", SearchDealerPage.class, searchPageParameters); Thanks, -Mihir. On Wed, Nov 18, 20

Re: Wicket 7 - OutOfMemory PermGen

2015-11-18 Thread Martin Grigorov
Hi, Do you use 7.0.0? Because there was a problem - https://issues.apache.org/jira/browse/WICKET-5978 It is fixed in 7.1.0 Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Nov 18, 2015 at 5:25 PM, Mihir Chhaya wrote: > Hello, > > I am using Wicket 7 + Sprin

Re: Wicket 7 - OutOfMemory PermGen

2015-11-18 Thread Francois Meillet
Sorry, it's seems that there is a problem when you instanciate the SearchDealerPage instance How you instanciate it ? François Le 18 nov. 2015 à 17:46, Mihir Chhaya a écrit : > Following are AbcUserSearchTO and AbcUser classes with DomainObject > implementation. > > public interface

Re: Wicket 7 - OutOfMemory PermGen

2015-11-18 Thread Mihir Chhaya
Following are AbcUserSearchTO and AbcUser classes with DomainObject implementation. public interface DomainObject extends Serializable { Long getId(); } public class AbcUserSearchTO implements DomainObject { /** * */ private static final long serialVersionUID = 1L; /* (non-Javadoc) * @see

Re: Wicket 7 - OutOfMemory PermGen

2015-11-18 Thread Francois Meillet
and the abcUserSearchTO ? François Le 18 nov. 2015 à 17:40, Mihir Chhaya a écrit : > Here is SearchDealerPage. > > package gov.xyz.abc.view.asm; > > import gov.xyz.abc.business.AsmAdminService; > import gov.xyz.abc.common.AppSession; > import gov.xyz.abc.common.AuthenticatedPage; > i

Re: Wicket 7 - OutOfMemory PermGen

2015-11-18 Thread Mihir Chhaya
Here is SearchDealerPage. package gov.xyz.abc.view.asm; import gov.xyz.abc.business.AsmAdminService; import gov.xyz.abc.common.AppSession; import gov.xyz.abc.common.AuthenticatedPage; import gov.xyz.abc.common.DealerDetails; import gov.xyz.abc.common.abcException; import gov.xyz.abc.model.abcUser

Re: Wicket 7 - OutOfMemory PermGen

2015-11-18 Thread Francois Meillet
Could you show us the SearchDealerPage code François Le 18 nov. 2015 à 17:25, Mihir Chhaya a écrit : > Hello, > > I am using Wicket 7 + Spring 4.x + Hibernate 4.x (recently migrated from > Wicket 1.4). > > Since deployment of the app on JBOSS, the application is crashing with > OutOfM

Wicket 7 - OutOfMemory PermGen

2015-11-18 Thread Mihir Chhaya
Hello, I am using Wicket 7 + Spring 4.x + Hibernate 4.x (recently migrated from Wicket 1.4). Since deployment of the app on JBOSS, the application is crashing with OutOfMemory error for PermGen. We are at the point of rolling back to 1.4 as application was working fine without such issue; doesn't

Re: PageParameters & mounted pages

2015-11-18 Thread Martin Grigorov
Hi Sebastien, The problem is that Request#getQueryParameters() is about - parameters in the query string. And "/mypage/${param}" uses parameter in the path. Both of these are GET parameters but they are different. To get the correct values you should use something like: IRequestHandler handler =

PageParameters & mounted pages

2015-11-18 Thread Sebastien
Hi, I have a little concerns about PageParameters and mounted pages. On a first case - mypage?param=myvalue - I can retrieve param from both page-parameters and from Request#getQueryParameters() On a second case - mypage/myvalue (with a mounted page /mypage/${param}) - I am able to retrieve para

Re: showing a hidden AbstractPageableView

2015-11-18 Thread Ernesto Reinaldo Barreiro
For the time being I have just overridden my DataView getPageCount as override def getPageCount: Long = { val total: Long = getItemCount val itemsPerPage: Long = getItemsPerPage var count: Long = total / itemsPerPage if (itemsPerPage * count < total) { c

showing a hidden AbstractPageableView

2015-11-18 Thread Ernesto Reinaldo Barreiro
Hi, I have a meta-component that contains a listview that is show or hidden if there are elements. This was working "before". The criterion I'm using to show it is getPageCount() > 0 @Override public long getPageCount() { long total = getRowCount(); long itemsPerPage = getItemsPerPage(); long co

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2015-11-18 Thread Ernesto Reinaldo Barreiro
Let me see is I find the time to created it (it uses my own bootstrap components) On Wed, Nov 18, 2015 at 1:53 PM, Sven Meier wrote: > Hi, > > with a quickstart it would be easy to spot the problem. > > Regards > Sven > > > On 18.11.2015 13:46, Ernesto Reinaldo Barreiro wrote: > >> Hi, >> >> >>

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2015-11-18 Thread Sven Meier
Hi, with a quickstart it would be easy to spot the problem. Regards Sven On 18.11.2015 13:46, Ernesto Reinaldo Barreiro wrote: Hi, If I "revert" to 6.21.0 problem disappears so this seems to be a 7.1.0 "issue". On Tue, Nov 17, 2015 at 9:36 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com>

Re: are there any changes to radioGroup and AjaxFormChoiceComponentUpdatingBehavior on wickte 7?

2015-11-18 Thread Ernesto Reinaldo Barreiro
Hi, If I "revert" to 6.21.0 problem disappears so this seems to be a 7.1.0 "issue". On Tue, Nov 17, 2015 at 9:36 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Well it is the same in the sense that no client side AJAX event seems to > be triggered. > > On Tue, Nov 17, 2015 at 9:24

Re: Error: Not detached model found

2015-11-18 Thread leejoyprakash
Thanks Sven, it worked ... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Error-Not-detached-model-found-tp4672624p4672642.html Sent from the Users forum mailing list archive at Nabble.com. - To uns

[MEETUP] Wicket 7 & Java 8 migration party 27 november in Deventer (NL)

2015-11-18 Thread Martijn Dashorst
This is a gentle reminder for this event: At our local meetup in Deventer (http://meetup.com/DEVdev) we wanted to host a Wicket 7 migration party where you can bring your laptop and your source code and join the fun of developing with Wicket 7! And while we're at it, we'll be discussing Java 8 opp