Re: problems with stateless forms and radiogroups/checkgroups

2008-04-16 Thread Johan Compagner
Make a jira issue for this On 4/16/08, Alexei Sokolov [EMAIL PROTECTED] wrote: Hello, I'm trying to use radiogroup/checkgroup with stateless form, and it is not possible at the moment. I get the following exception: submitted http post value [radio4] for RadioGroup component

Re: Dynamic Creation of a button using style

2008-04-16 Thread Eyal Golan
I have a better solution. I am attaching the filed with the new solution. I now use three images - left, right and middle. I force the user to use button... in the markup. I create an inner table inside the button. Note: I could use a behavior but just for easier presentation, I did not :)

Re: problem with menu

2008-04-16 Thread Nino Saturnino Martinez Vazquez Wael
You can do it like this(pseudo): html(parent): div div -- Header /div divulli wicket:id=listviewa href=# wicket:id=myLink /li/ul /div div-- footer --/div /div wicket:child/ java: parentPage extends page... private List menuItems; protected const String linkId=myLink public void

Re: Notification on session destroyed?

2008-04-16 Thread Nino Saturnino Martinez Vazquez Wael
So what do you think? Im not sure how common a case this is ? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hmm, that feels a bit hacky.. Then I'll need to implement a way of tracking sessions, and I saw something about keeping references to destroyed sessions arent that great.

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-16 Thread StephenP
Has a JIRA issue been created to track this fix? Thanks, Stephen Yes, it seems to be an error in Wicket. Johan says it should be fixed it in the latest shapshot version, but I have not tried it yet. But I will probably keep the workaround code as an extra protection. Niels Anything new

Re: Notification on session destroyed?

2008-04-16 Thread sander v F
You could also use a HttpSessionListener for knowing when a session is destroyed. The problem is indeed that you can't get the attributes when the session is invalidated, but you can get the sessionId. So you could use a Map to register the session id with the Pojo you would like to update. So

Re: Notification on session destroyed?

