Using one component's value as input for the other

2011-04-13 Thread Reinout van Schouwen
Hello all,

This would seem like a simple question but I've been tearing my hair
out all evening about it.
I have one form component, a wiquery autocomplete textfield.Once the
user has entered a value in it I want the value to appear in a label
in a different panel.

My approach was to use an AjaxFormComponentUpdatingBehavior, to update
the model of the label once a value has been entered and adding the
label's container to the AjaxRequestTarget. But how do I refer to the
label? I tried to use getPage().get(labelId) but this gives me a null
pointer.

Surely I'm overlooking a simple solution that Google didn't turn up for me?

regards,

-- 
Reinout van Schouwen
http://vanschouwen.info/

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



AjaxLazyLoadPanel in WiQuery Accordion

2010-10-12 Thread Reinout van Schouwen
Hi all,

When I use an AjaxLazyLoadPanel within a WiQuery Accordion widget, the
panel that replaces the loading placeholder doesn't get the correct
CSS class attributes.
What's the right way to set the class attributes of the lazyloadcomponent?

Thanks,

-- 
Reinout van Schouwen
http://vanschouwen.info/

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: DataView disappearing after AJAX update

2010-04-29 Thread Reinout van Schouwen

Replying to myself.

I've worked around the problem by not using the AJAX method to update my
DataView but by reloading the page with different pageparameters after a
selection instead. Far from ideal, but the best I could come up with.

Alternative solutions still welcome!

Op maandag 26-04-2010 om 14:20 uur [tijdzone +0200], schreef Reinout van
Schouwen:
 I'm having trouble figuring out the following problem.
 
 I have a div (coupled to a WebMarkupContainer) containing a form and a
 list. The list is populated with a DataView, which gets its data from a
 SortableDataProvider that I have implemented according to the repeater
 examples provided on wicket-library.com.
 
 What I want to do is to change the sort order based on a user selection
 from a DropDownChoice in the form. I've used an
 AjaxFormComponentUpdatingBehavior to listen to the dropdown's onchange
 event. In the onUpdate() method I change the sortparam in the
 dataprovider according to the selection and then add the container div
 to the AjaxRequestTarget.
 
 What I expect to happen is that the DataView updates to reflect the new
 sort order. What actually happens is that the DataView completely
 disappears from the page! (The Wicket Ajax Debug window shows me that
 the spot where the list should be in the HTML within the ajax-response
 is indeed empty.)
 
 I've already set the outputmarkupid and the outputmarkupplaceholdertag
 properties on the container to true but that makes no difference. 
 
 Any ideas are appreciated!
 
 regards,
 



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket + security, what are the best options? Spring Security reached almost all the way...

2010-04-28 Thread Reinout van Schouwen
Op dinsdag 27-04-2010 om 16:20 uur [tijdzone -0700], schreef Jimi:

 2. Seems old. [wicket auth roles + WASP/SWARM] Found a two year old
 discussion labeled is wicket-auth-roles discontinued?. And the comments on
 the Getting started with Swarm wiki page is from 2007 and 2008, plus that
 they talk about Acegi (the old name for Spring Security) and the project has
 dependencies to Wicket 1.3 and Spring 2.0.

This lives on as a wicket-stuff subproject. 
Just yesterday a new version, 1.4rc1 was announced on this list:

http://apache-wicket.1842946.n4.nabble.com/announce-Wicket-Security-1-4-rc1-released-tt2067350.html#a2067350

regards,

-- 
Reinout van Schouwen


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



DataView disappearing after AJAX update

2010-04-26 Thread Reinout van Schouwen
Hi,

I'm having trouble figuring out the following problem.

I have a div (coupled to a WebMarkupContainer) containing a form and a
list. The list is populated with a DataView, which gets its data from a
SortableDataProvider that I have implemented according to the repeater
examples provided on wicket-library.com.

