Hi Sebastian
The issue is that $(document).ready( function() is not called (or only
the first time) a Panel is loaded via Ajax.
IMHO, the main thing to understand while working with jQuery is that, when
you re-attach your component, you need to re-execute the jQuery statement.
A generic way to
Hi,
I am facing a problem in refreshing a panel. The requirement is I have a
panel A which has Panel B. Panel A carries list of LDM which is being passed
to Panel B.
public class PanelA {
private LoadableDetachableModelListlt;PostDomain
*detachablePostDomainList *= new
The problem is now even more complicated as PanelA is not getting refreshed
from PanelB at once. But when I do some operation in PanelB again, PanelA is
then refreshed...
Here is PanelB:
Public class PanelB{
public PanelB(PanelA panelA) {
PostDeleteButtonPanel postDeleteButtonPanel = new
You have to remember that a LDM is loaded once per request cycle only.
If you change the backing list (e.g. on delete of an item) *after* the
LDM was already accessed (e.g. a link in a ListView), you have to detach
the model once, so it is loaded again:
// some operation calling
Hey...that workedbut still I didn't understand how it worked. I am not
calling detach method in ajaxPostSubmitButton of PanelA. So how come it is
getting refreshed. I am just trying to understand the concept
--
View this message in context:
It depends whether the LDM is accessed *before* you change something in
the backing list.
Note that events handled by components in a ListView will trigger
loading of the LDM as soon as you access the component's model.
Sven
On 09/16/2012 05:48 PM, kshitiz wrote:
Hey...that workedbut
Hi,
Could you please advice a stack for this task ?
I went thru lots of (mostly obsolete) post with not much success. I have
some spring beans which are not injected as I expected.
Thank you in advance!
--
package hu.xxx.xxx.main;
import org.springframework.context.ApplicationContext;
Hi,
is there something what prevents Wicket use component constructor with
an interface param instead of concrete object?
I have two entities which share the same properties (leveraging
Hibernate's @Embeddable) :
public class ProductRelease implements Serializable, IHasTraits
{ ... }
Hi,
I use a AjaxEditableLabel with a PropertyModel which points to an object
of the Page.
But after the session expires, clicking on the label to edit it causes
exception because the object of the page is empty (in my case, it
results into HBN's NoResultException).
What's the way to handle this?
No more hints about generating bookmarkable page links with Wicket?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Using-and-creating-URLs-to-Bookmarkable-Pages-without-Wicket-Application-tp4652002p4652024.html
Sent from the Users forum mailing list archive at
i have used the
form.setVersioned(true);
i am populating a table with rows at button click
when i populate and hit back button of the browser then in
Mozilla Firefox : it returns to previous state as expected
Internet Explorer : it goes to previous URL
Google Chrome : it shows page expired
do
11 matches
Mail list logo