Well ... first off the code was written out the top of my head and as it is
totally trivial there should be no problem there is a typo somewhere.
Answering your second concern: no it shouldn't be built-in in:
- it breaks pages' statelessness
- the web navigation is hardly ever linear so you
On 2010-08-09 05:32, Igor Vaynberg wrote:
final Customer customer = item.getModelObject();
... Link link = new Link(link) {
public void onClick() {
setResponsePage(new CustomerPage(customer));
the line above holds
Hello ...
I have a little problem with my custom form component.
My component has a simple AbstractAutocompleteTextField (taken from wiki)
and a list.
Main point is that you can search some beans (in my example Authors) with
autocomplete field and after bean is selected from autocomplete
you could turn on logging for requests to see whats going on for starters ...
enable request logger:
Application.get().getRequestLoggerSettings().setRequestLoggerEnabled(true);
set num requests
Application.get().getRequestLoggerSettings().setRequestsWindowSize(10);
log4j settings
Hi ..
After playing some more with my component and submit ... I finally got call
to getInput() method.
Now the problem is that my ModelObject is ArrayList and if I call
.toString() method I get the string from the error out !
So can someone explain me what to return in getInput() method so
Hi all,
It's been more than 2 month since I've created WICKET-2889 and submitted
a patch to fix it. As nobody commented yet, I thought I should mention
it here.
The attached patch reduced required heap space for stateful pages by 2/3
(depends on configuration though, 100M for my application
I am against that patch.
You keep pagemaps in memory in the applicaiton context!
Those are session stuff stored in the HttpSession. You shouldnt keep
reference to those stuff.
This can break all kind of things (for example clustering)
If you want something like that, then it is fine if we need to
Hi,
i have the same issue...
did you find a way to make it work?
thanks, regards
Loic
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/testing-MultiFileUploadField-tp1887475p2318631.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Good point, thanks. Any idea on how to get this working with clustering?
The question is how to schedule expiration of a PageMap without keeping
a global (weak) reference to it.
But anyway, your objections are against my custom implementation only,
not the changes to SecondLevelCachePageMap.
Thank you everyone, that works.
But a bit of curiosity, is there a wicket or servlet way? More clearly, how
can a singe file mounted to a single url ? like /bob/static.html.
I finally figured it out !
If someone needs to submit a list of items in a form this is how I did it.
First I created a ListView (check list markup in my previous posts).
I keep ListView list items in private List object, so accessing them is easy
when form is submitted.
I implemented
Hello,
I tried following
https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.htmlto
setup spring security 3.0 and wicket auth roles in my application and
I
ran into a few problems that I was wondering if anyone else had seen. I am
currently getting a
It seems you need to configure Spring Injector in YourApp#init()
On Mon, Aug 9, 2010 at 6:04 PM, Eric Reagan reaga...@gmail.com wrote:
Hello,
I tried following
https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.htmlto
setup spring security 3.0 and wicket auth roles in
it is not recommended to pass models between pages because if the
model is anonymous it can carry with it a reference to the other page
object and your session size will spike because your page also has a
reference to the previous page.
so no, it shouldnt be that.
-igor
On Mon, Aug 9, 2010 at
Hi,
is it possible to have the path to the javascript and css files, rendered as
absolute
Regards,
James
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/link-in-absolute-path-tp2318739p2318739.html
Sent from the Wicket - User mailing list archive at Nabble.com.
separate those out into a separate issue
-igor
On Mon, Aug 9, 2010 at 8:20 AM, Stefan Fussenegger s...@molindo.at wrote:
Good point, thanks. Any idea on how to get this working with clustering? The
question is how to schedule expiration of a PageMap without keeping a global
(weak) reference
no. everything in wicket is rendered in relative urls because absolute
urls cause trouble behind proxies. in 1.4 that code is all over the
place so its not easy to swap out.
in 1.5 the code is centralized so there its possible, but 1.5 is far
from production.
if you really really need this done
Hi Igor,
Thanks for quick reply. I will probably look at 1.5
Regards,
James
Igor Vaynberg-2 wrote:
no. everything in wicket is rendered in relative urls because absolute
urls cause trouble behind proxies. in 1.4 that code is all over the
place so its not easy to swap out.
in 1.5 the
I recognize the same behavior: the panel renders ok but clicking on the
navigator links has no effect.
Can anybody help here?
Nowaker wrote:
I tried to use your BookmarkablePagingNavigator but it doesn't work.
Clicking next, prev or page number has no effect. The panel itself renders
OK.
I have in my Web Application
addComponentInstantiationListener(getSpringInjector());
protected SpringComponentInjector getSpringInjector()
{
return new SpringComponentInjector(this);
}
On Mon, Aug 9, 2010 at 11:16 AM, Martin Grigorov mgrigo...@apache.orgwrote:
I tried this, but still got the WicketNotSerializableException on the same
class - the JPA enhanced
version of my Customer object (which is a very simple bean). However, I tried
making Customer
serializable and now the exception is gone. I was thinking that I could not
make Customer
Hello,
I am using Wicket 1.4.5 and I need to read a property from my application
resource file from a Quartz background thread which is scheduled to execute
periodically. When I use StringResourceModel from the background thread I
get an exception saying There is no application attached to
If you're using Maven, you can do something similar to what I've done
in my advanced wicket application.
http://svn.carmanconsulting.com/public/wicket-advanced/trunk/
On Mon, Aug 9, 2010 at 4:57 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
I am using Wicket 1.4.5 and I need to read a
James, I am not using maven. Any other ideas?
On Mon, Aug 9, 2010 at 4:09 PM, James Carman ja...@carmanconsulting.comwrote:
If you're using Maven, you can do something similar to what I've done
in my advanced wicket application.
http://svn.carmanconsulting.com/public/wicket-advanced/trunk/
Hello,
In my app I need to access a certain property (application.url) from Wicket
page as well as Quartz background threads. Is there a way to make
properties/resources loaded by Spring accessible through Wicket
StringResourceModel?
Thanks,
Alec
On Mon, Aug 9, 2010 at 4:46 PM, Alec Swan
Hi,
I'm using a ModalWindow with Panel content inside containing a form that
should edit a data for existing objects. From the parent page I'm accessing
the Modal window content to send an Java instance object containing values
that will set the initial values in the form, then I call a show()
Try using AppendJavascript on the target of the wicket ajax link/button
that shows the ModalWindow.
-Original Message-
From: zoran [mailto:jeremy...@gmail.com]
Sent: Monday, August 09, 2010 9:55 PM
To: users@wicket.apache.org
Subject: ModalWIndow and update of jQuery component
Hi,
Thanks.
I solved this. The problem was in that I was trying to set this from the
Panel instead from the parent page.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/RE-ModalWIndow-and-update-of-jQuery-component-tp2319279p2319288.html
Sent from the Wicket - User
28 matches
Mail list logo