Re: Free wicket from component hierarchy hell

2010-11-09 Thread Igor Vaynberg
nah. you go ahead. the AutoComponentSource sounds vary vague, you will need to elaborate it. -igor On Tue, Nov 9, 2010 at 12:58 PM, James Carman ja...@carmanconsulting.com wrote: on dev list?  You wanna start it? On Tue, Nov 9, 2010 at 3:57 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote

Re: RestartResponseAtInterceptPageException issue

2010-11-09 Thread Igor Vaynberg
On Tue, Nov 9, 2010 at 4:07 PM, Henrique quiqu...@gmail.com wrote: Hello, I'll try to make this simple. User fills in some data, clicks submit to persist it but since he has to login first, he is redirected to a login page (via throw new RestartResponseAtInterceptPageException(Login.class); ).

Re: Free wicket from component hierarchy hell

2010-11-08 Thread Igor Vaynberg
it is not about fixing something that isnt broken, its about making it easier. anyways, i just updated the readme in my experimental branch that explains the solution a bit more: https://github.com/ivaynberg/wicket/tree/component-queuing -igor On Mon, Nov 8, 2010 at 8:23 AM, Vitaly Tsaplin

Re: Ajax response render as source in the browser

2010-11-08 Thread Igor Vaynberg
no proxies or anything at least I'm aware of. Its very frustrating. On Sun, Nov 7, 2010 at 9:41 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: the only way i can see that happenning if the url is no longer processed by wicket's ajax support and so the response just ends up in the browser. do

Re: Free wicket from component hierarchy hell

2010-11-08 Thread Igor Vaynberg
wtf, srsly? -igor On Mon, Nov 8, 2010 at 8:30 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: I'm sorry to say, but the whole discussion makes little sense to me and these attempts to fix something that is not broken actually scares me a bit. +1 It's maybe not broken for you.

Re: Still getting 'Could not find form parent' with 1.4.13 with message box on form validation

2010-11-08 Thread Igor Vaynberg
wicket doesnt have a message box so im not sure what you are talking about. i can also produce the stacktrace you have shown in at least 30 different ways. so, how about showing some actual code so we can actually help you? :) -igor On Mon, Nov 8, 2010 at 3:25 AM, Chris Colman

Re: BUG: Form Bytes getMaxSize

