Hi,
At http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/
you can see how to mount IResource (thru ResourceReference).
Your IResource (even better extend AbstractResource) impl shoud do
something like:
MultipartServletWebRequest multipartServletWebRequest = new
If anyone cares, I found a solution...
I'm guessing the previous solution isn't working because the statement is
probably output before the page is actually rendered.
Therefore i did the following:
tabs.add(new AbstractBehavior() {
@Override
public void renderHead(IHeaderResponse response) {
On Tue, Jan 17, 2012 at 9:15 AM, Marco Springer marcosprin...@gmail.com wrote:
If anyone cares, I found a solution...
I'm guessing the previous solution isn't working because the statement is
probably output before the page is actually rendered.
Therefore i did the following:
tabs.add(new
Ah ofcourse! Tnx.
On 17 January 2012 09:19, Martin Grigorov mgrigo...@apache.org wrote:
On Tue, Jan 17, 2012 at 9:15 AM, Marco Springer marcosprin...@gmail.com
wrote:
If anyone cares, I found a solution...
I'm guessing the previous solution isn't working because the statement is
Maybe I am getting pedantic as I was thinking in terms of speed of
operation for a server that's getting hammered with thousands of hits
per hour.
It's quicker to test the first few chars of a URL string for a match
with 'startsWith' than it is to iterate through to almost the end of
each URL
Yes I (and perhaps we) care. Unfortunately Google has decided that the WiQuery
google group should die, leaving us with no mailinglist... Fortunately most of
the WiQuery committers are also on this mailinglist.
Any suggestions you have will be taken into account during our ever lasting
upgrade
Martin Grigorov-4 wrote
Yes. Just add both to the target when the data is available
Well, I have now managed to get both the textarea updated while my
background thread is running, and the dropdownchoice updated when the thread
is finished. For that I use an AbstractAjaxTimerBehavior that I
Your suggestion:
if (((IModelWafer) getDefaultModel()).getObject().getId() == 0) {
ArrayItemOptionsIntegerItemOptions options = new
ArrayItemOptionsIntegerItemOptions();
for (int i = 1; i 6; i++) {
options.add(new IntegerItemOptions(i));
}
tabs.setDisabled(options);
}
My code sauce:
Wicket rendered this page:
http://www.myurl.com.au/content/newArticle/o/76429/ar/486
It is mounted at /content/newArticle using a
UrlPathPageParametersEncoder
And /o/76429/ar/486 are named paramters as per 1.4 style
Wicket generates the following a tag when it rendered the page:
a
Are you still on 1.5-SNAPSHOT ?
This have been fixed with WICKET-4290 few days ago
On Tue, Jan 17, 2012 at 3:35 PM, Chris Colman
chr...@stepaheadsoftware.com wrote:
Wicket rendered this page:
http://www.myurl.com.au/content/newArticle/o/76429/ar/486
It is mounted at /content/newArticle using
On Tue, Jan 17, 2012 at 3:19 PM, humcasma humca...@gmail.com wrote:
Martin Grigorov-4 wrote
Yes. Just add both to the target when the data is available
Well, I have now managed to get both the textarea updated while my
background thread is running, and the dropdownchoice updated when the
Martin Grigorov-4 wrote
If I understand you correctly then all you need is just
timerBehavior.stop(). You don't need the restart functionality.
You can also remove the behavior from the component and add new
behavior instance later if you need it.
Btw WICKET-1525 is implemented in Wicket
Pastebin you code.
On Tue, Jan 17, 2012 at 4:44 PM, humcasma humca...@gmail.com wrote:
Martin Grigorov-4 wrote
If I understand you correctly then all you need is just
timerBehavior.stop(). You don't need the restart functionality.
You can also remove the behavior from the component and add
Yes, on the 1.5-SNAPSHOT - pulling updates every few hours =]
In our latest version of the app the problem is indeed fixed - what I
think I'm seeing now is the result of google requesting the bad links it
cached when the problem was present. If I make requests to those links
give a 301 redirect
On Tue, Jan 17, 2012 at 9:50 PM, datazuul ralf.eichin...@pixotec.de wrote:
I set style of session like this in my WebApplication:
public Session newSession(final Request request, final Response response) {
return new WicketWebSession(request).setStyle(style1);
Can you try without
you are somehow right... ;-(
When I remove setStyle and copy HomePage_style1.html to HomePage.html the
css link is rendered wrong, too.
Under embedded Jetty I did work, but not under Tomcat (it is the standard
apache-tomcat 6.0.29).
I am totally confused...
I did several Wicket applications
This was also no doubt caused by a naughty build script here which
pulled in old versions of the wicket jars!
-Original Message-
From: Chris Colman [mailto:chr...@stepaheadsoftware.com]
Sent: Wednesday, 18 January 2012 6:32 AM
To: users@wicket.apache.org
Subject: RE: JavaScript links -
I figured out a solution. Here is how the get the eppn I needed in Wicket:
final HttpServletRequest request
=(HttpServletRequest)getRequestCycle().getRequest().getContainerRequest();
String eppn = request.getAttribute(eppn) != null ?
request.getAttribute(eppn).toString() : not set;
The
Using 1.5-SNAPSHOT and I just noticed these messages in the log ever
since switching to 1.5. I checked the log history and these types of
errors never appeared in the 1.4 based app:
2012/01/18 10:54:51.840 WARN - ResourceReferenceRegistry - Asked to
auto-create a ResourceReference, but
On Tue, Jan 17, 2012 at 4:01 PM, Steve Fatula st...@neobits.com wrote:
I have taken over management of a site using wicket, which I was woefully
unfamiliar with. Have been able to do some screens, modify them, add stuff,
etc. without much trouble. However, the overflow flow I am not familiar
On Sun, Jan 15, 2012 at 12:36:48PM +0200, Martin Grigorov wrote:
See https://github.com/jwcarman/Wicketopia
Maybe I missed something, but I wasn't able to do a
mvn jetty:run
or did the war package run after generating a war file.
brian
--
Brian Lavender
http://www.brie.com/brian/
There
It looks like you are missing the apache commons logging jar based on the stack
trace. I believe it is a dependency for spring You may also need sflj and/or
log4j.
Sent from my iPhone
On Jan 18, 2012, at 1:08 AM, Brian Lavender br...@brie.com wrote:
Can someone tell me what I am missing
Hi
I am currently developing an application using Wicket + Spring + Hibernate.
So far everything is smooth and I use a lot of Ajax which works perfectly
fine. Now I need to provide options for data entry via mobile devices like
Andriod (Samsing Tab) + iOS (iPad). My initial plan was to develop
23 matches
Mail list logo