Hi,
It is possible only if you provide your own implementations of
BookmarkableMapper and PageInstanceMapper.
These mappers are installed by Wicket and used only if there are no more
specific mappers installed by the application.
It will be much easier for you to just change 'wicket' to something
AjaxButton should be fine... by overriding
protected void onSubmit(AjaxRequestTarget target, Form form)
{
}
/**
* Listener method invoked on form submit with errors
*
* @param target
* @param form
*/
protected void onError(AjaxRequestTarget target, Form form)
{
}
On Tue, Apr 21, 2015 at 8:0
For the sample I have two buttons to show the coding and to see the results
of either of them.
I have no problem closing the window with using AjaxSubmitLink - I don't
know how to display the message.
Maybe it's easier to see with the complete program:
--
View this message in context:
http://a
Hi,
Please read http://wicket.apache.org/guide/guide/ajax.html#ajax_3
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Apr 21, 2015 at 10:33 AM, Ulrich wrote:
> For the sample I have two buttons to show the coding and to see the results
> of either of them.
Thanks a lot; that solved it.
JAVA now (to supply the resuolution for others):
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-close-a-ModalWindow-without-AjaxRequestTarget-tp4670429p4670439.html
Sent from the Users forum mailing list archive at Nabble.com.
-
Thanks!
> Am 21.04.2015 um 09:02 schrieb Martin Grigorov :
>
> Hi,
>
> It is possible only if you provide your own implementations of
> BookmarkableMapper and PageInstanceMapper.
> These mappers are installed by Wicket and used only if there are no more
> specific mappers installed by the appli
Andrew, thanks a lot!
How could I in addition check if Javascript is enabled so that I can add a
default Panel in case if it is not enabled?
The following 2 lines do not work as it returns false although JS is enabled.
WebClientInfo clientInfo = WebSession.get().getClientInfo();
if (clientInfo
Java != JavaScript
If BrowserInfoPage has set the ClientInfo properties then JavaScript is
enabled
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Apr 21, 2015 at 2:09 PM, Chris wrote:
> Andrew, thanks a lot!
>
> How could I in addition check if Javascript
Or just mount all your pages. This way you won't see
/wicket/bookmarkable/... or /wicket/page?3
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Apr 21, 2015 at 2:06 PM, Chris wrote:
> Thanks!
>
>
> > Am 21.04.2015 um 09:02 schrieb Martin Grigorov :
> >
> >
Hi, could you give a small example how to reference the BrowserInfoPage?
thanks
> Am 21.04.2015 um 13:39 schrieb Martin Grigorov :
>
> Java != JavaScript
>
> If BrowserInfoPage has set the ClientInfo properties then JavaScript is
> enabled
>
> Martin Grigorov
> Wicket Training and Consulting
>
http://www.wicket-library.com/wicket-examples-6.0.x/hellobrowser/ shows it
https://github.com/apache/wicket/tree/master/wicket-examples/src/main/java/org/apache/wicket/examples/hellobrowser
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Apr 21, 2015 at 3:21
Hi Martin,
thanks for your help. I would have a follow-up question:
I have disabled Javascript in Firefox and inserted following code below but
nevertheless, the page does not display "If you see this, it means that both
javascript and meta-refresh are not support by your browser configuration.
Hi,
my client asked me to implement a simple row numbering in a data table.
What I have is a Panel with a DataTable, with a varying number of
IColumns. I thought that I could add such a row number column
implementation in virtually no time, but it turns out that the index
returned by populateItem'
See
http://apache-wicket.1842946.n4.nabble.com/DataTable-how-to-make-a-column-showing-the-row-number-td1855450.html
:
public void populateItem(Item cell, String compId, IModel rowModel) {
item.getindex() is cell, ((item)item.getparent()).getindex() is row
On Tue, Apr 21, 2015 at 2:35 PM, Stefan R
Hi Andrew,
many thanks for the pointer.
It's actually ((Item)cellItem.getParent().getParent()).getIndex() as
mentioned in the nabble thread.
I never would have guessed ;-)
Thanks again very much.
Bye,
Stefan
Andrew Geery wrote:
> See
> http://apache-wicket.1842946.n4.nabble.com/DataTable
Hi all,
would it be possible when having a submit link and a form+post, to nevertheless
transfer the page parameters in the url? Something like
action=„…?parameter=value"
Thanks, Chris
-
To unsubscribe, e-mail: users-unsubsc
Hi all,
I need so share a list of strings between some objects during a session; Within
the session, the list of strings will be deleted based on specific requests.
Currently, I store them in the page but the disadvantage of this approach is
that I have to delegate the list to each sub(sub)comp
Hi all,
how is it possible to refresh a page or panel on browser back? If the user
deletes an item and clicks on browser back to go to the last page, it is still
displayed which should not be the case.
Thanks a lot,
Chris
-
To
Hi,
Wicket disables caching for the pages [1] so going back will make a request
for re-render.
You should use dynamic models [2] to re-render the latest state.
1.
https://github.com/apache/wicket/blob/822a1693c2d017478613321ae6fce40d519b24fa/wicket-core/src/main/java/org/apache/wicket/markup/htm
Hi,
On Wed, Apr 22, 2015 at 4:48 AM, Chris wrote:
> Hi all,
>
> I need so share a list of strings between some objects during a session;
> Within the session, the list of strings will be deleted based on specific
> requests.
>
> Currently, I store them in the page but the disadvantage of this ap
20 matches
Mail list logo