2010-11-08 Thread Igor Vaynberg
can you please open a jira issue so we can track this? thanks. -igor On Fri, Nov 5, 2010 at 2:26 PM, richard emberson richard.ember...@gmail.com wrote: In org/apache/wicket/markup/html/form/Form the method getMaxSize always returns a Bytes instance.  public Bytes getMaxSize() {    Bytes

Re: Free wicket from component hierarchy hell

2010-11-08 Thread Igor Vaynberg
like queue(). -igor @Martin: please start arguing with the given arguments and stop moaning. Thanks. Regards, Seb On 08.11.2010 17:28, Igor Vaynberg wrote: it is not about fixing something that isnt broken, its about making it easier. anyways, i just updated the readme in my

Re: Free wicket from component hierarchy hell

2010-11-08 Thread Igor Vaynberg
exactly what it does, as my readme file explains in the git branch... -igor Plain queue implementation, however, is a very good starting point to begin studying various ways of imposing security boundaries. ** Martin On 08.11.2010 17:28, Igor Vaynberg wrote: it is not about fixing something

Re: Free wicket from component hierarchy hell

2010-11-08 Thread Igor Vaynberg
at first glance. -igor Regards, Seb On 08.11.2010 18:03, Igor Vaynberg wrote: On Mon, Nov 8, 2010 at 8:58 AM, Martin Makundi martin.maku...@koodaripalvelut.com  wrote: as I understand the readme the queue method basically has only a slightly different behavior compared to the add

Re: App not responding

2010-11-08 Thread Igor Vaynberg
profile it and see what code takes more then a minute to complete -igor On Mon, Nov 8, 2010 at 1:31 PM, Simon van Wingerden svw...@planet.nl wrote: I'm busy to create an application with wicket just for fun and now I've got some strange behavior. After clinking a couple of times the program

Re: Ajax response render as source in the browser

2010-11-07 Thread Igor Vaynberg
info? many thanks On Sat, Nov 6, 2010 at 6:40 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: see AjaxRequestTarget class, this is where the response is generated on the serverside wicket-ajax.js is where it is processed on the client side. -igor On Sat, Nov 6, 2010 at 2:49 AM, Wayne

Re: Free wicket from component hierarchy hell

2010-11-06 Thread Igor Vaynberg
On Fri, Nov 5, 2010 at 11:32 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! Please make sure that it passes all current test cases before submitting the patch.  Also, it would be good to take the examples that have been given to you in this thread and create tests from them

Re: strange problem with redirect to buffer and URL encoded query string

2010-11-06 Thread Igor Vaynberg
trace the java side to see what is encoding the url. it may be a number of things, but since its only happennig to you its probably something in your environment. also what version of wicket are you running? -igor On Fri, Nov 5, 2010 at 8:01 AM, Joe Hudson jhud...@interviewbot.com wrote: Hi,

Re: Configuration of AbstractCalendar

2010-11-06 Thread Igor Vaynberg
i think its whatever format the yui component expects. -igor On Fri, Nov 5, 2010 at 9:25 AM, Jan Ferko julyl...@gmail.com wrote: Hi, Can anyone tell me what is format of map for AbstractCalendar.configureWidgetProperties(Map map) ? For example I want to set navigator property to true, but

Re: Ajax response render as source in the browser

2010-11-06 Thread Igor Vaynberg
? Is there any where/docs I can find to get started at looking at this? -  at least to complete more my understanding of how it all works. thanks Wayne On Fri, Nov 5, 2010 at 10:05 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: it may be a content type issue, but it is still weird because

Re: navomatic example doesnt´t work

2010-11-06 Thread Igor Vaynberg
your page markup does not contain a tag with wicket:id=navomaticBorder, also your border does not contain a tag with wicket:id=bodyBorder -igor On Sat, Nov 6, 2010 at 12:59 AM, JayJay j.vondenbu...@gmail.com wrote: I´m using version 1.4.13 NavomaticApplication.java: public class

Re: ModalWindow show only content

2010-11-06 Thread Igor Vaynberg
You can probably hide all the chrome with css -igor On Nov 6, 2010 4:09 AM, meduolis meduol...@gmail.com wrote: Hello, is it possible to show only modal window content without all these title bar stuff, close button and frames? -- View this message in context:

Re: Free wicket from component hierarchy hell

2010-11-06 Thread Igor Vaynberg
here is a proper very rough initial implementation: https://github.com/ivaynberg/wicket/commit/cbe861f4028120993f5d10d575f12c4ca291fdce now someone has to mature it to the point where it can be properly evaluated. -igor On Sat, Nov 6, 2010 at 6:54 AM, samket sam...@gmx.com wrote: We need to

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Igor Vaynberg
this is somewhat possible. in 1.5 we have added features that are somewhat enabling to this such as oninitializecallback and early markup availability. we can make all adds() be flat and at runtime parse the hierarchy from markup, since it is defined there. if we keep a transient represenation of

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Igor Vaynberg
On Fri, Nov 5, 2010 at 10:24 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! what bothers me about this is that it wont work for everything. for example, it wont work for repeaters: these are just the two that come up off the top of my head. What do you mean? Repeaters have

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Igor Vaynberg
On Fri, Nov 5, 2010 at 11:39 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! its not about the list *items* its about the components you add to them onpopuateitem(item item) {  add(new label(name));  add(new label(email)); } wont work Why should it? Won't make it any

Re: Free wicket from component hierarchy hell

2010-11-05 Thread Igor Vaynberg
On Fri, Nov 5, 2010 at 1:07 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: because the designer delivers only part of the solution - the markup. I meant software designer. div wicket:id=for-admins-only  div wicket:id=salary/div  !-- a bunch of other components -- /div now

Re: navomatic example doesnt´t work

2010-11-05 Thread Igor Vaynberg
what version of wicket are you trying this with? and paste the complete source and markup. -igor On Fri, Nov 5, 2010 at 12:12 PM, JayJay j.vondenbu...@gmail.com wrote: Hi, I´m new to wicket and i tried out the navomatic example. I just copied the code to my eclipse engine but it didn´t

Re: Ajax response render as source in the browser

2010-11-05 Thread Igor Vaynberg
it may be a content type issue, but it is still weird because the response is received by the xml http request object, not the browser directly. strange indeed. -igor On Fri, Nov 5, 2010 at 7:51 AM, Wayne W waynemailingli...@gmail.com wrote: Hi, has anyone had this issue? We're getting emails

Re: How can I create RadioGroups that are not defined by component hierarchy/layout ?

2010-11-04 Thread Igor Vaynberg
either of those questions? On Wed, Nov 3, 2010 at 5:56 PM, Igor Vaynberg-2 [via Apache Wicket] ml-node+3025865-1659550532-201...@n4.nabble.comml-node%2b3025865-1659550532-201...@n4.nabble.com wrote: http://wicket.apache.org/start/quickstart.html -igor On Wed, Nov 3, 2010 at 9:03 AM, tommy

Re: Multi-tenancy with style

2010-11-04 Thread Igor Vaynberg
On Thu, Nov 4, 2010 at 8:27 AM, cretzel mailinglists...@gmail.com wrote: We're building a multi-tenant capable application. The basic idea is to identify the tenant for a request and put the tenant information into a ThreadLocal. One requirement is to enable 'localization' per tenant, i.e.

Re: Resource caching, Deployment Mode Re-visited

2010-11-04 Thread Igor Vaynberg
i think the resources they talk about there are markup resources - wicket only cashes markup and .property files. everything else like CSS and Javascript should not be cached if modified date changed on the file. -igor On Thu, Nov 4, 2010 at 8:35 AM, Arjun Dhar dhar...@yahoo.com wrote: Hi,  

Re: How can I create RadioGroups that are not defined by component hierarchy/layout ?

2010-11-03 Thread Igor Vaynberg
best way for us to help you is for you to create a quickstart and attach it to your email or a jira issue. -igor On Wed, Nov 3, 2010 at 4:40 AM, tommy tommytas...@gmail.com wrote: I asked the following question on stack-overflow but was advised to ask here instead.

Re: How can I create RadioGroups that are not defined by component hierarchy/layout ?

2010-11-03 Thread Igor Vaynberg
of RadioGroup/Radio usage where RadioGroup is passed in to the Radio() constructor? Thanks, Tom On Wed, Nov 3, 2010 at 3:54 PM, Igor Vaynberg-2 [via Apache Wicket] ml-node+3025609-175919079-201...@n4.nabble.comml-node%2b3025609-175919079-201...@n4.nabble.com wrote: best way for us to help you

Re: SV: How to get other page's localized messages ?

2010-11-03 Thread Igor Vaynberg
Later versions of wicket also support package level bundles stored in package.properties files -igor On Nov 3, 2010 3:43 AM, Wilhelmsen Tor Iver toriv...@arrive.no wrote: How do I get Page1's specific localized message in Page2 ? 1) Make a superclass for the two pages and put the message in

Re: Multiple submit buttons - CompoundPropertyModel not updated

2010-11-03 Thread Igor Vaynberg
You cannot update models without default processing, what If the user typed abcinto a text field backed by an integer model? What you can do, however, is accesses the raw value of the component via getvalue method. -igor On Nov 3, 2010 2:37 AM, Benjamin Lorenz benjamin.lor...@kapowtech.com

Re: wicket-ajax header from url?

2010-11-02 Thread Igor Vaynberg
append it to the URL for the non-wicket-ajax behavior.  Perhaps that could happen in the base class AbstractAjaxBehavior? cheers, Frank On Tue, Nov 2, 2010 at 1:14 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: so why is there the non-ajax request? once the page is loaded everything else

Re: BrowserInfoPage issues.

2010-11-02 Thread Igor Vaynberg
feel free to create the jira issues, and hopefully provide patches -igor 2010/11/2 Michał Letyński mletyn...@consol.pl: Hi. I found two problems while using wicket BrowserInfoPage. 1) Browser page can be shown for couple of seconds when page to which it redirects is heavy.  Browser page has

