RE: 2 ModalWIndows at once

2009-12-09 Thread Stefan Lindner
Solved. I took a look into AjaxLazyLoadPanel and used a AbstractDefaultAjaxBehavior.respond. Thank you all. Stefan -Ursprüngliche Nachricht- Von: Stefan Lindner [mailto:lind...@visionet.de] Gesendet: Mittwoch, 9. Dezember 2009 08:54 An: users@wicket.apache.org Betreff: AW: 2

Re: 2 ModalWIndows at once

2009-12-09 Thread Igor Vaynberg
i guess that may work, or add an ajax call back to the ondomready event -igor On Tue, Dec 8, 2009 at 11:54 PM, Stefan Lindner lind...@visionet.de wrote: Hi Igor, how can I make modal2 the child of modal1. Or how can I open modal2 automatically after modal1 was opened? Fake an ajax roundtrip

wicketstuff.org Confluence error

2009-12-09 Thread Stefan Blanke
Hi, does somebody know what happened to wicketstuff.org? I get the following error message: You cannot access Confluence at present. Look at the table below to identify the reasons Database is being updated by an instance which is not part of the current cluster. You should check

Re: Questions about Serialization...

2009-12-09 Thread Yves-Marie LAINÉ
Yes, we are ok, we should put Serializable in session. (But put Serializable in Session doesn't mean to put Serialized in Session) And it seems that wicket Serialize each Page one by one. This way if you have a single object instance that you share between pages as object property, after pages

Re: Questions about Serialization...

2009-12-09 Thread Marat Radchenko
2009/12/9 Yves-Marie LAINÉ ymla...@gmail.com: (But put Serializable in Session doesn't mean to put Serialized in Session) Uh? And it seems that wicket Serialize each Page one by one. This way if you have a single object instance that you share between pages as object property, after pages

PageParameters and BookmarkablePageLink

2009-12-09 Thread Eyal Golan
Hi, I have a BookmarkablePageLink that I set parameters for it: ... String configurationName = conf; ConfigurastionUser firstEntity = getFirstEntity(); PageParameters parameters = new PageParameters(); parameters.add(configurationName, configurationName); parameters.add(firstEntity, firstEntity);

Fwd: DELIVERY FAILURE: Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1]

2009-12-09 Thread Marat Radchenko
Please, unsubscribe him, I'm getting such reply for each email i send to this maillist. -- Forwarded message -- From: postmas...@td.com Date: 2009/12/8 Subject: DELIVERY FAILURE: Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1] To:

Re: PageParameters and BookmarkablePageLink

2009-12-09 Thread Bert
Hi, the parameter value (a ConfigurastionUser in your case) is converted to a String using toString(). Are you sure that you want to pass in that object and not an ID of it? Bert On Wed, Dec 9, 2009 at 12:57, Eyal Golan egola...@gmail.com wrote: Hi, I have a BookmarkablePageLink that I set

Re: PageParameters and BookmarkablePageLink

2009-12-09 Thread Eyal Golan
OK. I understand. Yes, I prefer passing it as an object. So I switched the page LinkAttributesPage to have a constructor that accepts the OBJECTS I need. If I ever need it with URL, then I'll add the PageParameters and will get the objects by keys. Thanks, Eyal Golan egola...@gmail.com Visit:

Re: wicketstuff.org Confluence error

2009-12-09 Thread Johan Compagner
somehow the disks where full again i deleted as much logging as i can and some old stuff so we should be able to go on Biggest problem is as always but nobody seems to be able to fix that shitty maven: http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.5-SNAPSHOT/ It still

Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
Yeah it seems strange, some project seems not to have the issue: http://www.wicketstuff.org/maven/repository/org/wicketstuff/iolite/wicketstuff-iolite/0.3-SNAPSHOT/ While a core project does.. http://www.wicketstuff.org/maven/repository/org/wicketstuff/openlayers/1.4-SNAPSHOT/ Heres something

Re: wicketstuff.org Confluence error

2009-12-09 Thread Marat Radchenko
That's controlled with uniqueVersion 2009/12/9 nino martinez wael nino.martinez.w...@gmail.com: Yeah it seems strange, some project seems not to have the issue: http://www.wicketstuff.org/maven/repository/org/wicketstuff/iolite/wicketstuff-iolite/0.3-SNAPSHOT/ While a core project does..

Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
Yup, and theres two places on wicketstuff core it's not set, so it default to true! Which are the opposite of what we want.. I'll fix it for wicketstuff.. But what about Wicket itself, I dont have commit rights? 2009/12/9 Marat Radchenko slonopotamusor...@gmail.com That's controlled with

Re: Data Provider

2009-12-09 Thread hill180
I am using DefaultDataTable, is there a component called ajaxdatatable? joe On Tue, Dec 8, 2009 at 10:45 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Modal window can contain only ajax components. Are you using ajaxdatatable? ** Martin 2009/12/9 hill180 hill...@gmail.com:

Re: Data Provider

2009-12-09 Thread hill180
I used AjaxFallbackDefaultDataTable replacing DefaultDataTable, worked like a charm. Thanks! joe On Tue, Dec 8, 2009 at 10:45 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Modal window can contain only ajax components. Are you using ajaxdatatable? ** Martin 2009/12/9

Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
Ive done this, not sure if it fixes any thing: Trying to fix uniqueVersionfalse/uniqueVersion problem added it to non snapshot repos aswell However it did look ok for snapshot versions, they had unique version set to false.. 2009/12/9 nino martinez wael nino.martinez.w...@gmail.com Yup, and

Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
Wondering if it could be something like this: http://jira.codehaus.org/browse/MDEPLOY-57 Which version of maven are wicketstuff teamcity running? 2009/12/9 nino martinez wael nino.martinez.w...@gmail.com Ive done this, not sure if it fixes any thing: Trying to fix

Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
and should be fixed in maven 2.1.x: http://jira.codehaus.org/browse/MNG-3885 Should we upgrade maven on teamcity, its running 2.0.9...? 2009/12/9 nino martinez wael nino.martinez.w...@gmail.com Wondering if it could be something like this: http://jira.codehaus.org/browse/MDEPLOY-57 Which

Re: wicketstuff.org Confluence error

2009-12-09 Thread Johan Compagner
fine by me On Wed, Dec 9, 2009 at 15:53, nino martinez wael nino.martinez.w...@gmail.com wrote: and should be fixed in maven 2.1.x: http://jira.codehaus.org/browse/MNG-3885 Should we upgrade maven on teamcity, its running 2.0.9...? 2009/12/9 nino martinez wael

Very Basic Hello World - Applet

2009-12-09 Thread Shamil
I need to know how to set-up a simple hello world applet to Wicket , i have almost browsed the entire web, and clueless of how to find it .. can some one please help me out... or point me to a relevant site ..

Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
If you have an applet you can put it into wicket very easily: html APPLET CODE=XXYYZ.class archive=/xyz.jar WIDTH=600 HEIGHT=600 /APPLET /html 2009/12/9 Shamil shaena...@gmail.com: I need to know how to set-up a simple hello world applet to Wicket , i have

Re: Questions about Serialization...

2009-12-09 Thread Yves-Marie LAINÉ
Thanks you for the advices. I wasn't using Model in this precise case. I thought using Model was a best practice, to save memory. Indeed I understand that using Mdel is mandatory, if you want avoid strange behaviour. IMHO using LoadableDetachableModel is an extra cost, (cpu, time, design) not

Re: Very Basic Hello World - Applet

2009-12-09 Thread local_shamil
Ok... this is the code i used to create my Maven Wicket project mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.4.3 -DgroupId=com.mycompany -DartifactId=myproject and i used the above example to create

Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
The jar is a library for the applet code. Baybe you do not need it. ** Martin 2009/12/9 local_shamil shaena...@gmail.com: Ok... this is the code i used to create my Maven Wicket project mvn archetype:create -DarchetypeGroupId=org.apache.wicket

Re: Very Basic Hello World - Applet

2009-12-09 Thread James Perry
Oh, I went to Southampton Uni'! :-) It depends how it is being deployed but the most simplest way is to put your the applet in your 'webapp' folder. Best, James. 2009/12/9 local_shamil shaena...@gmail.com: Ok... this is the code i used to create my Maven Wicket project mvn

Re: Very Basic Hello World - Applet

2009-12-09 Thread Jeremy Thomerson
Wicket is deployed as a war in a servlet container (like Jetty or Tomcat). It is not deployed as an applet. Are you trying to ask how to use an applet within Wicket? Or how to deploy Wicket? -- Jeremy Thomerson http://www.wickettraining.com On Wed, Dec 9, 2009 at 10:17 AM, local_shamil

Re: Very Basic Hello World - Applet

2009-12-09 Thread local_shamil
Guys i am a bit confused now... I am trying to have an Applet displayed in a wicket website... What should i exactly do .. should i create a JAR as HelloWorld.jar and put it in to the WEBAPP folder ?? in that case i will have the HelloWorld.java and HelloWorld.html in my com.mycompany

Re: Very Basic Hello World - Applet

2009-12-09 Thread James Carman
I'd say get your applet working in a non-wicket, java webapp (with a static HTML page) first. Then, wicketize it. On Wed, Dec 9, 2009 at 11:31 AM, local_shamil shaena...@gmail.com wrote: Guys i am a bit confused now... I am trying to have an Applet displayed in a wicket website... What

Re: General questions regarding Wicket roadmap and plans

2009-12-09 Thread Jeremy Thomerson
+1000 to Martijn's comment. I've released a few open source components - and none are at the level to be sold. Not because they can't be used - I do use them in production. But because there are a million use cases and I have no desire, time, or monetary reason to accommodate those use cases.

Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
Guys i am a bit confused now... Take it slow :) I am trying to have an Applet displayed in a wicket website... That's fine. It is just like displaying an IMAGE in a html page. The applet has nothing to do with wicket. should i create a JAR as HelloWorld.jar and put it in to the WEBAPP

