Wicket stuff site

2010-07-29 Thread armandoxxx
Hey ppl ... Does anyone know the right link to wicket stuff site .. cause link I find on google or other sites are not working ... http://wicketstuff.org/confluence/display/STUFFWIKI Kind regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-stu

Error "no application attached to current thread main" with AnnotApplicationContextMock

2010-07-29 Thread Sam Grönblom
Getting this error when trying to use AnnotApplicationContextMock. Judging by the example shown in the latest javadocs: http://wicketbyexample.com/api/wicket-spring/latest/org/apache/wicket/spring/injection/annot/test/AnnotApplicationContextMock.html you should create the application context moc

Single session per user

2010-07-29 Thread MelmanRo
Hi guys, I'm trying to achieve the behavior where if a user is logged in and he is logging in from some place else again, he would be logged out and prompted the login page in the first place. For now, I've experimented with Session#invalidateNow and ApplicationSettings#setExpiredErrorPage on th

Re: Lightweight session management

2010-07-29 Thread M. Hammer
I see the point, but still I expect this to be a frequent use-case for Facebook App iframe integration. There, you get the OAuth-Token/Session Secret/whatever only for the initial iframe request, and then usually put them into the session (at least this is suggested by the PHP examples). An

Re: Wicket stuff site

2010-07-29 Thread Martin Grigorov
Confluence is down right now for security reasons. On Thu, Jul 29, 2010 at 10:47 AM, armandoxxx wrote: > > Hey ppl ... > > Does anyone know the right link to wicket stuff site .. cause link I find > on > google or other sites are not working ... > > http://wicketstuff.org/confluence/display/STUFF

Re: Integrating Wicket with Dojo/Jquery/Dwr/Ext Js

2010-07-29 Thread Nivedan Nadaraj
WiQuery integrates JQuery with Wicket. It is a very responsive community as well. The other one that integrates Wicket is JWicket but I have not used it. I have used Wiquery but if you wanted I guess you can use Jquery customise it for your project. As such Wiquery provides out of the box integra

Re: Integrating Wicket with Dojo/Jquery/Dwr/Ext Js

2010-07-29 Thread Nivedan Nadaraj
Here is alink to Wiquery project: http://code.google.com/p/wiquery/wiki/QuickStart On Thu, Jul 29, 2010 at 5:37 PM, Nivedan Nadaraj wrote: > WiQuery integrates JQuery with Wicket. It is a very responsive community as > well. The other one that integrates Wicket is JWicket but I have not used >

Re: Page Expired

2010-07-29 Thread not_in_my_name
I have the same problem here. does anyone have a solution by now? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Page-Expired-tp1844813p2306222.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: Wicket stuff site

2010-07-29 Thread Martijn Dashorst
On Thu, Jul 29, 2010 at 11:32 AM, Martin Grigorov wrote: > Confluence is down right now for security reasons. Not really: it is down because we are (were?) working on installing hudson and didn't want to wait 10 minutes for the container to start up. I guess we can enable confluence again as huds

inmethod delete Exception

2010-07-29 Thread nfischer
Hi all. I try to use a inmethod datagrid, but I dont fix a problem. Please help. I write a ButtonToolbar with insert, delete buttons. I think the insert is working good. When I delete one row the row is deleted from the grid it seems work good, but after I delete other row on that RequestCycle P

Re: Transparent FB auth from cookie?

2010-07-29 Thread Anh
Works lovely, thanks Igor On Wed, Jul 28, 2010 at 8:25 AM, Igor Vaynberg wrote: > RequestCycle#onBeginRequest() > > -igor > > On Tue, Jul 27, 2010 at 9:02 PM, Anh <7za...@gmail.com> wrote: >> Hi, >> >> Having trouble with how this would best be done in Wicket: >> >> I have a Facebook OAuth token,

Session cookie path

2010-07-29 Thread Pepijn de Geus
Hi, We're running Wicket 1.4.9 on GlassFish 2.1 behind an Apache server running on port 80. In several Apache virtual hosts we use JkMount to mount the GlassFish applications. I just found out this raises a problem: Wicket sets the session cookie path to the servlet contextpath "/MyProject" by

Re: inmethod delete Exception

2010-07-29 Thread nfischer
. I'm stupid . The gird save the old row in selected items collecton , need call refresh. ButtonToolbar.this.grid.resetSelectedItems(); sorry. (The prev. post not a first thing, I've been struggling for two days) -- View this message in context: http://apache-wicket.1842946.n4.nabble.

FileUpload.getClientFileName() 1.4.9 vs 1.4.8

