why do you need to access the listitem? listitem.getmodelobject() will
give you the item in the list the item is pointed to.
-igor
On Fri, Jan 14, 2011 at 11:07 PM, Arjun Dhar dhar...@yahoo.com wrote:
Hi,
when using a ListView, the name uses the following format to Render. loop
Hi,
I'm experiencing, that if you have a stateless form on a page, and the
user session expires, then Wicket reinstantiates the given page with the
forms POST parameters as PageParameters. Is this the correct behaviour?
Am I the only one suffering from this?
If the user is at
I was hoping on the lines, where you do get(component id); Wicket returns
the Component.
So if there was a way to customize the nomenclature of what the names of
the fields are in a loop then it would be easy to refer to components via
name directly.
... I can't do [IN CONCEPT]
Hi,
maybe this is really basic but I cant find it documented.
I force a TextFieldDouble.
When it renders, it introducrs commas (,) like 45000 = 45,000
I wanna get rid of the commas!
P.S Sorry if this really a RTFM question!
thanks
--
View this message in context:
Hello,
could please any of you provide a working example with ClientSideImageMap?
I dont get it to work, there are no error messages, the page leaves blank.
My code example:
Java:
add(getPlzMap(plzmap);
private ClientSideImageMap getPlzMap(String id)
{
ClientSideImageMap csim=new
Wicket uses converters to convert form fields from object - string and back
from string - object.
This is done in a locale-aware fashion (so local users can use their
preferred decimal separator etc).
Have a look at class DoubleConverter in the wicket sources (which is used in
your case,
Check in wicket-examples.jar
: org.apache.wicket.examples.linkomatic.Home.Home()
On Sat, Jan 15, 2011 at 2:03 PM, Christoph Glass
mail.kaffeeser...@googlemail.com wrote:
Hello,
could please any of you provide a working example with ClientSideImageMap?
I dont get it to work, there are no
Hi,
I'd like to be able to observe Wicket's (de)serialization activity and
model attachment/detachment at runtime. Is there some setting (e.g.
specifying a DEBUG or TRACE log level) that would cause Wicket to log
the relevant actions?
I am using Wicket 1.4.15.
Thank you.
Did you make sure that when using c3p0 it actually was enabled and that you
used the validation query? and set this property:
http://stackoverflow.com/questions/1652676/hibernate-c3p0-broken-pipe
property
Thanks. I got it working. I used the InjectorHolder.
Lee
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Can-t-get-a-SortableDataProvider-class-to-accept-DI-of-service-class-tp3218602p3219293.html
Sent from the Users forum mailing list archive at Nabble.com.
I have a page that has two states:
-user logged in (session creation allowed)
-no user logged in (no session creation allowed, otherwise bots will crash the
server by exploding session creation)
When a logged-in user requests the page, the page should be render with
AjaxLinks visible (which
So the getConverter() is deprecated and there is no setter. WHich confused me
a bit.
Overriding the converter seemed like an overkill than setting a custom one
on the Field, so was not sure.
Thanks to your post, I'm clear on what to do.
Hi, I am trying to load a picture from a user folder, so I am storing
the picture's path and pasting it into the src attribute of the
image tag.
As an example, I have the picture named profile.jpg located at
F:\workspace\project\pictures\2, so the corresponding HTML is:
img wicket:id=image
Quoting Henrique Boregio hbore...@gmail.com:
img wicket:id=image src=F:\workspace\project\pictures\2\profile.jpg/
That will never work. You *might* have a chance using the file: URI
scheme like
img wicket:id=image
src=file:///F:/workspace/project/pictures/2/profile.jpg/
but,
Hello,
I'm using SLF4J and was wondering whether pages should declare:
private transient final Logger log = LoggerFactory
.getLogger(SomePage.class);
as members. I guess that accessing a page that was saved and then re-loaded
would result in breaking logging, as the variable
try static
On Sat, Jan 15, 2011 at 3:59 PM, Alexandros Karypidis akary...@yahoo.grwrote:
Hello,
I'm using SLF4J and was wondering whether pages should declare:
private transient final Logger log = LoggerFactory
.getLogger(SomePage.class);
as members. I guess that accessing
my first gut feeling is that if the form is stateless it should use
the page's url as its action. this way page parameters are preserved
and we can properly parse them out of the query string without mixing
them with form parameters
-igor
2011/1/15 Major Péter majorpe...@sch.bme.hu:
Hi,
I'm
Quoting Alexandros Karypidis akary...@yahoo.gr:
I'm using SLF4J and was wondering whether pages should declare:
private transient final Logger log = LoggerFactory
.getLogger(SomePage.class);
as members. I guess that accessing a page that was saved and then re-loaded
would
On Sat, Jan 15, 2011 at 8:59 AM, Alexandros Karypidis akary...@yahoo.grwrote:
Hi,
I'd like to be able to observe Wicket's (de)serialization activity and
model attachment/detachment at runtime. Is there some setting (e.g.
specifying a DEBUG or TRACE log level) that would cause Wicket to log
On Sat, Jan 15, 2011 at 6:36 AM, Arjun Dhar dhar...@yahoo.com wrote:
I was hoping on the lines, where you do get(component id); Wicket
returns
the Component.
So if there was a way to customize the nomenclature of what the names of
the fields are in a loop then it would be easy to refer to
On Sat, Jan 15, 2011 at 9:34 PM, Jeremy Thomerson jer...@wickettraining.com
wrote:
On Sat, Jan 15, 2011 at 6:36 AM, Arjun Dhar dhar...@yahoo.com wrote:
I was hoping on the lines, where you do get(component id); Wicket
returns
the Component.
So if there was a way to customize the
Your bet was right, it was onSubmit()! I understand better now.
On a funny note; I can imagine Igor exasperated ...This guys on a
different tangent... :)
Don't worry - it's probably the most common mistake Wicket newbs make!
It's
definitely the thing I stress understanding the most in my
22 matches
Mail list logo