2008-04-16 Thread sander v F
Example: public class PojoUpdater implements HttpSessionListener { private static MapString, Object pojos = new HashMapString, Object(); public void sessionCreated(HttpSessionEvent se) { //do nothing } public void sessionDestroyed(HttpSessionEvent se) {

Re: Notification on session destroyed?

2008-04-16 Thread Nino Saturnino Martinez Vazquez Wael
Thanks for the example.. I just think it feels very weird to go around wicket in order to achieve this, because the pojo I have are already attached to the wicket session(so I would have double overhead for this). However it could be the case that it's not simply possible from withing wicket.

Re: Notification on session destroyed?

2008-04-16 Thread jweekend
Using Object#finalize() for this type of thing is generally NOT a good idea; it may get called much later than you would expect, if at all. Regards - Cemal http://jWeekend.co.uk Nino.Martinez wrote: Thanks for the example.. I just think it feels very weird to go around wicket in order to

Re: Notification on session destroyed?

2008-04-16 Thread Nino Saturnino Martinez Vazquez Wael
I know(hopefully session object should be GC'ed at some time), it really bothers me that it's such an hard thing todo, being aware of session state... So I just wanted an easy way. jweekend wrote: Using Object#finalize() for this type of thing is generally NOT a good idea; it may get called

Re: Notification on session destroyed?

2008-04-16 Thread Nino Saturnino Martinez Vazquez Wael
But I guess there are no easy way todo this one..:/ Nino Saturnino Martinez Vazquez Wael wrote: I know(hopefully session object should be GC'ed at some time), it really bothers me that it's such an hard thing todo, being aware of session state... So I just wanted an easy way. jweekend wrote:

Re: Wicket + CMS

2008-04-16 Thread StephenP
Our project has tied in HippoCMS for pulling a portion of content into wicket pages. I don't have many details to hand but it wasn't too hard. Hippo has a xml over http interface that we use to cache content, before putting the xml elements into wicket models. We are using hippo version 6, but

Updating the wicket stuff wicket-contrib-tinymce with the latest version of tinyMCE

2008-04-16 Thread wicket user
Hi, Can we please update the wicket-contrib-tinymce project to use the latest version of tinyMCE. I would like to use the HTML Source Editor Syntax Highlighting Word Wrap using CodeMirror mentioned in this thread http://tinymce.moxiecode.com/punbb/viewtopic.php?pid=31049#p31049 I grabbed the

Re: Updating the wicket stuff wicket-contrib-tinymce with the latest version of tinyMCE

2008-04-16 Thread wicket user
i am more than willing to do it if i have the permission to do it. regards -dipu 2008/4/16 Uwe Schäfer [EMAIL PROTECTED]: wicket user schrieb: Can we please update the wicket-contrib-tinymce project to use the latest version of tinyMCE. +1 I grabbed the wicket-contrib-tinymce

possible html parsing bug?

2008-04-16 Thread dvd
Hi: It took me a while to find out why my iframe was not displaying properly. I have a parent/container page like ?xml version=1.0 encoding=UTF-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html

Re: Updating the wicket stuff wicket-contrib-tinymce with the latest version of tinyMCE

2008-04-16 Thread Uwe Schäfer
wicket user schrieb: Can we please update the wicket-contrib-tinymce project to use the latest version of tinyMCE. +1 I grabbed the wicket-contrib-tinymce from the svn and updated the tinyMCE files and made the changes as mentioned in the thread and it worked for me like a charm i´m

Re: best strategy to add toolbar

2008-04-16 Thread Eyal Golan
hhhmmm .. as simple as that :) On Wed, Apr 16, 2008 at 10:13 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: afaik toolbars are panels, so just override isvisible() on the toolbar -igor On Tue, Apr 15, 2008 at 10:52 PM, Eyal Golan [EMAIL PROTECTED] wrote: Hi, I have a toolbar that I want

SV: Wicket portles in Sun Portal

2008-04-16 Thread Wilhelmsen Tor Iver
For b) I hope to get started on that ASAP. Excellent news! :) (Since this is so significant for us I might have a go at adding the support later this week if I can wrap my head around the source and API docs... testing for the presence of the Portlet 2.0 API as you mentioned is probably the

Re: problem with menu

2008-04-16 Thread Mathias P.W Nilsson
Thanks alot. It worked now. inspired by suckerFishPanel this is what I came up with class NavigationMenuItem{ public static final String LINK_ID = link; private final AbstractLink link; private final Label label;

Re: Wicket + CMS

2008-04-16 Thread Martin Funk
Is that the same one you were talking about here: http://www.nabble.com/wicket-%2B-CMS-to14895305.html#a14913697 If so, what happened to the the versioning/tagging for free? mf 2008/4/15, Igor Vaynberg [EMAIL PROTECTED]: the cms matej and i are working on will be opened shortly after may

Re: problem with menu

2008-04-16 Thread Nino Saturnino Martinez Vazquez Wael
Mathias P.W Nilsson wrote: Thanks alot. It worked now. inspired by suckerFishPanel this is what I came up with No problem..:) class NavigationMenuItem{ public static final String LINK_ID = link; private final AbstractLink

WicketTester table testing question

2008-04-16 Thread Michael Perkonigg
Hello, I am filling a table (it's a list of links) with some data with help of a Panel but all of the rows have the same wicket:id. Is there a way to test if there is my value in one of the rows? Thanks, Mike - To

good WicketTester info page?

2008-04-16 Thread Michael Perkonigg
Hello, is there a page explaining what one can do with the WicketTester and how? And yes, I already read http://cwiki.apache.org/WICKET/testing-pages.html it's just not very clear what can be done and, more important, cannot be done. Thanks, Mike

Re: WicketTester table testing question

2008-04-16 Thread Frank Bille
try tester.debugComponentTrees to see the components on your page. This can help you to get the components out you want to test. Frank On Wed, Apr 16, 2008 at 2:33 PM, Michael Perkonigg [EMAIL PROTECTED] wrote: Hello, I am filling a table (it's a list of links) with some data with help of a

Re: Can only locate or create session in the context of a request cycle.

2008-04-16 Thread Alex Jacoby
Would subclassing your wicket RequestCycle work? That's where I'm doing similar authentication stuff right now and it seems to be working well. It seems like Session is harder to integrate with external apps since actions can happen that it's unaware of. If you use RequestCycle you can

WicketTester.startPage(page) throws No requestCycle is currently set

2008-04-16 Thread Federico Fanton
Hi to all, I'm receiving a strange message with WicketTester in 1.3.3.. Whenever I use startPage(Page) I get a No requestcycle is currently set! logged.. To reproduce, just use a QuickStart with a completely static Homepage.html (no wicket:id's) and an empty Homepage.class (just a Homepage

WicketTester clickLink question

2008-04-16 Thread Michael Perkonigg
Hello, I read http://cwiki.apache.org/WICKET/adding-links-in-a-defaultdatatable.html and I wonder if it is possible to WicketTester.clickLink one of these links described in the wiki. I need a path to the component but it seems to me that some parts of the table surrounding the link don't

Re: good WicketTester info page?

2008-04-16 Thread lars vonk
I would advice you to just try it out... that's how I did it. You could use the mvn quickstart archetype tocreate a skeleton project and start testing: mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.3.3

Re: WicketTester.startPage(page) throws No requestCycle is currently set

2008-04-16 Thread Frank Bille
tester.createRequestCycle() (or something). Though I thought it was called for you in startPage. It's good that we will take a look at it for WNG. Frank On Wed, Apr 16, 2008 at 3:28 PM, Federico Fanton [EMAIL PROTECTED] wrote: Hi to all, I'm receiving a strange message with WicketTester in

Page Expire

2008-04-16 Thread xdirewolfx
Hi, I'm using wicket and ext-js in a portlet style loading different wicket pages in. However, I face an issue when user did not touch a particular page for a while, it will get expired. What is the best way to work around this in ajax based web app in wicket? -- View this message in context:

Problems with Palette

2008-04-16 Thread Fabien D.
Hi everybody, I have two problems with the Palette. The first one is when the user submits the form and there are problems with the other textfield (Validator), the left field for the selection is reseted!! The second problem is when all fields are good and when a try de getBack the list of

Re: good WicketTester info page?

2008-04-16 Thread Steve Thompson
Check out Kent Tong's book, in which he has an excellent chapter on testing Wicket pages/forms/components. On Wed, Apr 16, 2008 at 6:40 AM, Michael Perkonigg [EMAIL PROTECTED] wrote: Hello, is there a page explaining what one can do with the WicketTester and how? And yes, I already read

Re: Can I use LazyLoad or something like it with a modal?

2008-04-16 Thread Gerolf Seitz
take a look at AjaxLazyLoadPanel. this might do the trick. Gerolf On Wed, Apr 16, 2008 at 4:52 PM, taygolf [EMAIL PROTECTED] wrote: Ok here is my issue. I have a modal that has a lot of information in it and it has to get back a large amount of data from the database and it is taking

Re: good WicketTester info page?

2008-04-16 Thread Michael Perkonigg
lars vonk wrote: I would advice you to just try it out... that's how I did it. You could use the mvn quickstart archetype tocreate a skeleton project and start testing: mvn archetype:create -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart

Shared tab component across pages

2008-04-16 Thread byhisdeeds
I'm new to wicket and would greatly appreciate for someone to point me in the right direction. I have an existing web application implemented using jsp's that I'm trying to convert to wicket, where each page has a header section, body section and footer section. The header section has a main tab

Can I use LazyLoad or something like it with a modal?

2008-04-16 Thread taygolf
Ok here is my issue. I have a modal that has a lot of information in it and it has to get back a large amount of data from the database and it is taking about 4 seconds to load because of all the data. I wish I was allowed to fliter the data more so there was not so much information but I do not

RE: Notification on session destroyed?

2008-04-16 Thread Warren
What is wrong with extending HttpSessionStore and overiding AbstractHttpSessionStore#onBind(Request request, Session newSession) and AbstractHttpSessionStore#onUnbind(java.lang.String sessionId)? These two methods look like they are there to do exactly what you are talking about. Docs on onUnbind

Re: Notification on session destroyed?

2008-04-16 Thread Johan Compagner
Let your own wicket session object implement session bind listener (dont know the excact name) then you have those lifecycle events on your wicket session object itself. By the way only in newer servlet specs that you can call getID() on the httpsession that was also not allowed for quite a

Re: problems with stateless forms and radiogroups/checkgroups

2008-04-16 Thread Alexei Sokolov
Done. https://issues.apache.org/jira/browse/WICKET-1545 Alex On Tue, Apr 15, 2008 at 11:19 PM, Johan Compagner [EMAIL PROTECTED] wrote: Make a jira issue for this On 4/16/08, Alexei Sokolov [EMAIL PROTECTED] wrote: Hello, I'm trying to use radiogroup/checkgroup with stateless form, and

Re: Page Expire

2008-04-16 Thread Igor Vaynberg
have an ajax behavior on the script that makes a callback every x minutes to keep the session alive -igor On Wed, Apr 16, 2008 at 7:13 AM, xdirewolfx [EMAIL PROTECTED] wrote: Hi, I'm using wicket and ext-js in a portlet style loading different wicket pages in. However, I face an issue

Re: Can I use LazyLoad or something like it with a modal?

2008-04-16 Thread taygolf
That is what I looked at which brought about this question. I guess you are saying that I can use it with a modal? Should I be trying to use it where the modal is created or should I be using it on the page the the modal shows? I am just confused by it. Also is there a way to set the sleep

BookmarkablePageLink linksTo() bug?

2008-04-16 Thread Ritz123
Hi, Just wondering if linksTo(Page) method of BookmarkablePageLink has a bug since it doesnt take into account the Page parameters to check whether the page being linked in the context of parameters, if PageParameters are specified. In theory since Bookmarkable page being a dynamic page will be

Re: Can only locate or create session in the context of a request cycle.

2008-04-16 Thread mfs
Subclassing RequestCycle would give me control on begin/end of the request, i wouldnt still have access to the Wicket Session...right..i am not sure if a wicket session is initiated at that time? If not, a plain servlet filter also gives me control in the beginning of the request, except for the

Re: Shared tab component across pages

2008-04-16 Thread Igor Vaynberg
tabbed panel is meant to be used with panels not with pages. so instead of having each tab be its own page, simply make it each own panel. -igor On Wed, Apr 16, 2008 at 7:53 AM, byhisdeeds [EMAIL PROTECTED] wrote: I'm new to wicket and would greatly appreciate for someone to point me in the

Re: Notification on session destroyed?

2008-04-16 Thread Nino Saturnino Martinez Vazquez Wael
Thanks for giving the pointer.:) Warren wrote: What is wrong with extending HttpSessionStore and overiding AbstractHttpSessionStore#onBind(Request request, Session newSession) and AbstractHttpSessionStore#onUnbind(java.lang.String sessionId)? These two methods look like they are there to do

Re: Wicket + CMS

2008-04-16 Thread Igor Vaynberg
our requirements changed to the point where jcr became a better fit. remember this is driven by my company's requirements, not my own. we are opening it to give back to the community. -igor On Wed, Apr 16, 2008 at 4:50 AM, Martin Funk [EMAIL PROTECTED] wrote: Is that the same one you were

Re: Package resource not found in YUI package

2008-04-16 Thread Per Newgro
Am Dienstag, 15. April 2008 09:27:48 schrieb Fynn: Now I use wicket 1.3.3 and this warnings are still in my log file... in the jar package i can´t find this files Nobody an idea? I added a wish / rfe for this https://issues.apache.org/jira/browse/WICKET-1546 Cheers Per

Re: 1.3, resource locator and properties

2008-04-16 Thread Scott Swank
I have subclassed ComponentStringResourceLoader so that I can drive it from a custom ResourceNameIterator (in particular to look in the right directories). In particular, I just overrode public String loadStringResource(Class clazz, final String key, final Locale locale, final String style)

Re: Notification on session destroyed?

2008-04-16 Thread Nino Saturnino Martinez Vazquez Wael
heres what I ended up with, in application: private HashMapString, Session sessionMap = new HashMapString, Session(); @Override protected ISessionStore newSessionStore() { return new SecondLevelCacheSessionStore(this, new DiskPageStore()) { @Override

Re: Notification on session destroyed?

2008-04-16 Thread Johan Compagner
be aware that keeping references to http session attributes is not always a good thing especially in clustering or restarts of a server (with a nice shutdown, so sessions are saved to disk, then you loose your map) johan On Wed, Apr 16, 2008 at 8:45 PM, Nino Saturnino Martinez Vazquez Wael

Re: Shared tab component across pages

2008-04-16 Thread byhisdeeds
igor.vaynberg wrote: tabbed panel is meant to be used with panels not with pages. so instead of having each tab be its own page, simply make it each own panel. -igor yeah, I get that. But I need to be able to replace the common panel area being set by any of the tabs with content from

Re: possible html parsing bug?

2008-04-16 Thread Matthew Young
public class WicketApplication extends WebApplication { @Override public void init() { this.getMarkupSettings().setStripXmlDeclarationFromOutput(true); } } On Wed, Apr 16, 2008 at 3:06 AM, [EMAIL PROTECTED] wrote: Hi: It took me a while to find out why my iframe was not

Re: warning: [deprecation] AuthenticatedWebSession(AuthenticatedWebApplication,Request)

2008-04-16 Thread Maurice Marrink
Is by any chance this the full exception you are getting? ERROR - RequestCycle - Unable to instantiate web session class org.apache.wicket.examples.authentication.MyAuthenticatedWebSession org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class

Re: 1.3, resource locator and properties

2008-04-16 Thread Scott Swank
Can someone at least verify that my e-mail is getting through to the Wicket list? :) On Wed, Apr 16, 2008 at 11:34 AM, Scott Swank [EMAIL PROTECTED] wrote: I have subclassed ComponentStringResourceLoader so that I can drive it from a custom ResourceNameIterator (in particular to look in the

Re: 1.3, resource locator and properties

2008-04-16 Thread Nino Saturnino Martinez Vazquez Wael
Hi Scott Could you provide a quickstart? I have some time tomorrow... Scott Swank wrote: I have subclassed ComponentStringResourceLoader so that I can drive it from a custom ResourceNameIterator (in particular to look in the right directories). In particular, I just overrode public String

javascript error in internet explorer

2008-04-16 Thread atul singh
Hi, I wanted to know about preCallHandlers in wicket-ajax.js .What are they and How are they related in java code. Actually I am facing a problem in internet explorer. The ajax get call give error after Invoking pre-call handler(s).. It gives an error in the highlighted portion and then all ajax

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-16 Thread Edvin Syse
No, it has not. Johan said he fixed a bug that might have been this problem, but I haven't been able to confirm it yet, as the fix is in 1.3-SNAPSHOT, and I ran into some issues when deploying with the snapshot-version. I see this problem 10-20 times every day still.. -- Edvin StephenP skrev:

Wicket + iText ?

2008-04-16 Thread nanotech
Hi, I have a table displayed in ListView element of wicket and would like to generate a PDF using iText API. Can someone suggest how to get started with this? Thanks, RG -- View this message in context: http://www.nabble.com/Wicket-%2B-iText---tp16733269p16733269.html Sent from the Wicket -

Re: Shared tab component across pages

2008-04-16 Thread Igor Vaynberg
you can replace any panel with any other panel. so maybe instead of modeling your app as pages you can model it as panels -igor On Wed, Apr 16, 2008 at 11:57 AM, byhisdeeds [EMAIL PROTECTED] wrote: igor.vaynberg wrote: tabbed panel is meant to be used with panels not with pages. so

RE: help wanted for wicket autocomplete component

2008-04-16 Thread Patel, Sanjay
Thanks. It helped me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ryan Gravener Sent: Tuesday, April 15, 2008 2:53 PM To: users@wicket.apache.org Subject: Re: help wanted for wicket autocomplete component Set the model object in

Override IE AutoComplete with wicket's AutoCompleteTextField

2008-04-16 Thread ak
Hello, I have implemented wicket AutoCompleteBehavior on TextField. All seems to work fine until I stumbled upon this issue. Example when I type 'A', I see IE's auto complete overlapping my wicket implementation of autocomplete behaviour with previously recorded value(example 'Apple'). However,

Re: Override IE AutoComplete with wicket's AutoCompleteTextField

2008-04-16 Thread Ryan Sonnek
the wicketstuff-scriptaculous project adds an attribute autocomplete='off' to prevent browsers from adding their specific autocomplete suggestions. On Wed, Apr 16, 2008 at 4:10 PM, ak [EMAIL PROTECTED] wrote: Hello, I have implemented wicket AutoCompleteBehavior on TextField. All seems to

Re: Override IE AutoComplete with wicket's AutoCompleteTextField

2008-04-16 Thread Gerolf Seitz
On Wed, Apr 16, 2008 at 11:12 PM, Ryan Sonnek [EMAIL PROTECTED] wrote: the wicketstuff-scriptaculous project adds an attribute autocomplete='off' to prevent browsers from adding their specific autocomplete suggestions. and so does the AutoCompleteTextField Gerolf On Wed, Apr 16, 2008

Wicket div component?

2008-04-16 Thread Michael Mehrle
I need to create a div in my template that is being set to a different css class before it gets drawn. So, a regular non-wicket div HTML tag is out. How can I create a simple div tag without using a wicket panel? (I'm inside a form, so I don't want to use a panel). Thanks, Michael

Re: Wicket div component?

2008-04-16 Thread Vit Rozkovec
You can attach WebMarkupContainer to it. Vitek Michael Mehrle wrote: I need to create a div in my template that is being set to a different css class before it gets drawn. So, a regular non-wicket div HTML tag is out. How can I create a simple div tag without using a wicket panel? (I'm inside

Re: Wicket + iText ?

2008-04-16 Thread Igor Vaynberg
we do that at my company. we have a column subclass that has populatepdf(document, model) as opposed to populateitem(item, model); so we pass the data provider and the set of columns to an export list and it builds the grid. -igor On Wed, Apr 16, 2008 at 1:56 PM, nanotech [EMAIL PROTECTED]

Re: Can only locate or create session in the context of a request cycle.

2008-04-16 Thread Alex Jacoby
Farhan, I figure we should take this back on-list. Messages in chronological order, with my last response at the bottom. On Apr 16, 2008, at 5:06 PM, [EMAIL PROTECTED] wrote: Alex, Wasn't sure how frequent are u in the forum, so thought to mail you directly the reply...As below..

RE: Wicket div component?

2008-04-16 Thread Michael Mehrle
Good idea and it worked! :-) Thanks, I feel silly for not thinking of this myself... note to myself - get more sleep. Michael -Original Message- From: Vit Rozkovec [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 2:36 PM To: users@wicket.apache.org Subject: Re: Wicket div

DataTable and Panel issue

2008-04-16 Thread Ritz123
Hi, I have put DataTable in a panel instead of putting it on the pages directly as shown in the examples. As a result of this iterator() method of the DataProvider is not getting called with first and count updated. I have created bookmarkablepagelinks for the table navigation so its SEO

No get method defined for class

2008-04-16 Thread Bruce McGuire
Hello. I am getting an error that I can't figure out how to track down. The entity in the exception doesn't have, nor has it ever had, a piece of data called 'name'. Nor does there seem to be a place where this is getting instantiated, at least as far as I can tell from the exception trace.

Re: No get method defined for class

2008-04-16 Thread Ritz123
It seems like its related to the choice list box, the values of the options are getting rendered using that class. Do you not have a choice list on the page? if mwh.entity.PoolRole is your class, check if it has name property - if not you probably will have to change the choicerenderer model

Re: Can only locate or create session in the context of a request cycle.

2008-04-16 Thread mfs
Alex Jacoby-2 wrote: Farhan, I figure we should take this back on-list. Messages in chronological order, with my last response at the bottom. On Apr 16, 2008, at 5:06 PM, [EMAIL PROTECTED] wrote: Alex, Wasn't sure how frequent are u in the forum, so thought to mail you

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-16 Thread Ned Collyer
Edvin Syse wrote: No, it has not. Johan said he fixed a bug that might have been this problem, but I haven't been able to confirm it yet, as the fix is in 1.3-SNAPSHOT, and I ran into some issues when deploying with the snapshot-version. I see this problem 10-20 times every day still..

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-04-16 Thread Igor Vaynberg
we dont even know if it is something in wicket that is causing this yet...johan what exactly did you find out? -igor On Wed, Apr 16, 2008 at 4:34 PM, Ned Collyer [EMAIL PROTECTED] wrote: Edvin Syse wrote: No, it has not. Johan said he fixed a bug that might have been this problem,

Re: possible html parsing bug?

2008-04-16 Thread dvd
There is inconsistency here. If both parent.html and child.html have ?xml declared, ?xml would show in the final rendering. But if child.html does not have ?xml declared, the final rendering would not show even though the parent.html has one. Perhaps wicket auto downgrade the page? That would mean

Re: DataTable and Panel issue

2008-04-16 Thread Ritz123
Will appreciate a response or any pointers. Ritz123 wrote: Hi, I have put DataTable in a panel instead of putting it on the pages directly as shown in the examples. As a result of this iterator() method of the DataProvider is not getting called with first and count updated. I have

Re: DataTable and Panel issue

2008-04-16 Thread Nick Heudecker
Can you post any code? Use a (Wicket powered!) pastebin if possible. http://www.papernapkin.org/pastebin/home On Wed, Apr 16, 2008 at 7:41 PM, Ritz123 [EMAIL PROTECTED] wrote: Will appreciate a response or any pointers. Ritz123 wrote: Hi, I have put DataTable in a panel instead

Re: 1.3, resource locator and properties

2008-04-16 Thread Scott Swank
Thank you Nino. I'll send the quickstart directly to you since the list doesn't allow attachments. I'm extracting everything from our sandbox app that you're not interested in. I do have the behavior reproduced there. - Scott On Wed, Apr 16, 2008 at 1:02 PM, Nino Saturnino Martinez Vazquez

Re: Wicket + iText ?

2008-04-16 Thread John Krasnay
Hi RG, You probably want to look at how DataTable in wicket-extensions works. The idea is you set up an array of column objects, each of which knows how to display the data in a particular column, and a data provider, which provides an iterator over the objects represent your rows. The DataTable

Re: Wicket + iText ?

2008-04-16 Thread Ricky
Can someone post some code on this ? (only rough sketch ... nothing elaborate really. Thanks in advance. Rick On Wed, Apr 16, 2008 at 8:54 PM, John Krasnay [EMAIL PROTECTED] wrote: Hi RG, You probably want to look at how DataTable in wicket-extensions works. The idea is you set up an array

Re: DataTable and Panel issue

2008-04-16 Thread Ritz123
Thanks Nick for the response... Posted the code http://www.papernapkin.org/pastebin/view/511/ Let me know if more explanation is needed. Nick Heudecker wrote: Can you post any code? Use a (Wicket powered!) pastebin if possible. http://www.papernapkin.org/pastebin/home On Wed,

How to load applet in wicket while using embedded jetty?

2008-04-16 Thread jianfei
I am trying to load an applet to make it display inside my wicket page. I am using the embedded jetty and I bring up the server by calling this main method: public static void main(String[] args) throws Exception { Server server = new Server(); SocketConnector connector = new

Re: good WicketTester info page?

2008-04-16 Thread Ricky
Hey Mike, http://cwiki.apache.org/WICKET/newuserguide.html#Newuserguide-UnitTest ^^ try that. I tried adding whatever i know (bear in mind, i am new to wicket so my knowledge is limited to whatever i have experienced so far, i hope this helps ). Thanks, Rick On Wed, Apr 16, 2008 at 10:51 AM,

Re: Wicket div component?

2008-04-16 Thread Ricky
Hi, question : you said : (I'm inside a form, so I don't want to use a panel). (it may sound stupid, but had to ask) Why is that ? Rick On Wed, Apr 16, 2008 at 6:09 PM, Michael Mehrle [EMAIL PROTECTED] wrote: Good idea and it worked! :-) Thanks, I feel silly for not thinking of this

Re: Wicket + iText ?

2008-04-16 Thread John Krasnay
It goes something like this. I've left out a bunch of stuff to do with setting column headings, widths, and styles. public interface ReportColumn extends Serializable { public Object getCellValue(IModel rowModel); } public class ExcelReportGenerator implements ReportGenerator { public

AbstractDefaultAjaxBehavior ....shows the ajax indicator even if precondition script returns false.

2008-04-16 Thread atul singh
AbstractDefaultAjaxBehavior shows the ajax indicator even if precondition script returns false. That means no call will be made actually to the server right(And hence no indicator should be shown). I know i can have my own implementation to get this, but i wanted to use IAjaxIndicatorAware Should

Selecting a radio programmatically?

2008-04-16 Thread Michael Mehrle
Simple actually - I need to select a radio in a group programmatically (without user interaction). Is this done via setting the model of the radio to a true Boolean? Michael

Re: DataTable and Panel issue

2008-04-16 Thread Nick Heudecker
Having the DT in the Panel shouldn't impact your paging. It's possible that your service object isn't doing what you think it is. On Wed, Apr 16, 2008 at 8:34 PM, Ritz123 [EMAIL PROTECTED] wrote: Thanks Nick for the response... Posted the code

Re: Wicket + iText ?

2008-04-16 Thread Ricky
that is sweet, thanks, i'll try it out. Appreciate it. :) Rick On Wed, Apr 16, 2008 at 9:50 PM, John Krasnay [EMAIL PROTECTED] wrote: It goes something like this. I've left out a bunch of stuff to do with setting column headings, widths, and styles. public interface ReportColumn extends

Re: Selecting a radio programmatically?

2008-04-16 Thread Nick Heudecker
Radio objects can have values other than boolean. On Wed, Apr 16, 2008 at 8:53 PM, Michael Mehrle [EMAIL PROTECTED] wrote: Simple actually - I need to select a radio in a group programmatically (without user interaction). Is this done via setting the model of the radio to a true Boolean?

Re: AbstractDefaultAjaxBehavior ....shows the ajax indicator even if precondition script returns false.

2008-04-16 Thread Igor Vaynberg
file a bug in jira please -igor On Wed, Apr 16, 2008 at 6:52 PM, atul singh [EMAIL PROTECTED] wrote: AbstractDefaultAjaxBehavior shows the ajax indicator even if precondition script returns false. That means no call will be made actually to the server right(And hence no indicator should be

Re: DataTable and Panel issue

2008-04-16 Thread Ritz123
I have a LOG statement right at the begining of the DataProvider.iterator() method LOG.info(*** iterator first + first + count + count); No matter what page number I pass in - Note its bookmarkable page links for the page navigation - the first is always 0. Nick Heudecker wrote:

How to design tables that support 50-100K rows?

2008-04-16 Thread Philip Johnson
Greetings, wicket experts, I am a newly infatuated wicket developer, and would like to solicit your advice on the best way to design a table that can support up to 100,000 rows. Here are my initial thoughts: * Clearly, I don't want to display all of them at once. I am assuming that I will

Re: How to design tables that support 50-100K rows?

2008-04-16 Thread Igor Vaynberg
see dataview, idataprovider, and pagingnavigator -igor On Wed, Apr 16, 2008 at 8:00 PM, Philip Johnson [EMAIL PROTECTED] wrote: Greetings, wicket experts, I am a newly infatuated wicket developer, and would like to solicit your advice on the best way to design a table that can support up

Wicket cannot work on OC4J (ias 10g)?

2008-04-16 Thread xdirewolfx
I can deploy the application can kick up and the first page can be shown but the rest of the stuff do not work as normal: - forms lost validations - buttons do not work etc.. wicket 1.3.1 -- View this message in context:

Re: Wicket cannot work on OC4J (ias 10g)?

2008-04-16 Thread Igor Vaynberg
try using wicketservlet instead of wicketfilter -igor On Wed, Apr 16, 2008 at 8:46 PM, xdirewolfx [EMAIL PROTECTED] wrote: I can deploy the application can kick up and the first page can be shown but the rest of the stuff do not work as normal: - forms lost validations - buttons do

RE: Using a static image map

2008-04-16 Thread Cristina
Martijn C. Vos wrote: [...] Ofcourse if the ImageMap's areas are completely static, you may want to keep the shape and coordinates of the links outside the Wicket code and only in the html, so I'm kinda wondering if it would be possible to keep the map outside Wicket, and simply give

Re: Wicket cannot work on OC4J (ias 10g)?

2008-04-16 Thread xdirewolfx
Thank you for your prompt reply. It s working well now igor.vaynberg wrote: try using wicketservlet instead of wicketfilter -igor On Wed, Apr 16, 2008 at 8:46 PM, xdirewolfx [EMAIL PROTECTED] wrote: I can deploy the application can kick up and the first page can be shown but the