Hi,
I have a problem refreshing page contents.
This did work as intended before I updated the database model. The
page's code has not been changed other than in one case I had to change
what objects I loop through. The page functions exactly as before except
for one thing: When submitting
Hi All,
I grabbed the latest version of the wicket and the
Wicket and Wicket Contrib Dojo from the CVS, i am not able to build the Contrib
Dojo project
Its failing with the following
messages
1. The method convert() is undefined for the type
ImmidiateCheckBox
2. The method convert() is
Dear Eelco,
you wrote
A different approach is to use ajax enabled fields so that everytime
you leave an input field your changes are immediately applied to the
models. That way it doesn't matter at all which link you click
anywhere.
I try the 1.2beta2examples ajax/Form Example: shows ajax
Sounds like your browser is using its local cache. Try
meta http-equiv=Expires content=-1 /
meta http-equiv=Pragma content=no-cache /
meta http-equiv=Cache-Control content=no-cache /
Juergen
On 3/30/06, Anders Peterson [EMAIL PROTECTED] wrote:
Hi,
I have a problem
having a little trouble with form validation using 1.2-beta2.
here's what i've got:
public final class RegForm extends Form {
. . .
public RegForm(final String id) {
username = new TextField("username", new PropertyModel(properties,
"username"));
username.setRequired(true);
Thanks for trying to help,
I haven't solved the problem yet, but I think I know what it is - and it
has nothing to do with Wicket.
Since I did change the database model I introduced cover methods similar
to this:
getMarketWeight() {
return ModelUtils.getMarketWeight(this.getUser(), this);
yes i think i already did mention that beforeit should be looking for an unique text file. like wicket-version.properties.Can maven generate that file martijn? So that we look for this?johan
On 3/30/06, jan_bar [EMAIL PROTECTED] wrote:
Hi,I tried FrameworkSettings.getVersion(), but it seems to
Yes. The TextFields are inside a ListView.
From: [EMAIL PROTECTED] on behalf of Igor Vaynberg
Sent: Wed 3/29/2006 11:55 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] validators get reset?
are these textfields inside a listview?
-Igor
So you propose that for every property we want to put into Wicket we should add a new property file? wicket.properties is already there. Why introduce another file?MartijnOn 3/30/06,
Johan Compagner [EMAIL PROTECTED] wrote:
yes i think i already did mention that beforeit should be looking for an
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Eelco Hillenius
Sent: Wednesday, March 29, 2006 1:32 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] TabbedPanel, InputForm and submit
A different approach is to use ajax
Depends on what you call 'ajax-enabled'. :-)Check the wicket-examples project.MartijnOn 3/30/06, Bennett, Timothy (JIS - Applications)
[EMAIL PROTECTED] wrote:
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
] On Behalf Of Eelco Hillenius Sent: Wednesday, March 29,
There is an auto edit label available. You can also add ajax behavior to form components.MartijnOn 3/30/06, Martijn Dashorst
[EMAIL PROTECTED] wrote:Depends on what you call 'ajax-enabled'. :-)
Check the wicket-examples project.MartijnOn 3/30/06, Bennett, Timothy (JIS - Applications)
[EMAIL
I posted a very similar component to the group a while back -- search
for Servlet forward to a JSP. It could be used as a starting point
for a nice component, as it definitely needs polishing.
On 2006-03-29 23:54:57 -0700, Nili Adoram [EMAIL PROTECTED] said:
How about extending Include as
but the problem with wicket.properties is that it is also used by our users! what we need is a unique property file that our users wont have in their classpath - so that we can be sure we are reading the proper one.
call it wicket-internal.properties or some such.-IgorOn 3/30/06, Martijn Dashorst
What about Application.properties as the internal one. It is (should)
already be search for.
Juergen
On 3/30/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
but the problem with wicket.properties is that it is also used by our users!
what we need is a unique property file that our users wont have
looks like we are missing Serializable somewhere. I really do wish that exception message was more helpful! can you try trunk and see if the error is still there?-IgorOn 3/30/06,
Stefan Lindner [EMAIL PROTECTED] wrote:
Dear Eelco,you wroteA different approach is to use ajax enabled fields so that
深 圳 市 海 德 嵩 实 业 有 限 公 司
业务简介
我司是经海关总署备案、国家外贸总局批准享有经营进出口业务的大型市属企业之一,享有国家给予
保税贸易优惠政策,拥有一般贸易的进出口权。公司主要代理纺织品、五金、塑胶制品、鞋、手袋、
木制品、家私、陶瓷、电器、电子、玩具 、灯具、玻璃、树脂、圣诞工艺品等进出口贸易(违禁品
除外)。公司资信良好,与口岸、商检局、银行等密切配合!为利用这一切优势,特代理各厂家进出
口货物报关、报检、签普惠证(F/A)、产地证(C/O)货物运输拖车及散货入仓等业务。公司机构庞
Thank you all for your hints,
an AjaxTabbedPanel together with an AjaxCheckBox does the trick. Works
really fine!
BUT: Now I need a text input field with the same functionality.
As I can't find an AjaxTextField I tried an AjaxEditableLabel. But this
does not work.
The HTML part
input
keep the textbox and add a AjaxFormComponentUpdatingBehavior to the onblur event. that way whenever the focus is lost from the textfield its value will be submitted via ajax-Igor
On 3/30/06, Stefan Lindner [EMAIL PROTECTED] wrote:
Thank you all for your hints,an AjaxTabbedPanel together with an
All,When I got around to doing the migration, the development CVS server of sf.net died. http://sourceforge.net/docman/display_doc.php?docid=2352group_id=1
When it is up again, I'll start the conversion. I'm scheduling it for saturday (income tax statement is due).In the mean time, please don't
Feel free to contribute! You now know how to do it, write a (small) document about it and put it on our wiki!MartijnOn 3/30/06, Stefan Lindner
[EMAIL PROTECTED] wrote:Once again thanks for all your help. The problem is solved. Not every
comonent inside of the form must be an ajax
yes exactly like igors says,.Because we are looking up for a wicket properties file (and only one) which one does it return?? It could be the one from the extentionsor the one users do provide. We don't have control of that.
We need one single unique properties file for that. Else we can't load it
No not application properties.That one is kind of reserved if it was me.Because that is the name of the properties file that i want to have for all the default messges (in english)I hope that we can also give that in
1.2 So that as last the wicket.Application.properties is loaded to lookup for
So how do we process the wicket.properties files for getting the initializers?That does work for the initializers for all the new jar file, why not for wicket.version?Martijn
On 3/30/06, Johan Compagner [EMAIL PROTECTED] wrote:
yes exactly like igors says,.Because we are looking up for a wicket
I'd rather not introduce spring as yet another dependency on this project...especially because I know very little about it and don't have the time to tinker w/ it for this project.What about passing the ShoppingCart EJB stub around in my page constructors instead of using a getter/setter in my
That'd be awesome, I could use something like this!On 3/30/06, Martijn Dashorst [EMAIL PROTECTED]
wrote:Feel free to contribute! You now know how to do it, write a (small) document about it and put it on our wiki!
MartijnOn 3/30/06,
Stefan Lindner
[EMAIL PROTECTED] wrote:
Once again thanks for
indeed. that or a javadoc patch are more then welcome.-IgorOn 3/30/06, Martijn Dashorst [EMAIL PROTECTED]
wrote:Feel free to contribute! You now know how to do it, write a (small) document about it and put it on our wiki!
MartijnOn 3/30/06,
Stefan Lindner
[EMAIL PROTECTED] wrote:
Once again
We ask for all the wicket properties file there are. And execute there initilalizer what is specificed in all of themBut are you really wanting to walk over every possible file and then look when you encounter the one that suddenly
has wicket.version it it??Then we really should change the method
i dont see a problem with having a wicket-internal.properties. this can be used for all the internal things we use, version now, and maybe some other stuff. this will only be used by wicket so we can be guaranteed no collissions. lets keep
wicket.properties for more general things.-IgorOn
i didnt say introduce spring as a dependency.i said look at how wicket-spring injects special proxies into wicket components that you can safely store in session, etcit will take very little tweaking to make it work for ejb3.
look at the Spring page on the wiki to see why the proxies exist and how
If it is internal, why read it from a property file at all? Why isn't
this hard-coded into the code?
Gili
Igor Vaynberg wrote:
i dont see a problem with having a wicket-internal.properties. this can
be used for all the internal things we use, version now, and maybe some
other stuff.
OK, I'll check into it, thanks. Meanwhile, if I *did* want to...I could pass the cart stub around in the constructors, couldn't I? Or, is this somehow not safe?I'm thinking that might be the quickest, easiest approach for now. I only need it for a few pages.
On 3/30/06, Igor Vaynberg [EMAIL
Hi,
today I tried to use my own class MyReasourceStreamLocator based on
AbstractResourceStreamLocator and registered it in Application.init()
(the derived method).
Surprisingly, I got a NoClassDefFoundError. A part of the stack trace
is shown below. I am using Wicket 1.2beta2.
depends on what the stub references. if you already have it in session somewhere then its ok.-IgorOn 3/30/06, Vincent Jenks
[EMAIL PROTECTED] wrote:OK, I'll check into it, thanks. Meanwhile, if I *did* want to...I could pass the cart stub around in the constructors, couldn't I? Or, is this
Well...on page1 it would create the ShoppingCart stub from JNDII'd pass it to page2 as a parampage2 would modify itand pass it to page3and so on.It's a single, stateful session bean.
On 3/30/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
depends on what the stub references. if you
The code... //create calendar ListString days = DateTime.getDaysListForward(2, 4);//add quantity select listform.add(new DropDownChoice(arrivalDate, days, new IChoiceRenderer()
{ protected String getDefaultChoice(final Object selected) { return ; //get rid of Choose One default
What do you need the ajax enabled field out of the box to do?we have a lot of out of the box ajax behaviors you can add to any textfield/formcomponent.-IgorOn 3/30/06,
Bennett, Timothy (JIS - Applications) [EMAIL PROTECTED] wrote:
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL
yeah if we ask getResource(wicket/Application.properties) that should be enough. the main thing to keep in mind is we have toeither ask for a properties file that is in our package or we have to use unique if it is on the classpath.
or what we can do is make maven filter the version numbers into
For starters... Eelco's saying:
A different approach
is to use ajax enabled fields so that everytime you leave an input field
your changes are immediately applied to the models. That way it doesn't
matter at all which link you click anywhere.
Have the model updated automatically whenever
i dont think behaviors were in 1.1 so the chances of having them backported are pretty slim unless you want to do the work yourself.-IgorOn 3/30/06,
Bennett, Timothy (JIS - Applications) [EMAIL PROTECTED] wrote:
For starters... Eelco's saying:
A different approach
is to use ajax enabled
you are putting getDefaultChoice into the renderer, when it actually belongs in the DropDownChoice-IgorOn 3/30/06, Vincent Jenks
[EMAIL PROTECTED] wrote:The code...
//create calendar ListString days = DateTime.getDaysListForward(2, 4);//add quantity select listform.add(new
the only concern here is that you do not want to put things into session that you dont want serialized, etc. since this is a session bean that means it is in session already anyways, so you should be ok passing it around in wicket.
-IgorOn 3/30/06, Vincent Jenks [EMAIL PROTECTED] wrote:
Well...on
im really not sure what to do with this one. the one about the pageable
list being broken was because explorer has a bug in
tbody.outerHTML. so that was easy to fix, just removed the update
region from tbody. but this one, im not sure why the hell its not
working in explorer. all i get is a
(Probably?) because that way we can copy the version info from the
maven definition file and thus do not do things double.
Eelco
On 3/30/06, cowwoc [EMAIL PROTECTED] wrote:
If it is internal, why read it from a property file at all? Why isn't
this hard-coded into the code?
Gili
And as alternative, you might consider ajax to slim down the requests
and responses.
Eelco
On 3/29/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
you can cache those calculations in a model
have a CachingModel that decorates another model and applies caching
strategies.
streaming html is fast
I have no idea what that might be. Could you try setting a break point
in that init method?
Eelco
On 3/30/06, Matthias Albert [EMAIL PROTECTED] wrote:
Hi,
today I tried to use my own class MyReasourceStreamLocator based on
AbstractResourceStreamLocator and registered it in Application.init()
listview recreates its items on every request so you get new instances of textfields, etc - thats why they dont pick up the input/lose validators. if you want to have a listview inside a form you should call ListView.setUseOptimizedItemRemoval
(true).-IgorOn 3/30/06, Roan O'Sullivan [EMAIL
I thought we were going to be reading this from the MANIFEST.MF in the
wicket jar?
/Gwyn
On 30/03/06, cowwoc [EMAIL PROTECTED] wrote:
If it is internal, why read it from a property file at all? Why isn't
this hard-coded into the code?
Gili
Hi,
how do I determine the local path to my webapp?
getApplication().getApplicationSettings().getContextPath();
gives me the web-path.
In other words, from this jetty-config:
Call name=addWebApplication
Arg/quickstart/Arg
Argsrc/webapp/Arg
/Call
where do I find the 2. argument?
+1
Gili
Gwyn Evans wrote:
I thought we were going to be reading this from the MANIFEST.MF in the
wicket jar?
/Gwyn
On 30/03/06, cowwoc [EMAIL PROTECTED] wrote:
If it is internal, why read it from a property file at all? Why isn't
this hard-coded into the code?
Gili
Hi,
Is this file (included in the root directory in SVN) functional or is
it a work in progress? Is there a reason none of the example code seems
to use it?
Thanks,
Gili
signature.asc
Description: OpenPGP digital signature
I have a TextField having a model of type int and I attached a
NumberValidator and set type to int.class
The field is not marked 'required' though.
if i leave the field blank , i see
Root cause:
java.lang.IllegalArgumentException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
If you are building with maven, you should first build the other
(snapshot) dependencies. E.g. wicket and wicket-extensions. It looks
like that's out of sync with you.
Eelco
On 3/30/06, Dipu [EMAIL PROTECTED] wrote:
Hi All,
I grabbed the latest version of the wicket and the Wicket and
Çäðàâñòâóéòå, Gwyn.
Âû ïèñàëè 31 ìàðòà 2006 ã., 3:57:26:
I thought we were going to be reading this from the MANIFEST.MF in the
wicket jar?
/Gwyn
A while back I provided an example how one can read version and other
information from jar file's manifest.
IMHO, the version information should
Çäðàâñòâóéòå, Gwyn.
Âû ïèñàëè 31 ìàðòà 2006 ã., 3:57:26:
I thought we were going to be reading this from the MANIFEST.MF in the
wicket jar?
/Gwyn
A while back I provided an example how one can read version and other
information from jar file's manifest.
IMHO, the version information should
Çäðàâñòâóéòå, Gwyn.
Âû ïèñàëè 31 ìàðòà 2006 ã., 3:57:26:
I thought we were going to be reading this from the MANIFEST.MF in the
wicket jar?
/Gwyn
A while back I provided an example how one can read version and other
information from jar file's manifest.
IMHO, the version information should
Don't know if it is related but I've had a couple of similar errors
when my inherited Tree is initialized. The problem then was that the
static blocks of the superclass failed because of missing resources.
This resulted in a NoClassDefFoundError on the MyTree class...
On 3/31/06, Eelco Hillenius
that we also goed do but who is generating that manifest.mf?And we are then depending on that a Package is made. And according to the spec a Package object doesn't have to be made.johan
On 3/31/06, shumbola [EMAIL PROTECTED] wrote:
Здравствуйте, Gwyn.Вы писали 31 марта 2006 г., 3:57:26: I thought
Except it's more complex than that, in that svn still has HEAD for the
revisions, with trunk just being the conceptual root from which
branches split.
/Gwyn
On 29/03/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
head is for cvs, trunk is for svn :)
-Igor
On 3/29/06, Arto Arffman [EMAIL
Hi,
Is there a behaviour / component for validating a single formfield
with Ajax without submitting the whole form?
I'm guessing there is an example somewhere, I just need a pointer in
the right direction :)
---
This SF.Net email is sponsored
what do you mean?we have wicket top level: /svnroot/wicketthen under wicket we havewicket/brancheswicket/labelswicket/trunkso trunk is analogous to cvs head-Igor
On 3/29/06, Gwyn Evans [EMAIL PROTECTED] wrote:
Except it's more complex than that, in that svn still has HEAD for therevisions, with
Hi Alex,
try
getApplication().getWicketServlet().getServletContext().getRealPath();
Dirk
2006/3/31, Alexander Lohse [EMAIL PROTECTED]:
Hi,how do I determine the local path to my webapp?getApplication().getApplicationSettings().getContextPath();
gives me the web-path.In other words, from this
Yeah, we just communicated that offline. I'm moving yui to it's own
project as we speak, and I'll make Joshua a member.
Eelco
On 3/29/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
if you would like you may start a wicket-stuff project to build up some of
these components. that way the committers
Here is a great blog that shows examples of using wicket with AJAX. The
examples use form validation with AJAX.
http://www.jroller.com/page/karthikg?entry=wicket_and_ajax
I hope this will help you,
Tom
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
64 matches
Mail list logo