Hi,
While it wouldn't be considered best practice, you could. There are
several tags, like dropdownchoice, that write out pieces of HTML
without creating sub elements first.
Eelco
On 5/3/06, Ashley Aitken [EMAIL PROTECTED] wrote:
Howdy All,
I am new to Wicket, just looking around for an
committedOn 5/2/06, Rüdiger Schulz [EMAIL PROTECTED] wrote:
Hello Johan,attached is a german application.properties file. I spotted andcorrected two little typos in the file I got with rc3 :)Also, I changed the sentences for StringValidator.minimum andStringValidator.maximum
, so that they have
Hi,
After updating from wicket 1.2 rc2 to wicket 1.2 rc3, we started getting
StackOverflowErrors like this:
java.lang.StackOverflowError
wicket.markup.html.form.SubmitLink.getForm(SubmitLink.java:172)
wicket.markup.html.form.SubmitLink.getForm(SubmitLink.java:172)
Looks like your problem is right here:
/**
* @return the Form for which this submit link submits
*/
public final Form getForm()
{
if (form == null)
{
form = getForm();
}
return form;
}
ie. getForm calls getForm recursively :-(
Ari S.
- Original Message -
From: Ari Suutari
already fixedOn 5/3/06, Ari Suutari [EMAIL PROTECTED] wrote:
Looks like your problem is right here: /*** @return the Form for which this submit link submits*/ public final Form getForm() {if (form == null){ form = getForm();}return form;
}ie. getForm calls getForm recursively :-(Ari S.-
Yes, I noticed that myself also. I'll compile from svn.
I'm just a little worried by new bugs being introduced at
this late in RC phase of release.
Ari S.
- Original Message -
From: Johan Compagner [EMAIL PROTECTED]
To: wicket-user@lists.sourceforge.net
Sent: Wednesday, May 03,
Yeah. That looks like something that could have easily been prevented
by *testing* before committing.
Eelco
On 5/3/06, Ari Suutari [EMAIL PROTECTED] wrote:
Yes, I noticed that myself also. I'll compile from svn.
I'm just a little worried by new bugs being introduced at
this late in RC phase
hello
sir
i am currently doing RD in wicket but i am not able to solve the
problem of BACK BUTTON and SESSION TIMEOUT for whole application
wating for reply
regards
ketan d.gote
Ashley Aitken wrote on 03.05.2006 at 07:50:
it is hard to follow threads via the archive
You're probably using the archive at SF. Take a look at nabble's, I
found that to be way better regarding searching and following threads:
http://www.nabble.com/Wicket---User-f13976.html
--
greetings
Hi allI am receiving the following error when trying to call a component in my HTML:WicketMessage: Expected close tag. Possible attempt to embed component(s) in the body of a component which discards its body.
The tag I am using is a a wicket:id=somethingSome Text/a. I use this in other pages
what problems do you have??On 5/3/06, ketan gote [EMAIL PROTECTED] wrote:
hello
sir
i am currently doing RD in wicket but i am not able to solve the
problem of BACK BUTTON and SESSION TIMEOUT for whole application
wating for reply
regards
ketan d.gote
give me the complete html file On 5/3/06, Rui Pacheco [EMAIL PROTECTED] wrote:
Hi allI am receiving the following error when trying to call a component in my HTML:WicketMessage: Expected close tag. Possible attempt to embed component(s) in the body of a component which discards its body.
The tag I
I spotted this because we have a ConverterFactory which returns
DateConverters which have format string different from default (think
it as customer requirement). Now, when I create a TextField (., Date.class)
it uses converter from ConverterFactory and my custom format string.
However, when
Here it is.On 5/3/06, Johan Compagner [EMAIL PROTECTED] wrote:
give me the complete html file On 5/3/06, Rui Pacheco
[EMAIL PROTECTED] wrote:
Hi allI am receiving the following error when trying to call a component in my HTML:WicketMessage: Expected close tag. Possible attempt to embed
Eelco Hillenius schrieb:
While it wouldn't be considered best practice, you could. There are
several tags, like dropdownchoice, that write out pieces of HTML
without creating sub elements first.
Instead of handling Strings yourself, it is perfectly possible to use
ECS or any other lib (like
i don't see any wicket:id so that i know which part is going wrong.What is the exact input file for wicket?johanOn 5/3/06, Rui Pacheco
[EMAIL PROTECTED] wrote:
Here it is.On 5/3/06, Johan Compagner
[EMAIL PROTECTED] wrote:
give me the complete html file On 5/3/06, Rui Pacheco
[EMAIL PROTECTED]
Hello fellow Wicket users,
I have a general question regarding models and using them with forms
and custom panels.
In my example I have a form with a CompoundPropertyModel and several
standard TextFields etc., each one therefore being mapped to a
Property of the Bean passed to the CPM. So far so
hmm view directly in gmail alteres the html i had to download it to see what was the real file.what was the place where wicket reported an error?On 5/3/06,
Johan Compagner [EMAIL PROTECTED] wrote:
i don't see any wicket:id so that i know which part is going wrong.What is the exact input file for
Can it be the input element input type=text wicket:id=Search
class=itemsarea that is not closed? -- BTW other input elements also
seem to be not properly closed.
Rui Pacheco wrote:
Hi all
I am receiving the following error when trying to call a component in
my HTML:
WicketMessage:
Look for a wicket:id=inserirInserir/a. That's where he complains.On 5/3/06, Johan Compagner
[EMAIL PROTECTED] wrote:hmm view directly in gmail alteres the html i had to download it to see what was the real file.
what was the place where wicket reported an error?On 5/3/06,
Johan Compagner [EMAIL
Hi all againThis time my problem is with my implementation of Navomatic.I had a menu with several elements, and it worked as described in the Navomatic example. Today I added a new element to the menu, with the same syntax that all other entries have, but Wicket is not rendering the new element
Wicket demands that we use strict xhtml? I thought having a normal html tag would be enough.On 5/3/06, Dave Schoorl
[EMAIL PROTECTED] wrote:Can it be the input element input type=text wicket:id=Search
class=itemsarea that is not closed? -- BTW other input elements alsoseem to be not properly
THAT WAS IT!But this creates a bigger problem. I have this same html on other pages and they work properly. Why does he accept open tags on some pages and demand that I close them on others?
On 5/3/06, Dave Schoorl [EMAIL PROTECTED] wrote:
Can it be the input element input type=text
Hi Rüdiger (et al.),
Thanks for your post.
On 03/05/2006, at 5:20 PM, Rüdiger Schulz wrote:
Ashley Aitken wrote on 03.05.2006 at 07:50:
it is hard to follow threads via the archive
You're probably using the archive at SF. Take a look at nabble's, I
found that to be way better regarding
we are a 'relaxed' in most places for those checks.If you could have a simple test case (java file and html file) which also should work in the relaxed modeplease make a bug report for this and attach the 2 files.
i did change the error to the outside world a bit better:WicketMessage: Expected
See DatePicker.setDateConverter() method.you can set the dateconverter method on the datepicker that you want to useSo if you made youre own. Also set it on the DatePicker itself.i can't use the target.getConverter
() because that just returns a IConverter..I hope to fix this in 2.0 when we
On 03/05/2006, at 5:42 PM, Timo Stamm wrote:Instead of handling Strings yourself, it is perfectly possible to use ECS or any other lib (like the ones that come with Jetty) for this task.Yes, that was my hope (or that Wicket classes could optionally generate the full HTML). But I am unsure how to
Ashley Aitken schrieb:
On 03/05/2006, at 5:42 PM, Timo Stamm wrote:
Instead of handling Strings yourself, it is perfectly possible to use
ECS or any other lib (like the ones that come with Jetty) for this task.
Yes, that was my hope (or that Wicket classes could optionally generate
the
Hi Rui,
Do you have the files ListarProverbios.html and ListarProverbios.java
present in the same directory as the Menu.html and Menu.java?
I think both of them are needed for wicket:link to do the magic it does.
Cumprimentos,
Dave
Rui Pacheco wrote:
Hi all again
This time my problem is
DaveNo I don't, but then again, neither are any of the other links, and they work like a charm.Menu.html is included in all the pages that it calls, so in theory it is next to the other pages, at least when the application is running.
On 5/3/06, Dave Schoorl [EMAIL PROTECTED] wrote:
Hi Rui,Do you
what does the panel have to do with the property in a CPM?It is the things that are in the panel that want to use the CPM that needs the right properties.But are you saying you want to make a somwhat generic FormPanel with textfields that must map on
specific properties on a random CPM?You could
Hi,
see DatePicker.setDateConverter() method.
I noticed this.
you can set the dateconverter method on the datepicker that you want to use
So if you made youre own. Also set it on the DatePicker itself.
Yes, I know, but this is not consistent with the idea of converter factory.
i
Well, thats funny. I experimented a bit with the navomatic application
of wicket-examples and when I removed the page3.class file from the
classpath, the link to page3 showed the same behaviour as you described.
And in the log the following message was shown: WARN -
AutoLinkResolver
Hello,
i downloaded the latest wicket-*-1.2-rc3 drop and installed everything.
I get the following error in wicket-examples-1.2-rc3 in ParsedHTML.java:
WebTable.TableRow cannot be resolved to a type.
Juergen Donnerstag has described extensively his problems with that.
Has anybody else got the
Please see the template example as well
Juergen
On 5/3/06, Timo Stamm [EMAIL PROTECTED] wrote:
Ashley Aitken schrieb:
On 03/05/2006, at 5:42 PM, Timo Stamm wrote:
Instead of handling Strings yourself, it is perfectly possible to use
ECS or any other lib (like the ones that come with
About the Menu.html being included in all the pages, I was just repeating what Navomatic does. Nevermind that.The thing is, all links work and used to work without those classes in the package. That one link, that I added today, doesn't work.
I see nothing on Tomcat's logs. I am using RC3, Java 5,
WebTable is from httpunit and we are using 1.6.1 currently. In case
you are using maven the jar should be downloaded automatically. Why
did you download the jars yourself?
Juergen
On 5/3/06, middledot [EMAIL PROTECTED] wrote:
Hello,
i downloaded the latest wicket-*-1.2-rc3 drop and installed
Hello Johan,
yes, I'd like to make a generic Panel, which Model is updated
(somehow) by a combination or some other computation of the Models of
its included FormComponents. So the Panel shall map on a single
property, but consists of several sub-components.
I see that Palette from extensions
But what you want is a specialized FormComponentbut give the panel the id you want to get out of the compound modelbut do give the compound model to the panel:class MyPanel extends Panel {public MyPanel(String id, Model parentCompoundModel, String[] textFieldIds) {
super(id); setModel(new
Well, as already written I'm using a custom feedback messages model to be able
to mix in static messages:
protected FeedbackMessagesModel newFeedbackMessagesModel() {
return new FeedbackMessagesModel(newFilter()) {
protected List processMessages(List messages) {
Hello Jurgen,
I did not download any jars. I've downloaded the latest drop rc3 and
installed in Eclipse.
I thought that the drop is designed in such a way so that it's ready to go
in Eclipse without any further work, apart maybe from some dependencies.
I'm sure that a lot of people coming to
Ok, I loosened it up a bit.
Eelco
On 5/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Well, as already written I'm using a custom feedback messages model to be able
to mix in static messages:
protected FeedbackMessagesModel newFeedbackMessagesModel() {
return new
Could be, I'm not sure. Matjin is our build master may be he can
answer the question.
Juergen
On 5/3/06, middledot [EMAIL PROTECTED] wrote:
Hello Jurgen,
I did not download any jars. I've downloaded the latest drop rc3 and
installed in Eclipse.
I thought that the drop is designed in such a
bad johan, bad!-IgorOn 5/3/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Yeah. That looks like something that could have easily been preventedby *testing* before committing.
EelcoOn 5/3/06, Ari Suutari [EMAIL PROTECTED] wrote: Yes, I noticed that myself also. I'll compile from svn. I'm just a
Panels are useful to encapsulate common GUI elements with several linesof markup, but not for single tags.
and dont forget about Fragments :)-Igor
hmm, so you dont have ListarAbreviaturas.java and ListarAbreviaturas.html in the same package? where does the first link take you then?-IgorOn 5/3/06,
Rui Pacheco [EMAIL PROTECTED] wrote:
About the Menu.html being included in all the pages, I was just repeating what Navomatic does. Nevermind
I know all the links take me to the correct pages, except for the link I added today, which is not rendered by Wicket.On 5/3/06, Igor Vaynberg
[EMAIL PROTECTED] wrote:hmm, so you dont have
ListarAbreviaturas.java and ListarAbreviaturas.html in the same package? where does the first link take you
since you are the one who losened it up, do you mind adding some defensive code into the constructor? :)-IgorOn 5/3/06, Eelco Hillenius
[EMAIL PROTECTED] wrote:Ok, I loosened it up a bit.
EelcoOn 5/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Well, as already written I'm using a custom
it is given you have the jars :)you should do mvn eclipse:eclipse - that will download all the jars and build an eclipse project files.-IgorOn 5/3/06,
Juergen Donnerstag [EMAIL PROTECTED] wrote:
Could be, I'm not sure. Matjin is our build master may be he cananswer the question.JuergenOn 5/3/06,
you didnt answer my questiondo you have those files in the same package and if not what pages do you end up at?-IgorOn 5/3/06, Rui Pacheco
[EMAIL PROTECTED] wrote:
I know all the links take me to the correct pages, except for the link I added today, which is not rendered by Wicket.
On 5/3/06,
I do not have those pages in the same package as the menu. And the pages I end up at are the ones the menu points to, ie, the correct ones.I'm sending you the packages personally as this is the internet and I dont want my source code floating around :)
And I won't make this an habit, too.On
I removed that. What's the point of checking whether it's one of the
available message levels, when that is something users might decide to
tweak themselves? I don't see any potential mis-use comming from that
which would make Wicket harder to maintain or users digging their own
holes to fall in.
so nothing will break if message is null?i dont know about the level. i dont think we have any code that depends on the level being one of the built in ones, but that is not to say we wont. this was an internal object whose integrity we could guarantee, now we cant so we have to be more careful
hmm, nothing really jumps out at me. i guess you will have to walk the code in WicketLinkTagHandler to see why its not doing its magic.-IgorOn 5/3/06,
Rui Pacheco [EMAIL PROTECTED] wrote:
I do not have those pages in the same package as the menu. And the pages I end up at are the ones the menu
mijn naam is haas.On 5/3/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
bad johan, bad!-Igor
On 5/3/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Yeah. That looks like something that could have easily been preventedby *testing* before committing.
EelcoOn 5/3/06, Ari Suutari [EMAIL PROTECTED] wrote:
Hi,I have a page with some links on the left side of the page, on the right side of the page I want to display a form.Depend on which link is clicked I want to display another form (so replace the old form by a new one).
While working with normal links this is no problem but I wanted to use ajax
One final question: was it suppose to work with the pages in a different package or not? By your reply I take it that it should work.On 5/3/06, Igor Vaynberg
[EMAIL PROTECTED] wrote:
hmm, nothing really jumps out at me. i guess you will have to walk the code in WicketLinkTagHandler to see why its
Ah... I think I know the problem...The scope of the jwebunit stuff is 'TEST'. This means that the files don't end up in the final zip. Maven 2 makes life so much easier :-)If you need the jars to work *now* I suggest what Igor mentioned: running mvn eclipse:eclipse in the root folder.
MartijnOn
autolinker looks for pages in the same package as the page it is on i believe. so since your menu is a panel and you are including it in a basepage i believe it should work as long as the pages are in the same package as the page that contains the menu panel.
-IgorOn 5/3/06, Rui Pacheco [EMAIL
Put your form into a panel. This works, but I haven't looked at versioning (yet).public class Index extends QuickStartPage { private Panel panel; /** * Constructor that is invoked when page is invoked without a session.
* * @param parameters Page parameters */ public Index(final PageParameters
Hi,
I would like users to be able to bookmark my login page with a nice
link. I have mounted the page and tested that this link does indeed take
you to my LoginPage. However, when users are redirected to this page by
redirectToInterceptPage the page url is not the bookmarkable one
versioning doesnt come into play because ajax requests are ignored by the back button.-IgorOn 5/3/06, Martijn Dashorst
[EMAIL PROTECTED] wrote:Put your form into a panel. This works, but I haven't looked at versioning (yet).
public class Index extends QuickStartPage { private Panel panel; /** *
Its working :D.Thanks!2006/5/3, Martijn Dashorst [EMAIL PROTECTED]:
Put your form into a panel. This works, but I haven't looked at versioning (yet).public class Index extends QuickStartPage { private Panel panel; /** * Constructor that is invoked when page is invoked without a session.
* *
do it the same way as with a regular link and add the new panel to the ajax target.-IgorOn 5/3/06, Potje rode kool
[EMAIL PROTECTED] wrote:Hi,I have a page with some links on the left side of the page, on the right side of the page I want to display a form.
Depend on which link is clicked I want
Hi,
i don't want to be a nuisance but since the release of Wicket 1.2 is
imminent and you have requested to submit bugs and issues, i've decided to
put myself in a position of somewone who's just heard about wicket and wants
to give it a try. So i decided to install all wicket libraries from
Hi Les,Thanks for testing them all out... With all these packages to build, I hardly get to doing this myself (as you have unfortunately discovered). And you're not being a nuisance *AT ALL*. This is why we release often, so these problems can get out of the way. Really thanks for checking this
i launched eclipse, installed all the projects in eclipse with new-newproject
most packages compiled but some needed extra *.jarsOnce all needed jars were installed all compiled.we ship eclipse project files with all our projects that are ready to go so why would you set up the project yourself?
that is currently not possiblewe don't have a PageMap.redirectToInterceptPage(final Class pageClass)only a Pagecan you add a feature request for this?johan
On 5/3/06, John Patterson [EMAIL PROTECTED] wrote:
Hi,I would like users to be able to bookmark my login page with a nicelink. I have mounted
Thanks for the answer.On 5/3/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
autolinker looks for pages in the same package as the page it is on i believe. so since your menu is a panel and you are including it in a basepage i believe it should work as long as the pages are in the same package as the
Johan Compagner schrieb:
that is currently not possible
What about using the RedirectPage?
(I think it's ugly, but it should work)
Timo
we don't have a PageMap.redirectToInterceptPage(final Class pageClass)
only a Page
can you add a feature request for this?
johan
On 5/3/06, John
Hi,
Thanks Igor. Your suggestion fixed the problem.
I think that src/main/resources folder should be included to the buildpath
automatically.
I know what you are saying Igor. However, if someone downloads the released
packages such as for example the latest rc3 drop then you would expect that
I think that src/main/resources folder should be included to the buildpathautomatically.
it is in the eclipse project files we ship. of course if you are creating the eclipse project yourself you have to add it manually, no way for us to do it automatically.-Igor
yeah that could work. But that is really ugly.johanOn 5/3/06, Timo Stamm [EMAIL PROTECTED] wrote:
Johan Compagner schrieb: that is currently not possibleWhat about using the RedirectPage?
(I think it's ugly, but it should work)Timo we don't have a PageMap.redirectToInterceptPage(final Class
I don't think the .classpath and .project files are actually in the zip and tar.gz files.MartijnOn 5/3/06, Igor Vaynberg
[EMAIL PROTECTED] wrote:
I think that src/main/resources folder should be included to the buildpathautomatically.
it is in the eclipse project files we ship. of course if you
Do you mean the RedirectPage in the library application? If so, can you explain why such a page is needed to logout? I thought that Session.invalidate() waits until after the request is finished anyway?On 3 May 2006, at 16:04, Johan Compagner wrote:yeah that could work. But that is really
well, in that case you either have to know mvn eclipse:eclipse or know to add the resources folder to the classpath.why dont we include those files?-IgorOn 5/3/06,
Martijn Dashorst [EMAIL PROTECTED] wrote:
I don't think the .classpath and .project files are actually in the zip and tar.gz
Done.On 3 May 2006, at 15:39, Johan Compagner wrote:that is currently not possiblewe don't have a PageMap.redirectToInterceptPage(final Class pageClass)only a Pagecan you add a feature request for this?johan On 5/3/06, John Patterson [EMAIL PROTECTED] wrote: Hi,I would like users to be able to
They rely on the maven repository to be present. As mentioned earlier, not everybody wants to use maven. As core developers we need that standard, and as such our build procedure is focused around that. This doesn't mean that we should impose maven on *all* our users.
As a courtesy we package all
John Patterson schrieb:
Do you mean the RedirectPage in the library application?
I mean wicket.markup.html.pages.RedirectPage
It makes a redirect by putting the new URL into the location object
using javascript. This URL can be bookmarkable.
But I don't even like the RedirectPage, and
On 5/1/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
All,This release contains all major packages of the wicket project, including wicket, extensions, quickstart, spring, spring annot and auth roles.
As an experiment I also created our own maven repository on the sourceforge servers. You can find
heh, i just now noticed this - martijn you kick ass!-IgorOn 5/3/06, Timothy Bennett [EMAIL PROTECTED]
wrote:On 5/1/06, Martijn Dashorst
[EMAIL PROTECTED] wrote:
All,This release contains all major packages of the wicket project, including wicket, extensions, quickstart, spring, spring annot and
Sorry to bother you .It worked again .I don't know the reason , maybe browser's script loading problem2006/5/4, smallufo [EMAIL PROTECTED]
:HiAnybody has problem about DatePicker on 1.2
RC3 ?It worked on 1.2 RC2 , but after I upgrade to 1.2 RC3 (both wicket and wicket-extensions) , it doesn't
HiAnybody has problem about DatePicker on 1.2 RC3 ?It worked on 1.2 RC2 , but after I upgrade to 1.2 RC3 (both wicket and wicket-extensions) , it doesn't work , the calendar doesn't pop-up anymore...Anybody has this problem too ?
Of course the url should read http://wicketframework.org/maven2And I'll try to upload them, but it is too much manual labour to add the source jars as well (see comment on automating that)
MartijnOn 5/4/06, Timothy Bennett [EMAIL PROTECTED] wrote:
On 5/1/06, Martijn Dashorst
[EMAIL PROTECTED]
Hi,
i had that before but then we assume a lot of stuff (at least 2 instanceof
checks)
but changed it back to this:
Thanks !
with a big TODO in it that this should be fixed/improved in 2.0
Indeed :-)
Ari S.
On 5/3/06, Ari Suutari [EMAIL PROTECTED] wrote:
Hi,
see
85 matches
Mail list logo