Panel's "read more" link

2008-11-24 Thread Anton Veretennikov
Hi, I want to make a "read more" link that will make visible initially hidden label. Running debugger I found that my Panel's constructor is called every time I click this link. So it again invisible. What is wrong? public class ReadMoreWicketPanel extends WicketPanel { private Label moreTextLa

SOLUTION:Hibernate Lazy initialazation issues and multi page wizard!

2008-11-24 Thread Nino Saturnino Martinez Vazquez Wael
Hi Guys I've been having a little trouble with hibernate and a multipage wizard, I finally cracked the nut. And heres my solution: In the link that refers to the wizard use a loadable detachable model.. Onclick you initialize all proper collections and CLONE the object, after the wizard are

Re: wicket, mootips and a NoSuchMethodError

2008-11-24 Thread Nino Saturnino Martinez Vazquez Wael
Hi Ricard As is now, mootips are compiled against wicket 1.4 and thus incompatible with the 1.3 branch. So you are completely correct. But it should be somewhat easy to make it compile against 1.3.. regards Nino rvieregge wrote: A newbie needs some help here... I've an existing application

Re: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-24 Thread Marat Radchenko
[X] YES 2008/11/24 Jeremy Thomerson <[EMAIL PROTECTED]>: > Hello everyone, > I would like to get your opinion on an idea regarding the Wicket Stuff > project(s). As you are familiar with, Wicket Stuff is where anyone can > create anything related to Wicket, small or large. One problem that new

Re: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-24 Thread Per Ejeklint
[X] - YES - I would like to see at least the most used Wicket Stuff projects structured so that they mirror Wicket, and a release is produced for each Wicket release. -- View this message in context: http://www.nabble.com/-VOTE--Organizing-Wicket-Stuff---Regular-Release-Schedule--tp20666510p20

Re: Odd number of page parameters - why IllegalStateException ?

2008-11-24 Thread Stefan Simik
oki, thx https://issues.apache.org/jira/browse/WICKET-1957 igor.vaynberg wrote: > > we can return a 404 instead i suppose. create a jira issue. > > -igor > > On Mon, Nov 24, 2008 at 2:25 PM, Stefan Simik <[EMAIL PROTECTED]> > wrote: >> >> Hi all, >> >> I would like to ask, >> why the default

wicket, mootips and a NoSuchMethodError

2008-11-24 Thread rvieregge
A newbie needs some help here... I've an existing application that uses wicket 1.3.5, and I've tried to add a simple (non-ajax) tooltip using mootips from wicketstuff-minis-1.4-SNAPSHOT. Here's my code: Label projectLabel = new Label("projectName", projectStatus.getProjectAssignment().getProject

Re: Odd number of page parameters - why IllegalStateException ?

2008-11-24 Thread Igor Vaynberg
we can return a 404 instead i suppose. create a jira issue. -igor On Mon, Nov 24, 2008 at 2:25 PM, Stefan Simik <[EMAIL PROTECTED]> wrote: > > Hi all, > > I would like to ask, > why the default URL strategy throws IllegalStateException, when there is odd > number of parameters ? > > We have a pro

ImageButton - always stateful ?

2008-11-24 Thread Stefan Simik
Hi all, I would like to ask, why ImageButton is stateful ? THE CODE IN ImageButton --- protected boolean getStatelessHint() { return getImageResource() == null && localizedImageResource.isStateless(); } The method #getImageResource() r

quit email list

2008-11-24 Thread fish3934
Dear All, I would like to quit this email list temporarily. I try to send email to [EMAIL PROTECTED] , but failed. Can anyone tell me how I can quit email list? Best regards, - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Proper place to post questions about Wicket in Action examples?

2008-11-24 Thread James Carman
I'd say this forum is fine for questions about WIA. Most of us are quite familiar with the book. On Mon, Nov 24, 2008 at 5:42 PM, Susan Liebeskind <[EMAIL PROTECTED]> wrote: > Should I be posting on the Wicket in Action forum on the Manning Publishing > website? That forum doesn't look very activ

Re: Labelling/standard layout for form components.

2008-11-24 Thread James Carman
It's Apache 2 licensed. I'll try to update the header soon. If the pom.xml file doesn't have it, then I'll add it there too On Mon, Nov 24, 2008 at 5:30 PM, Ned Collyer <[EMAIL PROTECTED]> wrote: > > Great :) I might hit you up on that sometime soon. I think everyone has > deadlines looming -

Proper place to post questions about Wicket in Action examples?

2008-11-24 Thread Susan Liebeskind
Should I be posting on the Wicket in Action forum on the Manning Publishing website? That forum doesn't look very active. Or should I post them on this site which receives many more eyeballs? I have noticed a problem with the back button in the Cheesr example (appears in the version I built for

Re: Labelling/standard layout for form components.

