thx a lot Timo for ur reply
yea i agree that it is meant for submittingbut what i meant was to
trigger validation onclick of link
I am still facing a problem.
I am using AjaxLink which already has a an AjaxBehavior on click.now i
tried adding AjaxFormValidatingBehavior on onclick bu
remove border.settransparentresolver(true);
instead of
add(listViewContainer.add(listView));
do
border.add(listViewContainer.add(listView));
now your component hierarchy is proper, things are actually inside the
border - which is how the border is meant to be used.
your main problem was this lin
Pass your data provider an instance of IModel. That way it is
agnostic as to where it's getting the switch from.
Jeremy Thomerson
http://www.wickettraining.com
-- sent from a wireless device
-Original Message-
From: Matt Welch
Sent: Wednesday, February 04, 2009 1:51 PM
To: users@wicke
I wrote a whole blog post on how to do this. It was a couple months ago. Go
to http://www.jeremythomerson.com and look for it.
Jeremy Thomerson
http://www.wickettraining.com
-- sent from a wireless device
-Original Message-
From: wicketworker
Sent: Wednesday, February 04, 2009 10:31
Thanks - that's the path I went down after i posted. Didn't know if there
was a cleaner way or not.
igor.vaynberg wrote:
>
> requestcycle rc=getrequestcycle();
>
> response orig=rc.getresponse();
> rc.setresponse(new noopresponse());
> page.render();
> rc.setresponse(orig);
>
> -igor
>
> On
Here is a simple example of the code that I used to get amchart to work in
wicket. I used SWFObject. This is the simplest case where the data is read
from a file (not really of much use in a live webpage).
If one wants to make on demand plots, one can replace
params.put("data_file","amcharts/amxy_
you can mount the pages so you have well known urls to them and build
them manually.
-igor
On Wed, Feb 4, 2009 at 4:01 PM, Flavius wrote:
>
>
> We have functionality that needs to send an email of any changes
> that occur in a record. At first we were going to just send the
> email when the tra
a single request is processed by a single thread. what might happen
is, if you hit a page that has images, the browser will open more
requests to retrieve those images - which will create more threads.
what you should do is handle the session creation lazily - only create
it when it is requested.
requestcycle rc=getrequestcycle();
response orig=rc.getresponse();
rc.setresponse(new noopresponse());
page.render();
rc.setresponse(orig);
-igor
On Wed, Feb 4, 2009 at 2:10 PM, sthomps wrote:
>
> I'm running into an issue with PageExpiredExceptions and ajax responses.
>
> Here's what I would l
You would use page inheritance so that each page inherited its look
and feel from all the others. There are many different ways to show
different content without creating a ton of pages. Can you elaborate
on your current architecture so we can let you know how Wicket can
achieve this?
O
Grab the quickstart project here:
http://svn.apache.org/repos/asf/wicket/trunk/wicket-quickstart
and put your code into it, then you can file a JIRA with the
quickstart, or send to list
On Feb 4, 2009, at 10:31 AM, wicketworker wrote:
Thanks Igor. Could you please elaborate a bit more, i
Is is definitely there:
$ jar tf slf4j-api-1.5.5.jar |grep org/slf4j/LoggerFactory
org/slf4j/LoggerFactory.class
$
try shared/lib on tomcat instalation. Try finding something on
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html and
ask tomcat forums
On Wed, Feb 4, 2009 at 8:04 PM, S
Hi
i have tried with these jars also.
Thanks
Swapna
On Wed, Feb 4, 2009 at 4:01 PM, Marcelo Morales wrote:
> you will need 3 jars if want log4j
> slf4j-api.jar
> slf4j-log4j12
> log4j.jar
>
> On Wed, Feb 4, 2009 at 5:45 PM, Swapna Rachamalla
> wrote:
> > Hi
> >
> > I have looked into those lo
you will need 3 jars if want log4j
slf4j-api.jar
slf4j-log4j12
log4j.jar
On Wed, Feb 4, 2009 at 5:45 PM, Swapna Rachamalla
wrote:
> Hi
>
> I have looked into those log files.
>
> I have put the following jar files in my app and tmocat/commons/lib
> wicket-1.4-rc1.jar
> wicket-auth-roles-1.4-rc1.j
We have functionality that needs to send an email of any changes
that occur in a record. At first we were going to just send the
email when the transaction completes...but that will have issues
if the app is up and the mail server is down (or unreachable at the
moment).
So we're going to write
I don't know if the problem has any relation to WICKET-1789
https://issues.apache.org/jira/browse/WICKET-1789
But I have a very similar situation :
My problem traces back to WICKET-1712
https://issues.apache.org/jira/browse/WICKET-1712
I want to create a component which can "Expand" and "Collapse
Swapna,
Start with a clean Tomcat and don't manually put jars anywhere in
Tomcat (except maybe a db driver jar).
In your pom.xml have something like this:
org.apache.wicket
wicket
${wicket.version}
1. Use Maven for your dependency management
2. Don't put random stuff in common/lib, use a war file
3. Use Maven for building your war file
4. Don't put stuff in common/lib, use a war file
5. Use Maven
Martijn
On Wed, Feb 4, 2009 at 11:03 PM, Swapna Rachamalla
wrote:
> Noon: i Have modified log4
Hello,
I'm implementing a j2ee filter to obtain a jcr session per http
request (using a threadlocal), however it sometimes opens more than once
session when I open a webpage, I'm thinking this is because many threads
are involved in a single request, but this affects performance (a lot),
w
I'm running into an issue with PageExpiredExceptions and ajax responses.
Here's what I would like to do.
1. Have sessions timeout at 20 minutes.
2. Once a session has timed out and the user clicks an ajax link on the
expired page - the link should process as normal and do whatever was tied to
Noon: i Have modified log4properties.file but still getting same error.
Igor: i have added slf4j jars in lib but still getting same error
Is there any other way to resolve this/
Thanks is advance
Thanks
Swapna
On Wed, Feb 4, 2009 at 1:54 PM, Igor Vaynberg wrote:
> you are missing the loggin
public mypage extends webpage {
private boolean filter;
public mypage() {
add(new dataview("dataview", new dataprovider()) {});
}
private class dataprovider extends mydataprovider {
protected boolean getfilter() { return filter; }
}
}
On Wed, Feb 4, 2009 at 1:51 PM, Matt Welc
you are missing the logging slf4j jars. please use maven to manage
your dependencies if you do not know how to resolve problems like
this.
-igor
On Wed, Feb 4, 2009 at 1:45 PM, Swapna Rachamalla
wrote:
> Hi
>
> I have looked into those log files.
>
> I have put the following jar files in my app
Thank you for your reply. Unfortunately (for this situation, anyway), we
frequently reuse our dataproviders in more than one place in the
application, so they are are always in their own class files. In any case,
what we have will work for now. I'll look around through the examples for
other use c
I had exactly the same kind of error and I solved it by adding following
lines to my log4j.properties file:
log4j.rootLogger=WARN, stdout
and/or following one:
org.apache.catalina=INFO, stdout
In my case, there were some missing JARs in my webapp's classpath.
Marcelo Morales-2 wrote:
>
> H
Hi
I have looked into those log files.
I have put the following jar files in my app and tmocat/commons/lib
wicket-1.4-rc1.jar
wicket-auth-roles-1.4-rc1.jar
wicket-datetime-1.4-rc1.jar
wicket-extensions-1.4-rc1.jar
wicket-guice-1.4-rc1.jar
wicket-ioc-1.4-rc1.jar
wicket-jmx-1.4-rc1.jar
wicket-objec
Im actually using that exact approach..I think it's somewhat ok, because
it brings continuity to the architecture...
Vika wrote:
Hi,
I am completely new to Wicket and trying to decide if this is something I
would want to use for my project. My website has some static and some
dynamic pages
Hi,
I am completely new to Wicket and trying to decide if this is something I
would want to use for my project. My website has some static and some
dynamic pages that have to share the same look. Currently I am using
SiteMesh to achieve this. Can I accomplish this with Wicket without having
to
Hi
Check the other log. Usually there are two logs on vanilla tomcat,
catalina-* and localhost-*
On Wed, Feb 4, 2009 at 5:18 PM, Swapna Rachamalla
wrote:
> Hi
>
> I Have developed HelloWorld example using Apache Wicket which is given
> http://wicket.apache.org/examples.html.
>
> I have compiled t
Swapna Rachamalla schrieb:
Hi
I Have developed HelloWorld example using Apache Wicket which is given
http://wicket.apache.org/examples.html.
I have compiled the java files Successfully.
But while starting the tomcat 5.5 web server iam getting the following
error.
org.apache.catalina.core.Stan
Hi
I Have developed HelloWorld example using Apache Wicket which is given
http://wicket.apache.org/examples.html.
I have compiled the java files Successfully.
But while starting the tomcat 5.5 web server iam getting the following
error.
org.apache.catalina.core.StandardContext start
SEVERE: Err
public mypage extends webpage {
private boolean filter;
public mypage() {
add(new dataview("dataview", new dataprovider()) {});
}
private class dataprovider implements idataprovider() {
public int size() { return new query(filter).size(); }
public iterator iterato
I'm probably thinking about his all wrong, but for some reason I can't get my
mind in the right frame here. I have a page with a dataview that is showing
data in a table. That dataview needs to be filtered by a checkbox in a
different place on same page. The model for that checkbox is an attribute
Do you find out what exactly is the problem and solution, I ran into the same
problem.
thanks in advance!
rtow
Dan Kaplan-3 wrote:
>
> The most important part of this is probably HOW I update the model. I am
> using AJAX.
>
> -Original Message-
> From: Dan Kaplan [mailto:dkap...@citi
Hi all,
I am working with wicket tree based on the inmethod tree example.I have just
2 level tree with taggroup and tags. I have issue in just displaying the
name, rather I get a whole object, The code is below
protected TreeModel createTreeModel() {
TreeModel model = null;
Thanks Igor. Could you please elaborate a bit more, i am new here.
igor.vaynberg wrote:
>
> create a quickstart
>
> -igor
>
> On Tue, Feb 3, 2009 at 1:34 PM, wicketworker
> wrote:
>>
>> I am using 1.3.4
>>
>> Something Strang is going on. The messages are getting rendered for
>> Non-Ajax
>>
Hi,
i've implemented a workspace application with many context-informations,
selected tabs and so on. the controller holds the state in different member
vars. for some actions the user must link to another page. after submitting
this page or cancelling i want to relay the user to his last state o
I have a RadioGroup with two Radio buttons inside a Form in a Panel. I have
created an AjaxFormChoiceComponentUpdatingBehavior that has been added to
the RadioGroup. This behavior is working fine and I am able to update my
Session with the new values when the user switches between the Radio
butt
http://www.nabble.com/Phonebook-Missing-td21454727.html#a21455120
Am 04.02.2009 um 16:08 schrieb cmoulliard:
Hi,
Can someone tell me where the project wicket-phonebook is located
under svn
because the following link mentioned on this page is not correct/
accurate
(http://wicketstuff.org/co
thx for your hint
i forgot to mention that my renderer is holding the model data, too.
yes i know it's called "renderer"... but i give it a map with keys and values
to render.
so it encapsulates the model, too.
after the country selection was done the renderer is updated.
the problem is solved. w
Hi,
Can someone tell me where the project wicket-phonebook is located under svn
because the following link mentioned on this page is not correct/accurate
(http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook/) ?
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/
Hi,
I'm running www.szeretgom.hu on a two year old Sun Fire X2100 (1.8 ghz
dual core Opteron, 4 GB RAM) running OpenSolaris, Postgresql,
Glassfish v3 Prelude. The application runs on Wicket 1.4rc1 using
EclipseLink with default settings. The application is a custom
developed, JPA based web CMS wit
That's because it's a **renderer** - not where you get data. Use the model to
load your states (extend LoadableDetachableModel and override load to load
states based on what was selected in the country dropdown).
Then use the renderer to do just that - return a renderable display value based
o
On Wed, 04 Feb 2009, Dipu wrote:
> have a look at AbstractAjaxTimerBehavior
Rather than timers, we've found OnChangeAjaxBehavior or
other save-on-every-input behaviors (possibly with throttle)
the best for implementing autosave. YMMV :)
Best wishes,
Timo
--
Timo Rantalaiho
Reaktor
On Wed, 04 Feb 2009, rag...@directi wrote:
> I have a AjaxSubmitLink which i only want to use for some validation on some
> fields on the form. I do not want to submit the form if there are NO errors
> by clicking this link. I am using AjaxSubmitLink just to trigger
> validations, Incase there are
have a look at AbstractAjaxTimerBehavior
dipu
On Wed, Feb 4, 2009 at 2:13 PM, Juri Prokofjev wrote:
> Hello,
>
> Is there any way to implement similar functionality like in gmail?
> When you have typed a big letter and computer was accidentally
> shutdowned then it's always possible to get that
Hello,
Is there any way to implement similar functionality like in gmail?
When you have typed a big letter and computer was accidentally
shutdowned then it's always possible to get that letter from the
drafts. Has any one tried it with wicket?
Thank you in advance,
Juri Prokofiev
--
http://www
Hi,
I have a AjaxSubmitLink which i only want to use for some validation on some
fields on the form. I do not want to submit the form if there are NO errors
by clicking this link. I am using AjaxSubmitLink just to trigger
validations, Incase there are any error they should be shown when i click
t
Igor Vaynberg wrote:
please open a bug report in jira.
your commit to NavigationToolbar.java (rev 739663) fixed the problem I
had. Thank you!
--
Leszek Gawron
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
Fo
Hi,
I have a stateless, bookmarkable page with a simple stateless login
form. This form contains two required fields: username and password.
Below there are steps to reproduce my problem:
1. Enter the login page
url=http://localhost/app/login
2. Fill the password field with eg. "ppp" and leave the
sorry i meant:
neither the getIdValue nor the getDisplayValue are called
Von: Arthur Leigh Allen
An: users@wicket.apache.org
Gesendet: Mittwoch, den 4. Februar 2009, 10:57:28 Uhr
Betreff: AW: AW: 2 DropDownChoices with a renderer. ajax update
it seems to me l
I'll be announcing a new initiative tonight to get a few developers together
one evening per week (or every two weeks), at jWeekend's office in London
NW6, to go through Wicket Jira issues. Al Maw and Richard Wilkinson have
already expressed an interest and we'd hope to get around 5-10 people
invo
Okay... so the end of year came and gone... any new ideas?
Martijn Dashorst wrote:
>
> ideally when bug count is zero. But were aiming before years end IMO.
>
> Martijn
>
> On 11/24/08, Jeremy Thomerson wrote:
>> The API is pretty locked for now - only a significant bug found would
>> caus
Thomas Mäder wrote:
I guess it's hard to find a workaround without having a stack trace from a
windows debugger. If you knew where in the IE code the crash occurs, it
might be possible to guess the offending code in Wicket (and work around
that). That said, you might want to report the crash to t
it seems to me like the drop down choice is not retrieving the new data from
the renderer.
whether the getIdValue nor the getDisplayValue are called to retrieve the new
data when redrawing the drop down choice.
does the drop down choice cache the first renderer results?
__
I guess it's hard to find a workaround without having a stack trace from a
windows debugger. If you knew where in the IE code the crash occurs, it
might be possible to guess the offending code in Wicket (and work around
that). That said, you might want to report the crash to the folks at MS. IE
8 i
Thanks. Managed to get HTML for a web page. However, when I try to render a
component, I run to problems as the component is manually rendered and
attached to HTML body through ajax. As such, it will throw page not found.
When I try to add the component to a dummy website and render, the componen
I mean when wicket attributes and tags are stripped for production,
please, remove this namespace too.
On Wed, Feb 4, 2009 at 3:36 PM, Timo Rantalaiho wrote:
> On Wed, 04 Feb 2009, Anton Veretennikov wrote:
>> Please, don't forget to remove it when mode is DEPLOYMENT.
>
> What do you mean?
>
> Be
On Wed, 04 Feb 2009, Anton Veretennikov wrote:
> Please, don't forget to remove it when mode is DEPLOYMENT.
What do you mean?
Best wishes,
Timo
--
Timo Rantalaiho
Reaktor Innovations Oyhttp://www.ri.fi/ >
-
To u
i already saw that example igor but the difference is that they're using a
property model and they override the getObject method while I'm using a
renderer for the state choice and i'm updating my renderer data but nothing
happen. i need a renderer because i need both, a (database) key and a (la
60 matches
Mail list logo