wicket

Remove warning in MyEclipse

How can I modify the conditions for which MyEclipse will throw up warning flags? I'd be happy to hear a generic solution, but here is my specific problem for the curious/if it turns out to be relevant: <html xmlns="http://www.w3.org/1999/xhtml"&gt; <wicket:panel> <p> <object type="text/html" width="750" height="360" wicket:id="htmlRend...

Getting Nexus to download dependencies from a repository with no .index file

I've just setup the latest version of Nexus for our company, and it's working great. We've added several 3rd party repositories, and one of them does not have an .index file present. So it appears that Nexus can't index it, nor can the local maven ask for deps in that repository. Definitely unfortunate. Is there any way around this a...

How to limit upload file size in Wicket

How to limit file size in uploads in Apache Wicket version 1.4? I am using FileUploadField to handle upload with normal form submit without any Ajax stuff. Is it enough to use Form.setMaxSize() to limit the size of uploaded file? If too large file is uploaded, the browser will upload the whole file and Wicket will create validation er...

how to integrate prettyPhoto with wicket

I'm trying to integrate a wicket ajax link's response with prettyPhoto. I'm having difficulty getting the wicket response to be displayed within the prettyPhoto lightbox. ...

Problematic Wicket RuntimeException

I'm having trouble pinning down the cause of a RuntimeException in a Wicket application. I've set numerous breakpoints, but none are firing when I submit my form, only when the form is loading. Here's the stack: WicketMessage: No get method defined for class: class this.is.my.class.WicketDocumentModel expression: DocumentUpload ...

Unit testing ModalWindow's content refresh fails while the actual functionality works as expected - what am I doing wrong?

So, I've spent a couple of hours first trying to "fix" this myself and then Googling like a madman but didn't find anything that would've helped so now I'm here. Basically I have a custom Panel within Wicket's own ModalWindow and since I like unit testing, I want to test it. The specific behavior here is refreshing the ModalWindow's con...

displaying html text within a wicket element

i'm trying to display html i.e. rich text within a wicket element dynamically. An example is like displaying a rich text email within a div tag. how can i get this done with wicket. the wicket Label component doesn't seem to support this. is there a component that does ...

Which Java generic should be used in ambiguous cases?

I'm having some problems with a Wicket 1.3 -> Wicket 1.4 migration, but this question could be applied to Java generics overall, too. The migration has caused hundreds of warnings to spring up out of nowhere -- for those unfamiliar with Wicket, many Wicket classes are derived from a common ancestor, which became generified in v1.4 -- an...

Finding a hard time with Hibernate Code Generator Tool.. pls help

Hi All, I am trying to develop a wicket based web application using hibernate at the model layer with postgres DB. I created all my tables manually and i am trying to reverse engineer the code from the tables using hibernate code generator tool downloaded from www.hibernate.org. I have created the hibernate.cfg.xml and hibernate.reven...

Wicket: how to synchronize requests within session

Scenario: Apache Wicket based web application running on Tomcat server. User opens URL in browser, session is created and simple main page is shown in browser, user clicks on button and AJAX call is invoked. Application gets request and doing some stuff preparing response. In same time user or JavaScript in browser invokes another AJAX...

What PHP framework is most similar to Apache Wicket?

Feature I'm looking for is being component based but not event driven. I also like the idea of defining component in his parent code but describing its placement and some visual aspects in the template of his parent. ...

Can a Wicket application trigger a restart of itself without a manager password?

I'm new to Wicket and would like to maintain a web application from inside itself using some sort of maintenance admin page for running clean-up, DB updates, recovery and so on. Since I plan to use Hibernate or similar for data binding I would like to trigger a complete reboot of the application from inside itself without giving everybod...

How does Wicket's @SpringBean annotation work?

How does Wicket's @SpringBean annotation work? Does it use reflection at run time? Does it make the compiler inject some code? Or what? ...

what is the name of chat window in gmail?

I want to write a window like gmail's chat window which when i click on minimize, it goes to right corner of the page and by scrolling does not change the position. I'm using wicket framework in java. does anyone know what is the name of this window so that i can search in Google? and can anyone help me how can I do this? ...

How can I mount a Wicket application at /* in GAE development server?

My Wicket application runs fine on the live Google App Engine at /* <filter-mapping> <filter-name>WicketApplication</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> However this URL pattern does not work on the development server (GAE 1.2.8): a request to http://localhost:8080/ gives this message: HTTP ERROR: 500...

Is it there a Ruby equivalent of Java's Wicket ?

The idea would be to replace ERB with templates that are pure XHTML and that the view would be pure code manipulating the template content. Have this been done already ? ...

Wicket's @SpringBean's and request scoped objects

Is there any reason why a request scoped Spring object would be cached between requests, by a injected @SpringBean field? ...

Wicket with Spring declarative transaction

It is possible to use the Spring Framework's @Transactional support outside of a Spring container. In reference documentation is chapter about AspectJ aspect. I'm trying to use it in my wicket application, but with no positive result. application-context.xml: <tx:annotation-driven transaction-manager="trans...

Why does Wicket changes the id of the html elements?

If I write <form wicket:id="form" id="form> or even <form wicket:id="form>... Then the rendered HTML shows the id 'form' appended with different numbers whenever the page is refreshed e.g. <form id="form7".... Is there a way to disable this behavior of the Wicket framework? ...

Wicket page links do not use mounted URL coding strategy?

In the Wicket Application class I have mounted a page at the location /about mountBookmarkablePage("about", AboutPage.class); I verify that the about page is available at /about. Then in the page which needs a link to the about page, I use the Wicket Link class: add(new Link("link") { @Override public void on...