2010-07-29 Thread vov
Why did FileUpload.getClientFileName() return file name in 1.4.8 but it return all path to file in 1.4.9?? E.g. My_File_Name.txt in 1.4.8 and D:\MyFolder\My_File_Name.txt in 1.4.9 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/FileUpload-getClientFileName-1-4-9-vs-1

Re: FileUpload.getClientFileName() 1.4.9 vs 1.4.8

2010-07-29 Thread Martin Grigorov
The code was upgraded to latest version of Apache commons-fleupload. Maybe this is the cause ... On Thu, Jul 29, 2010 at 2:07 PM, vov wrote: > > Why did FileUpload.getClientFileName() return file name in 1.4.8 but it > return all path to file in 1.4.9?? > > E.g. My_File_Name.txt in 1.4.8 > and D

BrowserInfoPage and HelloBrowser on Firefox

2010-07-29 Thread Dirk Forchel
Hello, according to this post (http://apache-wicket.1842946.n4.nabble.com/Overloaded-ClientProperties-isJavaEnabled-and-JavaScript-support-detection-td1889053.html#a1889053) I'm wondering whether somebody got some problems with the "java-enabled" property of his browser too. Using IE8 the HelloBro

Re: FileUpload.getClientFileName() 1.4.9 vs 1.4.8

2010-07-29 Thread vov
Yes, but how to fix this problem? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/FileUpload-getClientFileName-1-4-9-vs-1-4-8-tp2306372p2306431.html Sent from the Wicket - User mailing list archive at Nabble.com. --

Re: FileUpload.getClientFileName() 1.4.9 vs 1.4.8

2010-07-29 Thread James Carman
http://commons.apache.org/fileupload/faq.html#whole-path-from-IE On Thu, Jul 29, 2010 at 9:10 AM, vov wrote: > > Yes, but how to fix this problem? > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/FileUpload-getClientFileName-1-4-9-vs-1-4-8-tp2306372p2306431.html

Re: Wicket stuff site

2010-07-29 Thread Martijn Dashorst
Confluence is up and running again... Hoping to upgrade it to 3.3 soon... Martijn On Thu, Jul 29, 2010 at 1:40 PM, Martijn Dashorst wrote: > On Thu, Jul 29, 2010 at 11:32 AM, Martin Grigorov > wrote: >> Confluence is down right now for security reasons. > > Not really: it is down because we ar

Re: FileUpload.getClientFileName() 1.4.9 vs 1.4.8

2010-07-29 Thread vov
Thanks for reply! It's help. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/FileUpload-getClientFileName-1-4-9-vs-1-4-8-tp2306372p2306490.html Sent from the Wicket - User mailing list archive at Nabble.com. ---

Re: Session cookie path

2010-07-29 Thread Pepijn de Geus
Found a (non-Wicket) solution using sun-web.xml: http://markmail.org/message/hi6ecymqdh7gyi4y On 29 jul 2010, at 14:02, Pepijn de Geus wrote: > Hi, > > We're running Wicket 1.4.9 on GlassFish 2.1 behind an Apache server running > on port 80. > In several Apache virtual hosts we use JkMount to

Re: Wicket stuff site

2010-07-29 Thread avrahamr
It was down for a while. Would it be too much to ask for a heads-up next time :-) On Thu, Jul 29, 2010 at 4:50 PM, Martijn Dashorst [via Apache Wicket] < ml-node+2306488-1603966086-293...@n4.nabble.com > wrote: > Confluence is up and running again... Hoping to upgrade it to 3.3 soon... > > Marti

Re: Error "no application attached to current thread main" with AnnotApplicationContextMock

2010-07-29 Thread Igor Vaynberg
what version of wicket? -igor On Thu, Jul 29, 2010 at 1:54 AM, Sam Grönblom wrote: > Getting this error when trying to use AnnotApplicationContextMock. Judging > by the example shown in the latest javadocs: > http://wicketbyexample.com/api/wicket-spring/latest/org/apache/wicket/spring/injection/

Re: Wicket stuff site

2010-07-29 Thread Igor Vaynberg
should we apply for atlassian's hosted solution? they have an oss license http://www.atlassian.com/software/views/opensource-license-request.jsp -igor On Thu, Jul 29, 2010 at 6:49 AM, Martijn Dashorst wrote: > Confluence is up and running again... Hoping to upgrade it to 3.3 soon... > > Martijn

Re: Wicket stuff site

2010-07-29 Thread Martijn Dashorst
On Thu, Jul 29, 2010 at 5:28 PM, Igor Vaynberg wrote: > should we apply for atlassian's hosted solution? they have an oss license > > http://www.atlassian.com/software/views/opensource-license-request.jsp Open source license != hosted solution. They don't provide hosted confluence for open source

Re: Wicket stuff site

