Hi,
In 1.5 I found that even if a page is stateless, Wicket still generates
hybrid URLs (with PageInfo) for stateless links/forms. This is done in
AbstractBookmarkableMapper (see below). Any idea why? Thanks!
if (requestHandler instanceof BookmarkableListenerInterfaceRequestHandler)
{
//
Our templating engine is the one that needs to generate the link by
evaluating a template similar to "Download". The engine does not have
access to any Wicket components but can access Thread local
properties, such as RequestCycle.get(). I guess we could add a
behavior to RequestCycle.get().getResp
Sorry, if this question had been answered before,
I am writing and AJAX app and looking into way to modify browser
location bar, when clicking on Ajax links. Currently I have two pages
with a bunch on panels, and when I hit back button I would like to go to
previous panel, not page.
I see th
the problem is when you say "build a url to an instance of this
request target" wicket doesnt hold on to the instance, nor does it
have any way to recreate it.
what you can do is add a behavior to the page and construct a url to
that behavior.
-igor
On Mon, Sep 12, 2011 at 4:16 PM, Alec Swan w
use session's metadata facility to store the state. if you have a lot
of these components you can store a map under a single
metadata key, just remember to make that code threadsafe.
-igor
On Mon, Sep 12, 2011 at 4:02 PM, Nelson Segura wrote:
> Hello,
>
> Our app has several components that "re
I don't really need a stable URL. In fact, I would prefer if the link
URL was session or page-specific so that it cannot be accessed by
anybody unless they first accessed the page that contains the link.
I would like to do something along the lines of the code in my
original post. In other words,
Hello,
Our app has several components that "retain" their state during a user
session. Examples like:
1. Number of results per page in a pageable component.
2. State of a collapsible container.
3. Which tab is selected in a tabbed panel.
In old JSP world this will be tracked in the user session
create a resource and register it in shared resources, this will allow
you to create a stable url. the filename and reportdata you will have
to pass on the url.
-igor
On Mon, Sep 12, 2011 at 2:25 PM, Alec Swan wrote:
> Hello,
>
> We use a templating engine which generates parts of our pages.
> T
Hello,
We use a templating engine which generates parts of our pages.
Templates can be included on any page. We need the engine to be able
to generate a link which will display a report when clicked. I tried
using the following code, but it returns null from
RequestTarget.urlFor(..):
public Strin
Junit MIGHT reveal the problem, though I think you'll get much faster results
by using a profiler (I've had good luck with JProfiler).
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/weekly-memory-usage-increase-by-500-Mb-problem-tp3798527p3808451.html
Sent from the Us
http://repo1.maven.org/maven2/org/apache/wicket/wicket-extensions/1.5.0/
http://repo1.maven.org/maven2/org/wicketstuff/wicketstuff-jasperreports/1.5-RC7/
WicketStuff 1.5.0 will be released soon. But since Wicket 1.5.0 is
actually RC7 without code changes they are fully compatible.
On Mon, Sep 12,
Congratulations! Thanks Wicket team!
Here[1], we have an template application(used for every new module) based in
the 1.14.17 version. I would like to migrate that template but it depends on
wicket-extensions[2] and wicketstuff-jasperreports[3] both are not released
yet as you can see.
Is there
RequestCycle.get().scheduleRequestHandlerAfterCurrent(new
ResourceRequestHandler(bar, null));
On Mon, Sep 12, 2011 at 7:20 PM, Makoto Kameda
wrote:
> Hi there,
> I have a problem while migrating from 1.4 to 1.5.
> In 1.4 I have been using ByteArrayResource.getResourceStream() to download
> dynami
Hi there,
I have a problem while migrating from 1.4 to 1.5.
In 1.4 I have been using ByteArrayResource.getResourceStream() to
download dynamically generated PDF and ZIP with a file name.
Now it's removed in 1.5.
So how can I change this code:
1.4:
ByteArrayResource bar = new ByteArrayResource("
getResourceSettings.getStringResourceLoaders().add(mine)
On Mon, Sep 12, 2011 at 3:30 PM, Mikko Pukki
wrote:
> Hi all,
>
> I encountered a problem while migrating from 1.4.x to 1.5. We have added some
> custom StringResourceLoaders
> to ResourceSettings in Application's init() like this:
>
> get
Hi all,
I encountered a problem while migrating from 1.4.x to 1.5. We have added some
custom StringResourceLoaders
to ResourceSettings in Application's init() like this:
getResourceSettings().addStringResourceLoader(new
BundleStringResourceLoader("tables"));
Problem is that IResourceSetting's
Hi Florian,
When constructing your CheckBoxMultipleChoice, use a
PropertyModel(userModel, "roles") for the "model" argument, and a new LDM
that returns a list of all available UserRoles for the "choices" argument.
Unless you need UserRole to be serializable for some other reason, I'd
remove its Se
17 matches
Mail list logo