Is anyone doing this:
http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=55519
If so can you share your code? If not I'll build it ;)
John-
+1 Wicket Cookbook
On Tue, Jul 28, 2009 at 6:04 PM, taha siddiqi wrote:
> +1
> "26 Wicket Tricks" or "Wicket Cookbook" or "Wicket Recipes"
>
> (Whenever I am trying something new I always try a cookbook, It later
> on acts as a reference too)
>
> taha
>
>
> On Wed, Jul 29, 2009 at 3:38 AM, Matej
It might also be that it is wickettester related problem, maybe
something goes somehow wrong there. I will try to make a quickstart.
**
Martin
2009/7/29 Vladimir K :
>
> Hmm ... i can imagine the only case - somewhere resolveObject() method is
> called during deserialization.
> But I'm afraid you
I have a workaround and it goes a little something like this:
Wicket.replaceOuterHtml=function(element,
text) {
new $(element.id).fade({ duration: 0.4, afterFinish: function(effect) {
if (Wicket.Browser.isIE()) {
Wicket.replaceOuterHtmlIE(element, text);
} else if (Wicket.Browser.isSafa
+1
"26 Wicket Tricks" or "Wicket Cookbook" or "Wicket Recipes"
(Whenever I am trying something new I always try a cookbook, It later
on acts as a reference too)
taha
On Wed, Jul 29, 2009 at 3:38 AM, Matej Knopp wrote:
> On Tue, Jul 28, 2009 at 11:55 PM, Vladimir K wrote:
>>
>>
>> Matej Knopp-2
Hi,
I am a rookie to Wicket and need help here. The problem may be easy for you
but the detailed introduction is tedious.
In one shortest sentence, the URL shown in the subject should be
http://dliu-pc:8080/WB/brainSideBar?wicket:interface=:1:comments:post::IFormSubmitListener::
instead (i.e., pare
Hi Martijin,
Thats a very good point. I definitely overlooked that risk before. Thank
you for pointing it out!
Thanks,
Jason Wang
Martijn Dashorst wrote:
There's the risk of keeping the retrieved service as a reference
somewhere, e.g. by declaring it final and using it inside an anon
inner
Is there a way to turn off the localization of the choices in a Palette
component? It looks like the AbstractChoice has the ability but the Palette
which uses AbstractOptions does not.
Thanks,
Tim
Hmm ... i can imagine the only case - somewhere resolveObject() method is
called during deserialization.
But I'm afraid your code don't have such a method and the cause is
different.
MartinM wrote:
>
> I do not know exactly what happens, but if I run the debugger I can
> see thet the page seen
hi Juri
I did it the same way as you did and it worked fine. Even more : I
didn't even see lines in http header (???).
However, it doesn't fit my use case : I need to get the link to the
file to embed it in a javascript. Previously I did it this way :
PageParameters parameters = new PageP
On Tue, Jul 28, 2009 at 11:55 PM, Vladimir K wrote:
>
>
> Matej Knopp-2 wrote:
>>
>> Modal Window is an ajax component. Submitting it with regular submit
>> is not supported and it never was.
>>
>
> But I would like to have AjaxFallbackModalWindow that survives page refresh.
> Why not author my own
We developed a RAD framework that builds page design dynamically completely
basing on metadata. So there is no any concrete page that I could extract.
I believe it would be more convinient for you and simpler for me to just
have a look at the concrete page without dynamic layout.
Matej Knopp-2
Matej Knopp-2 wrote:
>
> Modal Window is an ajax component. Submitting it with regular submit
> is not supported and it never was.
>
But I would like to have AjaxFallbackModalWindow that survives page refresh.
Why not author my own if the aims are different? Probably requirements we
have are f
Doesn't really have to be a complete quickstart. Put the pages with
markup in a zip (without any external references to your daos, etc).
That should be enough.
-Matej
On Tue, Jul 28, 2009 at 11:13 PM, Vladimir K wrote:
>
> Ok then. I'm a noob in maven and ... I even don't know how to make a
> qui
Ok then. I'm a noob in maven and ... I even don't know how to make a
quickstart of this problem for you. I have never done Wicket project from
scratch. But I have just found a free "maven by example book" and started to
read. I will be back soon :)
Matej Knopp-2 wrote:
>
> This would be then a
Why just 26 tricks?More please..!
I feel the learning curve for Wicket is kind of tall and more tricks can
definitely help new comers in terms of available practical tools and
understanding masterful use of Wicket by gurus and ... and ...
--- On Tue, 7/28/09, David Chang wrote:
I would buy the book too. When will it be available?
--- On Tue, 7/28/09, Mathias Nilsson wrote:
> From: Mathias Nilsson
> Subject: Re: Twenty Six Wicket Tricks
> To: users@wicket.apache.org
> Date: Tuesday, July 28, 2009, 1:02 PM
>
> +1
>
> I would buy the book.
> --
> View this message i
Thank you...
On Mon, Jul 27, 2009 at 11:34 PM, Juri Prokofiev wrote:
> Maybe this CSS trick will help you:
>
>
>
> .formatPre {
> overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2,
> not needed in Firefox 3 */
> white-space: pre-wrap; /* css-3 */
> white-space: -
I do not know exactly what happens, but if I run the debugger I can
see thet the page seen by the formcomponents' propertymodels is in a
different state than the one actually holding the form components.
I wonder if ajax has something to do with this, because only part of
the page is refreshed via
Both links are created in LinkIconPanel. You can subclass it or
replace it by your own class (it's really a tiny class) and disable
the links there.
-Matej
On Tue, Jul 28, 2009 at 7:40 PM, Seven Corners wrote:
> I have a LinkTree wherein I need to disable the links on certain nodes. It
> was eas
On Tue, Jul 28, 2009 at 12:08 PM, Matej Knopp wrote:
> I would like to have some clarification on this. What is so difficult
> about the Wicket Tree API? (apart from the fact that it uses swing
> TreeModel which seem to be too confusing for some people).
Confusing for some, easy for others (who m
This would be then a bug in nested forms support and not in the modal
window itself. If a form inside modal window is submitted only that
form should be processed. I still don't understand what problem
exactly this fixes.
-Matej
On Tue, Jul 28, 2009 at 10:04 PM, Vladimir K wrote:
>
> The followin
On Tue, Jul 28, 2009 at 9:58 PM, Vladimir K wrote:
>
> Matej,
>
> one of the problems is that when ajax submit happens (by pressing ajax
> submit button that resides in a form that resides in a ModalWindow that is
> put into another form) it contains no data for the components of enclosing
> form b
The following class fixes the problem. It is the evidence of mismatch I'm
saying about.
public class ModalWindowForm extends Form {
public ModalWindowForm(String id) {
super(id);
}
@Override
public Form getRootForm() {
Form form = s
Matej,
one of the problems is that when ajax submit happens (by pressing ajax
submit button that resides in a form that resides in a ModalWindow that is
put into another form) it contains no data for the components of enclosing
form but the process of handling the submit handles the eclosing form
Yes I understand this is a refresh problem.
1. By repainting I am assuming you mean that the right panel should invoke
the setOutputMarkupId. With this parameter set, the repainting is taken care
of by Ajaxified component. Please inform if you have different view.
2. If I have invalid markups,
I agree. Thanks, much appreciated!
On Tue, Jul 28, 2009 at 4:34 AM, Anton
Veretennikov wrote:
> Congratulations! Nice work!
>
> -- Tony
>
> On Tue, Jul 28, 2009 at 12:32 AM, Andrew
> Lombardi wrote:
>> DZone launched a Refcard about Apache Wicket here - http://dzone.it/yml
>>
>> A quick descriptio
On Tue, Jul 28, 2009 at 8:31 PM, Vladimir K wrote:
>
> Jeremy,
>
> from my perspective ModalWindow is a mix of javascript widget that works in
> non-wicket mode and an wicket wrapper that bridges js widget with wicket. It
> is always created at the body level. That's why I said it's a cheat. Thus
>
trying to undertand what is happening in your case. When the page is
serialized the steam contains the whole graph, including the ListView and
it's items and the page default model and the ListView items models. When
the page is deserialized, the whole graph is restored including page, its
model,
Or session store.. anyways, that's not relevant. The important fact is
that the copies are different.
**
Martin
2009/7/28 Martin Makundi :
>> why do you get Page instance 2 on page refresh?
>
> Wicket always deserializes page state from diskstore.. so it is a copy.
>
> **
> Martin
>
>>
>>
>> Mart
> why do you get Page instance 2 on page refresh?
Wicket always deserializes page state from diskstore.. so it is a copy.
**
Martin
>
>
> MartinM wrote:
>>
>>> please describe the context. I don
-
To unsubscribe, e-mail: users-
Martin,
why do you get Page instance 2 on page refresh?
MartinM wrote:
>
>> please describe the context. I don't see how the process of serialization
>> makes the instance of the object obsolete.
>
> 1. Page instantiation. Page instance 1 {manipulating target data 1},
> formComponent instance
well thought out answer. thanks.
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Jul 28, 2009 at 1:31 PM, Vladimir K wrote:
>
> Jeremy,
>
> from my perspective ModalWindow is a mix of javascript widget that works in
> non-wicket mode and an wicket wrapper that bridges js widget with
Jeremy,
from my perspective ModalWindow is a mix of javascript widget that works in
non-wicket mode and an wicket wrapper that bridges js widget with wicket. It
is always created at the body level. That's why I said it's a cheat. Thus
are problems with form submitting when nested forms are used.
sounds like you are either not repainting the right component, or you
have invalid markup and the browser is puking on replacing the dom.
-igor
On Tue, Jul 28, 2009 at 11:02 AM, rajkaushik wrote:
>
> Yes Igor,
>
> I am using the Ajax. Here is my partial code. Please suggest me the possible
> mis
Yes Igor,
I am using the Ajax. Here is my partial code. Please suggest me the possible
misses - Raj
protected void onNodeLinkClicked(AjaxRequestTarget target, TreeNode node)
...
Panel panelOnClick = new DetailTabbedPanel("detailPanel", defNode);
panelOnClick.setOutputMarkupId(tr
> please describe the context. I don't see how the process of serialization
> makes the instance of the object obsolete.
1. Page instantiation. Page instance 1 {manipulating target data 1},
formComponent instance 1->target data instance 1.
2. Ajax request or similar onto page.
3. Page refresh (des
I have a LinkTree wherein I need to disable the links on certain nodes. It
was easy to disable the contentLink but I haven't been able to figure out
how to disable the iconLink. My links are BookmarkablePageLinks, but
iconLink is not a proper link; rather it appears that it's a element
with an o
Wow Only four months? How many developers?
I'm very impressed :)
Fantastic work
Best regards
-Mensaje original-
De: Oliver Krohne [mailto:okro...@yahoo.de]
Enviado el: martes, 28 de julio de 2009 13:02
Para: users@wicket.apache.org
Asunto: Thanks Wicket-Team!
Hi,
Many thanks
Martin,
please describe the context. I don't see how the process of serialization
makes the instance of the object obsolete.
In my practice I use a detachable model when rendering View page and I use a
static model when rendering an Edit page. In onSubmit method I save the
model object and forwa
Why create your own? Submit a patch to fix what you see is wrong with
the current one. Everyone wins.
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Jul 28, 2009 at 12:20 PM, Vladimir K wrote:
>
> ModalWindow (being a wicket cheat :) ) deserves a sole book of tricks. I'll
> defini
ModalWindow (being a wicket cheat :) ) deserves a sole book of tricks. I'll
definitely author my own modal window unless someone fixes the original one.
-1 on including ModalWindow to the book.
egolan74 wrote:
>
> I can't wait for yet another great Wicket book.
> I will surly buy it.
>
> regar
I don't see much buzz about this topic here, just a request for the trick
for the forthcoming Johnatan Locke book. So it seems for now that just a few
poople are interested in.
I experienced problems in different places with approaches where components
are loosely coupled and they try on their own
Yes, you are right.
Didn't read the question close enough.
--
View this message in context:
http://www.nabble.com/DropDownChoice-with-ID-and-Value-tp24686742p24703752.html
Sent from the Wicket - User mailing list archive at Nabble.com.
+1
I would buy the book.
--
View this message in context:
http://www.nabble.com/Twenty-Six-Wicket-Tricks-tp21214357p24703709.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users
+1
I will buy such trick
Erik van Oosten wrote:
>
> Jonathan Locke wrote:
>> I've got 13 tricks coded up now and
>> ideas for a handful more, but if there are any requests out there, please
>> let me know
>>
> Perhaps something about handling URLs. Like writing your own url coding
Hi!
I am having trouble with listView.setReuseitems(true).
My problem is that
1. on first request the listview creates form components.
2. on second (or third ...) request the listView reuses the form components.
3. however, the propertymodels attached to the formcomponents at 1 are
no longer via
sounds like you are not using loadable detachable models in your listview
-igor
On Mon, Jul 27, 2009 at 11:55 AM, LEWIS, LONNIE wrote:
> Hello,
> I am a newbie to Wicket and am trying to fix an existing page. My problem: we
> have a simple page containing a PagingNavigator and NavigatorLabel. Th
i have no idea. you might want to google it.
-igor
On Tue, Jul 28, 2009 at 1:43 AM, Arthur Leigh
Allen wrote:
> i use my own (graphic) buttons in wicket.
> after getting rid of my own code and just using a modified AjaxFallbackButton
> with overridden getCallbackUrl() method,
> the form was subm
Don't guess, profile it.
2009/7/28 Jason Wang :
> Hi all,
>
> Although I am using spring-wicket to prevent the whole spring being
> serialized, It still brothers me to see the references in the model
> object, for example:
>
> Instead of using this:
>
> public class MyViewObjectProvider extends
also safe to do with salve because it removes the field and rewrites
field reads with lookups.
wicket-spring and salve were created for a reason - to make it easy to
work with services in an environment where objects are often
serialized.
salve doesnt have the memory overhead of wicket's @SpringB
Hello Jeremy, thanks for the reply. Painfully obvious now (doh!). David.
- Original Message -
From: "Jeremy Thomerson"
To: users@wicket.apache.org
Sent: Monday, July 27, 2009 7:52:57 PM GMT -06:00 US/Canada Central
Subject: Re: WicketTester and org.slf4j.LoggerFactory and org.slf4j.Logger
The thing that makes your example awkward (IMHO, of course) is that it
leaves out how the value that the user selects makes its way back into
the app's domain object. The OP said he wants "my model updates with 1,
2, and 3." From that I understand he has some object with an int
property...
class W
Not sure what code to include. The authors used a lot of class inheritance,
so it is difficult to include the whole thing.
HTML
Showing
1 to 25 of 1157
<< < 1 2
3 4 5 6 7 8 9 10 > >>
Email Address
Delete?
Edit
[emailAddress]
Some of the code
Creates the data vie
Good work. Now, if I can only learn wicket as well as you have! :)
On Tue, Jul 28, 2009 at 7:01 AM, Oliver Krohne wrote:
> Hi,
>
> Many thanks to the Wicket-Team for the great Framework and
> of course for the support I have received from the mailinglist.
>
> I started with zero-Wicket knowledge
That's impressive! Nice concept, looks very good... I'll use it :).
Alex
okrohne wrote:
>
> Hi,
>
> Many thanks to the Wicket-Team for the great Framework and
> of course for the support I have received from the mailinglist.
>
> I started with zero-Wicket knowledge and now 4 month later
> w
Erik van Oosten wrote:
>
> This seems like something that warrants a new Jira issue.
>
> Regards,
> Erik.
>
Patch submitted https://issues.apache.org/jira/browse/WICKET-2401
--
View this message in context:
http://www.nabble.com/Ajax-indicator-turning-off-tp24655744p24697620.html
Sen
Gute Arbeit Leute und viel Erfolg mit dem Projekt.
Ich hoffe wir ziehen auch bald nach :)
Gruß
Arthur
Von: Oliver Krohne
An: users@wicket.apache.org
Gesendet: Dienstag, den 28. Juli 2009, 13:01:53 Uhr
Betreff: Thanks Wicket-Team!
Hi,
Many thanks to the Wicke
Yeah.. cool ! You guys got your site goin' on 4real!
**
Martin
2009/7/28 Oliver Krohne :
> Hi,
>
> Many thanks to the Wicket-Team for the great Framework and
> of course for the support I have received from the mailinglist.
>
> I started with zero-Wicket knowledge and now 4 month later
> we have
Hi,
Many thanks to the Wicket-Team for the great Framework and
of course for the support I have received from the mailinglist.
I started with zero-Wicket knowledge and now 4 month later
we have launched a new community website:
http://fytch.com
It is based on Wicket, Spring, OpenJPA, Lucene,
Can you provide us with some code on which model you use and how?
--
View this message in context:
http://www.nabble.com/Problem-with-PagingNavigator-and-NavigatorLabel-tp24694245p24697018.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Hi All,I am interested in using wicket as web service framework. We already
use it to serve a web and mobile
web browser application but now we have a need to open up the API for
other types of client and I think it would be great if I can leverage
a lot of the wicket work already done
like the aut
Hi,
this blog entry provides a solution for your problem:
http://oktech.hu/blog/2009/07/adding-and-removing-rows-in-wicket.html
Regards:
Szabolcs
John Patterson wrote:
>
> Hi, I have a ListView in a table that can have rows dynamically added with
> AJAX. When I add a row and enter a value, then
Thanks Fernando, I was looking for some code like this!
Fernando Wermus-2 wrote:
>
> Hi,
>
> Instead using a servlet you could try the following (you can find the
> whole
> code at wicketstuff pickwick )
>
> This way you will have the session because your are into the
> requestCycle
>
>
i use my own (graphic) buttons in wicket.
after getting rid of my own code and just using a modified AjaxFallbackButton
with overridden getCallbackUrl() method,
the form was submitted but i could see an error in the error console of firefox
(translated by me):
security error: content from
http:
This seems like something that warrants a new Jira issue.
Regards,
Erik.
John Patterson wrote:
>
>
>
> paolo di tommaso wrote:
>>
>> Yep, intercept the ajax call and inc/dec a counter
>>
>> -- paolo
>>
>
> Although I could correct the indicator behaviour in all my own AJAX
> compone
Maarten,
a) In my source tree, it is in webapp/src/main/resources/log4j.properties.
When deployed, it ends up in WEB-INF/classes/log4j.properties
b) yes, log4j-1.2.15.jar
log4j is working fine, I can get a root logger and log to it. The problem
seems that the wicket infrastructure is using slf4j
It works for me.
ResourceLink csvLink = new ResourceLink("csvLink", new
ResourceReference(AnnouncementCsvResource.ID), params);
add(csvLink);
public class AnnouncementCsvResource extends WebResource
{
public static final String ID = "csv";
@Override
public IResourceStream getResourceS
There's the risk of keeping the retrieved service as a reference
somewhere, e.g. by declaring it final and using it inside an anon
inner class, negating any and all gains you've done by using the
static lookup. The @SpringBean annotated references are safe to pass
around (as they are implemented as
Hello,
I am a newbie to Wicket and am trying to fix an existing page. My problem: we
have a simple page containing a PagingNavigator and NavigatorLabel. They both
display the correct data upon initial load. To add a record, we navigate to a
page, enter the data and press "submit". The data is sa
Actually, thinking about it, if you're very tight on memory, it will
save you a reference, particularly when the page gets serialized. So
if you are worrying about efficiency *and* are ok with this code
style, it's an option. :-)
Eelco
On Tue, Jul 28, 2009 at 12:47 AM, Eelco
Hillenius wrote:
> It
It might give you a very slight edge to use a singleton as you (or the
annotation processor in this case) don't have to introspect and work
through a proxy. If you're not bothered by singletons (I, for one
typically are): go for it. However, keep that famous 'premature
optimization is the root of a
Hi Jason,
You could have a look at http://code.google.com/p/salve/
By making use of some byte code instrumentation it will replace your
dependency injections by static lookups, i.e. the best of both worlds. I
wouldn't know about the performance of each approach however.
Regards,
Wilko
Jason W
Thanks for this answer Juri.
I tried it (once again) and it didn't work : the setHeaders method
isn't called...
I use Live HTTP headers to check what goes through :
http://localhost:8080/charts/data/dataId/KBU
GET /charts/data/dataId/KBU HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0
paolo di tommaso wrote:
>
> Yep, intercept the ajax call and inc/dec a counter
>
> -- paolo
>
Although I could correct the indicator behaviour in all my own AJAX
components, it would probably make more sense to incorporate it into wickets
default AJAX behaviour. If people think it makes sen
When I try to request a resource using url http://domain.com/resource.csv
then I get 302 to http://domain.com/resource.csv;jsessionid=joiadfadsfad
and all generated links it csv file with 'jsessionid' parameter.
How to use resource without sessionid?
Thank you
To set headers to a resource you need to extend setHeaders method from
WebResource. Example:
@Override
protected void setHeaders(WebResponse response)
{
super.setHeaders(response);
response.setAttachmentHeader("announcements.csv");
response.setHeader("Cache-Contr
77 matches
Mail list logo