Re: wicketstuff.org Confluence error

2009-12-09 Thread Vytautas Racelis
This thing does not look compatible with wicket stuff also http://wicketstuff.org/confluence/display/~family+incest+orgy+free+3d+incest+taboo+sex+movies/Home it's on first page of wicket stuff http://wicketstuff.org/confluence/dashboard.action Johan Compagner wrote: somehow the disks where

Re: Very Basic Hello World - Applet

2009-12-09 Thread local_shamil
Ok cool the image works fine... i just added this and it came out Picture.JPG now i need to insert an applet .. this is my HelloWorld.java code import java.applet.Applet; import java.awt.Graphics; public class HelloWorld extends Applet { public void paint(Graphics g) {

Re: Very Basic Hello World - Applet

2009-12-09 Thread nmelen...@getsense.com.ar
do that : I'd say get your applet working in a non-wicket, java webapp (with a static HTML page) first. Then, wicketize it. then make panel using your working applet html and add it to a WebPage with it own html NM On Wed, Dec 9, 2009 at 1:37 PM, Martin Makundi

Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
COmpile HelloWorld.java applet into HelloWorld.class and put it into the webapp directory and write: APPLET CODE=HelloWorld.class WIDTH=150 HEIGHT=25 /APPLET /BODY /HTML 2009/12/9 local_shamil shaena...@gmail.com: Ok cool the image works fine... i just added this and it came out  

Re: Questions about Serialization...

2009-12-09 Thread Marat Radchenko
I wasn't using Model in this precise case. I thought using Model was a best practice, to save memory. Choosing proper model isn't (almost always) about performance, it's about logic. You _have_ to use plain serializing model for data that isn't stored anywhere else. You _have_ to use LDM in

Re: Very Basic Hello World - Applet

2009-12-09 Thread local_shamil
Guess What ... it worked .. Thanks loads ... but 1 little question ... when i complie the code... instead of manually copy pasting it to my WEBAPP folder.. can i give it as a path (like /myproject/src/main/webapp/HelloWorld.class) ... And thank u to every1 who helped me out.

Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
but 1 little question ... when i complie the code... instead of manually copy pasting it to my WEBAPP folder.. can i give it as a path (like /myproject/src/main/webapp/HelloWorld.class) ... No. But you can tweak your build configuration (maven, ant) to copy it automatically. ** Martin And

Re: Very Basic Hello World - Applet

2009-12-09 Thread local_shamil
MartinM wrote: No. But you can tweak your build configuration (maven, ant) to copy it automatically. I am using maven i'll start working on it thanks loads -- View this message in context: http://old.nabble.com/Very-Basic-Hello-World---Applet-tp26712682p26714185.html

Re: How to tackle Ajax Flooding

2009-12-09 Thread smallufo
Wow , thanks for this great tip ... But I have problem applying to Gmap2 : I hope when user clicks the map , the map won't be able to receive any requests until the onClick() finishes... But it seems this doesn't work... Is there anything I missed ? gmap2.add(new ClickListener() { @Override

Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
OMG it's been flooded by crap! Thats really low! http://wicketstuff.org/confluence/display/~advantage_carb_blocker http://wicketstuff.org/confluence/display/~buy_cheapest_fml_forte 2009/12/9 Vytautas Racelis turi...@gmail.com This thing does not look compatible with wicket stuff also

Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
I'll commence cleaning, however can we avoid this again? 2009/12/9 nino martinez wael nino.martinez.w...@gmail.com OMG it's been flooded by crap! Thats really low!

Re: wicketstuff.org Confluence error

2009-12-09 Thread James Carman
Perhaps with CAPTCHA? http://confluence.atlassian.com/display/DOC/Spam+Prevention+via+Captcha On Wed, Dec 9, 2009 at 12:48 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: I'll commence cleaning, however can we avoid this again? 2009/12/9 nino martinez wael

Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
ahh so you suspect it's a spam server somewhere.. I can see theres almost too many users for me to clean up, are there some way of bulk/batch modifying? And who will setup CAPTCHA? 2009/12/9 James Carman jcar...@carmanconsulting.com Perhaps with CAPTCHA?

Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
seems captcha are on 2009/12/9 nino martinez wael nino.martinez.w...@gmail.com ahh so you suspect it's a spam server somewhere.. I can see theres almost too many users for me to clean up, are there some way of bulk/batch modifying? And who will setup CAPTCHA? 2009/12/9 James Carman

Re: wicketstuff.org Confluence error

2009-12-09 Thread nino martinez wael
However not for registered users, so somebody made an account and gave that to the BOT, i'll put on captcha for everyone even if you are signed in, even if its really annoying :( 2009/12/9 nino martinez wael nino.martinez.w...@gmail.com seems captcha are on 2009/12/9 nino martinez wael

Getting Page Expired in Glassfish but not in Jetty

2009-12-09 Thread Early Morning
Hi all, Currently I have a problem with my application wherein when I press the Back button of the browser and navigate to a new page, I get a Page Expired error consistently. However, this only happens when my application is deployed in Glassfish, but not when I run it using Jetty. Any

Re: Getting Page Expired in Glassfish but not in Jetty

2009-12-09 Thread Igor Vaynberg
make sure there are no serialization errors in your glassfish log... -igor On Wed, Dec 9, 2009 at 10:36 AM, Early Morning goodmorning...@gmail.com wrote: Hi all, Currently I have a problem with my application wherein when I press the Back button of the browser and navigate to a new page, I

Re: unreachable john.mattu...@td.com

2009-12-09 Thread TahitianGabriel
Same thing for me yesterday when I've posted : john.mattu...@td.com Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1] -- View this message in context: http://old.nabble.com/unreachable-john.mattucci%40td.com-tp26706274p26715839.html Sent from the Wicket - User mailing

Re: Getting Page Expired in Glassfish but not in Jetty

2009-12-09 Thread bht
Hi, It is usually easier to have identical development and production platforms. If then you get an error as you describe, you usually catch it in development before it reaches production. So why don't you develop with GlassFish? Bernard On Thu, 10 Dec 2009 02:36:49 +0800, you wrote: Hi

Palette adding choices

2009-12-09 Thread Jeffrey Schneller
I have a palette defined with a set of available choices. I can move those choices to the right into the selected choices. On my page I have a modal popup that can be launched to add a custom choice. The choice is added to the available choices in the palette but the selected choices are reset.

add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread tubin gen
I use AjaxFallbackDefaultDatatable ,please tell me if I can add an icon for sortable column indicating asc or desc

Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread TahitianGabriel
You can use CSS like this : tr.headers th.wicket_orderUp a { background : url(../images/arrow_up.png) no-repeat right; } tr.headers th.wicket_orderDown a { background : url(../images/arrow_down.png) no-repeat right; } tr.headers th.wicket_orderNone a { background :

Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread Igor Vaynberg
you can do it via css, afair wicket will already set some css classes on the th to indicate the sort direction. -igor On Wed, Dec 9, 2009 at 3:04 PM, tubin gen fachh...@gmail.com wrote: I use AjaxFallbackDefaultDatatable   ,please tell me if I can add an icon for sortable column  indicating

Re: Questions about Serialization...

2009-12-09 Thread Lionel Port
Probably the answer to the original question is just use HttpSessionStore. Its similar issue to when deploying to GAE where you don't have a disk to serialise to. regards, Lionel On Thu, Dec 10, 2009 at 4:13 AM, Marat Radchenko slonopotamusor...@gmail.com wrote:  I wasn't using Model in this

Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread fachhoch
are these images available with wicket distribution ? even the wicket examples page does not have these images ? TahitianGabriel wrote: You can use CSS like this : tr.headers th.wicket_orderUp a { background : url(../images/arrow_up.png) no-repeat right; } tr.headers

Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread fachhoch
if I do it with css can I add accessibility information , if a page uses image I can add accessibility information using alt attribute , what in case of image from css ? igor.vaynberg wrote: you can do it via css, afair wicket will already set some css classes on the th to indicate the

Re: add asc or desc icon indicator for sorting in ajaxFallbackDefaultDatatable

2009-12-09 Thread TahitianGabriel
You can use your own images or use the one that are within the wicket-examples into the 'images' directory. fachhoch wrote: are these images available with wicket distribution ? even the wicket examples page does not have these images ? -- View this message in context:

Re: Very Basic Hello World - Applet

2009-12-09 Thread McIlwee, Craig
Really? I've never written applets before, is there some limitation that would prevent it from being fetched as a shared resource? If not then add a wicket:id attribute to the applet tag, create a Label with the same wicket ID, and then use an AttributeModifier to create the code attribute on

Re: Getting Page Expired in Glassfish but not in Jetty

2009-12-09 Thread Early Morning
Well yes, ideally, but it is easier to not use such a heavy appserver when developing, so we make do with an internal QA deployment on Glassfish :) In any case, I was more wondering about the differences between how appservers handle wicket page versions and the like, since I'd like to understand

Re: Getting Page Expired in Glassfish but not in Jetty

2009-12-09 Thread zlus...@gmail.com
Hi, Check that session cookies are not mixed up between the application servers. I had PageExpired exceptions when testing the same application on the very same browser with WebLogic and Tomcat, and that was caused by that both servers are using the JSESSIONID cookie, but with different

building tons of ajax links

2009-12-09 Thread Douglas Ferguson
I'm supporting some code that builds an ajax link per tag aka. tag cloud. When there are tons of tags, this can take quite some time. My guess is all the overhead in having wicket build all the callbacks for each link. Is there a way to implement a group of ajax links that share the same

Re: Very Basic Hello World - Applet

2009-12-09 Thread bht
Q: An applet tag does not get its archive attribute value resolved in the output HTML in the same way as img src attributes. How can I fix this? A: See org.apache.wicket.markup.parser.filter.RelativePathPrefixHandler This currently only supports the attributes href, src, background.

Re: Very Basic Hello World - Applet

2009-12-09 Thread bht
And then there is: script type=text/javascript src=http://java.com/js/deployJava.js;/script script type=text/javascript // See http://java.sun.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html deployJava.setInstallerType('kernel');

Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
Yes.. servlet container model limits where resources can be fetched online. ** Martin 2009/12/10 McIlwee, Craig craig.mcil...@openroadsconsulting.com: Really?  I've never written applets before, is there some limitation that would prevent it from being fetched as a shared resource?  If not

Re: building tons of ajax links

2009-12-09 Thread Per Lundholm
... or do not use ajax ... what happens when you click ... are you not taken to a search result ... might as well redraw the page. /Per On Thu, Dec 10, 2009 at 7:47 AM, Douglas Ferguson doug...@douglasferguson.us wrote: I'm supporting some code that builds an ajax link per tag aka. tag cloud.