Re: wicket-ajax header from url?

2010-11-01 Thread Igor Vaynberg
did you check why it returns false? ajax requests should not increment the page version, so they should always be current. people have built extjs integrations before, you may look into one of those for hints. -igor On Mon, Nov 1, 2010 at 9:14 AM, Frank van Lankvelt f.vanlankv...@onehippo.com

Re: Really basic help...

2010-11-01 Thread Igor Vaynberg
it pulls that value out of its model, so check whatever object the model is pointing to. -igor On Mon, Nov 1, 2010 at 7:44 AM, adam.gibbons adam.s.gibb...@gmail.com wrote: Hi there! I'm extreamly new to Whicket, trying to put together my first sample application based on the

Re: wicket-ajax header from url?

2010-11-01 Thread Igor Vaynberg
bug occurs; I'm switching between ext components on the client as the result of some action.  The action leads to a notification to wicket, the new component starts fetching data. thanks, Frank On Mon, Nov 1, 2010 at 5:28 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: did you check why

Re: Wicket Stuff TinyMCE Update?

2010-10-29 Thread Igor Vaynberg
dont think anyone is maintaining the project. you are welcome to take it over. -igor On Fri, Oct 29, 2010 at 8:40 AM, Josh Glassman josh...@gmail.com wrote: Hi All, Who if anyone is in charge of the Wicket Stuff TinyMCE project? I have been having some issues with it and noticed that the

Re: Wicket Stuff TinyMCE Update?

2010-10-29 Thread Igor Vaynberg
so, at least temporarily.  How do I get commit permissions, and how do I get a build created and installed to the maven repo? On Fri, Oct 29, 2010 at 11:44 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: dont think anyone is maintaining the project. you are welcome to take it over. -igor

Re: Wicket Stuff TinyMCE Update?

