Thanks Eelco for the response...
Have filed a jira issue :-
https://issues.apache.org/jira/browse/WICKET-546
Thanks
swaroop
On 5/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
1 why doesnt current onComponentTag call super.onComponetTag ?
It is being called in Wicket 1.3. It looks like a
Super and excellent, whats left for me todo then?:)
regards Nino
Iulian Costan wrote:
take a look in gmap examples as well to see how it works and what
needs to be added to ajax target.
/iulian
On 5/8/07, *Iulian Costan* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
fixed in 1.2
why also append the jsessionid in the post url?
or as an hidden field?
also just post to the right dynamic resource url and it should work fine.
(you have to do then everything yourself of course like parsing the input)
johan
On 5/9/07, JulianS [EMAIL PROTECTED] wrote:
We are building a
there is spam on the list but to say that it is a lot..?
johan
On 5/9/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED]
wrote:
You don't think there is spam in the list?
I'll forward all the stock quotes I'm getting in images (jpg, gif) I
already have word filters too.
Hope is soon too.
I have figured this one out. Is seems that when my urls are mounted,
the parameters are passed in as /param/value/ rather than as
param=value. This is actually kind of nice :-)
On 5/8/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
I have just started mounting my pages (for nice urls) and it seems
Just curious, when you say developers' skills play a role, do you
think that either component or action based frameworks are
considerably harder to program in than the other?
Lowell
On 5/8/07, Xavier Hanin [EMAIL PROTECTED] wrote:
So I think you have to evaluate which kind of framework you want
that depends on what the developer is used to
for example if a person did a lot of swing programming wicket feels at home
immediantly
but if the past was struts 1 or something like that then wicket will have a
steeper learning curve
johan
On 5/9/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
Just
To help reduce some code, why not extend the BookmarkablePageLink class to
form your JavascriptConfirmLink and then no need to write the onclick().
also try
new JavascriptConfirmLink(id, cls, new PageParameters(method=method1),
msg)
and the id will be used here:
span wicket:id=listViewId
a
Anyone have any recommendations for how I would go about getting my Ajax
event handler method to trigger a refresh of the current page on the client
side after it is done with the Ajax request? My Ajax event handler needs to
first close the current modal window and then refresh the entire page.
That looks pretty reasonable to me (though my code is not in front of
me right now). I like how you can pass a String to 'new
PageParameters()'. A little unexpected but nice (I should have read
the javadoc more thoroughly).
So I have another question: How to you set the link's title? That is,
how
I am using version 1.2.6
Johan Compagner wrote:
i thought juergen made something to do the right fallback
which version it was (1.3 or 2.0) i don't know which one are you using?
johan
On 5/8/07, * Lennaert van der Linden* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi,
I am
in that version we didn't have fallback i think
that is i think now in 1.3 (but i am not sure if that was only in 2.0 and if
it is backported)
johan
On 5/9/07, Lennaert van der Linden [EMAIL PROTECTED] wrote:
I am using version 1.2.6
Johan Compagner wrote:
i thought juergen made something
with SharedResources.putClassAlias() you can make sure that packages are not
exposed.
also you can mount WebApplication.mountSharedResouce() for mounting a
resourekey on a specific string.
also i would always keep the Page.html and the Page.properties besides the
java code that is much easier
that should work fine looking in the code i do see this:
RequestCycle.get().setRequestTarget(new
WebErrorCodeResponseTarget(errorCode, message));
do you have a quickstart that you can attach to a jira issue?
johan
On 5/9/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
I throw an
do you have a quickstart that you can attach to a jira issue?
What do you mean by this? Is a quickstart some sort of self-contained
minimal jar?
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the
Why not just add a label to the link.
span wicket:id=listViewId
a wicket:id=theLinkId href=anotherPage?method=method1
label wicket:id=theLabelIdmethod1/label
/a
/span
add(new ListView(theLinks, theLinks) {
@Override protected void populateItem(ListItem item)
Hope is soon too. How is the Apache incubation going, by the way?
Getting close we hope :)
Eelco
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of
D'oh! Of course. And I assume you mean span instead of label.
On 5/9/07, Shams Mahmood [EMAIL PROTECTED] wrote:
Why not just add a label to the link.
span wicket:id=listViewId
a wicket:id=theLinkId
href=anotherPage?method=method1
label wicket:id=theLabelIdmethod1/label
/a
yes see our quickstart project in svn
i can try to build an example for this
for example if i change one of the wicket examples homepages that it throws
such an exception
does it fail then?
johan
On 5/9/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
do you have a quickstart that you can attach
I will look into it tomorrow...
On 5/9/07, Johan Compagner [EMAIL PROTECTED] wrote:
yes see our quickstart project in svn
i can try to build an example for this
for example if i change one of the wicket examples homepages that it throws
such an exception
does it fail then?
johan
On
Dragos Bobes a écrit :
Thanks Jean-Baptiste, now it's compiling successfully.
But when I tried to use it for a drag-n-drop example I've ran into some
'FATAL' errors.
FATAL exception raised: Could not load
'wicketstuff.dojodnd.DojoDropContainer'; last tried '__package__.js'
FATAL exception
Thanks for your answer, Johan. When version 1.3 is released we'll
probably upgrade and update the web application. According to a
colleague the release is a matter of weeks now. In the mean time, we'll
settle with no fallback.
Johan Compagner wrote:
in that version we didn't have fallback i
You may choose to use almost any html tag for labels.
It's just that the wicket examples all use spans :)
D'oh! Of course. And I assume you mean span instead of label.
On 5/9/07, Shams Mahmood [EMAIL PROTECTED] wrote:
Why not just add a label to the link.
span wicket:id=listViewId
a
Just curious, when you say developers' skills play a role, do you
think that either component or action based frameworks are
considerably harder to program in than the other?
Wicket requires you to understand object oriented programming and have
a decent command of Java. If you have been
Is there a better way to do this?
Yep. Just call setResponsePage(MyPage.this) or
RequestCycle.get().setResponsePage or something similar. Only works in
1.3 I think.
Eelco
-
This SF.net email is sponsored by DB2 Express
Eelco Hillenius schreef:
Is there a better way to do this?
Yep. Just call setResponsePage(MyPage.this) or
RequestCycle.get().setResponsePage or something similar. Only works in
1.3 I think.
Wouldn't that open MyPage inside the ModalWindow, since the javascript
for closing the
Hello All,
I am evaluating the possibility to use the Wicket / Spring / Hibernate stack
for my next project (Spring / Hibernate being used for the middle tier +
OpenSessionInViewFilter).
Let me describe a simple test scenario that I am trying to implement - a
City Editor panel. The panel
Hi Dimitrio
The solution(possibly) to your first problem are to call flush on your
hibernate session. Altthough im far from a hibernate expert, this solved
our problems with that kind of exception. You could also try merge(), im
afraid im just guessing at this point.
regards Nino
Dimitrio
Ah. Maybe next time I'll try to acually read the whole email instead
of just the subject :) Sorry.
Matej, or anyone else with knowledge of modal windows... any ideas?
Eelco
On 5/9/07, Arnout Engelen [EMAIL PROTECTED] wrote:
Eelco Hillenius schreef:
Is there a better way to do this?
Hello, Nino.
Thanks for a quick reply!
I think clearing the Hibernate session cache (via Session.clear()) before
saving the city will work for me in this case.
However the second concern remains. Consider a complex form with tens of
drop down choice or list components. I want them loaded once
dukejansen schreef:
My Ajax event handler needs to first close the current modal window and then
refresh the entire page. Is there a better way to do this?
I once worked around something like this by putting the redirect in the
windowClosedCallback of the ModalWindow. That was sufficient
This works nicely.
Although I would very much like for the gmap to be updated with a new
gpoint/zoomlevel when the user moves the map around or zoooms in/out.
That way i'll be able to tell which new overlays I should put on the map
based on the coords and/or zoomlevel.
Is this hard to
np. I think it's a good question you have there.
You could make your model load method check if it were called via submit
or not, you might do this via an hidden field and the updating it when
the user clicks the submit button. Im not sure when wicket loads the
values, im guessing after the
Hi Dimitrio,
You may want to have a look at this reply (and thread):
http://www.nabble.com/Wicket---Hibernate---Application-Transactions-tf1947542.html#a5349464
In short, it *does* recommend reloading your city as well per request (in
combination with a second level cache). The performance hit
BTW, we did this on my last project and hibernate was not a limiting factor.
regards Nino
Wilko Hische wrote:
Hi Dimitrio,
You may want to have a look at this reply (and thread):
http://www.nabble.com/Wicket---Hibernate---Application-Transactions-tf1947542.html#a5349464
In short, it
Hi, Sirs,
I have the following webPages variableFlow:
Flow1: Page1 Page2 Page3 Page4 Page5 Page6
Flow2: Page1 Page3 Page4 Page6
As expressed in this flows, sometimes, depending on internal
conditions, Page1 flows directly to Page3, jumping over Page2, and so
it happens with Page4 to
Hello,
In Struts I had an application that had sub contexts under the main
context. How it worked was I had a login action that then retrieved the
user. The user was associated to a sub context and the application
redirected the user to there particular sub context.
/main redirect to
I have the same issue and I am using wicket 1.2.6..
I am also developing an ajax application (desktop like)... Is it a known
issue or bug in my code?
Thank you!
Regards,
Alex.
Matej Knopp-2 wrote:
You seem to be using 1.2, is that right?
-Matej
On 4/30/07, RedFury [EMAIL PROTECTED]
Hi folks,
I try to setup a multi-language website like that:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
html wicket:id=html xmlns:wicket xmlns=http://www.w3.org/1999/
xhtml xmlns:lang=[current
If you are developing ajax-heavy web application I'd certainly suggest
you migrating to 1.3. There are issues in 1.2 with AJAX that are
unfixable, because they would require API breaks, which is something
we can't do.
-Matej
On 5/9/07, Alex Objelean [EMAIL PROTECTED] wrote:
I have the same
Well, it's a bad-bad news for me :(
As far as I know, the wicket-1.3 does not have yet stable release, is it
correct? If so, when approximately it will be available?
And another two questions:
1) Does the wicket-1.3 solve the
java.lang.NullPointerException
at
There is a way that should also work in recent 1.x. To disable the
confirmation dialog you need to put this inside the page with modal
window:
script type=text/javascript
Wicket.Window.unloadConfirmation=false;
/script
-Matej
On 5/9/07, Arnout Engelen [EMAIL PROTECTED] wrote:
dukejansen
Well, there is no DefaultRequestTargetResolverStrategy in 1.3, as
there was a refactoring done. But even if you have problem with the
NPE, we can fix much easier than in 1.2.
As for the migration, it depends on how complex your application is.
-Matej
On 5/9/07, Alex Objelean [EMAIL PROTECTED]
* Herman Bovens:
...WEB-INF/lib/wicket-1.3.0-incubating-SNAPSHOT-javadoc.jar!/org/apache/wicket/markup
Loading Wicket templates from the Javadocs won't help much.
I don't think it's a good idea to put the javadocs in
The problem with NPE in DefaultRequestTargetResolverStrategy:295 seems to be
the way wicket retrieves the component using its relative component path...
[code]
page.get(pageRelativeComponentPath);
[code]
The component which cause the problem was removed and then added back by the
AjaxTabbedPanel
Jean-Baptiste Quenot-3 wrote:
...WEB-INF/lib/wicket-1.3.0-incubating-SNAPSHOT-javadoc.jar!/org/apache/wicket/markup
Loading Wicket templates from the Javadocs won't help much.
I don't think it's a good idea to put
hmm this is because of the HtmlHeaderContainer that container wants a page
to be its parent.
So you can't attach a wicket container to the html because then you
encapsulate the complete page.
i dont know immediantly how to solve this
On 5/9/07, Peter Ertl [EMAIL PROTECTED] wrote:
Hi folks,
I
in 1.3 what you could do is only remember the pageid and pagemap just aks
the session
for the pagemap/page when you need it.
Then you don't have to have references that you maybe never need.
johan
On 5/9/07, manu [EMAIL PROTECTED] wrote:
Hi, Sirs,
I have the following webPages
there is no such a thing as a sub application
But you can have 3 applications (3 wicket filters)
one is attached to main and the other 2 to the other paths.
johan
On 5/9/07, Kurt R. Hoehn [EMAIL PROTECTED] wrote:
Hello,
In Struts I had an application that had sub contexts under the main
Johan Compagner wrote:
why also append the jsessionid in the post url?
or as an hidden field?
You are right, passing the jsessionid to the server is not a problem. The
problem is, how do we check that session id against what is in the wicket
session, since the DynamicWebResource doesn't
still, the query string params should be merged. please file a jira issue if
you are using 1.3
-igor
On 5/9/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
I have figured this one out. Is seems that when my urls are mounted,
the parameters are passed in as /param/value/ rather than as
param=value.
you can also factor out the javascript confirmation into a behavior and
reuse it across any links classes like
Link link=new Link(foo) { onclick(){..}}.add(new
LinkConfirmation(sure?));
BookmarkablePageLink link=new BPL(...).add(new LinkConfirmation(sure?));
-igor
public class
there is wicket-phonebook project in wicket-stuff that shows
wicket+spring+hibernate
your dropdownchoice should use a loadable detachable model, that way the
list is loaded once per request
add(new dropdownchoice(city, new loadabledetachablemodel() { load() {
return dao.listcities(); }}));
are you sure you cant do Session.get() in the resource?
-igor
On 5/9/07, JulianS [EMAIL PROTECTED] wrote:
Johan Compagner wrote:
why also append the jsessionid in the post url?
or as an hidden field?
You are right, passing the jsessionid to the server is not a problem. The
problem is,
Excelent !
^_^
On 5/9/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Hope is soon too. How is the Apache incubation going, by the way?
Getting close we hope :)
Eelco
-
This SF.net email is sponsored by DB2 Express
igor.vaynberg wrote:
are you sure you cant do Session.get() in the resource?
That's the solution! Thanks very much. I said it was a newbie question :)
Julian
--
View this message in context:
http://www.nabble.com/Newbie-Qs-about-DynamicWebResource-tf3712534.html#a10398102
Sent from the
I haven't program that much on swing, but is it wicket so much like swing.
I think they share the new Component and add(new Component()) etc. But other
than that...
Could it be possible than they share some concept like nested components but
that with HTML not wicket.
I don't see how a mapping
as a workaround you could send a redirect from the home page...
Am 07.05.2007 um 15:42 schrieb Thomas R. Corbin:
On Monday 07 May 2007 8:35 am, Johan Compagner escreveu:
hmm you are the second one in a very short time asking this:
http://www.nabble.com/mounting-with-empty-path-
That would be thinking in the wrong direction for Wicket. Much better
is e.g. to create base pages for the various uses, and implement an
authorization strategy accordingly. And by using
RestartResponseExceptions in that strategy, you can redirect users to
their 'subapp home pages' in case they
I don't think they're wrong - I just think they are actually plusses ;-)
On 5/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
some wicket cons in that presentation are not true. too bad matt only spent
a weekend learning wicket before writing that presentation.
-igor
On 5/9/07, Francisco
Could you please open up an RFE then Peter?
Eelco
On 5/9/07, Johan Compagner [EMAIL PROTECTED] wrote:
hmm this is because of the HtmlHeaderContainer that container wants a page
to be its parent.
So you can't attach a wicket container to the html because then you
encapsulate the complete
Hi all,
I have a page with a number of Links, some of them internal (to the wicket
application), some of them external (to RedirectPages). If I follow one of
the externals (opening it into a different tab/window) something like a
cache clean up seems to happen, because after that any of the
Thanks Vincent but unfortunately it doesn't work for me. I get the same
exceptions when I try to use the drag-n-drop feature and I'm sure I'm
using the latest jar.
Please let me know if you need more info about the errors.
Thanks
Dragos
Vincent Demay wrote:
Dragos Bobes a écrit :
Thanks
If you mount a package e.g.
mount(/pages, PackageName.forClass(Index.class));
You will run into a RuntimeException if you type in a url like
http://localhost:8081/quickstart/app/pages; (I'm using Wicket 1.2.5):
WicketMessage: Unable to load class with name: wicket.quickstart.
Root
The problem is that when setResponsePage() is called, no appended
Javascript is evaluated. In fact, wicket doesn't process the ajax
response at all. Just sets window.location.
-Matej
On 5/9/07, dukejansen [EMAIL PROTECTED] wrote:
Yeah, but I don't want to disable that warning. That warning is
I have a form with a number of different submit buttons. Each of the
submit buttons has its own onSubmit method, and they all do something
different.
I'm trying to implement a number of keyboard shortcuts, each of which
would emulate the clicking of a different submit button.
Any thoughts on how
UKFX Online is a leading provider of foreign exchange services, offering
ultra competitive exchange rates for foreign currency transfers and an
unrivalled personal service to private individuals and companies. We pride
ourselves on our ability to save our customers money.
--
View this message in
Is IComponentAssignedModel only in 1.3?
On 5/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
you can also factor out the javascript confirmation into a behavior and
reuse it across any links classes like
Link link=new Link(foo) { onclick(){..}}.add(new
LinkConfirmation(sure?));
yes, and you can ignore that part if you are on 1.2.x
-igor
On 5/9/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
Is IComponentAssignedModel only in 1.3?
On 5/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
you can also factor out the javascript confirmation into a behavior and
reuse it across
done:
https://issues.apache.org/jira/browse/WICKET-549
Am 09.05.2007 um 20:05 schrieb Eelco Hillenius:
Could you please open up an RFE then Peter?
Eelco
On 5/9/07, Johan Compagner [EMAIL PROTECTED] wrote:
hmm this is because of the HtmlHeaderContainer that container
wants a page
to
I am using the @SpringBean annotation to instantiate Spring dependencies in
my wicket pages but I have one page that is giving me a error that I'm
having trouble dealing with. Here's an example.
The Wicket page class:
public class Viewer extends WebPage {
@SpringBean(name = contentSettings)
you have to have an empty constructor. afaik it doesnt have to be public.
this is so that cglib can create a proxy, i dont think there is a way around
it.
-igor
On 5/9/07, Matt Welch [EMAIL PROTECTED] wrote:
I am using the @SpringBean annotation to instantiate Spring dependencies
in my
I'm still a noobie with regard to Wicket so my apologies if this is a
dumb question.
Currently all my Wicket pages are using chained property models +
detachable models for dynamic content. This works great.
However, recently I discovered that one of my pages was getting a
serialization error.
Thanks for that confirmation, Igor. I guess I was just a little surprised
because none of my other classes that are instantiated using the same
technique have an empty constructor. I guess that there must be something at
play there having to do with the fact that those other classes are
I need to be able to change the number of rows displayed in a DataView
dynamically. But when I try to do so in response to user input, I get the
following exception:
WicketMessage: Exception in rendering component: [MarkupContainer [Component
id = 5, page = com...ViewPoliciesPage, path =
if your class is an interface then wicket will create a jdk proxy. if your
class is not an interface then we cannot create this proxy, so wicket uses
cglib to create a proxy from a concrete class. having this empty constructor
must be a cglib requirement.
-igor
On 5/9/07, Matt Welch [EMAIL
Igor,
I notice that you call detach() on your models in this example. I have
searched, but can not find where it is written when (or if) we should be
calling detach ourselves. I'm using implementations of
LoadableDetachableModel for my models that hold DB-backed domain objects. I
don't want
only models that are assigned to component's default model slot are detached
automatically.
you can think of it as component doing this
component { ondetach() { imodel model=getmodel(); if (model!=null) {
model.detach(); }}}
if you keep a reference to a model yourself (say in a field) then you
I'm using 1.2.6. Unless you think otherwise, I will not file a jira issue.
On 5/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
still, the query string params should be merged. please file a jira issue if
you are using 1.3
-igor
On 5/9/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
I have
One of the requirements of the site that I'm building is that oneof
the pages be exposed programatically so that other programs can 'call'
it. They would know whether they'd succeeded or not by inspecting the
http status code returned. Since this is just a regular page of the
site, when the call
What are they going to use to call it? wget? perl? etc
Jeremy Thomerson
On 5/9/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
One of the requirements of the site that I'm building is that oneof
the pages be exposed programatically so that other programs can 'call'
it. They would know
I think they will be using a java.net.HttpURLConnection. Does it matter?
On 5/9/07, Jeremy Thomerson [EMAIL PROTECTED] wrote:
What are they going to use to call it? wget? perl? etc
Jeremy Thomerson
On 5/9/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
One of the requirements of the
the stacktrace doesnt look like it has anything to do with the call to
setitemsperpage. looks like an old NPE bug in Check component.
if you are using 1.2.x update to our latest release, if you are using
1.3update to latest svn.
-igor
On 5/9/07, JulianS [EMAIL PROTECTED] wrote:
I need to be
83 matches
Mail list logo