Hi,
Few years ago my company needed to customize InMethod Grid to look
like our application and our web designer provided
a custom theme for that. It was quite easy.
Twitter bootstrap requires from you to add some CSS classes in the
produced HTML so you may need to add AttributeModifier here and
On Sun, Mar 18, 2012 at 4:47 AM, Dan Retzlaff dretzl...@gmail.com wrote:
Paolo,
If you add stateful components or behaviors to your page, Wicket introduces
the page version into the URL so that subsequent requests can be routed to
the correct component and behavior instances. To get rid of
Create a class NoVersionMount:
/**
* Provides a mount strategy that drops the version number from
* stateful page urls.
*/
public class NoVersionMount extends MountedMapper {
public NoVersionMount(String path, Class? extends
IRequestablePage pageClass) {
super(path,
Hey!
It seems that when wicket is trying to serialize the persistent objects
(probably to session) the lazy loading kicks in and it retrieves the whole
graph.
Not sure if wicket is using the default java serialization or a special
one, but is there anybody else who is/were experiencing the same?
Hi,
Thank you for ur reply. I have added the form by writing
*add(registerForm);* in the* constructor*. But I have just resolved by
problem by replacing *wicket:id* in html page with *wickeT:id*
--
View this message in context:
Use a LoadableDetachableModel. You shouldn't be serializing
persistent objects (unless of course you're in the middle of editing
them or something).
On Sun, Mar 18, 2012 at 8:36 AM, Bálint Kriván bal...@krivan.hu wrote:
Hey!
It seems that when wicket is trying to serialize the persistent
I don't want to serialize them but wicket does (I have a list of objects
which I pass to a ListView).
IIRC, If I use LDM I can make wicket to serialize only an ID and when it is
readed back I can reach the backend to get the correct object for that ID.
If I would switch to this probably it would
Try with an ldm I'd say.
On Mar 18, 2012 9:04 AM, Bálint Kriván bal...@krivan.hu wrote:
I don't want to serialize them but wicket does (I have a list of objects
which I pass to a ListView).
IIRC, If I use LDM I can make wicket to serialize only an ID and when it is
readed back I can reach the
I am doing the conversion from 1.4 to 1.5.5 and at the same time trying
to start using LocaleFirstMapper and CustomHomeMapper from wicket
examples. Everything works nicely except, I have a statefull home page
and seems CustomHomeMapper does not handle this case. Page renders fine,
but Ajax
Good evening,
I'm currently in the process of migrating my app from Wicket 1.4 to Wicket
1.5. I've read the migration guide and everything seems to go fine, except
for session management.
Here's my code:
public class MySession extends WebSession
{
public static MySession get()
{
On Sun, Mar 18, 2012 at 5:08 PM, Pierre Goupil goupilpie...@gmail.comwrote:
Good evening,
I'm currently in the process of migrating my app from Wicket 1.4 to Wicket
1.5. I've read the migration guide and everything seems to go fine, except
for session management.
Here's my code:
public
Yes, absolutely:
public Session newSession(final Request request, final Response
response)
{
return new MySession(request);
}
On Sun, Mar 18, 2012 at 10:32 PM, Jeremy Thomerson
jer...@wickettraining.com wrote:
On Sun, Mar 18, 2012 at 5:08 PM, Pierre Goupil
Put a breakpoint in the WebSession constructor and see where it's getting
called.
Or, perhaps you won't see anything there if this is happening because you
are in a serialized WebSession. You can test that by clearing all cookies,
etc, and starting a new session.
--
Jeremy Thomerson
Actually, this error occurs in my unit tests. I can't launch the app at
this very moment, because some more things need to be managed during the
migration. But this simple test should work as it all compiles.
As expected, the constructor from WebSession is called by
Hello I am new in wicket , i have number in textfield in format -x(five
digits) but if i input number like 22 , 222 it can by convert with padding
zero like 00022,00222 how can do it?thank you very much
--
View this message in context:
Perhaps a classloader issue? Check whether you have two Wicket versions
in your project.
Sven
On 03/18/2012 10:56 PM, Pierre Goupil wrote:
Actually, this error occurs in my unit tests. I can't launch the app at
this very moment, because some more things need to be managed during the
Oh no.
What I need is to be able to support something like the following, but for
TEMPLATES, 'cause I want to localize them:
public void renderHead(IHeaderResponse response) {
response.renderJavascriptReference(new ResourceReference(
MyPage.class, my.js, getLocale(),
I've been thinking about the new 1.5 page ID/versioning feature (which
we disabled as soon as we discovered it) and wondering if there is
actually a real world scenario for stateful pages that actually requires
this functionality.
I understand the purpose is so that the browser's 'Back' function
I'm thinking of making the inmethod datagrid look
something like this:
http://datatables.net/media/blog/bootstrap/
Ooooh! Yea please, can I have one of them ;)
That Twitter Bootstrap table looks very Web 2012: nice clear,
uncluttered, easy to read.
Alle lunedì 19 marzo 2012, Chris Colman ha scritto:
I've been thinking about the new 1.5 page ID/versioning feature (which
we disabled as soon as we discovered it) and wondering if there is
actually a real world scenario for stateful pages that actually requires
this functionality.
I
Hi,
Now I am using:
html -
input type=text wicket:id=ContactPerson1
input type=submit wicket:id=submit value=Save
Java -
public class MerchantEditPanel extends Panel {
private String ContactPerson1 = some text;
public MerchantEditPanel{
TextFieldString ContactPerson1 = new
Yeah I threw that out there in case it also applied to templates. I
don't know anything about them in Wicket...
On 18/03/2012 8:19 PM, infiniter wrote:
Oh no.
What I need is to be able to support something like the following, but for
TEMPLATES, 'cause I want to localize them:
public void
-Original Message-
From: Paolo [mailto:irresistible...@gmail.com]
Thoughts?
I support you!
I implemented class NoVersionMount thanks to pointbreak in my
MainApplication.
And It will be my template for future app.
But to do it, I needed to understood the problem, check on google, read
a
On Sun, Mar 18, 2012 at 5:27 PM, Chris Colman
chr...@stepaheadsoftware.com wrote:
I've been thinking about the new 1.5 page ID/versioning feature (which
we disabled as soon as we discovered it) and wondering if there is
actually a real world scenario for stateful pages that actually requires
Hi,
I have image resources which fetch the proper thumbnail picture stored
in a DB based on the image's file name. I used the file name instead of
parameters to make sure client-side caching would work. By chance, I
just discovered that the images are always reloaded on ajax requests.
This
Check the value of the ContactPerson1 field in your onSubmit() method. It
should contain what gets submitted. The merchant object is unrelated to
your text field.
On Mar 18, 2012 9:38 PM, xiaowang jy00807...@gmail.com wrote:
Hi,
Now I am using:
html -
input type=text
Hello,
I think the problem is just that you're calling setValues on your
genericModelObject, which is set as the compoundpropertymodel for your
form, but you're not adding the form back to the ajax response - with the
AjaxRequestTarget, you're only adding the component dropDownId to get
we have a noncachingimage subclass... :)
-igor
On Sun, Mar 18, 2012 at 9:33 PM, Bertrand Guay-Paquet
ber...@step.polymtl.ca wrote:
Hi,
I have image resources which fetch the proper thumbnail picture stored in a
DB based on the image's file name. I used the file name instead of
parameters to
28 matches
Mail list logo