Re: [Wicket-user] AjaxSelfUpdatingTimer, AjaxSubmitButton and ListView

2007-04-01 Thread Juha Alatalo
I am using wicket ajax debug console and ids seems to be correct. Adding an AbstractDefaultAjaxBehavior (AjaxSelfUpdatingTimerBehavior) actually adds those: protected void onBind() { getComponent().setOutputMarkupId(true); } - Juha Igor Vaynberg wrote: > yes looks like it. if you look

Re: [Wicket-user] complex user case

2007-04-01 Thread richard schmidt
I have had a look at the AutoCompleteTextField component and although it looks promising, it will require some extended functionality. In particular if the getChoices(String input) method only returns one choice, then that value should be entered into the test field. What is the best approach t

Re: [Wicket-user] error(...) No page found for component

2007-04-01 Thread Jonathan Locke
ah, right. frames. seems like things would be simpler if we synced on session for page requests (not for other resources, like images, of course). i thought we were syncing on session a while back. what was the reason we changed this? igor.vaynberg wrote: > > like i said, we sync on pagema

Re: [Wicket-user] error(...) No page found for component

2007-04-01 Thread Igor Vaynberg
like i said, we sync on pagemap not session. so if you use frames there is a chance two requests for the same session will be processed simultaneously. -igor On 4/1/07, Jonathan Locke <[EMAIL PROTECTED]> wrote: i'm missing something here still. what thread other than the request thread wil

Re: [Wicket-user] error(...) No page found for component

2007-04-01 Thread Jonathan Locke
i'm missing something here still. what thread other than the request thread will ever be accessing this? igor.vaynberg wrote: > > copy on write has the advantage when it comes to iterating over the list. > the locking needs to be there because we lock on pagemaps and not on > session, so two

Re: [Wicket-user] Lifecycle issue with getVariation

2007-04-01 Thread Jonathan Locke
This is a slippery slope and can easily become an excuse to do whatever it is that one wants an excuse to do. It's impossible to argue against supposed silent, anonymous individuals. They may think anything or have any problem whatsoever... whatever suits the argument at hand. I think we're

Re: [Wicket-user] error(...) No page found for component

2007-04-01 Thread Eelco Hillenius
This doesn't have to do with object construction so much as it has to do with the construction of the object tree. It's actually one of the problems our - now ditched - constructor refactor solved. Anyway, we have solutions for it. We are currently trying to decide which is the best solution. Eelc

Re: [Wicket-user] error(...) No page found for component

2007-04-01 Thread Chris Colman
>>> The problem is that if the error is thrown i get a No page found for >>> component. I understand that the cause of the error is that the "error >>> component" not being instantiated because of the constructor not being >>> finished (or i think that's the cause). Maybe wicket use cases for whic

Re: [Wicket-user] Lifecycle issue with getVariation

2007-04-01 Thread Chris Colman
> 1.2.6 > > we no longer need bodycontainer in 1.3 because we have a much more elegant > system for handling such things Are you saying that overriding getVariation on a page will work properly in 1.3 already? > > -igor Separate threat but kind of related: >> Apparently the usecase is prett

Re: [Wicket-user] Using existing jsp components

2007-04-01 Thread Martijn Dashorst
This might help: http://herebebeasties.com/2007-03-01/jsp-and-wicket-sitting-in-a-tree/ Martijn On 4/1/07, Ilya Sterin <[EMAIL PROTECTED]> wrote: > I'm trying to utilize Wicket in a new application. We initially were > going to use jsf and decided to utilize wicket for its cleaner > architectur

Re: [Wicket-user] specifying html template

2007-04-01 Thread Francisco Treacy
I answer myself: VARIATIONS! Thanks anyway, Keep on with good work, Francisco - Message d'origine De : Francisco Treacy <[EMAIL PROTECTED]> À : wicket-user@lists.sourceforge.net Envoyé le : Dimanche, 1 Avril 2007, 22h35mn 33s Objet : specifying html template Hi, We all know that in Wic

Re: [Wicket-user] specifying html template

2007-04-01 Thread Igor Vaynberg
there is an example of custom markup loading in wicket-examples. you might also want to search the list for getvariation() to see if that will fit your usecase -igor On 4/1/07, Francisco Treacy <[EMAIL PROTECTED]> wrote: Hi, We all know that in Wicket for a given ExampleView.java we have an E

[Wicket-user] specifying html template

2007-04-01 Thread Francisco Treacy
Hi, We all know that in Wicket for a given ExampleView.java we have an ExampleView.html associated markup. How can I dynamically specify the HTML template from my Java page? I'm exceptionally needing this: if (product.getReference().equals("C25-L")) { // trigger some code to use C25-

[Wicket-user] Using existing jsp components

2007-04-01 Thread Ilya Sterin
I'm trying to utilize Wicket in a new application. We initially were going to use jsf and decided to utilize wicket for its cleaner architecture and development model. Although, the abstraction from jsp is great, I'm now faced with the difficulty of having a bunch of reusable jsp tag libraries/co

Re: [Wicket-user] Radio.getValue?

2007-04-01 Thread Igor Vaynberg
On 4/1/07, Nino Wael <[EMAIL PROTECTED]> wrote: I do know that radio and check are directly attached to their imodel. But the imodel does not provide an alternate value for them. I just dont see why not to provide an ichoicerender on these components when providing it for the radiochoice and dr

Re: [Wicket-user] Radio.getValue?

2007-04-01 Thread Nino Wael
I do know that radio and check are directly attached to their imodel. But the imodel does not provide an alternate value for them. I just dont see why not to provide an ichoicerender on these components when providing it for the radiochoice and dropdown choice. We have no way of controlling the

Re: [Wicket-user] error(...) No page found for component

2007-04-01 Thread Eelco Hillenius
> well, we do a lot of iterations. anytime formcomponent.isvalid() is called > we iterate over messages to see if there are any for that component. in my > apps that is called a couple of times per formcomponent per request. i went > with copyonwrite because the iterator isnt synced at all. Ok, ma

[Wicket-user] AjaxFormSubmitBehavior : which event to use ?

2007-04-01 Thread ZedroS Schwart
Hi I'm using an AjaxFormSubmitBehavior to render a little indicator on the ongoing Ajax request. I've done it this way : class AjaxFormSubmitIndicator extends AjaxFormSubmitBehavior implements IAjaxIndicatorAware {

[Wicket-user] wicket and wurfl

2007-04-01 Thread Kancha .
Has anybody used wurfl and wicket together ? If so could you provide me the details of the implmentation ? thanks, kancha Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smal

[Wicket-user] tonyq

2007-04-01 Thread tonyq.zeng
- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/

Re: [Wicket-user] error(...) No page found for component

2007-04-01 Thread serban.balamaci
Thanks for taking so much interest. The session idea is nice. Jonathan Locke wrote: > > > if you can wait, i think we're going to be fixing this so you don't have > to make any changes. > > > serban.balamaci wrote: >> >> Thanks for the answer. Do you mean that instead of doing the loading o

Re: [Wicket-user] error(...) No page found for component

2007-04-01 Thread Igor Vaynberg
well, we do a lot of iterations. anytime formcomponent.isvalid() is called we iterate over messages to see if there are any for that component. in my apps that is called a couple of times per formcomponent per request. i went with copyonwrite because the iterator isnt synced at all. we dont select