Time input in the Wicket DateTextField widget?

2009-05-12 Thread Peter Neubauer
Hi there,
I am wondering if there is any recommended way to enter the time, not
only the date, in Wicket? Right now I am using
timeTextField = new DateTextField("time", new Model(new Date()),
new StyleDateConverter(false));
timeTextField.add(new DatePicker());
form.add(timeTextField);

But that gives no nice widgets for the time 

/peter

GTalk:  neubauer.peter
Skype   peter.neubauer
Phone   +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter  http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - The Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org- New Energy for Java - Domain Driven Development.

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



Re: Wicketstuff 1.3.5 versions?

2009-01-28 Thread Peter Neubauer
Ah ok,
thanks!

/peter

Do Good. opencauses.org.

GTalk:  neubauer.peter
Skype   peter.neubauer
Phone   +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter  http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org- New Energy for Java - Domain Driven Development.




On Wed, Jan 28, 2009 at 2:01 PM, Martin Grigorov  wrote:
> There is a branch for 1.3.x
>
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3.x/
>
> El mié, 28-01-2009 a las 11:29 +0100, Peter Neubauer escribió:
>> Hi folks,
>> I added Gmap layer support to Wicketstuff-OpenLayers, but I am using
>> the 1.3.5 Wicket, all wicketstuff core is at Wicket 1.4-SNAPSHOT.
>>
>> Is there any chance to open a stable branch to get such stuff in
>> without being forced to upgrade Wicket to SNAPSHOT versions?
>>
>> /peter
>>
>> Do Good. opencauses.org.
>>
>> GTalk:  neubauer.peter
>> Skype   peter.neubauer
>> Phone   +46 704 106975
>> LinkedIn   http://www.linkedin.com/in/neubauer
>> Twitter  http://twitter.com/peterneubauer
>>
>> http://www.neo4j.org - New Energy for Data - the Graph Database.
>> http://www.ops4j.org - New Energy for OSS Communities - Open
>> Participation Software.
>> http://www.qi4j.org- New Energy for Java - Domain Driven Development.
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



Re: Wicketstuff 1.3.5 versions?

2009-01-28 Thread Peter Neubauer
Mmh,
probably this should be posted on the Wicket Developer list ...

/peter

Do Good. opencauses.org.

GTalk:  neubauer.peter
Skype   peter.neubauer
Phone   +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter  http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org- New Energy for Java - Domain Driven Development.




On Wed, Jan 28, 2009 at 11:29 AM, Peter Neubauer
 wrote:
> Hi folks,
> I added Gmap layer support to Wicketstuff-OpenLayers, but I am using
> the 1.3.5 Wicket, all wicketstuff core is at Wicket 1.4-SNAPSHOT.
>
> Is there any chance to open a stable branch to get such stuff in
> without being forced to upgrade Wicket to SNAPSHOT versions?
>
> /peter
>
> Do Good. opencauses.org.
>
> GTalk:  neubauer.peter
> Skype   peter.neubauer
> Phone   +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter  http://twitter.com/peterneubauer
>
> http://www.neo4j.org - New Energy for Data - the Graph Database.
> http://www.ops4j.org - New Energy for OSS Communities - Open
> Participation Software.
> http://www.qi4j.org- New Energy for Java - Domain Driven Development.
>

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



Wicketstuff 1.3.5 versions?

2009-01-28 Thread Peter Neubauer
Hi folks,
I added Gmap layer support to Wicketstuff-OpenLayers, but I am using
the 1.3.5 Wicket, all wicketstuff core is at Wicket 1.4-SNAPSHOT.

Is there any chance to open a stable branch to get such stuff in
without being forced to upgrade Wicket to SNAPSHOT versions?

/peter

Do Good. opencauses.org.

GTalk:  neubauer.peter
Skype   peter.neubauer
Phone   +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter  http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org- New Energy for Java - Domain Driven Development.

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



Re: Wicket-contrib-accordion and Wicket-datetime YUI version clash?

2008-12-30 Thread Peter Neubauer
Hi there,
now, updating the wicket-contrib-accordion YUI version to 2.4.1, the
one used in wicket-datetime, is solving the problem, here is the
patch!