2008-11-24 Thread Ned Collyer
Great :) I might hit you up on that sometime soon. I think everyone has deadlines looming - its the nature of IT. What is the license? I see 3 mentions of Apache in the form classes, but thats about it. Rgds Ned jwcarman wrote: > > By the way, you're more than welcome to help out with wick

Odd number of page parameters - why IllegalStateException ?

2008-11-24 Thread Stefan Simik
Hi all, I would like to ask, why the default URL strategy throws IllegalStateException, when there is odd number of parameters ? We have a problem with this way handling, because our users rewrite URLs manually (we cannot prevent users from doing this). Our pages are stateless and they don't u

Re: DateTimeField and java.util.Calendar

2008-11-24 Thread Jeremy Thomerson
Yes - this would be a perfect time for a nested model - write a generic model that implements IModel and takes an IModel as its input. See http://www.jeremythomerson.com/blog/2008/11/06/wicket-the-power-of-nested-models/ for assistance with the rest. -- Jeremy Thomerson http://www.wickettraining

Re: DateTimeField and java.util.Calendar

2008-11-24 Thread Igor Vaynberg
write a model that converts to and from. -igor On Mon, Nov 24, 2008 at 12:30 PM, Eduardo Simioni <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm trying to use the DateTimeField from the wicket-datetime project. But I > realized that it's stuck to java.util.Date, all my entities use > java.util.Calen

DateTimeField and java.util.Calendar

2008-11-24 Thread Eduardo Simioni
Hi all, I'm trying to use the DateTimeField from the wicket-datetime project. But I realized that it's stuck to java.util.Date, all my entities use java.util.Calendar to store dates. So the question is: Is there a clean way to work with DateTimeField and java.util.Calendar "targets"? I tried to fi

Re: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-24 Thread Ryan McKinley
[X ] - YES - I would like to see at least the most used Wicket Stuff projects structured so that they mirror Wicket, and a release is produced for each Wicket release. - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: ics-wicket-examples: beginner wicket examples available

2008-11-24 Thread Eelco Hillenius
Hi Philip, Really great to see our work being put to good use! Thanks! Eelco On Sun, Nov 23, 2008 at 10:03 AM, PhilipJohnson <[EMAIL PROTECTED]> wrote: > > Greetings all, > > I teach software engineering and I've assigned a simple webapp using Wicket > to my students this semester. To help them

