Re: Unusual problem is coming in rendering component

2012-05-03 Thread Thomas Götz
Please have a look at the JavaDoc of org.apache.wicket.model.CompoundPropertyModel. Other interesting reads: https://cwiki.apache.org/WICKET/working-with-wicket-models.html#WorkingwithWicketmodels-CompoundPropertyModels http://www.mkyong.com/wicket/wicket-compoundpropertymodel-example/ Cheers,

Exception when detaching/serializing a page

2012-05-03 Thread Philipp
We have been successfully running a Wicket-driven Web application for about 6 month now. Since a few days the application keeps giving me errors of the following kind: May 01 09:04:56 domU-12-31-39-0A-59-A1 ERROR: [Live]: org.apache.

Re: New book on Wicket 1.5

2012-05-03 Thread Colin Chalmers
looks good! pity it's not in english /c 2012/5/3 Jochen Mader > Hey, > Sorry for spamming I couldn't figure out who to contact to (hopefully) > get this listet in your books section: > > a few weeks ago my book on Wicket 1.5 got released: > > http://www.amazon.de/Wicket-Komponentenbasiert-objek

Re: New book on Wicket 1.5

2012-05-03 Thread Martijn Dashorst
Just create a JIRA ticket please. Martijn 2012/5/3 Jochen Mader : > Hey, > Sorry for spamming I couldn't figure out who to contact to (hopefully) > get this listet in your books section: > > a few weeks ago my book on Wicket 1.5 got released: > http://www.amazon.de/Wicket-Komponentenbasiert-objek

Datatable with selection row below the header

2012-05-03 Thread lang
I need a table like datatable, only one difference: t must has input fields on the second row where the user can enter his selections. Who has an example for this? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Datatable-with-selection-row-below-the-header-tp4605

Submitting multiple forms with one button

2012-05-03 Thread bjurko
Sorry for this I know that this topic already been discused but I didn't find a solution. I need to submit two separate forms with one submit buttons. Forms cannot be merged into one form also problem is wrap it to one outer form becasue it is lead to huge system rework. Before the customer had

Re: Submitting multiple forms with one button

2012-05-03 Thread Andrea Del Bene
Hi, don't know if you can do it, but I think you should first investigate how to do this with JavaScript. This blog seems interesting: http://yogendrakrsingh.blogspot.it/2010/03/javascript-trick-submitting-multiple.html Sorry for this I know that this topic already been discused but I didn't

How to prevent duplicates when using HeaderContributor

2012-05-03 Thread heikki
hello, I'd like to be able to use a fixed title for my pages, that gets overridden for some of the pages. To do that, I have a fixed title element in my base HTML page: Then in the pages that should have a different title, I override renderHead() like this: @Override public void render

Re: How to prevent duplicates when using HeaderContributor

2012-05-03 Thread Christoph Leiter
Hi, the Javadoc of IHeaderResponse#renderString says: "Renders an arbitrary string to the header. The string is only rendered if the same string hasn't been rendered before." So if you call it with two different titles the expected behavior is to get the title tag twice. I wouldn't use a IHea

Re: How to prevent duplicates when using HeaderContributor

2012-05-03 Thread Thomas Götz
Please see the following quickstart for an example: http://cl.ly/0w421o340J2e2w330Y0j Cheers, -Tom On 03.05.2012 at 15:17 Christoph Leiter wrote: > Hi, > > the Javadoc of IHeaderResponse#renderString says: > "Renders an arbitrary string to the header. The string is only rendered if > the

Re: Forms marked as multipart do not work with ajax and IE9

2012-05-03 Thread rawe
We had the same problem with IE9 Our solution. Set the starting page markup to: -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Forms-marked-as-multipart-do-not-work-with-ajax-and-IE9-tp3502174p4606081.html Sent from the Users forum mailing list archive at Nabble.com

Re: Open page in new window when clicking on button

2012-05-03 Thread laine78
I edited my html file to look like this The display button now opens up a page in a new window. Now he issue is at any point after I click the display button, the back button also opens up pages in new windows. How do I go about resetting targe

AW: Open page in new window when clicking on button

2012-05-03 Thread Stefan Lindner
If this really ist he HTML code that you use, you should terminate your tages with /> Have you checked (yuse debug tool of your browser) waht html code is used by your browser? Sometimes (e.g. chrome) browsers are quite smart and they re-arra

