Eelco is on http://chillenious.wordpress.com.
The link you mentioned http://day-to-day-stuff.blogspot.com/ is from
your's truly.
Regards,
Erik.
Kaspar Fischer wrote:
Matijn, thank you for your hint.
I searched on your blog, http://martijndashorst.com/blog/, and Eelco's,
On Mon, 25 Aug 2008, prabha77 wrote:
If instance variables are defined in a subclass of WebPage, would they be
thread-safe? For convenience, we're passing a reference to the parent page
to it's child components. We are seeing these instance variables
overwritten by other users and then those
On Tue, 26 Aug 2008, wicket user wrote:
when i try to build the wicket from the wicket-1.4-m3 source its failing
with the following message
What Java version do you use to compile? In 1.5 there have
been a lot of generics bugs, some of which are fixed in
recent 1.5 versions.
Best wishes,
On Wed, 27 Aug 2008, pixologe wrote:
Short question: if my interpretation of the source code is correct, it is
not possible to use StringResourceModel's MessageFormat features just with a
single model (without passing a params array).
If this is right: would it be a good idea to make it
full stack trace please? Are you using persistent sessions in tomcat?
On Sat, Aug 30, 2008 at 7:54 AM, wil2008 [EMAIL PROTECTED] wrote:
I am new to Wicket (but not new to HTML, Java and Spring).
I tried to follow the examples in the ebook of Wicket in Action.
Everything is fine until Chapter
Hi,
I have a customized DataTable.
Here's what we have in the constructor:
super(id, columns, dataProvider, rowsPerPage);
add(HeaderContributor.forCss(/eurekify/style/EurekifyDataTable.css));
add(new AttributeAppender(class, true, new
On Wed, 27 Aug 2008, Markus wrote:
Ok, figured out, that the Spring-injected Bean is the reason for this
behavior!
Works fine if I use u = new Users(); instead of the Spring-injected Users as
Model.
Any clues how to circumvent this behavior without instantiating the model
myself??
It
Hi!
Sometimes I think it would be useful to refer properties from
properties. Example:
WicketApplication.properties -file:
myProperty=The maximum width allowed is ${property.maxWidth} pixels
property.maxWidth=30
Now I would like to use the maxWidth simultaneously for both
validation purposes
You probably can do this by enclosing your images (and other resources)
inside
wicket:link and have custom resource loaded defined for your application,
which will load from whatever path(s) you want.
Mathias P.W Nilsson wrote:
Thank you very much for the suggestion. By doing this I must
Sorry. The complete stack trace shown on the web page is as follows. I noted
that
they mirrored what have been logged by Tomcat.
I was with Tomcat's default config. And I did not persist anything
consciously yet.
How to check if persistent sessions are in use in Tomcat? Thanks
I am not sure
I havent tried this myself, but if its not working I guess you could pass
getString(property.maxWidth) value as a parameter to however you are
accessing myProperty (possibly StringResourceModel).
Hope that helps.
Martin Makundi wrote:
Hi!
Sometimes I think it would be useful to refer
Also just found this in StringResourceModel javadoc... So I guess you can
certainly do what I mentioned earlier.
* liparameters - The parameters parameter allows an array of objects to
be passed for
* substitution on the found string resource (see below) using a standard
*
This happened to me when my HTML markup containing the table was little off.
Make sure your HTML enclosing the table is proper XHTML and try it in IE or
FF 3 (multiple browsers) to catch the problem.
egolan74 wrote:
Hi,
I have a customized DataTable.
Here's what we have in the constructor:
Does this happen under jetty too?
To try this you can use
mvn jetty:run
or
from your IDE run Start
Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk
wil2008 wrote:
Sorry. The complete stack trace shown on the web page is as follows. I
noted that
they mirrored what
Hi,
As part of my requirement, I have to create a custom url coding strategy for
bookmarkable pages. The URLs should be like e.g.
http://domain.com/somestr_[id].html.
The problem I am facing is all the bookmarkable pages need to have a static
mount string, which makes the URL to be
Hi Eyal,
When I look at FireBug, I see that the tfoot section of the table is BEFORE
the tbody.
Has anyone encountered this?
Do I do something wrong?
this is intented and required by the HTML spec:
http://www.w3.org/TR/html4/struct/tables.html#h-11.2.3
Best regards, --- Jan.
this is already possible, create your own irequestcycleprocessor
-igor
On Sun, Aug 31, 2008 at 10:16 AM, Ritesh Trivedi
[EMAIL PROTECTED] wrote:
Hi,
As part of my requirement, I have to create a custom url coding strategy for
bookmarkable pages. The URLs should be like e.g.
Dear All --
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dear All --
I was having an issue with @SpringBean injection -- my dao class was not
initialized properly with the dependent beans. I spent some time
exploring internals of CGLib and Spring Injections and then a thought
struck me: how really helpful is this injection?
Consider this code:
Are you planning on serialising your DAOs?
How will you mock out your Locator for unit tests?
Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk
Sasha O-2 wrote:
Dear All --
I was having an issue with @SpringBean injection -- my dao class was not
initialized properly
Are you planning on serialising your DAOs?
No -- I mark them as transient.
How will you mock out your Locator for unit tests?
I didn't provide the implementation in the parent, but it's pretty obvious:
/** Use for unit tests */
public static class MockLocator extends Locator
The problem is keeping a reference to the service.
Right, actually I skipped the transient keyword I use in my code:
class MyPage {
...
transient MyDAO dao= Locator.find(myDAO, MyDAO.class);
...
}
transient prevents the field from being
what happens after your page is serialized and deserialized, then dao
is null...
The dao field is supposed to be initialized again in the class constructor.
Igor Vaynberg wrote:
what happens after your page is serialized and deserialized, then dao is null...
-igor
On Sun, Aug 31, 2008 at
class constructor is not called after deserialization...
-igor
On Sun, Aug 31, 2008 at 12:31 PM, Sasha Ovsankin
[EMAIL PROTECTED] wrote:
what happens after your page is serialized and deserialized, then dao is
null...
The dao field is supposed to be initialized again in the class
If you mark that DAO as transient, what will happen after deserialising your
page? Will you implement your own serialisation strategy to go with your
home-made dependency injection mechanism?
Are you just trying to avoid using Spring or do you just not like
@SpringBean and the underlying Wicket
This should work find if you version your pages.
Can you make an jira issue with a sample?
On 8/29/08, Ritesh Trivedi [EMAIL PROTECTED] wrote:
Hi,
I have tried opening 2 IE 7 tabs (in the same brower window obviously),
loading the same bookmarkable url in both the tabs. I then did some
Was it bookmarkable URL or hybrid?
-Matej
On Sun, Aug 31, 2008 at 11:05 PM, Johan Compagner [EMAIL PROTECTED] wrote:
This should work find if you version your pages.
Can you make an jira issue with a sample?
On 8/29/08, Ritesh Trivedi [EMAIL PROTECTED] wrote:
Hi,
I have tried opening 2
By versioning you mean assigning serial version id? if yes - I have declared
serialVersionUID for all the classes that are serializeable. I do not update
the version # when I change the page - not sure if that is what you mean by
versioning my pages.
This errors occurred for the same session (IE
Actually, I was doing setResponsePage(new BookmarkablePage(new
Pagepamaeters()) on the form submission. I realized later I shouldnt, since
this makes the URL to have ?wicket:interface.. Shouldnt mounted bookmarkable
pages - even though they are created using constructor have the mounted url
To implement resolve() for requestcycleprocessor, unfortunately I cannot get
list of mounted pages to resolve them to respective requesttargets since
IRequestTargetMountsInfo is optional and CryptedUrlWebRequestCodingStrategy
doesnt implement it.
Is there a way to get mount list which works no
no. only if you mount the pages using HybridUrlCodingStrategy.
-Matej
On Sun, Aug 31, 2008 at 11:37 PM, Ritesh Trivedi
[EMAIL PROTECTED] wrote:
Actually, I was doing setResponsePage(new BookmarkablePage(new
Pagepamaeters()) on the form submission. I realized later I shouldnt, since
this
if you implement your own request cycle processor you dont need to
mount anything, just check the url and resolve it to a request target
of your choice.
-igor
On Sun, Aug 31, 2008 at 2:47 PM, Ritesh Trivedi
[EMAIL PROTECTED] wrote:
To implement resolve() for requestcycleprocessor,
I called my local Barnes Noble today asking if they had a copy of
WIA and the lady said that book is out of print; perhaps you can get
one used through BN.com. The Waldenbooks in our mall said it was on
back order (I'm assuming this is because of my two talks I gave to
the Cincinnati Java Users
class constructor is not called after deserialization...
Oops, I didn't know that :-$
In this case, I will need to use extra indirection; still pretty
straightforward:
class MyPage ... {
...
LocatableMyDAO dao= new LocatableMyDAO(myDAO, MyDAO.class);
...
On Sun, Aug 31, 2008 at 3:44 PM, Sasha Ovsankin
[EMAIL PROTECTED] wrote:
You may end up with a solution that is quite convoluted, hard to
learn/maintain, less elegant and hard to get just right in all cases (for
example testing, serialization/deserialisation etc...).
We will see, but so far
Igor --
Here is what I had:
class Bean1 {...}
class Bean2 {
public Bean2(Bean1 bean1) {}
}
Spring config:
bean name=bean1 class=Bean1/
bean name=bean2 class=Bean2
constructor-arg name=bean1 ref=bean1/
/bean
Anyone know how to solve this?
Thanks.
steviezz wrote:
Wicket 1.3.4.
I have a Page (ThingListing) containing an AjaxFallbackDefaultDataTable -
created like:
private WebMarkupContainer listContainer = new
WebMarkupContainer(listContainer);
private
Sasha,
If you have time to make a minimal http://wicket.apache.org/quickstart.html
quickstart project that demonstrates the issue you might find that you can
save yourself 100 LOC, or at least that someone here will spot what's not
right and then you can make your decision.
Regards - Cemal
Hello,
Yah, Cryastal Report has some concurrent process licensing issue. i just
encountered it in the project where I'm supporting to. It is such pain in
the ass that we don't know what going wrong until we found that freaking CPL
issue. Nwei, im encouraging the PM of next project I'm into to use
Sasha,
Does the trace at the end of this note, in my PS, look familiar?
Now try the following code (notice the addition and use of the IBean2
interface) - things should work once you make the type of the reference in
your component (a Page in this case) the interface. If you can't do that on
Cemal --
Thanks, the trace indeed looks familiar. I will try the suggestion to
make Bean2 an interface. I will also try to distill a test from this
problem.
Will let you know.
Thanks,
-- Sasha
jWeekend wrote:
Sasha,
Does the trace at the end of this note, in my PS, look familiar?
Now try
this isnt really wicket-specific. this is just something you need to
be aware of when dealing with IOC containers. if you wanted to eg have
transactional methods on this bean you would run into the same problem
as spring would try to create a proxy of your class to manage
transactions (unless you
Sasha,
This was fixed recently. Try again with SNAPSHOT.
Regards - Cemal
http://jWeekend.co.uk http://jWeekend.co.uk
Sasha Ovsankin wrote:
Hi again --
I set custom ResourceStreamLocator in my application but when I test
using WicketTester my custom ResourceStreamLocator is not
Igor and all --
I also had this problem when using default constructor and
initialization by properties.
OTOH I have Hibernate DAO classes using transactions, and they work fine.
Good news, the problem went away when I broke the Bean1-Bean2 chain
because of application reasons. If/when the
i want to set my html with last modified date in order to allow client side
caching
how can we do that in wicket?
or we need to manipulate the response header directly?
--
View this message in context:
One way is to override WebPage's setHeaders(WebResponse response) method and
call setHeader on the passed in WebResponse.
Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk
ywtsang wrote:
i want to set my html with last modified date in order to allow client
side caching
Cemal --
Thanks, I found the https://issues.apache.org/jira/browse/WICKET-1737 .
Will try to upgrade.
Thanks,
-- Sasha
jWeekend wrote:
Sasha,
This was fixed recently. Try again with SNAPSHOT.
Regards - Cemal
http://jWeekend.co.uk http://jWeekend.co.uk
Sasha Ovsankin wrote:
Hi again
Amazon says that it ist to be published on Sept. 28. It's the seond time that
the publishing date moved towards the end oft he year.
Stefan
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von James Carman
Gesendet: Montag, 1. September 2008 00:24
I have no idea. Martijn and I (or rather, my parents in Holland)
received a bunch of paper copies, so the actual book *is* out.
Eelco
On Sun, Aug 31, 2008 at 9:56 PM, Stefan Lindner [EMAIL PROTECTED] wrote:
Amazon says that it ist to be published on Sept. 28. It's the seond time that
the
Why hasn't manning shipped the book then...?
--rob
Eelco Hillenius wrote:
I have no idea. Martijn and I (or rather, my parents in Holland)
received a bunch of paper copies, so the actual book *is* out.
Eelco
On Sun, Aug 31, 2008 at 9:56 PM, Stefan Lindner [EMAIL PROTECTED] wrote:
Amazon says
50 matches
Mail list logo