Hi Jan,
Thanks for that. For your solution to work it looks like wicket would
need to only call getInputName at most once for each input (since
subsequent calls would return different names). Is that how it works?
I'm still learning Scala, but so far I find it a compelling alternative to Java.
What would you do with an Ajax fallback bookmarkable link? Do what the
ret of them do and go to another page? That's the only thing bpls are
goo for.
-Igor
On Sunday, May 17, 2009, John Patterson jdp2...@gmail.com wrote:
Actually I guess I could selectively re-enable url encoding (to put the
El dom, 17-05-2009 a las 15:17 -0700, Igor Vaynberg escribió:
IOC works fine if you use constructor injection :) which is what you
should use.
+1
Tor Iver, take a look at http://misko.hevery.com/code-reviewers-guide/
It is a very good reading!
the only reason people may prefer setter
You can have each page register pinh into an application scoped map.
Then have a thread checking for timeouts.
-Igor
On Sunday, May 17, 2009, Carlo M. Camerino cmcamer...@gmail.com wrote:
ya we've done something sort of similar to this one before but
it kinda behaves differently on different
In onbeforerender you should init the modelobkect not the model.
But in your simple case you dont even need onbrforwrender, instead:
new textfield(..., new propertymodel(this,model)). Done.
-Igor
On Sunday, May 17, 2009, Ian MacLarty ian.macla...@gmail.com wrote:
Hi,
If I have a TextField
Hi Ian,
Thanks for that. For your solution to work it looks like wicket would
need to only call getInputName at most once for each input (since
subsequent calls would return different names). Is that how it works?
no, within the trait I override the 'def getInputName' from Wicket with a
From my perspective the isVisible() case deserves generification. I know that
there is a task for Wicket 1.5. I mean after that we should write an article
in Wiki.
Wilhelmsen Tor Iver wrote:
Overriding methods like isVisible() is also a form of
hack to postpone a property value to a later
On Mon, May 18, 2009 at 4:44 PM, Jan Kriesten
kries...@mail.footprint.de wrote:
Hi Ian,
Thanks for that. For your solution to work it looks like wicket would
need to only call getInputName at most once for each input (since
subsequent calls would return different names). Is that how it
On Mon, May 18, 2009 at 4:38 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
In onbeforerender you should init the modelobkect not the model.
But in your simple case you dont even need onbrforwrender, instead:
new textfield(..., new propertymodel(this,model)). Done.
Awesome. Thanks!
Ian.
um,
sory i didn't get it,
what do i have to register, the page itself? what's pinh (sorry)
So i create a map and then i create a scheduled thread?
So that thread has to constantly poll the map?
is there a method in the page that I can use for this?
On Mon, May 18, 2009 at 2:30 PM, Igor Vaynberg
On Sun, May 17, 2009 at 6:17 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
IOC works fine if you use constructor injection :) which is what you
should use. the only reason people may prefer setter injection is that
configuration looks nicer.
And, when circular dependencies won't allow you
Hey,
How to get ride of the page's state after the request is done?
Thanks.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
Make it stateless :)
2009/5/18 HHB hubaghd...@yahoo.ca:
Hey,
How to get ride of the page's state after the request is done?
Thanks.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands,
If you dont want to render one of the component as a link, use
object.setRenderBodyOnly(true);
This will make the component a text only and removed the tag.
--
View this message in context:
http://www.nabble.com/Modifying-LinkTree-tp23414434p23593505.html
Sent from the Wicket - User mailing
for client-side ordering of the items you should take a look at JQuery.
There is a tablesorter plugin (http://tablesorter.com/docs/) that looks easy
and helpful.
2009/5/15 Jan Torben Heuer jtn...@mail2004.dnsalias.org
Hi,
I want to display a table structure, however the data retrieving
My problem is that I have a page with two major components:
A refreshing view that lists groups
An AjaxFallbackDefaultDataTable that lists the contacts that belong to a
group upon clicking on the group name.
The user could navigate to another page a delete a group and if he returned
to the page
Just use getServletContextPath on ServletRequest.
I do not want the installation path, I want the request path. The
installation path is localhost:xxx and the request path is
mydomain.com
**
Martin
2009/5/17, Martin Makundi martin.maku...@koodaripalvelut.com:
That is my question.. whether I
http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/http/HttpServletRequest.html#getContextPath()
2009/5/18 Martin Makundi martin.maku...@koodaripalvelut.com:
Just use getServletContextPath on ServletRequest.
I do not want the installation path, I want the request path. The
Ah.. so it is even worse... I need the http://www.mycompany.com; -part.
**
Martin
2009/5/18 Marat Radchenko slonopotamusor...@gmail.com:
http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/http/HttpServletRequest.html#getContextPath()
2009/5/18 Martin Makundi
It's available in HttpServletRequest as well.
cheers,
Steve
On 18 May 2009, at 10:37, Martin Makundi wrote:
Ah.. so it is even worse... I need the http://www.mycompany.com; -
part.
**
Martin
2009/5/18 Marat Radchenko slonopotamusor...@gmail.com:
I guess, like you say, it would not be so useful. I was thinking that when
googlebot reads the link and comes back to index the page a week later it
would not get a Page Expired message if the link was bookmarkable. But
probably best to only index the original page anyway and provide another
It sounds very interesting! If you would like to share it some day I
would be curious to know how you did it. Why do you consider it not
complete if it's not possible to do it any better due to how Wicket
handles redirectToInterceptPage?
Best regards, Kent
On Fri, May 15, 2009 at 7:17 PM, James
Kent,
You can svn update my wicket-advanced example. It's got the code in it.
On Mon, May 18, 2009 at 8:24 AM, Kent Larsson kent.lars...@gmail.com wrote:
It sounds very interesting! If you would like to share it some day I
would be curious to know how you did it. Why do you consider it not
I made a FeedbackPanel to apply the Portlet 2.0 CSS classes to relevant
messages. In my naïvetè I assumed I could just override
getCSSClass(FeedbackMessage), but that is called both to set a style on the
li item AND on the contained span element. Is there any reason for this,
especially since
Anybody know what is this situation? Wicket 1.4-rc4
From production:
2009-05-18 16:32:44,316 19598423 [btpool0-112] ERROR RequestCycle -
cannot assign instance of com.application.MainPage to field
wicket.quickstart.LoginPage$1.this$0 of type
wicket.quickstart.LoginPage in instance of
In my experience such unexpected classcastexceptions may occur if the
same class is loaded twice by different classloaders.. Check whether the
LoginPage class exists in both WEB-INF/classes and some other jar in
your classpath..
Martin Makundi wrote:
Anybody know what is this situation?
I found only one instance.
Does it matter that it is a random exception (i.e., I saw it first
time today and the app has been running for a long time)?
**
Martin
2009/5/18 Serkan Camurcuoglu serkan.camurcuo...@telenity.com:
In my experience such unexpected classcastexceptions may occur if the
Hi
Is there any (best) way to create and use html frames in wicket?
Thanks
Shiraz
hi
i want to submit a form using a timer
i there any other way other then using abstractajaxtimebehaviour because i
don't want to use ajax in that form ??
thanks
AnanthaKumaran
You can use some variant of:
add(new StringHeaderContributor(
script type='text/javascript'setTimeout('document.myForm.submit()',5000);
/script));
-Clint
On Mon, May 18, 2009 at 9:08 AM, Anantha Kumaran
ananthakuma...@gmail.com wrote:
hi
i want to submit a form using a timer
i there
Hi,
I just checked out wicket 1.3.6 from the svn, changed into the
wicket-1.3.6 directory, ran `mvn package' and ran across these
test failures:
Failed tests:
test_1(org.apache.wicket.markup.html.header.testing.HeaderTest)
Don't run the tests with java 6
Martijn
On Mon, May 18, 2009 at 4:49 PM, Martin Dietze d...@fh-wedel.de wrote:
Hi,
I just checked out wicket 1.3.6 from the svn, changed into the
wicket-1.3.6 directory, ran `mvn package' and ran across these
test failures:
Failed tests:
I have a similar problem using DataView and AjaxLink. Everything works fine,
but sometimes (after a lot of clicks...) I get the following message:
WicketMessage: component
page:footer:pluginRepeater:2:plugin:rows:9:cols:10:viewpanel:playVideoLink1
not found on page
I just wanted to thank Jeremy, Scott, and Linda for recommending Effective
Java. I read through the book this week. It's wonderful -- accessible and
useful. Now I'm in the process of refactoring my project to start applying
the concepts.
On Fri, May 1, 2009 at 8:53 AM, Carlo Camerino
Are there any Wicket fans going to JavaOne this year? I'm flying in from
Boise on June 1st and would love to meet some fellow wicketers while I'm
there. I'll be wearing all my Wicket attire and singing the Wicket
praise every chance I get... maybe we will see a session on wicket next
year.
-Ryan
Unfortunately I won't be able to make it.
On Mon, May 18, 2009 at 10:11 AM, Ryan wicket-us...@mandrake.us wrote:
Are there any Wicket fans going to JavaOne this year? I'm flying in from
Boise on June 1st and would love to meet some fellow wicketers while I'm
there. I'll be wearing all my
Typing on a phone sucks :)
S/pinh/ping
You can register a map of (sessionid) to (ping timestamp, userid)
-igor
On Sunday, May 17, 2009, Igor Vaynberg igor.vaynb...@gmail.com wrote:
You can have each page register pinh into an application scoped map.
Then have a thread checking for timeouts.
I'm planning to visit the Pavillion only on Tues June 2.
With economy down, management sees JavaOne as nonessential, so I'm on the
outside looking in this year. Oh well. More time for Yosemite and such.
Anyway, I don't have the cool wicket bling, but pick a vendor both and time,
and maybe I'll
I am trying to do some basic Ajax in Wicket (1.4rc4)
I have the following code fragment:
TextFieldString loginField = new TextFieldString(login,
new PropertyModelString(this, login));
loginField.add(new AjaxFormComponentUpdatingBehavior(onblur) {
private static final
I was thinking of going. I went last year but it was such a
javafx-fest that it was hard to find anything interesting that wasn't.
This year seems even more so. If I wanted to get a bunch of sun
propaganda thrown at me I don't see why I need to pay for it. Have I
mentioned they rejected a wicket
I have just one problem with eclipse, I can't use the HTML formatter,
that's very sucks. I tried tidy but it didn't work too. What do you
use guys to format html code?
On Mon, May 18, 2009 at 2:06 PM, Dane Laverty danelave...@gmail.com wrote:
I just wanted to thank Jeremy, Scott, and Linda for
I use the HTML formatter without problems. What issue are you having?
I use MyEclipse, it may be different?
J
On Mon, May 18, 2009 at 4:47 PM, Eduardo Nunes esnu...@gmail.com wrote:
I have just one problem with eclipse, I can't use the HTML formatter,
that's very sucks. I tried tidy but it
It appears that using external html editors causes sync issues. Apparently
eclipse doesn't monitor changes to the file system, except to warn you that
it's out of sync. I would love the know the truth of it as I could very
well be missing something obvious. In fact, I would bet that I am,
I always have to do a 'Refresh' when changing the HTML. Its quite painful..
I tend to author the bulk of my html in an external editor that is
more suitable to the purpose and fast ( the eclipse validators are
painfully slow, particularly in Javascript intensive pages). Then I
tweak it in Eclipse
it's very strange, because if I hit ctrl+shift+f in some html code
with WTP, the source code will be completely unwell formatted. I will
try amateras plugin, thank you
On Mon, May 18, 2009 at 9:15 PM, John Armstrong siber...@siberian.org wrote:
I always have to do a 'Refresh' when changing the
While we are on the topic, does anyone know if there's a super-secret
version of wicket-bench that plays well with the Eclipse 3.3 debugger? If
not, how much effort would it take to get it up to date? I would be glad to
contribute.
Or, alternatively, is there another option out there for
What's your web.xml mapping?
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, May 18, 2009 at 6:41 PM, Mark Sloan mark.sl...@sri.com wrote:
I am trying to do some basic Ajax in Wicket (1.4rc4)
I have the following code fragment:
TextFieldString loginField = new
This is my first time attending and there is certainly a ton of JavaFX
crap that I'll be skipping. There still seems to be some useful stuff
this year, and it will be fun to meet some other like minded people :-)
I don't blame you for not going. I wouldn't be going either if my costs
weren't
48 matches
Mail list logo