What I want to do is to change the sort order based on a user selection
from a DropDownChoice in the form. I've used an
AjaxFormComponentUpdatingBehavior to listen to the dropdown's onchange
event. In the onUpdate() method I change the sortparam in the
dataprovider according to the selection and then add the container div
to the AjaxRequestTarget.

What I expect to happen is that the DataView updates to reflect the new
sort order. What actually happens is that the DataView completely
disappears from the page! (The Wicket Ajax Debug window shows me that
the spot where the list should be in the HTML within the ajax-response
is indeed empty.)

I've already set the outputmarkupid and the outputmarkupplaceholdertag
properties on the container to true but that makes no difference. 

Any ideas are appreciated!

regards,

-- 
Reinout van Schouwen


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Job opportunities (Netherlands)?

2010-04-13 Thread Reinout van Schouwen
Hi everyone,

In a few months' time my current contract will end.

I am looking for a job where I can use my current Wicket skills and
perhaps learn some more. :) Preferably located somewhere in the
Rotterdam / Randstad region. If you know of an organisation with
opportunities for a Wicket developer, please let me know.

More about me on: http://nl.linkedin.com/in/reinoutvanschouwen

regards,

-- 
Reinout van Schouwen


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Newbie Questions

2010-01-19 Thread Reinout van Schouwen
Op dinsdag 19-01-2010 om 15:16 uur [tijdzone +0100], schreef Peter
Karich:

 hmmh I studied the link a lot but I couldn't find a link or
 a source snippet to see how this calendar view might be created.
 I only see monthly views of the yui calendar. Do you mean this can be 
 changed to a week-view?

For what it's worth, eHour is a wicket-based webapp and it features a
week view: http://ehour.nl/about/screenshots.phtml

regards,

-- 
Reinout van Schouwen


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: New photo album generator

2010-01-12 Thread Reinout van Schouwen
Op dinsdag 12-01-2010 om 10:23 uur [tijdzone +0100], schreef Daniel
Frisk:
 Our fancy new Wicket/jQuery/Flash photo album generator, soon ready to  
 be released. What do you think so far?

It's looking very nice but I can't press the Upload photos button. It
seems to be disabled or overlaid by some Flash layer?! (I'm not using
Adobe Flash but swfdec. Anyway I try to evade Flash where I can.)

regards,

-- 
Reinout van Schouwen


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: JVM crash, Wicket class mentioned

2010-01-11 Thread Reinout van Schouwen
Op maandag 11-01-2010 om 15:07 uur [tijdzone +0200], schreef Martin
Makundi:
 Hi!
 
 No, I remember having similar problems before and they were fixed by
 upgarding jvm (1.6.0_17 - 1.6.0_18 for example).

For what it's worth, I've had better luck with the OpenJDK on 64-bit
Linux than with the Sun 64-bit JDK. It might have been fixed in the mean
time but when I tried it I suffered from random JVM crashes.

regards,

-- 
Reinout van Schouwen


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How do you achieve persistency

