Re: Wicket meetup in Amsterdam news

2009-02-13 Thread Jan Kriesten
Hi, If interest is there I could present something based on my 'Real World Scala and Wicket' I held last week in London. Yes please! I hope there will be enough registrations to our session so we can make it. I added a 'Practical Scala + Wicket' presentation. I'm looking forward to see

Re: Intellij Idea Plugin Bounty

2009-02-13 Thread Andreas Petersson
Also make sure you have the Wicket DTD loaded in Intellij. Regards, Erik. i got the dtd, but where exactly in intellij can you associate the wicket dtd with xhtml. setup external resource did not work. - To unsubscribe,

Re: Intellij Idea Plugin Bounty

2009-02-13 Thread Andreas Petersson
i got the dtd, but where exactly in intellij can you associate the wicket dtd with xhtml. setup external resource did not work. to be more precise, i get autocompletion only for 3 attributes, not for wicket:xxx tags.. - To

Re: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Martijn Dashorst
Bill Joy from Sun once said: innovation happens elsewhere. I think that the where elsewhere isn't, it is the JCP. Standardization is just antithetical to innovation. Once something is fixed in brick/mortar how can you innovate? Wicket is very comfortably located elsewhere. Martijn On Thu, Feb

Re: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Johan Compagner
and what would a wicket standard give you? Except that those idiotic managers then say its standardized.. now you can use it why is that is a standard for ever? dont think so everything dies. But would it run on more platforms? Would we have multiply implementations? Because thats most of the time

Re: Problem with multiple AjaxLazyLoadPanel and DynamicImageResource

2009-02-13 Thread Felix Cachaldora
Thanks for making this example. I've tried it and it fails as expected. Let's see if it serves to find the bug. -Félix Sergio García wrote: igor.vaynberg wrote: create a quickstart and attach it to a jira issue so we can take a look. -igor I've created a quickstart with

Re: Correct way to deal with serialization and casting

2009-02-13 Thread pieter claassen
Ok, feedback on my own problem. It seems that if you create a private variable and assign an IModel to it, then access it from within the onClick() method in a listview, that it doesn't always work. You have to explicitly add the model to the Link constructor for this to work. It seems that the

Re: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Christopher Armstrong
Hi all I'm new to this list (and Wicket), and was interested in this discussion. On 12/02/2009, at 11:32 PM, Hoover, William wrote: Just out of curiosity... Are there any plans to push a JSR that Wicket could follow. I think there would be a lot more acceptance of Wicket if this was to

Re: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

2009-02-13 Thread Martin Voigt
Hi, i think the manual page of sl4j http://www.slf4j.org/manual.html makes it very clear, just read the small red part. As for the wicket homepage, this would fit into the wiki if it's not already there. But since wicket uses maven and most projects that use wicket also use it, missing jars are

Re: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

2009-02-13 Thread Martin Voigt
It looks like your missing the slf4j-api.jar. slf4j-log4j12-1.5.6.jar is just the glue to make slf4j use log4j. Martin 2009/2/12 M Goodell li...@pdc4u.com: Hello, I am in the process of evaluating Wicket for an upcoming project and in the process of writing some proof of concept code. Or

Re: AbstractAjaxTimerBehavior / Firefox / Page constructor

2009-02-13 Thread Johan Compagner
if that happens then the newWindowBrowser detection is enabled and executed. This makes sure that a new tab or browser window (but same session) will have there own pagemap On Thu, Feb 12, 2009 at 18:45, Adriano dos Santos Fernandes adrian...@gmail.com wrote: Thomas Mäder escreveu: Why

Re: HTML can't reference a component (Label) multiple times?

2009-02-13 Thread Martijn Dashorst
99.99% of the time this is an error: a component is referenced multiple times in markup. Therefore we don't allow one component to be rendering in multiple places. For that 0.01% of useful cases, it is not too difficult to just add the label component twice. Martijn On Thu, Feb 12, 2009 at 8:54

Re: AbstractAjaxTimerBehavior / Firefox / Page constructor