RE: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-24 Thread Hoover, William
[X] - YES - I would like to see at least the most used Wicket Stuff projects structured so that they mirror Wicket, and a release is produced for each Wicket release. This should be a no-brainer ;o) -Original Message- From: Jeremy Thomerson [mailto:[EMAIL PROTECTED] Sent: Monday, Novembe

Re: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-24 Thread Nino Saturnino Martinez Vazquez Wael
[ X ] - YES - I would like to see at least the most used Wicket Stuff projects structured so that they mirror Wicket, and a release is produced for each But I also believe this is how it are today sort of anyway not so strict, but cool with me.. Igor did a branch when the initial release of 1-4

Re: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-24 Thread James Carman
[X] YES On Mon, Nov 24, 2008 at 1:13 PM, Jeremy Thomerson <[EMAIL PROTECTED]> wrote: > Hello everyone, > I would like to get your opinion on an idea regarding the Wicket Stuff > project(s). As you are familiar with, Wicket Stuff is where anyone can > create anything related to Wicket, small or l

RES: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-24 Thread Bruno Cesar Borges
[X] - YES - and let be Igor the one controlling all releases. :-) -Mensagem original- De: Jeremy Thomerson [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 24 de novembro de 2008 16:13 Para: users@wicket.apache.org; Wicket Development Assunto: [VOTE] Organizing Wicket Stuff

Re: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-24 Thread Nino Saturnino Martinez Vazquez Wael
Argh that should have been = "igor did a release prior to the 1.4 initial release, called 1.3 or something.." Nino Saturnino Martinez Vazquez Wael wrote: [ X ] - YES - I would like to see at least the most used Wicket Stuff projects structured so that they mirror Wicket, and a release is prod

Re: [VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-24 Thread Francisco Diaz Trepat - gmail
[X] - YES - I would like to see at least the most used Wicket Stuff projects structured so that they mirror Wicket, and a release is produced for each Wicket release. On Mon, Nov 24, 2008 at 3:13 PM, Jeremy Thomerson <[EMAIL PROTECTED] > wrote: > Hello everyone, > I would like to get your opinio

[VOTE] Organizing Wicket Stuff / Regular Release Schedule?

2008-11-24 Thread Jeremy Thomerson
Hello everyone, I would like to get your opinion on an idea regarding the Wicket Stuff project(s). As you are familiar with, Wicket Stuff is where anyone can create anything related to Wicket, small or large. One problem that new users of Wicket (and us "old" users) come across is that there is

Re: Display two modal windows in one request

2008-11-24 Thread Per Newgro
On Monday 24 November 2008 15:20:11 Martin Sachs wrote: > Hi, > > we have had the same issue. We are solving this Problem with a little > workaround in the Wicket-Source. > > We also created a ticket with our solution for this problem. > > https://issues.apache.org/jira/browse/WICKET-1771 > > The p

Re: Problem with Crypted URL

2008-11-24 Thread francisco treacy
johan, i'm not sure i understand correctly. you mean that it should have been in 1.4-rc1 but it is not? so i could expect this to be fixed in 1.4-rc2 or 1.4 final? francisco On Mon, Nov 24, 2008 at 5:22 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > hmm weird, wasnt merged yet with 4.1 > thou

Re: ajax busy indicator never stops in IE

2008-11-24 Thread Karol Wiszowaty
The problem is in wicket-ajax.js file. In 1.4-rc1 it is line #1448: if (typeof(id) == "string" && id.length > 0) { Change it to: if ((typeof(id) == "String" || typeof(id) == "string") && id.length > 0) { and it all works. Cheers! miro wrote: > > My page has IndicatingAjaxLinkWhen user cli

Re: Set the HTML id programmatically

2008-11-24 Thread Martin Letendre
Works fine: thank you ! igor.vaynberg wrote: > > also need to call setoutputmarkupid(true) > > -igor > > On Fri, Nov 21, 2008 at 12:08 PM, Martin Letendre > <[EMAIL PROTECTED]> wrote: >> >> I am usign this version of Wicket: 1.3.5 >> >> 1- I would like to override an id for a TextArea program

Re: Problem with Crypted URL

2008-11-24 Thread Johan Compagner
hmm weird, wasnt merged yet with 4.1 thought i did that with the big merge. On Mon, Nov 24, 2008 at 10:57 AM, francisco treacy < [EMAIL PROTECTED]> wrote: > i updated to rc1 i'm still getting stacktraces in logs with > CryptedUrlWebRequestCodingStrategy > > > ERROR 2008-11-23 13:52:17,964 [http-8

SV: page refresh cleans my page state

2008-11-24 Thread Singh Mukesh
Hi I have gone through the HybridUrlCodingStrategy. The HybridUrlCodingStrategy is working porperly in WebApplication but not in portal environment. In WebApplication it retain the page state but not in portal environment. Please suggest what should I do in portal environment. Thanks in advan

Re: Make FeedbackMessages#add(FeedbackMessage) public?

2008-11-24 Thread Matthew Hanlon
That's great. Thanks. Regards, Matthew. On Sat, Nov 22, 2008 at 12:47 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > it is now public. > > as far as tweaking this further, we already have this on the wishlist > for 1.5 but for 1.4 we do not want to break the api too much. > > -igor > > On Fri, N

Re: Panel as instance variable of parent ?

2008-11-24 Thread Thies Edeling
Thanks! I was more worried about preventing garbage collection etc. But I guess that when a component is loaded in memory all of it's children should be as well so any reference is valid. Martijn Dashorst wrote: unless you have a clear indication that keeping the reference is causing you pain,

Re: Panel as instance variable of parent ?

2008-11-24 Thread Martijn Dashorst
unless you have a clear indication that keeping the reference is causing you pain, I should not worry about it. A reference takes up 4 bytes iirc, so if you have 1024 of them in your app instance, that will take a 4kb hit. Now that is nothing to worry about. Here's a histogram snapshot (jmap -hist

Re: Display two modal windows in one request

2008-11-24 Thread Martin Sachs
Hi, we have had the same issue. We are solving this Problem with a little workaround in the Wicket-Source. We also created a ticket with our solution for this problem. https://issues.apache.org/jira/browse/WICKET-1771 The problem was, that the close would be excecuted in Javascript with a ti

For Wicket 1.4rc1: safe to replace Wicket in Action copy of AjaxEditableLabel with wicket-extensions equiv?

2008-11-24 Thread Susan Liebeskind
I see that the wicket-extensions project. in the Wicket 1.4rc1 trunk, contains a version of the AjaxEditableLabel class. This class had been cleaned up for use in Wicket 1.4-rc1 w/r/t generics and a number of bug fixes. Wicket in Action 0.9 contains a class with the same name, which doesn't c

Panel as instance variable of parent ?

2008-11-24 Thread Thies Edeling
Hi all, I was wondering what the best aproach is, memory-wise, to reference a panel from it's parent (or other compent). Either keep a reference to a panel as an instance variable in it's parent or look it up in the hierarchy using get(path). The look up in the hierarchy is more brittle but

Re: Running wicketstuff examples

2008-11-24 Thread Nino Saturnino Martinez Vazquez Wael
yup, I believe that most of the projects are setup like this.. Jeremy Thomerson wrote: You can just do mvn jetty:run from that folder and it will run (just verified). You will need to do a "mvn clean install" in the wicket-contrib-accordians folder first. On Sun, Nov 23, 2008 at 1:06 PM, Eyal

Create custom UrlCodingStrategy

2008-11-24 Thread Mathias P.W Nilsson
Hi, I need some info in how to create my own UrlCodingStrategy This is the preconditions. I have a database with 20 - 100 customers that needs to access this application. Every customer has it's own properties files and css variation. What I want is that let's say Edgesoft wants to use the appl

Re: Help, why the loginpage has the whole package name?

2008-11-24 Thread jWeekend
http://cwiki.apache.org/WICKET/url-coding-strategies.html http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-annotation Regards - Cemal http://www.jWeekend.co.uk http://jWeekend.co.uk wch2001 wrote: > > > sorry, Martjin, > > Can u tell me more clear? > > change the mountBookm

Re: Labelling/standard layout for form components.

2008-11-24 Thread James Carman
By the way, you're more than welcome to help out with wicketopia if you want. Nino and I are working on it thus far. I've just not had much time to do anything with it. Our project at work is releasing very soon, so it's crunch time! :) On Sun, Nov 23, 2008 at 11:00 PM, Ned Collyer <[EMAIL PROT

Re: Wicket JavaDoc - plz publish

2008-11-24 Thread Susan Liebeskind
Ayodeji Aladejebi wrote: If you have netbeans plugin for maven, you can generate the latest Javadoc yourself from netbeans. Just right-click in netbeans and select "generate Javadoc" and dats all If you use Eclipse, there is a similar facility, assuming you use Sonatype's M2Eclipse plugin, a

Re: underscores in java package name doesn't work

2008-11-24 Thread Steve Swinsburg
I'm using underscores in my package names and it works fine, Wicket 1.3.5 Java 1.5.0_16, Tomcat 5.5. Could be an issue introduced with Java 6/Tomcat 6? cheers, Steve --- Steve Swinsburg Portal Systems Developer Centre for e-Science Lancaster University Lancaster LA1 4YT email: [EMAIL PROT

Re: datatable and access to toolbars

2008-11-24 Thread Eyal Golan
Alex, I think you can still use the DataTable provided by Wicket. Why not make a toolbar as a member of the table, add it, and then you'll get all the access you need? Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree

Re: Problem with Crypted URL

2008-11-24 Thread francisco treacy
i updated to rc1 i'm still getting stacktraces in logs with CryptedUrlWebRequestCodingStrategy ERROR 2008-11-23 13:52:17,964 [http-8080-Processor25] Invalid URL: ?x=5M5HhZnN1b1LpMPMBO5Pmr*YBxchBZCmSdUDJCdEYzUOOBDF1Zr0DA org.apache.wicket.WicketRuntimeException: Unable to decrypt the text '??G

Re: Field value null on Submit after onUpdate()

2008-11-24 Thread kerim bey
I debuged some more and realized that only the TextInput ModelObject is null! Althougt it was not null after filling in a Value (call of onUpdate() of the TextInput) Pleas help me someone. This is driving me nuts. kerim bey wrote: > > Hi, Everyone! > > I wrote this Ajax Event Handler for a Au

Re: Wicket JavaDoc - plz publish

2008-11-24 Thread Ned Collyer
I would have some idea ... I'm using that plugin.. maven plugins have issues.. :) i think it stems from the lack of standard approach of writing the plugins, and even then - if you check the maven generated sites, so many pages can be unintentionally left blank!! The documentation on them is gene

Re: Help, why the loginpage has the whole package name?

2008-11-24 Thread Ayodeji Aladejebi
do a little more research on the wicket wiki site, there are plenty examples on this On Mon, Nov 24, 2008 at 8:04 AM, wch2001 <[EMAIL PROTECTED]> wrote: > > > sorry, Martjin, > > Can u tell me more clear? > > change the mountBookmarkablePage? > > > thanks > > > Martijn Dashorst wrote: > > > > Mou

Re: Wicket JavaDoc - plz publish

2008-11-24 Thread Ayodeji Aladejebi
If you have netbeans plugin for maven, you can generate the latest Javadoc yourself from netbeans. Just right-click in netbeans and select "generate Javadoc" and dats all On Mon, Nov 24, 2008 at 7:40 AM, Martijn Dashorst < [EMAIL PROTECTED]> wrote: > Like I said in my blog post I won't be publish

Re: Help, why the loginpage has the whole package name?

2008-11-24 Thread wch2001
sorry, Martjin, Can u tell me more clear? change the mountBookmarkablePage? thanks Martijn Dashorst wrote: > > Mount your page with one of the URL coding strategies. 1000 examples > on the list or wiki. > > Martijn > > On 11/24/08, wch2001 <[EMAIL PROTECTED]> wrote: >> >> Dear all, >> >>