2009-10-07 Thread Reinout van Schouwen
Op dinsdag 06-10-2009 om 03:12 uur [tijdzone -0700], schreef John
Armstrong:
 I use Cayenne (http://cayenne.apache.org/). The GUI tool eliminates
 any requirement to deal with XML and maps all relationships for you.

Interesting. I also use Cayenne (with Databinder, but I'm doubting more
and more if that is needed at all) but I haven't figured out yet how to
modify my table structure from the Modeler without destroying the
existing data. How do you achieve this?

regards,

-- 
Reinout van Schouwen


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: ProgressBar demo doesn't work for firefox 3.5.3

2009-10-05 Thread Reinout van Schouwen
Op vrijdag 02-10-2009 om 18:58 uur [tijdzone +0300], schreef Altuğ B.
Altıntaş:
 You are right;  it doesn't work properly.
 I am using swfupload tool. it is flash and it works great.

Only if you are willing to put up with requiring a buggy and proprietary
browser plugin for functionality that existed long before the World Wide
Web was invented.

-- 
Reinout van Schouwen


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Date validation in a form

2009-09-24 Thread Reinout van Schouwen
Hi,

Op woensdag 23-09-2009 om 10:38 uur [tijdzone -0700], schreef Igor
Vaynberg:
 see DateTextField in extensions
 
  e.g : The SimpleDateformat to be used to create a java Date is : dd/MM/
  So I would like to check that the user has well introduced its date
  using this format

I happened to be looking for the same thing yesterday (more specifically
about how to do client side validation) and found these two interesting
links:

http://www.jroller.com/wireframe/entry/wicket_client_side_validation
http://cwiki.apache.org/WICKET/fancy-validation-using-ajax-alternatives-to-feedbackpanel.html

regards,

-- 
Reinout van Schouwen


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Enum with RadioChoice leads to NumberFormatException

2009-08-14 Thread Reinout van Schouwen
Hi all,

If I have an enum 'SexTypes' in the class Person like this:


  public static enum SexTypes {
SEX_UNKNOWN(0),
SEX_MALE(1),
SEX_FEMALE(2),
SEX_NOT_APPLICABLE(9);
/* Values for sex are taken from ISO 5218:1977 Representation of Human Sexes  */
private final int intValue;

SexTypes(int intValue) {
  this.intValue = intValue;
}

public int getIntValue() {
  return this.intValue;
}

public String getName() {
  return this.name();
}
  }


...And I want to display them, localized, in a Form like this:


 ChoiceRenderer renderer = new ChoiceRenderer(name, intValue)
  {
@Override
public String getDisplayValue(Object object) {
  return getString((String)super.getDisplayValue(object));
}
  };
  form.add(new RadioChoice(sex, Arrays.asList(Person.SexTypes.values()), 
renderer));
}


...then, when the form is submitted, I get an IllegalArgumentException:

Caused by: java.lang.IllegalArgumentException: Cannot format given Object as a 
Number
at java.text.DecimalFormat.format(DecimalFormat.java:504)
at java.text.Format.format(Format.java:157)
at 
org.apache.wicket.util.convert.converters.AbstractNumberConverter.convertToString(AbstractNumberConverter.java:109)
at 
org.apache.wicket.util.lang.PropertyResolverConverter.convert(PropertyResolverConverter.java:84)
at 
org.apache.wicket.util.lang.PropertyResolver$MethodGetAndSet.setValue(PropertyResolver.java:1094)
at 
org.apache.wicket.util.lang.PropertyResolver$ObjectAndGetSetter.setValue(PropertyResolver.java:589)
at 
org.apache.wicket.util.lang.PropertyResolver.setValue(PropertyResolver.java:137)
at 
org.apache.wicket.model.AbstractPropertyModel.setObject(AbstractPropertyModel.java:164)
at org.apache.wicket.Component.setModelObject(Component.java:2934)
at 
org.apache.wicket.markup.html.form.FormComponent.updateModel(FormComponent.java:1069)
at org.apache.wicket.markup.html.form.Form$21.validate(Form.java:1866)
at 
org.apache.wicket.markup.html.form.Form$ValidationVisitor.formComponent(Form.java:166)
at 
org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:421)
at 
org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:408)
at 
org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrder(FormComponent.java:385)
at 
org.apache.wicket.markup.html.form.Form.visitFormComponentsPostOrder(Form.java:1089)
at 
org.apache.wicket.markup.html.form.Form.internalUpdateFormComponentModels(Form.java:1858)
at 
org.apache.wicket.markup.html.form.Form.updateFormComponentModels(Form.java:1825)
at org.apache.wicket.markup.html.form.Form.process(Form.java:871)
at 
org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:808)
... 30 moremberFormatException:


I believe this is caused because the DecimalFormat.format() method is
being passed a SexType instead of a Number object. My question is, how
can I solve this elegantly so that the radiochoice value will be
resolved to a number?

regards,

-- 
Reinout van Schouwen


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Openlayers, openstreetmap and markers

2009-08-10 Thread Reinout van Schouwen
Hi,

I'm playing around with Wicketstuff Openlayers and I have a few
questions.