2010-10-29 Thread Igor Vaynberg
you are in -igor On Fri, Oct 29, 2010 at 10:26 AM, Josh Glassman josh...@gmail.com wrote: Ok, will talk to him.  My sf username is joshums. On Fri, Oct 29, 2010 at 1:14 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: whats your sf.net username? i can give you access to svn. as far

Re: Wicket 1.5 and GAE

2010-10-27 Thread Igor Vaynberg
you will need to provide your own page store, everything else will work i think. -igor On Wed, Oct 27, 2010 at 12:52 PM, Alex Objelean alex.objel...@gmail.com wrote: Is there a way to make wicket-1.5 to work with Google App Engine? Thanks, Alex -- View this message in context:

Re: Wicket 1.5 and GAE

2010-10-27 Thread Igor Vaynberg
a purely http session based store is something that will be added sometime soon. do create a jira issue so we wont forget :) -igor On Wed, Oct 27, 2010 at 1:05 PM, Alex Objelean alex.objel...@gmail.com wrote: I was expecting to have a PageStore already available, instead of implementing one

Re: Wicket 1.5 and GAE

2010-10-27 Thread Igor Vaynberg
().setResourcePollFrequency(null);        } @Override        protected ISessionStore newSessionStore()        {                return new HttpSessionStore(this);//            return new SecondLevelCacheSessionStore(this, new InMemoryPageStore());        } On Wed, Oct 27, 2010 at 12:56 PM, Igor Vaynberg

Re: Dropdrown mapping from Object to string?

2010-10-21 Thread Igor Vaynberg
do it in the ddc's model -igor On Thu, Oct 21, 2010 at 3:14 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Thats not the problem... The problem are that the dropdown consists of Queue's and the backing model just are a string so I need to somehow convert the string from and to a

Re: Avoid getObject on Model if component not rendered

2010-10-21 Thread Igor Vaynberg
correct. onconfigure() can be used to control visibility - which includes making an invisible component visible. -igor On Thu, Oct 21, 2010 at 1:00 PM, Bas Gooren b...@iswd.nl wrote: AFAIK onConfigure() is _always_ called, also when a Component is invisible; If I recall correctly this was done

Re: SSL Links and buttons

2010-10-20 Thread Igor Vaynberg
look at the requests and make sure that the httpsrequestcycleprocessor is not doing a secure-unsecure redirect which would lose the form values. -igor On Wed, Oct 20, 2010 at 12:05 AM, sonxurxo sonxu...@gmail.com wrote: Hi Igor, thank you for your response. I tried what you pointed. The

Re: Using JavaScript to check a field by id, when Wicket will change the id

2010-10-20 Thread Igor Vaynberg
only if you or something else calls setoutputmarkupid(true) -igor On Wed, Oct 20, 2010 at 10:30 AM, Jeremy Thomerson jer...@wickettraining.com wrote: On Wed, Oct 20, 2010 at 12:26 PM, Arjun Dhar dhar...@yahoo.com wrote: In my opinion; wicket doesn't mess with the id attribute till you tell it

Re: setEnabled based on Model

2010-10-20 Thread Igor Vaynberg
or better yet, override onconfigure() and call setvisible/enabled from there -igor On Wed, Oct 20, 2010 at 10:04 AM, Jeremy Thomerson jer...@wickettraining.com wrote: On Wed, Oct 20, 2010 at 12:00 PM, Andrei Razin rukusv...@hotmail.comwrote: Sorry for the Type: I meant: My problem is:

Re: Session.attach

2010-10-20 Thread Igor Vaynberg
we started doing that in 1.5. egg see RequestCycle#register(detachCallback). add an rfe for something like irequestlistener { onbegin()/onend()} -igor On Wed, Oct 20, 2010 at 2:31 PM, James Carman ja...@carmanconsulting.com wrote: Is there any chance, since we can break the API a bit, that we

Re: SSL Links and buttons

2010-10-19 Thread Igor Vaynberg
so far i dont think there are any plans to support ssl forms outside of @RequireHttps here is something that might work for you though: class secureform extends form { oncomponenttag(tag) { super.oncomponenttag(tag); string act=tag.get('action); act=rqeuestutils.toabsoluteurl(act);

Re: Stuck: Can't get Checkboxes in DataTable to update model

2010-10-19 Thread Igor Vaynberg
so you are paying it backward :) -igor On Tue, Oct 19, 2010 at 3:00 PM, James Carman ja...@carmanconsulting.com wrote: I'm just paying it forward.  I most certainly get more help here than I give! :)  Glad to help.  Happy Wicketeering! On Tue, Oct 19, 2010 at 5:08 PM, leech

Re: Stuck: Can't get Checkboxes in DataTable to update model

2010-10-19 Thread Igor Vaynberg
i resemble that remark -igor On Tue, Oct 19, 2010 at 3:07 PM, James Carman ja...@carmanconsulting.com wrote: That may be true. :)  There's always one in every crowd. On Tue, Oct 19, 2010 at 6:05 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: so you are paying it backward :) -igor

Re: Need help with Nested DataTable in Form - finding values in submit method

2010-10-18 Thread Igor Vaynberg
you do this the same way as with all other form components, bind the checkboxes to some model that stores the values in some field you can access. AbstractCheckBoxModel may also be useful for this usecase. -igor On Mon, Oct 18, 2010 at 10:48 AM, leech lee.chal...@gmail.com wrote: I think I

Re: MarkupContainer's ComponentSourceEntry

2010-10-18 Thread Igor Vaynberg
) { return this; }      ComponentSourceEntry dehydrate(Component parent) {        ComponentSourceEntry compSE = (ComponentSourceEntry)dehydrated()        .        return compSE      } Thanks Richard On 10/14/2010 11:20 AM, Igor Vaynberg wrote: this is an experimental feature that hasnt

Re: Link onclick setMarkupId doesn't work.

2010-10-17 Thread Igor Vaynberg
listview.setreuseitems(true) for what its worth it is better to pull then to push values. -igor On Sat, Oct 16, 2010 at 11:10 PM, always_rick sh...@hotmail.com wrote: What I am trying to do is: if menu item is selected (onClick), change the markup li id or class. However, it doesn't seem

Re: 1.5 RequestMapper and Form submit

2010-10-14 Thread Igor Vaynberg
make locale mapper the root mapper, that way all url generation and resolving will run through it -igor On Thu, Oct 14, 2010 at 7:53 AM, marco.behler m...@coderwerk.com wrote: I tried to swap out a tiny part of one of our old legacy (struts) applications, which is clustered on several servers

Re: RequestCycle.getResponsePage and PageReferenceRequestTarget

2010-10-14 Thread Igor Vaynberg
fixed, thanks. -igor On Thu, Oct 14, 2010 at 9:07 AM, Alexander Morozov alexander.v.moro...@gmail.com wrote: Hi ppl, can anybody explain me why RequestCycle.getResponsePage() not handle PageReferenceRequestTarget ? Is it by design or is it bug ?        public final Page getResponsePage()

Re: How to update a Panel when user selects a drop down chioce in Wicket?

2010-10-14 Thread Igor Vaynberg
your dropdown should call table.setcurrentpage(0) -igor On Thu, Oct 14, 2010 at 10:20 AM, gouthamrv goutha...@yahoo.com wrote: I have found the problem, now it is working as expected. But I am seeing one more issue with navigation bar message and numbers that it shows. First time when I

Re: MarkupContainer's ComponentSourceEntry

2010-10-14 Thread Igor Vaynberg
this is an experimental feature that hasnt quiet been finished yet. see IComponentSource. -igor On Thu, Oct 14, 2010 at 10:15 AM, richard emberson richard.ember...@gmail.com wrote: The MarkupContainer's ComponentSourceEntry is a private class with a private constructor. No where in the

Re: condition in AbstractAjaxTimerBehavior

2010-10-13 Thread Igor Vaynberg
if (!canrefresh()) { settimeout( add original script )} else { original script } -igor On Wed, Oct 13, 2010 at 4:37 AM, Maris Orbidans maris.orbid...@ingg.com wrote: Hi I need to periodically update a page unless some condition is met. I wrote javascript function canRefresh() and added like

Re: robots.txt wicket urls

2010-10-12 Thread Igor Vaynberg
in your robots.txt put the url without the ., that way a new version of the page will get created. -igor On Tue, Oct 12, 2010 at 8:30 AM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: How can I add an entry to robots.txt for a page of my site that is not currently mounted and cannot be

Re: PropertyModel Not Refreshing

2010-10-12 Thread Igor Vaynberg
-Original Message- From: Igor Vaynberg [mailto:[hidden email]http://user/SendEmail.jtp?type=nodenode=2968688i=0] Sent: Thursday, October 07, 2010 11:27 AM To: [hidden email] http://user/SendEmail.jtp?type=nodenode=2968688i=1 Subject: Re: PropertyModel Not Refreshing you have posted

Re: robots.txt wicket urls

2010-10-12 Thread Igor Vaynberg
to only store N number of pages per session?  I tried using: getSessionSettings().setMaxPageMaps(1) but what does this really do?   Is it 1 page per session or 1 of each page per session. Thanks. -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Tuesday

Re: Can i execute an inline-javascript added to head for replaced panel on ajax-response?

2010-10-12 Thread Igor Vaynberg
use renderondomreadyjavascript -igor On Tue, Oct 12, 2010 at 9:09 AM, Per Newgro per.new...@gmx.ch wrote:  Hi *, i would like to exchange a panel on another panel. The newly added panel has an AbstractBehavior which adds the script:    public ReplacementPanel(String id) {        

Re: Can i execute an inline-javascript added to head for replaced panel on ajax-response?

2010-10-12 Thread Igor Vaynberg
call setoutputmarkupid(true) on your label -igor On Tue, Oct 12, 2010 at 10:14 AM, Per Newgro per.new...@gmx.ch wrote:  Thanks Igor, but it didn't work. It seems that my label has no id in the response and thus the script can't find the element. div spanDone/span /div This should be

Re: PropertyModel Not Refreshing

2010-10-12 Thread Igor Vaynberg
(RecordB recordB, int index) { return recordB.getName(); } } } Shelli -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Tuesday, October 12, 2010 10:38 AM To: users@wicket.apache.org Subject: Re: PropertyModel Not Refreshing

Re: AjaxPagingNavigator give out strange error

2010-10-12 Thread Igor Vaynberg
the problem is most likely the fact that wicket tries to load markup out of the javadoc jar instead of the wicket jar. the javadoc has html files named the same as wicket jar. it doesnt make sense to have the javadoc jar on your classpath. but, if you must, just make sure it is on the classpath

Re: PropertyModel Not Refreshing

2010-10-12 Thread Igor Vaynberg
issue of the selected record not updating in the edit group. I am deploying in Glassfish v3.  Could that have anything to do with my problems? Shelli -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Tuesday, October 12, 2010 11:35

Re: wicket 1.5, resource gives error in log?

2010-10-12 Thread Igor Vaynberg
no, that shouldnt be there. file a bug please. -igor On Tue, Oct 12, 2010 at 3:49 AM, nino martinez wael nino.martinez.w...@gmail.com wrote: Hi I have something where I reference an image directly in html, wicket has no idea what it should do with it so it passes the request to the servlet

Re: MinimumValidator and Long problem

2010-10-12 Thread Igor Vaynberg
its not a syntax problem. you cant have code outside a method unless its in a static {} block. -igor On Tue, Oct 12, 2010 at 3:25 PM, Jeremy Thomerson jer...@wickettraining.com wrote: On Tue, Oct 12, 2010 at 5:07 PM, Zeldor pgronkiew...@gmail.com wrote: Changing it to : private

Re: RadioChoice - what's wrong?

2010-10-08 Thread Igor Vaynberg
in that case either your System or your System.out is null :) -igor On Thu, Oct 7, 2010 at 11:35 PM, Zeldor pgronkiew...@gmail.com wrote: 186 is System.out.println(_numbers); -- View this message in context:

Re: RadioChoice - what's wrong?

2010-10-08 Thread Igor Vaynberg
if number is null it will just print null -igor On Thu, Oct 7, 2010 at 11:49 PM, Zeldor pgronkiew...@gmail.com wrote: Well, _numbers is null :) That's why I wonder what's wrong with getting the ObjectModel - I must be doing smth wrong there :) On Fri, Oct 8, 2010 at 8:43 AM, Igor Vaynberg-2

Re: Nice URL for non-bookmarkable page

2010-10-08 Thread Igor Vaynberg
make the page bookmarkable and mount it onto /thankyou url -igor On Thu, Oct 7, 2010 at 11:04 PM, fadeyev fade...@yandex.ru wrote: In my onSubmit handler I have a statement: setResponsePage(new AfterPaymentPage(payment)); Where payment is an object of the Payment class, so AfterPaymentPage

Re: displaying error messages on respective panel

2010-10-08 Thread Igor Vaynberg
see ContainerFeedbackMessageFilter, baically each panel has its own feedback panel and they each use the filter to only display messages from their respective children. -igor On Fri, Oct 8, 2010 at 1:09 AM, Ben benarje...@yahoo.com wrote: I have 3 panels on a page, all 3 panels also have form

Re: wicket 1.5, css resourcereference from string?

