Please,is there any way to change an attribute of a component in wicket without doing any server round trip via Ajax packages?
no,
you have to communicate with the server in some way. You can use
different ajax packages instead of wicket-ajax, such as
wicket-contrib-dojo or wicket-contrib-scriptaculous, or do a full page
refresh.
Think about it, how would the server know that a property has to
change without getting
But if you are thinking about client side markup changes, then that is
possible, without the server knowing it.
But the server will not know when you have disabled a textfield for
instance, and will still try to parse the value: thus setting it to
null or firing a required validator when you
the desgn initiative of wicket is awesome and quite tempting for developers you know :) ...Many see it as another SDK where anything you dream is possible. We are also developers and engineers :) and understand that infinity actually has a value :)
Why did i ask the question, i was actually
As far as I know, it is not possible to upload file using ajax. If you
need to achieve similar effect, consider using hidden iframe for this.
-Matej
Ayodeji Aladejebi wrote:
the desgn initiative of wicket is awesome and quite tempting for
developers you know :) ...Many see it as another SDK