1) With a Google map, I can set the Bounds of a map easily. When I try
to do the same with an OpenStreetMap, my Bounds are ignored and I get a
thumbnail of the world map. What could be going on here?

2) I want to show a popup onmouseover instead of onclick. From the
examples I took the PopupMarkerInfoAttributeAppender and changed the
onClick attribute to onmouseover. However, the popup is still only
displaying on click. What am I missing?

3) How is the class org.wicketstuff.openlayers.api.MarkerOptions
supposed to be used? I can't find a reference to it anywhere.

regards,

-- 
Reinout van Schouwen


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: IMPORTANT: Nabble posting disabled due to spam

2009-03-30 Thread Reinout van Schouwen
Op maandag 30-03-2009 om 11:54 uur [tijdzone +0200], schreef Martijn
Dashorst:
 I've disabled posting through the Nabble interface because they don't
 seem able to prevent spam coming through their interface. If you want
 to ask a question, please subscribe to the list. If you don't want to
 do that, complain with Nabble support to improve their spam filtering.

For people who dislike the large volume of mail caused by the
mailinglist, I recommend the Gmane nntp/web interface:
http://news.gmane.org/gmane.comp.java.wicket.user

regards,

-- 
Reinout van Schouwen


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Thanks everybody for attending the meetup

2009-03-25 Thread Reinout van Schouwen
Op woensdag 25-03-2009 om 11:26 uur [tijdzone +0100], schreef Linda van
der Pal:

 Maybe next time we can have a few less presentations so there will be 
 some time left for socializing? (Although I realise that it would be 
 hard to choose from the presentations offered.)

Agreed. One minor disappointment for me was that there were no food or
drinks at all (I remember there was plenty of food at the 2007 meetup!).
I'd happily have paid for it too. Arriving directly from work without
even having had dinner, my attention was distracted by an empty stomach.
I ended up leaving the room for 20 minutes to order some fries at the
hotel bar.

Otherwise it was an interesting meetup!

regards,

-- 
Reinout van Schouwen


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



[JOB] Web application developer (The Hague, Netherlands)

2009-02-19 Thread Reinout van Schouwen

At the Huygens Institute in The Hague, two positions are available for
web application developers, preferably with Wicket experience.

Digital text editions and building text analysis tools play an important
role in research and development at the Huygens Institute. In close
cooperation with text researchers and editors, the Software Research 
Development Team builds scientifically founded software for the online
production, publication, and analysis of texts, image material and data
sets in the humanities.

A full job description (in Dutch) can be found here:

http://www.huygensinstituut.knaw.nl/index.php?option=com_contenttask=viewid=77Itemid=52#ontwikkelaars

-- 
Reinout van Schouwen



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



London Wicket Event

2009-02-19 Thread Reinout van Schouwen
Hi Cemal,

Op donderdag 05-02-2009 om 01:39 uur [tijdzone -0800], schreef jWeekend:

 It looks like we already have 5 or 6 people quite keen to join in from our
 London Wicket Event last night, (...)

On behalf of my colleague Ronald and myself I'd just like to mention
that our short visit to London for the Wicket Event on February 4th was
well worth it. Very informative talks on Scala and Wicket and some
productive discussions afterwards. 

Thanks and till next time!

-- 
Reinout van Schouwen
Huygens Institute
Royal Netherlands Academy of Arts and Sciences


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Wicket 1.4 and Wicketstuff/Dojo/DragAndDrop

2008-11-04 Thread Reinout van Schouwen
Op maandag 28-04-2008 om 14:18 uur [tijdzone +0200], schreef Arthur
Bogaart:
 Hi Stefan,
 
 I presume this build is based on the 'old' dojo-0.4 version? If so,
 are there any plans in updating the wicketstuff-dojo project to
 dojo-1.1.0 or is there to much resistance since Dojo has changed it's
 api already a couple of times?

I was looking at wicketstuff-dojo today and would like an answer to this
question as well! :-)

regards,

