Re: Wicket 1.5 markup id for a reused TextField is the same

2012-04-10 Thread Martin Grigorov
On Tue, Apr 10, 2012 at 7:38 AM, Wilhelmsen Tor Iver toriv...@arrive.no wrote: In 1.4 version of wicket there was no impact, but in 1.5.5 the id is not overwritten by wicket. Presumably they changed it so that it would work as a markup equivalent to setMarkupId(), though I haven't checked

Re: Wicket and Menu support

2012-04-10 Thread Martin Grigorov
On Sun, Apr 8, 2012 at 8:04 PM, Tom Eugelink t...@tbee.org wrote: Is there any documentation on this jquery support in wicket 6? I'm setting up a new project ARM and instead of including all kinds of side kick projects, core support is preferable.

Re: reloading of HTML and classes

2012-04-10 Thread Martin Grigorov
On Sun, Apr 8, 2012 at 5:38 AM, Bernard bht...@gmail.com wrote: Hi, The HTML part is covered if your IDE copies HTML files to the deployment directory when you save them. Wicket will then pick up this change and reload the corresponding pages. This works for existing markup but not for new

Re: Session existence not working

2012-04-10 Thread Martin Grigorov
Fire the debugger and see what happens. On Fri, Apr 6, 2012 at 11:26 AM, kshitiz k.agarw...@gmail.com wrote: I am able to solve my problem by checking whether session object is pointing to null or not but i am not able to understand why session.exists() is not able to verify session existence

Re: DropDownChoice - filtering and pagination

2012-04-10 Thread Martin Grigorov
On Thu, Apr 5, 2012 at 4:32 PM, Michal Wegrzyn michal.wegr...@onior.com wrote: Hi, What is the best way to create option components with Wicket for large datasets? DropDownChoice renders all contained items. Do you maybe know any wicket implementation of drop down choice which allows

Re: field values

2012-04-10 Thread Martin Grigorov
Hi, On Thu, Apr 5, 2012 at 9:01 PM, mnish tosh mnisht...@gmail.com wrote: Hi, This is the situation: I have a page with two tabs, on each of these tabs there are form fields. Some of the fields are the same on both the tabs. What I want to be able to do is when I click on the tabs back and

Re: isVisible for DataTable columns?

2012-04-10 Thread Martin Grigorov
Hi, Check Wicketstuff's InMethod Grid. It is the most sophisticated table Wicket component implementation I'm aware of. On Fri, Apr 6, 2012 at 1:40 AM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Hi, I need to determine the visibility of a DataTable's column dynamically based on a

Re: Wicket in a containerless environment

