Re: Wicket and youtube browser based upload

2011-04-20 Thread Pavol Zibrita
I wonder why there aren't any reusable components out there for stuff like this. Is there some wicket common components market, or something similar where I could possibly post components I would create for me, regarding YT? pavol On Tue, Apr 19, 2011 at 3:24 PM, Martin Grigorov

Re: Wicket and youtube browser based upload

2011-04-20 Thread Martin Grigorov
https://github.com/wicketstuff/core This is the place for such components. On Wed, Apr 20, 2011 at 10:04 AM, Pavol Zibrita pavol.zibr...@gmail.comwrote: I wonder why there aren't any reusable components out there for stuff like this. Is there some wicket common components market, or

Re: org.apache.wicket.WicketRuntimeException: No get method defined for class: class java.lang.String expression: userName;

2011-04-20 Thread cablepuff
final LoadableDetachableModelAccountCommand accountCommand = new AccountDetachableModel(userId, personId); final AccountForm form = new AccountForm(accountForm, accountCommand); My AccountCommand { private Integer userId; private Integer accountId; private String accountName;

RE: Inmethod Grid Select All or Reload Grid

2011-04-20 Thread Chris Colman
I tried this exact thing today and had the same results.. no update grid.markAllItemsDirty(); grid.update(); I have a feeling that the equals method has to return false when objects are updated to force a redisplay. For this reason I'm guessing that the equality should not be solely based on

Re: Inmethod Grid Select All or Reload Grid

2011-04-20 Thread Marc Nuri San FĂ©lix
Hello. Of course, objects updated in the database shouldn't be equal to those previously displayed in the table (they aren't equal). If you don't comply to this you'll have problems not only with inmehtod grid. The equals method of my beans always include at least this: if (this.id !=

Re: org.apache.wicket.WicketRuntimeException: No get method defined for class: class java.lang.String expression: userName;

2011-04-20 Thread Martin Grigorov
Yesterday you pasted code with class User which is nowhere in the today's paste. We are not oracles. We cannot help you if you give us wrong information. On Wed, Apr 20, 2011 at 4:28 PM, cablepuff cablep...@gmail.com wrote: final LoadableDetachableModelAccountCommand accountCommand = new

Migrating from 1.4.16 to 1.5 RC3 - problem when trying to avoid pages caching (not calling the constructor of the java pages)

2011-04-20 Thread Ismael Hasan
Hello. I am facing the following problem when migrating from Wicket 1.4.16 to 1.5 RC3. First, I'll explain what I want to accomplish, how I do that in 1.4.16 and the result obtained. Next, I'll explain how I try to do the same wich 1.5 RC3, and which are the results I get. 1.- I want all of the

Deserialization of pages with Wicket, back button

2011-04-20 Thread Brown, Berlin [GCG-PFS]
When does wicket use the deserialization of pages from the filesystem disk store/cache? With the default, out of the box Wicket code, when does Wicket deserialize a page? Pseudo-code: getHomePage() { return Page.class } ... Let's say I am using ajax or ajax tabbed panels and I am not

Re: Deserialization of pages with Wicket, back button

2011-04-20 Thread Martin Grigorov
Wicket do *not* serialize new version of the page for Ajax requests. Clicking back button will lead you to the previous page, not to the previous state of the page. Refreshing the page reloads the current version of the page which is in the http session and thus doesn't hit the file system. On

RE: Deserialization of pages with Wicket, back button

2011-04-20 Thread Brown, Berlin [GCG-PFS]
Clicking back button will lead you to the previous page, not to the previous state of the page. Refreshing the page reloads the current version of the page which is in the http session and thus doesn't hit the file system. I think you answered the question, just wanted to confirm. When does the

Re: external javascript contributions in ajax loaded panel

2011-04-20 Thread sadko
Since I didn't receive or find any better solution than those where the javascript references in question were included directly in the top page I had to take that path. Of course it is not very nice, but since the problem is just with external javascripts I don't think it will be so tragic. --

Complex Grid with Wicket

2011-04-20 Thread Bruno Borges
Can someone wonder how could one, using Wicket, accomplish an interface like the one below? http://papers.consegi.gov.br/pub/palestras.php Cheers, Bruno Borges www.brunoborges.com.br +55 21 76727099 The glory of great men should always be measured by the means they have used to acquire it. -

Re: Complex Grid with Wicket

2011-04-20 Thread Jeremy Thomerson
On Wed, Apr 20, 2011 at 5:59 PM, Bruno Borges bruno.bor...@gmail.comwrote: Can someone wonder how could one, using Wicket, accomplish an interface like the one below? http://papers.consegi.gov.br/pub/palestras.php What part do you want to know how to do? The rowspan on some cells? --

ModalWindow patch for 1.4.x

2011-04-20 Thread Russell Morrisey
Please consider the following ModalWindow patch for inclusion in wicket-extensions 1.4.x This change lets me replace the WindowClosedBehavior with a custom implementation, and preserves the code in getWindowOpenJavascript() that manages the javascript setting by using an interface. The body of

Re: Complex Grid with Wicket

2011-04-20 Thread Arjun Dhar
Some time back I created a similar complicated grid structure and also submitted a rather rag-tag JIRA suggestion: http://apache-wicket.1842946.n4.nabble.com/GridView-for-A-Symmetric-tables-issues-td2953859.html This post explains how I did it conceptually with pseudo code. Now, many months

Missing XML declaration in error page.

2011-04-20 Thread Petr Gladkikh
I am trying to upgrage from wicket 1.4.1 to 1.4.17 and have following problem. In our application we configure getMarkupSettings().setThrowExceptionOnMissingXmlDeclaration(true); This prevents all Wicket's default pages from rendering since none of them contain XML prolog anymore. E.g. none of

Re: org.apache.wicket.WicketRuntimeException: No get method defined for class: class java.lang.String expression: userName;

2011-04-20 Thread cablepuff
Hi Martin, yesterday that was the domain (persistent object was called User). The command object was call Account hence AccountCommand. Anyways I solve my problem by adding a additional parameter. new DropDownChoicePerson(userChoice, new CompoundPropertyModel(selectedUser),