-- 
Reinout van Schouwen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AW: Wicket 1.4 and Wicketstuff/Dojo/DragAndDrop

2008-11-04 Thread Reinout van Schouwen
Hi Stefan,

Op vrijdag 25-04-2008 om 18:03 uur [tijdzone +0200], schreef Stefan Lindner:

 To all the other WicketStuff Dojo users: I have successfully built a
 version for current wicket 1.4 trunk. If someone nedds it, please let
 me know!

Actually I'm trying to get it for wicket 1.3.5, but please make your
work available so that others don't have to duplicate it. Thanks! :)

regards,

-- 
Reinout van Schouwen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AjaxPagingNavigator and IndicatingAjaxLink

2008-10-08 Thread Reinout van Schouwen
Hi all,

I tried extending the AjaxPagingNavigator class to provide some feedback
while loading the next page using IndicatingAjaxLink. The
(not-compiling) code I wrote is below. I couldn't make it work because
the protected methods in AjaxPagingNavigator return a Link, as AjaxLink
is a sibling of Link instead of a subclass.

Why doesn't the AjaxPagingNavigator use an AjaxLink in the first place?

Suggestions welcome.


/* this doesn't work because IndicatingAjaxLink is not a subclass of Link
 class IndicatingAjaxPagingNavigator extends AjaxPagingNavigator {

public IndicatingAjaxPagingNavigator(String id, IPageable pageable) {
super(id, pageable);
}

@Override
protected Link newPagingNavigationLink(String id, IPageable pageable, 
int pageNumber) {
final Link result = super.newPagingNavigationIncrementLink(id, 
pageable, pageNumber);

return new IndicatingAjaxLink(id) {

@Override
public void onClick(AjaxRequestTarget target) {
result.onClick();
}
};
}
} 
*/

regards,

-- 
Reinout van Schouwen



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: AjaxPagingNavigator and IndicatingAjaxLink

2008-10-08 Thread Reinout van Schouwen
Op woensdag 08-10-2008 om 02:56 uur [tijdzone -0700], schreef Michael
Sparer:
 why not just let your IndicatingPagingNavigator implement IAjaxIndicatorAware
 - then you got your feedback and also have it at one place (only one
 indicator) instead of multiple indicators as each ajaxlink would have its
 own ...

Thanks, that worked. However I'm now trying to figure out how to make
the indicator be displayed next to the navigator, instead of below. In
other words, how to make the indicator's span tag appear inside of the
div instead of outside it. 

regards,

-- 
Reinout van Schouwen



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [announce] Apache Wicket 1.4-m3 is released

2008-07-23 Thread Reinout van Schouwen
Hi James,

Op maandag 14-07-2008 om 11:15 uur [tijdzone -0400], schreef James 
Carman:
 It's just in the wicket-spring jar now, since we're JDK5+

But how about the Wicket quickstart archetype? Latest available appears
to be 1.4m2 still.

regards,

-- 
Reinout van Schouwen




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: right click popup context menu

2008-03-31 Thread Reinout van Schouwen
Hello Karen,

Op donderdag 06-03-2008 om 10:42 uur [tijdzone -0500], schreef Karen
Schaper:

 I have a data table and for each row that is generated, I'd like to be able
 to right click on the row and have actions that I can perform on the row
 appear in a popup menu.

At risk of stating the obvious, I feel compelled to point out that
depending on the second mouse button to show a context menu is bad
practice. It's not very discoverable, and moreover, some browsers /
browser extensions block javascript from gaining control over the
context menu under the second mouse button.

For generic pop-up menu guidelines in webapps, please see:
http://developers.sun.com/docs/web-app-guidelines/uispec4_1/07-simple.html#7.2.3.4

regards,

-- 
Reinout van Schouwen



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: integrating extjs with wicket

2008-01-09 Thread Reinout van Schouwen

Op woensdag 09-01-2008 om 09:07 uur [tijdzone -0700], schreef Jeremy
Fergason:

 I'm just starting out with wicket and I would like to use a client-side
 javascript library--ExtJs, to enhance the end user experience.  

