Hello Pedro,
In my mind IRequestParameters and PageParameters should have stemmed from a
common interface, extend some even generic one like(IKeyValues, IParams) but
I trust you guys see the bigger picture maybe IRequestParameters is a very
generic thing that doesn't have to mean a page's
Hi Serban,
Feel free to create a patch with your proposed changes (IParams) and we will
consider it.
About stateless - see https://github.com/martin-g/wicket-stateless and
https://github.com/robmcguinness/wicket-stateless
https://github.com/robmcguinness/wicket-statelessThose are Jolira's
ported
in wicket 1.4 I used an Behavior called OnClickConfirmBehavior to add a
javascript confirm dialog:
AjaxLink link = ...
link.add( new OnClickConfirmBehavior(...) );
if I do the same in wicket 1.5-rc3, the javascript confirm dialog never
appears.
this has to do with the order, who the
I moved the registration in #onInitialize() so that now it is possible to
customize the behavior if needed.
See 1.5-RC3 changelog for more details.
For your use case it is better to use AjaxLink#getAjaxCallDecorator()
instead.
override decorateScript(Component comp, String script) {
return
Hi Martin,
thanks for the hint... this way works for me too.
cheers gab
On 12/04/11 17:42, Martin Grigorov wrote:
I moved the registration in #onInitialize() so that now it is possible to
customize the behavior if needed.
See 1.5-RC3 changelog for more details.
For your use case it is
I have two questions - a minor one then my main one.
Minor question
--
Am I correct that the calls
PageParameters params = ...
MyPage pgNext = new MyPage(PageParameters params);
setResponsePage(pgNext);
result in the creation of a session-relative page, whereas the calls
Hi,
See inline
On Tue, Apr 12, 2011 at 12:05 PM, Ian Marshall ianmarshall...@gmail.comwrote:
I have two questions - a minor one then my main one.
Minor question
--
Am I correct that the calls
PageParameters params = ...
MyPage pgNext = new MyPage(PageParameters params);
Hi I don't know the best way to make title of page depends on subpage.
I have a BasePage with a header, footer, etc. My concrete pages extends from
BasePage. Then I want to have different title on each page.
What do you recomend?
Thanks
You can normally use wicket in the head or wicket:head sections.
I use this approach to set my page favicon (which is the link tag).
It should also work for the title tag.
e.g. put a wicket:id into the title tag in the head section of the base
page:
html
head
title wicket:id=title/title
I like this Idea but, how do you solve language issue?
I mean, how can i do in concrete class to provide a different title
depending on language.
Now i'm working with a properties file with wicket:message key=page.title
/
Defining a properties file for every page it seems to work but it is not so
Each sub page will do:
protected IModelStringprovideTitleModel() {
return new ResourceModel(the.page.title.property.for.that,page)
}
On Tue, Apr 12, 2011 at 3:10 PM, Tito njyt...@gmail.com wrote:
I like this Idea but, how do you solve language issue?
I mean, how can i do in concrete class
I mean, how can i do in concrete class to provide a different title
depending on language.
Your title model class could check Session.get().getLocale() to decide what
text to return from getObject().
- Tor Iver
-
To
Hi,
I am using tabs in my page.
When switching between the tabs I get this exception frequently (and not
every time).
java.lang.IllegalStateException: No Page found for component
[MarkupContainer [Component id = link]]
at org.apache.wicket.Component.getPage(Component.java:1819)
at
Thank you, Martin. That's just what I wanted to know.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Models-in-a-bookmarkable-page-tp3444176p3444612.html
Sent from the Users forum mailing list archive at Nabble.com.
What about using Page#getString(String key) method? If you have your
.properties files with language suffixes (e.g. MyPage_en.properties,
MyPage_es.properties, MyPage_fr.properties) Wicket will automatically
retrieve the String resource from the properties file of the session
language.
-
On 04/12/2011 03:20 PM, Tejash Tarun wrote:
Hi,
I am using tabs in my page.
When switching between the tabs I get this exception frequently (and not
every time).
java.lang.IllegalStateException: No Page found for component
[MarkupContainer [Component id = link]]
at
On 04/12/2011 04:36 PM, Thierry Peng wrote:
On 04/12/2011 03:20 PM, Tejash Tarun wrote:
Hi,
I am using tabs in my page.
When switching between the tabs I get this exception frequently (and not
every time).
java.lang.IllegalStateException: No Page found for component
[MarkupContainer
Thank you everybody.
I think it could be solve with .properties hierarchy in that case. I don't
have to use java code and just redifining page.title property for every page
it should work.
I thought perhaps wicket had something like a page template that i could
override in html concrete page.
we should probably make the ajax behavior append to the attribute
instead of overriding it...
-igor
On Tue, Apr 12, 2011 at 2:42 AM, Martin Grigorov mgrigo...@apache.org wrote:
I moved the registration in #onInitialize() so that now it is possible to
customize the behavior if needed.
See
check your log for serialization errors.
-igor
On Tue, Apr 12, 2011 at 6:20 AM, Tejash Tarun ttej...@educator.eu wrote:
Hi,
I am using tabs in my page.
When switching between the tabs I get this exception frequently (and not
every time).
java.lang.IllegalStateException: No Page found
My book had a recipe for a flexible solution for managing the page
title, and as luck would have it its in the chapter that was made
available for free:
http://www.packtpub.com/sites/default/files/downloads/1605_Chapter12.pdf
-igor
On Tue, Apr 12, 2011 at 7:40 AM, Tito njyt...@gmail.com wrote:
Thank you Igor, I'm reading this now.
Tito
2011/4/12 Igor Vaynberg igor.vaynb...@gmail.com
My book had a recipe for a flexible solution for managing the page
title, and as luck would have it its in the chapter that was made
available for free:
The only thing that comes to mind is storing a flag in session. Or
perhaps if you are updating you datastore when the link is clicked you
could check there. Not the best solution in my mind, if you find
something else let me know...
From: hrbaer herber.m...@gmail.com
To:
Just a general question about packthub...
I've ordered the printed version on the 26th of March, from the
Netherlands, but I haven't received it yet.
Did someone else also order the printed version? If so, did you
receive it yet or should I be worried now ;-)
Cheers,
Marco
On 2 April 2011
It seemed to take forever (a few weeks) to get mine. The PDF came right away
tho.
On Apr 12, 2011, at 12:01 PM, Marco Springer wrote:
Just a general question about packthub...
I've ordered the printed version on the 26th of March, from the
Netherlands, but I haven't received it yet.
Hi everyone,
I am using CryptedUrlWebRequestCodingStrategy to encode urls. I also
put an instance of BookmarkablePageLink on my page and the link that
has been generated by this is NOT bookmarkable. What's wrong I am
doing? Do I always have to mount my page as bookmarkable?
Best regards,
Vitaly
I ordered my copy to Poland almost two weeks ago and still no printed
version :/ But PDF on my Kindle is working fine :)
--
Best regards / Pozdrawiam,
Tomasz Dziurko
www.tomaszdziurko.pl
http://www.programatico.pl/
I ran into a problem which could be a bug.
I have a field on the form which is disabled (a disabled
CheckBoxMultipleChoice). However, one item in that field is pre-selected, so
it's a Disabled+Selected situation.
There is another Ajax fields that does a target.addComponent() of this
I Got mine today,
well done and thank you for all the great work!
Regards
Martin
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Apache-Wicket-Cookbook-Published-tp3406012p3445604.html
Sent from the Users forum mailing list archive at Nabble.com.
You are in good company :-). I've ordered my copy on 31 March and I
still waiting patiently for it.
@Martijn
Nice pic :-)!
Just a general question about packthub...
I've ordered the printed version on the 26th of March, from the
Netherlands, but I haven't received it yet.
Did someone else
Recent change notes:
0.9.2
-Fixed: gutter jitter [Defect 77]
-Fixed: Repeated F4 from class needs me to move cursor [Defect 62]
-Fixed: WicketForge does not recognize FormComponentPanel as a Panel [Defect
70]
-Fixed: Border hierarchy not recognised [Enhancement 68]
-Minor changes
0.9.1
-Fixed:
Great stuff! Will get a copy!
Cheers
Niv
On Sat, Mar 26, 2011 at 1:52 AM, Brown, Berlin [GCG-PFS]
berlin.br...@primerica.com wrote:
Congrats.
I trust Igor
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: Friday, March 25, 2011 1:44 PM
To:
32 matches
Mail list logo