-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi everybody.
I use an IAuthorizationStrategy in wicket to limit access to certain pages. However, I also use html menus like this one:
<div class="siteMenu">
<wicket:link>
<a href="Page1.html" class="siteMenuLink">
<wicket:message key="pages.page1.title" />
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
When I'm using @EJB annotation to access stateless EJB through remote interface in common HttpServlet, it works OK:
public class ListMsgs extends HttpServlet
{
@EJB
private Msgs msgsRI;
...
protected void processRequest(...) ...
{
List msgs = msgsRI.getAll();
...
}
...
}
But…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to start a Wicket Application using Felix implementation of OSGi HTTP service, for that I just register the service using WicketServlet with applicationClassName parameter:
props.put("applicationClassName", MainApplication.class.getName());
service = (HttpService)context.getService(httpReference);
service…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm developing a web application that is going to be served from an OSGi HTTP service, I register it using a WicketServlet, and I don't know how to serve static files (CSS, JS, images and so).
How could I mount a directory as a resource with the static content?
Or should I configure the resource…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have create a skeleton Wicket project using
mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.4-rc4 -DgroupId=com.mycompany -DartifactId=myproject
All the configuration/importing new project with Maven/Intellij worked…
>>> More