Hi there
I started using the Inmethod DataGrid because I need resizable tables and I
need to be able to select multi entries.
First, I had the problem that I couldn't select all entries and the multi
select didin't work properly. In this forum I found out that I have to
implement hashCode in the
2011/4/18 GJT taulant.gju...@helvetic.com
Hi there
I started using the Inmethod DataGrid because I need resizable tables and I
need to be able to select multi entries.
First, I had the problem that I couldn't select all entries and the multi
select didin't work properly. In this forum I
Hi Clint,
Here is the example of EntityModel as taken from
http://wicketinaction.com/2008/09/building-a-smart-entitymodel/
http://wicketinaction.com/2008/09/building-a-smart-entitymodel/ .
I've added the constructor that calls super().
public class EntityModelT extends AbstractEntityModelT {
I am using wicket 1.4.16 and inmethod-grid 1.4.17
For example, I have a list of flights. I select every flight I want to
change. So I press a button which opens a modal window. There I change the
times of the selected flights. After saving, the table should load the new
data
Try this:
+++
grid.markAllItemsDirty();
grid.update(); // - This adds the grid to AjaxRequestTarget,
so target.addComponent(grid) is not necessary
+++
Regards
--
Marc Nuri
On Mon, Apr 18, 2011 at 10:15, GJT taulant.gju...@helvetic.com wrote:
I am using wicket 1.4.16 and inmethod-grid 1.4.17
Does your Person class implements the 'Identifiable' interface?
On Mon, Apr 18, 2011 at 4:27 AM, lucast [via Apache Wicket]
ml-node+3456789-549093517-65...@n4.nabble.com wrote:
Hi Clint,
Here is the example of EntityModel as taken from
Hi jcgarciam,
I have made sure that my original class Parent does implement class
IdentifiableSerializable and I have now modified EntityModelT to public
class EntityModelT extends AbstractEntityModelParent {. That got rid the
error message. So that's great. Thanks!
I will try to have it running
I tried that before and I tried it again, but it doesn't work. I think the
problem is somewhere with my LoadableDetachableModel which contains a
constructor, equals(Object), hashCode() and load()
Marc Nuri wrote:
Try this:
+++
grid.markAllItemsDirty();
grid.update(); // - This adds the
Your issue with the generics is you need to tell it that 'T extends
Indetifiable', or take it out entirely if you are going to explicitly tell
it that you are using the Parent class.
Also feel free to make the argument match what your load method requires.
The article could be referencing code
Have you debugged your project to see if the IDatasource is queried when you
perform the Ajax reload??
If you reload the page does the data update??
--
Marc Nuri
On Mon, Apr 18, 2011 at 13:19, GJT taulant.gju...@helvetic.com wrote:
I tried that before and I tried it again, but it doesn't work.
After debugging, I found out the with the hashCode method, the columns don't
load. If I take out the hashCode method, the columns loads the data again.
But as I said, the selection doesn't work anymore.
--
View this message in context:
For what you're saying, I believe you've got something messed up in your
Bean's hashCode and equals method.
Inmethod's Datagrid keeps a Set (HashSet) of IModel objects to keep track of
which items are selected. If you've implemented correctly the equals method
in your bean and believe that there's
Can you provide a minimal example webapp showing the problem?
Attila
2011/4/18 GJT taulant.gju...@helvetic.com
After debugging, I found out the with the hashCode method, the columns
don't
load. If I take out the hashCode method, the columns loads the data again.
But as I said, the selection
Hello,
I created a web application with module as reausable component in it. Here
is how it looks like (very simple):
Index.html - 2 links (they are in ul list) and module added through div
Index.Java extends HomePage with three add statements (2 x
BookmarkablePageLink and one ModuleOne())
Hi There!
I'm quite new to wicket and I'm doing a web application where user's can
upload videos to youtube. For that, there is an youtube API from google. The
problem I have is that I need to use browser-based upload, which means, that
the actual upload should go directly to youtube and not
I think it is YouTubeDirect that you're looking for:
http://code.google.com/p/youtube-direct/wiki/GettingStarted
Regards
Žilvinas Vilutis
Mobile: (+370) 652 38353
E-mail: cika...@gmail.com
On Mon, Apr 18, 2011 at 2:25 PM, Pavol Zibrita pavol.zibr...@gmail.com wrote:
Hi There!
I'm
Hi I have the following domain object
public class User {
private String email;
private String firstName;
private String lastName;
private Account account;
public String getUserName() {
return this.account.getName();
}
public void setUserName(String username) {
The error is in the model you gave your form. Since you aren't explicitly
stating a model for the DDC, it is assuming a CompoundPropertyModel on the
parent form.
I suspect your form declaration is something like
new Form(form,new CompoundPropertyModel(getUserName()))
It should be something
18 matches
Mail list logo