2010-10-08 Thread Igor Vaynberg
what you are trying to do doesnt make sense, think about it. how is wicket supposed to build a url to your anonymous reference instance? you have two options, use renderCssReference(String url) to output the url to your custom css or if you need to stream it from somewhere inaccessible by the

Re: page over HTTP with sign in panel over HTTPs

2010-10-08 Thread Igor Vaynberg
you can try tweaking the form so that its action is https, so class httpsform extens form { oncomponenttag(tag) { super.oncomponenttag(tag); string action=tag.get(action); action=requestutils.toabsoluteurl(action); action=https+action.substring(4); tag.put(action,

Re: GridView for A-Symmetric tables - issues

2010-10-08 Thread Igor Vaynberg
attach it to a jira issue, post the url back here -igor On Fri, Oct 8, 2010 at 9:57 AM, Arjun Dhar dhar...@yahoo.com wrote: Hi,  I've solved this problem by writing a new implementation of DataViewBase. GridView did not seem appropriate to simply extend due to a few reasons. (It assumes

Re: Help with custom component that implements IOnChangeListener

2010-10-08 Thread Igor Vaynberg
easiest way to help you is if you create a quickstart and attach it to a jira issue -igor On Thu, Oct 7, 2010 at 7:08 AM, Rut Bastoni rut.bast...@poste.it wrote: Hi everyone, i'm trying to implement a  custom TextField that fires onchange event without using Ajax (it is a requirement of my

Re: How to get 'value' of input recognized in HiddenField component?

2010-10-07 Thread Igor Vaynberg
use ajaxformcomponentupdatingbehavior, ajaxeventbehavior does not send data over -igor On Thu, Oct 7, 2010 at 6:23 AM, dbuttery dbutt...@bplglobal.net wrote: Hi all,    I am using a HiddenField to hold the result of some jquery processing and can see the 'value' changing in the dom (using

Re: Enable FormFields on Error

2010-10-07 Thread Igor Vaynberg
you can toggle the state with setenabled(true/false) inside onconfigure() method -igor On Thu, Oct 7, 2010 at 1:10 AM, splitshade martin.dil...@googlemail.com wrote: Hi All!, we have a Problem here. We have a Page, where lots of Panels are added. These Panels should be individually

Re: PropertyModel Not Refreshing

2010-10-07 Thread Igor Vaynberg
you have posted an incomplete piece of code and somehow from that we are supposed to guess what is not working? create a quickstart and provide that. -igor On Thu, Oct 7, 2010 at 10:15 AM, Shelli Orton shelli.or...@sjrb.ca wrote: Does nobody have any suggestions?  If I can't get this fixed, I'm

Re: Processing Flow for Button onSubmit and LDM load

2010-10-07 Thread Igor Vaynberg
the ldm's load() is called whenever ldm's getobject() is called, which is called whenever *your* code uses the model. you are free to call detach() on the ldm yourself if you need it to reload the value at some point. -igor On Wed, Oct 6, 2010 at 3:05 PM, Shelli Orton shelli.or...@sjrb.ca wrote:

Re: RadioChoice - what's wrong?

2010-10-07 Thread Igor Vaynberg
cant help you without seeing more code and stack -igor On Thu, Oct 7, 2010 at 2:28 PM, Zeldor pgronkiew...@gmail.com wrote: Hi, I am trying to get through with the very basics of Wicket - radiochoice. But somehow I got stuck and all solutions I tried made my problems even worse... So, what

Re: Initialization/Business Logic code before page loads

2010-10-06 Thread Igor Vaynberg
and if you need it called before *every* render, there is component#onconfigure -igor On Wed, Oct 6, 2010 at 6:39 AM, Michael O'Cleirigh michael.ocleir...@rivulet.ca wrote:  Hello, There is a sixth option, look at Component.onInitialize() which was added recently (in July 2010) to 1.4.x

Re: Inheritance and wicket:child / inside a component tag (Wicket 1.5)

2010-10-06 Thread Igor Vaynberg
jira+quickstart -igor On Wed, Oct 6, 2010 at 9:14 AM, Alexander Morozov alexander.v.moro...@gmail.com wrote: Hi, ParentPage.html: div wicket:id=wrapper  wicket:child/ /div I know how it can be achieved in Wicket 1.4 (WebMarkupContainer with overrided isTransparentResolver), but I

Re: Breadcrumbs in conjunction with forms

2010-10-05 Thread Igor Vaynberg
debug and see why it stops -igor On Tue, Oct 5, 2010 at 8:07 AM, Michael Strecker michael.strec...@travelviva.de wrote: Hello list, I stumbled across another issue working with Wicket. I'm using a form on a page, and I'd like to add breadcrumbs to this page as well. The problem here: Once

Re: isTemporary behavior + ajax behavior

2010-10-05 Thread Igor Vaynberg
hrm. this was fixed in 1.4.x a good while back. maybe it never got ported to trunk. please create a jira issue and attach a quickstart. -igor On Mon, Oct 4, 2010 at 4:49 AM, Michal Kurtak michal.kur...@gmail.com wrote: Hi, I think its a bug but i am not sure. My scenario: 1. Component has 2

Re: instantiate panels in a spring bean

2010-10-02 Thread Igor Vaynberg
where is this threadlocal everyone is talking about? -igor On Sat, Oct 2, 2010 at 12:25 AM, Arjun Dhar dhar...@yahoo.com wrote: On point i'd like to clarify myself; so @SpringBean is explained with Services in mind, but yes there is no reason for it to represent PROTOTYPE beans. But thats

Re: instantiate panels in a spring bean

2010-10-02 Thread Igor Vaynberg
the application object is the Application subclass. the instances retrieved are not bound to it. -igor On Sat, Oct 2, 2010 at 8:01 PM, Arjun Dhar dhar...@yahoo.com wrote: I think there has been a huge ball of confusion here created on my part due to certain concepts i was focused on. The

Re: alphabetical paging navigator

2010-10-01 Thread Igor Vaynberg
it wouldnt be worth overriding one, you are better off creating one from scratch. listview and paging navigator are decoupled, so you can use your own impl to page the listview without problems. -igor On Thu, Sep 30, 2010 at 10:21 PM, elesi jsar...@gmail.com wrote: is it possible to override

Re: Wicket Serialization

2010-10-01 Thread Igor Vaynberg
wicket already tests serialization for you in dev mode -igor On Fri, Oct 1, 2010 at 5:37 AM, Sebastian nospam...@gmx.net wrote: Hi, is it possible to configure a wicket app in a way that definitely will use page serialization/deserializion on each request and will not hold any

Re: ModalWindow causes 'Submit Button not visible' exception

2010-10-01 Thread Igor Vaynberg
jira+quickstart please -igor On Fri, Oct 1, 2010 at 6:24 AM, Andrea Del Bene andrea.on@libero.it wrote: Hi everybody, I'm facing the following problem. I've got a page with a wicket form and just one submit button. When I press return key in a form field the form is submitted with no

Re: Exception handling for components inside a page

2010-10-01 Thread Igor Vaynberg
no, there isnt. exceptions that occur during render time are very hard to recover from. what you can do is place every panel into an iframe. -igor On Fri, Oct 1, 2010 at 7:14 AM, Rui Fernando Hayashi rui.haya...@tecsinapse.com.br wrote: I have a Wicket page which is a dashboard composed of a

Re: problem with Ajax and BookmarkablePage

2010-10-01 Thread Igor Vaynberg
if wicket is resolving BookmarkablePageRequestTarget then it thinks it is being sent a bookmarkable url. check which url is being sent by the ajax request. -igor On Fri, Oct 1, 2010 at 7:40 AM, A. Zwaan a.zw...@finan.nl wrote: Hello all, I seem to have a problem with BookmarkablePage and it

Re: Wicket Serialization

2010-10-01 Thread Igor Vaynberg
on specific object references and thus may break in such a case. seb On 01.10.2010 16:43, Igor Vaynberg wrote: wicket already tests serialization for you in dev mode -igor On Fri, Oct 1, 2010 at 5:37 AM, Sebastiannospam...@gmx.net  wrote: Hi, is it possible to configure a wicket app

Re: Modal window and Ajax exception

2010-09-30 Thread Igor Vaynberg
it may be that jquery is screwing things up. try without it first. -igor 2010/9/30 Altuğ Bilgin Altıntaş alt...@gmail.com:  Hi; I have Webmarkupcontainer which includes ListView and I am using jquery Table Sorter. When i open a update modal window and close model window and refresh table

Re: continueToOriginalDestination not working correctly

2010-09-30 Thread Igor Vaynberg
i dont think we support continuetoorig via ajax -igor On Thu, Sep 30, 2010 at 6:41 AM, Pepijn de Geus pep...@service2media.com wrote: Hi all, I'm working on a website were the customer can enable a splash page that will be displayed once per session to every visitor entering the site. To

Re: wicket-auth-roles and SSO

2010-09-30 Thread Igor Vaynberg
you can throw a RedirectToUrlException from that method -igor On Thu, Sep 30, 2010 at 1:25 PM, yferahi yfer...@yahoo.com wrote: Hi, Our application relies on Wicket-auth-roles, Spring Security 3 and SSO (SiteMinder); The login page (login mechanism) is outside of the application. Our

Re: wicket-auth-roles and SSO

2010-09-30 Thread Igor Vaynberg
or possibly return a class of a page that throws that exception in the constructor, just to be on the safe side. -igor On Thu, Sep 30, 2010 at 1:29 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: you can throw a RedirectToUrlException from that method -igor On Thu, Sep 30, 2010 at 1:25 PM

Re: Add Scrollbart to AjaxFallbackDefaultDataTable?

2010-09-29 Thread Igor Vaynberg
you can probably accomplish this with css -igor On Wed, Sep 29, 2010 at 10:04 AM, Shelli Orton shelli.or...@sjrb.ca wrote: I am using an AjaxFallbackDefaultDataTable and would like to have vertical and horizontal scrollbars as part of the table component itself.  One reason for this is we

<    5   6   7   8   9   10   11   12   13   14   >