Re: How to prevent duplicates when using HeaderContributor

2012-05-03 Thread heikki
OK, that's a good solution, thanks ! Just in case that quickstart becomes unavailable, for reference I'll summarize the method here: the base HTML page has The corresponding base Java class has and any pages with an overridden title, override getTitle() Kind regards Heikki Doeleman -

Re: AW: Open page in new window when clicking on button

2012-05-03 Thread laine78
I went ahead and terminated the tags with /> Here is the html code generated by my browser. Everything looks okay to me as best as I can tell. http://wicket.apache.org"; value="Back" name="back" type="submit" Back http://wicket.apache.org"; value="Print" name="print" onclick="target='_blank';re

AW: AW: Open page in new window when clicking on button

2012-05-03 Thread Stefan Lindner
Something must be wrong in your HTML code. What you posted ist not a valid HTML code. E.g. type="submit" Back There is something wrong! And I'm surprised to see xmlns:wicket="http://wicket.apache.org"; inside your button tag. -Ursprüngliche Nachricht- Von: laine78 [m

Re: AW: Open page in new window when clicking on button

2012-05-03 Thread Dan Retzlaff
Your back button isn't really taking the user back; it's taking the user to a new instance of the search page. How about: Back On Thu, May 3, 2012 at 12:54 PM, laine78 wrote: > I went ahead and terminated the tags with /> > Here is the html code generated by my browser. Everything looks okay to

Re: Unusual problem is coming in rendering component

2012-05-03 Thread kshitiz
I read that out...sorry I missed that while coding. Thanks for the help..:) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Unusual-problem-is-coming-in-rendering-component-tp4604163p4607651.html Sent from the Users forum mailing list archive at Nabble.com. --

Wicket 1.5 and jbpm spring configuration

2012-05-03 Thread jensiator
I got a weird problem. I'm changing to wicket 1.5. In some places we use Jbpm. And I use wicket-spring. I have not setup the Jbpm myself but when we used wicket 1.4 the wicket application had a memory usage about 70 mb(taskManager). After switching to wicket 1.5 the memory goes up to 300mb. In app

Re: Wicket 1.5 and jbpm spring configuration

2012-05-03 Thread Igor Vaynberg
it usually helps to include the code you are referring to :) -igor On Thu, May 3, 2012 at 7:42 PM, jensiator wrote: > I got a weird problem. > I'm changing to wicket 1.5. In some places we use Jbpm. And I use > wicket-spring. I have not setup the Jbpm myself but when we used wicket 1.4 > the wic

Re: Wicket 1.5 and jbpm spring configuration

2012-05-03 Thread jensiator
I'm sorry I will need to describe it better. The Jbpm is at this point out of my reach. No doubt it has been implemented badly (by others) and I will look into it when I got time. The question is why this jbpm project is affecting wicket 1.5 more than wicket 1.4. Remember that I switch to an empt

Re: Wicket 1.5 and jbpm spring configuration

2012-05-03 Thread Dan Retzlaff
I think you're trying to post code, but as Igor indicated, it's not coming through. Maybe you should paste into https://gist.github.com/ and give us a link. Not sure what your IDE is, but you might look into heap analysis tools such as the Eclipse Memory Analysis Tool[1]. I kind of doubt there wil

Re: Wicket 1.5 and jbpm spring configuration

2012-05-03 Thread Martin Grigorov
His code snippets are visible in Nabble. Check the link below. Could it be because Wicket 1.4 comes with different version of Spring ? Yourkit, JProfiler and VisualVM can help you find out -- Sent from my mobile phone. Please excuse my brevity. Dan Retzlaff wrote: I think you're trying to post

Re: Wicket 1.5 and jbpm spring configuration

2012-05-03 Thread jensiator
It's a bank system so I cannot give you any quickstarts. The 'suites' would jump on me with nail boots. But there is no JBPM code at all I have mocked it. Its enough to start and empty Wicket application. Thats why I can only refer to the config. I'm working in eclipse and I will try Eclipse Memor

Re: Wicket 1.5 and jbpm spring configuration

2012-05-03 Thread jensiator
worth mentioning. I'm using Spring 3.0.6.RELEASE. And the JBPM is old jbpm 3. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-jbpm-spring-configuration-tp4607670p4607871.html Sent from the Users forum mailing list archive at Nabble.com. ---