2009-02-13 Thread Adriano dos Santos Fernandes
Johan Compagner escreveu: if that happens then the newWindowBrowser detection is enabled and executed. This makes sure that a new tab or browser window (but same session) will have there own pagemap I have getPageSettings().setAutomaticMultiWindowSupport(true). But why AbstractAjaxTimerBehavior

Re: Model on Select

2009-02-13 Thread Mathias P.W Nilsson
After switching from Select and SelectOption to DropDownChoice it works. Maybe there is a problem with my Select code or there is a wicket bug. // Mathias -- View this message in context: http://www.nabble.com/Model-on-Select-tp21973981p21994805.html Sent from the Wicket - User mailing list

Re: Adding/Replacing links in Panels

2009-02-13 Thread Mathias P.W Nilsson
Hi, I guess there could be other ways to do this better. Try using break after each case. switch( comp ){ case ROLE: break; } If you don't use break the link will be added twice -- View this message in context:

Re: Tabbed Page

2009-02-13 Thread Daniel Ferreira Castro
The problem is. My case is that I have a Base Page from where all other page inherit a common layout. This base page have an AjaxTab. This ajax tab component have its tabs. Each of these tabs have a getPanel method and the returned panel have another Ajax Tab. Should I have a markup html for

Re: Tabbed Page

2009-02-13 Thread Daniel Ferreira Castro
I am trying to figure out what tag is beeing expected... This is my base page markup !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1 META HTTP-EQUIV=CACHE-CONTROL

Re: Adding/Replacing links in Panels

2009-02-13 Thread Michael Sparer
personally I'm no fan of conditional adding components with the same id. e.g. if (user.isSignedIn() { add(new SignedInPanel(foo)); else { add(new SignedOutPanel(foo)); } I rather add all panels and make them invisible or visible add(new SignedInPanel(foo).setVisible(user.isSignedIn()); // or

Re: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread francisco treacy
totally against pushing wicket as a standard / jsr. it has already been stated by some of you, but i'd like to highlight the fact that bureaucracy goes against flexibility. instead of having wicket to change to please management, why don't we push to have more managers that think out-of-the-box

Re: Adding/Replacing links in Panels

2009-02-13 Thread ashtek
Yes, but in my case, I dont need separate panels (the only variable being the link, and everything else remains constant). I might then as well include the markup in each of the files. Michael Sparer wrote: personally I'm no fan of conditional adding components with the same id. e.g. if

Re: Adding/Replacing links in Panels

2009-02-13 Thread ashtek
Thanks Mathias. That was it. :) The links render properly now. -- View this message in context: http://www.nabble.com/Adding-Replacing-links-in-Panels-tp21989041p21995675.html Sent from the Wicket - User mailing list archive at Nabble.com.

What's your take on handling markup in properties, html, wicket

2009-02-13 Thread Mathias P.W Nilsson
Hi, Just wondering how this should be handled without DRY. In many scenarios we have multiple languages that should have the same markup but different text. This could be handled by using variation and put every language in an own html file like myWicketPage_style_en.html. However, this is not

Re: Model on Select

2009-02-13 Thread jn73
Mathias P.W Nilsson wrote: The first time my web container is loaded and I access the page all dropdowns and Select are set according to the values that my class has( new CompoundPropertyModel( new Model( myClass ) ) ). When returning to this page a second time the Select is not set. I

RE: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Hoover, William
I hear the arguments and I completely agree with the notion that innovation usually happens elsewhere and a JSR/JCP would slow that process down. I just want to objectively view the other side of the spectrum :o) From a developers point-of-view standardization can often be a thorn in our side,

Setting TreeState in new page

2009-02-13 Thread Seven Corners
I have a LinkTree where each node contains links to pages, and each of these pages derives from the same base class, so they all contain that LinkTree. When a user drills down into the tree on one page and then clicks a link for another page, I'd like the new page we go to to open the tree to

How to get a reference to the holding page from a panel

2009-02-13 Thread pieter claassen
Is there a simple answer for how to get a reference from a panel to the holding page that is available at compile time (something other than getPage() on beforeRender())? Thanks, Pieter

