Is it possible to implement one table with different providers? My problem is
that there are some entries in my table with values coming from different
POJOs. I don't have any idea how to mix different POJOs in one data
provider.
--
View this message in context:
http://apache-wicket.1842946.n4.na
Can you use a compound provider which delegates the logic to N other
providers and collects their responses into one ?
On Wed, Sep 28, 2011 at 2:44 AM, codix wrote:
> Is it possible to implement one table with different providers? My problem is
> that there are some entries in my table with value
As far as I understand, both suggested solutions work on the entire
application, right? Is there no way to define a particular resource
caching strategy for a particular resource or set of resources, e.g.
set a resource strategy for all javascript resources, but leave
everything else default?
A
O
On Wed, Sep 28, 2011 at 9:58 AM, Arne And wrote:
> As far as I understand, both suggested solutions work on the entire
> application, right? Is there no way to define a particular resource
> caching strategy for a particular resource or set of resources, e.g.
> set a resource strategy for all java
Hi Group,
I am new to Wicket and I am attempting to read some JSON data posted from a
wicket page.
The following exception occurs with Wicket 1.4.18 and Jetty 6.1.x when
attempting to read the servlet request - BufferedReader br = hsr.getReader().
Sep 28, 2011 8:50:48 AM org.apache.wicket.Requ
I'm sorry but I don't get your statement. Currently, I have one data provider
and a data table. To populate the rows, I call another panel where a Label
is added. Currently I am using a POJO with a particular type. Unfortunately,
other data calls for other POJOs with different types. Trying to cast
This exception says "Don't use the reader but use the input stream
because something (maybe header) has been already read from the
stream".
On Wed, Sep 28, 2011 at 10:59 AM, Tate Jones wrote:
> Hi Group,
>
> I am new to Wicket and I am attempting to read some JSON data posted from a
> wicket pag
No that was not was I was saying. I am just advising you to let Wicket
manage complete pages, instead of parts of pages composed within another
servlet architecture. I would give you the same advise if you were using
JSF instead.
On Tuesday, September 27, 2011 11:58 AM, "koha...@gmail.com"
wrote:
Actually it seems Wicket is to blame here.
In wicket-ajax.js, line 1680 (processScript() method) there is the
following line:
var req = new Wicket.Ajax.Request(src, onLoad, false, false);
where src is the src attribute of the contributed script element.
Why Wicket tries to load the script body wit
hi folks,
i have this problem:
have panel:
cart:
[0]
items, [0] $
then implementing class:
package cz.mineralshop;
import java.util.ArrayList;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.panel.Panel
Hi all,
I want to generate a Line chart (from Google Visualization API) when I
submit a form.
To do that, I used getAjaxCallDecorator like this :
AjaxButton submit = new AjaxButton("submit") {
private int agePersonne;
private double risque;
@Override
how is your composite?
page
|-Form (with own FeedbackPanel)
||-Panel (with own FeedbackPanel)
|
|-Other stuff
?
On Wed, Sep 28, 2011 at 11:33 AM, Miroslav F. wrote:
> hi folks,
>
> i have this problem:
>
> have panel:
>
> cart:
> [0]
> items, [0] $
>
Move your code from IAjaxCallDecorator to onSubmit() and use
target.appendJavascript()
IAjaxCallDecorator is used to modify the javascript which is used to
in which is not what you want
On Wed, Sep 28, 2011 at 11:41 AM, Mathilde Pellerin
wrote:
> Hi all,
>
> I want to generate a Line chart (fro
Page1
\
+--- PanelCart
|
+--- Form
i know all fedback panels displays all feedback messages and i have to
filter them. what i don't know is how to tell in PanelCart to display
only messages produced in PanelCart and ignore others messages?
> -Original Message-
> F
Hi,
I´m just upgrading a quire large Application to Wicket 1.5.
I just saw that the Method
public final Panel startPanel(final ITestPanelSource testPanelSource)
is marked deprecated with the hint:
@deprecated since 1.5 use {@link #startComponentInPage(Class,
IMarkupFragment)} instead
But that
have you tried ContainerFeedbackMessageFilter instead?
2011/9/28 Miroslav F. :
> Page1
> \
> +--- PanelCart
> |
> +--- Form
>
> i know all fedback panels displays all feedback messages and i have to
> filter them. what i don't know is how to tell in PanelCart to display
> only m
Use org.apache.wicket.util.tester.BaseWicketTester.startComponentInPage(C)
On Wed, Sep 28, 2011 at 12:01 PM, splitshade
wrote:
> Hi,
>
> I´m just upgrading a quire large Application to Wicket 1.5.
> I just saw that the Method
> public final Panel startPanel(final ITestPanelSource testPanelSource)
If you want to show the feedback messages for only PanelCart use
ComponentFeedbackMessageFilter
If you want to show the messages for PanelCart and its sub-components , use
ContainerFeedbackMessageFilter
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/filter-feedback-
yes. it doesn't matter if i do:
this.add(new FeedbackPanel("feedback", new
ComponentFeedbackMessageFilter(this)));
or
this.add(new FeedbackPanel("feedback", new
ContainerFeedbackMessageFilter(this)));
in PanelCart.class, panel still show messages produced in form.
> -Original Message-
>
what's the feedback message filter you've added to the form?
2011/9/28 Miroslav F. :
> yes. it doesn't matter if i do:
> this.add(new FeedbackPanel("feedback", new
> ComponentFeedbackMessageFilter(this)));
> or
> this.add(new FeedbackPanel("feedback", new
> ContainerFeedbackMessageFilter(this)));
Hi All,
Suppose i have a textfield with and oncomponentchange behavior which is
being used to do a search.
Now the search can be done in two ways, say 1 method is faster than the
other.
The searrch results are displayed vide ajax in a table.
Is there anyway to fire two consecutive ajax reque
Hi,
does form use PanelCart fields for validation?
yes. it doesn't matter if i do:
this.add(new FeedbackPanel("feedback", new
ComponentFeedbackMessageFilter(this)));
or
this.add(new FeedbackPanel("feedback", new
ContainerFeedbackMessageFilter(this)));
in PanelCart.class, panel still show message
i think that form doesn't need filter - or to be precise i don't want to
filter messages in form.
i only need to filter messages in panelcart (which extends panel):
public class PanelCart extends Panel
{
public PanelCart(String id)
{
super(id);
...d
form may need a filter too.
2011/9/28 Miroslav F. :
> i think that form doesn't need filter - or to be precise i don't want to
> filter messages in form.
>
> i only need to filter messages in panelcart (which extends panel):
>
> public class PanelCart extends Panel
> {
> public PanelCart(S
Use OnChangeAjaxBehavior to fire request to method 1 and
AbstractAjaxTimerBehavior for method 2.
Override their #getChannel() method to return different name so they
are not queued at the client.
Have fun with synchronizing them...
On Wed, Sep 28, 2011 at 12:24 PM, Pranav kacholia
wrote:
> Hi Al
at the moment o don't deal with form filter, i deal with problem
how to filter in PanelCart messages not produced in PanelCart and
how to set it in PanelCart -see below ;-)
> -Original Message-
> From: manuelbarzi [mailto:manuelba...@gmail.com]
> Sent: 28. September 2011 12:39
> To: user
ah there you go, got it.
Thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/WicketTester-startPanel-marked-deprecated-tp3850565p3850659.html
Sent from the Users forum mailing list archive at Nabble.com.
Ok, I understand.
Thanks, it works well now.
2011/9/28 Mathilde Pellerin
> Hi all,
>
> I want to generate a Line chart (from Google Visualization API) when I
> submit a form.
> To do that, I used getAjaxCallDecorator like this :
>
> AjaxButton submit = new AjaxButton("submit") {
>
Yeah, that sounds like a synchronization headache
i guess another way of phrasing this is whether there is anyway of making an
AjaxUpdate non-blocking.
as data is available, it will constantly update.
Be very useful for searches
--
View this message in context:
http://apache-wicket.184294
Which version of Wicket are you using? I'm trying to reproducing the bug
wit 1.4.17 but without success.
at the moment o don't deal with form filter, i deal with problem
how to filter in PanelCart messages not produced in PanelCart and
how to set it in PanelCart -see below ;-)
-Original Mes
1.4.13
> -Original Message-
> From: Andrea Del Bene [mailto:adelb...@ciseonweb.it]
> Sent: 28. September 2011 13:00
> To: users@wicket.apache.org
> Subject: Re: filter feedback messages
>
> Which version of Wicket are you using? I'm trying to
> reproducing the bug wit 1.4.17 but withou
Hello,
I've got a PagingNavigation on a PageableListView, contained in a parent
Page. To me it looks like it renders the whole page when paging its assigned
pageableView. I would like to know if AjaxPagingNavigation would refresh
only its assigned pageableView, because there are other components on
yes. this is how it works
On Wed, Sep 28, 2011 at 1:54 PM, Martin A wrote:
> Hello,
> I've got a PagingNavigation on a PageableListView, contained in a parent
> Page. To me it looks like it renders the whole page when paging its assigned
> pageableView. I would like to know if AjaxPagingNavigatio
Thanks, but strangely, clicking on a AjaxNavigationLink returns empty
response. Do you have any ideas why this happens?
Thanks!
On Wed, Sep 28, 2011 at 3:01 PM, Martin Grigorov wrote:
> yes. this is how it works
>
> On Wed, Sep 28, 2011 at 1:54 PM, Martin A wrote:
> > Hello,
> > I've got a Pagi
same with 1.4.18
> -Original Message-
> From: Miroslav F. [mailto:mir...@seznam.cz]
> Sent: 28. September 2011 13:26
> To: users@wicket.apache.org
> Subject: RE: filter feedback messages
>
> 1.4.13
>
> > -Original Message-
> > From: Andrea Del Bene [mailto:adelb...@ciseonweb.i
hmm, stil no succes, still trying. again recap:
public class PageBase extends WebPage
{
public PageBase()
{
this.add(new PanelCart("cart").setRenderBodyOnly(true));
}
}
public class PageOrder extends PageBase
{
public PageOrder()
{
I know there is a current thread discussing how to remove the
wicket-ver-XXX from the url for a js file. I was wondering if there was
a way to include the wicket-ver-XXX for all CSS and JS references in
wicket 1.4.18?
I am sure it is probably something simple that I am overlooking.
Thanks
I've practically made a carbon copy of your code, but everything seems
work well (tested also with wicket 1.4.13). Can you attach the full code
(markup included) of your panel and pages?
hmm, stil no succes, still trying. again recap:
public class PageBase extends WebPage
{
public PageB
hrm. that seems pretty strange. might have had something to do with
WICKET-1623. something we should fix though...
-igor
On Wed, Sep 28, 2011 at 2:22 AM, Martin Grigorov wrote:
> Actually it seems Wicket is to blame here.
> In wicket-ajax.js, line 1680 (processScript() method) there is the
> fo
this is a new feature in 1.5
-igor
On Wed, Sep 28, 2011 at 7:06 AM, Jeffrey Schneller
wrote:
> I know there is a current thread discussing how to remove the
> wicket-ver-XXX from the url for a js file. I was wondering if there was
> a way to include the wicket-ver-XXX for all CSS and JS refere
this error happens on this simple composite (wicket 1.4.17):
Page
|-Panel
|-Form
|-TextField
|-TextField
|-TextArea
|-TextField
|-TextField
|-Button
|-Button
when just rendering this simple page (no logic implemented yet), th
sounds like a problem with your html...
-igor
On Wed, Sep 28, 2011 at 9:18 AM, manuelbarzi wrote:
> this error happens on this simple composite (wicket 1.4.17):
>
> Page
> |-Panel
> |-Form
> |-TextField
> |-TextField
> |-TextArea
> |-TextField
> |-
TextArea is one-self-closed tag <.../>.
should TextArea two-opening-closing tags <...>... work fine.
On Wed, Sep 28, 2011 at 6:18 PM, manuelbarzi wrote:
> this error happens on this simple composite (wicket 1.4.17):
>
> Page
> |-Panel
> |-Form
> |-TextField
> |-TextFiel
should a single closed textarea tag be a problem? neither html editor
nor wicket markup validation complains about it.
.
On Wed, Sep 28, 2011 at 6:26 PM, Igor Vaynberg wrote:
> sounds like a problem with your html...
>
> -igor
>
>
> On Wed, Sep 28, 2011 at 9:18 AM, manuelbarzi wrote:
>> this e
per html spec textarea must have a closing tag...
-igor
On Wed, Sep 28, 2011 at 9:25 AM, manuelbarzi wrote:
> TextArea is one-self-closed tag <.../>.
>
> should TextArea two-opening-closing tags <...>... work fine.
>
>
>
> On Wed, Sep 28, 2011 at 6:18 PM, manuelbarzi wrote:
>> this error happe
confirmed: a single self-closed textarea tag () makes
rendering fail in this wicket version. it does not complain about
textarea markup (neither html editor), but renders it containing the
remaining html escaped inside, and setting a closing textarea tag at
the end.
only double opening-closing tex
right.
may wicket html validation complain in future version for this
particular case. low priority issue...
.
On Wed, Sep 28, 2011 at 6:42 PM, Igor Vaynberg wrote:
> per html spec textarea must have a closing tag...
>
> -igor
>
> On Wed, Sep 28, 2011 at 9:25 AM, manuelbarzi wrote:
>> TextAre
file a jira issue
-igor
On Wed, Sep 28, 2011 at 9:52 AM, manuelbarzi wrote:
> right.
>
> may wicket html validation complain in future version for this
> particular case. low priority issue...
> .
>
>
>
> On Wed, Sep 28, 2011 at 6:42 PM, Igor Vaynberg
> wrote:
>> per html spec textarea must ha
Hi,
How do I add a cookie to a URL redirect response? I started with the
following class:
public class RedirectToUrlWithHandlerException extends
ReplaceHandlerException {
...
public RedirectToUrlWithHandlerException(final String redirectUrl,
final int statusCode, final IRequestHandler ha
Hello,
We are running into memory usage problems in our Wicket application. The
team has identified several areas worth of improving. However we were only
able to do that by looking at our code and not by profiling the jvm. This
brings me to my actual questions:
1. Is there tool or method to deter
Does anyone have an article on how to add dynamic content such that the
content isn't defined in the markup at compile time. It is generated at
runtime.
For example.
Old Way - Listing1
...
With dynamic content - Listing2
...
I could use an offline, compil
Hi, I have the same problem but I'm getting the request in a different way:
(HttpServletRequest)
PolicyContext.getContext("javax.servlet.http.HttpServletRequest")
Did you find a solution?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Authorization-using-JAAS-and-
Q1:
After the upgrade to 1.5 version , I found that the ModalWindow appear in IE
"Page Expired" error, but in Chrome browser to normal.
Same Code for ModalWindow works for Firefox, IE, Chrome with wicket 1.4.18
version.
My ModalWindow Use WebPage Mode, not Page Mode.
Q2:
sometimes Modalwindow d
yourkit is an excellent profiler...
-igor
On Wed, Sep 28, 2011 at 6:04 PM, Dawid Dudzinski wrote:
> Hello,
>
> We are running into memory usage problems in our Wicket application. The
> team has identified several areas worth of improving. However we were only
> able to do that by looking at our
I remember we discussed it before:
http://apache-wicket.1842946.n4.nabble.com/Wicket-MashUpContainer-td1893282.html
2011/9/29 Brown, Berlin [GCG-PFS] :
> Does anyone have an article on how to add dynamic content such that the
> content isn't defined in the markup at compile time. It is generat
any component can implement IMarkupResourceStreamProvider and return
whatever markup it wants wicket to use. If you need a fine-tuned
control over the caching mechanism for this markup you can also let
your components implement IMarkupCacheKeyProvider.
-igor
On Wed, Sep 28, 2011 at 8:05 PM, Brow
please create a quickstart that reproduces the issue and attach it to
a jira issue.
-igor
On Wed, Sep 28, 2011 at 8:54 PM, nhsoft.yhw wrote:
> Q1:
> After the upgrade to 1.5 version , I found that the ModalWindow appear in IE
> "Page Expired" error, but in Chrome browser to normal.
>
> Same Co
After migration to Wicket 1.5 I'm wondering why our tests with our own
IPageFactory implementation is not working anymore. In our tests we use the
following code ...
WicketTester tester = new WicketTester();
tester.getApplication().getSessionSettings().setPageFactory( new
FooPageFactory() );
But
On Thu, Sep 29, 2011 at 3:04 AM, Dawid Dudzinski wrote:
> Hello,
>
> We are running into memory usage problems in our Wicket application. The
> team has identified several areas worth of improving. However we were only
> able to do that by looking at our code and not by profiling the jvm. This
> b
here is exception stack, but only IE throws the exception
ERROR - DefaultExceptionMapper - Connection lost, give up responding.
org.apache.wicket.protocol.http.servlet.ResponseIOException:
ClientAbortException: java.io.IOException
at
org.apache.wicket.protocol.http.servlet.ServletWeb
This is fixed in 1.5.1
On Thu, Sep 29, 2011 at 8:50 AM, nhsoft.yhw wrote:
> here is exception stack, but only IE throws the exception
>
>
> ERROR - DefaultExceptionMapper - Connection lost, give up responding.
> org.apache.wicket.protocol.http.servlet.ResponseIOException:
> ClientAbortExcepti
Indeed this is missed.
I'll create a ticket for it.
Thanks!
On Thu, Sep 29, 2011 at 8:05 AM, Dirk Forchel wrote:
> After migration to Wicket 1.5 I'm wondering why our tests with our own
> IPageFactory implementation is not working anymore. In our tests we use the
> following code ...
>
> WicketT
62 matches
Mail list logo