Re: Development / Deployment mode problem

2011-03-29 Thread Tejash Tarun
Hi, The wicket component which I have created extends WebMarkupContainer and in this way it encapsulates and interacts with the jquery calendar. I have not used wicket:container tag explicitly. On Mon, Mar 28, 2011 at 7:09 PM, MattyDE ufer.mar...@gmail.com wrote: My first clue: Are you using

1.5 visitParents problem?

2011-03-29 Thread nino martinez wael
why is this not valid? message.getReporter().visitParents(Form.class, new IVisitorForm, Void() { @Override public void component(Form object, IVisitVoid visit) { // TODO Auto-generated method stub

Re: Set all form fields to output markup id automatically

2011-03-29 Thread Matthew Pennington
I personally would suggest *not* having that second line component.setMarkupId(component.getId()) there. Let Wicket generate the IDs for you so that they're all unique on a page. Your approach above breaks using two EmailAddressTextField (fake example class) components on the same page.

Re: [OT] Apache Wicket Merchandise, nominees Spring roundup

2011-03-29 Thread Andrea Del Bene
I nominate Martin and Pedro for the same reasons. They answered all my nubie's questions despite my bad English :-) I nominate Martin Grigorov a and Pedro Santos. Thanks to them, none of my questions has gone un answered in this forum. josh. On Mon, Mar 28, 2011 at 8:45 PM, nino martinez wael

Why does wicket use Serializable contracts in generics?

2011-03-29 Thread Pointbreak
For example in Session there is the method: public final M extends Serializable M getMetaData(final MetaDataKeyM key) This makes it seriously difficult to use this methods for retrieving vales that have e.g. a MetaDataKeyCollectionString, since Collection does not extend Serializable (although

Re: Apache Wicket Cookbook Published!

2011-03-29 Thread Ian Marshall
I have this book on order; I look forward to studying it. My Wicket in Action and Coding: On Software Design Process books are eager to welcome a new member to their high quality book area. Ian Marshall -- View this message in context:

RE: Apache Wicket Cookbook Published!

2011-03-29 Thread Wilhelmsen Tor Iver
I have this book on order; I look forward to studying it. Order, is that what you have when you do not just buy the PDF edition and open it in iBooks on your iPad - like I did? :) (Just for completeness I also clicked the I want this for Kindle link at Amazon to give a suggestion to aid those

WicketRuntimeException

2011-03-29 Thread Jan Juno
Can somebody help me with this exception? What can be wrong am desperate. What to look for? ERROR [org.apache.wicket.RequestCycle] [, http-8080-1, /jumbo/, 101.11.149.90:-33771be0:12f 0171a0c1:-8000, , ] Exception in rendering component: [MarkupContainer [Component id = html]]

RE: WicketRuntimeException

2011-03-29 Thread Wilhelmsen Tor Iver
Can somebody help me with this exception? What can be wrong am desperate. What to look for? Typically, the real error is further down in the text that what you included. Common causes are: * Having a wicket:id the the HTML with no corresponding component * Adding a component without adding

Wicket 1.5 and Tomcat 7 encoding issues?

2011-03-29 Thread nino martinez wael
Hi Guys Im not sure if this is a wicket issue (I don't think so). But we are experiencing encoding(æøå) issues with Tomcat 7.0.11 after using Apache Wicket 1.5-rc2. However this issue does not occur when running Jetty.. Anyone has an idea on howto fix this? regards Nino

@RequireHttps start session before redirect to secure page

2011-03-29 Thread Phill
I'm running into this problem as described in the javadocs for HttpsRequestCycleProcessor: Notes: According to servlet spec a cookie created on an https request is marked as secure, such cookies are not available for http requests. What this means is that a session started over https will not

Re: Wicket 1.5 and Tomcat 7 encoding issues?

2011-03-29 Thread Attila Király
If this encoding issue is in url: did you configure Tomcat to use UTF-8 for uri encoding (URIEncoding attribute on the HTTP connector)? The default encoding for URI is ISO-8859-1 in Tomcat and UTF-8 in Jetty. Attila 2011/3/29 nino martinez wael nino.martinez.w...@gmail.com Hi Guys Im not

Re: Choice of Resource for my Image component

2011-03-29 Thread Ian Marshall
3. All I need to do now is find out why my use of a NonCachingImage together with my descended LoadableDetachableModel in the form of my web page still results in huge session size (1MB), which is forbidden in Google App Engine.

Re: WicketRuntimeException

2011-03-29 Thread Jan Juno
The problem is even stranger There is no problem with IE no problem with Opera the only problem is with Firefox 4.0 strange On 29 March 2011 14:19, Wilhelmsen Tor Iver toriv...@arrive.no wrote: Can somebody help me with this exception? What can be wrong am desperate. What to look for?

Re: WicketRuntimeException

2011-03-29 Thread Bruno Borges
Could you provide us a quickstart to reproduce de error ? Bruno Borges www.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. - Francois de La Rochefoucauld On Tue, Mar 29, 2011 at 10:08 AM, Jan Juno

Re: WicketRuntimeException

2011-03-29 Thread Martijn Dashorst
How to Get Help Whenever you are reporting a problem, please be sure to include as much information as possible; the more we know, the better the chance of a quicker resolution. which version of the software what platform and JDK any particular JEE container being used - if so what version stack

Re: Wicket 1.5 and Tomcat 7 encoding issues?

2011-03-29 Thread nino martinez wael
you mean like this: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 URIEncoding=UTF-8 / Already done so.. Or? Thanks for helping.. 2011/3/29 Attila Király kiralyattila...@gmail.com: If this encoding issue is in url: did you

Re: Wicket 1.5 and Tomcat 7 encoding issues?

2011-03-29 Thread Attila Király
Yep I ment that and it looks ok. Is your html page in UTF-8 as well? Attila 2011/3/29 nino martinez wael nino.martinez.w...@gmail.com you mean like this: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 URIEncoding=UTF-8 /

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 Pointbreak
This is definitely possible. The easy way is to do ajaxRequestTarget.addComponent(theParentComponent); the drawback being that tho whole parent component will be redrawn, including childs that were already on the page. If that is not acceptable, you could use javascript to first create a child

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-03-29 Thread Pointbreak
That's what I thought you meant (ajax). If you want to add a dynamic number of components during normal page construction, you should have a look at wicket repeaters, e.g. RepeatingView. There are plenty examples for how to use those. On Tue, 29 Mar 2011 17:28 +0200, kamiseq kami...@gmail.com

Re: Why does wicket use Serializable contracts in generics?

2011-03-29 Thread Igor Vaynberg
thats there to give developers a better hint. i am not too opposed to removing it. feel free to file an rfe. -igor On Tue, Mar 29, 2011 at 3:08 AM, Pointbreak pointbreak+wicketst...@ml1.net wrote: For example in Session there is the method: public final M extends Serializable M

Re: @RequireHttps start session before redirect to secure page

2011-03-29 Thread Igor Vaynberg
simply call session.bind() in requestcycle.onendrequest() which will make sure the session is bound on every request. you can still have a problem if the login page is the first page hit by the user. can that be the case in your application? -igor On Tue, Mar 29, 2011 at 5:38 AM, Phill

flexible authentication

2011-03-29 Thread hrbaer
Hi all, my web application is using the wicket authentication approach (AuthenticatedWebSession) and all my secure java files are marked with @AuthorizeInstantiation(ADMIN) So once I added this annotation there is no chance to bypass the authentication. But what if there is the need to be

Re: flexible authentication

2011-03-29 Thread Igor Vaynberg
the wicket approach is 2 or 3 classes that implement the infrastructure. the use well defined public interfaces to implement it. if it doesnt work for you, then simply roll your own implementation. -igor On Tue, Mar 29, 2011 at 9:37 AM, hrbaer herber.m...@gmail.com wrote: Hi all, my web

Re: Apache Wicket Cookbook Published!

2011-03-29 Thread Jonathan Locke
Cool! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Apache-Wicket-Cookbook-Published-tp3406012p3415429.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: StatelessForm redirect

2011-03-29 Thread lovewicket
Actually I handled the exception (in the catch block) and that's how I knew that the current page wanted to redirect to the intended page. I was getting the above posted exception and then the following exception: 2011-03-28 22:55:49.0783 ERROR http-8080-1

Re: flexible authentication

2011-03-29 Thread hrbaer
it's not about to bash the framework. Because I'm still a beginner I just want to make sure that this approach is not working for me. It seems like the demo implementation just allows two options: - need authentication - don't need authentication but there is no option to make it more flexible.

Re: Wicket 1.5 and Tomcat 7 encoding issues?

2011-03-29 Thread nino martinez wael
Yeah I think so, the file encoding are utf-8 Although this are in the header : !-- DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; -- !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN

model help

2011-03-29 Thread mlabs
1. first I'd like to ask if there is any good reading material out there regarding models. In particular I want to figure out all the nifty things you can do with them via nesting/chaining etc. I've read Wicket in Action .. but it seemed to gloss over the advanced stuff you can do with them .. and

Re: model help

2011-03-29 Thread Scott Swank
This is a good reference. https://cwiki.apache.org/WICKET/working-with-wicket-models.html Scott On Tue, Mar 29, 2011 at 11:50 AM, mlabs mlabs@gmail.com wrote: 1. first I'd like to ask if there is any good reading material out there regarding models. In particular I want to figure out all

Re: Wicket 1.5 and Tomcat 7 encoding issues?

2011-03-29 Thread Attila Király
Could you provide a small example showing the problem? Attila 2011/3/29 nino martinez wael nino.martinez.w...@gmail.com Yeah I think so, the file encoding are utf-8 Although this are in the header : !-- DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN

Re: @RequireHttps start session before redirect to secure page

2011-03-29 Thread Phill
thanks I'll try that, it is possible that they go straight to the login page but unlikely so I should be ok. On 29/mar/2011, at 18.31, Igor Vaynberg wrote: simply call session.bind() in requestcycle.onendrequest() which will make sure the session is bound on every request. you can still

Re: model help

2011-03-29 Thread MZemeck
Not sure what your objects look like but I will try to answer question 2... Not sure if this will work for you...sometimes I find myself using PropertyModels mixed with CPMs... new ListView(myId, new PropertyModel(foo, widgets)) And it may not be entirely obvious you can use dot notation to

Re: flexible authentication

2011-03-29 Thread Hans Lesmeister
Take a look at IAuthorizationStrategy and ist implementations. It is extremely easy to create your own implementation and make it more dynamic. The existing implementations can be used as starting point. Cheers Hans Am 29.03.11 17:51 schrieb hrbaer unter herber.m...@gmail.com: it's not about

Re: flexible authentication

2011-03-29 Thread MZemeck
I think you could do it by using a base role that all users receive, then add additional roles to tighten it down. You would then need to fake authentication of the base users by calling session.authenticate(user, pass) and assigning the BASE role, even though the user won't explicitly log

problems with spring integration

2011-03-29 Thread hrbaer
Hi all, I did some research within the forum but I didn't find the answer yet :( I tried to integrate Spring (using https://cwiki.apache.org/WICKET/spring.html#Spring-ApplicationObjectApproach Spring + WICKET ) but I still have an error. I added the following lines to my web.xml: wicket

Re: flexible authentication

2011-03-29 Thread hrbaer
Thanks for all the good hints ... let me check the links/advices. Hopefully there is no need to ask any further questions :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/flexible-authentication-tp3415413p3416489.html Sent from the Users forum mailing list archive

Re: problems with spring integration

2011-03-29 Thread Michael O'Cleirigh
When you use spring there needs to be a wicket application bean defined in your applicationContext.xml, I believe the default name is wicketApplication. So you can instruct it to be autowired by type and then use the @Autowired annotation to get services injected into the application.

Re: WICKET-2056 broke DatePicker in ModalWindow in 1.4.16

2011-03-29 Thread Alexander Morozov
Got the same issue. Please, file jira. - -- http://www.linkedin.com/in/amorozov -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WICKET-2056-broke-DatePicker-in-ModalWindow-in-1-4-16-tp3416225p3416830.html Sent from the Users forum mailing list archive at

Re: StatelessForm redirect

2011-03-29 Thread Clint Checketts
The remaining stack trace seems strange. But ignoring that and focusing on setting the 'action' attribute, in the webmarkup container that you use (in stead of a form component) Do something like: @Override onComponentTag(...){ tag.put(action,RequestCycle.get().urlFor(SearchResultspage.class))