Have you considered nginx? We use httpd but our reverse-proxying needs are
pretty simple. I've been meaning to try nginx.
http://nginx.org/en/docs/http/websocket.html
On Wed, Aug 14, 2013 at 7:42 AM, Pierre Goupil goupilpie...@gmail.comwrote:
I use only Tomcat (7.0.40) and I must admit that
I'd use a debugger to look for live references to the map. In Eclipse, if
you right-click the variable line in the Variables view, there is an All
References option. The trick is instantiating the offending Wicket
component to create the reference. But once created it should stick around
at least
There isn't much information in that stack. Why don't you subclass LRUMap
with a custom writeObject() implementation? Then you can breakpoint it, log
from it, and maybe throw NotSerializableException to trigger Wicket
SerializableChecker which gives nicer output. That way it triggers every
time
@Inject the implementation, not the interface. @Inject'd implementations
have some code smell, but no more than downcasting.
On Tue, Jul 23, 2013 at 8:40 AM, Daniel Watrous dwmaill...@gmail.comwrote:
That being the case, is there any way to get an instance that I can cast to
a concrete type?
Hi Bertrand,
You can render into a hidden div, then use some JavaScript to move them
into view. Something like this which uses jQuery.
response.render(OnDomReadyHeaderItem.forScript($('#hiddenfeedback
div').appendTo($('#visiblefeedback'));));
That behavior doesn't seem exactly right though. If a
If you associate your ListView with a div that wraps your two li
elements, you can call item.setRenderBodyOnly(true) to suppress the div
from the markup. The two inner lis will remain.
On Fri, Jul 19, 2013 at 10:34 AM, Victor Dolirio Ferreira Barbosa
victor...@gmail.com wrote:
Hello
Busted for me.
On Fri, Jul 19, 2013 at 12:54 PM, William Speirs wspe...@apache.org wrote:
Worked for me... try again?
Bill-
On Fri, Jul 19, 2013 at 2:52 PM, Gabriel Landon glan...@piti.pf wrote:
Hi,
The website wicketinaction.com seems to be down, only the home page is
working.
request sent, awaiting response... 404 Not Found
2013-07-19 13:35:29 ERROR 404: Not Found.
On Fri, Jul 19, 2013 at 1:26 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
works for me
On Fri, Jul 19, 2013 at 1:19 PM, Dan Retzlaff dretzl...@gmail.com wrote:
Busted for me.
On Fri, Jul 19, 2013
No, Wicket is not trying to serialize your DAO. The exception occurs in the
action phase of the request handling. It looks like you've passed an object
to MongoDB which has a reference to the @Injected DAO, or at least to the
component that has the DAO. It's this MongoDB
Wicket serializes access to each page instance, but provides no further
synchronization. Non-transient references to application data must be
synchronized by you.
On Tue, Jul 16, 2013 at 2:39 PM, saty satya...@gmail.com wrote:
Thanks, but could you please explain how wicket handles
Wild guess: link in query parameter is suspected of injecting malicious
link into application's rendered page.
On Fri, Jun 14, 2013 at 9:41 AM, Sven Meier s...@meiers.net wrote:
Thanks for your information.
I wonder what embedded HTML Script Tag Juniper sees in the given url:
On Tue, Mar 26, 2013 at 4:31 AM, Emond Papegaaij emond.papega...@topicus.nl
wrote:
On Monday 25 March 2013 00:59:30 Leonid Bogdanov wrote:
3) In my app Apache Shiro framework is integrated via a plugin adapted
from fiftyfive-wicket-shiro project. User credentials are checked in an
AJAX
Hi Pierre,
Associate your PageableListView with a div that wraps your two trs.
Use item.setRenderBodyOnly(true) to prevent the div from being rendered
so your table markup is still valid.
Dan
On Mon, Jun 10, 2013 at 12:49 PM, Pierre Goupil goupilpie...@gmail.comwrote:
Good evening,
Is
, one of one column and a last line of 4 columns.
I've missed something, I'm afraid.
Thank you anyway!
Regards,
Pierre
On Mon, Jun 10, 2013 at 10:17 PM, Dan Retzlaff dretzl...@gmail.com
wrote:
Hi Pierre,
Associate your PageableListView with a div that wraps your two trs.
Use
Thanks, Bertrand.
On Thu, May 9, 2013 at 9:47 AM, Bertrand Guay-Paquet ber...@step.polymtl.ca
wrote:
Do you avoid MessageFormats in StringResourceModels? (I don't see a way to
configure its MessageFormat.)
I convert my Dates to strings with the proper converter before passing
them on to
Hi all,
I'd like to know what conventions you've established for your sites that
deal with users in many time zones.
Do you simply replace the converters (Date, SqlDate, SqlTime, SqlTimestamp)?
Do you avoid MessageFormats in StringResourceModels? (I don't see a way to
configure its
Martin-G elaborated a bit on this last year:
http://mail-archives.apache.org/mod_mbox/wicket-users/201209.mbox/%3ccamomwmqdf3ytlstb_kbnvn9t1pump_-+npdtmtvyt+ac6ec...@mail.gmail.com%3E
I think the gist is that you can avoid attaching listeners to each child
with a single listener on the parent
No, sorry. I'm familiar with Spring's PropertyPlaceholderConfigurer, but
that only pulls properties into context definitions. The deployment
descriptor lives outside of that, so that approach does not make sense to
me.
On Sat, Apr 20, 2013 at 5:30 AM, Leonardo D'Alimonte
No, I don'It can't interpolate a deployment descriptor.
On Fri, Apr 19, 2013 at 1:17 AM, Leonardo D'Alimonte
leonardo.dalimo...@loginet.it wrote:
Hey Dan,
Maven War plugin is working fine as you suggested, it interpolates the
${wicket.configuration} variable correctly.
I would like to see
WicketFilter subclass that
instantiates the app through the injector, and does whatever configuration
you need. This is described here:
http://software.danielwatrous.com/wicket-guice-including-unittests/ I'd
guess that Spring provides a similar capability.
On Fri, Apr 19, 2013 at 10:44 AM, Dan Retzlaff
If you're using maven-war-plugin, you probably need to enable filtering of
deployment descriptors.
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#filteringDeploymentDescriptors
On Thu, Apr 18, 2013 at 9:23 AM, Leonardo D'Alimonte
leonardo.dalimo...@loginet.it wrote:
Hi
If I understand you, the user uploads an Excel template, and the response
is a populated version of that template. In this case, your form's
onSubmit() should
1. get the template from an enclosed FileUploadField's model,
2. create a new file for download (temp directory is okay), and
3. schedule a
Hi Merlijn,
This is not a direct response to your question, but did you consider
wicket-select2 as an alternative to AutoCompleteTextField?
https://github.com/ivaynberg/wicket-select2
I don't know the specific navigation features you're talking about, but in
our experience Select2 is a dramatic
How about:
Url relative = Url.parse(getRequest().getContextPath());
String full = getRequestCycle().getUrlRenderer().renderFullUrl(relative);
Dan
On Wed, Apr 3, 2013 at 5:44 AM, Andrea Del Bene an.delb...@gmail.comwrote:
Hi,
do you know the best way to get the base URL for our Wicket
You bet! I'm just up the road in Boulder. Happy to meet up in any of the
abundant local breweries.
On Wed, Apr 3, 2013 at 8:01 PM, Jonathan Locke jonathan.lo...@gmail.comwrote:
Hey there! Any Wicket people in Denver? I'm going on a trip from the 13th
to
the 21st of April and wanted to find
I think you misunderstand serialization. Only class member data is
serialized, plus a small amount of metadata like the class name and a
version. Normal methods, and any logging in those methods, have no effect
on serialized output. If you tried printing and it didn't work, please
share your code.
Retzlaff dretzl...@gmail.com
wrote:
Sorry I mistyped: default is REDIRECT_TO_BUFFER.
On Thu, Mar 28, 2013 at 2:36 PM, Dan Retzlaff dretzl...@gmail.com
wrote:
Hi Marios,
This behavior is determined by IDataStore interface. DiskDataStore is
used
by default, so only the most recent
Inline...
On Wed, Mar 27, 2013 at 10:41 PM, Bertrand Guay-Paquet
ber...@step.polymtl.ca wrote:
First, when you say you serve files out of webapp folder, do you mean
you're not using any ResourceReference?
To answer your question, here's what I use to access my webapp resources:
On Thu, Mar 28, 2013 at 7:27 AM, Pointbreak
pointbreak+wicketst...@ml1.netwrote:
I don't think there's anything wrong with serving resources from the
webapp-folder,
I agree, it can work well for some use cases. But if you want better
control over caching, and the ability point all rendered
An external link by definition does not make a request to your Wicket
application. The user simply bounces off to the given URL. Consider using a
normal Link, and throwing RedirectToUrlException in its onClick.
On Thu, Mar 28, 2013 at 9:44 AM, Karl-Heinz Golz
karl-heinz.g...@t-online.de wrote:
Hi Jarnis. Since this didn't generate a response, I'll share some thoughts.
First a disclaimer: I haven't used Wicket-Atmosphere yet, but I've read
what there is to read and am looking forward to it. (We have several use
cases that will benefit greatly.)
Are there any good arguments for not just
http://www.techempower.com/blog/2013/03/28/framework-benchmarks/
For what it's worth :)
Dan
Hi Marios,
This behavior is determined by IDataStore interface. DiskDataStore is used
by default, so only the most recent page is kept in the session (and
available for failover). It puts page history into a directory specified in
javax.servlet.context.tempdir servlet attribute (under work
Sorry I mistyped: default is REDIRECT_TO_BUFFER.
On Thu, Mar 28, 2013 at 2:36 PM, Dan Retzlaff dretzl...@gmail.com wrote:
Hi Marios,
This behavior is determined by IDataStore interface. DiskDataStore is used
by default, so only the most recent page is kept in the session (and
available
Hi, Sauli.
The context of your question is not clear to me. Are you trying to upgrade
a running cluster?
I have not used Nginx, but Apache HTTPD allows you to disable balancer
members from receiving new sessions. Alternatively, Tomcat 7 supports
parallel deployments so theoretically you can
Hi, Bertrand. I don't have all your answers, but I can share my experience.
First, when you say you serve files out of webapp folder, do you mean
you're not using any ResourceReference? Just absolute paths from markup? I
think improving that is the first thing to do. You need to process resource
The javadoc for Component#put() refers to a now non-existent childForId
map which got removed 8 years ago [1]!
You might consider making your ListViewT into a ListViewListT and
splitting the original dataset into say 10k List#subLists. It ain't pretty,
but for a (nearly finished) app, it beats a
.
On Sun, Mar 24, 2013 at 11:22 PM, Harrie Hazewinkel
hhazewin...@gmail.comwrote:
Hi Dan,
Thanks for the example.
On Mar 24, 2013, at 7:26 PM, Dan Retzlaff dretzl...@gmail.com wrote:
Re: duplicate/conflicting contributions, Wicket automatically de-dups
header contributions. See HeaderItem
I believe Wicket's resource versioning and caching logic simply provides
advice in HTTP response headers, and decorates filenames if so configured.
Do your requests come directly to Wicket's container? We reverse proxy with
HTTPD, which is probably better at caching than a Java solution could ever
We add a site-wide IHeaderContributor in Application#init()
using getHeaderContributorListenerCollection(). Our initial implementation
used wicket:head contributions as you do. This became difficult to
maintain when we had multiple top-level pages. (Your site has only one
top-level page?) We also
Wicket only injects Components and Behaviors by default. To inject into
anything else, call Injector.get().inject(this) in its constructor.
On Fri, Mar 15, 2013 at 2:27 PM, Stephen Walsh
step...@connectwithawalsh.com wrote:
I have a much better understanding on this now. Are there any plans
I think taking it to that level gets into the realm of xs:redefine as
described here:
http://www.w3.org/TR/xhtml-modularization/schema_developing.html
On Tue, Jan 22, 2013 at 7:41 AM, Martin Grigorov mgrigo...@apache.orgwrote:
Hi Jim,
You are correct!
I've missed those the other day.
Do
Might be worth noting that as soon as it goes through a serialization
round-trip it's no longer a singleton. Not a concern for a trivial
AttributeAppender, but it's a Wicket+static+serialization gotcha we learned
the hard way. :)
On Wed, Dec 5, 2012 at 4:40 PM, Igor Vaynberg
Martin G put together a Session#onInvalidate() callback for this, but it
didn't receive much interest. See
https://issues.apache.org/jira/browse/WICKET-
On Mon, Nov 12, 2012 at 8:32 PM, Corbin, James jcor...@iqnavigator.comwrote:
Is there any way in Wicket 6+ to be notified when the session
Michael, check out the DownloadLink example here:
http://www.wicket-library.com/wicket-examples/linkomatic/home
Also check out the code for DownloadLink itself, and you'll see
1. Your IModel must return a File, but yours returns bytes.
2. The download is initiated in DownloadLink#onClick, which
some googling I noticed that ResourceLink should be like
DownloadLink but for me
better - it's for streamed data. But can't find any example for wicket 1.5
:-(
MJ
On 14.10.2012 21:00, Dan Retzlaff wrote:
Michael, check out the DownloadLink example here:
http://www.wicket-library.com
data as byte[] from database).
On 14.10.2012 21:59, Dan Retzlaff wrote:
I usually wrap a custom AbstractResource instance in a ResourceReference,
and put that into the ResourceLink. AbstractResource#**
newResourceResponse()
is called when the link is clicked. You can query for the bytes
Hi!
It's not clear what you mean by not working but I'll assume you expect
your Invoice object to be populated when the submit button is clicked. It
won't work with your code because you have disabled default form processing
with your submit button. You actually don't even need a Wicket component
If you don't add any of the standard validators, doesn't that accomplish
your goal? I think you still want form processing which includes
population of model objects from the raw submitted strings.
If you're using another post-submit validation framework, you probably want
to override
in WicketTester.
Daniel
On Thu, Oct 11, 2012 at 6:10 PM, Dan Retzlaff dretzl...@gmail.com wrote:
For what it's worth, we instantiate our applications through Guice.
Having
your application go get its Injector kind of violates the DI concept.
filter(/*).through(WicketFilter.class
...
Daniel
On Fri, Oct 12, 2012 at 11:03 AM, Dan Retzlaff dretzl...@gmail.com
wrote:
I follow you. WicketTester doesn't know about GuiceFilter, so you'll
need a
different way of getting your Injector into your Wicket Application.
Rather
than getting the Injector from your servlet context
:10 PM, Dan Retzlaff dretzl...@gmail.com wrote:
Daniel,
What you're doing should work, but I think you're giving
your GuiceComponentInjector a null Injector. Unit tests don't go through
web.xml to set up its context listeners, so
your GuiceServletContextListener never has a chance
Daniel,
What you're doing should work, but I think you're giving
your GuiceComponentInjector a null Injector. Unit tests don't go through
web.xml to set up its context listeners, so
your GuiceServletContextListener never has a chance to construct and
register an Injector with the ServletContext.
Hi Sean,
Keep in mind that Guice isn't directly injecting your Wicket components.
That happens through org.apache.wicket.guice.GuiceComponentInjector. More
specifically, see GuiceFieldValueFactory#supportsField() which only
recognizes @Inject annotated fields as requiring injection.
HTH,
Dan
On
There is probably a better way, but I just create very simple subclasses to
allow separate mounts.
class ProductPage extends DynamicWebPage {
ProductPage(PageParagemeters p) {
super(p);
}
}
On Wed, Aug 1, 2012 at 12:10 PM, vinitty vini...@gmail.com wrote:
I am making an
You could override C's onConfigure() to set its visibility based on B, and
override C's onEvent() to add C to the ART if it's current visibility is
wrong.
https://cwiki.apache.org/WICKET/migration-to-wicket-15.html#MigrationtoWicket1.5-Defaultajaxevent
On Sun, Jul 29, 2012 at 6:17 AM, Alberto
If your constructor isn't being called, you have something more basic to
figure out. I just tested with a quickstart, and it worked as expected. See
https://gist.github.com/3204518. Hitting localhost:8080 shows value is not
specified, then submitting the (non-Wicketized) form shows value is
Pro: session is a broader scope, so query will happen less often
Con: session is serialized so cached value needs to be serializable or
transient/detached
Con: session is accessed by multiple threads simultaneously, so you need to
handle synchronization
Your call. :)
On Tue, Jul 24, 2012 at
at 3:55 AM, Sven Meier s...@meiers.net wrote:
I'd just keep a workflow identifier in the database
If your workflow is so important, sooner or later your business people
will want to an know about aborted wizards anyway.
My 2 cents
Sven
Dan Retzlaff dretzl...@gmail.com schrieb:
Hi all
Hi all,
We have a wizard workflow for our users that collects various inputs, and
when submitted, persists entities and kicks off some processing. After the
wizard is submitted, the user should not be able to navigate back and
resubmit the wizard. The obvious solution of maintaining a boolean
Hi Shu,
We essentially use option 2. Since we use Guice, @Component and @Scope are
unfamiliar to me. (DAODataProvider isn't created/managed by Spring, so why
specify a scope like that?) Aside from those, I don't see any undue
coupling... just an @Inject.
Our general rule is that @Inject'd
DataView/IDataProvider queries the database for each request too. The
reason it is preferred over PageableListView is that it allows only the
current page of results to be pulled from the database. PageableListView
requires *all* results to be pulled, but then only renders a single page.
At any
The easiest way is probably to use a wicket:for attribute:
label wicket:for=enabledCheckEnabled/label
input type=checkbox wicket:id=enabledCheck/
Alternatively, you can also use FormComponent#setLabel(IModelString) in
Java to define an input's label value, then show that label by adding
That's how Wicket manages stateful pages: it constructs it once, and
subsequent actions (including re-rendering all or part) are handled by the
same instance. If you want a label's content to be recomputed with each
rendering, give it an IModelString at construction instead of the actual
string.
Instead of using entities and strings in your constructors, use IModels
such as LoadableDetachableModel. When re-rendering (AJAX or reload), your
constructors aren't called again, but IModel#getObject() are called.
On Fri, Jun 29, 2012 at 12:09 PM, kshitiz k.agarw...@gmail.com wrote:
Hi,
Are you giving your ListView an IModelListT or a ListT? It needs to
be the former to be redetermined on refresh.
On Fri, Jun 29, 2012 at 12:48 PM, kshitiz k.agarw...@gmail.com wrote:
Actually in that post panel, I am taking data from the database and
displaying it as listview. Now, when I
I can't guess what your errors are, but for pageable lists you should
probably be using DataView. There are examples here:
http://www.wicket-library.com/wicket-examples/repeater/
On Fri, Jun 29, 2012 at 1:08 PM, kshitiz k.agarw...@gmail.com wrote:
I am using list only like this:
You might find my wiki post on application-wide validation error styling
helpful:
https://cwiki.apache.org/confluence/display/WICKET/Automatic+styling+of+form+errors
Putting the actual validation text next to the form component is trickier
since it affects layout. If you can't make an application
Hi Jan,
Have you tried proxying with AJP instead of HTTP? Some of this complexity
goes away then.
Using mod_rewrite's [P] flag to proxy requests shouldn't be incompatible
with ProxyPassReverse or ProxyPassReverseCookieDomain. Did you try it?
Dan
On Fri, Jun 1, 2012 at 2:51 AM, Jan Riehn
Hi Kemal,
You could register your own root IRequestMapper. See the last paragraph
under The new way in Wicket 1.5:
https://cwiki.apache.org/WICKET/request-mapping.html
Dan
On Fri, Jun 1, 2012 at 9:52 AM, chrome1235 kemal.m...@gmail.com wrote:
Hi,
My Application has some batch processes,
Jens, I describe some details of our homegrown application handoff
solution here:
http://mail-archives.apache.org/mod_mbox/wicket-users/201202.mbox/%3ccac-l2fym4txq7733aeuvfdnustlte_nbsix2zojvytqkoga...@mail.gmail.com%3E
On Thu, May 10, 2012 at 4:02 AM, jensiator jens.alen...@gmail.com wrote:
I may have been wrong about that... I can't setup a test app right now, but
I think the default configuration of DataView also discards models on
detach. Sorry for the confusion.
On Thu, May 10, 2012 at 12:06 PM, sudeivas sureshkumar@gmail.comwrote:
Dan has mentioned I think
ListView is
for a 4-5 month hike!
On Wed, May 9, 2012 at 8:12 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
hi Uwe,
Dan Retzlaff has created a wrapper, but as far as i know he hasnt
publicly shared it yet. i havent really had much time to work on my
own wrapper or to look at his yet.
my recommendation
Here you go, Uwe (and all): https://github.com/dretzlaff/wicket-select2
If you provide feedback in the next couple of days I'm happy to address it.
Props to Igor for sharing Select2 itself.
On Wed, May 9, 2012 at 10:01 AM, Dan Retzlaff dretzl...@gmail.com wrote:
I'll post to github shortly. I
Use in 1.4 requires some relatively simple code changes. For example the
resource syntax (for serving Select2 AJAX requests) is different. But after
little changes like that, it should work fine.
On Wed, May 9, 2012 at 1:04 PM, Emmanouil Batsis (Manos) ma...@abiss.grwrote:
this is cool! Any
Suresh,
I haven't seen a packaged solution for inifinte scroll in Wicket. But the
way I'd implement it is to detect that more content is needed with
JavaScript (some kind of jQuery event listeners), then make a request to a
Wicket AJAX behavior. I'd have the behavior render content into a hidden
mentioning with a caveat. And I do
appreciate your emphasizing the caveat. :)
On Sat, May 5, 2012 at 2:31 PM, Jeremy Thomerson
jer...@wickettraining.comwrote:
On Fri, May 4, 2012 at 6:15 PM, Dan Retzlaff dretzl...@gmail.com wrote:
I'll mention one hack for which another Wicket user should rightly
Hi, Jason. Welcome to Wicket!
If you want to tie an entity to a page, best save the entity within the
page itself. You can do this by using a simple o.a.w.model.Model. If you
don't want to detach between requests, then LDM is not a good fit.
There are use cases where serializing entities at the
Your back button isn't really taking the user back; it's taking the user to
a new instance of the search page. How about:
button value=Back type=button
onclick=window.history.back()Back/button
On Thu, May 3, 2012 at 12:54 PM, laine78 meldsa...@hotmail.com wrote:
I went ahead and terminated the
I think you're trying to post code, but as Igor indicated, it's not coming
through. Maybe you should paste into https://gist.github.com/ and give us a
link.
Not sure what your IDE is, but you might look into heap analysis tools such
as the Eclipse Memory Analysis Tool[1]. I kind of doubt there
If you look into the extended browser info detection, you'll see the
results of some JavaScript tests being submitted as a form, and saved in a
session-scoped object for server-side use. Instead of using these results,
you can use your own session-scoped information, and your own Wicket
behavior
Hi Dale,
Wicket keeps the most recent page from each session in a deserialized
state, in addition to writing it to disk. This is an optimization since
most requests interact with only the most recent page. After restart, these
deserialized pages will not be available, forcing Wicket to restore
I'd guess that you're using CompoundPropertyModel. This kind of confusion
is common with CPM, which is why people often recommend against it.
On Wed, May 2, 2012 at 12:09 PM, Richard W. Adams rwada...@up.com wrote:
It means it's looking for a method called getPostTextField() in your
model, but
I'm not sure what you mean by passing a parameter-- you control the
forms' construction, so you can pass anything you'd like.
If your goal is to make bookmarkable construction parameters available to
all forms, getPage().getPageParameters() would help. (That doesn't change
with AJAX, though, so
Hi, Lenin. Have you looked into these two examples? They might help you get
started.
http://www.wicket-library.com/wicket-examples/nested/
http://www.wicket-library.com/wicket-examples/navomatic/
Dan
On Mon, Apr 30, 2012 at 12:30 AM, lenin lening...@gmail.com wrote:
Dear,
i am new in the
Generally when a field validation fails, the user's raw input is
re-rendered instead of the original model value. This lets the user correct
his input instead of retyping the whole thing. Since this is not the
behavior you want, you can call firstName.clearInput() in your onError().
On Mon, Apr
What you describe sounds like Wicket's default behavior. It knows which
widgets correspond to which Java components, and routes data accordingly
when submitted.
On Mon, Apr 30, 2012 at 10:05 AM, kshitiz k.agarw...@gmail.com wrote:
Thanks for the reply Dan...now consider a situation:
You have
Check out Form#clearInput() which calls FormComponent#clearInput() on all
of its components. You can do similiar, but incorporate
FormComponent#hasErrorMessage() so you don't also reset fields with valid
input.
On Mon, Apr 30, 2012 at 11:11 AM, meduolis meduol...@gmail.com wrote:
This solves my
You can call LDM#detach() after the modification, but since this particular
implementation is so light, I'd just use AbstractReadyOnlyModel instead. It
doesn't cache, so detach is not required.
On Mon, Apr 30, 2012 at 11:36 AM, cmagnollay cmagnol...@gmail.com wrote:
And I can force the model to
:57 AM, Carl-Eric Menzel cmen...@wicketbuch.dewrote:
On Mon, 30 Apr 2012 11:38:36 -0700
Dan Retzlaff dretzl...@gmail.com wrote:
You can call LDM#detach() after the modification, but since this
particular implementation is so light, I'd just use
AbstractReadyOnlyModel instead. It doesn't
That depends on how much you value the landing experience. There will be an
extra page rendering and redirect for each new session. I haven't noticed
this pattern from any big online retailers, for example, but it may make
sense for you.
On Thu, Apr 26, 2012 at 6:56 PM, infiniter
That approach is not a conventional use of Wicket AJAX, and I think it
would be very tricky. Can you have your partner host an IFRAME, populated
from your site with a Wicket page? That page can then easily host
repeaters, AJAX links, and panels.
Dan
On Mon, Apr 23, 2012 at 5:42 PM, bad boy
I think the challenge is getting content from a /ssi/footer request
integrated into a Wicket-rendered page. AFAIK Wicket doesn't provide any
component for that. It might be possible using servlet's forward
capability from a custom Wicket component's onComponentTagBody. It seems to
be used for
. the only state we will lose
is noise from component replacement in listviews and user's
onbeforerender() overrides which i think is acceptable since they do
not represent true state mutation that comes from intentional
callbacks.
-igor
On Wed, Apr 11, 2012 at 6:40 PM, Dan Retzlaff dretzl
Hi, Martin. I don't think it's appropriate to have your background thread
referencing page objects, especially not modifying them. In general, pages
get deserialized from the page store, in which case the thread's changes
won't even be seen. Maybe you are saved by an optimization that leaves the
...@gmail.comwrote:
On Thu, Apr 12, 2012 at 7:26 AM, Dan Retzlaff dretzl...@gmail.com wrote:
Your second suggestion seems pretty solid, but I think people do make
non-trivial component hierarchy changes in onBeforeRender.
my point was that such changes are not worthy of a page version
increment because
When re-rendering a page, can you parse the new request URL and make sure
all the parameters are the same as those used at construction? I don't
think Wicket saves the original parameters now, but maybe it should.
On Thu, Apr 12, 2012 at 12:15 PM, Alec Swan alecs...@gmail.com wrote:
And I see
SSI is implemented with its own servlet which is totally separate from
Wicket's filter, so you cannot use both Wicket and SSI for a single page.
However, Wicket provides a variety of ways to include content into pages it
renders: panels, fragments, labels, and more. Once you're familiar with
these
You might want to subclass Form to retain additional state. It could save
the validation errors and put them back onto components in onBeforeRender,
clearing them when validation is eventually successful. This could probably
also be accomplished with a Behavior.
On Wed, Apr 11, 2012 at 7:19 AM,
Yes. You're returning your decorator in an AjaxLink#getAjaxCallDecorator()
override? I think you'll need to pastebin some code for us to help.
On Tue, Apr 10, 2012 at 11:27 PM, cellis christopher.el...@uwa.edu.auwrote:
I've tried to implement the ajaxCallDecorator as you specified, but I fail
1 - 100 of 257 matches
Mail list logo