Re: wicket via websocket

2010-11-22 Thread kamiseq
thanks, I run into the first page but I was curious if I can do this depending only on wicket. but I will give it a try again pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

dynamic child in container

2011-03-29 Thread kamiseq
hi, I ve googled a bit but all I ve found are links about panels. my problem is that I would like to create components (with corresponding html markup) and then add those components dynamically on request to target container, where child component could be other container that might be

Re: dynamic child in container

2011-03-29 Thread kamiseq
thanks, so I understand that it is only possible with AJAX calls. could I make a link callback that will add random number of components on each request? there will be no wicket:id for dynamic child and I could generate as many components as I want, right? I will try this anyway;] pozdrawiam

Re: dynamic child in container

2011-04-06 Thread kamiseq
hi again, so I really dont understand how to set hings up but I tried this yesterday around midnight :] so please forgive me ... let me explain again I have simple webpage *DashboardPage* (1) body a wicket:id=editwicket:message key=/w:m/a /body then I created a panel with a form

formComponentPanel with content generated by RepeatingView

2011-04-21 Thread kamiseq
hi, Im trying to implement a simple form component that accepts List of Strings *public class AccountsPanel extends FormComponentPanelListString { ****public AccountsPanel(String id, ArrayListString accounts) { ******super(id, new Model(accounts)); buildComponents(); } }

Re: formComponentPanel with content generated by RepeatingView

2011-04-22 Thread kamiseq
hej, on the second thought I can implement (in this simple case) a model backuped by List or Set and then let Form (or FormComponentPanel) to process all fields. pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: formComponentPanel with content generated by RepeatingView

2011-04-23 Thread kamiseq
heh i thought I was smart :] as each component in FormComponentPanel is converted and validated so it would be easy to intercept value set on components model and add it to List (which is model of whole FCPanel) because Im not really converting components value to something bigger. the only

Re: formComponentPanel with content generated by RepeatingView