Index: src/main/java/org/wicketstuff/accordion/AccordionPanel.java
===
--- src/main/java/org/wicketstuff/accordion/AccordionPanel.java (revision 4542)
+++ src/main/java/org/wicketstuff/accordion/AccordionPanel.java (working copy)
@@ -60,13 +60,13 @@
public void renderHead(IHeaderResponse response) {

response
-
.renderJavascriptReference("http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/yahoo_2.0.0-b2.js";);
+
.renderJavascriptReference("http://yui.yahooapis.com/2.4.1/build/yahoo/yahoo.js";);
response
-
.renderJavascriptReference("http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/event_2.0.0-b2.js";);
+
.renderJavascriptReference("http://yui.yahooapis.com/2.4.1/build/event/event.js";);
response
-
.renderJavascriptReference("http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/dom_2.0.2-b3.js";);
+
.renderJavascriptReference("http://yui.yahooapis.com/2.4.1/build/dom/dom.js";);
response
-
.renderJavascriptReference("http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/animation_2.0.0-b3.js";);
+
.renderJavascriptReference("http://yui.yahooapis.com/2.4.1/build/animation/animation.js";);
response.renderJavascriptReference(JAVASCRIPT);
response.renderCSSReference(STYLE);
};


/peter

Open Hearts, Open Minds, OpenCauses.

GTalk:  neubauer.peter
Skype   peter.neubauer
Phone   +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter  http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org- New Energy for Java - Domain Driven Development.




On Mon, Dec 29, 2008 at 10:13 PM, Peter Neubauer
 wrote:
> Hi there,
> when using a DateTimeField together with Wicket-contrib-accordion, it
> seems my DateTimeField JS gets corrupted by the followoing header
> contributors:
>
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml";>
>
>
>CivilOne - put it on the Map!
> type="text/css"/>
>
>
> src="<a  rel="nofollow" href="http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/yahoo_2.0.0-b2.js"">http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/yahoo_2.0.0-b2.js"</a>;>
>
>  src="<a  rel="nofollow" href="http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/event_2.0.0-b2.js"">http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/event_2.0.0-b2.js"</a>;>
>  src="<a  rel="nofollow" href="http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/dom_2.0.2-b3.js"">http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/dom_2.0.2-b3.js"</a>;>
>  src="<a  rel="nofollow" href="http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/animation_2.0.0-b3.js"">http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/animation_2.0.0-b3.js"</a>;>
>  src="resources/org.wicketstuff.accordion.AccordionPanel/accordion-menu-v2.js">
>  href="resources/se.waylabs.locus.LocusBasePage/accordion-menu-v2.css"
> />
>  src="resources/org.apache.wicket.extensions.yui.YuiLib/yuiloader-beta-min.js">
>  src="resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js">
> 

Wicket-contrib-accordion and Wicket-datetime YUI version clash?

2008-12-29 Thread Peter Neubauer
Hi there,
when using a DateTimeField together with Wicket-contrib-accordion, it
seems my DateTimeField JS gets corrupted by the followoing header
contributors:

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>


CivilOne - put it on the Map!



http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/yahoo_2.0.0-b2.js";>

http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/event_2.0.0-b2.js";>
http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/dom_2.0.2-b3.js";>
http://us.js2.yimg.com/us.js.yimg.com/lib/common/utils/2/animation_2.0.0-b3.js";>





Re: use of org.wicketstuff.yui.markup.html.calendar.Calendar

2008-12-29 Thread Peter Neubauer
Ok,
first, I should take DateTimeField, that gives the desired setup.
Anyway, now I am having JS YUI initialization errors when using the
component within my pages, so I guess I will have to disable JS
related stuff one by one and see what the offending other components
are.

Thanks for the help!

/peter

Open Hearts, Open Minds, OpenCauses.

GTalk:  neubauer.peter
Skype   peter.neubauer
Phone   +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter  http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org- New Energy for Java - Domain Driven Development.




On Mon, Dec 29, 2008 at 4:27 PM, Jeremy Thomerson
 wrote:
> Any JS errors?
>
> Jeremy Thomerson
> http://www.wickettraining.com
> -- sent from a wireless device
>
>
> -Original Message-
> From: Peter Neubauer 
> Sent: Monday, December 29, 2008 8:10 AM
> To: users@wicket.apache.org
> Subject: Re: use of org.wicketstuff.yui.markup.html.calendar.Calendar
>
> Hi there,
> thanks for the fast answers, got around to try it first now. So, the
> DateTextField works great with
> dateField= new DateTextField("date", new Model(new Date()), new
> StyleDateConverter(false));
> dateField.add(new DatePicker());
> form.add(dateField);
>
> However, if I click on the datepicker icon in my page, absolutely
> nothing happens, though it seems there is YUI headers and the yui.js
> at 
> resources/org.apache.wicket.extensions.yui.calendar.DatePicker/wicket-date.js
> available (URL taken from the source of my page).
>
> No reaction i both FF3 and Safari. Any idea why this could be?
>
> /peter
>
> Open Hearts, Open Minds, OpenCauses.
>
> GTalk:  neubauer.peter
> Skype   peter.neubauer
> Phone   +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter  http://twitter.com/peterneubauer
>
> http://www.neo4j.org - New Energy for Data - the Graph Database.
> http://www.ops4j.org - New Energy for OSS Communities - Open
> Participation Software.
> http://www.qi4j.org- New Energy for Java - Domain Driven Development.
>
>
>
>
> On Tue, Dec 23, 2008 at 11:52 PM, Jeremy Thomerson
>  wrote:
>> There is a Wicket core DatePicker now:
>> 1.4:
>> http://svn.apache.org/repos/asf/wicket/trunk/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/
>> 1.3:
>> http://svn.apache.org/repos/asf/wicket/branches/wicket-1.3.x/jdk-1.4/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/
>>
>>
>>
>> On Tue, Dec 23, 2008 at 4:42 PM, Nino Martinez >> wrote:
>>
>>> Hi Peter
>>>
>>> Just use it the ordinary way add a field containing a date, and ADD the
>>> datepicker to it...
>>>
>>> Like this:
>>>
>>>   add(dateField = new DateTextField("date", new PropertyModel(this,
>>>   "date")));
>>>   dateField.add(new DatePicker());
>>>
>>>
>>>
>>> Peter Neubauer wrote:
>>>
>>>> Hi there,
>>>> since Nino left the Jayway train, I am forced to work my way through
>>>> wicketstuff :)
>>>>
>>>> Now, I want to pick a date, and am wondering what the current
>>>> incarnation of a datepicker is that works with Wicket 1.3? I found the
>>>> org.wicketstuff.yui.markup.html.calendar.Calendar and can insert it
>>>> into a page but I am not sure how to get out the chosen date in the
>>>> widget from the component. Are there any examples of the usage or am I
>>>> on the wrong track here?
>>>>
>>>> Cheers and Happy Christmas to all the Wicket folks!
>>>>
>>>> /peter
>>>>
>>>> Open Hearts, Open Minds, OpenCauses.
>>>>
>>>> GTalk:  neubauer.peter
>>>> Skype   peter.neubauer
>>>> Phone   +46 704 106975
>>>> LinkedIn   http://www.linkedin.com/in/neubauer
>>>> Twitter  http://twitter.com/peterneubauer
>>>>
>>>> http://www.neo4j.org - New Energy for Data - the Graph Database.
>>>> http://www.ops4j.org - New Energy for OSS Communities - Open
>>>> Participation Software.
>>>> http://www.qi4j.org- New Energy for Java - Domain Driven
>>>> Development.
>>>>
>>>> -
>>>> To unsubscribe, e-mail: users-unsubs

Re: use of org.wicketstuff.yui.markup.html.calendar.Calendar

2008-12-29 Thread Peter Neubauer
Hi there,
thanks for the fast answers, got around to try it first now. So, the
DateTextField works great with
dateField= new DateTextField("date", new Model(new Date()), new
StyleDateConverter(false));
dateField.add(new DatePicker());
form.add(dateField);

However, if I click on the datepicker icon in my page, absolutely
nothing happens, though it seems there is YUI headers and the yui.js
at resources/org.apache.wicket.extensions.yui.calendar.DatePicker/wicket-date.js
available (URL taken from the source of my page).

No reaction i both FF3 and Safari. Any idea why this could be?

/peter

Open Hearts, Open Minds, OpenCauses.

GTalk:  neubauer.peter
Skype   peter.neubauer
Phone   +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter  http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org- New Energy for Java - Domain Driven Development.




On Tue, Dec 23, 2008 at 11:52 PM, Jeremy Thomerson
 wrote:
> There is a Wicket core DatePicker now:
> 1.4:
> http://svn.apache.org/repos/asf/wicket/trunk/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/
> 1.3:
> http://svn.apache.org/repos/asf/wicket/branches/wicket-1.3.x/jdk-1.4/wicket-datetime/src/main/java/org/apache/wicket/extensions/yui/calendar/
>
>
>
> On Tue, Dec 23, 2008 at 4:42 PM, Nino Martinez > wrote:
>
>> Hi Peter
>>
>> Just use it the ordinary way add a field containing a date, and ADD the
>> datepicker to it...
>>
>> Like this:
>>
>>   add(dateField = new DateTextField("date", new PropertyModel(this,
>>   "date")));
>>   dateField.add(new DatePicker());
>>
>>
>>
>> Peter Neubauer wrote:
>>
>>> Hi there,
>>> since Nino left the Jayway train, I am forced to work my way through
>>> wicketstuff :)
>>>
>>> Now, I want to pick a date, and am wondering what the current
>>> incarnation of a datepicker is that works with Wicket 1.3? I found the
>>> org.wicketstuff.yui.markup.html.calendar.Calendar and can insert it
>>> into a page but I am not sure how to get out the chosen date in the
>>> widget from the component. Are there any examples of the usage or am I
>>> on the wrong track here?
>>>
>>> Cheers and Happy Christmas to all the Wicket folks!
>>>
>>> /peter
>>>
>>> Open Hearts, Open Minds, OpenCauses.
>>>
>>> GTalk:  neubauer.peter
>>> Skype   peter.neubauer
>>> Phone   +46 704 106975
>>> LinkedIn   http://www.linkedin.com/in/neubauer
>>> Twitter  http://twitter.com/peterneubauer
>>>
>>> http://www.neo4j.org - New Energy for Data - the Graph Database.
>>> http://www.ops4j.org - New Energy for OSS Communities - Open
>>> Participation Software.
>>> http://www.qi4j.org- New Energy for Java - Domain Driven
>>> Development.
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>>
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>

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



Re: DropDownChoice Dynamically adding a panel

2008-12-23 Thread Peter Neubauer
I think the concept is explained here:
http://www.nabble.com/Show-hide-WebMarkupContainer-td19290460.html

HTH

/peter

Open Hearts, Open Minds, OpenCauses.

GTalk:  neubauer.peter
Skype   peter.neubauer
Phone   +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter  http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org- New Energy for Java - Domain Driven Development.




On Tue, Dec 23, 2008 at 10:20 PM, wicketworker  wrote:
>
> Thanks Peter.. Yes, Lets wait and see any body has done this..
>
>
>
> Peter Neubauer-3 wrote:
>>
>> Hi Siva,
>> I am not sure but I have seen this being done with a placeholder panel
>> that you replace with the chosen one upon changing of the choice,
>> using placeholder.replaceWith(newPanel) ... maybe someone else can
>> explain it more in detail?
>>
>> /peter
>>
>> Open Hearts, Open Minds, OpenCauses.
>>
>> GTalk:  neubauer.peter
>> Skype   peter.neubauer
>> Phone   +46 704 106975
>> LinkedIn   http://www.linkedin.com/in/neubauer
>> Twitter  http://twitter.com/peterneubauer
>>
>> http://www.neo4j.org - New Energy for Data - the Graph Database.
>> http://www.ops4j.org - New Energy for OSS Communities - Open
>> Participation Software.
>> http://www.qi4j.org- New Energy for Java - Domain Driven
>> Development.
>>
>>
>>
>>
>> On Tue, Dec 23, 2008 at 9:56 PM, wicketworker 
>> wrote:
>>>
>>> Hi,
>>> I have a DropDownChoice with 5 selections, and based on the choice the
>>> user
>>> selected, i need to add a specific panel (out of 5 panels) to the page..
>>> For example : If user selection is A, add panel A
>>>   If user selection is B, add panel B
>>>
>>> I know this might sound very basic, but i am new to wicket..
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/DropDownChoice-Dynamically-adding-a-panel-tp21151136p21151136.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/DropDownChoice-Dynamically-adding-a-panel-tp21151136p21151500.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



Re: DropDownChoice Dynamically adding a panel

2008-12-23 Thread Peter Neubauer
Hi Siva,
I am not sure but I have seen this being done with a placeholder panel
that you replace with the chosen one upon changing of the choice,
using placeholder.replaceWith(newPanel) ... maybe someone else can
explain it more in detail?

/peter

Open Hearts, Open Minds, OpenCauses.

GTalk:  neubauer.peter
Skype   peter.neubauer
Phone   +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter  http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org- New Energy for Java - Domain Driven Development.




On Tue, Dec 23, 2008 at 9:56 PM, wicketworker  wrote:
>
> Hi,
> I have a DropDownChoice with 5 selections, and based on the choice the user
> selected, i need to add a specific panel (out of 5 panels) to the page..
> For example : If user selection is A, add panel A
>   If user selection is B, add panel B
>
> I know this might sound very basic, but i am new to wicket..
>
>
>
>
> --
> View this message in context: 
> http://www.nabble.com/DropDownChoice-Dynamically-adding-a-panel-tp21151136p21151136.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

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



