Hi Gia,
There are few good libraries that integrate Wicket with JavaScript
libraries (mostly jQuery).
See http://code.google.com/p/wiquery/,
http://code.google.com/p/wicket-jquery-ui/,
http://code.google.com/p/jqwicket/, ...
If you don't use jQuery then use there code as inspiration.
On Thu,
Thank you Martin
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Javascript-UI-Libraries-components-tp4651804p4651828.html
Sent from the Users forum mailing list archive at Nabble.com.
-
See
https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/autocomplete-tagit-parent/autocomplete-tagit/src/main/java/org/wicketstuff/tagit/TagItAjaxBehavior.java#L114
and few lines above how this template is populated
On Thu, Feb 9, 2012 at 7:18 PM, mukesh kumar
I have a JS file that has a function to return a node value from an XML file.
The JS file is referenced in the head section of the page and the function
is called from the page body. The JS function runs but does not return the
XML node. How do I reference the XML file?
Hope you can help
jthomerson wrote:
If you're rendering JS that shouldn't be executed until the page is
loaded,
call this method in your renderHead method:
igor.vaynberg wrote:
allow your component to implement IHeaderContributor and output both
your base js and string js from the renderhread() method
-igor
du u have a code-example(link oder something like that) for this way of
solving my prob?
i tried several times to do it, but i always
If you're rendering JS that shouldn't be executed until the page is loaded,
call this method in your renderHead method:
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/markup/html/IHeaderResponse.html#renderOnDomReadyJavascript%28java.lang.String%29
--
Jeremy
allow your component to implement IHeaderContributor and output both
your base js and string js from the renderhread() method
-igor
2010/2/15 björn liffers bad.ad...@arcor.de:
hello,
i tried to generate a.js-file, but i wasn´t able to generate it in the folder
where i wanted it to be.
so i
Sorry for not getting this totally.
If I do something like this
class Comp extends WebComponent implements ILinkListener{
public Comp(String id) {
super(id);
}
public String getCallbackURL(){
you are getting closer...
next step is to get the callbackURL to the browser and than pick it up
by your javascript.
it could be rendered as an attribute using an AttributeModifier.
given that wicket supplies the javaScript method wicketAjaxGet.
If that gets called with the callbackURL the
Yes but I will have a WebMarkupContainer with a ListView in that needs to be
updated via ajax. If my javascript hits the onLinkClicked I won't have any
AjaxRequestTarget to update the container via ajax.
--
View this message in context:
Here, I think this should work:
Pastebin link in case the formatting gets messed up in email:
http://pastebin.com/f6ef575c3
public ExamplePage() {
IModel? extends List? extends String model = getSomeModel();
final ListViewString lv = new ListViewString(listview, model) {
@Override
Thanks!
That did the trick.
--
View this message in context:
http://www.nabble.com/Wicket-and-javascript-tp24336438p24343230.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail:
Nope I get an javascript error when trying this.
--
View this message in context:
http://www.nabble.com/Wicket-and-javascript-tp24336438p24345368.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To
I didn't check it for 100% functionality - I was showing you how the
pieces fit together. Now you know how to get the URL for the
callback, how to get the callback to work, etc. Now, look at it and
see what it renders and see if it's correct.
I can't help anyway without knowing what JS error
yes thanks alot.
Beacuse I didn't have any other wicket ajax the lib was not included. I just
added a
super.renderHead(response); and it worked.
Thanks
--
View this message in context:
http://www.nabble.com/Wicket-and-javascript-tp24336438p24345756.html
Sent from the Wicket - User mailing
Let me be a bit more specific.
A have a plain form, none wicket that posts to an Iframe. In the onsubmit of
the form I call my ajax function. The action is set to my servlet to receive
the multipart.
In the start I setup my ajax and make GET requests to the same servlet for
updating my progress
On the client side you have a JS script that knows when 100% is
reached. You have it trigger a Wicket AJAX call to the server on a
behavior that repaints your list view. Then the list view just needs
a proper model that gets an up-to-date list. Create an abstract
behavior, and there is a method
Thanks!
I know what to do not just how it could be done
You have it trigger a Wicket AJAX call to the server on a
behavior
How does this work?
--
View this message in context:
http://www.nabble.com/Wicket-and-javascript-tp24336438p24338948.html
Sent from the Wicket - User mailing list
first create a url to a component.
this can be done by letting your component implement something like
ilinklistener and calling urlfor(linklistener.interface) on that
component.
once you have the url (which will trigger onclick() of the component)
pass it into some javascript by writing it out
Say your boss to engage more java developers ;)
-- p
On Tue, Jun 16, 2009 at 9:23 PM, Dane Laverty danelave...@gmail.com wrote:
I'm currently the only Java programmer on staff, and I'm already
maintaining
two Wicket applications, so my boss is concerned that if I start a third
project in
Extjs is a good choice, we have integrated it successfully with Wicket.
Check it out at http://code.google.com/p/wicket-ext/
Paolo
On Mon, Jun 15, 2009 at 6:31 PM, Dane Laverty danelave...@gmail.com wrote:
I'm working on a small project where I'm limited to using only JavaScript.
I
love
You can also have a look at wicketstuff and see what integrations
already exists :)
2009/6/15 Dane Laverty danelave...@gmail.com:
I'm working on a small project where I'm limited to using only JavaScript. I
love the Wicket programming model, especially reusable components. Is anyone
aware of a
GWT is a good framework.You can code in java and then it is translated to
javascript.
NM
On Tue, Jun 16, 2009 at 4:05 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
You can also have a look at wicketstuff and see what integrations
already exists :)
2009/6/15 Dane Laverty
Yeah - but I would guess that it wouldn't fit where I'm limited to
using only JavaScript
Out of curiosity - what do you mean where I'm limited to using only
JavaScript? I mean, can you use HTML? What does this app do -
obviously not much if it's only JS. What does it tie in with to do
business
I'm currently the only Java programmer on staff, and I'm already maintaining
two Wicket applications, so my boss is concerned that if I start a third
project in Java that no one else will be able to maintain it. It's a
reasonable concern, but kind of too bad nonetheless. I'm using JQuery as my
Have you take a look at
http://extjs.com/ http://extjs.com/
insom wrote:
I'm working on a small project where I'm limited to using only JavaScript.
I
love the Wicket programming model, especially reusable components. Is
anyone
aware of a JavaScript framework or JavaScript techniques
Not wanting to go offtopic on the list or start a flame war I would just say
to have a look to their license before doing any experiment ..
To develop anything not GPL'ed you will need to purchase a commercial
license for ExtJS.
That is why many migrated to other JS frameworks some time ago when
Hi,
Jquery is one more good choice. But, I am sure it does not work in a
similar way wicket does. You could always wrap around stuff to make it work
with a model, but you may have to re-invent the wheel again :-s
/Jade
On Mon, Jun 15, 2009 at 11:00 PM, Marvan Spagnolo marv...@gmail.com wrote:
jQuery, i.e., what is required for
creating a behavior?
Thanks,
/tc
From: Jeremy Thomerson jer...@wickettraining.com
To: users@wicket.apache.org
Cc: fredy.wij...@gmail.com
Sent: Tuesday, December 23, 2008 6:20:18 PM
Subject: Re: Wicket and Javascript
: Tuesday, December 23, 2008 6:20:18 PM
Subject: Re: Wicket and Javascript framework integration
Check out one of the many examples in Wicket Stuff, for instance, the YUI
integration:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/yui-parent/yui/
You can also see
Check out one of the many examples in Wicket Stuff, for instance, the YUI
integration:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/yui-parent/yui/
You can also see what Nino has just been working on in the past couple of
days with this:
Cc: fredy.wij...@gmail.com
Sent: Tuesday, December 23, 2008 6:20:18 PM
Subject: Re: Wicket and Javascript framework integration
Check out one of the many examples in Wicket Stuff, for instance, the YUI
integration:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core
Hi Serkan,
Did you fix this issue.
I am also facing the same issue in portlet environment when using firefox
2.0
I really appreciate, if you give some pointers on how to fix this if you
already fixed this issue.
Thanks
Prasanna
Serkan Camurcuoglu-2 wrote:
Hi all,
I'm trying to use an
Great. Im looking into this again now, saw the error but was in meetings
all day.. I'll see how the gmap and gmap2 has evolved since my
participation...
Martin Funk wrote:
mea culpa,
could you try again please.
mf
Ballist1c schrieb:
I have had a look, the GMap2 contrib is missing source
have you seen wicketstuff's google maps integration projects?
-igor
On Jan 16, 2008 5:14 PM, Ballist1c [EMAIL PROTECTED] wrote:
Hey guys,
Im working with google maps and what I want to accomplish is have location
data from our DB backend parsed into the google map for display.
At the
I have had a look, the GMap2 contrib is missing source files :(
GOverlayListenerBehavior class is required ... but the SVN I got doesnt have
it ... so thats not an option.
igor.vaynberg wrote:
have you seen wicketstuff's google maps integration projects?
-igor
On Jan 16, 2008 5:14
mea culpa,
could you try again please.
mf
Ballist1c schrieb:
I have had a look, the GMap2 contrib is missing source files :(
GOverlayListenerBehavior class is required ... but the SVN I got doesnt have
it ... so thats not an option.
igor.vaynberg wrote:
have you seen wicketstuff's
38 matches
Mail list logo