Hi,
I'm trying to use the InlineFrame component. I create an IPageLink
object to it. The object holds a reference to a page.
By placing breakpoints, I can see that the IPageLink object is created
once.
InlineFrame#onLinkClicked is called twice. On the first time, the page
reference is fine
I guess wicket should dump the page serialized size in development
mode. So that users see them when developing.
On 21/01/2009, Michael O'Cleirigh wrote:
> Hello,
>
> A big delay in refreshing can be a sign that your pages are serializing
> your domain object graph as part of the page serializati
Maybe if you want listeners then only the session listen to those? And
pages/components when they render pull the changes out of the session?
On 25/01/2009, Frank van Lankvelt wrote:
> But how is a view to know if its model (object) has changed in the pull
> model? One way that I see this workin
What we doe is pretty simple
Just remeber the last rendered value of a component. Then you can
compare this to something and you know if it is changed ore not.
On 25/01/2009, Frank van Lankvelt wrote:
> But how is a view to know if its model (object) has changed in the pull
> model? One way that
You should hold that info yourself
Not the page itself but just the id and the version number (and pagemap)
Then through session.get(x,y,z) you can get the page
On 25/01/2009, Per Newgro wrote:
> Hi,
>
> can i easily access the page from which another page is called? I would
> like to share the
Perfect, thanks!
igor.vaynberg wrote:
>
>
>
>
>
> -igor
>
--
View this message in context:
http://www.nabble.com/Panel-in-List%2C-remove-extra-div-tp21656188p21656303.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
-igor
On Sun, Jan 25, 2009 at 12:19 PM, Prag wrote:
>
> I have a page on which I want to show products. Because I want to also want
> to show products on otherpages in the same way, I've made a ProductPanel.
> I'm also using ListView to show multiple ProductPanels on each page.
>
> I'm
I have a page on which I want to show products. Because I want to also want
to show products on otherpages in the same way, I've made a ProductPanel.
I'm also using ListView to show multiple ProductPanels on each page.
I'm using a panel in a list, but this gives an extra div. I don't see how I
ca
Hi Farhan,
Yes, indeed. After so many years Wicket can still surprise me.
Anyway, the problems you have with this are identical as you would have with
the c:import tag. What you want is not simply feasible. It would be wise to
consider alternatives. For example moving the JSPs into the same cont
Hi,
can i easily access the page from which another page is called? I would
like to share the navigational infos of one page with the next page.
That should be achieved by pulling the NaviModel of the last page (if
present).
If i debug i can see that there is a pagemap - (SecondLevel) whic
Guys,
I’m writing a Wizard using DynamicWizardModel such that each step is of
DynamicWizardStep kind.
Question number 1: I would like to popup a success message to the user
(better a new popup window, a small one) after the last step, i.e.
overriding the onFinish() Wizard event and then show the W
no, even what matej has is still a prototype. when we release 1.4.2 we
will branch it off and trunk will become 1.5.
-igor
On Sat, Jan 24, 2009 at 7:26 PM, Martin Voigt wrote:
> Hey *,
>
> is any code available yet for stuff that is past 1.4? So far the only
> thing I've found is Matej's ajax re
I think I may have resolved the issue although I still feel it's a bit hacky.
On the data provider implementation, I set a searchString property every
time a new search is entered and then clear out the cached list and reload
new data (slight optimization - don't refresh is string is same as old
Or should I replace the dataview itself (this would be very inefficient)?
In the data provider, in the constructor I call out into the DAO and
retrieve results that are collected in a transient list. Iterations occurs
over this list (the dataset is small so holding the list in memory isn't a
prob
Hi,
That's right. How do I replace the dataProvider? It doesn't have an ID so I
can't use replaceWith... Any suggestions?
Thanks!
Newgro wrote:
>
> I don't see the complete process, but if i'm not completely wrong you is
> creating the DataProvider instance twice. Once in constructor and onc
But how is a view to know if its model (object) has changed in the pull
model? One way that I see this working is if views extract all state
that they need to do the rendering into a separate object. This object
is then recalculated from the model that is used by the view on each
request. Is thi
Hey,
I created a Wicket skeleton project via Maven.
When trying to install the project, I got this error:
java.lang.ClassCastException: wicket.Initializer cannot be cast to
org.apache.wicket.IInitializer
at org.apache.wicket.Application.addInitializer(Application.java:755)
I don't see the complete process, but if i'm not completely wrong you is
creating the DataProvider instance twice. Once in constructor and once
in the AjaxButton.onSubmit method. But you is not assign this new
instance to the dataview. Hit me if i'm wrong.
Cheers
Per
-
Please read MyDataProvider as DomainDataProvider
cbchhaya wrote:
>
> Hi,
>
> Thanks for your response. Here's some code, if this helps.
>
> For the WMC:
> WMC wmc = new WMC("data");
> wmc.setOutputMarkupId(true);
> add(wmc);
>
> On the form:
>
> form.add(new AjaxButton("searchBtn"){
>
Hi,
Thanks for your response. Here's some code, if this helps.
For the WMC:
WMC wmc = new WMC("data");
wmc.setOutputMarkupId(true);
add(wmc);
On the form:
form.add(new AjaxButton("searchBtn"){
@Override
protected void onSubmit(AjaxRequest
cbchhaya schrieb:
Hi all,
Apologies if this has been answered elsewhere - I could not find a relevant
thread.
I have a Panel containing a form, with a textfield and button, and a
WebMarkupContainer containing a dataview. The provider for the dataview
sources data from a database based on the st
Hi all,
Apologies if this has been answered elsewhere - I could not find a relevant
thread.
I have a Panel containing a form, with a textfield and button, and a
WebMarkupContainer containing a dataview. The provider for the dataview
sources data from a database based on the string entered in the
Hey *,
is any code available yet for stuff that is past 1.4? So far the only
thing I've found is Matej's ajax rewrite in
http://svn.apache.org/repos/asf/wicket/sandbox/knopp/experimental/.
Since some issues targeted at 1.5-M1 in jira have received patches, I
was wondering what these patches where
23 matches
Mail list logo