2012-04-10 Thread Martin Grigorov
Hi, I've tried once to provide Netty based impls of WicketFilter, WebRequest, WebResponse, ... and it wasn't hard at all. But the problem is that many of the form components also use directly classes from javax.servlet package, like Cookie for example, or HttpServletRequest (by casting

Re: 1.5 Wicket Enclosure

2012-04-10 Thread Martin Grigorov
Enclosure was never able to work in Ajax. That's why InlineEnclosure has been introduced. On Sat, Apr 7, 2012 at 6:04 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Hi, After creating the EnclosureContainer, add the following call : container.setRenderBodyOnly(false); In the

Re: Wicket 1.5 Wizard and AjaxFormComponentUpdatingBehavior for a DropDownChoice

2012-04-10 Thread Martin Grigorov
On Mon, Apr 9, 2012 at 3:07 PM, dpmihai dpmi...@yahoo.com wrote: The problem was also the id inside html components. When we have both wicket:id and id, in 1.5.5 id is not overwritten and no events are triggered for that component. I wonder why this was not put inside the migration guide to

ContextImage and tooltip behavior

2012-04-10 Thread dpmihai
I want to add a tooltip behavior to a ContextImage in Wicket 1.5.5. public class SimpleTooltipBehavior extends Behavior{ private String tooltip; public SimpleTooltipBehavior(String tooltip) { super(); this.tooltip = tooltip; }

Re: dynamic wizard - update model

2012-04-10 Thread Martin Grigorov
Hi, On Mon, Apr 9, 2012 at 6:50 PM, Frederico Rodrigues frederico_rodrig...@ano.pt wrote: Hello I have implement wicket wizard, but i have a small problem, i have an ajaxbutton and i want update the model, but only have success with this when i  call processInput() inside the onclick event,

Re: ContextImage and tooltip behavior

2012-04-10 Thread Martin Grigorov
Hi, On Tue, Apr 10, 2012 at 9:29 AM, dpmihai dpmi...@yahoo.com wrote: I want to add a tooltip behavior to a ContextImage in Wicket 1.5.5. public class SimpleTooltipBehavior extends Behavior{        private String tooltip;        public SimpleTooltipBehavior(String tooltip) {              

Re: Opening a Modal window from another

2012-04-10 Thread Martin Grigorov
See the examples http://www.wicket-library.com/wicket-examples/ajax/modal-window and their code. On Tue, Apr 10, 2012 at 10:23 AM, karthik karthik.anik...@infotech-enterprises.com wrote: Hello, I have a modal window (M1) which has a few fields and a button in it. Now, i need to open a modal

Help. Is it possible show a alert before setThrottleDelay..??

2012-04-10 Thread swwangl
I am not familiar with wicket.. please help to give me suggestion for How to implement this? 1. click a button and show a confirm message. 2. suspend 1 minute 3. submit the form.. public ActivityAjaxButton(final ButtonForm form, SessionBean sessionBean, String id, int seqRequest,

Re: Help. Is it possible show a alert before setThrottleDelay..??

2012-04-10 Thread Martin Grigorov
Hi, Your code looks OK. You can add the confirm dialog with IAjaxCallDecorator. 2012/4/10 swwa...@tsmc.com: I am not familiar with wicket..  please help to give me suggestion for How to implement this? 1. click a button and show a confirm message. 2. suspend 1 minute 3. submit the form..

Re: Help. Is it possible show a alert before setThrottleDelay..??

2012-04-10 Thread swwangl
Thanks for your reply.. But it's not worked. I change the IAjaxCallDecorator to the following code.. protected IAjaxCallDecorator getAjaxCallDecorator() { return new AjaxPreprocessingCallDecorator (super.getAjaxCallDecorator()) {

Re: Help. Is it possible show a alert before setThrottleDelay..??

2012-04-10 Thread Martin Grigorov
Can you paste what is the generated value of 'onclick' attribute with the current code ? On Tue, Apr 10, 2012 at 11:31 AM, swwa...@tsmc.com wrote: Thanks for your reply..   But it's not worked. I change the IAjaxCallDecorator to the following code..                       protected

Re: Help. Is it possible show a alert before setThrottleDelay..??

2012-04-10 Thread swwangl
Dear: The generated value of onclick is = wicketThrottler.throttle( 'th107', 1, function() { var wcall=wicketSubmitFormById('buttonForm92', '/portal/tool/cde5a792-9eaa-45c5-bd06-27b9aaa83719/?wicket:interface=ScormPlayer:32:buttonForm:quitButton::IBehaviorListener:2:-1', 'quitButton'

Re: Help. Is it possible show a alert before setThrottleDelay..??

2012-04-10 Thread Martin Grigorov
There is nothing about 'confirm' in this paste but without digging into the code I'll assume it is just before the 'wcall' variable. So it seems the result of IAjaxCallDecorator is wrapped in wicketThrottler.throttle(). Another approach: override AjaxFormSubmitBehavior#onComponentTag(Component,

RE: Opening a Modal window from another

2012-04-10 Thread Chris Colman
The ModalX library in WicketStuff makes opening both the first modal and nested modals really easy. Project site: https://github.com/wicketstuff/core/wiki/ModalX Live demo: http://demo.visualclassworks.com/modalx/ -Original Message- From: karthik

RE: DropDownChoice - filtering and pagination

2012-04-10 Thread Michal Wegrzyn
Hi Martin, Sounds and looks great! Will it be added to wicket-core? 6.x? Best regards, Michal Wegrzyn -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Tuesday, April 10, 2012 8:53 To: users@wicket.apache.org Subject: Re: DropDownChoice - filtering and

Re: a model for passing data between pages

2012-04-10 Thread armhold
Hi Dan, Thanks, I didn't know about MetaDataKey- that cleans it up nicely: public class SessionModelT extends Serializable implements IModelT { protected MetaDataKeyT key; public SessionModel(MetaDataKeyT key) { this.key = key; } public SessionModel(MetaDataKeyT

Using Wicket 1.5 with Oracle Application Server

2012-04-10 Thread Thomas.Norton
We use WebLogic 11g as our development environment and OAS 10.1.3.1 for everything else. Our wicket pages work fine in WebLogic but generate 500 status codes in OAS. After looking around on online for a little bit, I found some suggestions that I should use the WicketServlet instead of the

Re: 1.5 Wicket Enclosure

2012-04-10 Thread Bertrand Guay-Paquet
Hmm I thought EnclosureContainer was actually created _after_ InlineEnclosure! Looking at the git file history I see I was wrong... All the warnings in EnclosureContainer's javadoc led me to believe it was always safer (and preferable) to use it instead of InlineEnclosure. What about when you

Re: Using Wicket 1.5 with Oracle Application Server

2012-04-10 Thread Martin Grigorov
Hi, On Tue, Apr 10, 2012 at 5:56 PM, thomas.nor...@emerson.com wrote: We use WebLogic 11g as our development environment and OAS 10.1.3.1 for everything else.  Our wicket pages work fine in WebLogic but generate 500 status codes in OAS.  After looking around on online for a little bit, I

Re: 1.5 Wicket Enclosure

2012-04-10 Thread Martin Grigorov
Douglas didn't mention EnclosureContainer at all. He said that wicket:enclosure worked fine for this scenario in 1.4.x. And I cannot imagine this ... But I personally try to avoid using any kind of auto components in my apps because I'm aware of the number of open tickets about them in our Jira

RE: Using Wicket 1.5 with Oracle Application Server

2012-04-10 Thread Thomas.Norton
I triple-checked and I was wrong about the frequency of the destroy logs. It looks like the previous application is being destroyed each time I log in. But I don't see any initialization logs for wicket apart from what happens in server startup. Here's my logs after logging in the first

Re: DropDownChoice - filtering and pagination

2012-04-10 Thread Igor Vaynberg
no, it will not be added to core. it will live in my github account. -igor On Tue, Apr 10, 2012 at 4:44 AM, Michal Wegrzyn michal.wegr...@onior.com wrote: Hi Martin, Sounds and looks great! Will it be added to wicket-core? 6.x? Best regards, Michal Wegrzyn -Original Message-

HTML5 button Javascript without a form

2012-04-10 Thread cmagnollay
Hi all, So two questions. 1) I looked through the wicket 1.5 changes and did not see any mention of a component similar to the html 5 button element. Is there something with similar functionality in the wicket component library? 2) I am looking to create a component that allows users to add CC

Re: wicket facebook application

2012-04-10 Thread mnadeem
Look into this one https://reachmnadeem.wordpress.com/2012/04/09/wicket-facebook/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-facebook-application-tp3490139p4546617.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Page Expired with Google Analytics Tracking Code

2012-04-10 Thread Andre Schütz
Hi, nobody an idea why the PageableListView is empty after clicking on one of the links from the PagingNavigator? After reloading of the page, the PageableListView is filled and once again empty when I click on oe of the links from the PagingNavigator. It seems, that the Listitem's are empty

Re: HTML5 button Javascript without a form

2012-04-10 Thread Igor Vaynberg
On Tue, Apr 10, 2012 at 11:57 AM, cmagnollay cmagnol...@gmail.com wrote: Hi all, So two questions. 1) I looked through the wicket 1.5 changes and did not see any mention of a component similar to the html 5 button element. Is there something with similar functionality in the wicket

Re: Page Expired with Google Analytics Tracking Code

2012-04-10 Thread Bas Gooren
Hi, It sounds a lot like you are not using models properly. E.g. your results method parameter has a length which overflows the page size (and thus the pagingnavigator renders page links), but on a second request the contents of results are null/empty? Try debugging

RE: 1.5 Wicket Enclosure

2012-04-10 Thread Chris Colman
We had lots of working wicket:enclosure'S in our app under 1.4 but when we switched to 1.5 we had to change pretty much all of them to explicitly create an EnclosureContainer object in the Java code to make them work. It wasn't too much effort once we worked out what the problem was but 1.5

Re: Javascript call on AjaxFallbackDefaultDataTable

2012-04-10 Thread cellis
I've tried to implement the ajaxCallDecorator as you specified, but I fail to see the javascript being appended/prepended. ie only the var wcall =wicketAjaxGet... is ever decorated. Has anyone else attempted this successfully? -- View this message in context: