I
just wanted to know ahead of that if somebody has solved this problem in a more
elegant way before and I would maybe not have to reinvent the wheel.
Thank you for your time and kind regards
Daniel Radünz
Gesendet: Sonntag, 03. Juli 2022 um 22:36 Uhr
Von: "Martin Grigorov"
An: u
regards,
Daniel
Gesendet: Mittwoch, 29. Juni 2022 um 15:40 Uhr
Von: "Martin Grigorov"
An: users@wicket.apache.org
Betreff: Re: Automatically insert generated html IDs in other places in html
file
Hi,
The easiest way I could imagine is with a short jQuery function that is
called o
somebody can push me in the right direction, how I could accomplish this
with Wicket, if it's possible at all.
Kind regards,
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail
Thanks for the response!
I switched to using the RequestCycle to store the component related
data, which solved the specific problem for me. :)
Nevertheless I have created a bug reported with a quickstart attached as
requested. (WICKET-6877)
Regards,
Daniel
Am 12.04.2021 um 12:24 schrieb
I'm just using it the
wrong
way or if I should rather save the information in a different way, like for
example
in a map (Component mapped to value) in the RequestCycle object.
Thanks for your help
Daniel
-
To unsubsc
works :) https://github.com/geramaya/wicket-spring-boot-simple
thx for help
Am 13.01.2021 um 20:19 schrieb Martin Grigorov:
In that case you should report it at
https://github.com/MarcGiffing/wicket-spring-boot/issues
On Wed, Jan 13, 2021 at 5:28 PM Daniel Weiss wrote:
Hey all,
I've
https://github.com/MarcGiffing/wicket-spring-boot/issues/174
Done. Thx for your help :)
Am 13.01.2021 um 20:19 schrieb Martin Grigorov:
In that case you should report it at
https://github.com/MarcGiffing/wicket-spring-boot/issues
On Wed, Jan 13, 2021 at 5:28 PM Daniel Weiss wrote:
Hey all
13.01.2021 um 14:52 schrieb Martin Grigorov:
Hi, There is nothing Wicket specific in this. Just use Spring Boot/MVC
facilities: https://www.baeldung.com/spring-mvc-static-resources On
Wed, Jan 13, 2021 at 3:08 PM Daniel Weiss wrote:
Hi all, I use https://github.com/MarcGiffing/wicket-spring-boot
Thx :) I have found this, but it doesn't work with my app. My next
should step is to use a clean small spring boot app and spring boot with
the wicket-spring-boot to exclude own bugs with my wonderful program :D
Thx
Daniel
Am 13.01.2021 um 14:52 schrieb Martin Grigorov:
Hi,
There is nothing
with a set of
html sites? I'll thankful for some hints for this issue :)
Thx in advance
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Hey all,
after few hours of debugging, clean the inheritance structure and the
right call of "onBeforeRender" vs "add;addOrReplace" > it works! :)
Yeah ... was hard stuff and a better code review will make something
simplier.
Thx for your help/motivation :)
Greets
D
this to handle anonymous
implementations. My first thoughts about this was "what the hell ... why
... and whats the benefit of it?" :)
Please explain or link a reason,documentation etc. to handle it and the
reason for it.
Thx in advance!
Daniel
https://issues.apache.org/jira/browse/W
Wicket
application is serving such files as if indeed such old copies were
available.
So I'm only loudly thinking is it really no problem that we serve
files with any text attached on the end of file name.
--
Daniel
pon., 25 maj 2020 o 21:14 Carl-Eric Menzel napisał(a):
>
> Sorry, didn't mean to
dVersion)) {
response.setCacheDurationToMaximum();
response.setCacheScope(WebResponse.CacheScope.PUBLIC);
}
}
--
Best regards,
Daniel Stoch
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
that are send to an user via an e-mail
functionality.
Proposal:
Validate all input parameters used for redirection and deny any
request if the supplied value does not belong to the application’s
domain.
--
Daniel
-
To unsubscribe, e
Hi,
Thanks for your answer.
I have created a JIRA issue with Quickstart:
https://issues.apache.org/jira/browse/WICKET-6692
--
Daniel
On Sat, Aug 3, 2019 at 10:05 PM Sven Meier wrote:
>
> Hi Daniel,
>
> can you create a quickstart and attach it to a Jura issue please?
>
is still open
So message is broadcasted only in a newer version.
--
Daniel
On Thu, Aug 1, 2019 at 10:25 AM Daniel Stoch wrote:
>
> Hi,
>
> We are using web sockets (with wicket-native-core) on many pages in
> our application. After upgrade a Jetty from 9.4.12.v20180830 to a
> ne
not care and current behaviour does not affect performance?
--
Best regards,
Daniel Stoch
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Thanks for the tip.
https://issues.apache.org/jira/browse/WICKET-6613
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For
Thanks for the tip.
https://issues.apache.org/jira/browse/WICKET-6613
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For
I updated the version and modal.css seems to load fine
(modal-ver-154158884.css).
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
-
To unsubscribe, e-mail:
scrollbar or excessive window size. I've been trying to play around with
various combinations of set/useInitial/Minimal/Height() and setAutoSize()
without any luck so far.
Any help is appreciated, thank you.
Daniel
--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
(maybe as debug?).
Or maybe I should add some special handling to this
ResponseIOException in my app?
--
Best regards,
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
information (order information should be calculated
in context of page/component).
How to add such information to response in Wicket 6.x?
--
Best regards,
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
ps://twitter.com/mtgrigorov
>
> On Thu, Feb 9, 2017 at 12:50 PM, daniel simko <dan.si...@gmail.com> wrote:
>
> > Hello,
> >
> > I would like to ask you whether there is some safe way how to display
> html
> > output from some rich editor (e.g. TinyMCE)? In order
Hello,
I would like to ask you whether there is some safe way how to display html
output from some rich editor (e.g. TinyMCE)? In order to display html it is
necessary to switch off model escaping [1] which is opening a door for XSS.
I was thinking about some converter [2] which would escape only
Thanks for fast answer :)
--
Daniel
On Tue, May 31, 2016 at 4:54 PM, Martin Grigorov <mgrigo...@apache.org> wrote:
> Hi,
>
> The version is intended to be used by the browser for client side caching,
> not by Wicket. That's why it is just stripped off by Wicket withou
-timepicker-ver--alert('1');return
false;.js
Is it a desired behavior or maybe Wicket should reject such
"incorrect" versions? Could it be some security issue?
--
Best regards,
Daniel
-
To unsubscribe, e-mail: user
n I remove it, it seems that
everything works ok.
--
Best regards,
Daniel
On Fri, Jan 8, 2016 at 10:47 PM, Sven Meier <s...@meiers.net> wrote:
> Hi,
>
> please create a quickstart and/or test case and attach it to a new Jira
> issue.
>
> This way we can dissect th
?
--
Best regards,
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
On Fri, Jan 1, 2016 at 10:25 PM, Martin Grigorov <mgrigo...@apache.org> wrote:
> Hi,
>
>
> On Mon, Dec 28, 2015 at 4:49 PM, Daniel Stoch <daniel.st...@gmail.com>
> wrote:
>
>> Hi,
>>
>> As I wrote in my previous post "Native WebSockets - cookie
On Fri, Jan 1, 2016 at 10:26 PM, Martin Grigorov <mgrigo...@apache.org> wrote:
> Hi,
>
> On Tue, Dec 29, 2015 at 2:14 PM, Daniel Stoch <daniel.st...@gmail.com>
> wrote:
>
>> Another problem with WebSocketRequest:
>>
>> @Override
>>
)
at org.apache.wicket.request.Request.getRequestParameters(Request.java:136)
Maybe these methods should better return empty Url instead of null (
return new Url(); )?
--
Daniel
On Mon, Dec 28, 2015 at 4:49 PM, Daniel Stoch <daniel.st...@gmail.com> wrote:
> Hi,
>
> As I wrote in m
st regards,
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
;).
More questions to come later ;)
PS. I am using Wicket 6.x.
--
Best regards,
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
On Wed, Dec 23, 2015 at 2:34 PM, Martin Grigorov <mgrigo...@apache.org> wrote:
> Hi,
>
>
> On Wed, Dec 23, 2015 at 2:21 PM, Daniel Stoch <daniel.st...@gmail.com>
> wrote:
>
>> Hi,
>>
>> I am during replacement Atmosphere push implementation to Wi
On Wed, Dec 23, 2015 at 3:41 PM, Martin Grigorov <mgrigo...@apache.org> wrote:
> On Wed, Dec 23, 2015 at 2:52 PM, Daniel Stoch <daniel.st...@gmail.com>
> wrote:
>
>> On Wed, Dec 23, 2015 at 2:34 PM, Martin Grigorov <mgrigo...@apache.org>
>> wrote:
>> &
> this required check will always be true.
Will always be FALSE of course :)
--
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
eld has no value, required message will not be displayed and form
will be submitted.
--
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
atmosphere
resources are created.
--
Daniel
On Mon, Aug 10, 2015 at 1:38 PM, Martin Grigorov mgrigo...@apache.org wrote:
Hi,
Can you point in the code where this happens?
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Mon, Aug 10, 2015 at 11:34 AM, Daniel
Ok, I will try to prepare a fix for this. Then I will create a JIRA
issue for this with this fix.
--
Daniel
On Tue, Aug 11, 2015 at 12:55 PM, Martin Grigorov mgrigo...@apache.org wrote:
Thanks!
Do you want to contribute an improvement?
For example we can extract a class that will be listener
Hi,
Ok, EventBus stores only pageId. But Atmosphere framework keeps all
AtmosphereResourceEventListeners which are implemented by
AtmosphereBehavior - so I think this is a place when Atmosphere keeps
references to all registered pages.
--
Daniel
On Tue, Jul 28, 2015 at 9:33 AM, Martin Grigorov
expires). I think it
could be a problem in high load applications: theses hard references
could eat all memory.
What do you think: is it a problem or not (and I am wrong in this case)?
--
Best regards,
Daniel
-
To unsubscribe, e-mail
for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Mon, Mar 9, 2015 at 6:09 PM, Daniel Del Castillo dani...@optimad.com
wrote:
Hi list,
One of the modules of our application is completely written in Wicket
1.4.17. This application runs on a single standalone Tomcat
architectural changes, just implementation changes.
Please let us know how things go!
Good luck!
Martin Grigorov
Funemployed! Available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Mar 10, 2015 at 11:26 AM, Daniel Del Castillo dani...@optimad.com
wrote:
Hi
found a solution for clustering (see link below) which I'm now about to
test but I've thought that it'd be useful to try get some advice from this list.
http://letsgetdugg.com/2010/02/07/clustering-wicket-for-fun-and-profit/
Many thanks for your help.
Regards,
Daniel
DDC
is used. My urls are encoded like:
somepath/param1/value1/param2/value2
Is there another way to do this?
--
Best regards,
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail
Well this workaround from my previous post does not work, because this
page does not exists yet when I need to get this parameter value.
--
Daniel
On Mon, Jan 19, 2015 at 4:16 PM, Daniel Stoch daniel.st...@gmail.com wrote:
Maybe such workaround (not very elegant though):
app.init
On Mon, Jan 19, 2015 at 4:54 PM, Martin Grigorov mgrigo...@apache.org wrote:
Hi,
On Mon, Jan 19, 2015 at 4:38 PM, Daniel Stoch daniel.st...@gmail.com
wrote:
Hi,
In Wicket 1.4 I can get a page parameter value using this code:
PageParameters pageParameters
, Jan 19, 2015 at 5:12 PM, Daniel Stoch daniel.st...@gmail.com wrote:
requestCycle.getRequest().getUrl() return null for me. - sorry, not
null but returns only a mount path without paramname/paramvalue part.
On Mon, Jan 19, 2015 at 5:09 PM, Daniel Stoch daniel.st...@gmail.com wrote:
On Mon, Jan
=
getCurrentPage(requestCycle.getPageParameters());
String value = pageParameters.getString(paramName);
} ...
?
--
Daniel
On Mon, Jan 19, 2015 at 3:38 PM, Daniel Stoch daniel.st...@gmail.com wrote:
Hi,
In Wicket 1.4 I can get a page parameter value using this code:
PageParameters
requestCycle.getRequest().getUrl() return null for me. - sorry, not
null but returns only a mount path without paramname/paramvalue part.
On Mon, Jan 19, 2015 at 5:09 PM, Daniel Stoch daniel.st...@gmail.com wrote:
On Mon, Jan 19, 2015 at 4:54 PM, Martin Grigorov mgrigo...@apache.org wrote:
Hi
This code is called inside custom
DefaultMapperContext.newPageInstance() implementation and in custom
IRequestMapper.mapRequest() method.
--
Daniel
On Mon, Jan 19, 2015 at 5:22 PM, Martin Grigorov mgrigo...@apache.org wrote:
In what context do you need to extract these parameters ?
In what
I have found another solution: in my scenario I can get parameters
from DefaultMapperContext.
newPageInstance(). Thanks for your help and tips.
--
Daniel
On Mon, Jan 19, 2015 at 5:44 PM, Daniel Stoch daniel.st...@gmail.com wrote:
This code is called inside custom
Thanks for your answers.
I must check why this new version does not work in my app.
--
Best regards,
Daniel
On Mon, Jan 12, 2015 at 1:00 PM, Emond Papegaaij
emond.papega...@topicus.nl wrote:
You are right. The filter allows the client to know the length of pushed
messages. I believe
/init-param
What is the reason of this change, what these parameters are used for?
Actual version does not work for me and I need to know how to debug
this. Any tip will be helpful.
--
Best regards,
Daniel
-
To unsubscribe, e-mail
(or Emond ;)) know how to changed it,
maybe I should look into Atmosphere documentation?
The old TrackMessageSizeFilter comes from Wicket-Atmosphere, so there
was some reason to setup such parameter.
--
Daniel
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Jan
)
at
org.apache.wicket.atmosphere.EventBus.postToSingleResource(EventBus.java:393)
at org.apache.wicket.atmosphere.EventBus.post(EventBus.java:346)
at org.apache.wicket.atmosphere.EventBus.post(EventBus.java:329)
So it looks that some thread earlier mark this component as rendering?
--
Daniel
AtmosphereBehavior.renderHead in ajax requests?
--
Daniel
On Wed, Dec 10, 2014 at 12:19 PM, Daniel Stoch daniel.st...@gmail.com wrote:
Hi,
It seems that I am using an older version of AtmosphereBehavior which
implements IResourceListener. Since 6.17.0 this implementation was
removed and the code
of such component will initialize a new
web socket connection (or whatever fallback you may use)
Hmmm, do we really need this check if I call whole atmo.renderHead method?
Thanks for your help.
--
Daniel
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri
Is it possible to invoke this listener manually, or maybe this is a generally a
bad practise?
--
Daniel
On 9 gru 2014, at 12:24, Daniel Stoch daniel.st...@gmail.com wrote:
Hi,
I have a behavior which implements IResourceListener
(AtmosphereBehavior). The problem is when this behavior
Hi,
It seems that I am using an older version of AtmosphereBehavior which
implements IResourceListener. Since 6.17.0 this implementation was
removed and the code is moved to onRequest() method.
So I must check a newer version, maybe my problem is solved.
Thanks for a tip!
--
Daniel
On Wed, Dec
connection from the client is not
registered.
How should I solve this problem: how and when call this
onResourceRequested method?
--
Best regards,
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
errors with resolving urls.
I cannot find where this base url can be broken? Maybe the problem is
somewhere in my code, but I don't know where to search for this.
PS. The same error is in FF and Chrome. Wicket 6.17.0.
--
Best regards,
Daniel
());
After this an url becomes encoded using escaped %2F instead of slashes
(eg. customer%2Fid%2F1234).
This leads to resolving urls problems, as I have described in my previous post.
--
Best regards,
Daniel
On Fri, Nov 7, 2014 at 1:30 PM, Daniel Stoch daniel.st...@gmail.com wrote:
Hi,
I have
, to
easily find a source code).
--
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
You are fast :).
I wanted to write about this solution - came to my mind right now :)
--
Thanks,
Daniel
On Thu, Oct 2, 2014 at 12:38 PM, Martin Grigorov mgrigo...@apache.org wrote:
Hi,
You can use Behavior#onComponentTag().
And IComponentInstantiationListenener to add this behavior to all
by Martin in my previous post (How to handle
click on disabled links - ListenerInvocationNotAllowedException?).
--
Daniel
On Fri, Jul 4, 2014 at 5:38 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
maybe what is needed is a fail silently ajax request ;-)
On Fri, Jul 4, 2014 at 5:36 PM
,
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
the UI?
On Fri, Jul 4, 2014 at 12:13 PM, Daniel Stoch daniel.st...@gmail.com
wrote:
Hi all,
I think such question occurs from time to time on this list, but I
have never found a good answer how to solve such problem in general.
The problem is similar to my last question:
http://apache-wicket
action but by
application. So yes, it can be push from a server (eg. using
Atmosphere - this is my case) or by ajax self updating behavior.
--
DS
On 07/04/2014 12:13 PM, Daniel Stoch wrote:
Hi all,
I think such question occurs from time to time on this list, but I
have never found a good
I have added the appropriate information in that thread.
On Fri, Jul 4, 2014 at 12:47 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Sven's question goes straight to the point: do you know what is causing the
mismacth?
On Fri, Jul 4, 2014 at 12:44 PM, Daniel Stoch daniel.st
are pushed to client browser.
--
Daniel
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Jul 4, 2014 at 1:46 PM, Daniel Stoch daniel.st...@gmail.com wrote:
On Fri, Jul 4, 2014 at 12:33 PM, Sven Meier s...@meiers.net wrote:
So page was rendered
on server and DOM tree on
client browser are inconsistent (and not necessary because of push
requests). Maybe it should be a dedicated exception on such situation
(Component 'xxx' has been removed from page.) at least or maybe we
can invent a better solution in core?
--
Daniel
On Fri, Jul 4, 2014 at 4
information to user,
that this is link is no longer active (but user should stay on the
same page)?
Should I catch ListenerInvocationNotAllowedException inside
IRequestCycleListener.onException()?
--
Daniel
-
To unsubscribe, e-mail: users
can always click faster ;).
Best regards
Sven
On 06/17/2014 03:55 PM, Daniel Stoch wrote:
Hi,
I have a link (or ajax link) which executes some system command. This
system gives me an information if this command is enabled or not, so I
can mark my link as enabled or disabled (by calling
On Tue, Jun 17, 2014 at 4:00 PM, Martin Grigorov mgrigo...@apache.org wrote:
Hi,
On Tue, Jun 17, 2014 at 4:55 PM, Daniel Stoch daniel.st...@gmail.com
wrote:
Hi,
I have a link (or ajax link) which executes some system command. This
system gives me an information if this command is enabled
), but on the server is
not enabled anymore (3).
--
Daniel
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
in onClick() method.
So now I try to use the second solution (I have an abstraction over
all links so it would be easy to implement) and add an extra check
before calling a link code.
Thanks for your help.
--
Daniel
On 06/17/2014 04:32 PM, Daniel Stoch wrote:
On Tue, Jun 17, 2014 at 4:27 PM, Sven
); ?
Example project:
https://dl.dropboxusercontent.com/u/138504/wicket-atmosphere-tabs-example.zip
--
Best regards,
Daniel
with SessionSizeDebugPanel, it displays session
size and totalSize (by SessionTotalSizeModel). Does this totalSize includes
size of object loaded by LDM or it counts all components and models size in
detached state?
--
Daniel
://issues.apache.org/jira/browse/WICKET-4867 the detachable is
detached before measuring its size.
Ok, great to know. So it looks in 1.4.x totalSize is measured before
detaching.
Thanks for the answer.
--
Daniel
(), setResponse()?
--
Daniel
On Wed, Feb 5, 2014 at 1:51 PM, Martin Grigorov mgrigo...@apache.orgwrote:
Component#setResponsePage() just delegates to
RequestCycle#setResponsePage(). So it is the same.
I'm saying that you should not use tester.getRequestCycle().xyz(). I.e. do
not set the new
I have looked inside 1.4 and the code inside a clickLink() is very similar,
so this is not a case to 6.x. But still it would be nice to have
RequestCycle#setResponsePage() working ;).
--
Daniel
On Thu, Feb 6, 2014 at 10:00 AM, Daniel Stoch daniel.st...@gmail.comwrote:
I have created a new
on this AuthorizationException and
AccessDeniedPage is not rendered.
Should it be rendered or should I have to change my test, because in 6.x it
works in different way?
--
Daniel
It works!
Thanks for your fast replay :)
--
Daniel
On Wed, Feb 5, 2014 at 10:40 AM, Martin Grigorov mgrigo...@apache.orgwrote:
Try with tester.setExposeExceptions(false) before making the request to the
secured page
Martin Grigorov
Wicket Training and Consulting
On Wed, Feb 5, 2014
For fast REPLY, of course ;)
On Wed, Feb 5, 2014 at 10:45 AM, Daniel Stoch daniel.st...@gmail.comwrote:
It works!
Thanks for your fast replay :)
--
Daniel
On Wed, Feb 5, 2014 at 10:40 AM, Martin Grigorov mgrigo...@apache.orgwrote:
Try with tester.setExposeExceptions(false) before
= tester.isRenderedPage(DummyBasePage.class);
The first one works ok (DummyBasePage is rendered), but the second fails:
HomePage is rendered instead of DummyBasePage. Why?
--
Daniel
On Wed, Feb 5, 2014 at 10:40 AM, Martin Grigorov mgrigo...@apache.orgwrote:
Try with tester.setExposeExceptions
Ok, but what I should call to render DummyBasePage after calling:
tester.getRequestCycle().setResponsePage(DummyBasePage.class);
without making a new request?
--
Daniel
On Wed, Feb 5, 2014 at 12:01 PM, Martin Grigorov mgrigo...@apache.orgwrote:
#processRequest() triggers a new request
be valid for tests. Am I wrong?
--
Daniel
On Wed, Feb 5, 2014 at 1:14 PM, Martin Grigorov mgrigo...@apache.orgwrote:
You should not use tester.getRequestCycle().setResponsePage(DummyBasePage.
class);
You should do something like:
- in the test code: tester.startPage(Page1.class
to
com.hp.honeybadger.persistence.dao.morphia.MorphiaCnavUrlDAO
I am able to use the CnavUrlDAO as a CnavUrlDAO, but its type is $Proxy23
and I am unable to cast it to a concrete type.
Is this Guice or Wicket related? Any idea how to get around this?
Thanks,
Daniel
of sun.misc.Launcher$AppClassLoader(id=2450))
On Tue, Jul 23, 2013 at 9:20 AM, Daniel Watrous dwmaill...@gmail.comwrote:
Hi,
I'm having an issue that I suspect is related to the wicket integration
with Guice. Any help is appreciated.
I have a Page class that uses field injection to inject
That being the case, is there any way to get an instance that I can cast to
a concrete type?
On Tue, Jul 23, 2013 at 9:27 AM, Martin Grigorov mgrigo...@apache.orgwrote:
Hi,
On Tue, Jul 23, 2013 at 6:20 PM, Daniel Watrous dwmaill...@gmail.com
wrote:
Hi,
I'm having an issue that I
Dan,
Good point. After considering I decided to modify my interface to expose
the function I need and let the implementation worry about casting where
necessary.
Thanks,
Daniel
On Tue, Jul 23, 2013 at 9:58 AM, Dan Retzlaff dretzl...@gmail.com wrote:
@Inject the implementation
);
}
});
I can then use the value in the parameters to set cnavid
if (parameters.get(cnavid).toString() != null) {
cnavid = new ObjectId(parameters.get(cnavid).toString());
}
Thanks for all the help.
Daniel
On Fri, Jul 19, 2013 at 9:38 AM, Paul Bors p...@bors.ws wrote
Here's a post that helped me understand this better:
http://stackoverflow.com/questions/16047829/proxy-cannot-be-cast-to-class
On Tue, Jul 23, 2013 at 2:15 PM, Daniel Watrous dwmaill...@gmail.comwrote:
Dan,
Good point. After considering I decided to modify my interface to expose
with the request and then access that ID within the form for my
query to load that object from the DB.
Daniel
On Thu, Jul 18, 2013 at 5:14 PM, Paul Bors p...@bors.ws wrote:
Okay let's pre-populate this field:
add(new TextField(url, new PropertyModel(cnavUrl, URL))
.setRequired(true
]
/IfModule
Daniel
On Fri, Jul 19, 2013 at 2:42 PM, Gabriel Landon glan...@piti.pf wrote:
The home page dos work :
wget http://wicketinaction.com/
--2013-07-19 10:40:45-- http://wicketinaction.com/
Résolution de wicketinaction.com... 94.124.120.40
Connexion vers wicketinaction.com
);
}
}
});
}
}
Any idea what could be going on? It may be related to this:
http://apache-wicket.1842946.n4.nabble.com/Unserializable-exceptions-on-declaring-springs-org-springframework-dao-annotation-PersistenceExceptir-td3172785.html
Thanks,
Daniel
I found that having my DAO implement Serializable got me past the
exception.
Is Wicket attempting to serialize my DAO?
On Thu, Jul 18, 2013 at 11:24 AM, Daniel Watrous dwmaill...@gmail.comwrote:
My Wicket application uses Guice for DI and some AOP. I have successfully
injected a DAO and used
1 - 100 of 526 matches
Mail list logo