Re: Dropdownchoice missing (only when the page with Tinymce component) while scrolling the vertical scroll bar

2009-07-15 Thread rolandpeng
thanks for your teach,igor. I've find the way to build the quickstart with tinymce included. The quickstart project is attached,and can be run with 'mvn jetty:run' . the url: http://localhost:8080/quickstart my quickstart brief: there are two webpages,one with ajaxlink and the other with

Re: debug mode

2009-07-15 Thread Emond Papegaaij
I've had similar problems when using method breakpoints on inner classes. Removing the breakpoint speeds up the entire application dramatically (the breakpoint also doesn't work). So try removing your breakpoints. Emond On Tuesday 14 July 2009 19:15:02 John Ipson wrote: Has anyone ever run

Re: Dynamically generated background image

2009-07-15 Thread Mathias Nilsson
maybe something like this String RESOURCE_NAME = MyClass.class.getName(); Application.get().getSharedResources().add(RESOURCE_NAME, new MyImageResource()); ResourceReference ref = new ResourceReference(RESOURCE_NAME); getPage().urlFor( ref ); -- View this message in context:

Accessing the rowItem from the populateItem of a column

2009-07-15 Thread Lorenzo Bolzani
Hi all, I need to do an ajax refresh of a whole line of a table. On the left of the table there is a dropdown and when the selection is changed the other fields of the table should be refreshed accordingly. So I have a column where the dropdown is defined and here I add an onchange behaviour

Re: Accessing the rowItem from the populateItem of a column

2009-07-15 Thread Pierre Goupil
Hello, Can't you just make the parent's field final and use : Parent.this.cellItem ? HTH, Pierre On Wed, Jul 15, 2009 at 11:33 AM, Lorenzo Bolzani l.bolz...@gmail.comwrote: Hi all, I need to do an ajax refresh of a whole line of a table. On the left of the table there is a dropdown and

Re: How to show/hide, enable/disable items in menu based on YUI menu2

2009-07-15 Thread Joshua Lim
Hi I've made some changes on the trunk to allow AjaxLinkAction, and remove the setRenderBodyOnly so that you can basically modify the menu 'ajaxically'. Also I've applied the yui-sam-skin by default for YuiMenuBar and YuiMenu. and it is now using YuiLoader and 2.7.0 check out the yui-examples

Radio and Radio Group problems

2009-07-15 Thread Trojahn, Cassia
Dear All I have a problem when using the Radio component. Using a list of languages, where each item is a NameWrapper object with a property selected. The property selected is associated to the radio component. However, when presenting to the user the corresponding list of radios, the

Re: Radio and Radio Group problems

2009-07-15 Thread Michael O'Cleirigh
Hello, I don't think you need to track the selected (true/false) state your self. Let the radio group model do it automatically for you like: listLanguages.add(new NameWrapper(English, en, ); listLanguages.add(new NameWrapper(German, de, )); listLanguages.add(new NameWrapper(French, fr, ));

[announce] wicket-1.4-rc7 released

2009-07-15 Thread Igor Vaynberg
The Apache Wicket team is proud to announce the availability of the seventh release candidate for the newest version of Wicket - 1.4. A lot of bugs have been squashed and several improvements implemented. If you are already using earlier versions of 1.4, it is recommended you update to Wicket

Re: Accessing the rowItem from the populateItem of a column

2009-07-15 Thread Iain Reddick
cellItem.getParent().getParent() will get the row component, but it's not a very clean solution. Pierre Goupil wrote: Hello, Can't you just make the parent's field final and use : Parent.this.cellItem ? HTH, Pierre On Wed, Jul 15, 2009 at 11:33 AM, Lorenzo Bolzani

Re: File upload without writing to temp file (on Google App Engine)

2009-07-15 Thread uud ashr
Done, I've just implement my idea. I change the some implementation, actually the main problem is on DiskFileItem, but I need to change several classes too. No more writing file to disk, but write as Entity, big file chunk into several entities. Original FileCleaner will launch daemon thread, but