Re: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Dave Schoorl
I am not sure what you would like to standardize. Given your JPA example, I would guess that you want to push a JSR for a web framework or something. But there is already something like that: JSF. Just let Wicket be Wicket and instead of changing Wicket (and it's community) in the wrong way,

Re: Intellij Idea Plugin Bounty

2009-02-13 Thread Erik van Oosten
Andreas Petersson wrote: Also make sure you have the Wicket DTD loaded in Intellij. i got the dtd, but where exactly in intellij can you associate the wicket dtd with xhtml. setup external resource did not work. Sorry, I can't look it up at home. Erik. -- Erik van Oosten

Re: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread francisco treacy
this has nothing to do with being open-minded. i'm pretty sure that most non-trivial projects out there using jpa with hibernate implementation can go through a big pain if they ever decide to change jpa vendor. now that you talk about jpa, this is an example of how backward a spec can be: jpa

Re: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Johan Compagner
From a developers point-of-view standardization can often be a thorn in our side, but for management it can offer a vendor-independent/implementation-independent solution. Maintaining/upgrading infrastructure is difficult, expensive and time consuming. From the point-of-view of management a

Re: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Jan Kriesten
Hi, I can't really think of any specification which would make sense to build - there is just no need for that IMHO. If managers need something like that - there's JSF. And knowledge is growing that JSF isn't the ultimate answer. There are other open source projects embraced by managers as well

RE: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Hoover, William
I agree that we need to change the views of corporate managers in the right way by illustrating the cost savings achieved though a reduction in development time. At the same time, I don't believe that this will change the Wicket community in the wrong way (which is a highly subjective statement).

Re: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Thomas Mäder
Unfortunately, those 'idiotic managers' (and I'm not disagreeing with you) hold the purse strings. The move to Apache was a big step towards acceptance by the business types. If you try to sell a new technology with a weird name to your manager, it's not helping that there are just some guys from

Re: How can I clear the value of an AutoCompleteTextField

2009-02-13 Thread Azzeddine Daddah
target.appendJavascript(String.format(document.getElementById(%s).value = '', tagsTextfield.getMarkupId()));does not clear the text field. Any idea how to do this? Hbiloo On Thu, Feb 12, 2009 at 10:15 PM, Azzeddine Daddah waarhei...@gmail.comwrote: This is what I've till now. Clearing the

How to access ListItem from ListView from AjaxLink?

2009-02-13 Thread moontz
I would like to add an attribute to the ListItem element in the markup (basically change the class style) on click of the link. Below is my snippet. Any insight on how I can accomplish this? Thanks in advance! ListView lv = new ListView(tabListView, tabList) { protected void

RE: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Hoover, William
First of all, thank you for entertaining this idea :o) See comments below... -Original Message- From: Johan Compagner [mailto:jcompag...@gmail.com] Sent: Friday, February 13, 2009 9:38 AM To: users@wicket.apache.org Subject: Re: Wicket at ApacheCon EU'09 in Amsterdam From a

Re: Wizard Custom Layout example

2009-02-13 Thread Igor Vaynberg
simply subclass wizard and provide your own markup. -igor On Thu, Feb 12, 2009 at 11:57 PM, John Armstrong siber...@gmail.com wrote: Hi WicketFolk, Can anyone point me to a relatively complete example of an Wizard implementation with custom layout? I'm fairly new to the framework and this

Re: What's your take on handling markup in properties, html, wicket

2009-02-13 Thread Warren Bell
Create a panel with just the markup you need and switch them out with the isvisible based on the current language needed? Similar to the post for Re: Adding/Replacing links in Panels by Michael Sparer below. I use WebMarkupContainer, but I only have two states. 14 may get a little messy

Re: What's your take on handling markup in properties, html, wicket

2009-02-13 Thread Jonathan Locke
Ideally the markup should stay in the markup file and the text in that markup that needs to be localized would be localized via wicket:message and a properties file. In cases like below, you would break the text into properties-localized hunks and into panels with multiple markup localization

Re: What's your take on handling markup in properties, html, wicket

2009-02-13 Thread Scott Swank
We use a combination of the following for that sort of l10n/i18n. 1. wicket:message 2. A Label with a StringResourceModel, and setEscapeModelStrings(true) 3. Fragments Scott On Fri, Feb 13, 2009 at 8:16 AM, Warren Bell warrenbe...@gmail.com wrote: Create a panel with just the markup you need

Re: Correct way to deal with serialization and casting

2009-02-13 Thread Igor Vaynberg
if you add a private variable that is imodel you have to detach it yourself, perhaps that is your problem. you do this by overriding ondetach() { field.detach(); super.ondetach(); } -igor On Fri, Feb 13, 2009 at 1:36 AM, pieter claassen pie...@claassen.co.uk wrote: Ok, feedback on my own

Re: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

2009-02-13 Thread Igor Vaynberg
even if you do not use maven it is very easy to use it to discover all the needed dependencies a maven project needs using mvn dependency:tree -igor On Fri, Feb 13, 2009 at 1:55 AM, Martin Voigt martin.vo...@artnology.com wrote: Hi, i think the manual page of sl4j

Re: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Johan Compagner
swing like? are there multiply implementations for swing? Can i choose one from Sun and one from X? or better said are there any desktop UI frameworks that do have multiply implementations (for the same platform??) not that i know of . There could be a reason for that so your managers just

Re: HTML can't reference a component (Label) multiple times?

2009-02-13 Thread Igor Vaynberg
not to mention it doesnt make sense for a lot of usecases, eg setoutputmarkupid() if you call it then the two rendered components will have the same markup id - whoops. which means this will break javascript, ajax, etc, etc. -igor On Fri, Feb 13, 2009 at 2:59 AM, Martijn Dashorst

Re: Model on Select

2009-02-13 Thread Igor Vaynberg
whenever a listview contains form components you have to call setreuseitems(true). its in the javadoc, it has been mentioned on this list a thousand times. its probably on the wiki page somewhere. -igor On Thu, Feb 12, 2009 at 3:09 AM, Mathias P.W Nilsson math...@snyltarna.se wrote: Hi,

Re: Tabbed Page

2009-02-13 Thread Igor Vaynberg
inside your first level tab that will contain other tabbed panel you need div wicket:id=innerTabs/div for the inner panel to attach to. -igor On Fri, Feb 13, 2009 at 4:18 AM, Daniel Ferreira Castro dfcas...@gmail.com wrote: I am trying to figure out what tag is beeing expected... This is my

Re: How to get a reference to the holding page from a panel

2009-02-13 Thread Igor Vaynberg
make the panel an anonymous or inner class of the page and use MyPage.this. -igor On Fri, Feb 13, 2009 at 6:14 AM, pieter claassen pie...@claassen.co.uk wrote: Is there a simple answer for how to get a reference from a panel to the holding page that is available at compile time (something

Re: How to access ListItem from ListView from AjaxLink?

2009-02-13 Thread Igor Vaynberg
final ListItem item -igor On Fri, Feb 13, 2009 at 7:36 AM, moontz bmun...@yahoo.com wrote: I would like to add an attribute to the ListItem element in the markup (basically change the class style) on click of the link. Below is my snippet. Any insight on how I can accomplish this? Thanks

Re: How to access ListItem from ListView from AjaxLink?

2009-02-13 Thread moontz
i tried that before. did not work. no compile or runtime errors, but the source did not show the change. im thinking, since its an ajax link and because only the target panel refreshes, the change to the link is not applied because the actual link is not refreshed. only the other panel is.

Re: Model on Select

2009-02-13 Thread Mathias P.W Nilsson
That may be the case but I have already tried that and it does not solve my problem. -- View this message in context: http://www.nabble.com/Model-on-Select-tp21973981p22001539.html Sent from the Wicket - User mailing list archive at Nabble.com.

Reg Radio button

2009-02-13 Thread Swapna Rachamalla
Hi All I have a Radio button group For eg imagine Country: - USA - UK - etc If one of the country is selected i want to write logic( if any one of the option is selected.) which method i have to override for this.( For eg if we have a link then we override the method onClick() and if

Re: Model on Select

2009-02-13 Thread Igor Vaynberg
then you are more then welcome to provide a quickstart attached to a jira issue. -igor On Fri, Feb 13, 2009 at 9:50 AM, Mathias P.W Nilsson math...@snyltarna.se wrote: That may be the case but I have already tried that and it does not solve my problem. -- View this message in context:

Re: Model on Select

2009-02-13 Thread Mathias P.W Nilsson
Thanks anyway for your time, but I think I will stick to DropDownChoice for now. -- View this message in context: http://www.nabble.com/Model-on-Select-tp21973981p22001718.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Wizard Custom Layout example

2009-02-13 Thread John Armstrong
Thanks Igor, I am already subclassing the wizard so that I can dynamically add steps based on entities in the object. I also have overridden the newButton(string) etc but the more subtle interactions are not clear to me. For example, I override newButtonBar(string). I get the basic table markup

Re: Reg Radio button

2009-02-13 Thread Igor Vaynberg
in your form.onsubmit() you can check the value of the model - which will give you the selected option. -igor On Fri, Feb 13, 2009 at 9:54 AM, Swapna Rachamalla swapna.rachama...@gmail.com wrote: Hi All I have a Radio button group For eg imagine Country: - USA - UK - etc If one

RE: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Hoover, William
I see that pushing for a Wicket standard is futile, but I will make one last attempt to answer some of your questions... See comments below... -Original Message- From: Johan Compagner [mailto:jcompag...@gmail.com] Sent: Friday, February 13, 2009 12:17 PM To: users@wicket.apache.org

Re: AbstractAjaxTimerBehavior / Firefox / Page constructor

2009-02-13 Thread Johan Compagner
That settings just triggers some code that checks if the pagemap name is equal to the window name if that isnt the case then it does a redict to a new page so that every browser window has its own pagemap Why do you have that setting enabled? With the disk store it is not really needed anymore

Re: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Dave Schoorl
I do think that pushing a JSR for Wicket will have a negative influence on the spirit of Wicket and it's community due to the politics involved with a JSR. Politics are so not the Wicket way. This is what I mean with the wrong way and yes, that is mighty subjective. I also expect there will

Re: Model on Select

2009-02-13 Thread Igor Vaynberg
use the quickstart maven2 archetype to generate a basic project. add code to it that replicates your problem. zip it up and attach it to a jira issue. -igor On Fri, Feb 13, 2009 at 10:05 AM, Mathias P.W Nilsson math...@snyltarna.se wrote: OK, How does that work. Do I extract vital parts or

Re: What's your take on handling markup in properties, html, wicket

2009-02-13 Thread Mathias P.W Nilsson
It would be a lot of split ups in the properties files and a lot of wicket:message but I guess it is the best way when separation markup from pure text. This is always a problem. I'm dealing with the same concern when a user want's to add html markup to a news that is saved in the database.

Re: Model on Select

2009-02-13 Thread Mathias P.W Nilsson
Hi again, I created a small project with wicket extension and here it worked fine, even if I used setReuseItems( false ). So the problem must be in my code somewere. -- View this message in context: http://www.nabble.com/Model-on-Select-tp21973981p22002751.html Sent from the Wicket - User

Re: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

2009-02-13 Thread James Carman
A lot of folks say they want to avoid the overhead that maven provides, but now that I'm used to maven I don't know what I would do without it. I use it for ALL projects big and small. On Fri, Feb 13, 2009 at 12:19 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: even if you do not use maven it

Re: Setting TreeState in new page

2009-02-13 Thread Seven Corners
Never mind, I figured it out. Caching the TreeState didn't get me there because it didn't contain the information I needed. I had to do my own bookkeeping, but overriding LinkTree.newTreeState() was ultimately where things got set aright. -- View this message in context:

Re: FormTester selectMultiple CheckBoxMultipleChoice help

2009-02-13 Thread Timo Rantalaiho
On Wed, 11 Feb 2009, ray bon wrote: I am trying to test the case where a user is changing the set of checked options for a CheckBoxMultipleChoice. When using FormTester.selectMultiple the new values are added rather than replacing the existing values. ... How do I get FormTester to unselect

Re: Checkbox OnChangeAjaxBehavior with defaultFormProcessing=false??

2009-02-13 Thread Timo Rantalaiho
On Thu, 12 Feb 2009, Martin Makundi wrote: 1. I have a form 2. The form has checkboxes 3. The form has other fields The checkboxes are used to disable specific fields in the form. Whenever the user changes the checkbox state, I want to use AjaxEventBehavior or similar to update the form

Re: create custom feedback panel list

2009-02-13 Thread Timo Rantalaiho
On Fri, 13 Feb 2009, Christoph Grün wrote: How can I create a custom ComponentFeedbackPanel so that I the html markup is customized (without ulli)? KoolFeedbackPanel.java: public class KoolFeedbackPanel extends ComponentFeedbackPanel { public KoolFeedbackPanel(String id, Component filter) {

Re: Intellij Idea Plugin Bounty

2009-02-13 Thread Timo Rantalaiho
On Fri, 13 Feb 2009, Andreas Petersson wrote: i got the dtd, but where exactly in intellij can you associate the wicket dtd with xhtml. setup external resource did not work. I've done something like this in the HTML files html xmlns=http://www.w3.org/1999/xhtml;

Re: Intellij Idea Plugin Bounty

2009-02-13 Thread Nick Heudecker
I'm working on an intention that will insert that into the root markup element. On Fri, Feb 13, 2009 at 12:55 PM, Timo Rantalaiho timo.rantala...@ri.fiwrote: On Fri, 13 Feb 2009, Andreas Petersson wrote: i got the dtd, but where exactly in intellij can you associate the wicket dtd with

Re: FormTester selectMultiple CheckBoxMultipleChoice help

2009-02-13 Thread ray bon
Timo Rantalaiho wrote: Sounds like a fair enough feature, could you please add a Jira issue? Meanwhile you can do formTester.setValue(checkBoxMultipleChoice, ); in between to get the values reset. I have submitted a Jira issue

Re: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Oleg Taranenko
Hmm... some time ago (approx 1,5 year ) was attempts to marry JBoss Seam and Wicket. Was it successful? May be this is an example, why wicket should to be treated as a standard? Oleg On Fri, Feb 13, 2009 at 4:59 PM, Hoover, William whoo...@nemours.orgwrote: First of all, thank you for

Re: Checkbox OnChangeAjaxBehavior with defaultFormProcessing=false??

2009-02-13 Thread Martin Makundi
If you repaint the component from the server, and want to retain its input, you have to submit to the server and store it to the model (with a suitable *submittingbehavior) so that it will have the correct value on the repaint. Yes, this is what I am trying to do, but disabling and enabling a

Re: Checkbox OnChangeAjaxBehavior with defaultFormProcessing=false??

2009-02-13 Thread Timo Rantalaiho
On Fri, 13 Feb 2009, Martin Makundi wrote: Yes, this is what I am trying to do, but disabling and enabling a textfield ends up clearing its value too if I use AjaxFormSumitBehavior. Don't know why. Maybe a conversion error that prohibits updating the model? Though in the case of validation or

Re: Wicket at ApacheCon EU'09 in Amsterdam

2009-02-13 Thread Igor Vaynberg
how will having wicket as a standard help this? look at spring, it is no jsr but a lot of projects integrate with it, and it in return integrates with other projects. anyways, there is already a start of wicket seam support by the seam folks. http://in.relation.to/Bloggers/SeamlessWicket -igor

RadioGroup in a DataTable?

2009-02-13 Thread jchappelle
Is it possible to have a RadioGroup in a DataTable. I am trying to display a list of items from the database and I want the user to only select one of these items. There could be a lot of items so I am letting the user filter the values by using a FilterForm and a DataTable. Any ideas? Thanks,

Re: RadioGroup in a DataTable?

2009-02-13 Thread Igor Vaynberg
put the table into the radiogroup. -igor On Fri, Feb 13, 2009 at 1:21 PM, jchappelle jchappe...@4redi.com wrote: Is it possible to have a RadioGroup in a DataTable. I am trying to display a list of items from the database and I want the user to only select one of these items. There could be

How to setResponsePage across frame based on Ajax

2009-02-13 Thread Mo Wu
Dear expert, I extend the nested tree example in wicket. In Tree class, I override onNodeLinkClicked() method to setResponsePage, when I click on the tree node. I works fine to get the response page for the current frame. but I also want to update the frame outside the current frame, It will

Re: Model on Select

2009-02-13 Thread Igor Vaynberg
oh oh they are on to us! -igor On Fri, Feb 13, 2009 at 2:00 PM, Martin Voigt martin.vo...@artnology.com wrote: This is the reason they *always* want a quickstart ;) 2009/2/13 Mathias P.W Nilsson math...@snyltarna.se: Hi again, I created a small project with wicket extension and here it

how to create a link that goes to an anchor on a page

2009-02-13 Thread novotny
Hi, I have PageA and I want to create a link that takes me to an anchor on page B like so: Any content So the link should look like PageB#label. How can I do this with BookmarkablePageLink (or any link)? I can set page parameters but it doesn't seem like that does what I need. Thanks, Jason

Re: How to get a reference to the holding page from a panel

2009-02-13 Thread pieter claassen
Actually I also find that using getPage() on beforeRender() to get the page is ok as long as do deal with any problems in case you cannot get the page. Pieter On Fri, Feb 13, 2009 at 6:34 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: make the panel an anonymous or inner class of the page and

Re: How to get a reference to the holding page from a panel

2009-02-13 Thread Warren Bell
I have a simmilar situation where I want to put a panel nested in a panel nested in a page. The panel that is nested in the page stays the same for many different pages, but the panel nested into the panel changes. Would you do an anonymous panel class within an anonymous panel class within

Anyone have idea on ofbiz framework

2009-02-13 Thread Swapna Rachamalla
Hi Anyone have any idea on ofbiz framework Thanks Swapna On Fri, Feb 13, 2009 at 10:04 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: in your form.onsubmit() you can check the value of the model - which will give you the selected option. -igor On Fri, Feb 13, 2009 at 9:54 AM, Swapna

Re: Anyone have idea on ofbiz framework

2009-02-13 Thread Scott Swank
http://lmgtfy.com/?q=ofbizl=1 On Fri, Feb 13, 2009 at 3:20 PM, Swapna Rachamalla swapna.rachama...@gmail.com wrote: Hi Anyone have any idea on ofbiz framework Thanks Swapna On Fri, Feb 13, 2009 at 10:04 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: in your form.onsubmit() you can

Accessing IFrame field from parent

2009-02-13 Thread Xhelas
I have a page and an IFrame is this page. I try to access in javascript, from the parent page, a field from the Iframe page. But firefox gives me a security exception. I understands that the URI of the IFrame and of the parent page are not the same, and that is why I get this exception. The

Re: how to create a link that goes to an anchor on a page

2009-02-13 Thread Jeremy Thomerson
Label label = new Label(label, TEST); Link yourLink = new Link(foo) { public void onClick() { /* do something */ } }; yourLink.setAnchor(label); voila! -- Jeremy Thomerson http://www.wickettraining.com On Fri, Feb 13, 2009 at 4:37 PM, novotny novo...@gridsphere.org wrote: Hi, I have

Re: AbstractAjaxTimerBehavior / Firefox / Page constructor

2009-02-13 Thread Jeremy Thomerson
Have you made sure that you don't have any img src= ... / in your code? This has been known to cause similar behavior. On Thu, Feb 12, 2009 at 11:45 AM, Adriano dos Santos Fernandes adrian...@gmail.com wrote: Thomas Mäder escreveu: Why don't you put a breakpoint in the constructor and see

Re: Checkbox OnChangeAjaxBehavior with defaultFormProcessing=false??

2009-02-13 Thread Martin Makundi
Maybe a conversion error that prohibits updating the model? I do not want to update the model. I want defaultFormProcessing=false with the particular ajax event. In a way, yes, but sometimes purely client-side stuff can be easier purely on the client-side. The functionality is already in

Re: Checkbox OnChangeAjaxBehavior with defaultFormProcessing=false??

2009-02-13 Thread Martin Makundi
I could actually hack this feature by adding an AjaxButton onto the page which has defaultFormProcessing=false and then hide that button using css/style and always invoke that button when a checkbox is clicked. But it would be betterto just make sure Wicket supports such events for FormComponents.