2010-07-29 Thread Igor Vaynberg
this says they do: http://www.atlassian.com/hosted/studio/ -igor On Thu, Jul 29, 2010 at 8:33 AM, Martijn Dashorst wrote: > On Thu, Jul 29, 2010 at 5:28 PM, Igor Vaynberg > wrote: >> should we apply for atlassian's hosted solution? they have an oss license >> >> http://www.atlassian.com/softw

Re: Wicket stuff site

2010-07-29 Thread Jeremy Thomerson
Sure, they have a hosted solution, but it doesn't say they have a free OSS hosted solution. :) On Thu, Jul 29, 2010 at 10:35 AM, Igor Vaynberg wrote: > this says they do: > > http://www.atlassian.com/hosted/studio/ > > -igor > > On Thu, Jul 29, 2010 at 8:33 AM, Martijn Dashorst > wrote: > > On

Re: Wicket stuff site

2010-07-29 Thread Igor Vaynberg
jira studio is listed as an option in the first link i pasted -igor On Thu, Jul 29, 2010 at 8:40 AM, Jeremy Thomerson wrote: > Sure, they have a hosted solution, but it doesn't say they have a free OSS > hosted solution.  :) > > On Thu, Jul 29, 2010 at 10:35 AM, Igor Vaynberg > wrote: > >>

WicketTester and Palette component

2010-07-29 Thread loic
Hello, i'm trying to test a form with a Palette component, with WicketTester. I don't know how to make a selection into the palette. I did all the stuff i need to fill the Palette with some values, so it should not be empty. If i do formTester.selectMultiple("myPalette", new int[] {0}); I get

FormComponentPanel Behavior

2010-07-29 Thread bht
Hi, org.apache.wicket.markup.html.form.FormComponentPanel aims to act to the outside world as one component. I want it to behave in a way that it flags missing required input on behalf of its enclosed components. Imagine an input component with 4 fields for a credit card number. If input in an

Re: Wicket and JEE6

2010-07-29 Thread Erik Brakkee
I have done a lot of experimentation at the moment and I am using CDI dependency injection now for a simple wicket project. It is based on the code at utils.wamblee.org (wicket/inject). The issue I am running into is the following. I am creating a detachable entity object which is simply a detacha

Re: FormComponentPanel Behavior

2010-07-29 Thread Pedro Santos
Hi Bernard, did you call setRequired method on your FormComponentPanel input components? like: formComponentPanel.fieldOne.setRequired(true) On Thu, Jul 29, 2010 at 4:33 PM, wrote: > Hi, > > org.apache.wicket.markup.html.form.FormComponentPanel > aims to act to the outside world as one component

DropDownChoice for opening a new Window