Liferay InlineFrame

2009-07-15 Thread Michal Velecky
Hi, I'm trying to make InlineFrame in my portlet deployed in Liferay Portal. in page: add(new InlineFrame(myFrame, PageMap.forName(xys), MyFrame. class)); in markup: div iframe wicket:id=myFrame pYour browser does not support

Page expired stateless page?

2009-07-15 Thread Martin Makundi
Hi! What is this error? I keep getting it after installing 1.4-rc6 and 1.4-rc7. I definitely did not intend to have a stateless page... 2009-07-15 21:00:17,037 41856622 [btpool0-227] ERROR RequestCycle  - unable to find component with path home_page_tabs_panel:panel:download_guide on stateless

Re: Page expired stateless page?

2009-07-15 Thread Martin Makundi
Yes, there is a StatelessLink.. why doesn't it work? ** Martin 2009/7/15 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! What is this error? I keep getting it after installing 1.4-rc6 and 1.4-rc7. I definitely did not intend to have a stateless page... 2009-07-15 21:00:17,037

CheckBoxMultipleChoice Construtor Nigthmare...

2009-07-15 Thread Martin Letendre
I am trying to use this constructor http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/form/CheckBoxMultipleChoice.html#CheckBoxMultipleChoice%28java.lang.String,%20org.apache.wicket.model.IModel,%20java.util.List%29 Here is my best result // Days is an enum and is

Re: debug mode

2009-07-15 Thread Nicolas Melendez
dont' use vista, desactivate antivirus and stop playing street fighter IV while you are programming ;) On Wed, Jul 15, 2009 at 9:14 AM, Emond Papegaaijemond.papega...@topicus.nl wrote: I've had similar problems when using method breakpoints on inner classes. Removing the breakpoint speeds up

PageableListView Question

2009-07-15 Thread jpalmer1026
I'm trying to populate a PageableListView based on the value selected from a DropDownChoice, but am not sure how to do this. I feel like I'm pretty close, so I've attached what I've done so far with the hopes that someone might be able to lend a hand. My code is as follows:public class

Re: CheckBoxMultipleChoice Construtor Nigthmare...

2009-07-15 Thread Marcin Palka
Hi, Try it this way. html xmlns:wicket=http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd; head titleWicket Quickstart Archetype Homepage/title /head body form wicket:id=form input type=submit value=submit/ /form

Re: PageableListView Question

2009-07-15 Thread Igor Vaynberg
tie the ddc and the listview using a field: ddc writes selection into the field, listview reads the field when constructing the list. to do so use models like below: -igor public class mypage extends webpage { private string criteria; private list getresults() { // do some search

Help - Mounting a dynamic generated image

2009-07-15 Thread Hbiloo
Hi everybody, I've a list of thumbnail images that are dynamically generated from a byte [] retrieved from the database. Each thumbnail links to the big image variant of it. My code: ... @Override protected void populateItem(final ListItemMyImage item) { final int index = item.getIndex();

RE: DropDownChoice missing in IE6 when has AJAX

2009-07-15 Thread rolandpeng
I also get the same problem,do anyone have the resolution about this? I've made a quickstart to simulate this problem as the attachment. I will be very obliged if someone can help to find the resolution.Thanks. Roland. Alex.Borba wrote: Thank you for the suggestion, most of you are saying

GMap2 / Ajax problem?

2009-07-15 Thread John Armstrong
Hi WicketFolk, I just started using GMap2 in my Ajax enabled page and requests seem to return sporadically. Regardless of if the Map shows up or not, once the map ajax request returns it keeps the AJAX channel busy and no other ajax elements will load. Seems like there is a line in

Re: GMap2 / Ajax problem?

2009-07-15 Thread John Armstrong
Found it, sorry. For the record its documented in wicket.contrib.examples.gmap2.many.ManyPage For Gmap ajax to work the js has to be in the header. Solved by adding add(new GMapHeaderContributor(YOUR GOOGLE API KEY)); at the page level (for me). Sorry, stepped away for a few hours and came