I still dont get it, maybe I miss something but I think that borders also
have everything they need to render them selves.
When you provide empty body to border it will render itself and you will be
able to test it (the same way you test panel).
I know that sometimes it will be nesessery to
Yup, just give an project name and I can setup jira and teamcity if you
want?
Igor Vaynberg wrote:
you have svn. nino can set you up with the rest soon.
-igor
On Sun, Nov 2, 2008 at 1:33 PM, Uwe Schäfer [EMAIL PROTECTED] wrote:
Igor Vaynberg schrieb:
i´m just wondering why there
Done: https://issues.apache.org/jira/browse/WICKET-1911
Adriano
Igor Vaynberg escreveu:
yes
-igor
On Sat, Nov 1, 2008 at 11:25 AM, Adriano dos Santos Fernandes
[EMAIL PROTECTED] wrote:
Yes. Do you want a quickstart demonstrating the problem?
Tanks Nino. Just checking if I was out in the blue. I'll try to do something
with my chained model.
Jens
Nino.Martinez wrote:
Hi
since it's java development, the only limit are your mind (now all your
ruby guys dont hit me).. As you write yourself just create a
choicerenderer, then
More about the problem.
This problem does not happen with jetty.
This problem happens with tomcat (6.0.16, 6.0.18) when you have a
index.jsp file and it is mapped in web.xml (welcome-file-list)
(netbeans default web project).
I will try to investigate more before open a bug...
On Fri, Oct
There are more threads about this issue...
In order to catch all runtime exception, you have to override default
RequestCycle (newRequestCycle method) in your application class and override
private Page handleRuntimeException(final Page page, final RuntimeException
e) method.
Alex Objelean
Hi Nino,
I don't link to the verification page from inside the application
itself. Instead, the link is send in an email to the user when he
changes his email adress. When they click the link, the page is opened.
In a lot of cases the users are still logged in on the application,
meaning
Ok, but how would that let me render the rest of the page?
Alex Objelean wrote:
There are more threads about this issue...
In order to catch all runtime exception, you have to override default
RequestCycle (newRequestCycle method) in your application class and
override
Thanks, but I can't find any handleRuntimeException method in any class. I'm
using wicket 1.4-m3.
Also, if the method is private, then how can I possibly override it?
Alex Objelean wrote:
There are more threads about this issue...
In order to catch all runtime exception, you have to
Sorry for mistake... I've updated the comment
aditsu wrote:
Thanks, but I can't find any handleRuntimeException method in any class.
I'm using wicket 1.4-m3.
Also, if the method is private, then how can I possibly override it?
Alex Objelean wrote:
There are more threads about this
It won't. I think you have to dig deeper into the request rendering.
Perhaps that overriding MarkupContainer#renderAll on all your Panels
that have expected exceptions will help.
But then again, exceptions are intended for controlling the
non-expected. You should not use exceptions for
If you return null in onRuntimeException - the stack trace will be shown.
But if you will return a page instance, the application will redirect you to
this page. For instance:
[CODE]
@Override
public Page onRuntimeException(final Page page, final RuntimeException
e) {
//do
Hi
since it's java development, the only limit are your mind (now all your
ruby guys dont hit me).. As you write yourself just create a
choicerenderer, then choicerenderer itself can decide howto display data..
And yes if you chain stuff and implement your own model etc you can do
it all
Hi Rik
Im not sure about this, it's been some months(if not years) since i've
touched 1.2.x. How are you linking to verification page when logged in,
for me it looks like you are not using pageparameters at all but instead
just instantiate the page with an other constructor..
Rik Overvelde
Hi!
I would like to have a download link through which a user can download some
bytearray from my database. So far no problem, I accomplish this by creating
a new WebResource and implementing the getResourceStream method.
My problem is that I would like to be notified when the user is finished
Hi, how can I catch any exception thrown while a component is rendering, and
either hide the component or show an error message, but allow the rest of
the page to render?
Modifying or replacing each such component is not an option, I need a
general way to handle exceptions while rendering any
Not sure about the close method, but you could always wrap the
outputstream and count the number of streamed bytes.
Regards,
Erik.
bjolletz wrote:
Is it at all possible to get a callback when a user is
finished downloading the bytearray?
--
Erik van Oosten
Well, I'm specifically talking about unexpected runtime exceptions. I don't
want those to destroy the whole page.
They can kill a component, that's ok, but the rest of the page should work.
And yes I want to make sure that no exceptions are thrown, except that's
not so simple when you're dealing
So in pseudo code you would:
tester.getForm.add(IVisitorImplementation) ???
Timo Rantalaiho wrote:
On Fri, 31 Oct 2008, Bert van Heukelom wrote:
I want to test an ajax upload component that uses an IFrame. I have
difficulties when trying to access Components via their path that are
I've developed a custom form component (FormComponentPanel), a date
picker, that makes use of 2 fields - a display TextField and a
HiddenField for the model data. I'm then adding this to the page with
a span tag:
span wicket:id=dropoffDate[dropoff date picker]/span
Then in the java :
Yeah, I was afraid it would come to that.
Sorry, you've apparently done some more research already...
Another thing I sometimes do is take the Wicket class and put it in the
web-project's classpath but with my changes (e.g. remove a final). All
servlet containers will load earlier from the
See at
http://cwiki.apache.org/WICKET/documentation-index.html#DocumentationIndex-Codeasdocumentation
On Sun, Nov 2, 2008 at 7:45 PM, miro [EMAIL PROTECTED] wrote:
are there any examples for spring, wicket and hibernate ?
--
View this message in context:
Hi,
This helpful posting
http://herebebeasties.com/2007-03-01/jsp-and-wicket-sitting-in-a-tree
is often cited as a guide whenever anyone asks about migrating from a
JSP-based web application to an equivalent JSP-free Wicket application.
But...
the posting itself is 18 months old and
Basically, the code that executes is:
public ValidatePage(PageParameters parameters)
{
super(Valideren gegevens);
String code = parameters.getString(code);
If I put a breakpoint right after this, I already get the incorrect
code. The page that I use extends a page that
whats the username password for svn repositorty ?
Tomasz Dziurko wrote:
Phonebook:
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook .
If you need NetBeans project for it just tell me, I have it somewhere
on the disc
Regards
--
Tomasz Dziurko
no need for that unless you want to commit
miro wrote:
whats the username password for svn repositorty ?
Tomasz Dziurko wrote:
Phonebook:
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook .
If you need NetBeans project for it just tell me, I have it somewhere
on the
IIRC You should pass in the page parameters all the way down to the Wicket page:
super(parameters, Valideren gegevens)
Martijn
On Mon, Nov 3, 2008 at 8:41 AM, Rik Overvelde [EMAIL PROTECTED] wrote:
Basically, the code that executes is:
public ValidatePage(PageParameters parameters)
{
Hey everyone,
I'm having a problem with page parameters in wicket 1.2.7 when multiple
tabs are opened. I'm working on a verification system for email
adresses, which sends a mail with an url containing a guid to a user.
I've mounted the page using a queryStringUrlCodingStrategy which results
Hello everyone,
I'm currently creating a Wicket application, and for this I need a
repeater that lets the user select multiple rows from a list of items.
So basically a repeater that adds a checkbox in front of every item. Is
this component available? I remember seeing this somewhere, but I
Jurrie,
this goes very well. I use check boxes in repeaters for the same reason.
Just have a look at the following snippets.
dynamicContents.add(listView = new DataView(whatever,
getDataProvider(), 15)
{
@Override
protected void populateItem(Item
I tried in deployment mode... no significant difference in the load
distribution.
**
Martin
2008/11/3 James Carman [EMAIL PROTECTED]:
On Mon, Nov 3, 2008 at 12:17 AM, Martin Makundi
[EMAIL PROTECTED] wrote:
Can you be more specific about this? In what context should the
parsing results be
Hi Susan,
I'm in the same situation. With the only difference I have few months
advance.
And I'd say the project works very good for now. Currently some of the
pages are backed by Wicket and the rest are still JSP ones and there is
no difference from a customer point of view.
None of the Wicket
Strange, but as you said you had the idea that it could be a bug. But it
still strikes me a bit strange that the page are redirected, and results
in an modifified link.. Could you provide a cut out of the code?
Otherwise the idea with the servlet should be fine, I think you can
enable shared
Argh really bad example, heres a better one:
tester.getComponent(basepath).getIframe().addvisitor or something?
And then visitor would have to sort out if the component probed were a
form etc?
Nino Saturnino Martinez Vazquez Wael wrote:
So in pseudo code you would:
Hello,
Is there anyway to reference Wicket's request object in the Spring
bean definitions XML? I'm trying to define a session bean, which has
two parameters in the contructor - a SwarmWebApplication and a
Request. Thanks in advance.
bean id=myApplication
Hi all,
I have a peace of html that looks like that:
div id=silverlightControlHost
!--param name=onerror value=onSilverlightError /--
img src=http://reshet.attractv.net/reshet/img/no_silverlight.jpg;
usemap=#no_silverlight border=0 /
map name=no_silverlight
!--area
Sorry, My mistake.
Here is the html code:
param name = initParams
value=autostart=false,res=1.333,medW=640,medH=480,m=http://SWITCH434-01.castup.net/cunet/gm.asp?ai=434ar=08-09-18_22-00-30ak=null;
/
I need to set the value of the initParams parameter in dynamic way from my
java code. To be
Try this:
http://www.nabble.com/Adding-Adobe-Media-Player-in-wicket-to19797690.html#a19827296
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Nov 3, 2008 at 10:52 AM, itayh [EMAIL PROTECTED] wrote:
Hi all,
I have a peace of html that looks like that:
div
Hi Miro,
Did you receive my Wicket+Spring(via annotations) sample application ? Any
feedback welcome :)
I can also provide a sample application with Wicket+Spring(via
annotations)+Hibernate(via annotations) that does nothing except showing a
way to configure the three to work together.
( I only
I have two tables side by side in my page .
Table 1 has two columns name, age
Table 2 has details columnlike sex, address etc
when user selects a name in table 1 i want to update table two with
details of selected name, is this possible , I was looking for onClick on
listView
10x alot, it works
Jeremy Thomerson-5 wrote:
Try this:
http://www.nabble.com/Adding-Adobe-Media-Player-in-wicket-to19797690.html#a19827296
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Nov 3, 2008 at 10:52 AM, itayh [EMAIL PROTECTED] wrote:
Hi all,
I have a
Creation of custom sessions is described here:
http://cwiki.apache.org/WICKET/newuserguide.html#Newuserguide-CustomSessions
I do think you can create a session through Spring.
Regards,
Erik.
Ryan O'Hara wrote:
Hello,
Is there anyway to reference Wicket's request object in the Spring
bean
10x?
-igor
On Mon, Nov 3, 2008 at 9:18 AM, itayh [EMAIL PROTECTED] wrote:
10x alot, it works
Jeremy Thomerson-5 wrote:
Try this:
http://www.nabble.com/Adding-Adobe-Media-Player-in-wicket-to19797690.html#a19827296
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Nov 3,
Add a link to the list item and override onclick
miro wrote:
I have two tables side by side in my page .
Table 1 has two columns name, age
Table 2 has details columnlike sex, address etc
when user selects a name in table 1 i want to update table two with
details of selected
you need to create a provider, eg:
interface requestprovider { request getrequest(); }
and class requestproviderimpl { request getrequest() { return
requestcycle.get().getrequest(); }}
then inject your beans with the requestprovider.
-igor
On Mon, Nov 3, 2008 at 8:52 AM, Ryan O'Hara [EMAIL
a better way is to have a factory method for the internal components,
that way the user can do
component newcomponent(string id, imodel model) {
component c=super.newcomponent(id, model);
c.add(whateverbehavior);
return c;
}
-igor
On Mon, Nov 3, 2008 at 6:02 AM, Gianni Doe [EMAIL
it is as simple as composition, add a link to the list item. there are
examples in wicket-examples under repeaters.
-igor
On Mon, Nov 3, 2008 at 9:11 AM, miro [EMAIL PROTECTED] wrote:
I have two tables side by side in my page .
Table 1 has two columns name, age
Table 2 has details
Hi.
I have a form model containing a idKey that is supposed to be selected from
a dropdownchoice. Does anyone know if its possible have a complex data type
in the dropdownchoice when the model is only a idKey? The dropdownchoice
wants to set the complex data type in the form model.
For example
I am experiencing exactly the problem outlined in the subject of this post,
and I would really appreciate any help I can get, as I am under a deadline.
It's the first time I'm using Wicket with JPA, and I just don't understand
why this isn't working.
I have a Wicket dataprovider that looks like
On Mon, Nov 3, 2008 at 12:17 AM, Martin Makundi
[EMAIL PROTECTED] wrote:
Can you be more specific about this? In what context should the
parsing results be cached?
Are you running in deployment or development mode? I would try your
profiling in deployment mode to see how that helps.
My site has a form-based test on TestPage. Each question in the test has
a Question object as its model. The Questions all sit in an ArrayList in
a Test object. Each Question has a markedAnswer String, which stores
the value of the selected answer. The problem is that, for some users,
the
Oops...I meant:
Bar bar = myApi.getBar();
ListFoo foos = bar.getFoos();
JulianS wrote:
I am experiencing exactly the problem outlined in the subject of this
post, and I would really appreciate any help I can get, as I am under a
deadline. It's the first
Firstly, your code is rather strange. That getFoos() method is not part of
the List Interface API.
Two possible solutions:
The filter chain maybe incorrect in your web.xml. Your
OpenEntityManagerInViewFilter might not be preceding the Wicket filter.
Check that it does precede it.
If you have a
I have the following code:
PageParameters parms = new PageParameters();
parms.put(answerId, Long.toString(answer.getEntityId()));
add(new BookmarkablePageLink(edit, EditBlogEntryPage.class,
parms));
In my Application init method I have:
a couple of things to look into:
access to Session is not synchronized, so make sure you sync
everything yourself.
if you have a stateless page it will not store the session in
httpsession, you might have to do that manually by calling
session.bind()
-igor
On Mon, Nov 3, 2008 at 11:22 AM, Dane
what is your dataprovider#model() look like? are you using a loadable
detachable model?
-igor
On Mon, Nov 3, 2008 at 11:04 AM, JulianS [EMAIL PROTECTED] wrote:
I am experiencing exactly the problem outlined in the subject of this post,
and I would really appreciate any help I can get, as I am
On Mon, 03 Nov 2008, Nino Saturnino Martinez Vazquez Wael wrote:
Argh really bad example, heres a better one:
tester.getComponent(basepath).getIframe().addvisitor or something?
And then visitor would have to sort out if the component probed were a
form etc?
Something like
Form form =
Can you be more specific? What kind of unexpected runtime exceptions are you
talking about? I don't think I understood you correctly.
Any runtime exception thrown by the wicket is caused by a programming
error... there is no sense to catch it without fixing the problem in your
code.
Catching
I have a linkthis contains a label , now I want to change the style of
the label whenever user clicks on the link , to do this I override the
method onClick() in link component I am retrieving the label and adding
simpleattributemodifier to the label , but there is no change ,
On Mon, 03 Nov 2008, Martin Makundi wrote:
Not really, I have large chunks (containers.. actually a ListView...).
OK, it doesn't look like it's that then.
Can you be more specific about this? In what context should the
parsing results be cached?
Look at where IMarkupSettings.getMarkupCache()
Igor,
I'm not using a loadable detachable model because I was hoping to get the
list of foos directly from the Bar object, as opposed to having a dedicated
dao method to get the list of foos, which seems to defeat the benefit of
using JPA's object chaining. To answer your question, here's my
James, thanks for your reply. I've checked that my
OpenEntityManagerInViewFilter precedes the Wicket filter. And my debug log
indeed shows that it seems to be opening and closing the entity manager
before and after the wicket filter runs. I'm hoping to avoid the type of
query you suggest, but I'm
Hi!
Again, I'm new, so hopefully I'm not posting in a bad way here. I've looked
through the forum but couldn't find the answer. Couldn't find the answers
from Tapestry in Action (I'm sure they are there if anyone can point me at a
page).
I have a simple page and form as below. The
On Mon, 03 Nov 2008, GK1971 wrote:
through the forum but couldn't find the answer. Couldn't find the answers
from Tapestry in Action (I'm sure they are there if anyone can point me at a
page).
You might want to have a look at Wicket in Action :--)
1) Exactly WHAT is getting serialized and
Timo!
Thanks for your answers - so you think its better NOT to have the components
as private member variables? I may misunderstand...
'Tapestry' in Action LOL! Sorry! I'm moving over from that world into
the Wicket world...
Wicket in Action - VERY readable and well written, but perhaps I
Hi.
I wondered another thing - how and when are the serialized objects cleaned
up? Is there a mechanism for making sure large amounts of memory or disk are
not soaked up by long running sessions and lots of user interactions?
Thanks again, Graeme.
Graeme Knight wrote:
Timo!
Thanks for
yes i know what it means literally, i just thought the maturity level
here was a little bit higher.
-igor
On Mon, Nov 3, 2008 at 1:53 PM, Tomasz Dziurko [EMAIL PROTECTED] wrote:
I think:
10x = tenx ~ thanks :)
Regards
--
Tomasz Dziurko
as far as serialization wicket uses default java serialization with a
few tweaks to optimize it.
Thanks for your answers - so you think its better NOT to have the components
as private member variables? I may misunderstand...
it doesnt matter if you do this. because the page object is
it is cleaned up when the session expires. it used to be that we only
kept X last pages in the store, but now that we use disc that seems to
be redundant.
-igor
On Mon, Nov 3, 2008 at 4:08 PM, Graeme Knight [EMAIL PROTECTED] wrote:
Hi.
I wondered another thing - how and when are the
On Mon, Nov 3, 2008 at 2:09 PM, JulianS [EMAIL PROTECTED] wrote:
To answer your question, here's my
implementation of dataprovider#model():
public IModel model(Object object)
{
return new Model((Serializable) object);
}
Of course, it's very possible I'm
Thanks Igor! A great help!
Where on disk are these serialized pages? I remember reading you only cache
the current page in memory. Is that correct? This serializing on disk - what
is the strategy for keeping these files in sync in a clustered environment?
Appreciate the help very much! Graeme.
the whole point of a transparent container is that they are
transparent, so your subclasses can add items directly to the page.
-igor
On Mon, Nov 3, 2008 at 6:20 PM, Andrew Berman [EMAIL PROTECTED] wrote:
So even if I do this, all child pages need to add their components to the
body and not
Nevermind, error on my part.
On Mon, Nov 3, 2008 at 5:20 PM, Andrew Berman [EMAIL PROTECTED] wrote:
So even if I do this, all child pages need to add their components to the
body and not the direct page itself which to me doesn't seem right. Is
there a way to get around this or is there a
On Mon, Nov 3, 2008 at 5:09 PM, Graeme Knight [EMAIL PROTECTED] wrote:
Where on disk are these serialized pages?
i would imagine in a tmp dir, i would have to look in code for the
exact location - you can do the same
I remember reading you only cache
the current page in memory. Is that
Hey guys,
I've been working with Wicket using Ant for the last year with no big
problems. However, I am now trying to get maven working so I can build a
quickstart to demonstrate a problem I'm having with AjaxFallbackButton.
Anyways, sorry for the extremely long post, but maven is just driving
the version of archetype you used (1.4m3) had problems, try to
generate the project against 1.4-snapshot
mvn archetype:create -DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart
-DarchetypeVersion=1.4-SNAPSHOT -DgroupId=com.mycompany
-DartifactId=myproject
Igor,
Thanks! I just saw that a few minutes ago. There was some weird stuff in
the quickstart java files where one had the page genericized as Void and
some other stuff.
I appreciate the help.
J
--
View this message in context:
Hi.
Loving Wicket so far! I had a search and had trouble finding the answer to
this one, if anyone can help:
1) I have a simple form with username/password and a submit button.
2) User enters username/password and hits submit.
3) onSubmit authenticates against the database through a load on a
add(new feedbackpanel(feedback));
onsubmit() {
user u=authenticator.auth(username, password);
if (u==null) {
error(Invalid password);
} else {
if (!continuetooriginaldestination) {
setresponsepage(application.get().gethomepage()); }
}
}
-igor
On Mon, Nov 3, 2008 at 8:02 PM,
On Mon, Nov 3, 2008 at 8:02 PM, Graeme Knight [EMAIL PROTECTED] wrote:
3) onSubmit authenticates against the database through a load on a
LoadableDetachableModel, and returns the result as the model's object.
^ sounds interesting...paste your code.
-igor
I will be out of the office starting 2008-11-03 and will not return until
2008-12-16.
I will not have access to my emails during this time.
For NDR concerns, please contact Bruce Yu or Steve Wechsler @(613)
948-2164 . For other concerns please contact Les Poupore @ 613- 946-6451.
I'm building a registration page for my wicket app, and I'm having trouble
getting an AjaxFallbackButton to work the way I would like it to. I have
several fields for the user to fill out on my registration page, including
email, password, desired-username, etc.
What I want is to have an
Ahh ok..
Timo now that you've mentioned jdave... Are there any way jdave supports
plain text scenarios like jBehave?
Timo Rantalaiho wrote:
On Mon, 03 Nov 2008, Nino Saturnino Martinez Vazquez Wael wrote:
Argh really bad example, heres a better one:
Hi
I'm using wicket 1.3.2 and downloaded wicket-contrib-datepicker-1.2 because
I want to use a date picker for my application. But this release is not
compatible with wicket 1.3 because it gives errors. Can someone give me the
link to download a date picker component that is compatible with
On Mon, 03 Nov 2008, jpswain wrote:
I'm building a registration page for my wicket app, and I'm having trouble
Building... Designing, rather :)
http://www.bleading-edge.com/Publications/C++Journal/abstract.htm
What I want is to have an AjaxFallbackButton next to desired-username to see
if
On Mon, 03 Nov 2008, Graeme Knight wrote:
Where on disk are these serialized pages?
Servlet context temporary directory, which can be something
like /tmp/ or %HOME%\Local Settings\Temp . It can be changed
in web.xml (and I suppose that whether it's the servlet
context temp dir or some other
not sure but perhaps try modelchanged on the label
On Mon, Nov 3, 2008 at 9:32 PM, miro [EMAIL PROTECTED] wrote:
I have a linkthis contains a label , now I want to change the style of
the label whenever user clicks on the link , to do this I override
the
method onClick() in
On Mon, 03 Nov 2008, Igor Vaynberg wrote:
it doesnt matter if you do this. because the page object is serialized
and those components are fields of the page they are serialized only
once and further references are replaced with links, this is how
serialization works and it preserves proper
it probably hasn't been updated. just download the source and do it yourself
- its usually very trivial change.
On Tue, Nov 4, 2008 at 8:37 AM, tbt [EMAIL PROTECTED] wrote:
Hi
I'm using wicket 1.3.2 and downloaded wicket-contrib-datepicker-1.2 because
I want to use a date picker for my
89 matches
Mail list logo