use of org.wicketstuff.yui.markup.html.calendar.Calendar

2008-12-23 Thread Peter Neubauer
Hi there,
since Nino left the Jayway train, I am forced to work my way through
wicketstuff :)

Now, I want to pick a date, and am wondering what the current
incarnation of a datepicker is that works with Wicket 1.3? I found the
org.wicketstuff.yui.markup.html.calendar.Calendar and can insert it
into a page but I am not sure how to get out the chosen date in the
widget from the component. Are there any examples of the usage or am I
on the wrong track here?

Cheers and Happy Christmas to all the Wicket folks!

/peter

Open Hearts, Open Minds, OpenCauses.

GTalk:  neubauer.peter
Skype   peter.neubauer
Phone   +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter  http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org- New Energy for Java - Domain Driven Development.

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



Re: Problems with wicketstuff-contrib-jasperreports

2008-04-12 Thread Peter Neubauer
Thanks,
That worked great!

/peter

On 4/4/08, Maurice Marrink <[EMAIL PROTECTED]> wrote:
> Not sure what the status is of that project, but it not that hard to
> do it yourself.
> Something like this should get you started.
>
> InputStream is = getClass().getResourceAsStream("template.jrxml");
> JasperDesign design = JRXmlLoader.load(is);
> //do something with template
> JasperReport report = JasperCompileManager.compileReport(design);
> JRCsvDataSource source = new JRCsvDataSource(someReader);
> JasperPrint print = JasperFillManager.fillReport(report, parameters,
> source);
> File file = File.createTempFile("list", ".pdf");
> JasperExportManager.exportReportToPdfFile(print, file.getPath());
> IResourceStream stream = new SomeCustomPdfImpl(file)
> getRequestCycle().setRequestTarget(new ResourceStreamRequestTarget(stream));
> getRequestCycle().setRedirect(false);
>
> Maurice
>
> On Thu, Apr 3, 2008 at 11:10 PM, Peter Neubauer
> <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >  I tried using a copy of the page at
> >
> http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-jasperreports/src/examples/java/wicket/contrib/jasperreports/examples/ReportLinksPage.java
> >  to get some Jasperreport out, but instead, I am getting
> >  ERROR - RequestCycle   -
> >  java.lang.NullPointerException
> >at java.util.HashMap.(HashMap.java:217)
> >at
> wicket.contrib.jasperreports.JRResource.getReportParameters(JRResource.java:256)
> >at
> wicket.contrib.jasperreports.JRResource.newJasperPrint(JRResource.java:444)
> >at
> wicket.contrib.jasperreports.JRResource.getResourceState(JRResource.java:376)
> >at
> org.apache.wicket.markup.html.DynamicWebResource$1.checkLoadData(DynamicWebResource.java:265)
> >
> >
> >  It seems that in
> >
> http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-jasperreports/src/java/wicket/contrib/jasperreports/JRResource.java
> >  setReportParameters is never called anywhere in the project.
> >
> >  Is this still worth to pursue or is there a better way to serve Jasper
> >  reports via some method in Wicket?
> >
> >  Cheers
> >
> >  --
> >  GTalk: neubauer.peter
> >  Skype peter.neubauer
> >  ICQ 18762544
> >  GTalk neubauer.peter
> >  Phone +46704 106975
> >  LinkedIn http://www.linkedin.com/in/neubauer
> >
> >  http://www.neo4j.org - New Energy for Data - the Netbase.
> >  http://www.ops4j.org - New Energy for OSS Communities - Open
> >  Participation Software.
> >  http://www.qi4j.org - New Energy for Java - Domain Driven Development.
> >
> >  -
> >  To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
GTalk:neubauer.peter
Skypepeter.neubauer
ICQ18762544
GTalkneubauer.peter
Phone   +46704 106975
LinkedIn   http://www.linkedin.com/in/neubauer

http://www.neo4j.org - New Energy for Data - the Netbase.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org- New Energy for Java - Domain Driven Development.

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



Problems with wicketstuff-contrib-jasperreports

2008-04-03 Thread Peter Neubauer
Hi all,
I tried using a copy of the page at
http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-jasperreports/src/examples/java/wicket/contrib/jasperreports/examples/ReportLinksPage.java
to get some Jasperreport out, but instead, I am getting
ERROR - RequestCycle   -
java.lang.NullPointerException
   at java.util.HashMap.(HashMap.java:217)
   at 
