Here's some stuff that might be relevant if you want to use a ListView
inside a form:
http://wicketinaction.com/2008/10/building-a-listeditor-form-component/
A quote from the page A common question on Wicket mailing lists is
“Why doesn’t my ListView work as expected in a Form?”. There can be
many
Could someone please explain this a little bit more: If you want to use form
in modal window component make sure that you put the modal window itself in
another form (nesting forms is legal in Wicket)
Does it mean HTML
formdiv wicket:id=modalWindow//form
and Java
ModalWindow
Hi all,
I've created a component which needs to be initialized by JavaScript
in run-time.
To achieve it, I use script markup associated with Label which supplies
required JS code.
Now I need to update visibility of the component using Ajax.
But after update this script (which is a part of Ajax
Hi,all:
I design a page with a tree for page navigation. But I can not find more
information from Internet to learn how to use the Tree component.
I can display the tree as
menu1
|-sub_menu1
|-sub_menu2
menu2
|-sub_menu3
|-sub_menu4
and I remove root node, make all tree expand
I tried this:
item.add(new AjaxFallbackButton(imRemove, PersonForm.this) {
@Override
public void onSubmit(AjaxRequestTarget target,
Form? form) {
person.getIMAccounts().remove(acc);
removeAll();
sorry for my poor english.
windows xp (32) + tomcat 6.x + Java 6 + wicket 1.3.7, tomcat memory allocate
1G (computer's total memory is 3G),but tomcat frequently break because of
out of memory error when online user is about 100 .
now, the list component including ListView,DataView, GridView use
Monitor Wicket page request using JAMon
http://blog.xebia.com/2008/02/02/monitor-wicket-page-request-using-jamon/
**
Martin
2009/8/14 新希望软件 -- 俞宏伟 nhsoft@gmail.com:
sorry for my poor english.
windows xp (32) + tomcat 6.x + Java 6 + wicket 1.3.7, tomcat memory allocate
1G (computer's
About the error I mentioned the exception it throws is:
Caused by: org.hibernate.LazyInitializationException: failed to lazily
initialize a collection of role:
com.level2crm.hibernate.generated.User.contactBasicDetails, no session
or session was closed
at
well,
markup inheritance lets you create pages (or panels for that mater) with the
same layout.
Suppose you want to have two pages that both have (the same) header and a
footer.
Markup inheritance is a way of doing that (there are other options as well).
So what you do is, create a Base page.
In
Have you extended the Header page in the index page?
class HeaderPage extends Webpage{
}
class IndexPage extends HeaderPage{
}
--
View this message in context:
http://www.nabble.com/Beginner-question-about-wicket%3Aextend-tp24968417p24968623.html
Sent from the Wicket - User mailing list
Okay then. Thanks Jeremy.So now I know Wicket didn't have this feature.
Regards,
uudashr
On Fri, Aug 14, 2009 at 10:23 AM, Jeremy Thomerson
jer...@wickettraining.com wrote:
It'd be easy to create this as an addon project. Wicketstuff?
--
Jeremy Thomerson
http://www.wickettraining.com
Thanks for your quick reply!
I now got it! I thought it was the other way round! foolish me! :-)
Really appreciate!
Oliver
Eyal Golan wrote:
well,
markup inheritance lets you create pages (or panels for that mater) with the
same layout.
Suppose you want to have two pages that both have (the
Hi,
well, wicket and JSP have not much in common beside the fact that they
both rely on Java...
a simple example for your needs would be this here:
http://wicket.apache.org/examplemarkupinheritance.html
Best,
Korbinian
Oliver-Sven Fritsch schrieb:
Hi everybody!
I'm really new to wicket
Hi,
I've found that introducing a pointcut over my portlet and application
makes Wicket to scream...
It seesm that pointcut is effective but interfere with wicket normal
init. I tried to setup the pointcut over the
pages instead, where the hibernate daos are used but it has no effect.
What
I would suggest using a profiler to analyze memory snapshots for
retained objects. I believe netbeans comes with an adequate profiler,
and otherwise I'd suggest trying out yourkit (which has worked very
well at our company)
Martijn
2009/8/14 新希望软件 -- 俞宏伟 nhsoft@gmail.com:
sorry for my poor
Hi,
Would it be possible to make the datepicker popup whenever a textfield is
selected?
Thereby the textfield will be no editable, but only the datepicker will
modify the textfield value.
Here is an example on the behaviour i am looking for with the wicket
datepicker object:
see: org.apache.wicket.extensions.yui.calendar.DateField
http://static.ddpoker.com/javadoc/wicket-datetime/1.3.3/index.html
copenhag copenhagen wrote:
Hi,
Would it be possible to make the datepicker popup whenever a textfield is
selected?
Thereby the textfield will be no editable, but only
Sorry - misread your question.
Iain Reddick wrote:
see: org.apache.wicket.extensions.yui.calendar.DateField
http://static.ddpoker.com/javadoc/wicket-datetime/1.3.3/index.html
copenhag copenhagen wrote:
Hi,
Would it be possible to make the datepicker popup whenever a
textfield is
selected?
Nice! and nice page too
On Thu, Aug 13, 2009 at 6:36 AM, Russell Simpkins
russellsimpk...@hotmail.com wrote:
It describes how to authenticate with Facebook using Facebook Connect. Once
you have an authenticated user, you can get information about that user and
display Facebook information
Errors like those are caused when the hibernate session is closed too soon.
https://www.hibernate.org/43.html
Russ
Subject: Re: CORRECT portlet+spring+hibernate configuration (Two options,
what's right?)
From: g...@aguilardelgado.com
To: users@wicket.apache.org
Date: Fri, 14 Aug 2009
see iheadercontributor, use that to output the necessary javascript
rather then a label.
-igor
On Fri, Aug 14, 2009 at 12:05 AM, Petr Fejfarpetr.fej...@gmail.com wrote:
Hi all,
I've created a component which needs to be initialized by JavaScript
in run-time.
To achieve it, I use script
are you using LinkTree?
-igor
On Fri, Aug 14, 2009 at 12:15 AM, Haulyn R. Jasonsaharab...@gmail.com wrote:
Hi,all:
I design a page with a tree for page navigation. But I can not find more
information from Internet to learn how to use the Tree component.
I can display the tree as
menu1
see iheadercontributor, use that to output the necessary javascript
rather then a label.
OK. I'll try it.
FYI, JS implementing a component is part of header already,
but initilization call I put into script element just behind related markup
within the body, as recommended by documentation of
I am hoping for some advice on this. Is there a way to obtain the original
target during a *session* *expired* scenario? I know you can register a
Page
class as a handler of this event, but I would like to know which Page the
originating request was destined for.
Thanks!
if removeall() doesnt do what you want then you have to find the
specific listitem that represents your deleted row and remove just
that one.
-igor
2009/8/14 Major Péter majorpe...@sch.bme.hu:
I tried to do this:
ListView obj = (ListView) form.get(rowPanel:ims);
obj.removeAll();
But after
Hi all,
If I have an enum 'SexTypes' in the class Person like this:
public static enum SexTypes {
SEX_UNKNOWN(0),
SEX_MALE(1),
SEX_FEMALE(2),
SEX_NOT_APPLICABLE(9);
/* Values for sex are taken from ISO 5218:1977 Representation of Human Sexes */
private final int
Hello People,
Today, I am proud to announce that I have now uploaded the first
version of the new Scala-Wicket Extensions.
The project aims to be a central point for Scala related extensions to
the Wicket framework.
At the moment, the project consists of an Archetype, Sample
Ok for those following this thread - Wicket-Scala Extensions is out!
Announcement here:
http://www.nabble.com/Announcing:-Scala-Wicket-Extensions-Project-ts24975011.html
Cheers,
Antony Stubbs,
sharca.com
On 14/07/2009, at 11:34 AM, Antony Stubbs wrote:
omgosh -
Great news!
I'll check it out later - I might have stuff to contribute.
Br's,
Francisco
2009/8/14 Antony Stubbs antony.stu...@gmail.com:
Ok for those following this thread - Wicket-Scala Extensions is out!
Announcement here:
I've certainly not done it so.
I think it means that if your form has a modal window in it, form
components in the modal window should be in a form it self so it is
self contained.
2009/8/14 Stefan Lindner lind...@visionet.de:
Could someone please explain this a little bit more: If you want to
Yup so you should either use open session in view or more preferred
AFAIK detachable models.
2009/8/14 Russell Simpkins russellsimpk...@hotmail.com:
Errors like those are caused when the hibernate session is closed too soon.
https://www.hibernate.org/43.html
Russ
Subject: Re: CORRECT
Hi,
I was wondering how to set the contentType when creating a ResourceReference
or PackageResource. Is this possible?
Cheers
Erik
How should I set up my model for the following situation. I have a form
with a ListChoice and a TextField. The TextField needs to access a
property of the object selected of the ListChoice. I have it all working
using a ValueMap, but that seems like overkill to use a ValueMap for one
object. Here
Hi!
Recently the filestore has become huge (I deleted it only two days
ago), is this normal?
8-8-8-8-
12.08.2009 12:53DIR _febef03_11f4c784efe__7ffb
12.08.2009 12:53DIR _febef03_11f4c784efe__7ffc
12.08.2009 12:53DIR
Maybe you had 38000 sessions created and didn't clean them up
properly? (killed server, etc).
-Matej
On Fri, Aug 14, 2009 at 11:09 PM, Martin
Makundimartin.maku...@koodaripalvelut.com wrote:
Hi!
Recently the filestore has become huge (I deleted it only two days
ago), is this normal?
Warren,
... and if you prefer using a CPM for your vendorEditForms:
public class HomePage extends WebPage {
private ListVendor vendors = Arrays.asList(new Vendor(v1),
new
Vendor(v2));
private Vendor vendor = new
Looks good - I have some form-generation wicket-scala material that I'm
trying to get out. Fodels look interesting - I have something similar but
maybe not as general.
On Fri, 14 Aug 2009 18:56:09 +0200, Antony Stubbs wrote:
Ok for those following this thread - Wicket-Scala Extensions is out!
How can I make so many sessions (in development)? JUnit WicketTests?
**
Martin
2009/8/15 Matej Knopp matej.kn...@gmail.com:
Maybe you had 38000 sessions created and didn't clean them up
properly? (killed server, etc).
-Matej
On Fri, Aug 14, 2009 at 11:09 PM, Martin
In your second example the Vendor in the vendorModel becomes the
selected Vendor from the ListChoice and that Vendor name property
becomes the value of the TextField?
-Original Message-
From: jWeekend [mailto:jweekend_for...@cabouge.com]
Sent: Friday, August 14, 2009 3:47 PM
To:
Warren,
Exactly - and in a very Wicket way!
Just drop the code into your IDE and run it - if there are no typos (other
than the type parameter to the TextFields - the compiler can't help you
here!) it just works.
Regards - Cemal
jWeekend
OO Java Technologies, Wicket Training and
Warren,
If you don't mind your wicket:ids becoming rather misleading and arguably
slightly harder to follow (magical) Java, you can even do ...
public class HomePage extends WebPage {
private ListVendor vendors = Arrays.asList(new Vendor(v1),
new Vendor(v2));
private Vendor
No, just use Tree in extension package.
On Fri, Aug 14, 2009 at 11:17 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
are you using LinkTree?
-igor
On Fri, Aug 14, 2009 at 12:15 AM, Haulyn R. Jasonsaharab...@gmail.com
wrote:
Hi,all:
I design a page with a tree for page navigation.
Is your menu (tree) in some parent page class that both the first and the
linked-to page extend? When you go to a new page instance you will get a new
instance of the Tree.
Regards - Cemal
jWeekend
OO Java Technologies, Wicket Training and Development
http://jWeekend.com
Haulyn Jason-2
thanks alot for your reply, but i can not resolve my problem.
Monitor Wicket page request using JAMon,
http://blog.xebia.com/2008/02/02/monitor-wicket-page-request-using-jamon/
it only trace the request time, but i mainly want to know why the
application session occupy so many memory.
try
If the applicationClassName init param is mandatory, then it should be
included with the wicket.Filter declaration in web-fragment.xml. Any
additional, optional init params could be specified with the wicket.Filter
declaration in web.xml.
Jan
igor.vaynberg wrote:
thats the problem, it will
dont think you can force everyone to use a specific class name or
servlet mapping. i just dont think this goes well with what wicket is
about.
this part of the spec may seem good when you are constructing a war
from multiple submodules that you yourself own. in this case each
submodule can
Sweet!
Eelco
On Fri, Aug 14, 2009 at 9:56 AM, Antony Stubbsantony.stu...@gmail.com wrote:
Ok for those following this thread - Wicket-Scala Extensions is out!
Announcement here:
http://www.nabble.com/Announcing:-Scala-Wicket-Extensions-Project-ts24975011.html
Cheers,
Antony Stubbs,
47 matches
Mail list logo