+1

At my company we use Ext2 and are very enthousiastic about it.
I want to move us from Struts to Wicket but lack of support for Ext2
would be a roadblock...

-- 
Reinout van Schouwen




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: integrating extjs with wicket

2008-01-09 Thread Reinout van Schouwen

Op woensdag 09-01-2008 om 18:19 uur [tijdzone +0100], schreef Martijn
Dashorst:
 What is keeping you from building it?

Justified question, but the answer is quite simply that I'm not allowed
to spend paid time on becoming a Wicket Jedi right now, and my free time
is rather scarce as it is.

regards,

-- 
Reinout van Schouwen




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: integrating extjs with wicket

2008-01-09 Thread Reinout van Schouwen
Hi Martijn,

Op woensdag 09-01-2008 om 23:10 uur [tijdzone +0100], schreef Martijn
Dashorst:
 It is of course unfortunate that your boss doesn't want you doing
 wicket things :)

Hopefully that will change sometime in the not-too-far future.

 However you could start with contributing through participating
 discussions, providing feedback, suggesting features.

Last time I did that, we ended up in a rather unproductive discussion
about the licensing model of the Java implementation of gettext... :-]

Anyhow, I'm slowly working my way through WIA, I'm sure at some point I
will be able to contribute.

regards,

-- 
Reinout van Schouwen




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wicket and Netbeans 6

2007-10-22 Thread Reinout van Schouwen
Op zaterdag 20-10-2007 om 16:20 uur [tijdzone +0100], schreef Ayodeji
Aladejebi:
 if you are a beginner with both Netbeans and Maven then find one of the
 wicket plugins for NB6 and install them. they have a quickstart project by
 default

One of the wicket plugins for NB6?

As far as I have been able to track down, there's exactly one Wicket
plugin supposed to work with Netbeans 6. You have to fetch it from a CVS
branch and build it yourself -- which I haven't managed yet; it keeps
complaining about an undefined nbplatform.default.harness.dir.

If anyone else wants to try, here's how far I got:
- create an account on dev.java.net;
- follow cvs instructions but use the -r nb_60 branch:
cvs -d :pserver:username@cvs.dev.java.net:/cvs checkout -r nb_60
nbwicketsupport
- open the subproject 'nbmodule' in Netbeans

regards,

-- 
Reinout van Schouwen




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Calling all translators - UrlValidator translation

2007-09-26 Thread Reinout van Schouwen
Hi Martijn,

Op woensdag 26-09-2007 om 08:49 uur [tijdzone +0200], schreef Martijn Dashorst:
 I think it is still not possible to include (L)GPL based dependencies
 in Apache software: the cannonical list [1] doesn't show GPL v3 as
 being acceptible.

Maybe this thread will convince you that the Apache License and LGPLv3
are perfectly mixable without requiring the end result to be released
under LGPL:

http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200706.mbox/browser

  Furthermore, the *or newer* clause does not GPL v3
 make.

Umm... what do you mean? LGPLv3 is not a newer version of LGPLv2.1?

 The default gettext translations /are/ IMO GPL, as they are supplied
 by gettext. 

Plain Gettext is GPL, but it's not some process running in the
background. It's a collection of completely independent utilities that
extract strings from source code into a human editable message catalog,
and compile it to a binary format again. It isn't executed during
runtime of the localized application. 

Then there is gettext-commons, that Al Maw linked to. It's a library
that makes it easy to retrieve strings from gettext catalogs in Java. It
is not GPL but LGPL as pointed out previously. 

Are you suggesting that translations become a derivative work of a
GPL'ed $program simply by virtue of having been touched in memory by
said $program?

 derivative works, and are hence (L)GPL licensed. If you want us to use
 gettext to provide our own translations under the ASL, then why not
 continue with the current bundles?

The reason called for .po files (instead of .properties bundles) in the
first place, is that a lot of gettext-based tools exist for translators
to make their task more comfortable.

  It is not like we are going to
 provide complete translations for all languages.