wicket.contrib.jasperreports.JRResource.getReportParameters(JRResource.java:256)
   at 
wicket.contrib.jasperreports.JRResource.newJasperPrint(JRResource.java:444)
   at 
wicket.contrib.jasperreports.JRResource.getResourceState(JRResource.java:376)
   at 
org.apache.wicket.markup.html.DynamicWebResource$1.checkLoadData(DynamicWebResource.java:265)


It seems that in
http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-jasperreports/src/java/wicket/contrib/jasperreports/JRResource.java
setReportParameters is never called anywhere in the project.

Is this still worth to pursue or is there a better way to serve Jasper
reports via some method in Wicket?

Cheers

-- 
GTalk: neubauer.peter
Skype peter.neubauer
ICQ 18762544
GTalk neubauer.peter
Phone +46704 106975
LinkedIn http://www.linkedin.com/in/neubauer

http://www.neo4j.org - New Energy for Data - the Netbase.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.

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



Re: openlayers

2008-01-24 Thread Peter Neubauer
Cool,
I hope we can get this to a more stable state in the next couple of
days so others can jump in and help out. Is anyone interested? The OL
and GeoServer combo seems to be a very appealing combination for
rolling your own mapping  apps.

/peter

On Jan 24, 2008 5:42 PM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
> i've begun work on this.. currently its VERY unstable and unrecommended
> to use..
>
>
> Nino Saturnino Martinez Vazquez Wael wrote:
> > Hi
> >
> > At some point someone talked about creating something around open
> > layers. However nothing but the project structure are checked in, so I
> > guess i'll continue on that, if its okay?
> >
> >
> > regards
> >
>
> --
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
GTalk:neubauer.peter
Skypepeter.neubauer
ICQ18762544
GTalkneubauer.peter
Phone   +46704 106975
Mail   [EMAIL PROTECTED]
LinkedIn   http://www.linkedin.com/in/neubauer

http://www.neo4j.org - New Energy for Data - the Netbase.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org- New Energy for Java - Domain Driven Development.

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



Re: AccessControlException whenstarting Wicket1.3

2007-10-25 Thread Peter Neubauer
Ok,
thanks!

I tried to insert the permissions into the
/etc/tomcat5/policy.d/04webapps.policy file under kubuntu 7.10 but
without success. disabling the security in /etc/init.d/tomcat5 solved
the symptoms but is of course not optimal.

Maybe the mentioned permissions need to be set on system level in tomcat?

/peter

On 10/25/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> On 10/25/07, Maurice Marrink <[EMAIL PROTECTED]> wrote:
> > Looks like tomcat is running under a securitymanager. according to the
> > wiki you might need to add a few permissions, however they did not
> > mention anything about mbeans.
> >
> > http://cwiki.apache.org/WICKET/java-security-permissions.html
>
> Indeed. I've added catch statements for the two properties. Should run
> without problems now.
>
> Eelco
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
GTalk:neubauer.peter
Skype:   peter.neubauer
ICQ:   18762544
Phone:   +46704 106975
Mail:   [EMAIL PROTECTED]

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



AccessControlException whenstarting Wicket1.3

2007-10-25 Thread Peter Neubauer
Hi there,
trying to start a very simple Wicket app under Tomcat5 on Linux, I get
the following Exception. Is there a problem with the Java permissions
or maybe Linux file permisstions?

This is a standard Tomcat installation, the web.xml looks like:


http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/TR/xmlschema-1/";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">
MyApp

WicketFilter
org.apache.wicket.protocol.http.WicketFilter

applicationClassName
myapp.hello.MyApp



WicketFilter
/app/*




Any hints are appreciated!

Cheers

/peter


2007-10-25 14:04:10 StandardContext[/MyApp]Exception starting filter
WicketFilter
java.security.AccessControlException: access denied
(java.util.PropertyPermission wicket.mbean.server.agentid read)
at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at 
java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at 
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
at java.lang.System.getProperty(System.java:628)
at org.apache.wicket.jmx.Initializer.init(Initializer.java:99)
at org.apache.wicket.Application.callInitializers(Application.java:804)
at 
org.apache.wicket.Application.initializeComponents(Application.java:638)
at 
org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:485)
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:225)
at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)
at 
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:79)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3702)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4329)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at 
org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:811)
at 
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:805)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at 
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216)
at org.apache.commons.digester.Rule.end(Rule.java:230)
at org.apache.commons.digester.Digester.endElement(Digester.java:1163)
at 
org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1699)
at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at 
org.apache.catalina.core.StandardEngine.