2011-04-24 Thread kamiseq
yep I did it like that and it works public class Editor extends FormComponentPanelListString { private ListViewString item; /** * If you dont have ArrayList you can always copy your collection to new ArrayList. * * @param id of the control * @param accounts a list of

wicket tags

2011-04-28 Thread kamiseq
hi, this is more about how you guys working with wicket rather then a bug or something. and as Im relativelly new to wicket maybe you can help me out. I created panels that can be extended ie. wicket:panel headermy header/header form wicket:child/wicket:child input type=text /

Re: wicket tags

2011-04-28 Thread kamiseq
I know I can work around this, it is just I see it as a place to improve framework. I want to use immediate-child selectors because I see benefits from this whatever that is I know that in runtime those tags goes away but while working with raw html files (let say graphic designer takes them and

Re: FormComponent convertInput for children FormComponets

2011-05-18 Thread kamiseq
maybe you need to set type for each control, I had similar issue. look at the wicket code where the value is set. pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

guice injection on WebApplication init

2011-05-30 Thread kamiseq
hi, my wicket application uses guice to inject services and dao-s. it works fine but recently I started to use in-memory db. so I need somehow initialize(create tables, insert some sample data) my db after getComponentInjector() and before getHomePage(). of course I could (out of guice

Re: guice injection on WebApplication init

2011-05-30 Thread kamiseq
thanks for a quick replay Ill try this tomorrow :] pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: guice injection on WebApplication init

2011-05-31 Thread kamiseq
ok GuiceWebApplicationFactory works like a charm. but now I consider moving this init db code to custom guice module so I can easily swap configuration and have WebApplication class clean;] again thanks for replay pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com

Re: guice injection on WebApplication init

2011-05-31 Thread kamiseq
heh ok I tired to be too smart ;] anyway thanks pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: guice injection on WebApplication init

2011-06-05 Thread kamiseq
hi, I have one small question : how to write tests if I configured Application with GuiceWebApplicationFactory? I ve found AtUnit project but this depends on basic configuration inside application class. pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: Basic TextField question

2011-06-07 Thread kamiseq
why cannot you change value in model and detach it? pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

widgets support

2011-06-18 Thread kamiseq
hi, I need to create simple service that returns html content and then talks to my client with json. I would like to integrate this with other services/daos/etc I have injected to my pages. this 'widget' will not be a part of a page from the beginning but should be a part of application. some

how to setup guice in unit test

2011-06-22 Thread kamiseq
hej, I ve found something something like this http://blog.yanivkessler.com/2010/06/writing-unit-tests-for-guicey-wicket.htmlbut I think there should be some easier way to setup guice DI. I tried to use AtUnit but it doesnt work with webpages( I get *org.apache.wicket.WicketRuntimeException: There

Re: how to setup guice in unit test

2011-06-22 Thread kamiseq
ok, then I think I just took the wrong turn ;] I dont know why they bother themselves with custom testRunner pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

form component that is rendered as select or read-only input

2011-07-02 Thread kamiseq
hej, Im creating a component that is a panel - part of a form. I pass a LoadableDetachableModel to it with a list of items. when list size is greater then 1 I display a select html component to render all choices. but when list contains only one item I would like to show read only input because at

Re: form component that is rendered as select or read-only input

2011-07-02 Thread kamiseq
hym ;] thanks;] pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: form component that is rendered as select or read-only input

2011-07-03 Thread kamiseq
why not call this code in onBeforeRender?? as I read Component code onConfigure is called once per request and so is onBeforeRender and javadoc states that NOTE: Component hierarchy should not be modified inside this method (onConfigure), instead it should be done in {@link #onBeforeRender()}

oauth client with wicket

2011-10-30 Thread kamiseq
hej, Im trying to add simple user authorisation to my app with oauth. in order to authenticate and authorize a user I need to redirect that user to oauth service, the redirect url contains parameter with callback url to my app (oauth controller will send response via HTTP 302 - I am not sure if

request parameters

2011-10-31 Thread kamiseq
hej, I need to obtain request parameters as Map like I would if I had access to HttpServletRequest but with PageParameters I can't find a way to do it I have mounted page with pattern : /mypage/${param1}/${param2} so every time I get request to myapp.com/mypage/val1/val2?key=val I would like to

Re: request parameters

2011-10-31 Thread kamiseq
kami...@gmail.com pkaminski@gmail.com __ On 31 October 2011 23:54, Igor Vaynberg igor.vaynb...@gmail.com wrote: under what key should ${param1}/${param2} be stored? -igor On Mon, Oct 31, 2011 at 3:30 PM, kamiseq kami...@gmail.com wrote: hej, I need to obtain

Re: request parameters

2011-11-01 Thread kamiseq
I understand you mean something like this final StringValue val1 = parameters.get(val1); final Service service = ServiceFactory.getClient(val1); final IRequestParameters requestParameters = getRequest().getQueryParameters(); final SetString parameterNames = requestParameters.getParameterNames();

unit testing cookies after redirect

2011-11-06 Thread kamiseq
hej, I ve found this http://apache-wicket.1842946.n4.nabble.com/Wickettester-cookies-and-redirects-in-Wicket-1-4-15-td3250792.html but im developing on 1.5.2 and ticket is closed. I believe it is the same case. this is description: I have a page ValidationPage that accepts request, checks

Re: unit testing cookies after redirect

2011-11-08 Thread kamiseq
ok, thanks for that. I have one small question that is bugging me for a while. What would be the difference between throwing exception or setResponsePage(pageClass);?? I ve found somewhere that I should always throw RestartException, but I see setResponsePage so many times that Im confused.

Re: unit testing cookies after redirect

2011-11-09 Thread kamiseq
so if this is the last line in my code those two approaches are pretty the same pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ - To unsubscribe, e-mail:

wicket 1.5.3 problems with cookies

2011-11-16 Thread kamiseq
hej, it seems that wicket is not storing cookies :/. im adding TEST cookie with final Cookie cookie = new Cookie(name, value); cookie.setMaxAge(Integer.MAX_VALUE); ((WebResponse)getResponse()).addCookie(cookie); and reading it on different page final ListCookie cookies = ((WebRequest)

Re: wicket 1.5.3 problems with cookies

2011-11-17 Thread kamiseq
hi martin, so yes previously I had a problem with unit tests when I was setting cookie and redirecting with throw new RestartResponseException(new MyOtherPage()); then you advised to used NonResettingRestartException but this for some reason (I had no time yet to investigate) is breaking unittest

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread kamiseq
well, I have nothing against writing my own SQL with spring;] but it is true that before I read wicket in action I was like a child in fog :/ after JSP I started palying with tapestry and tapestry has a bit better introduction pages. it is not that there is not enough information around but

Re: wicket 1.5.3 problems with cookies

2011-11-19 Thread kamiseq
hej, so I tired CookieUtils and still cookies are not persisted. I ve checked it both on GAE and jetty I can try setup fresh wicket and check it there but it just strange pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

unit testing continueToOriginalDestination

2011-11-20 Thread kamiseq
hej, Im a bit stuck, I tried to search something but all resources points to older version and it seems that in 1.5 a lot ve changed. I have a page that does its work and then continueToOriginalDestination or it this returns false do some more stuff. unit testing the case when it returns false

Re: unit testing cookies after redirect

2011-11-20 Thread kamiseq
this works here, I have problems with cooking when Im testing it inside jetty so maybe this is something on my side only :/ any ideas? pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ On 9 November 2011 15:01, kamiseq kami...@gmail.com wrote: so

RestartResponseAtInterceptPageException from onClick

2011-11-20 Thread kamiseq
hej, I'm just looking form clarification on RestartResponseAtInterceptPageException and continueToOriginalDestination(). On every page I have a log-in link, and after log in I should be redirected back to the original destination. I use oauth api that requires that I redirect user to external url

Re: RestartResponseAtInterceptPageException from onClick

2011-11-21 Thread kamiseq
constructor instead, but it will make your page stateful. Bertrand On 20/11/2011 5:59 PM, kamiseq wrote: hej, I'm just looking form clarification on RestartResponseAtInterceptPage**Exception and continueToOriginalDestination(**). On every page I have a log-in link, and after log in I

Re: unit testing cookies after redirect

2011-11-21 Thread kamiseq
forgot about it ... Can you create a simple quickstart and attach it to Jira. On Sun, Nov 20, 2011 at 10:41 PM, kamiseq kami...@gmail.com wrote: hej, well I tried to follow the cookies in wicket tester. starting from the beginning I have page A that while constructing adds new cookie

Re: unit testing continueToOriginalDestination

2011-11-21 Thread kamiseq
it sounds like a plan ;] I thought it will be something in wicket tester, thanks for a hint anyway ;] pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: unit testing continueToOriginalDestination

2011-11-21 Thread kamiseq
, 2011 10:51 AM, kamiseq kami...@gmail.com wrote: it sounds like a plan ;] I thought it will be something in wicket tester, thanks for a hint anyway ;] pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: How to test just a panel using apache wicket?

2011-11-26 Thread kamiseq
for me this does not works either in 1.5.3 as inner test page has no markup pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: How to test just a panel using apache wicket?

2011-11-26 Thread kamiseq
the javadoc of ITesterPanelSource says Depreced since no longer needed in 1.5.3 can you give examples? pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: How to test just a panel using apache wicket?

2011-11-27 Thread kamiseq
well im talking about 1.5.3, and it is not like you startPanel and it works, as it will try to call constructor with one parameter of the string type. If your panel has constructor with more than only id then you cant simply use it. so i guess this was a case where ITesterPanelSource was useful

Re: How to test just a panel using apache wicket?

2011-11-27 Thread kamiseq
ok I think I was blind yesterday ;] and I need to admit that javadoc is correct and says exactly the same thing (to use startComponentInPage(C component) thanks ;] pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

wicket migrating getConverter to 1.5

2011-11-27 Thread kamiseq
hi all, In 1.5 getConverter has new signature using generics : public C IConverterC getConverter(ClassC type) and this is nice when you have global converter registered in application but in 1.4 it was handy to return different converter in specific component by overriding its getConverter(type).

Re: wicket migrating getConverter to 1.5

2011-11-27 Thread kamiseq
something like that, my google didnt show any result for getConverter 1.5 ;] I will read that, thanks pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ - To unsubscribe, e-mail:

Re: wicket migrating getConverter to 1.5

2011-11-27 Thread kamiseq
well yeah this is exactly the same except for locator. code like this public final C IConverterC getConverter(ClassC clazz) { if (Date.class.isAssignableFrom(clazz)) { return (IConverterC)converter; } else { return super.getConverter(clazz); } } should always

Re: wicket migrating getConverter to 1.5

2011-11-27 Thread kamiseq
Kamiński kami...@gmail.com pkaminski@gmail.com __ On 27 November 2011 15:55, Martin Grigorov mgrigo...@apache.org wrote: Hi, On Sun, Nov 27, 2011 at 3:52 PM, kamiseq kami...@gmail.com wrote: well yeah this is exactly the same except for locator. code like

Re: wicket migrating getConverter to 1.5

2011-11-27 Thread kamiseq
fair enough ;] pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: wicket migrating getConverter to 1.5

2011-11-28 Thread kamiseq
mgrigo...@apache.org wrote: On Sun, Nov 27, 2011 at 4:11 PM, kamiseq kami...@gmail.com wrote: dont get me wrong, technically it is OK, it is just the logic is unclear and code redundant. In my opinion frameworks are build to simplify work, that's why I said it should ring bells

Re: unit testing cookies after redirect

2011-12-29 Thread kamiseq
sorry not yet, december turned out to be very busy for me ;/ I hope to reproduce all errors I had with simple maven startup project. I ll post something as soon as possible. pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: unit testing cookies after redirect

2011-12-30 Thread kamiseq
hej, SO it seems that errors I got was because of my bad testing. I created simple test in new project and it now works. the only problem is that 1. wicket tester process request twice after startPage - the first time the page is rendered and cookies are saved into AddCookieAction. then request

stateless, not versioned pages - session problem

2012-01-07 Thread kamiseq
hej I have weird problem with session that I cannot explain and that I don't fully understand. I started with default application settings and stateful web page. and the flow is that I 1. request homepage 2. put data to session 3. redirect to authorize with oauth provider (facebook, gmail, etc)

Re: stateless, not versioned pages - session problem

2012-01-08 Thread kamiseq
ok currently im using 1.5.3 i ll check with snapshot pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: stateless, not versioned pages - session problem

2012-01-08 Thread kamiseq
ok so bind on session does the trick. now I looked at setAttribute method and I dont understand why the flow is altered when session is temporary. unfortunately I still get this #base_domain=mydoamin. so 1.5-SNAPSHOT behaves like 1.5.3 now I looked closely to url after last redirect to homepage

Re: stateless, not versioned pages - session problem

2012-01-09 Thread kamiseq
this should go to separate conversation I created stateless (no stateful components) page if user is authorized i put his id to session so I can load it on each page creation (since it is stateless and not versioned it will be created on each request) pozdrawiam Paweł Kamiński kami...@gmail.com

Re: stateless, not versioned pages - session problem

2012-01-09 Thread kamiseq
any ideas about #base_domain=mydomain.com problem ;] pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: stateless, not versioned pages - session problem

2012-01-09 Thread kamiseq
ok I found the reason oAuth provider adds this #base_domain to callback url. I just dont understand why it stayed after redirection. the other issue (that after redirect urls looks like callback) is that I use ReplaceHandlerException and I rewrite data from original response to preserve cookies.

redirecting, cookies, render mode and testing

2012-01-10 Thread kamiseq
hej, maybe Im still confusing basics concepts but this is quite new stuff. recently I had few problems with redirecting after setting cookies (my application was setup to use render-to-buffer default strategy). simple setResponsePage is not good enough as cookies are lost then I was advised to

Re: wicket appl architecture

2012-01-19 Thread kamiseq
well but then you need to rewrite some logic you already have in wicket's components, right? pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ - To unsubscribe, e-mail:

Re: guestbook application with database update

2012-01-21 Thread kamiseq
it really doesnt matter where you get your data - from ArrayList or db - wrap code to access db into some function that return List and use LoadableDetachableModel as sven advised pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: Problems with requests to MountPath and optional parameters

2012-01-26 Thread kamiseq
maybe try date as milseconds (as long)? pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: handling request to component - the wicket way

2012-01-26 Thread kamiseq
1.5.4 why? if you have any resources I ve overlooked it d be great if you can share them:] pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ - To unsubscribe, e-mail:

Re: handling request to component - the wicket way

2012-01-27 Thread kamiseq
ok, thanks I ll look at it during weekend pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: Stateless and Ajax

2012-01-31 Thread kamiseq
I dont know if the conversation you pointed to can explain anything for this question;] I can only guess that if you make ajax call and you already have page created then it is faster, from what I know solution like jolira creates new page and whole component tree over and over again on each ajax

Re: Stateless and Ajax

2012-01-31 Thread kamiseq
;] hurray pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Tighter Wicket-Spring integration

2012-02-06 Thread kamiseq
also you need to consider that wicket components will be accessed from different threads pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ - To unsubscribe, e-mail:

Re: call a javascript

2012-02-10 Thread kamiseq
check wicket.ajax and its method getAjax or something like that. if you use AjaxEventBehavior then the ajax callback (which uses that js getAjax method) is already coded for you. pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: JavaFX2 and Wicket

2012-02-24 Thread kamiseq
those are totally two different technologies. wicekt can generate you html and you can embed flash or javafx applet there. I doubt there is any integration between wicket and flash or java fx. look at javafx tutorial first (they create html file there) and then learn how you can create such page

Re: Securing Resource in Web Context

2012-03-07 Thread kamiseq
can't you put your resources to DB ?? then you will have quick access and it will be secure? pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: rough estimate of when wicket 1.6 will be released?

2012-03-13 Thread kamiseq
by 1.6 you mean 6, right? pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: Aggregating JavaScript

2012-05-14 Thread kamiseq
I was thinking about creating custom behaviour that will connect to other behaviour and render all scripts needed at the bottom of the page (If this is possible), I understand that headerContributior is not good choice as it will render scripts in head section and we want them at the bottom

wicket 6 global services

2012-05-14 Thread kamiseq
hej, I have few questions about how to do few things in wicket, right now I m focusing on 6th version. I would like to create global service that returns for example JSON or html. and given I have stateless page with components that supports AJAX I would like to point my JS components to this

wicket 6 dynamic form parts generated in JS

2012-05-14 Thread kamiseq
hej, I would like to dynamically add same part to form, let say I have a form that has a section with 3 inputs : start, end and name. those section can occur many times depending on model. this is very easy when depending on server logic and making full page refresh every time users add section

wicket 6 using external session

2012-05-14 Thread kamiseq
hej, I need to handle 2 frameworks in the same time (one with legacy application and wicket application that will handle pieces of old functionality and new features - at least for some time until everything is rewritten to wicket app) - maybe Im wrong here but this means I need to share session

Re: wicket 6 global services

2012-05-15 Thread kamiseq
you need. On Tue, May 15, 2012 at 1:19 AM, kamiseq kami...@gmail.com wrote: hej, I have few questions about how to do few things in wicket, right now I m focusing on 6th version. I would like to create global service that returns for example JSON or html. and given I have stateless page

Re: wicket 6 dynamic form parts generated in JS

2012-05-15 Thread kamiseq
ok, great. this is what I thought so I dont want to reinvent things again, many thanks for quick replay pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ - To unsubscribe, e-mail:

Re: wicket 6 using external session

2012-05-15 Thread kamiseq
the other technology is WebObjects and it uses its own server, I have no idea if it can be easily ported to servlet container, anyway right now it is not using one (as far I can tell). Wicket stores only the last used page instance in the http session. One instance! And only if the page is

Re: VTD XML for wicket

2012-05-16 Thread kamiseq
the first time a page/panel is accessed. broken down into a collection of chunks optimized for wicket's consumption. and cached. -igor On Wed, May 16, 2012 at 9:49 PM, kamiseq kami...@gmail.com wrote: hej, have you ever consider using http://vtd-xml.sourceforge.net/ as xml parsing library?? I ve

Re: VTD XML for wicket

2012-05-17 Thread kamiseq
Oranjestraat 23 2983 HL Ridderkerk The Netherlands Phone: +31 (0)180 415559 Mobile: +31 (0)6 30413841 www.squins.com http://twitter.com/keesvandieren Chamber of commerce Rotterdam: 24435130 Boeken voor school en werk bestel je op studieboekencenter.nl 2012/5/17 kamiseq kami...@gmail.com

wicket 6 resources

2012-05-18 Thread kamiseq
hej, I tried to look for this and I ve found some old topics but they were related to older version of wicket than 6. I m looking for 2 things 1] I would like to get validator message with all parameters. for example lets take required message I can get it like this: new

Re: wicket 6 resources

2012-05-19 Thread kamiseq
pkaminski@gmail.com __ On 19 May 2012 13:42, vineet semwal vineetsemwal1...@gmail.com wrote: On Sat, May 19, 2012 at 5:42 AM, kamiseq kami...@gmail.com wrote: hej, I tried to look for this and I ve found some old topics but they were related to older version of wicket

Re: wicket 6 resources

2012-05-19 Thread kamiseq
is using jquery .. On Sat, May 19, 2012 at 11:23 PM, kamiseq kami...@gmail.com wrote: thanks, it works. ok so if jQuery is added always as wicket depends on it now, so what is JQueryPluginResourceReference for??? I saw it in http://www.wicket-library.com/wicket-examples-6.0.x

Re: wicket 6 resources

2012-05-19 Thread kamiseq
hym, I thought it is more flexible, anyway I can always add jquery manually. and yes good point that I need make sure that im using same version of jQ as wicket. thanks for explanation pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: wicket 6 resources

2012-05-19 Thread kamiseq
...@gmail.com wrote: you are welcome ..,to use same version of jquery in your case do response.render(JavaScriptHeaderItem.forReference(Application.get().getJavaScriptLibrarySettings().getJQueryReference())) On Sun, May 20, 2012 at 10:46 AM, kamiseq kami...@gmail.com wrote: hym, I thought

wicket 6 setting response page with page object and session expired error

2012-05-21 Thread kamiseq
hej, I have a strange error. I have stateless page (A) with form on it. form contains email input. inside form's onSelect handler I create page (B) and pass email to its constructor. Application nextPage = new Application(getModelObject().getEmail());// form model object

Re: wicket 6 setting response page with page object and session expired error

2012-05-21 Thread kamiseq
On 21.05.2012 at 09:56 kamiseq wrote: hej, I have a strange error. I have stateless page (A) with form on it. form contains email input. inside form's onSelect handler I create page (B) and pass email to its constructor.  Application nextPage = new Application(getModelObject().getEmail

Re: wicket 6 setting response page with page object and session expired error

2012-05-21 Thread kamiseq
On 21.05.2012 at 16:25 kamiseq wrote: yes, can I send it directly to you in case userlist rejects attachment? pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ - To unsubscribe, e

Re: wicket 6 setting response page with page object and session expired error

2012-05-22 Thread kamiseq
huh, then something is wrong with my environment, im running it with jetty invoking simple mvn clean install jetty:run pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ - To unsubscribe,

Re: wicket 6 setting response page with page object and session expired error

2012-05-22 Thread kamiseq
Kamiński kami...@gmail.com pkaminski@gmail.com __ On 22 May 2012 18:13, kamiseq kami...@gmail.com wrote: huh, then something is wrong with my environment, im running it with jetty invoking simple mvn clean install jetty:run pozdrawiam Paweł Kamiński kami

Re: wicket 6 setting response page with page object and session expired error

2012-05-22 Thread kamiseq
to be passed around, so there's nothing wrong with it in general. And it's always (at least in 95% of cases I'd dare to say) preferable to passing Objects (beans).   -Tom On 22.05.2012 at 18:55 kamiseq wrote: anyway there is nothing wrong to my code, in your opnion? I just have bad feeling

Re: wicket 6 setting response page with page object and session expired error

2012-05-22 Thread kamiseq
...@gmail.com pkaminski@gmail.com __ On 22 May 2012 22:52, kamiseq kami...@gmail.com wrote: but why?? test it with mvn clean install jetty:run pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ On 22 May 2012 20:47, Thomas Götz t

Re: constructing page multiple times per request

2013-01-21 Thread kamiseq
constructor and see what are the stacktraces. On Sun, Jan 20, 2013 at 6:27 PM, kamiseq kami...@gmail.com wrote: hi, I try to understand why wicket (in 6th version) is constructing my page always 3 times per every request. it is page constructor is called 3 times always I navigate to page

Re: constructing page multiple times per request

2013-01-21 Thread kamiseq
reloading the page? At least I remember some old threads on this topic. On Mon, Jan 21, 2013 at 8:07 PM, kamiseq kami...@gmail.com wrote: I did, I dont see anything specific about this java.lang.RuntimeException: test at com.myapp.Page1.initialize(Page1.java:80) at com.myapp.Page1

Re: constructing page multiple times per request

2013-01-21 Thread kamiseq
yep that was it, why this happens? thanks ernesto, it is not only on IE ;] firefox also pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ On 21 January 2013 20:36, kamiseq kami...@gmail.com wrote: I have something like this in logs, I will try

Re: constructing page multiple times per request

2013-01-21 Thread kamiseq
ok, thanks anyway, indeed it was killing me for some time now ;] pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ On 21 January 2013 21:13, Ernesto Reinaldo Barreiro reier...@gmail.comwrote: Hi, On Mon, Jan 21, 2013 at 8:42 PM, kamiseq kami