Hi!
We are having two frameworks for one project (wicket 1.4 and struts). Was no
problem until now.
We want to migrate the whole client to wicket 6.2.
From my struts pages I have a URL like
http://localhost:8080/application/wicket/foo?id= to my wicket-page.
That works, because of the
I believe this question has been asked few weeks ago and we found the
solution, no ?
On Fri, Nov 30, 2012 at 9:07 AM, cknafl chr.kn...@gmail.com wrote:
Hi!
We are having two frameworks for one project (wicket 1.4 and struts). Was
no
problem until now.
We want to migrate the whole client
Hi,
Most of the time people inject services to their components.
To test just components you can use WicketTester#startComponentInPage()
methods.
On Fri, Nov 30, 2012 at 3:18 AM, William Speirs wspe...@apache.org wrote:
I'm having trouble understanding how to inject components into a page so
Paste few of the generated evaluate and priority-evaluate elements in
an Ajax response.
I guess the response is after click on an IndicatingAjaxLink ?
On Thu, Nov 29, 2012 at 4:37 PM, saty satya...@gmail.com wrote:
Most of these are coming from using
IndicatingAjaxLink link = new
Hi,
The gzip filter should be before Wicket filter. This way it has the chance
to manipulate the response generated by Wicket.
Wicket just calls httpServletResponse.setContentType(text/application)
and httpServletResponse.write(someStringWithJS).
GZipFilter's job is to change the content type and
Hi all
Searching the net I found various ways to support RESTful URLs in Wicket,
including the MixedParamUrlCodingStrategy. I am just curious if there is an
easier way, as it looks cumbersome.
I like the method mountPage (example in Scala below), but it does not
generate RESTful URLs, the URL
Hi,
Read http://wicketinaction.com/2011/07/wicket-1-5-mounting-pages/
On Fri, Nov 30, 2012 at 11:52 AM, René Vangsgaard rene.vangsga...@gmail.com
wrote:
Hi all
Searching the net I found various ways to support RESTful URLs in Wicket,
including the MixedParamUrlCodingStrategy. I am just
Thank you, but my second was more on generating REST-like URLs, not
consuming them. I have rephrased my example below.
In init:
mountPage(/guide/${guideId}/step/${stepNo}, classOf[GuidePage])
In StateLessLink.onClick:
setResponsePage(new GuidePage(1984, 1))
It generate this URL (the last number
No worries.
I still have problem to understand why people call Urls with path
parameters REST-urls. There is no problem to read query string parameters
in RESTful app.
On Fri, Nov 30, 2012 at 12:47 PM, René Vangsgaard rene.vangsga...@gmail.com
wrote:
Thank you, but my second was more on
Hi,
I am using Wicket 6.3. I have searched a lot, but somehow didn't find how to
solve this: I would like to have texfields and checkboxes in a datatable.
The following code is not working:
Java:
ListIColumnlt;Feststellung, String columns = new
ArrayListIColumnlt;Feststellung, String();
Using the class and PageParameters together did it. Thanks a lot.
On 30 November 2012 13:01, Martin Grigorov mgrigo...@apache.org wrote:
No worries.
I still have problem to understand why people call Urls with path
parameters REST-urls. There is no problem to read query string parameters
in
No errors here.
Igor added an exclusion in parent pom.xml for this change.
https://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=commitdiff;h=c3d47448d1bf5b5d0e8207bb8c0cf605cef8c18c
On Fri, Nov 30, 2012 at 1:36 PM, Chris Colman
chr...@stepaheadsoftware.comwrote:
I've just
thank you, but then I get the following error:
Last cause: The component(s) below failed to render. Possible reasons could
be that: 1) you have added a component in code but forgot to reference it in
the markup (thus the component will never be rendered), 2) if your
components were added in a
I found nothing with struts and wicket... :(
Maybe somebody knows the other topic, where the problem is solved?
Or maybe somone could post the solution here again :)
Regards
Christoph
--
View this message in context:
I see Igor's exlusion in the parent pom.xml but it doesn't seem to help
the build succeed.
-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org]
Sent: Friday, 30 November 2012 11:52 PM
To: users@wicket.apache.org
Subject: Re: master branch compiler error in core?
No
https://issues.apache.org/jira/browse/WICKET-4870
It seems the problem is still unresolved. You have asked the same in a
ticket.
Did you try my proposals ?
On Fri, Nov 30, 2012 at 2:04 PM, cknafl chr.kn...@gmail.com wrote:
I found nothing with struts and wicket... :(
Maybe somebody knows
Hi,
I needed to implement a dynamic JSON API for programmatic consumption
by another application. I ended up implementing AbstractResource to
accomplish this task (using Wicket 6.2.0.).
First question, does this violate the intent of resources? If so, is
there a good way to do this within
Ive stepped through the GzipFilter, and things look to be processed through
the Gzip compression, but only my welcome.html page is returned as gzipped
- all the .css and .js resources do not have a gzip Content-Encoding set on
them.
Just to clarify, did you really mean text/application instead of
Try with wget/curl client instead.
I meant text/javascript ..
On Fri, Nov 30, 2012 at 4:08 PM, Nick Pratt nbpr...@gmail.com wrote:
Ive stepped through the GzipFilter, and things look to be processed through
the Gzip compression, but only my welcome.html page is returned as gzipped
- all the
Please file a ticket.
On Fri, Nov 30, 2012 at 3:55 PM, Benjamin Heiskell
ben.heisk...@gmail.comwrote:
Hi,
I needed to implement a dynamic JSON API for programmatic consumption
by another application. I ended up implementing AbstractResource to
accomplish this task (using Wicket 6.2.0.).
You can use PowerMock to register a mock via
WebApplication#newAjaxRequestTarget()
On Fri, Nov 30, 2012 at 4:16 PM, Tom Norton
tomwnorton.mailing.li...@gmail.com wrote:
Is it possible to test that appendJavascript is called on wicket 1.5?
Thanks,
Tom
--
Martin Grigorov
jWeekend
Thanks a bunch :D
On Fri, Nov 30, 2012 at 10:19 AM, Martin Grigorov mgrigo...@apache.orgwrote:
You can use PowerMock to register a mock via
WebApplication#newAjaxRequestTarget()
On Fri, Nov 30, 2012 at 4:16 PM, Tom Norton
tomwnorton.mailing.li...@gmail.com wrote:
Is it possible to
I tried to implement this, but newAjaxRequestTarget is final :(
On Fri, Nov 30, 2012 at 10:24 AM, Tom Norton
tomwnorton.mailing.li...@gmail.com wrote:
Thanks a bunch :D
On Fri, Nov 30, 2012 at 10:19 AM, Martin Grigorov mgrigo...@apache.orgwrote:
You can use PowerMock to register a mock
Sorry.
See org.apache.wicket.protocol.http.WebApplication#setAjaxRequestTargetProvider
On Fri, Nov 30, 2012 at 4:34 PM, Tom Norton
tomwnorton.mailing.li...@gmail.com wrote:
I tried to implement this, but newAjaxRequestTarget is final :(
On Fri, Nov 30, 2012 at 10:24 AM, Tom Norton
Thanks! For posterity: https://issues.apache.org/jira/browse/WICKET-4900
On Fri, Nov 30, 2012 at 10:13 AM, Martin Grigorov mgrigo...@apache.org wrote:
Please file a ticket.
On Fri, Nov 30, 2012 at 3:55 PM, Benjamin Heiskell
ben.heisk...@gmail.comwrote:
Hi,
I needed to implement a dynamic
I was finally able to get it to work with PowerMock. I forgot to add both
the WebApplication and the AjaxRequestTarget to the PrepareForTest
annotation.
Thanks for your help,
Tom
On Fri, Nov 30, 2012 at 10:40 AM, Martin Grigorov mgrigo...@apache.orgwrote:
Sorry.
See
I see a solution for this case.
If you can provide a quickstart app then please attach it to a ticket in
our Jira so I can test with it.
On Fri, Nov 30, 2012 at 7:45 PM, saty satya...@gmail.com wrote:
Below is a part of overall response, the error in this run is:
[13:33:14.799] Wicket.Ajax:
So the intentional use that you register other converters with a field other
than those intended for use with the model?
An example:
You've added a behavior to a component, which renders a value into the
title attribute of the tag. The value might be a number, while the
component's model
I have some older javascript code that I am migrating to work with Wicket 6 and
not sure how to do so.
I had some javascript that was triggering the onclick of an element in the
following way,
somedomeelement.click(); // post wicket 1.4 this causes error - TypeError:
Property 'onclick' of
See http://api.jquery.com/triggerHandler/
On Fri, Nov 30, 2012 at 10:20 PM, Corbin, James jcor...@iqnavigator.comwrote:
I have some older javascript code that I am migrating to work with Wicket
6 and not sure how to do so.
I had some javascript that was triggering the onclick of an element
You would't ;).
All vars of error messages are converted, it just happens that the label
is one of them.
We might want to shortcut this by checking the type of the variable if
it's already a String (before trying to convert it).
Hope this helps
It does and thank you for taking the time to
I have a Person Hibernate/JPA entity with an @Embedded address object in it:
@Entity
public class Person {
...
@Embedded
private Address address;
...
}
I have a Panel with a Form for editing the Address
(EditAddressFormPanel) and a panel for editing the Person which uses
the Panel for
Why not handle this in your domain objects already?
@Entity
public class Person {
...
@Embedded
private Address address;
...
public Address getAddress() {
if (address == null) {
address = new Address();
}
return address;
}
}
Sven
On 11/30/2012 11:49 PM, Andrew
The problem with doing that is that Hibernate detects that as a change
(a null object is not the same as an empty object) and does a database
update (see some of the comments on this:
https://issues.jboss.org/browse/HIBERNATE-50).
Andrew
On Fri, Nov 30, 2012 at 5:59 PM, Sven Meier
FooProvider implementation is
public class FooProvider extends TextChoiceProviderFoo
{
FooService fooService=new FooService();
@Override
protected String getDisplayText(Foo fooChoice) {
return fooChoice.getName();
}
@Override
35 matches
Mail list logo