I have briefly looked at ur codes. Have u checked if your code has not
executed the refresh / reload routine? Some methods are not executed in
AJAX. Sorry I can't tell u what methods offhand. If you placed your code in
those methods then ur new items will not be loaded but it will when u do a
I really like the idea behind GWT. And striving for a statically typed
'true' OO programming model is what GWT and Wicket have in common.
I haven't build anything with GWT, so my opinions in this respect are
what I infer from how I think GWT works. I expect GWT to scale more
easily if you plan
Still sounds like you're jumping through hoops to force this HTML caching to
fit - possibly opening up security vulnerabilities by exposing a user's role
in the URL - which should only be in the session. I maintain that you'd be
better off caching the data - that's the expensive part anyway.
But
Hi,
how about doing this with some kind of precompilation step? You could
manipulate the code with maven or ant befor packing the war having an
task combining all js and css in one.
Just an idea...
Cheers
Bjoern Tietjens
Am 10.04.2009 um 05:31 schrieb Brill Pappin br...@pappin.ca:
I think that this response by Igor to another thread was supposed to be on
this one. Either way, it fits this one.
it is much simpler and more efficient to set proper caching headers.
concatenating resources often does not work because different
components on different pages contribute
The problem with merging css is that the backgrounds will not work anymore
(in case the images are referenced relatively). But there is a solution for
this, check web resource optimizer ( http://code.google.com/p/wro4j/ wro4j
). It performs url rewriting. Also, resources can be located anywhere
Did you create a jira issue for this?
On Fri, Apr 10, 2009 at 00:18, Eduardo Nunes esnu...@gmail.com wrote:
Hi guys,
Yesterday I sent a mail to this list about a possible bug with
webpage + panel + form. I made a sample application that reproduce the
bug. Please, run this application mvn
Casper, for the case when you can not enforce your users to have
javascript, it's more worthwhile to compare Wicket to Tapestry5.
I'm evaluating the latter right now.
On Wed, Apr 8, 2009 at 4:11 PM, Casper Bang cas...@jbr.dk wrote:
I was just wondering about the Wicket community's opinion of
It shouldn't be too hard to write one. It would just be a component that
shows an image then. The html would be something like this:
html
body
wicket:panel
img wicket:id=rating/
/wicket:panel
/body
/html
And the java file would be something like this:
public class RatingPanel extends Panel {
Yes; it worked !
Thanks.
10 Nisan 2009 Cuma 13:52 tarihinde Martin Makundi
martin.maku...@koodaripalvelut.com yazdı:
You could use RatingPanel as it does have the feature isEnabled() =
!hasVoted.getObject();
This means that a 'voted' element cannot be clicked.
**
Martin
2009/4/10 Altuğ
Hi Martin,
we have an solution, thanks for your help. Sort like your proposal. But an
command that has to be executed.
This command will force to do the data manipulation before any markup changes.
So markup changes won't be done if data manipulation gives exception. See
example under:
public
Or, you could use jquery rating plugin, take a look here:
http://www.fyneworks.com/jquery/star-rating/
http://www.fyneworks.com/jquery/star-rating/
Alex.
Altuğ B. Altıntaş wrote:
Hi;
How can i just show rating results of my ratings in the page.
I know RatingPanel component but i need
No, not yet
On Fri, Apr 10, 2009 at 4:45 AM, Johan Compagner jcompag...@gmail.com wrote:
Did you create a jira issue for this?
On Fri, Apr 10, 2009 at 00:18, Eduardo Nunes esnu...@gmail.com wrote:
Hi guys,
Yesterday I sent a mail to this list about a possible bug with
webpage + panel +
What's the generated JS? Have you debugged with Firebug, etc, to see what's
happening in the JS? Are you attaching that link to a regular anchor tag in
the HTML? If you're putting it on a span, Wicket will generate an onclick
to make it a link - which may iinterfere with your onclick JS.
--
I've put it on a button, might that be why it doesn't work?
Generated line of source code:
button type=submit wicket:id=delete class=greenButton onclick=return confirm('Are you sure?');img
wicket:id=deleteIcon
I think it should be input type=submit instead of button, or you
should add form submit javascript code into the onclick handler..
Linda van der Pal wrote:
I've put it on a button, might that be why it doesn't work?
Generated line of source code:
button type=submit wicket:id=delete
Thanks to you both, now at least I know what to experiment with.
Regards,
Linda
Serkan Camurcuoglu wrote:
I think it should be input type=submit instead of button, or you
should add form submit javascript code into the onclick handler..
Linda van der Pal wrote:
I've put it on a button,
please do else it will be lost here on the mailing list
On Fri, Apr 10, 2009 at 15:16, Eduardo Nunes esnu...@gmail.com wrote:
No, not yet
On Fri, Apr 10, 2009 at 4:45 AM, Johan Compagner jcompag...@gmail.com
wrote:
Did you create a jira issue for this?
On Fri, Apr 10, 2009 at 00:18,
Hello Wicketers, I am in the throes of a decision to buy the Wicket in Action
book. There are a couple of other books but the little time I have lurked on
this ML I have noticed the Wicket-in-Action authors are fielding some of the
issues on this list. The reason I need to hit Wicket as hard as
I am using open view session filter , i was assuming that a
session gets created whenever a request is made and closed when
response is rendered , to check that i added log statements to see
when session gets created and closed, but surprisinging its gets
called several times , i have this
David,
Wicket in Action describe how to integrate with Spring and Hibernate.
Databinder.net is LGPL, you can choose and copy code you like. Updating
selected code to recent wicket version should be fairly easy.
Regards,
Erik.
David Brown schreef:
Hello Wicketers, I am in the throes of
We are evaluating wicket to rewrite our consumer UI.
There is one requirement in which I would like to get advice on.
We have a requirement in which the wildcard url gets dispatched to a controller
that renders a page. The url pattern is in the form of
/company/**-details.html.
We have a
You probably shouldn't base your evaluation of a book on how good any
specific topic is explained there, unless this specific topic is one
and the only thing you are interested in. You will most probably still
have to spend some time researching whatever you're insterested in on
the web. Still,
I am not sure but maybe one simple way is to
mountBookmarkablePage(/company, CompanyHandler.class);
and then perform uour stuff in CompanyHandler, look at the request url etc.
**
Martin
2009/4/10 DV huc...@yahoo.com:
We are evaluating wicket to rewrite our consumer UI.
There is one
that parameter is only added when wicket thinks you opened a new
browser window or tab. it has nothing to do with tabbed panel. have
you done that? this code is based on window.name attribute so if you
have some js that changes the value it may confuse wicket.
-igor
On Fri, Apr 10, 2009 at 8:38
You have to mount your page via MixedParamUrlCodingStrategy:
mount(new MixedParamUrlCodingStrategy(/company, CompanyPage.class, new
String[] {companyName});
and in CompanyPage(PageParameters parameters) constructor do something like
this:
String nameInUrl = parameters.getString();
String
Thanks for the responses. 3 decent responses within an hour or two. I'm
impressed. The reputation about this group is definitely a plus in my
evaluation.
--- On Fri, 4/10/09, David Brown dbr...@sexingtechnologies.com wrote:
From: David Brown dbr...@sexingtechnologies.com
Subject: Re: URL
Are you trying to handle state on client side? While that is possible,
it is not the purpose of Wicket. Would you consider managing he state
on server side?
**
Martin
2009/4/10 Craig Tataryn crai...@tataryn.net:
I have a component I'm designing where it displays a list of items to the
user, so
On 10-Apr-09, at 12:58 PM, Martin Makundi wrote:
Are you trying to handle state on client side? While that is possible,
it is not the purpose of Wicket. Would you consider managing he state
on server side?
It's an existing javascript widget I wrote so I was looking for a
quick port to
Your filter-mapping for the OSIV filter has to come before the one for wicket.
On Fri, Apr 10, 2009 at 10:37 AM, tubin gen fachh...@gmail.com wrote:
I am using open view session filter , i was assuming that a
session gets created whenever a request is made and closed when
response is
On 10-Apr-09, at 1:44 PM, James Carman wrote:
Your filter-mapping for the OSIV filter has to come before the one
for wicket.
On Fri, Apr 10, 2009 at 10:37 AM, tubin gen fachh...@gmail.com
wrote:
I am using open view session filter , i was assuming that a
session gets created whenever
I need image path in my java script , I want collapsable behavior
for my component , to which i add either plus or minus , when user
click on the imaghe my java script get the image with component and
checks the src to find if it is plus or minus , and finally changes
the image to the
Hi,
I was just wondering how you guys implement double posting (double form
Submission) measures for wicket.
I was able to implement client side protection and was wondering if there
any way
to do it via server side also
Is there one like struts token approach that I can use?
What is the best
Wicket uses redirect by default to avoid double submission..
**
Martin
2009/4/10 Carlo Camerino carlo.camer...@gmail.com:
Hi,
I was just wondering how you guys implement double posting (double form
Submission) measures for wicket.
I was able to implement client side protection and was
So if it's possible for me to (easily) map those two sets of hidden inputs
to my model upon form submit I'd really like to know how.
What specifically is the difficult part?
**
Martin
-
To unsubscribe, e-mail:
Does it work even if i use IndicatingAjaxButton and not the SubmitLink?
On Sat, Apr 11, 2009 at 3:10 AM, Martin Makundi
martin.maku...@koodaripalvelut.com wrote:
Wicket uses redirect by default to avoid double submission..
**
Martin
2009/4/10 Carlo Camerino carlo.camer...@gmail.com:
Hi,
Does it work even if i use IndicatingAjaxButton and not the SubmitLink?
The wicket requestCycle redirects by default, you can put a brekpoint at
public final void setRedirect(final boolean redirect)
{
this.redirect = redirect;
}
and you'll see.
Ofcourse
ya i tested it on indicatingajaxbutton.
seems that when you don't enable javascripts, you don't go to the event
handler for
your button.
Instead the page is reloaded again
so if i'm able to catch it on the client side with javascript turned on, it
wouldn't anymore be a problem. hopefully :P
Hello Erik, thanks for the speedy and informative reply. I just acquired the
Tong PDF and I will cruise by BN and pick-up the WIA book. The databinder.net
may be LGPL but I do not see any source-code repo: SVN, HG, etc. so it is too
risky for me to rely strictly on the jars that came with the
the easiest way to deal with images is to always use css, that way
images are always loaded relative to css and you dont have a problem.
instead of an img tag add a div class=plus and have div.plus {
background: url('plus.gif'); width:20px;height:20px; }
other then that you can always build a url
look at textfield.
all you have to do is to write out the input tags with a name you
obtain from formcomponent.getname() - to guarantee uniqueness, then
override convertinput() and pull those values out of the request into
a collection and call setconvertedinput(collection). formcomponent
will
google databinder.net svn
which will lead you to the faq page http://databinder.net/site/show/faq
which will lead you to git://databinder.net/git/databinder
-igor
On Fri, Apr 10, 2009 at 12:31 PM, David Brown
dbr...@sexingtechnologies.com wrote:
Hello Erik, thanks for the speedy and
Hello Igor, thanks again for the reply. I can't see the git forest for all the
svn,hg,cvs trees. I will git-up-to-speed with git (no pun intended) and fetch
the sofware. Again, thanks very much as this changes the complexion of the
direction I will be taking to development the web app for my
You could likely do that fairly easily, but how do you know which ones
are need by which page?
For instance page A may not need all the CSS that page B does.
- Brill Pappin
On 10-Apr-09, at 2:49 AM, Bjoern Tietjens wrote:
Hi,
how about doing this with some kind of precompilation step?
Yah, he's right about the caching... so maybe not work it... however
the solution someone posted was a ... hmm... Just in Time Resource
kind of idea.
which would still optimize for whatever page you were on (instead of
bundling it all up into one giant file).
- Brill Pappin
On
Ahh... forgot about that...
It will only work for CSS files that are in the same directory if you
want to find other resources like images.
Can it be done without doubt but its starting o get more complex than
is likely worth the trouble since as Igor pointed out, the browser
caches them
my point is that the just in time thing will not work
suppose
on page A you use jquery and ext
on page B you use jquery and yui
using this just-in-time composition you will get two resources:
jquery+ext and jquery+yui - so you are trading 3 hits for two hits,
but transferring jquery twice.
Thanks Igor! Works fine!
-Ursprüngliche Nachricht-
Von: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Gesendet: Donnerstag, 9. April 2009 18:09
An: users@wicket.apache.org
Betreff: Re: Montable PDF creating page
why would you want a mounted page to create pdfs? servlets are so much
It is working now. I am debugging in Eclipse.
Thanks a lot
-Original Message-
From: jcgarciam [mailto:jcgarc...@gmail.com]
Sent: Thursday, April 09, 2009 6:06 PM
To: users@wicket.apache.org
Subject: Re: debugging a Wicket application running under Jetty-6.1 in
Eclipse
I'll suggest to
On 10-Apr-09, at 3:10 PM, Igor Vaynberg wrote:
look at textfield.
all you have to do is to write out the input tags with a name you
obtain from formcomponent.getname() - to guarantee uniqueness, then
override convertinput() and pull those values out of the request into
a collection and call
no, all you have to do is override convertinput and inside call
setconvertedinput(yourcollection);
the default implementation of updatemodel() already does
getmodel().setobject(getconvertedinput());
-igor
On Fri, Apr 10, 2009 at 3:29 PM, Craig Tataryn crai...@tataryn.net wrote:
On 10-Apr-09,
51 matches
Mail list logo