absolutely. check out AutoLinkResolver to get started.-IgorOn 3/2/06, Thomas Singer <[EMAIL PROTECTED]> wrote:
Igor, thanks for clarification. Is it possible to plug-in an own"link-resolver", which manages the path-correction in the area?
--Best regards,Thomas SingerPS: I'm not THE SmartCVS/SVN gu
Igor, thanks for clarification. Is it possible to plug-in an own
"link-resolver", which manages the path-correction in the area?
--
Best regards,
Thomas Singer
PS: I'm not THE SmartCVS/SVN guy - we are two, Marc Strapetz and me. But
unfortunately experience in developing desktop applications
ok i got the links figured out. this is a bit tricky so walk with me. resolves links /relative/ to the package of the current templateyou have two linkswhen the index page loads wicket will resolve the links thus:page package: com.foo.website.pages1->com.foo.website.pages.Index2->com.foo.website.pa
OK, you are right, having the PageTemplate class in a different package than
the Index class and having the PageTemplate.html in the same directory as
the Index.html markup is not that easy do achieve on deploying. Looks like
in my case I need to keep my IResourceStreamLocator instance for the
lol, just noticed you are the smartsvn/cvs guy. great products. used them both in the past. props. :)-IgorOn 3/2/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:havent taken a look at the links issue yet, one thing at a time.
-IgorOn 3/2/06,
Thomas Singer <[EMAIL PROTECTED]
> wrote:OK, at the moment
havent taken a look at the links issue yet, one thing at a time.-IgorOn 3/2/06, Thomas Singer <[EMAIL PROTECTED]
> wrote:OK, at the moment I have code to find the markups in the pages/ dir, but it
also should be possible to copy them into the packages while deploying.But does this solve the problem
OK, at the moment I have code to find the markups in the pages/ dir, but it
also should be possible to copy them into the packages while deploying.
But does this solve the problems with the *links* shown in my example?
--
Best regards,
Thomas Singer
Igor Vaynberg schrieb:
still tricky
notic
Take a look at CachedLazyResource I posted here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1431567&group_id=119783&atid=684977
It works excellent for cached dynamic images.
Gili
Anders Peterson wrote:
1) "setCacheable": Done! With dynamic images it seems like a good i
still trickynotice that your Index.html is in pages dir and so is your PageTemplate.html, but the corresponding classes are in two different packages: com.foo.website.pages.Index.html and com.foo.website.templates.PageTemplate
so somehow you need to handle that mapping. which you in fact can, you
Would it be possible for wicket to handle such a after-deploy-structure
without major head-aches:
+---graphics
| logo.gif
|
\---WEB-INF
| web.xml
|
+---classes
| +---com
| | \---foo
| | \---website
| | | FooWebApplication.class
i think a LoadableDetachableModel would be good. it is attached once
per request and the data is held for the duration of the request. you
can have a sync block inside load() where you would copy the list from
your datasource into a local copy.
-Igor
On 3/2/06, Eelco Hillenius <[EMAIL PROTECTED]>
One way could be to not update the model until you are attaching
again, or - kind of the same principle - update the model from the
buffer on detach. You still need some more synchronization though: the
attach/ detach models need to be synchronized in that case, and you
want to do it it such a way
Spoke too soon... that doesn't work and I see why. Let me think more to
come with a solution.
-Ramnivas
Ramnivas Laddad wrote:
Okay... I solved my problem by making the model thread-aware...
class TestModel implements IModel {
private List asyncBuffer = new
ArrayList();
private
Okay... I solved my problem by making the model thread-aware...
class TestModel implements IModel {
private List asyncBuffer = new
ArrayList();
private List underlying = new
ArrayList();
synchronized public Object getObject(Component component) {
underlying.addAll(asyn
So more like the Swing's single thread policy... In that case, how do I
update model when I receive model data asynchronously? Does Wicket has
something like EventQueue.invokeLater() or EventQueue.invokeAndWait()?
-Ramnivas
Igor Vaynberg wrote:
doh, i guess i should have looked at the code be
doh, i guess i should have looked at the code before jumping to conclusions. i assumed you were updating the listview in the callback of the ajax behavior. assumption is the mother of ...you have a thread that is running unsynchronized! and updating the model of the component.
we synchronize on the
here is what i am getting after a minute or sointeresting-Igor18:09:06.263 WARN!! Exception for /quickstart/app?wicket:interface=:3:wmc:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&random=
0.46824654938259036wicket.WicketRuntimeException: Internal Error: Could not render error page class wic
Hi Johan,
I set a breakpoint, the thread of onBeginRequest was runnning two times.
I use WebSphere Studio and WebSphere Test Environment.
In trial I deployed Wicket Examples on Tomcat, onBeginRequest is called just
one time.
This problem is thought that WebSphere is cause.
I'll check this out.
T
Nice
Eelco
On 3/2/06, Ramnivas Laddad <[EMAIL PROTECTED]> wrote:
> Of course, for me, an enforcement aspect does the job :-).
>
> The following version reflects my current understanding, but over time a
> more general purpose selection logic (the pointcut) and more enforcements
> can be added.
Of course, for me, an enforcement aspect does the job :-).
The following version reflects my current understanding, but over time
a more general purpose selection logic (the pointcut) and more
enforcements can be added.
package com.aspectivity.wicket.policyEnforcement;
import wicket.Compone
this would be a pain to maintain. we cant just lock out /all/ behaviors from being added to listview, some might make sense.-IgorOn 3/2/06, Riyad Kalla
<[EMAIL PROTECTED]> wrote:I second this request (about runtime notification of invalid states)
On 3/2/06, Ramnivas Laddad <[EMAIL PROTECTED]> wrot
TabbedPanel is a good example of replacing panels. it lives in wicket-extensions.-IgorOn 3/2/06, Eelco Hillenius <
[EMAIL PROTECTED]> wrote:> However, at any time the user can re-set the options and re-submit,
> causing a completely different DataTable based on a new DataProvider.First of all, ask
I second this request (about runtime notification of invalid states)
On 3/2/06, Ramnivas Laddad <[EMAIL PROTECTED]> wrote:
> Thanks, Igor. It works now.
>
> Would it be possible to throw an exception when someone tries to add an
> unacceptable Behavior such as AjaxSelfUpdatingTimerBehavior to a
Sending again. Sourceforge is rejecting .zip attachment, so please
change extension of the attached file to .zip.
-Ramnivas
===
Here it is... (removed lib/*.jar to cut down size).
-Ramnivas
Igor Vaynberg wrote:
any chance you can stick those two files into a quickstart
project?
-Igor
Also, after keeping the page up for a while (about 10 minutes), I get
the following stack:
15:15:28.546 WARN!! Exception for
/quickstart/app?wicket:interface=:21:wmc:-1:IUnversionedBehaviorListener&wicket:behaviorId=0&random=0.05419159267419782
wicket.WicketRuntimeException: Internal Error: Cou
> However, at any time the user can re-set the options and re-submit,
> causing a completely different DataTable based on a new DataProvider.
First of all, ask yourself whether it is a completely different
datatable, or whether the it's just a different model.
> What tools does Wicket provide to
I have a form which provides the user with a number of options. Based
on those options chosen, I will display a DataTable. The user can play
with the DataTable in terms of paging through it, re-sorting the
columns, and so on.
However, at any time the user can re-set the options and re-submit,
c
any chance you can stick those two files into a quickstart project?-IgorOn 3/2/06, Ramnivas Laddad <
[EMAIL PROTECTED]> wrote:Hi,I now have an AJAXified listview working. However, occasionally (very
frequently on a real application and less frequently on a simplifiedapplication :-() it crashes (pro
Hi,
I now have an AJAXified listview working. However, occasionally (very
frequently on a real application and less frequently on a simplified
application :-() it crashes (program and stack trace at the end of this
email).
I have an updater thread that adds new entries to the model for the
if you don't want to make components for youre image or other resource tags.Then the only thing i can think of is that you put all youre pages in the doc rootand then all youre other stuff in images above that so
Page.htmlgraphics/style/The big problem with this at runtime is that youre wic
Thanks, Igor. It works now.
Would it be possible to throw an exception when someone tries to add an
unacceptable Behavior such as AjaxSelfUpdatingTimerBehavior to a
listview (or any other class doesn't produce any markup itself).
-Ramnivas
Igor Vaynberg wrote:
you cannot update a listview it
Hi Johan,
Thank you very much for taking the time to take a look at my first steps
project.
you have really the most strange setup i have every seen.
everything is pretty much scrambled.
Well, as said before, I'm completely new to web-application development and
I try to set it up that wa
I "CVS update"d again and the test didn't fail this time. Thanks!
- Jon
>>> [EMAIL PROTECTED] 2006-03-02 2:56:46 PM >>>
maven 1 tries to execute an abstract class causing the error. This
behavior is not present in maven 2 (download it! it is much faster
than maven 1). Eclipse also doesn't show
All,
I'm looking for a ajax file upload form component with a progressbar,
as can be found here:
http://www.java.net/pub/a/today/2006/02/09/file-uploads-with-ajax-and-jsf.html
but then in wicket 1.2 code.
Has someone already built such a component, and does he/she care to
share it with the comm
maven 1 tries to execute an abstract class causing the error. This
behavior is not present in maven 2 (download it! it is much faster
than maven 1). Eclipse also doesn't show this awkward behavior.
You can also download an updated project.xml from sourceforge web cvs, or
add:
**/Abstract*Test.j
I don't have any test failing on me currently.johanOn 3/2/06, Jonathan Carlson <[EMAIL PROTECTED]
> wrote:Thanks Juergen. I did a CVS update and ran "maven jar", however one of
the tests failed:[junit] Runningwicket.markup.html.navigation.paging.AbstractPagingNavigationTest[junit] Tests ru
this has already been fixed in head. if you dont want to wait i believe the syntax ismaven -Dmaven.test.skip=true jarif that is not correct google it :)-Igor
On 3/2/06, Jonathan Carlson <[EMAIL PROTECTED]> wrote:
Thanks Juergen. I did a CVS update and ran "maven jar", however one ofthe tests faile
ahh but then somehow youre session is already made again BEFORE our wicket.doGet() methodbecause we don't make a session in the doGet that only happens a few steps later when we really needto store a page in the session.
Do you use filters? that do request.getSession(true) ?Maybe we should listen t
Thanks Juergen. I did a CVS update and ran "maven jar", however one of
the tests failed:
[junit] Running
wicket.markup.html.navigation.paging.AbstractPagingNavigationTest
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.343
sec
[junit] [ERROR] TEST
wicket.markup.html.navi
you cannot update a listview itself directly because it does not produce any markup itself. you need to put it into a webmarkupcontainer and attach the update behavior to that.WebMarkupContainer wmc=new WebMarkupContainer("wmc");
wmcvadd(wmc);wmc.add(new ListView(wmc.add(new AjaxSelfUpdatin
Hi,
I have a ListView with a dynamic model. I am trying to update the view
using AjaxSelfUpdatingTimerBehavior. It doesn't seem to be working,
however (with snapshot version 20060227-0200). It seems that the
AjaxSelfUpdatingTimerBehavior.onTimer() methods gets called only once.
The following cod
you have really the most strange setup i have every seen.everything is pretty much scrambled.I guess you want youre pages in the web-root and not in the classes yes?If you want that then please set it up a bit different.
Because how do we expect to know where you pages are and what the root is for
to set the name, but im not sure why it doesnt work when the name is set. if you dont mind please file a bug and one of us will look into it later.-IgorOn 3/2/06,
Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
hmm works thanks... so wats the setWindowName() for...anyway
On 3/2/06, Igor Vaynberg <[EM
The code always covered this topic but this code underwent some
changes in almost all releases. I'm not sure it worked flawless in all
releases. It should in CVS head (and hopefully we have an unit test
for it as well). You would do me a great favour you were to test it
with CVS head.
Juergen
On
you have a better chance of having people look at your code if you post
it with jetty and eclipse project files so that we can import it, click
run, and have a look. see quickstart for how its setup.
OK, I've got it up and running. Please download the bundle from
http://www.regnis.de/_wicket/wic
Yea, we've been chatting up a storm.
On 3/2/06, Jerry Smith <[EMAIL PROTECTED]> wrote:
>
>
>
> Are the lists working?
---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile
hmm works thanks... so wats the setWindowName() for...anyway
On 3/2/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
try without the setWindowName()
-Igor
On 3/2/06, Ayodeji Aladejebi <[EMAIL PROTECTED]
> wrote:
How easy can it get...I did this and got no popups..any tips?
plink = new Pa
seem to be :)On 3/2/06, Jerry Smith <[EMAIL PROTECTED]> wrote:
Are the lists working?
Are the lists working?
I agree with Igor, confluence is extremely unintuitive for a lot of
people (me) and they (me) don't like it (me).
On 3/2/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> imho
> an ideal situation would be if we can have a site with a cms+jira+confluence
> (i know we can use confluence to host the si
i just checked in a fix to head.
here is a patch if you want it sooner, let me know if that helpsOn 3/2/06, Jerry Smith <[EMAIL PROTECTED]
> wrote:
I'm using snapshot 20060227-0200 a ListMultipleChoice
with AjaxFormComponentUpdatingBehavior. The ListMultipleChoice's model is
getti
Thanks Johan,
(I cannot indent your message, because it is not plain text). I have exactly
the situation you describe. I use the REDIREC_TO_BUFFER, invalidate a page a
no redirect. With Jetty I get "session expired" page, which is expected, but
with Tomcat I get back the original page. Only after
imhoan ideal situation would be if we can have a site with a cms+jira+confluence(i know we can use confluence to host the site itself as well but those always look iffy)we can also use it to host the latest examples and keep those uptodate.
everything else can stay at sf.net-IgorOn 3/2/06, Riyad Ka
I'd prefer to implement everything in Wicket usually, but letting the
container do at least the authentication makes it easier to implement
things like single singon and when you have a mixed webapp (e.g. that
uses plain JSP's etc).
Eelco
On 3/2/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> A
A good way in between is to let the container handle authentication
and implement authorization with Wicket, much in the fashion of
something like wicket-auth-roles, but for the user you would use
((WebRequest)getRequest()).getHttpServletRequest().getUserPrincipal()
and / or ((WebRequest)getRequest
try without the setWindowName()-IgorOn 3/2/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
How easy can it get...I did this and got no popups..any tips?
plink = new PageLink("popwin",new ImageViewer()); PopupSettings p = new PopupSettings(); p.setWidth(300).setHeight(300).se
I thought maven already copies all resources from the webapp dir. For
you java dirs you should do this:
maven1:
src/java
src/java
**
**/*.java
maven 2:
src/java
If you are using eclipse, then placing the HTML file next to the .java
file will automatically do that for you.
Maven will not automatically copy it, so you may want to add the
following things to the build section of your pom.xml
src/java
src/test
not unless you can get 10 different wicket applications running under the same servlet with the same mapping - which of course you cannot because Application object is not shared between applications.-Igor
On 3/2/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
huh? created and or destroyed as a sing
this wouldn't really be the "wicket" way of doing stuff.Because you want to base youre security on Request/Urls and that is just what wicket wants to avoid.The security should be mapped on Components/Pages or Models (data).
See for example our own security implementation wicket-auth-roles and wick
Dear list,
I've just discovered that each Bla.java's corr'ding Bla.html file
must be in my_project/src/main/webapp/WEB-INF/classes/.../ in order
for it to be copied into the war file.
So my question is, should I have maven COPY the .html file into the
above directory (from my_project/src/
Until this week I haven't had any images to lookup in my Wicket 1.1
Panels. Now that I've added some images, it appears that the image
resource lookup code is not looking in my superclass package for
images.
If this really is the case, that is a problem because I have reusable
panels that are abs
that map doesn't really matterit is only filled with something if we send out a client side redirect to a page that we already renderd (REDIREC_TO_BUFFER)So it will only go "wrong" if the session got invalidated in a request then a redirect is done to a page that was created for that request
But i
Oh wow sorry about that, I went off in left field there thinking about
a full site thing.
Thanks for the clarification.
On 3/2/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> Riyad,
>
> We won't be moving too soon. And the most infrastructure would be
> hosted at sourceforge. It all depends on
Hello,
I don't believe letting the webcontainer handle all the security has
come up on the mailing before. So i am afraid i cannot help you there.
However i have build a jaas securityframework for wicket (1.2)
allowing your wicket app to control what pages/ components are
displayed based on the i
I’m using snapshot 20060227-0200 a ListMultipleChoice
with AjaxFormComponentUpdatingBehavior. The ListMultipleChoice’s model is
getting set to only the first selected item in the list during the AJAX update. I’m
guessing the problem might be in wicket-ajax.js:
function wicketGetValue(c
Resin has sesion id reuse by default, see
http://www.caucho.com/resin-3.0/config/webapp.xtp#session-config, search for
reuse-session-id. I suspect, that Tomcat has something similar, I just
cannot find the config parameter.
Jan
"jan_bar" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTEC
I don't believe letting the webcontainer handle all the security has
come up on the mailing before. So i am afraid i cannot help you there.
However i have build a jaas securityframework for wicket (1.2)
allowing your wicket app to control what pages/ components are
displayed based on the informatio
Hi,
I created a little application that tests various session behaviour. I
notied something interesting with Tomcat. When session is invalidated and
browser sends request to Tomcat with session id in cookie (the session was
invalidated), Tomcat doesn't create new session with new id, it just re
Riyad,
We won't be moving too soon. And the most infrastructure would be
hosted at sourceforge. It all depends on where things hurt.
The mailinglists can still go through sourceforge, and heck, I'd
rather keep our cvs (svn) on sourceforge rather than roll our own.
Site maintenance is already on
Martijn,
I understand, this is why I asked for you to possibly give a ballpark.
If you guys are fine fitting a $50-ish bill a month, then going for a
VPS would be a great middle ground. If everyone is only ok with $30,
then I would look at some shared hosting plans at your favorite
provider. An
Not sure about the style, but make sure you're using a new page map for them. That bit me yesterday. For example:new PopupSettings(PageMap.forName("popup-page-map"));
For all of the Wicket committers, working on the core project is not a
business. Some of us make a living working on java projects, that
happen to be using Wicket, but that might change soon enough.
So we don't get any money from our Wicket endeavours, so we also
wouldn't like to shell out 300$ pe
Maybe you should clarify the type of budget you are looking to spend on
this? That would make the difference between shared, vps, dedicated,
etc.
But since it's free now, I'm assuming the cheaper the better as long as
QoS is good?
Martijn Dashorst wrote:
Yeah, and they are also worth a che
How easy can it get...I did this and got no popups..any tips?
plink = new PageLink("popwin",new ImageViewer()); PopupSettings p = new PopupSettings(); p.setWidth(300).setHeight(300).setTop(23).setWindowName("Image Preview");
plink.setPopupSettings(p); add(plink)
Hello,
How can I integrate wicket with the JAAS? I mean configuring web.xml
with following configuration:
MySystem authorized area
/app/*
DELETE
GET
POST
PUT
MySystemUser
NONE
FORM
MySystem
/login.htm
Yeah, and they are also worth a cheque! :)
Thanks for the pointer!
Martijn
On 3/2/06, Dorel Vaida <[EMAIL PROTECTED]> wrote:
> ...
>
> > but we are
> >looking at hosting options to have more cpu available for ourselves.
> >
> >
> http://www.contegix.com/index.action
>
> Take a look here, I've he
Hi there,
We are working on this project @ Topicus as a graduationproject.
We managed to run the project and afterwards we've submitted changes to
the cvs which concerns the wicket-contrib-dojo depencies (we've added it
as a new snapshot)
Hope this will solve your problem.
Ronald & Michiel
j
...
but we are
looking at hosting options to have more cpu available for ourselves.
http://www.contegix.com/index.action
Take a look here, I've heard some good things about them, worths a check.
---
This SF.Net email is sponsored by xPML
If I have so many popups? is there are control mechanism i can use to arrange all the popup windows. Cascade Style etc
On 3/2/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
sorry guys, dont bother i was only with wicket 1.1 API doc before, i have seen it in Wicket 1.2 docs
thanks
On 3/2/06,
Martijn,
Fantastic to hear about KNAW, glad it went well.
Also, I think the hostname should be:
wicketframework.org
for 2 reasons:
1) Any time you use punctuation for your URL, you introduce a magnitude
of complexity of folks trying to remember it.
2) springframework.org seems to work just as
sorry guys, dont bother i was only with wicket 1.1 API doc before, i have seen it in Wicket 1.2 docs
thanks
On 3/2/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
Is there anyway using Wicket to make a Popup Window from a Link without doing HTML directly? Anything like PopupPanel etc?thanks
Is there anyway using Wicket to make a Popup Window from a Link without doing HTML directly? Anything like PopupPanel etc?thanks
Here is a short update for all Wicket users and developers.
* Top level domain names
* New snapshots available
* Visit at a Wicket site
Enjoy!
* Top level domain names
I have registered two toplevel domain names for the wicket project.
For now, we have them point to the sourceforge servers, bu
can't reproduce it.I altered as you did i think:added onBeginRequest to the to the NonBookmarkablePagechanged PageLinkPage to use this construct:add(new PageLink("pageLink", new NonBookmarkablePage(this)));
instead of the lazy init page constructset a breakpoint on the onBeginRequest and clicked on
Hi Johan,
The same thing occurred in Wicket Examples.
I added System.out.println in NonBookmarkablePage.
* wicket.examples.compref.NonBookmarkablePage
public class NonBookmarkablePage extends WebPage
{
/**
* Constructor.
* @param referer the refering page
*/
public NonBook
do you have a snippet/sample code where i can see this happening?On 3/2/06, R.A <[EMAIL PROTECTED]
> wrote:Hi Johan,I use iBATIS to access database and set the log to debugging mode.
I take notice of two times database access by logs, so I write the followingcode.protected void onBeginRequest() {
My connection just timed out... ah... different time zones :)
Martijn
On 3/1/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> uhmno thankswho would want to be the head of something so broken?
> wouldnt be a fun place to be i would imagine :)
>
>
> -Igor
>
>
> On 3/1/06, Eelco Hillenius <[E
huh? created and or destroyed as a single unit?How is that possible? When should that happen?johanOn 3/2/06, Gili <
[EMAIL PROTECTED]> wrote:Hi,Looking at LocalizedImageResource.java
and other resource-relatedsource code it seems to me that we assume that resources will be sharedin the sco
89 matches
Mail list logo