Hi,
Thanks a lot for all ur responses.
I changed the compiler of eclipse and tomcat to 1.5 and now i am not getting
the unsupportedVersionException. Now i am getting a different exception and
log is given below
WicketMessage: Markup of type 'html' for component 'guru.HelloWorld' not
found.
i'm sorry this one slipped through.
i commited Per's fix.
Edvin, can you try with latest trunk to verify it's fixed?
gerolf
On Jan 31, 2008 8:53 AM, Edvin Syse [EMAIL PROTECTED] wrote:
Advanced Technology(R) skrev:
Check Per solution :
yes..
http://www.google.com/search?hl=daq=scrollable+divbtnG=S%C3%B8glr=
Andy Czerwonka wrote:
Is there a way to do it within a div right on a page?
palun [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
How do I get vertical scrollbar in a popup window with (too) long content?
The reason is rather simple. We have already an in-house developed XUL-like
framework which provides all necessary information needed to construct a gui
form dynamically (Controls, Masks, Security etc).
My first thought is to reuse these xml files to add() controls dynamically
to a wicket form.
Hi-
I'm pretty new to wicket, so sorry if this is a dumb question:
I have a POJO that stores some boolean values in a bit field. Now I'd like to
display the POJO in a form with check boxes for each field.
I'd still like to use a CompoundPropertyModel, so I thought that I'd wrap the
POJO in a
Hi ,
I have the HelloWorld Example working now. Thanks for all your responses as
they are highly appreciated.
The below mentioned exception (MarkupNotFoundException) is removed by
renaming the index.html to HelloWorld.html.
Thanks Regards,
Gurvinder Pal Singh
Gurvinder Pal Singh wrote:
Hi Markus,
you simply have to provide the POJO to the CompoundPropertyModel.
Provide simple PropertyModels related to the compound model for the fields.
You can imagine the whole concept as the path to the value.
Pojo myPojo = new Pojo();
IModel model = new CompoundPropertyModel(myPojo);
IModel
You may be interested in something like the bean editor webcast linked from
here
http://herebebeasties.com/2007-08-17/wicket-bean-editor/
With a bit of customisation you should be able to bend it to suit your needs
for any of your pojos.
Rgds
Ned
Constantin Y wrote:
First of all I want to
ok..i changed the way to code.
My report page is extend to a Common page. The common page got the leftmenu
panel and a wicket child (which is those report page)
So, the common page, i add one modal window component. And this component i
had give the behavior to show it. Example code in parent
Nice work Ned! Actually this approach is very close to what i am trying to
do.
Thanks a lot
Ned Collyer wrote:
You may be interested in something like the bean editor webcast linked
from here
http://herebebeasties.com/2007-08-17/wicket-bean-editor/
With a bit of customisation you
And the label here with compoundmodel..
IModel model = new CompoundPropertyModel(myPojo);
Page.setmodel(model)
Label myPojoProperty = new Label(propertyName);
add(myPojoProperty);
Per Newgro wrote:
Hi Markus,
you simply have to provide the POJO to the CompoundPropertyModel.
Provide
Why insist on a CompoundPropertyModel? My first instinct would be to
create a custom model for the checkboxes (which sets/unsets a single
bit).
Thomas
-Original Message-
From: Markus Strickler [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 31. Januar 2008 13:00
To:
Hi thanks for the replies,
Yes I want to do it per Page so I can monitor the performance per page.
Here is how I implemented it, I am not sure if I always get the name
of the Page name in the implementation of onEndRequest. (Allthough
during tests I always got the name of the Page.)
public
Hi-
thanks for the quick reply. My description probably wasn't clear enough.
My problem is that I have several checkboxes in the interface that all
map to a
single Integer in the POJO. So there is not accessor that accepts a boolean,
which is why I need some way to translate between the POJO
i'm sorry this one slipped through.
i commited Per's fix.
Edvin, can you try with latest trunk to verify it's fixed?
Done. It works good :)
-- Edvin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
no you dont need the threadlocal
WebRequestCycle is already a thread local thats only used for one request
so in your WebRequestCycle you can have a start time. (onBeginRequest)
and then in onEndRequest you do your calculation.
The problem that i see is that that time covers 2 things. 1 the
On Thu, Jan 31, 2008 at 01:18:50PM +0100, Maeder Thomas wrote:
Why insist on a CompoundPropertyModel? My first instinct would be to
create a custom model for the checkboxes (which sets/unsets a single
bit).
Thomas
Agreed. Here's a model that I use to solve the same problem:
public class
We are going to have another high turn-out this month. There are several
people who have registered but have not yet followed the simple instructions
in our automated reply to confirm their registration.
We will be giving Google a list of confirmed registrants so people can get
in; please make
Response inline
On Jan 31, 2008 2:24 PM, Johan Compagner [EMAIL PROTECTED] wrote:
no you dont need the threadlocal
WebRequestCycle is already a thread local thats only used for one request
so in your WebRequestCycle you can have a start time. (onBeginRequest)
and then in onEndRequest you do
I am not sure if I follow you here. What do you mean by testing two
pages? Here is how I think it works (and want it to work):
1. User clicks on component on Page1 that will result in navigating to
Page2. In this case JAMon shows: Page2 30ms.
2. User clicks on component on Page2 that will
On Wednesday 30 January 2008, Karen Schaper escreveu:
Hello,
I am using a SortableDataProvider with a DefaultDataTable.
From my understanding, it seems that for every column that I wish to sort
on, I need to add code to the iterator method of the
data provider. None of the columns were
Hi-
thanks, that's just what I was looking for.
Somehow all the wrapping of models inside of models still doesn't
come naturally to me.
-markus
Am 31.01.2008 um 14:16 schrieb John Krasnay:
On Thu, Jan 31, 2008 at 01:18:50PM +0100, Maeder Thomas wrote:
Why insist on a
1 yes make the form in your login page a statelessform.
2 use a ajax poller. Just poll the server once in every x minutes
johan
On Feb 1, 2008 2:36 AM, Maris Orbidans [EMAIL PROTECTED] wrote:
hi
I have created a small web application with wicket -
http://cdzfmobile.bf.lu.lv
There are
I have just started encountering this issue with one of my Wicket apps.
Seems to have cropped up now that I am using the 1.3 rc1 (will be moving
to release this Friday), but this could wholly be coincidence. What I
have noticed is, for me at least, this only happens on my Weblogic
servers (9.2)
how do you show the modal dialog??
Normally the modal dialog is only shown by an ajax link.
I guess you show it on onload event. Then yes the page will first load
itself
then call onload and then the modal window will show itself
johan
On Jan 31, 2008 6:16 AM, kenixwong [EMAIL PROTECTED]
hi
I have created a small web application with wicket -
http://cdzfmobile.bf.lu.lv
There are some minor issues related with session timeouts:
1) If I open login page and wait until session expires then I get
session expired error message if I try to login. How can I fix that
? Should I
Ah, the wonders of Weblogic.
My first Wicket app runs on Weblogic. A big problem was that the
datasource connection fell away after some time of inactivity. We solved
it by letting Weblogic run a test query every x minutes. We also ran
into very long lasting queries. Where database optimizations
there is wicketstuff-crud project in wicketstuff that generates all
four crud views
-igor
On Jan 31, 2008 3:28 AM, Constantin Y [EMAIL PROTECTED] wrote:
Nice work Ned! Actually this approach is very close to what i am trying to
do.
Thanks a lot
Ned Collyer wrote:
You may be
im working on the same thing. how to make form stateless?
1 yes make the form in your login page a statelessform.
2 use a ajax poller. Just poll the server once in every x minutes
johan
On Feb 1, 2008 2:36 AM, Maris Orbidans [EMAIL PROTECTED] wrote:
hi
I have created a small web
StatelessForm ?
On Jan 31, 2008 5:14 PM, i ii [EMAIL PROTECTED] wrote:
im working on the same thing. how to make form stateless?
1 yes make the form in your login page a statelessform.
2 use a ajax poller. Just poll the server once in every x minutes
johan
On Feb 1, 2008 2:36 AM,
Hi all
i've found several threads about this subject, but none of them really
helped me with the issue i'm dealing rigth now...
I want to customize icons for the TreeTable, but i need to put images in a
specific path and i would prefer not to hard code image names.
So, question is:
How can i
i mean stateless page
Date: Thu, 31 Jan 2008 18:00:58 +0100
From: [EMAIL PROTECTED]
To: users@wicket.apache.org
Subject: Re: how to prevent session timeouts
StatelessForm ?
On Jan 31, 2008 5:14 PM, i ii [EMAIL PROTECTED] wrote:
im working on the same thing. how to make form
Nice! Thank you Gerolf.
/Per
Gerolf Seitz wrote:
i'm sorry this one slipped through.
i commited Per's fix.
Edvin, can you try with latest trunk to verify it's fixed?
gerolf
On Jan 31, 2008 8:53 AM, Edvin Syse [EMAIL PROTECTED] wrote:
Advanced Technology(R) skrev:
Check Per
again use a statelessform as your form.
if you use all stateless components on your page then you page is stateless
On Jan 31, 2008 7:22 PM, i ii [EMAIL PROTECTED] wrote:
i mean stateless page
Date: Thu, 31 Jan 2008 18:00:58 +0100
From: [EMAIL PROTECTED]
To: users@wicket.apache.org
you can override LabelIconPanel#newImageComponent and create a
WebMarkupContainer instead of an ImageContainer.
on the WebMarkupContainer override onComponentTag and set the src
attribute to where your image is.
-Matej
On Jan 31, 2008 7:03 PM, Juan Gabriel Arias [EMAIL PROTECTED] wrote:
Hi all
Ok, I’ve asked this at least twice already but I’m still incredibly unsure of
how to make my webapp thread safe. So this time I thought I’d take a different
approach. I wrote on the wiki a short, unrelated example:
http://cwiki.apache.org/confluence/display/WICKET/Facebook+Integration
Is
that looks fine
i would throw a RestartResponseException in youre forcelogin method
On Jan 31, 2008 8:48 PM, Dan Kaplan [EMAIL PROTECTED] wrote:
Ok, I've asked this at least twice already but I'm still incredibly unsure
of how to make my webapp thread safe. So this time I thought I'd take a
Eclipse crashed, and afterwards I seem to be unable to deploy my
wicket app on tomcat. During deployment the digester component
complains about not being able to find its logger, and my application
SummerProgram fails to start.
The other deployed apps (non-wicket) seem ok.
I've spent the
Thanks for the follow up Matej, it does clarify certain things..but
commenting on your last point, as you said earlier..the links/buttons (bind
to any event) have the pageId in them irrespective of whether the page is
loaded through BUCS or HUCS, so even in case of BUCS we still would have the
By default, Wicket associates a page class Foo with the HTML in Foo.html.
How can I change that?
IOW, I want Foo.java to render Bar.html.
Sri
--
View this message in context:
http://www.nabble.com/Changing-the-HTML-associated-with-a-Page-tp15214956p15214956.html
Sent from the Wicket - User
See org.apache.wicket.examples.customresourceloading
Eelco
On Jan 31, 2008 1:26 PM, Sri Sankaran [EMAIL PROTECTED] wrote:
By default, Wicket associates a page class Foo with the HTML in Foo.html.
How can I change that?
IOW, I want Foo.java to render Bar.html.
Sri
--
View this message in
Well, solved it at last. Finally looked in my output directory and
saw that it was totally empty. That was the real problem -- no class
files -- but the lack of tomcat logging (or selective logging to
system.out) hid that well.
Clean build didn't help. Replacing eclipse config files
I've been told by many people that the Session object is not thread safe. If
that's true, I don't think the example can be thread safe.
RestartResponseException does not allow you to redirect to an external URL
(that's what that method does). That's why I can't use it.
-Original
Hi All,
I have rendered a list view on a Web Page.
vehicle1X
vehicle2X
vehicle3X
when a person click on 'X', that item should be deleted.
But I'm facing an issue, when i click on 'X', last item get deleted.
Actually when I delete vehicle2 from my list, it deletes vehicle2 but that
Apologies if this isn't the right place to report it, but the Wicket
Stuff examples JVM is currently throwing OutOfMemoryErrors. For
example from http://wicketstuff.org/wicket13/helloworld/ :
[..]
description The server encountered an internal error () that prevented it
from fulfilling
I am just wondering if Wicket applications also somehow capable of generating
html/JavaScript files from code base, it can be great for people who want to
write application which works in both .NET and J2EE world, any pointers will be
appreciated here.
--
Thanks
show us how you populate your listview...
-igor
On Jan 31, 2008 3:49 PM, pnerkar [EMAIL PROTECTED] wrote:
Hi All,
I have rendered a list view on a Web Page.
vehicle1X
vehicle2X
vehicle3X
when a person click on 'X', that item should be deleted.
But I'm facing an issue,
johan, can you bump up the permgen memory some more? we have too many
damn things running on that tomcat instance...
-igor
On Jan 31, 2008 4:55 PM, Brad Fritz [EMAIL PROTECTED] wrote:
Apologies if this isn't the right place to report it, but the Wicket
Stuff examples JVM is currently
Hi,
Following is my code for rendering vehicle list-
final VehiclesList vehicles = new VehiclesList(vehicledetails,
((RatingRequestAuto)getModelObject()).getVehicles());
vehicles.setOutputMarkupId(true);
vehicles.setReuseItems(true);
vehicles.setReuseItems(true); == that is what is causing your list to
reuse old components
-igor
On Jan 31, 2008 5:36 PM, pnerkar [EMAIL PROTECTED] wrote:
Hi,
Following is my code for rendering vehicle list-
final VehiclesList vehicles = new VehiclesList(vehicledetails,
Hi igor,
But If I remove setReuseItems(true), it'll remove all field values which
user has entered will be removed.
Bcz default processing is false for Remove button (Sorry forget to tell
you)
I just want to remove vehicle2, but the values entered for vehicle1
vehicle3 should not be lost.
-
Question on detachable models:
You use detachable models in the contact edit page. It seems like
this would cause your changes to be lost if the edit process takes
more than one request to complete.
If you use the no-arg constructor, the loadableDetachableModel
creates a new contact at
try this:
onpopulate (final listitem item) {
add(new link(remove) { onclick() { item.getparent().remove(item); }}
}
-igor
On Jan 31, 2008 6:19 PM, pnerkar [EMAIL PROTECTED] wrote:
Hi igor,
But If I remove setReuseItems(true), it'll remove all field values which
user has entered
if there is a form error then the changes are never applied to the
pojo in the first place. wicket's form workflow is atomic - the model
object is ever updated when all required,type conversion,validation
was successful on all form components in the form. if something failed
wicket will keep the
Answer inline.
On Jan 31, 2008 8:42 PM, Sam Barnum [EMAIL PROTECTED] wrote:
Question on detachable models:
You use detachable models in the contact edit page. It seems like
this would cause your changes to be lost if the edit process takes
more than one request to complete.
If you use
On Thu, 31 Jan 2008, pnerkar wrote:
public void onSubmit() {
List vehicles = (List) getParent().getParent().getModelObject();
vehicles.remove(index);
}
As a cleaner way to do this you could try
ListVehicle vehicles = findParent(VehiclesList.class).getModelObject();
Best
thanks for reply, johan
i want to show the modal window once the report page is load. Mean
background is continue loading the report and the modal window is just as a
control (its features is invisible the background and only close once action
performed is click in the modal window ) to prevent
if you want to talk about a cleaner way...
add(new removelink(remove, item.getmodel()) {
onclick() {
vehicles.remove(getmodelobject());
}
}
assuming vehicles is a property on listview's parent...
-igor
On Jan 31, 2008 7:29 PM, Timo Rantalaiho [EMAIL PROTECTED] wrote:
On Thu, 31
Hi,
New to Wicket so this maybe some obvious I'm missing and I'd appreciate any
pointers.
I have an AjaxFallbackDefaultDataTable within a AjaxTabbedPanel backed by a
SortableDataProvider that drags data from a database as needed. One column
of my table contains an AjaxFallbackLink. This link
can you not add an onclose callback to the window that repaints the
datatable by adding it to the ajax request target?
-igor
On Jan 31, 2008 7:47 PM, jwray [EMAIL PROTECTED] wrote:
Hi,
New to Wicket so this maybe some obvious I'm missing and I'd appreciate any
pointers.
I have an
Igor,
thanks for the reply and pointing me in the direction of a call back and the
ajax request target. I've not looked at the request target class in depth
yet, so that's probably the piece I was missing. I'll give it a try
tomorrow.
Jonny
igor.vaynberg wrote:
can you not add an onclose
Hi,
Daniel Kaplan wrote a WIKI page[1] that describes how to set up Wicket
for Facebook. Someone posted a link to that on DZone[2], and that in
turn prompted Dave from Alfresco to write an alternative to it that
shows it can be done much shorter[3]. I know that several people
posted the idea
On Jan 31, 2008 3:49 PM, pnerkar [EMAIL PROTECTED] wrote:
Hi All,
I have rendered a list view on a Web Page.
vehicle1X
vehicle2X
vehicle3X
when a person click on 'X', that item should be deleted.
But I'm facing an issue, when i click on 'X', last item get deleted.
Actually
Hi igor,
I have tried this,
Now when I click on remove - it just clear all fields for vehicle2. But none
of them get deleted.
-pnerkar
igor.vaynberg wrote:
try this:
onpopulate (final listitem item) {
add(new link(remove) { onclick() {
item.getparent().remove(item); }}
}
Could that someone please *not* link directly to the confluence page as is
stated on the front page of the wiki [1]?
This link goes to the same page, but is 100x times faster and puts 100x less
load on the server.
http://cwiki.apache.org/WICKET/Facebook+Integration
Martijn
[1]
i get 404 on [1] ...
-igor
On Jan 31, 2008 11:14 PM, Martijn Dashorst [EMAIL PROTECTED] wrote:
Could that someone please *not* link directly to the confluence page as is
stated on the front page of the wiki [1]?
This link goes to the same page, but is 100x times faster and puts 100x less
http://cwiki.apache.org/WICKET/index.html
On 2/1/08, Igor Vaynberg [EMAIL PROTECTED] wrote:
i get 404 on [1] ...
-igor
On Jan 31, 2008 11:14 PM, Martijn Dashorst [EMAIL PROTECTED]
wrote:
Could that someone please *not* link directly to the confluence page as
is
stated on the front
67 matches
Mail list logo