Hi ,
I am preparing online help for my apps.So i want provide a link for every
page one popup will occur and in that popup he can bale to view respective
html/doc file.
but here pbms for me are where should i kept those help files and how do i
refer them using wickets.
I am refering this link
htt
Hi All,
can you please give some code reference / tips on how to do reload of
parent window and/or a panel in parent window , reloaded, from a popup
window?
I have a window iwht user details opened in a popup from parent window and
on submit of data in popup window, I need to relead a panel in p
thanks
how about "skipping" the content rendering?
i.e. how to just make the web page's response to include the headers only?
jWeekend wrote:
>
> One way is to override WebPage's setHeaders(WebResponse response) method
> and call setHeader on the passed in WebResponse.
>
> Regards - Cemal
>
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 say
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 p
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
An:
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 -
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
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:
http://www.nabble.com/how-to-mark-%22wicket-html-response%22-as-%22cacheable%22--tp192485
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
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 g
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 w
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
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
your
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,
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
h
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 MySortab
Igor --
Here is what I had:
class Bean1 {...}
class Bean2 {
public Bean2(Bean1 bean1) {}
}
Spring config:
class MyPanel extends Panel {
...
@SpringBean Bean2 bean2;
.
On Sun, Aug 31, 2008 at 7:00 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> i still like springbean :) also, considering most of the frameworks
> use cglib anyways (spring, hibernate, etc) you dont really win
> anything...
+1. @SpringBean has been no trouble for me.
-
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
Cemal --
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?
By using little extra indirection we can solve this, too -- see my other
email to the list.
> 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 ... {
...
Locatable dao= new Locatable("myDAO", MyDAO.class);
...
dao.get().findSom
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 B&N.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 U
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, unfortuna
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
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 ma
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
format
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
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 tr
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
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 pr
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 co
> 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
what happens after your page is serialized and deserialized, then dao is null...
-igor
On Sun, Aug 31, 2008 at 12:09 PM, Sasha Ovsankin
<[EMAIL PROTECTED]> wrote:
>>> The problem is keeping a reference to the service.
>
> Right, actually I skipped the "transient" keyword I use in my code:
>
>
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 se
> 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 Lo
Did you read http://cwiki.apache.org/WICKET/spring.html and see why
@SpringBean is important?
The problem is keeping a reference to the service. You might be good
enough to understand that, but how good do you trust your co-workers,
and even new members joining your team?
Martijn
On Sun, Aug 31,
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 proper
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:
Dear All --
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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.
> http://d
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.
-
What i find weird is that it is [ so the cheese is an array of
cheese not the cheese class it self. Which i find a bit strange.
Because that string cant ofcourse not be resolved like that
On 8/30/08, wil2008 <[EMAIL PROTECTED]> wrote:
>
> I am new to Wicket (but not new to HTML, Java and Spri
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
http://domain
How do you designate which parameter to replace with? You use %1 etc?
**
Martin
2008/8/31 Ritesh Trivedi <[EMAIL PROTECTED]>:
>
> Also just found this in StringResourceModel javadoc... So I guess you can
> certainly do what I mentioned earlier.
>
> * parameters - The parameters parameter allows
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 wh
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 construct
Also just found this in StringResourceModel javadoc... So I guess you can
certainly do what I mentioned earlier.
* parameters - The parameters parameter allows an array of objects to
be passed for
* substitution on the found string resource (see below) using a standard
* java.text.MessageForma
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 re
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
You probably can do this by enclosing your images (and other resources)
inside
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 add all my
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 and
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??
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
Model("e
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
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
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,
Ti
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 th
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,
http://day-to-day
59 matches
Mail list logo