On 09.05.2015 15:21, Andrea Del Bene wrote:
You are right. I'm afraid you can not do what you want in Wicket 6
because up to this version autocomponents (i.e those who are added
during markup parsing) are removed after rendering phase. That's why
your link doesn't find its component. With
You could override the onRender method that is executed every time the page
is rendered on the browser.
Em 10/05/2015 17:43, Chris chris...@gmx.at escreveu:
Hi all,
I would like to measure the time the user stays at a certain page. I would
do this by querying the system’s time when loading
Thanks but the methods such as onBeforeRender seem not be called on browser
back.
Chris
Am 10.05.2015 um 22:54 schrieb Marcel Barbosa Pinto marcel.po...@gmail.com:
You could override the onRender method that is executed every time the page
is rendered on the browser.
Em 10/05/2015 17:43,
Hi all,
I would like to measure the time the user stays at a certain page. I would do
this by querying the system’s time when loading the page (in the page
constructor) and the system time when clicking on a link that refers the user
to the next page.
However, if the user hits the browser back
Hmm, it can be a browser cache issue, or the Wicket cache.. Try call the
setVersioned(false)
Em 10/05/2015 18:09, Chris chris...@gmx.at escreveu:
Thanks but the methods such as onBeforeRender seem not be called on
browser back.
Chris
Am 10.05.2015 um 22:54 schrieb Marcel Barbosa Pinto
Hi.. If you want only the selected value, you could create a hidden field
to mirror the dropdown's value.
Em 10/05/2015 14:48, Sebastien seb...@gmail.com escreveu:
Hi Chris,
AFAIK no. I don't know if such request feature has already been
discussed...
Otherwise, I think this could be
On Sun, May 10, 2015 at 3:15 PM, Chris chris...@gmx.at wrote:
Hi Tobias,
I have followed your approach (update from parent) and it works. Thanks a
lot.
But could you show me also how to overwrite the visibility directly in the
ResourceLink?
ResourceLink pl = new ResourceLink(pdfLink, new
Hi Tobias,
I have followed your approach (update from parent) and it works. Thanks a lot.
But could you show me also how to overwrite the visibility directly in the
ResourceLink?
ResourceLink pl = new ResourceLink(pdfLink, new
ByteArrayResource(application/pdf) {…}?
By the way, in the panel I
Hi,
have a look at models in the user guide there are some good approaches to
update them.
Visibility:
ResourceLink pl = new ResourceLink(pdfLink, new
ByteArrayResource(application/pdf)) {
// visibility method
}
kind regards
Tobias
Am 10.05.2015 um 14:15 schrieb Chris chris...@gmx.at:
hi, thanks a lot.
I have done it with a LDM and overriding the isVisible and onDetach method:
model = new LoadableDetachableModelListString() {
@Override
protected ListString load() {
ListString locationsNotInRoute = Lists.newArrayList();
Yes thats the right way - LDM saves the model object for the whole request!
(Load method is invoked once per request) - good!
kind regards
Tobias
Am 10.05.2015 um 14:47 schrieb Chris chris...@gmx.at:
hi, thanks a lot.
I have done it with a LDM and overriding the isVisible and onDetach
Hi Chris,
AFAIK no. I don't know if such request feature has already been discussed...
Otherwise, I think this could be integrated in wicket-kendo-ui
http://demos.telerik.com/kendo-ui/dropdownlist/index
If you are interested with, please open a ticket here:
Hi all,
I would have again a question regarding models:
I have a page where I create a LDM model of an object.
Later on, I have severals components that use a property model of the object’s
attribute (new PropertyModelString(object,“attribute“).
All components are placed within a form. On
Sorry, it works now - it was a small mistake.
Chris
Am 10.05.2015 um 20:03 schrieb Chris chris...@gmx.at:
Hi all,
I would have again a question regarding models:
I have a page where I create a LDM model of an object.
Later on, I have severals components that use a property model
Thank you for sharing! Looks interesting. :-)
kind regards
Tobias
Am 10.05.15 um 17:31 schrieb Marcel Barbosa Pinto:
I've been working on an unusual app, it's main purpose is to allow to write
a page using Javascript/Nashorn JVM capabilities as a Wicket
ResourceReference.
Hi all,
is it possible to have a drop-down box without a list of choices (the list is
directly coded in html as select and only the selected value should be read)?
Thanks, Chris
-
To unsubscribe, e-mail:
I've been working on an unusual app, it's main purpose is to allow to write
a page using Javascript/Nashorn JVM capabilities as a Wicket
ResourceReference.
https://github.com/mbppower/scalaWicket
Maybe it can be useful to someone.
17 matches
Mail list logo