It would certainly be nice to have a good coverage, though!

regards,

-- 
Reinout van Schouwen




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Calling all translators - UrlValidator translation

2007-09-25 Thread Reinout van Schouwen
Op vrijdag 07-09-2007 om 16:33 uur [tijdzone +0100], schreef Alastair
Maw:

 We're unfortunately lacking translations for the default error message 
 in most languages. If you can help out for any of our supported 
 languages, please shout. Feel free to e-mail me them directly, or reply 
 to this thread with them. (You needn't bother with a proper patch unless 
 you want to.)
 
 The English in question is:
 '${input}' is not a valid URL.

As an Free software project, I'm a bit surprised Wicket doesn't use the
de facto way of supporting translations in open source land: gettext (or
does it?)

There's a bunch of specialized tools available for the gettext .po
format that free software translators have on their belt. Surely that
would work more producively than asking for translations on a mailing
list each time a new string is added!

Using the XLIFF format together with Sun's translation editor or OmegaT
would be another viable option.

regards,

-- 
Reinout van Schouwen





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Calling all translators - UrlValidator translation

2007-09-25 Thread Reinout van Schouwen
Hi Martijn,

Op dinsdag 25-09-2007 om 19:50 uur [tijdzone +0200], schreef Martijn
Dashorst:
 I doubt this is license compatible. GPL all around!

What are you referring to exactly?
http://gettext-commons.googlecode.com/svn/trunk/LICENSE.txt is LGPL.

The gettext utilities may be GPL, but they are not linked to directly or
indirectly as far as I can see. They are only used to create and manage
the message catalogs.

In fact I am 100% certain that an LGPL library like GTK+ has been
localized with gettext support for years without apparent license
problems!

regards,

-- 
Reinout van Schouwen




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Calling all translators - UrlValidator translation

2007-09-25 Thread Reinout van Schouwen
Hi Martijn,

Op woensdag 26-09-2007 om 00:57 uur [tijdzone +0200], schreef Martijn
Dashorst:
 LGPL is also problematic for Apache projects.

Are you sure? I don't think this holds any more:

http://gettext-commons.googlecode.com/svn/trunk/README states
This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) _any_later_version_.

(emphasis mine)

As you may know the Free Software Foundation has worked with Apache to
make version 3 of its licenses compatible with the Apache license.
Version 3 is available since a few months now. The article on
http://blogs.zdnet.com/Burnette/?p=153 backs up what I'm saying: 

In other words, LGPL code can be combined with code using any other
license, whether free, open, or proprietary. Unlike LGPLv2, this version
makes it very clear that linking or combining in any way is allowed. 

  And we can't use the texts coming out of such tools since they are (L)GPL 
 too.

Are you saying that user-created external data (translations) becomes
licensed under the same license as the (L)GPL program used to process
it? Sorry but I find that hard to believe-- I might have missed
something, but as far as I know, it works this way: the original author
of the translation retains copyright but licenses his work for
distribution under the same conditions as the accompanying program. Much
like regular code, actually.

regards,

-- 
Reinout van Schouwen




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Amsterdam Wicket course; October 6-7

2007-09-20 Thread Reinout van Schouwen
Op dinsdag 18-09-2007 om 16:49 uur [tijdzone -0700], schreef jweekend:

 If anyone would like this to happen, and we can find a suitable host, Al,
 who develops and delivers the course, and I can both make the weekend of
 October 6-7. The course is Apache Wicket 1.3 (JW703) and the details are 
 http://jweekend.co.uk/dev/JW703 here .

Depending a bit on price, I'd be interested in attending. (Although I
had planned to visit Software Freedom Day[1] on Oct. 6th...)

 PS If you would like to host the course in Amsterdam please contact us to
 discuss details.

ALthough it's one hour traveling away from Amsterdam, I could probably
arrange something in Rotterdam if needed.

[1] http://www.nllgg.nl/softwarefreedomday_2007

regards,

-- 
Reinout van Schouwen




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]