yes, its called AjaxFormComponentUpdatingBehavior, dont know if we have an example of it, but its pretty simple to useattach it to the form component and you are pretty much doneTextField tf=new TextField...
tf.add(new AjaxFormComponentUpdatingBehavior(onblur) { onUpdate(AjaxRequestTarget target)
On 3/31/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
yes, its called AjaxFormComponentUpdatingBehavior, dont
know if we have an example of it, but its pretty simple to use
attach it to the form component and you are pretty much done
TextField tf=new TextField...
tf.add(new
EJB session beans are unrelated to servlet sessions. It's probably not
wise to store such reference objects in the servlet session as - if
they would be clustered - they might point to the wrong address.
Eelco
On 3/30/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
the only concern here is that you
ahh you found a bug in the PropertyResolver when you use primitive classes.Can you add a bug report for this. I will fix this ASAP.johanOn 3/30/06,
karthik Guru [EMAIL PROTECTED] wrote:
I have a TextField having a model of type int and I attached aNumberValidator and set type to int.classThe
When I tried to use AuthenticatedWebApplication instead of
WebApplication to create my Application, the system started to give me
an error: wicket.WicketRuntimeException: Use Application.init() method
for configuring your application object
The constructor of my Application is the following:
in ejb3? i thought these were stateful beans stored in user's session? maybe im wrong.if they are not, then yes it would not be safe to store them in session. instead a locator proxy should be used like the one in wicket-spring.
-IgorOn 3/30/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
EJB session
yep.-IgorOn 3/31/06, Mats Norén [EMAIL PROTECTED] wrote:
On 3/31/06, Igor Vaynberg [EMAIL PROTECTED] wrote: yes, its called AjaxFormComponentUpdatingBehavior, dont know if we have an example of it, but its pretty simple to use
attach it to the form component and you are pretty much done TextField
We don't (seem to) have a component for this currently. However,
implementing one yourself is pretty straightforward. Take a look at
AjaxCheckBox:
/**
* Construct.
*
* @param id
* @param model
*/
public AjaxCheckBox(final String id,
Surely SVN's HEAD is exactly the same as CVS's HEAD, in that they both
refer to the latest revision in the particular branch that you're
working?
In both cases you need to specify the branch, which might be trunk
(svn) or the main trunk (cvs)...
Or are you just using head to refer to for what
Yeah, sorry, behaviors are a new concept in 1.2, and they they work
now is very hard to backport.
Eelco
On 3/30/06, Bennett, Timothy (JIS - Applications)
[EMAIL PROTECTED] wrote:
For starters... Eelco's saying:
A different approach is to use ajax enabled fields so that
everytime you
svn dir called trunk is usually where the main branch is. cvs had no dir like this because tags/branches were treated differently. in svn tags and branches are treated like folders just like the main branch dir.so if you say i checked something into head in cvs, svn analogous would be i checked it
I would like to know if there is a reason why the class
wicket.markup.html.link.Link is not a parent to ExternalLink?
Because Link is extends by all these AjaxFallbackLink,
BookmarkablePageLink, DummyHomePage.TestLink, PageLink,
PagingNavigationIncrementLink, PagingNavigationLink, PopupCloseLink,
To my knowledge, none of the core developers of Wicket uses the
Include component for their projects. What about this: if you and
anyone else that uses this functionality agree on what would be the
best implementation, I'd be happy to look at the patch and put it in
Wicket if we agree on it. That
It obviously hasn't been changed yet. The code from
AuthenticatedWebApplication() must be moved into its init() method.
Juergen
On 3/31/06, Andre Matheus [EMAIL PROTECTED] wrote:
When I tried to use AuthenticatedWebApplication instead of
WebApplication to create my Application, the system
Hi,
I am trying to migrate my application to the
current version of wicket.
When i run the application i am getting a markup
exception
wicket.markup.MarkupException: The component [MarkupContainer [Component
id = flightSearchResultValidation, page =
Because ExternalLink does not point to a Wicket resource or listener.
It points to some wicket external address (e.g. google, ebay, amazon)
and hence doesn't need all the features/functionalities (and the
overhead) of Link and it derivatives.
Juergen
On 3/31/06, Jesper Preuss [EMAIL PROTECTED]
You probably have multiple wicket:id=flightSearchResultValidation in
the same markup file at the same level in the component hierarchy.
That is no longer possible. We are now more strict, enforcing a 1:1
between component hierarchy and markup. Simply rename one of the
flightSearchResultValidation
I would just think it was easier to understand that all types of links
did inherit or implement some class.
Because I'm makeing a dynamic menu, where you can put your own links.
Here I have to do more because it's not all using extends Link.
On 3/31/06, Juergen Donnerstag [EMAIL PROTECTED]
I'm thinking that if you make a superclass of Link. Link AbstractLink
extends Link.
Then BookmarkablePageLink could inherit from AbstractLink. Because
BookmarkablePageLink is not using onClick() and it's in Link class.
This is refactoring stuff, It's not because I would like to change all
of how
Do you? What exactly are the differences.
On 3/31/06, Jesper Preuss [EMAIL PROTECTED] wrote:
I would just think it was easier to understand that all types of links
did inherit or implement some class.
Because I'm makeing a dynamic menu, where you can put your own links.
Here I have to do
It obviously hasn't been changed yet.
OK, fine.
If I understood correctly it is not possible to use nor to test the
packages wicket-auth-roles-1.2-beta2 and
wicket-auth-roles-examples-1.2-beta2 as they are now. Am I right? Or
there are other ways of using them without the
Modify AuthenticatedWebApplication.java yourself. If your using the
jar, than copy AuthenticatedWebApplication.java, make the changes, add
it into the appropriate package in your own project and the
classloader will find it before the one in the jar
Juergen
On 3/31/06, Andre Matheus [EMAIL
On 3/31/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
Do you? What exactly are the differences.
You talk about it being bloatware if ExternalLink extends from Link.
And BookmarkablePageLinkis extinding the method onClick() but this
method is /not used/ then this BookmarkablePageLink is also
It's just easier and more understandable to use:
Link myLink;
myLink = new ExternalLink(xxx);
code
myLink = new BookmarkablePageLink(xx);
than
WebMarkupContainer myLink = new ExternalLink(xxx);
code
myLink = new BookmarkablePageLink(xx);
On 3/31/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
Hi Juergen
Thanks for the quick reply,
Yes the message clearly says that i have multiple
wicket id's with the same name.
But i don't have more than one idthere in my
mark up with the same name, i did asearch in the mark up and as well as in
all the panels that areadded to the page.
eelco, what the hell are you still doing up?-IgorOn 3/30/06, Eelco Hillenius [EMAIL PROTECTED]
wrote:We don't (seem to) have a component for this currently. However,implementing one yourself is pretty straightforward. Take a look at
AjaxCheckBox:/** * Construct. * * @param id * @param model
ok
On 3/31/06, Jesper Preuss [EMAIL PROTECTED] wrote:
It's just easier and more understandable to use:
Link myLink;
myLink = new ExternalLink(xxx);
code
myLink = new BookmarkablePageLink(xx);
than
WebMarkupContainer myLink = new ExternalLink(xxx);
code
myLink = new
You are using markup inheritance (wicket:extend). With markup
inheritance the markups are merged. Until recently the header regions
were merged into a single wicket:head only and that might cause your
problem. Does your base markup have the same header? I'd be
interesting to see if the latest (svn
Dipu,
Just to flag that the latest code is in SVN, not CVS anymore.
/Gwyn
On 31/03/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
You are using markup inheritance (wicket:extend). With markup
inheritance the markups are merged. Until recently the header regions
were merged into a single
Sorry, might questionwas referring to
Because I'm makeing a dynamic menu, where you can put your own links.
Here I have to do more because it's not all using extends Link.
On 3/31/06, Jesper Preuss [EMAIL PROTECTED] wrote:
On 3/31/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
Do you? What
Yes i am using markup inheritance, my base doesn't
have the same header.
header in my base mark up
wicket:head
link wicket:id="mainStyle" rel="stylesheet"
type="text/css" href=""
link wicket:id="formStyle" rel="stylesheet"
type="text/css" href=""
script
wicket:id="mmFunctions"/script
Yes, that's what I was meaning by the last bit of my previous email -
it just comes down to different shorthand for the main CVS development
branch.
My issue was that saying you checked into head is reasonably
unambiguious whereas if I said to /get/ something from head, the
question is did I mean
Thanks Gwyn
can you please give me the access details of the SVN repository
Thanks
Dipu
- Original Message -
From: Gwyn Evans [EMAIL PROTECTED]
To: wicket-user@lists.sourceforge.net
Sent: Friday, March 31, 2006 11:11 AM
Subject: Re: [Wicket-user] Problem migrating the application to
please see sourceforge
Juergen
On 3/31/06, Dipu [EMAIL PROTECTED] wrote:
Thanks Gwyn
can you please give me the access details of the SVN repository
Thanks
Dipu
- Original Message -
From: Gwyn Evans [EMAIL PROTECTED]
To: wicket-user@lists.sourceforge.net
Sent: Friday, March 31,
I stepped through the code and its clearly trying to add the
component with the id flightSearchResultValidation for a seconf
time and that is why its breaking.
But as far as i can see i am adding it only once in my java code.
add( new
Try 'svn co https://svn.sourceforge.net/svnroot/wicket/trunk/wicket wicket'
See http://sourceforge.net/svn/?group_id=119783
http://svn.sourceforge.net/viewcvs.cgi/wicket/trunk/ for more
info/other projects other than the core wicket one.
(Just noticed we've not yet updated the main project
This will not work in unit tests, as there is no META-INF/manifest available. That would mean removing the unit test altogether.Also, I just read on the dev list that class.forName() is frowned upon, because of classloader issues.
MartijnOn 3/31/06, Gwyn Evans [EMAIL PROTECTED] wrote:
Maven
Thank you very much , i have just finished grabbing it from the SVN.
Cheers
Dipu
- Original Message -
From: Gwyn Evans [EMAIL PROTECTED]
To: wicket-user@lists.sourceforge.net
Sent: Friday, March 31, 2006 12:07 PM
Subject: Re: [Wicket-user] Problem migrating the application to the new
and 'install' them into your local repository.maven jar:installMartijnOn 3/30/06, Eelco Hillenius
[EMAIL PROTECTED] wrote:If you are building with maven, you should first build the other
(snapshot) dependencies.E.g. wicket and wicket-extensions. It lookslike that's out of sync with you.EelcoOn
I suspected that might be the case with the test - could investigate
running a subset of tests on the jar after it's built, but is it worth
it?
I didn't think that Class.forName would be an issue, as it was being
called from a Wicket class itself, but taking that further, as it's
running within a
Ok I have attached some examples. Meaby you could tell me a better way
of using the Link and ExternalLink.
It's not because you can't live without the inheritance hierarchy, but
I have thought of the following cons of all links extends Links.
1. It's easier for the IDE to auto suggest what kind
Would you please create an RFE for it. Though it'll most likely be 1.3
(not 1.2) where it gets implements. 1.2 is now in beta (and close to
RC) and we try hard not to make (breaking) API change during this
phases..
Juergen
On 3/31/06, Jesper Preuss [EMAIL PROTECTED] wrote:
Ok I have attached
Thanks for listening,
It's not because I wanted you to change it now, or change it at all.
But more to understand you and why you have made this decision in
Wicket.
Will do, I will make an RFE for it.
On 3/31/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
Would you please create an RFE for
All,Despite contrary messages, THIS MESSAGE REFLECTS THE ONLY OFFICIAL STATUS of the repository of the Wicket Stuff projects.Wicket Stuff's repository contents will be cleared when the ACTUAL move will occur. *I* will announce that the move has been completed, *AND* in the process disable the CVS
I was wondering
Does anyone have any experience with
Wicket in a clustered environment?
If yes, please tell me your experience
with it.
Thanks in advance,
Tom
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database:
yeah, then its safe.-IgorOn 3/31/06, Vincent Jenks [EMAIL PROTECTED] wrote:
As it is, if I *don't* store the stub in-session to a stateful session bean, somehow, I'll most definitely get the wrong reference to the bean. Outside of Wicket it would be done in HttpSession.
On 3/31/06, Igor Vaynberg
Got it, thanks. It's confusing that it doesn't work like I described, even though the method can be overridden. It'd be convenient to be able to do it how I posed verses doing this: //create calendar ListString days =
DateTime.getDaysListForward(2, 4); DropDownChoice arrivalChoices = new
yes its a bit weird. if youd like you are more then welcome to file an rfe and maybe we can clean it up in a future version.-IgorOn 3/31/06, Vincent Jenks
[EMAIL PROTECTED] wrote:
Got it, thanks. It's confusing that it doesn't work like I described, even though the method can be overridden. It'd
Thanks for that. I think you have a point, as BookmarkablePage has the
same characteristicts.
Eelco
On 3/31/06, Jesper Preuss [EMAIL PROTECTED] wrote:
Thanks for listening,
It's not because I wanted you to change it now, or change it at all.
But more to understand you and why you have made
To debug an application Ive inserted
a System.out.println command. Where is System.out
when Im running Wicket on Tomcat?
Is it captured by some special Wicket logfile
(I cant find any)? It doesnt
seem to be going to any of the Tomcat logfiles that I
can see, nor to the console window
Possibility 1: What does the Wicket application have to
do to pass the System.out.println() statements?
Possibility 2: If its not off-topic, could
someone please give me a hint what I might have done wrong in configuring
Tomcat? I didnt actually
configure it myself; I took the easy way
Is there a way to make the DataTable draw a line between every row and column
like a grid?
on linux there is a catalina.out file that captures stdout, on windows there is no such file, it just goes to the console that you started tomcat from.-IgorOn 3/31/06,
Frank Silbermann [EMAIL PROTECTED] wrote:
To debug an application I've inserted
a System.out.println command.
style table.datatable td { border:0; border-bottom: 1px solid black; border-right: 1px solid black; } /styletable class=datatable wicket:id=datatable.
-IgorOn 3/31/06, Frank Silbermann [EMAIL PROTECTED] wrote:
Is there a way to make the DataTable draw a line between every
Possibility 1: What does the Wicket application have to
do to pass the System.out.println() statements?this has nothing to do with wicket, this is only about how you configured tomcat.-Igor
or even table border=1 wicket:id=datatable-IgorOn 3/31/06, Igor Vaynberg
[EMAIL PROTECTED] wrote:style table.datatable
td { border:0; border-bottom: 1px solid black; border-right: 1px solid black; } /styletable class=datatable wicket:id=datatable.
-IgorOn 3/31/06, Frank Silbermann
[EMAIL
You have to put the statements somewhere where you are sure they will be invoked. For instance, you might want to do System.out.println() in your page constructor. Or your application constructor.This is something that has bitten me quite often: putting debug println statements in my code, and not
Hi,
we've been using wicket for about a month now, so far so good.
The only complain is about code lisibility, sometimes our constructors
are filled with a lot of code, particurally with all the :
add(new Link(myLink)
{
public void onClick(RequestCycle cycle)
{
Wicket does not capture any output. If you can't find it in your
output window, it should be in one of the log files.
Consider using a logging API (commons logging/ log4j or jdklogger)
instead of system printlns; it's more flexible in where you put it and
pushing everything through the same
Of course this happens while debugging too and can drive you nuts until you realize you've goofed.Since I use MyEclipse...I like to use println statements occasionally and just watch them roll by in the Console panel...you could do this w/ Netbeans or any other IDE, I'm sure. That is - if you're
Or just use a decent debugger :)
Eelco
On 3/31/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
You have to put the statements somewhere where you are sure they will be
invoked. For instance, you might want to do System.out.println() in your
page constructor. Or your application constructor.
Fortunately the CVS problems sf.net has didn't have an influence on the migration scripts they have in place. I have converted the repository again from CVS to SVN.From this moment on CVS is off limits for development.
I'll update the member profiles such that you won't be able to access CVS
Sure, I do that too. Eclipse usually informs you whether that debugger
point actually is available/ reachable. If the debug statements are
informative by themselves, why not just use a logger API and turn on/
off whenver you want?
Eelco
On 3/31/06, Vincent Jenks [EMAIL PROTECTED] wrote:
Of
imho, this is very soft. it doesnt stand up well to refactorings and only gives you runtime errors instead of compile time.a better solution, and what i often do is to forward to a method directly
ie:class MyPage extends WebPage { public MyPage() { add(new Link(mylink) { public void
I have been thinking about this for some time, but never got around to discussing it.Basically this is what makes the RoR lines of code metric so great. The only drawback I see is that you have a loose coupling between the method you want to instantiate: it is based on a string.
I do like the
Yeah, that could be a code saver. Personally I like just private
classes better. I use that when annonymous classes get too big/ messy.
The big advantage over not using introspection is that you can easily
track down how it is called from your IDE, you won't mess up with
refactoring and stepping
this suggestion (which is implementable in a user coderegardless of what goes into the core) add(new ReflectionLink(myLink, myMethod))makes me wonder if Java couldn't use a reflection notation
similar to object.class to specify Method objects, like myMethod.method. then you could do this both
Final spamThe migration has been succesfully completed. All permissions have been altered from CVS access to SVN access and sf.net was kind enough to migrate the repository automatically.
Migration is done. Happy coding!Don't forget to re-check out your projects from SVN.MartijnOn 4/1/06, Martijn
http://www.chevyapprentice.com/view.php?country=usuniqueid=c4911602-1265-1029-98eb-0013724ff5a7
Eelco Hillenius wrote:
Yeah, sorry, behaviors are a new concept in 1.2, and they they work
now is very hard to backport.
No problem. My next project starts in May and it will be on 1.2. Look
forward to taking advantage all the new stuff!
ha! It was only a matter of time until Wicket went to the big show.On 3/31/06, Igor Vaynberg
[EMAIL PROTECTED] wrote:
http://www.chevyapprentice.com/view.php?country=usuniqueid=c4911602-1265-1029-98eb-0013724ff5a7
71 matches
Mail list logo