On Monday 09 June 2008 10:47:45 Eelco Hillenius wrote:
IMHO they cannot be easily used together at the moment.
Hmmm, interesting. My only experience with Groovy is years ago, and
back then we abandoned and switched to PNuts (which I guess should
work with Wicket as well) due to Groovy's
Ok. So I finally figured out my javascript syntax mistake. Do not use
Wicket.Ajax.registerPreCallHandler(showBusysign()) but instead without
the brackets with the function:
Wicket.Ajax.registerPreCallHandler(showBusysign);
This snipplet is now complete and can be used with any application:
Hi, thank you for tour help...
This is a very strange behavior. I have tried to display this page, so I
have created a link to this page, and everything is good, I have my Page,
and it enters into the constructor.
I have tried to put this timer class into a WebPage put, unfortunately it
does'nt
Sorry, something were messed up with my svn, so I think I might have
overriden what you just commited(it stated that you just deleted files).
But take a look at it and see if it's okay.. It turned out that I only
need to add an option to set queue on effects... However I also added
the
That means the behavior which i have explained is a normal behavior ? , since
in this the links are not resulting in any call backs..
Eelco Hillenius wrote:
I have got a question on bookmarkable page and if wicket session's
life-cycle has any relation with it.
Actually i have a couple of
Martin Makundi wrote:
Ok. So I finally figured out my javascript syntax mistake. Do not use
Wicket.Ajax.registerPreCallHandler(showBusysign()) but instead without
the brackets with the function:
Wicket.Ajax.registerPreCallHandler(showBusysign);
Yes because calling it with brackets, does
1) Generifying* Wicket
[X] Can best be done like currently in the 1.4 branch, where models
and components are both generified. I care most about the improved
static type checking generified models and components give Wicket.
2) How strongly do you feel about your choice above?
[X] Whatever
Do you think I should add it to the WIKI?
Thats a great idea, the more info the better:)
I had a look at the wicket wiki:
http://cwiki.apache.org/WICKET/#Index-FrameworkDocumentation
Would you consider it it the right place or would you suggest a more
suitable location (and would that require
I think somewhere here:
http://cwiki.apache.org/WICKET/faqs.html
?
Martin Makundi wrote:
Do you think I should add it to the WIKI?
Thats a great idea, the more info the better:)
I had a look at the wicket wiki:
http://cwiki.apache.org/WICKET/#Index-FrameworkDocumentation
Would
I have googled around for an external form in wicket but havn't found
anything. I've seen some code on using WebMarkupContainer but I can't get
validation to work with that.
--
View this message in context:
http://www.nabble.com/Can%27t-get-round-this-problem-tp17723379p17729068.html
Sent from
Hmm so you want a form with validation(wicket serverside validation),
but it should action against an external site? I dont think thats the
way to go.
Please explain what you are trying todo?
If you are just addend the md5 in a hidden attrib that should be
trivial, just use a webmarkup
Strong typing is my friend. Refactoring is my friend. The stronger
and clearer we make typing throughout Wicket the happier I'll be.
Code is written once and maintained a hundred thousand times. I'd
always trade verbosity for maintainability.
+1 for that --- very nice said! I totally
Don't use a HiddenField on the Wicket side but a WebMarkupContainer. The
HTML side remains the same (i.e., input tag).
Regards,
Sebastiaan
Mathias P.W Nilsson wrote:
I have a page that has 2 fragment. One for normal ordering and one for credit
card ordering.
When sending the input type
Oh yes :-)
I think, that taking Locale from session could be the most used = the most
suitable default strategy.
Session is the most used place for storing Locale.
I think, that preferred way should be getting Locale from Session as
default.
Passing Locale parameter to the PackageResource
I want to populate 15 hidden fileds with data on AjaxSubmitLink( css styled
button ).
There is some validation on the form messaged back to the user using
feedback. If the
form is correct I want to post to external url. That's it.
--
View this message in context:
Okay but the problem is that if you go serverside towards wicket then
you need to make the user do an extra submit, I guess you could use a
normal wicket form, then submit via ajax. If validation are okay, return
another completely hidden form with the values and submit it via the
Strong typing is my friend. Refactoring is my friend. The stronger and
clearer we make typing throughout Wicket the happier I'll be.
Code is written once and maintained a hundred thousand times. I'd
always trade verbosity for maintainability.
Yes! Good summary!
Stefan
This is what I do now. When Ajax onSubmit is ok I append a callback that
set's the forms action and post it.
I have also now, changed the name on submit so that works, ( ugly of course
) . Problem is the flickering
I append javascript to the target on AjaxSubmitLink but it makes a sort of
post
On Mon, Jun 9, 2008 at 1:38 AM, Dmitry Kandalov [EMAIL PROTECTED] wrote:
I like the idea of using groovy and in general using dynamic language would be
interesting indeed. But I think you might be not 100% correct about using
groovy as it is. The main problem in my view is the lack of
I want to use a JavaScript library that requires the body to be loaded.
This can normally be done by writing
body
script../script
/body
What is the correct way to do this in wicket 1.4?
Stefan
Mathias P.W Nilsson wrote:
This is what I do now. When Ajax onSubmit is ok I append a callback that
set's the forms action and post it.
Hmm okay, not completely what I meant. I'd rater make a clean panel with
markup containers where you set what you have and append that and submit
that
Hi,
I am using wicket 1.3 , I had developed a panel and added that panel when
I click on the radio button yes,
and I removed that panel when I click on option no in the radio group. It
is working fine in fire fox and not working in IE. My code is look like this
final RadioChoice rlvrInd =
Hi there,
Another basic(?) question. I have a small test application where I drag and
drop square shaped divs around.
With ajax I pick those shapes up, so to speak and drop those shapes,
listening for onmousedown and onmouseup events, however I would also like to
display the actual dragging. I
Nino,
you overwrote my changes to the Effect class. Please revert your changes
and restore my Effect.multiple addition.
I can't find *any* reference to this toaster in the core scriptaculous
library. please provide a url. is this a custom effect? If so, i think it
should be moved out of the
check the wicket stuff jquery and wicket stuff jquery examples
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-jquery
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-jquery-examples
regards
dipu
On Mon, Jun 9, 2008 at 2:58 PM,
you should use wickettester to do this...that will create all the
proper threadlocal mocks you need.
-igor
On Mon, Jun 9, 2008 at 12:48 AM, Fabien D. [EMAIL PROTECTED] wrote:
Hi, thank you for tour help...
This is a very strange behavior. I have tried to display this page, so I
have
build the script as a label and add it to the page. set
escapemodelstrings(false) on it and wicket wont escape any makrup.
-igor
On Mon, Jun 9, 2008 at 4:39 AM, Stefan Lindner [EMAIL PROTECTED] wrote:
I want to use a JavaScript library that requires the body to be loaded.
This can normally be
Sebastiaan,
Point 1 is a good one. I haven't puzzled that through completely. Upon
initial inspection it seems that it is just the compiler being pedantic
about a scenario that wouldn't arise in practice. I'll have to think
about it some more.
I might be missing something with point 2, but what
This is a common enough scenario that perhaps there should be a
built-in facility for it? I was wondering how to insert the Google
Analytics javascript code right before my /body tag too.
On Mon, Jun 9, 2008 at 10:42 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
build the script as a label and add
add a label in your basepage right before the /body tag? you do own
the markup do you not?
-igor
On Mon, Jun 9, 2008 at 7:45 AM, James Carman [EMAIL PROTECTED] wrote:
This is a common enough scenario that perhaps there should be a
built-in facility for it? I was wondering how to insert the
I haven't actually implemented my Google Analytics stuff yet. It has
thus far been merely a thought experiment.
On Mon, Jun 9, 2008 at 10:46 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
add a label in your basepage right before the /body tag? you do own
the markup do you not?
-igor
On Mon,
I am just analysing a heap dump (god bless the
-XX:+HeapDumpOnOutOfMemoryError flag) of a recent application cache due to
an OutOfMemoryError (GC overhead limit exceeded to be precise). Using
jhat, the 175456 instances of class
org.apache.wicket.util.concurrent.ConcurrentHashMap$Entry immediately
Hello All!
I'm fixing bugs in a project, written using Wicket (1.2.6?)
I need to expand all items on my tree, and I see that expandAll method is
missing...
So, to expand 1 item I use:
final TreePath treePathToExpand = new TreePath(node.getPath());
setExpandedState(treePathToExpand, true);
But,
try applying this patch and see if it helps
https://issues.apache.org/jira/browse/WICKET-1667
-igor
On Mon, Jun 9, 2008 at 8:11 AM, Stefan Fußenegger
[EMAIL PROTECTED] wrote:
I am just analysing a heap dump (god bless the
-XX:+HeapDumpOnOutOfMemoryError flag) of a recent application cache
Ryan Sonnek wrote:
Nino,
you overwrote my changes to the Effect class. Please revert your changes
and restore my Effect.multiple addition.
I'll do that ASAP, will probably first be tommorrow.
I can't find *any* reference to this toaster in the core scriptaculous
library.
It's a
I'm trying to attach some CSS to the browse button in a FileUploadField.
Rather, since this is actually impossible, I'm hiding the actual field, and
creating a pretty looking fake similar to what this page does:
http://www.quirksmode.org/dom/inputfile.html. The issue is that when I
submit the
Here is the fragment for sending external data. The form is a class variable
and is visible in the fragment
final class PostenOrderFragment extends Fragment{
private static final long serialVersionUID = 1L;
public PostenOrderFragment( String panel, String id ){
Anonymous classes aren't needed in Groovy. In Groovy, you have closures.
Dmitry hinted in his reply that closures can't be serialized by default...
Eelco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Yeah, I read that later in the thread. Oops! :)
On Mon, Jun 9, 2008 at 12:09 PM, Eelco Hillenius
[EMAIL PROTECTED] wrote:
Anonymous classes aren't needed in Groovy. In Groovy, you have closures.
Dmitry hinted in his reply that closures can't be serialized by default...
Eelco
We'd have to have a good reason the break the API. And it's just
something you'd prefer to be different, but it doesn't give you
troubles you can't get around, right? :-)
Eelco
On Mon, Jun 9, 2008 at 3:21 AM, Stefan Simik [EMAIL PROTECTED] wrote:
Oh yes :-)
I think, that taking Locale from
Hi Ryan
So, now I have merged our two versions, I had to add the two new
interface methods as NOOP's on multiple effect. I use the setQueue to
obtain the same as the new multiple effect btw. Funny how many ways
there are todo stuff:)
I guess I should add blind up and blind down effects too?
Zappaterrini, Larry wrote:
Sebastiaan,
Point 1 is a good one. I haven't puzzled that through completely. Upon
initial inspection it seems that it is just the compiler being pedantic
about a scenario that wouldn't arise in practice. I'll have to think
about it some more.
I might be missing
Okay, im writing inline...
Mathias P.W Nilsson wrote:
Here is the fragment for sending external data. The form is a class variable
and is visible in the fragment
final class PostenOrderFragment extends Fragment{
private static final long serialVersionUID = 1L;
public
I'd suggest to use firebug to check if it actually works. There is no
magic in this at least..:)
Michael Laccetti wrote:
I'm trying to attach some CSS to the browse button in a FileUploadField.
Rather, since this is actually impossible, I'm hiding the actual field, and
creating a pretty
yes, sure :)
It's OK, it is really my preference only ;)
Eelco Hillenius wrote:
We'd have to have a good reason the break the API. And it's just
something you'd prefer to be different, but it doesn't give you
troubles you can't get around, right? :-)
Eelco
On Mon, Jun 9, 2008 at
Yeah, I have been doing so, and do not see the field contents going through.
I found an alternative, though, because I stupidly forgot that file upload +
AJAX = no worky. Instead, I've embedded an iframe, and got the form
submission going on through there, and that seems to be doing the trick.
I cannot use the generics release for this commercial project. Would need a
build based on 1.3.x that fixes this.
Michael
-Original Message-
From: Ricky [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 8:22 PM
To: users@wicket.apache.org
Subject: Re: AutoCompleteTextField scrolls
Marcus - I did NOT resolve it yet - not getting much help here except
for talk about some mystical 1.3.4 release I can't get my hands on. It
breaks with everything we wrote here involving AutoComplete - and all of
it was working fine with 1.3.2 as far as I remember. So, this puppy is
broken and if
Ahh, yeah I remember something about that...
Great to hear that you got it working. Whats the CSS issue(I've been
thinking of doing a nice fileupload myself)?
Michael Laccetti wrote:
Yeah, I have been doing so, and do not see the field contents going through.
I found an alternative, though,
On Mon, Jun 9, 2008 at 10:58 AM, Michael Mehrle [EMAIL PROTECTED] wrote:
Marcus - I did NOT resolve it yet - not getting much help here except
for talk about some mystical 1.3.4 release I can't get my hands on. It
breaks with everything we wrote here involving AutoComplete - and all of
it was
Hello,
I'm using a AutoCompleteTextField and I need to assign two validators and a
behavior to it, like this:
add(telefon = new AutoCompleteTextField(Telefon, new
Model(), new AbstractAutoCompleteTextRenderer() {
@Override
protected String
I have not gone back to 1.3.2 yet - will give this a run in a few. If it
works with 1.3.2 I will open a JIRA ticket for 1.3.3.
FYI, I don't seem the only one experiencing this - someone else posted
about this as he was able to replicate the problem with one of your
wicket demos.
Michael
before you submit a jira ticket make sure it is also broken in the
wicket-1.3.x svn branch - which will be the 1.3.4 release - nothing
really mystical about it.
-igor
On Mon, Jun 9, 2008 at 11:15 AM, Michael Mehrle [EMAIL PROTECTED] wrote:
I have not gone back to 1.3.2 yet - will give this a
Thanks!
I haven't posted all code but there is a check box acceptConditions that
must be clicked to get this to work
How can this be implemented in two forms? I'm not quite following. First I
need to have wicket
check all the data and that the conditions is checked. And then, how can I
submit
Thanks for clearing that up, Igor. I was under the impression that was
the 1.3.3 release. Will definitely give this a run as well and confirm
before I file any reports.
Cheers,
Michael
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2008 11:25 AM
Hi,
a quick question. Is it possible to assign a new id to a Panel after it has
been constructed?
Something similar to:
public Panel createPanel() {
return new MyPanel(dummyID, ...);
}
...
...
Panel myPanel = createPanel();
myPanel.setId(newID);
I would like to have a component
pass the id into the createPanel method
-igor
On Mon, Jun 9, 2008 at 11:51 AM, Peter Gardfjell
[EMAIL PROTECTED] wrote:
Hi,
a quick question. Is it possible to assign a new id to a Panel after it has
been constructed?
Something similar to:
public Panel createPanel() {
return new
Took me a while to figure out how to get the nice looking stuff to properly
hide the old-and-ugly implementation. Once I got it worked out (woo
Firebug), things moved along. I just need to finalize the AJAX callback
between the iframe and the parent page.
Here's a sample of the nice looking
Of course. In the toy example I attached, the obvious solution is to add an
id parameter.
However, in some cases, for instance when the factory methods contain longer
parameter lists, the extra identifier parameter tends to clutter the API. I
really like the encapsulation that Panels offer, but
On Mon, Jun 9, 2008 at 9:21 PM, Peter Gardfjell
[EMAIL PROTECTED] wrote:
Just to make things absolutely clear: can a Panel only be assigned an
identifier at the time its constructor is called?
Yes.
Martijn
--
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache
Yup thats nice:)
Michael Laccetti wrote:
Took me a while to figure out how to get the nice looking stuff to properly
hide the old-and-ugly implementation. Once I got it worked out (woo
Firebug), things moved along. I just need to finalize the AJAX callback
between the iframe and the parent
it is possible. you can write a component that is only allowed to have
one child with any id using an IComponentResolver. is that a good
practice? if i were implementing your factory interface i would be
confused as to what id i should use since the panel takes it as a
constructor arg...so which
Igor - please help me out - I have been trying to download that snapshot
branch/tag but it keeps failing. I'm using maven and am following the
instructions (http://tinyurl.com/5dnxsf), but it keeps failing.
Michael
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent:
I have been trying to download that snapshot branch/tag but it keeps
failing. I'm using maven and am following the instructions
(http://tinyurl.com/5dnxsf) but without success. How do I get
today/yesterday's snapshot of 1.3.x?
Cheers,
Michael
svn co https://svn.apache.org/repos/asf/wicket/branches/wicket-1.3.x
wicket-1.3.x
cd wicket-1.3.x
mvn install
-igor
On Mon, Jun 9, 2008 at 1:18 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
Igor - please help me out - I have been trying to download that snapshot
branch/tag but it keeps failing.
Mathias P.W Nilsson wrote:
Thanks!
No problem.
I haven't posted all code but there is a check box acceptConditions that
must be clicked to get this to work
Okay, but just add that then if it's needed. Always remember when
working with ajax only to update whats need or you could just
Hi - We have a fairly straightforward app in which each page extends
SecureWebPage such that if a user attempts to directly land on a
mounted page, they will be redirected to our login page (as supplied
in our Application.getLoginpage() method). After logging in, the user
is directed to
Hi,
My page class consists of :
1.) Panel -A 2.) Panel - B.
Just for FYI - Panel A has Refreshing View and a refreshing view nested
within it (nested tables).
When I do a refresh (F5 or simple refresh clicked on browser) on a page, and
nothing seems to happen and all data that was present is
Tried that, but had problems. Anyway, Igor gave me the svn instructions and I
just built it myself.
Thanks for trying to help.
Michael
-Original Message-
From: Ricky [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2008 3:37 PM
To: users@wicket.apache.org
Subject: Re: Getting the
Alright, it seems that the 1.3-SNAPSHOT release fixes the scrolling
problem. HOWEVER, in IE I still experience a strange z-depth problem.
Meaning that the drop down menu appears *behind* neighboring form fields
- take a look at this screenshot:
http://screencast.com/t/DsqIA4pxtut
Any thoughts?
In Internet Explorer I am experiencing a strange z-depth problem.
Meaning that the drop down menu appears *behind* neighboring form fields
- please take a look at this screenshot:
http://screencast.com/t/DsqIA4pxtut
Any thoughts? We have not done any custom styling of the
It's a combination of effects(the example effects from scriptaculous),
something that fades in shakes and for example squishes.. Did you see the
example?
I still think this would best be served in a separate project.
paste your code
-igor
On Mon, Jun 9, 2008 at 3:34 PM, Ricky [EMAIL PROTECTED] wrote:
Hi,
My page class consists of :
1.) Panel -A 2.) Panel - B.
Just for FYI - Panel A has Refreshing View and a refreshing view nested
within it (nested tables).
When I do a refresh (F5 or simple refresh
I started working on the builder a wee back, and intend on bringing it up to
spec.
The only work I had done so far was making it compile compatible with Wicket
1.3 and cleaning up the Maven stuff.
I forked it to github here:
Ah yes - It was committed, but the first comment line didn't summarise the
commit.
This is the big commit:
Author: Antony Stubbs [EMAIL PROTECTED](none) 2008-03-20 17:24:53
Committer: Antony Stubbs [EMAIL PROTECTED](none) 2008-03-20 17:24:53
Parent:
Ah, I forgot the context around which we were discussing Foo.class. That is
definitely a shortcoming of erasure if ever there were one. Unfortunately the
best you can do with class literals is Class?. I actually ran into this
problem early on when moving to Wicket 1.4. I have a custom
Hi!
I put it into the Reference Library - Ajax as Generic Busy Indicator
(for both Ajax and non-Ajax submits)
http://cwiki.apache.org/confluence/display/WICKET/Generic+Busy+Indicator+%28for+both+Ajax+and+non-Ajax+submits%29
**
Martin
2008/6/9 Gwyn Evans [EMAIL PROTECTED]:
I'd have thought
Hello,
Im having problem of updating parents components.Hereis my problem, there is
page and in that page there is a panel. The panel contain a
FormUpdatingComponent that attached to a dropdownchoice. Now when the
dropdown is triggered, i want to update the parents (the page)
textbox/label..is
78 matches
Mail list logo