OkkI think for large user base, I should go for stateless pages. But the
problem is that my app is entirely ajax based. So, how would I use ajax
behavior for stateless components. As far as I have read, ajax requires
components to be stateful
(/http://apache-wicket.1842946.n4.nabble.com/statele
I have Modal window that contains external webpage. (e.g.
RedirectPage(www.google.com))
I need to figure out the way to close the modal window by clicking button or
link from this external site.
What kind of javascript do I have to use to close the modal window?
I've tried to copy the javascript th
how exactly would you attach a link to a span? link would complain
that it is not attached to an anchor tag...
-igor
On Wed, Aug 1, 2012 at 2:45 PM, Steve Lowery wrote:
> The DataTable was changed in wicket 6 to use wicket:container instead of
> span on the td and th elements (
> https://issues.
Actually I cant do in my case
As i have given a flexibility to create n number of pages by adding and
removing different wicket components
and my framework allows to add those component dynamically in a class
So every time when we need to create new page using those components can be
done wit
So What should i do exactly in this case
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Redirecting-from-Ajax-onSubmit-tp4650938p4650971.html
Sent from the Users forum mailing list archive at Nabble.com.
-
Thank you, that's exactly the type of advice I was looking for!
On Thu, Aug 2, 2012 at 2:55 PM, Sven Meier wrote:
> This is not possible with ListView.
>
> You have to switch to RefreshingView with a ReuseIfModelsEqualStrategy.
>
> Hope this helps
> Sven
>
>
> On 08/02/2012 08:45 PM, Benjamin Hei
This is not possible with ListView.
You have to switch to RefreshingView with a ReuseIfModelsEqualStrategy.
Hope this helps
Sven
On 08/02/2012 08:45 PM, Benjamin Heiskell wrote:
That makes the TextFields reflect their original model correctly, but
it also disposes of any modified values.
For
I would say it depends. Generally, it should help to use detachable
models, but for very small objects (like static strings), it's won't
give a big gain. Besides memory gains, detachable models also reload
their data each request which ensures non-stale objects.
On 02/08/2012 11:28 AM, kshiti
That makes the TextFields reflect their original model correctly, but
it also disposes of any modified values.
For example:
1. List starts with "1", "2", "3"
2. Add two entries "4", "5"
3. Modify "1" to "modified"
4. Remove "2"
What I would like to see is: "modified", "3", "4", "5"
What I
After submit your TextFields still have their previous RAW_INPUT, call
form#clearInput() so they render the value from the model.
Sven
On 08/02/2012 05:31 PM, Benjamin Heiskell wrote:
Additions seem to work fine with setReuseItems(true), but I've been
having trouble with removals. My remove Aj
There is probably a better way, but I just create very simple subclasses to
allow separate mounts.
class ProductPage extends DynamicWebPage {
ProductPage(PageParagemeters p) {
super(p);
}
}
On Wed, Aug 1, 2012 at 12:10 PM, vinitty wrote:
> I am making an application where multipl
Additions seem to work fine with setReuseItems(true), but I've been
having trouble with removals. My remove AjaxButton calls
listView.getList().remove(item.getIndex()), but that always removes
the last element. Am I making an incorrect assumption about how this
should work?
The following is a simp
Thanks for the links. One thing that I want to ask that do yo think we should
use LoadableDetachable models to minimize session usage? Like for every
thing examples labels, links, dropdowns, etc.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Need-suggestion-on-mi
Hi Paul,
The reason for the dropdown over the checkbox is I'm attempting to enforce a
selection. I.e. make required or @NotNull
I think I got a bit carried away by attempting to extend DropDownChoice. Thanks
for the link. The following is what I'm going forward with:
new DropDownChoice("activ
Can't you simply get away with calling setResponsePage()?
~ Thank you,
Paul C Bors
On Aug 1, 2012, at 20:17, vinitty wrote:
> I am trying to do the redirection from AjaxSubmitLink onSubmit method
> using this
> RequestCycle.get().scheduleRequestHandlerAfterCurrent(reqTarget);
>
> But i am
Hi,
what kind of problem have you encountered with ListView?
Hi,
I have a List that I want to represent with TextFields. I need
to be able to dynamically add and remove them via AJAX.
From what I’ve read online (and experienced firsthand) ListViews do
not seem to be designed for this.
What i
Hi,
You can read the following email thread for insight:
http://wicket-users.markmail.org/thread/6qqc4pxt77mulpmt
Also have a look at this:
http://www.small-improvements.com/blog/technical/tuning-wicket-session-size
These links talk about session size in general, not only about stateless
compo
yes, using stateless pages when it's possible will definitely reduce
your session size. Wicket offers a stateless version for those
components which by default have a stateful nature, like forms and
links. As general rule you can implement a stateless page when the page
doesn't need to keep it
I am making an application where multiple urls need to mount to Same Class
Like
/product
/category
/upgrades
to DynamicWebPage.class
I have mount like new MountMapper(url, class);
Now when i hit the page /product its coming fine, but all the links on that
page is coming like this
/category?fsa
I am trying to do the redirection from AjaxSubmitLink onSubmit method
using this
RequestCycle.get().scheduleRequestHandlerAfterCurrent(reqTarget);
But i am not seeing redirection on browser
I am using wicket 1.5.7
Please help me
--
View this message in context:
http://apache-wicket.1842
Hi,
I need some suggestions. In my wicket application (in development phase), I
have used normal forms and links. While going through the concept of
stateless pages and forms, I am confused about converting the forms and
components to stateless. Will it really minimize session usage in the
system.
Hi Oliver,
In your Application init add
IResourceSettings resourceSettings = getResourceSettings();
resourceSettings.addResourceFolder("c:\project"); //this path
should be changed
Regards., Sandor
--
View this message in context:
http://apache-wicket.
Hi,
I have a small but annoying problem. I'm sure there is a solution laying
around but let me ask it anyway.
This is a common zip code - location problem I intend to solve with actf.
I would like to get zip code read only (user can choose only location name).
To get my model up to date I introduc
Even better, why are you using a drop down at all? Check boxes are
normally used for true-false choices.
From: Paul Bors
To:
Date: 08/01/2012 07:51 PM
Subject:RE: Boolean DropDownChoice
Instead of going to the extent of overriding a class because your model
value is not upd
Hi,
before i do this myself i would like to ask the community if someone has done
this already.
I want to mount pages at these urls:
mountPage("/pages/${color}/advertise", AdvertisePage.class);
mountPage("/pages/${color}/${niceColor}", ColoredPage.class);
But because they both have 3 matching u
Another technical question is who (I suppose wiquery) and why change
Wicket.Event.add(window, "domready", function(event) { new
wicketdnd.DropTarget(...) });
in
$(document).ready(function(event){new wicketdnd.DropTarget(...)});
Best regards,
Decebal
--
View this message in context:
http:
Hi Julien
Thanks for the fast response. Sven says that for wicket 6, wicket-dnd will
be port to jquery but now I see that I have only one option: to give up one
library (wiquery or wicket-dnd). Both libraries are very good and I want to
keep both.
Is it a chance to activate jquery no conflict mod
hi
Prototype uses $ like jQuery. That can create conflict (your error message
indicates that the jquery method "ready" is not available. probably vecause
Prototype was loaded after jquery and so override $.).
jquery offers a noconflict mode, but I don't remember if we have integrate
it to wiquery
Le 31/07/2012 08:33, Emond Papegaaij a écrit :
But one more question though : why rendering wicket:head (in the markup
file) contributions before renderHead() (in the java file) contributions ?
With these things you just have to make a decision. Both orders are equally
valid. You use wicket:hea
Nice. I see a beautiful future :) wicket-dnd integrated with wicket tree and
of course wicket-dnd part of wicket core.
Now, I'm waiting a clarification from a member of wiquery.
Thanks again,
Decebal
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange
For Wicket 6 I'll port wicket-dnd to jquery.
Sven
Decebal Suiu schrieb:
>Hello Sven
>
>First, I want to say thanks for your contribution to wicket (for wicket-tree
>and wicket-dnd in special).
>
>Yes, I use wiquery :) I read
>http://code.google.com/p/wicket-dnd/issues/detail?id=13&can=1.
>Is t
31 matches
Mail list logo