should be fixed, noticed i fixed the version, it is now 1.3-snap
instead of 1.3.0-snap
-igor
On Wed, Jun 11, 2008 at 11:53 AM, nitinkc [EMAIL PROTECTED] wrote:
Igor,
Any updates on this??
thanks!
nitinkc wrote:
Here is the stack trace:
Root cause:java.lang.IllegalStateException: This
great! :)
Igor Vaynberg wrote:
should be fixed, noticed i fixed the version, it is now 1.3-snap
instead of 1.3.0-snap
-igor
On Wed, Jun 11, 2008 at 11:53 AM, nitinkc [EMAIL PROTECTED] wrote:
Igor,
Any updates on this??
thanks!
nitinkc wrote:
Here is the stack trace:
Root
I have a webpage with a div element. In the div element is a table, so I can
refresh the table via ajax.
Also there is a modal window, on which a iFrame is inside.
After closing the modal window, I like to refresh the table in the div
element in the parent page. Therefore I use the callback
Hi,
I have designed a panel of form text fields which I would like to repeat in
a panel of form.
Here is the code:
EmptyForm.java
public class EmptyForm extends Form
{
private final ValueMap properties = new ValueMap();
public EmptyForm(final String id)
{
use a listview,propertylistview or repeater...
Differences are:
listview: iterates over a list
propertylistviw:-||- and bound the item.model via a compound model, very
usefull if you use compound models a lot.
repeater: repeats for int times, as I remember it..
m_salman wrote:
Hi,
I have
Hi
Is there anyone using terracotta for session clustering with about 2000
active sessions at any one time?
If so are you experiencing any problems on your terracotta server as
described here: http://forums.terracotta.org/forums/posts/list/1144.page
Basically there is loads of garbage being
[1] I get these kind of errors quite often:
there was an error cleaning up target [EMAIL PROTECTED]
markupIdToComponent
any idea what causes them? [i'm guessing it's a panel that gets updated to
often for my server - 10s, lots of clients, but that's just a guess].
[2] And this keeps on
No, i've added the dropdownchoice to the markup and did not forgot. My
problem is a little bit more complex.
with wicket web beans you can't display a bean, that has a relation to an
another bean. This relationed bean is showed with all attributes. But i Only
wan't one or two, like 'name'. So
I try to validate component by using setRequired(). and I would like to
define the feedback messages in application level properties file.
For example, the application structure is like
myApplication
-basePage
-myPage extends basePage
-myForm
-myTextField
I tried to overwrite the default
Actually the example does set a model for the password field. As shown
in this snippet.
//Set compound model on the form, inputfields will use that model too.
super(id, new CompoundPropertyModel(new ValueMap()));
// only remember username, not passwords
add(new
My webapplication is mapped under /myApplication context.
If I inserted in the html a normal image with the source img/myimg.gif
(for example img/myimg.gif ) wicket change the source in
../img/myimg.gif and so the image doesn't appair.
I have the same problem for all elements: images, css and
In WWB, if you want the related bean to only show certain attributes, you
can put something like:
YourBean { ... props: name, -someOtherAttribute, ...; ... }
in your beanprops file. This will remove someOtherAttribute from your
view. Does that help?
-Dan
On Fri, Jun 13, 2008 at 6:02 AM,
I frequently need to deal with singular and plural versions of
wicket:message's.
I would like to do something like:
add(new Label(links, new PluralStringResourceModel(link, this)
{
@Override
public boolean isPlural()
{
return /* some code
The StringResourceModel uses MessageFormat patterns, so you could try
using a ChoiceFormat-based pattern. Try this out in a main method
somewhere to get an idea of what happens:
final String pattern = {0,choice,0#none|1#one|2#couple|2many};
System.out.println(MessageFormat.format(pattern, 0));
To dig up this old thread:
I now use Ate Douma's patch for JSR-286 support from
https://issues.apache.org/jira/browse/WICKET-1620 which has removed the
need for the portal to implement the Apache portlet bridge's two
interfaces. A small step for man etc. :)
There now is an issue - the same I had
OK, I did some experiments starting with a clean quicksort project. The
images did appear. However, when I modified the web.xml to change from:
filter-mapping
filter-namewicket.myproject/filter-name
url-pattern/*/url-pattern
/filter-mapping
to this:
filter-mapping
Thanks a lot, James.
I attach a simple class that makes it a little easier to work with
such messages.
On 13.06.2008, at 15:38, James Carman wrote:
The StringResourceModel uses MessageFormat patterns, so you could try
using a ChoiceFormat-based pattern. Try this out in a main method
I think you're doing a bit too much work here. StringResourceModel
allows you to pass in IModel objects as its parameters (check the
javadocs), so you could pass in an IModel that returns your size
parameter that is calculated at runtime.
On Fri, Jun 13, 2008 at 10:39 AM, Kaspar Fischer [EMAIL
On 13.06.2008, at 16:47, James Carman wrote:
I think you're doing a bit too much work here. StringResourceModel
allows you to pass in IModel objects as its parameters (check the
javadocs), so you could pass in an IModel that returns your size
parameter that is calculated at runtime.
If you
If yo have a Required validator on a TextField with wicket:id=mytextfield
in a form with wicket:id=myform in a Page called MyPage.java in a package
called com.mypackage then
create a file called MyPage.properties in the package com.mypackage
in this properties file is where you override the
I have read thie wiki about implementing https on certain page but failed to
do so when a Link is pressed to an https page. I have tried the https on
every page but now the flash movies is not displayed. Only in IE. Works in
firefox and safari. This is my setting in web.xml
security-constraint
Nino.Martinez wrote:
use a listview,propertylistview or repeater...
Differences are:
listview: iterates over a list
propertylistviw:-||- and bound the item.model via a compound model, very
usefull if you use compound models a lot.
repeater: repeats for int times, as I remember it..
Wilhelmsen Tor Iver wrote:
To dig up this old thread:
I now use Ate Douma's patch for JSR-286 support from
https://issues.apache.org/jira/browse/WICKET-1620 which has removed the
need for the portal to implement the Apache portlet bridge's two
interfaces. A small step for man etc. :)
Well,
Wicket 1.3 is configured as a filter rather than as a servlet. The
Quickstart shows a filter whose URL-PATTERN is /*.
The project that I wish to upgrade contains two Wicket 1.2 application
servlets (two different home-pages accessed via different URLs), and one
plain-vanilla non-Wicket servlet.
Has anyone successfully got ssl to work on certain pages
http://cwiki.apache.org/WICKET/how-to-switch-to-ssl-mode.html
If I implement this the none of my links work even if I create a SSLLink
class and annotate it with the suggested interface in the wiki page. All,
any help would be very
you have to give the mapping as a config param to the filter also, i
forget the exact name right now...
-igor
On Fri, Jun 13, 2008 at 10:00 AM, Frank Silbermann
[EMAIL PROTECTED] wrote:
Wicket 1.3 is configured as a filter rather than as a servlet. The
Quickstart shows a filter whose
Yes, there is a filter-mapping element that maps filter-name to
url-pattern.
However, as I mentioned in
http://www.nabble.com/Re%3A-%28Class%3C--extends-Page%3C-%3E%3E%29-casti
ng-troubles-td17640954i40.html#a17824049, when I changed the
url-pattern from /* to /something/* -- my static images
Ate Douma wrote:
Wilhelmsen Tor Iver wrote:
To dig up this old thread:
I now use Ate Douma's patch for JSR-286 support from
https://issues.apache.org/jira/browse/WICKET-1620 which has removed the
need for the portal to implement the Apache portlet bridge's two
interfaces. A small step for man
I have several Servlets and ServletFilters that run inside the same web
application as my Wicket app. They've happily co-existed with Wicket
until now, but now there is a requirement that several of them, which
can show sensitive data, must be protected with the same login security
as the
I had the same issue recently and Igor posted a good solution.
See:
http://www.nabble.com/Wicket-play-nicely-with-GWT-to1736.html#a17222908
- Brill Pappin
On 13-Jun-08, at 3:35 PM, Scott Sauyet wrote:
I have several Servlets and ServletFilters that run inside the same
web application
the filter itself takes a configuration param where you have to repeat
the mapping...
class WicketFilter {
/**
* The name of the root path parameter that specifies the root dir of
the app.
*/
public static final String FILTER_MAPPING_PARAM =
Cool, is that new?
- Brill
On 13-Jun-08, at 3:43 PM, Igor Vaynberg wrote:
see WicketSessionFilter
-igor
On Fri, Jun 13, 2008 at 12:35 PM, Scott Sauyet [EMAIL PROTECTED]
wrote:
I have several Servlets and ServletFilters that run inside the same
web
application as my Wicket app. They've
Hi All,
In my application the Home Page of the class has the url that looks like
this
http://localhost:8080/app/?id=ABCXYZ
This form has a textfield that I am pre-filling with value of id from
query param (in this case ABCYXZ).
It also has JCaptcha component and a text field component to
you wanted access to raw http session from your wicket app, he wants
to access wicket session object from outside servlets. different
usecase.
-igor
On Fri, Jun 13, 2008 at 12:46 PM, Brill Pappin [EMAIL PROTECTED] wrote:
Cool, is that new?
- Brill
On 13-Jun-08, at 3:43 PM, Igor Vaynberg
use statelessform
-igor
On Fri, Jun 13, 2008 at 12:46 PM, nanotech [EMAIL PROTECTED] wrote:
Hi All,
In my application the Home Page of the class has the url that looks like
this
http://localhost:8080/app/?id=ABCXYZ
This form has a textfield that I am pre-filling with value of id from
Maybe override onError and redirect to the bookmarkable page w/ params?
On Fri, Jun 13, 2008 at 3:46 PM, nanotech [EMAIL PROTECTED] wrote:
Hi All,
In my application the Home Page of the class has the url that looks like
this
http://localhost:8080/app/?id=ABCXYZ
This form has a textfield
Like this?
?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4
guess so
-igor
On Fri, Jun 13, 2008 at 1:04 PM, Frank Silbermann
[EMAIL PROTECTED] wrote:
Like this?
?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Adding the filterMappingUrlPattern didn't seem to make any difference.
When both are set to /* I see the image; when both are set to
/test/* then I don't see the image.
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2008 3:10 PM
To:
I used StateLess form but there is no difference. both the Problems still
there.
i.e.
1. Query parameter goes away when the form is submitted and if there are
validation errors.
2. URL changes to http://localhost:8080/app/?wicket:interface=:0
My hierarchy looks like.
--MyApplication
But if I do that wouldn't the feedback messages will go away?
-- Thoughts?
RG
Ryan Gravener-3 wrote:
Maybe override onError and redirect to the bookmarkable page w/ params?
On Fri, Jun 13, 2008 at 3:46 PM, nanotech [EMAIL PROTECTED] wrote:
Hi All,
In my application the Home Page of
Igor Vaynberg wrote:
see WicketSessionFilter
Thank you. That works perfectly.
What a great list!
-- Scott
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
In my Wicket 1.2 application I used a Java 1.5 JDK. Wicket didn't seem
to mind that I used annotations, etc. in my own code. I did the same in
code that I upgraded to Wicket 1.3. Also, my Wicket 1.2 application was
built from scratch using JBuilder 2006; but the
Do you compile Wicket yourself? If so, this should be compiled using --source
1.4. Your own code can stay with --source 1.5.
Timm
Am Freitag, 13. Juni 2008 22:58:53 schrieb Frank Silbermann:
In my Wicket 1.2 application I used a Java 1.5 JDK. Wicket didn't seem
to mind that I used
No, I do not compile Wicket myself -- at least. I merely have
dependencies to Wicket in the pom.xml.
-Original Message-
From: Timm Helbig [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2008 4:06 PM
To: users@wicket.apache.org
Subject: Re: Using Java 1.5 features with Wicket 1.3
Do
Never mind. I rebooted my machine and everything is back to normal.
Sigh.
-Original Message-
From: Frank Silbermann [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2008 4:19 PM
To: users@wicket.apache.org
Subject: RE: Using Java 1.5 features with Wicket 1.3
No, I do not compile
I am not aware of a distinction between software decorator and ui
decorator. But seeing as wicket is a ui framework, I'll go with ui
decorator. Border looks somewhat like a decorator, but since it does not
wrap another component, it is not. Also Border needs different markup
than the component
well, package an example project that demonstrates it and attach it to jira
-igor
On Fri, Jun 13, 2008 at 1:19 PM, Frank Silbermann
[EMAIL PROTECTED] wrote:
Adding the filterMappingUrlPattern didn't seem to make any difference.
When both are set to /* I see the image; when both are set to
the query parameter will go away, you have to readd it yourself.
are you sure you are using the stateless form? doesnt look like it
from the url. what does the generated form action url look like?
-igor
On Fri, Jun 13, 2008 at 1:24 PM, nanotech [EMAIL PROTECTED] wrote:
I used StateLess form
On Fri, Jun 13, 2008 at 2:44 PM, Matthijs Wensveen [EMAIL PROTECTED] wrote:
By the way, the article I supplied and the article on wikipedia do just the
same thing. If you look at VerticalScrollBarDecorator.draw you'll see that
it delegates the method to the wrapped Window.
decorator classes in
On Thu, Jun 12, 2008 at 2:06 PM, Matthijs Wensveen [EMAIL PROTECTED] wrote:
Some useful design patterns like Decorator don't work with final methods.
Wicket components sometimes have overridable factory methods for child
components. The decorator pattern could be very useful here, because you'd
...
this into consideration with the next major API
... revision (1.5)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
True, it's been weighing the disadvantages vs the advantages, and so
far, ensuring that we wouldn't paint ourselves in the corner too
quickly won over flexibility.
To make this 'painless' though, we'd probably need a whole bunch of
interfaces. We've looked into moving to a more interface based
Igor Vaynberg wrote:
On Fri, Jun 13, 2008 at 2:44 PM, Matthijs Wensveen [EMAIL PROTECTED] wrote:
By the way, the article I supplied and the article on wikipedia do just the
same thing. If you look at VerticalScrollBarDecorator.draw you'll see that
it delegates the method to the wrapped
Eelco Hillenius wrote:
True, it's been weighing the disadvantages vs the advantages, and so
far, ensuring that we wouldn't paint ourselves in the corner too
quickly won over flexibility.
To make this 'painless' though, we'd probably need a whole bunch of
interfaces. We've looked into
I created an Link to another page's anchor similar to the code shown below. The
anchor actually gets tagged on to the bookmarkable URL. However, for some
reason the browser does not jump to my anchor.
Not sure what's going on - is there a particular way I have to create an anchor
in Wicket so
On Fri, Jun 13, 2008 at 7:02 PM, Matthijs Wensveen [EMAIL PROTECTED] wrote:
It's good to know that when you reach the same conclusion it is a deliberate
one.
BTW, interfaces are useful for this, but not a necessity. Or am I the only
one thinking that (I seem to be... hmm...). More interfaces
LOL.
-igor
On 6/13/08, James Carman [EMAIL PROTECTED] wrote:
On Fri, Jun 13, 2008 at 7:02 PM, Matthijs Wensveen [EMAIL PROTECTED]
wrote:
It's good to know that when you reach the same conclusion it is a
deliberate
one.
BTW, interfaces are useful for this, but not a necessity. Or am I the
58 matches
Mail list logo