2010-07-29 Thread Stefan Lindner
Is it possible to have a DropDownChoice that responds to a new window when selected? What I mean is new DropDownChoice(...) { protected void onSelectionChanged(Integer newSelection) { // Send response to a new open window as if clicket to a Link with

Re: Wicket and JEE6

2010-07-29 Thread Erik Brakkee
On Thu, Jul 29, 2010 at 9:54 PM, Erik Brakkee wrote: > Is there also a callback in wicket to listen for component serialization > and deserialization? > Googling for this it also seems possible to use an aspectj pointcut to do injection at deserialization.

Re: Wicket and JEE6

2010-07-29 Thread James Carman
The problem with using the AspectJ-injected references occurs when you pass your reference to another class (such as a model, for instance). That class may not be instrumented via AspectJ to handle the serialization/deserialization properly for that reference. So, it will fail. On Thu, Jul 29, 2

Re: DropDownChoice for opening a new Window

2010-07-29 Thread Pedro Santos
Yes, use javascript to reach that functionality. For instance, you can add an AjaxFormComponentUpdatingBehavior for the onchange event of your DropDownChoice. At the onUpdate method implementation, you can append the needed javascript to open your new window. On Thu, Jul 29, 2010 at 4:58 PM, Stefa

RE: DropDownChoice for opening a new Window

2010-07-29 Thread Stefan Lindner
Dear Pedro, thank you! Do you have any code snipplet or just a function name for google? Stefan -Ursprüngliche Nachricht- Von: Pedro Santos [mailto:pedros...@gmail.com] Gesendet: Donnerstag, 29. Juli 2010 22:21 An: users@wicket.apache.org Betreff: Re: DropDownChoice for opening a new Wi

Re: DropDownChoice for opening a new Window

2010-07-29 Thread Pedro Santos
The first javascript api that comes to my mind is the onclick method, you can add on your page an Link component, with all PopupSettings of your need. Then you send to browser some javascript like: Wicket.$('linkmarkupid').onclick On Thu, Jul 29, 2010 at 5:23 PM, Stefan Lindner wrote: > Dear Ped

RE: DropDownChoice for opening a new Window

2010-07-29 Thread Stefan Lindner
Thank you once again. I ended up with wantOnChangeNotification true and modify the onclick script from onchange="window.location.href='?wicket. to onchange="window.open('?wicket. If anyone else ever needs this toos. Stefan. -Ursprüngliche Nachricht-

Re: Wicket and JEE6

2010-07-29 Thread Erik Brakkee
On Thu, Jul 29, 2010 at 10:18 PM, James Carman wrote: > The problem with using the AspectJ-injected references occurs when you > pass your reference to another class (such as a model, for instance). > That class may not be instrumented via AspectJ to handle the > serialization/deserialization prop

Localizer in a new Thread

2010-07-29 Thread Warren Bell
I want to take advantage of Wicket's message localization in a new thread I have created. I am trying to pass the localizer to a thread that runs background tasks. I am geting an "org.apache.wicket.WicketRuntimeException: There is no application attached to current thread...". I am sure I am going

Question about embedded labels

2010-07-29 Thread jverstry
Hi, In the body of an HTML, I have something like this: Embedded content to be added I have created a label to be able to modify the content of 'class' as following: public class MyDivLabel extends Label { ... @Override protected void onComponentTag(ComponentTag tag) {

Re: Question about embedded labels

2010-07-29 Thread Jeremy Thomerson
You don't need a label for this. Instead, do this (leave your HTML the same): WebMarkupContainer mydiv = new WebMarkupContainer("MyDiv"); mydiv.add(new AttributeModifier("class", true, "the-class-name")); add(mydiv); On Thu, Jul 29, 2010 at 6:07 PM, jverstry wrote: > > Hi, > > In the body of a

Re: Question about embedded labels

2010-07-29 Thread jverstry
I just tried to add your code in my code: WebMarkupContainer mydiv = new WebMarkupContainer("MyDiv"); mydiv.add(new AttributeModifier("class", true, "the-class-name")); add(mydiv); but it won't compile because the "the-class-name" parameter cannot be a string. I checked the doc and saw that it

Re: Question about embedded labels

2010-07-29 Thread Scott Swank
You can just use: new AttributeModifier("class", true, Model.of("the-class-name")); On Thu, Jul 29, 2010 at 4:57 PM, jverstry wrote: > > I just tried to add your code in my code: > > WebMarkupContainer mydiv = new WebMarkupContainer("MyDiv"); > mydiv.add(new AttributeModifier("class", true, "the

Re: Question about embedded labels

2010-07-29 Thread Jeremy Thomerson
Why don't they have compilers and code autocompletion in gmail? On Thu, Jul 29, 2010 at 7:01 PM, Scott Swank wrote: > You can just use: > > new AttributeModifier("class", true, Model.of("the-class-name")); > > On Thu, Jul 29, 2010 at 4:57 PM, jverstry wrote: > > > > I just tried to add your cod

Re: Question about embedded labels

2010-07-29 Thread Jeremy Thomerson
new Model("the-class-name") On Thu, Jul 29, 2010 at 6:57 PM, jverstry wrote: > > I just tried to add your code in my code: > > WebMarkupContainer mydiv = new WebMarkupContainer("MyDiv"); > mydiv.add(new AttributeModifier("class", true, "the-class-name")); > add(mydiv); > > but it won't compile b

Re: Question about embedded labels

2010-07-29 Thread jverstry
Ok, it compiles. Thanks. Just one last question about the usage of WebMarkupContainer, because this is new to me. If I create a WebMarkupContainer, will it automatically 'attach' itself to the provided html tag using the provided wicket id no matter the type of the HTML tag? Can I use it to acce

Re: Question about embedded labels

2010-07-29 Thread Jeremy Thomerson
On Thu, Jul 29, 2010 at 7:13 PM, jverstry wrote: > > Ok, it compiles. Thanks. > > Just one last question about the usage of WebMarkupContainer, because this > is new to me. > > If I create a WebMarkupContainer, will it automatically 'attach' itself to > the provided html tag using the provided wi

RE: Localizer in a new Thread

2010-07-29 Thread Warren Bell
To clarify, I want to use Localizer#getString(...) in a thraed I create. I have seen other posts on this issue, but haven't been able to figure out the solution. Warren -Original Message- From: Warren Bell [mailto:warr...@clarksnutrition.com] Sent: Thursday, July 29, 2010 3:31 PM To: us

SV: Localizer in a new Thread

2010-07-29 Thread Wilhelmsen Tor Iver
> To clarify, I want to use Localizer#getString(...) in a thraed I > create. > I have seen other posts on this issue, but haven't been able to figure > out the solution. The Localizer.getString() looks for its messages in Wicket's property file structure, which depends on Application, the resourc