how to use AjaxRequestTarget in conjunction with a FormComponent.AbstractVisitor?

2008-08-21 Thread Ned Collyer

I have a form that has its elements treated with various things (required
text, labels etc) - these get added by a FormComponent.AbstractVisitor in
the onBeforeRender of the form.

In the form I have a AjaxFormComponentUpdatingBehavior which adds another
panel into the form when certain conditions are met.  This new panel has
form fields.

The problem is - the items in the new panel the visitor during the ajax
request.

They do when I refresh the entire page.

How can I get the form visitor to be applied to these fields during an ajax
request?


Rgds

Ned



-- 
View this message in context: 
http://www.nabble.com/how-to-use-AjaxRequestTarget-in-conjunction-with-a-FormComponent.AbstractVisitor--tp19082965p19082965.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: how to use AjaxRequestTarget in conjunction with a FormComponent.AbstractVisitor?

2008-08-21 Thread Timo Rantalaiho
On Wed, 20 Aug 2008, Ned Collyer wrote:
 In the form I have a AjaxFormComponentUpdatingBehavior which adds another
 panel into the form when certain conditions are met.  This new panel has
 form fields.
 
 The problem is - the items in the new panel the visitor during the ajax
 request.
 
 They do when I refresh the entire page.
 
 How can I get the form visitor to be applied to these fields during an ajax
 request?

Add the new Panel always, but toggle its visibility in the 
ajax event handler. Or move the visibility logic in the 
isVisible() method of the Panel:

@Override 
public boolean isVisible() {
return certainConditionsAreMet();
}

Best wishes,
Timo

-- 
Timo Rantalaiho   
Reaktor Innovations OyURL: http://www.ri.fi/ 

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



CheckGroup updateModel() bug?

2008-08-21 Thread Ritesh Trivedi

Hi,

Is there a reason why CheckGroup.updateModel() does not call
setModelObject()? If I create Checkgroup with the following 

CheckGroup myCheckGroup = new CheckGroup(id, new Model() { public Object
getObject() { return whatever;}}); 

Later on - call to myCheckGroup.getModelObject() returns null ! 

Not sure if this is intended behavior - but its definitely strange.


Here is an excerpt from CheckGroup.java - else block is not setting the
model object.

public void updateModel()
{
Collection collection = (Collection)getModelObject();
if (collection == null)
{
collection = (Collection)getConvertedInput();
setModelObject(collection);
}
else
{
modelChanging();
collection.clear();
collection.addAll((Collection)getConvertedInput());
modelChanged();
}
}
-- 
View this message in context: 
http://www.nabble.com/CheckGroup-updateModel%28%29-bug--tp19083157p19083157.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: how to use AjaxRequestTarget in conjunction with a FormComponent.AbstractVisitor?

2008-08-21 Thread Ned Collyer

Thanks for the reply - however some aspects of the panel are generated
dynamically based on the selection

eg, a dropdown for Number of textfields - if you choose 3, it adds 3 to
the panel then puts it into the page with ajax.

So I dont think this will work.

I could perhaps wrap these added fields in their own form and nest that with
its own visitor - just feels a bit nasty.


Timo Rantalaiho wrote:
 
 On Wed, 20 Aug 2008, Ned Collyer wrote:
 In the form I have a AjaxFormComponentUpdatingBehavior which adds another
 panel into the form when certain conditions are met.  This new panel has
 form fields.
 
 The problem is - the items in the new panel the visitor during the ajax
 request.
 
 They do when I refresh the entire page.
 
 How can I get the form visitor to be applied to these fields during an
 ajax
 request?
 
 Add the new Panel always, but toggle its visibility in the 
 ajax event handler. Or move the visibility logic in the 
 isVisible() method of the Panel:
 
   @Override 
   public boolean isVisible() {
   return certainConditionsAreMet();
   }
 
 Best wishes,
 Timo
 
 -- 
 Timo Rantalaiho   
 Reaktor Innovations OyURL: http://www.ri.fi/ 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/how-to-use-AjaxRequestTarget-in-conjunction-with-a-FormComponent.AbstractVisitor--tp19082965p19083160.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Weird WicketRuntimeException: how is this possible?

2008-08-21 Thread Piller Sébastien
It seems to run fine with 1.3.4. I don't know why I had so much problems 
with 1.3.2 and 1.3.3


Thanks ;)

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



Paging query relating to IDataProvider and Lucene search

2008-08-21 Thread rgoodwin

Hello,

I'm trying to solve a variation on a standard problem regarding running
searches for paged results and displaying paging links.

Unfortunately for me, I cannot use the standard PagingNavigator / DataView /
IDataProvider solution for this. Wicket's top-down approach to processing
has a consequence in that there must be separate queries run for size and
data.

But our current web app retrieves its data from Lucene search results.
A Lucene query returns both results and size simultaneously.
Only 1 query is performed.


The paging related and DataView are calling IDataProvider.size() early on,
before calling iterator() and passing the offset. Of course this fits
perfectly for most users and I see from the code why it has to be done like
this. But this also seems to conflict with a data service tier expecting to
perform a single query to return both results ans size in one, e.g. like
Lucene or when using a Transfer Object pattern.

Is there any easy way to subclass either PagingNavigator or associated
classes so that they don't get involved with IPageable until after all data
is loaded?


---

Not as weird a suggestion as you might think.
Having paging defer it's configuration until last is exactly how our current
servlet/JSP app works.
So no need to get hold of size before querying for paged results.

1. User clicks paging link which sends an offset value
2. Server performs Lucene search which returns size and hits
3. A paged subset of results starting at offset are made ready for
presentation
4. Server creates Paging class with the latest offset and size etc
5. Server hands over to JSP
6. JSP renders results and renders paging links


Wicket sequence seems approximately the opposite:

1. User clicks paging link which sends page number
2. PagingNavigationLink calls its IPageable.getPageCount()
3. IPageable then calls IDataProvider.size()
4. Query 1 is run to get size
3. DataView calls IDataProvider to get size()
4. DataView then calls iterator() to get results
5. Query 2 is run to get results
4. Then page rendering starts?

With only a basic understanding of the Wicket api, it seems to me data
loading and component configuration stages are interwoven?


I already wrote an alternative to IDataProvider and DataView that supports
single query for size and data,
and posted the code for this to Jira ticket WICKET-1784.

Would now like to develop an alternative paging component to solve the
problem completely, in that the paging behaves like our current solution,
e.g. it 'reacts' to the latest data after it's loaded, rather than try to
predict it.


Many thanks.
-- 
View this message in context: 
http://www.nabble.com/Paging-query-relating-to-IDataProvider-and-Lucene-search-tp19083164p19083164.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



NotSerializableException: java.util.RandomAccessSubList

2008-08-21 Thread Marieke Vandamme

Hello,

I'm using a rather complex CompoundPropertyModel on my Form. That Form
contains multiple Panels that also use the same CompoundPropertyModel. So I
can't post any source code, but I hope my stacktrace will be enough.

I also found a rather simular problem on the jira site, but not for wicket
but MyFaces. 
http://issues.apache.org/jira/browse/TRINIDAD-27

Should I post this on the jira for wicket or am I doing something wrong?
Thanks !


ERROR - Error serializing object class
com.tvh.website.application.external.ApplicationPage [object=[Page class =
com.tvh.website.application.external.ApplicationPage, id = 0, version = 0,
ajax = 2]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class: java.util.RandomAccessSubList
Field hierarchy is:
  0 [class=com.tvh.website.application.external.ApplicationPage, path=0]
private java.lang.Object org.apache.wicket.MarkupContainer.children
[class=[Ljava.lang.Object;]
  private java.lang.Object org.apache.wicket.MarkupContainer.children[2]
[class=org.apache.wicket.markup.html.form.SubmitLink,
path=0:btnSubmitApplicant]
private org.apache.wicket.markup.html.form.Form
org.apache.wicket.markup.html.form.AbstractSubmitLink.form
[class=com.tvh.website.application.ApplicantPanel$ApplicantForm,
path=0:pnlApplicant:webform]
  java.lang.Object org.apache.wicket.Component.data
[class=org.apache.wicket.model.CompoundPropertyModel]
private java.lang.Object
org.apache.wicket.model.CompoundPropertyModel.target
[class=com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean]
  private java.util.HashMap
com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean.extras
[class=java.util.HashMap]
private java.util.HashMap
com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean.extras[write:1][write:2]
[class=java.util.RandomAccessSubList] - field that is not serializable
at
org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:349)
at
org.apache.wicket.util.io.SerializableChecker.access$500(SerializableChecker.java:63)
at
org.apache.wicket.util.io.SerializableChecker$1InterceptingObjectOutputStream.replaceObject(SerializableChecker.java:497)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1116)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
at java.util.HashMap.writeObject(HashMap.java:1001)
at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
at
org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:504)
at
org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
at
org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
at
org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
at
org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
at
org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
at
org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
at
org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
at
org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
at
org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:395)
at
org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
at
org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
at
org.apache.wicket.util.io.SerializableChecker.writeObjectOverride(SerializableChecker.java:687)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:322)
at
org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory$2.writeObjectOverride(IObjectStreamFactory.java:127)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:322)
at
org.apache.wicket.util.lang.Objects.objectToByteArray(Objects.java:1097)
at
org.apache.wicket.protocol.http.pagestore.AbstractPageStore.serializePage(AbstractPageStore.java:200)
at

Re: NotSerializableException: java.util.RandomAccessSubList

2008-08-21 Thread John Patterson

Any object stored in a model must be serializable and your object
com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean
is not.

You can either make it serializable or use a model that finds your
ExternalApplicationBean when it loads e.g. LoadableDetachableModel.  You can
even nest this model inside a CompoundPropertyModel like

new CompoundPropertyModel(new
MyBeanFindingLoadableDetachableModel(myBeansId)))

JD

The issue is due to how wicket saves pages to disc in order to support the
back button.


Marieke Vandamme wrote:
 
 Hello,
 
 I'm using a rather complex CompoundPropertyModel on my Form. That Form
 contains multiple Panels that also use the same CompoundPropertyModel. So
 I can't post any source code, but I hope my stacktrace will be enough.
 
 I also found a rather simular problem on the jira site, but not for wicket
 but MyFaces. 
 http://issues.apache.org/jira/browse/TRINIDAD-27
 
 Should I post this on the jira for wicket or am I doing something wrong?
 Thanks !
 
 
 ERROR - Error serializing object class
 com.tvh.website.application.external.ApplicationPage [object=[Page class =
 com.tvh.website.application.external.ApplicationPage, id = 0, version = 0,
 ajax = 2]]
 org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
 Unable to serialize class: java.util.RandomAccessSubList
 Field hierarchy is:
   0 [class=com.tvh.website.application.external.ApplicationPage, path=0]
 private java.lang.Object org.apache.wicket.MarkupContainer.children
 [class=[Ljava.lang.Object;]
   private java.lang.Object
 org.apache.wicket.MarkupContainer.children[2]
 [class=org.apache.wicket.markup.html.form.SubmitLink,
 path=0:btnSubmitApplicant]
 private org.apache.wicket.markup.html.form.Form
 org.apache.wicket.markup.html.form.AbstractSubmitLink.form
 [class=com.tvh.website.application.ApplicantPanel$ApplicantForm,
 path=0:pnlApplicant:webform]
   java.lang.Object org.apache.wicket.Component.data
 [class=org.apache.wicket.model.CompoundPropertyModel]
 private java.lang.Object
 org.apache.wicket.model.CompoundPropertyModel.target
 [class=com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean]
   private java.util.HashMap
 com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean.extras
 [class=java.util.HashMap]
 private java.util.HashMap
 com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean.extras[write:1][write:2]
 [class=java.util.RandomAccessSubList] - field that is not
 serializable
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:349)
 at
 org.apache.wicket.util.io.SerializableChecker.access$500(SerializableChecker.java:63)
 at
 org.apache.wicket.util.io.SerializableChecker$1InterceptingObjectOutputStream.replaceObject(SerializableChecker.java:497)
 at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1116)
 at
 java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
 at java.util.HashMap.writeObject(HashMap.java:1001)
 at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
 at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
 at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 at
 java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:504)
 at
 org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
 at
 org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
 at
 org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
 at
 org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:395)
 at
 org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
 at
 

Re: Custom PageMap

2008-08-21 Thread Erik van Oosten

 The data is not serializable and is needed in several pages as a part
of one
transaction

- Not serializable:
Well that is a hick up. This of course also means that you can not do
clustering. I would put the data directly in the HTTP session, or in
your own sub class of Wicket's WebSession. I think the page map is no
longer available (though perhaps that depends on the page store you select).

- Part of one transaction.
Do you really mean like JTA transaction? Or are you talking about a
conversation (which was what I assumed).
Having multiple requests in one (JTA) transaction is not very common. I
guess if this is the case a reference to the transaction is part of your
non-serializable data.
If you did mean conversation/wizard kind of data, then the earlier
advice holds.

Good luck,
Erik.


John Patterson wrote:
 The data is not serializable and is needed in several pages as a part of one
 transaction


 Erik van Oosten wrote:
   
 John, if you keep your conversation data in the component (as a java 
 field), and you work with listeners in that component (e.g. with a 
 Link), that data is available in the listener (e.g. Link's onClick 
 callback method).

 While coding the component you should not worry about where that data is 
 stored between requests. Of course you can influence this by choosing a 
 page store during application initialization. The default however, is 
 mostly the best choice.

 Regards,
  Erik.



 John Patterson wrote:
 
 Hi, I need to store some kind of multi-request transaction data somewhere
 and
 I guess that the PageMap is a better place than the session.  I don't see
 much talk of custom page maps on the list.  Are they still a recommended
 way
 to store things for a browser window?

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



 

   

-- 

--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/



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



Re: NotSerializableException: java.util.RandomAccessSubList

2008-08-21 Thread Nino Saturnino Martinez Vazquez Wael



John Patterson wrote:

Any object stored in a model must be serializable and your object
com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean
is not.

You can either make it serializable or use a model that finds your
ExternalApplicationBean when it loads e.g. LoadableDetachableModel.  You can
even nest this model inside a CompoundPropertyModel like

  

This would be the way to go:)

new CompoundPropertyModel(new
MyBeanFindingLoadableDetachableModel(myBeansId)))
  
Or you could just extend the LoadableDetachableModel where you use it 
and implement the load method...

JD

The issue is due to how wicket saves pages to disc in order to support the
back button.


Marieke Vandamme wrote:
  

Hello,

I'm using a rather complex CompoundPropertyModel on my Form. That Form
contains multiple Panels that also use the same CompoundPropertyModel. So
I can't post any source code, but I hope my stacktrace will be enough.

I also found a rather simular problem on the jira site, but not for wicket
but MyFaces. 
http://issues.apache.org/jira/browse/TRINIDAD-27


Should I post this on the jira for wicket or am I doing something wrong?
Thanks !


ERROR - Error serializing object class
com.tvh.website.application.external.ApplicationPage [object=[Page class =
com.tvh.website.application.external.ApplicationPage, id = 0, version = 0,
ajax = 2]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
Unable to serialize class: java.util.RandomAccessSubList
Field hierarchy is:
  0 [class=com.tvh.website.application.external.ApplicationPage, path=0]
private java.lang.Object org.apache.wicket.MarkupContainer.children
[class=[Ljava.lang.Object;]
  private java.lang.Object
org.apache.wicket.MarkupContainer.children[2]
[class=org.apache.wicket.markup.html.form.SubmitLink,
path=0:btnSubmitApplicant]
private org.apache.wicket.markup.html.form.Form
org.apache.wicket.markup.html.form.AbstractSubmitLink.form
[class=com.tvh.website.application.ApplicantPanel$ApplicantForm,
path=0:pnlApplicant:webform]
  java.lang.Object org.apache.wicket.Component.data
[class=org.apache.wicket.model.CompoundPropertyModel]
private java.lang.Object
org.apache.wicket.model.CompoundPropertyModel.target
[class=com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean]
  private java.util.HashMap
com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean.extras
[class=java.util.HashMap]
private java.util.HashMap
com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean.extras[write:1][write:2]
[class=java.util.RandomAccessSubList] - field that is not
serializable
at
org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:349)
at
org.apache.wicket.util.io.SerializableChecker.access$500(SerializableChecker.java:63)
at
org.apache.wicket.util.io.SerializableChecker$1InterceptingObjectOutputStream.replaceObject(SerializableChecker.java:497)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1116)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
at java.util.HashMap.writeObject(HashMap.java:1001)
at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
at
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
at
org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:504)
at
org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
at
org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
at
org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
at
org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
at
org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
at
org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
at
org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
at
org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
at
org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:395)
at
org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
at

Re: NotSerializableException: java.util.RandomAccessSubList

2008-08-21 Thread Marieke Vandamme


My ExternalApplicationBean IS serializable, it's
java.util.RandomAccessSubList that isn't serializable but that's something I
can't change I guess..
My ExternalApplicationBean holds a HashMapString,List

Please look at the jira issue for MyFaces 
http://issues.apache.org/jira/browse/TRINIDAD-27
and the line
List.subList() does not return a serializable object, because it can return
a RandomAccessSubList, which is not serializable.


John Patterson wrote:
 
 Any object stored in a model must be serializable and your object
 com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean
 is not.
 
 You can either make it serializable or use a model that finds your
 ExternalApplicationBean when it loads e.g. LoadableDetachableModel.  You
 can even nest this model inside a CompoundPropertyModel like
 
 new CompoundPropertyModel(new
 MyBeanFindingLoadableDetachableModel(myBeansId)))
 
 JD
 
 The issue is due to how wicket saves pages to disc in order to support the
 back button.
 
 
 Marieke Vandamme wrote:
 
 Hello,
 
 I'm using a rather complex CompoundPropertyModel on my Form. That Form
 contains multiple Panels that also use the same CompoundPropertyModel. So
 I can't post any source code, but I hope my stacktrace will be enough.
 
 I also found a rather simular problem on the jira site, but not for
 wicket but MyFaces. 
 http://issues.apache.org/jira/browse/TRINIDAD-27
 
 Should I post this on the jira for wicket or am I doing something wrong?
 Thanks !
 
 
 ERROR - Error serializing object class
 com.tvh.website.application.external.ApplicationPage [object=[Page class
 = com.tvh.website.application.external.ApplicationPage, id = 0, version =
 0, ajax = 2]]
 org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
 Unable to serialize class: java.util.RandomAccessSubList
 Field hierarchy is:
   0 [class=com.tvh.website.application.external.ApplicationPage, path=0]
 private java.lang.Object org.apache.wicket.MarkupContainer.children
 [class=[Ljava.lang.Object;]
   private java.lang.Object
 org.apache.wicket.MarkupContainer.children[2]
 [class=org.apache.wicket.markup.html.form.SubmitLink,
 path=0:btnSubmitApplicant]
 private org.apache.wicket.markup.html.form.Form
 org.apache.wicket.markup.html.form.AbstractSubmitLink.form
 [class=com.tvh.website.application.ApplicantPanel$ApplicantForm,
 path=0:pnlApplicant:webform]
   java.lang.Object org.apache.wicket.Component.data
 [class=org.apache.wicket.model.CompoundPropertyModel]
 private java.lang.Object
 org.apache.wicket.model.CompoundPropertyModel.target
 [class=com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean]
   private java.util.HashMap
 com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean.extras
 [class=java.util.HashMap]
 private java.util.HashMap
 com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean.extras[write:1][write:2]
 [class=java.util.RandomAccessSubList] - field that is not
 serializable
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:349)
 at
 org.apache.wicket.util.io.SerializableChecker.access$500(SerializableChecker.java:63)
 at
 org.apache.wicket.util.io.SerializableChecker$1InterceptingObjectOutputStream.replaceObject(SerializableChecker.java:497)
 at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1116)
 at
 java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
 at java.util.HashMap.writeObject(HashMap.java:1001)
 at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
 at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
 at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 at
 java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:504)
 at
 org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
 at
 org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
 at
 org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
 at
 

Re: Paging query relating to IDataProvider and Lucene search

2008-08-21 Thread John Patterson

Why don't you just cache your hits in your dataprovider in the constructor
and access it for both size() and iterator(int, int)?

I use Lucene for a DataView this way without a problem.


rgoodwin wrote:
 
 Hello,
 
 I'm trying to solve a variation on a standard problem regarding running
 searches for paged results and displaying paging links.
 
 Unfortunately for me, I cannot use the standard PagingNavigator / DataView
 / IDataProvider solution for this. Wicket's top-down approach to
 processing has a consequence in that there must be separate queries run
 for size and data.
 
 But our current web app retrieves its data from Lucene search results.
 A Lucene query returns both results and size simultaneously.
 Only 1 query is performed.
 
 
 The paging related and DataView are calling IDataProvider.size() early on,
 before calling iterator() and passing the offset. Of course this fits
 perfectly for most users and I see from the code why it has to be done
 like this. But this also seems to conflict with a data service tier
 expecting to perform a single query to return both results ans size in
 one, e.g. like Lucene or when using a Transfer Object pattern.
 
 Is there any easy way to subclass either PagingNavigator or associated
 classes so that they don't get involved with IPageable until after all
 data is loaded?
 
 
 ---
 
 Not as weird a suggestion as you might think.
 Having paging defer it's configuration until last is exactly how our
 current servlet/JSP app works.
 So no need to get hold of size before querying for paged results.
 
 1. User clicks paging link which sends an offset value
 2. Server performs Lucene search which returns size and hits
 3. A paged subset of results starting at offset are made ready for
 presentation
 4. Server creates Paging class with the latest offset and size etc
 5. Server hands over to JSP
 6. JSP renders results and renders paging links
 
 
 Wicket sequence seems approximately the opposite:
 
 1. User clicks paging link which sends page number
 2. PagingNavigationLink calls its IPageable.getPageCount()
 3. IPageable then calls IDataProvider.size()
 4. Query 1 is run to get size
 3. DataView calls IDataProvider to get size()
 4. DataView then calls iterator() to get results
 5. Query 2 is run to get results
 4. Then page rendering starts?
 
 With only a basic understanding of the Wicket api, it seems to me data
 loading and component configuration stages are interwoven?
 
 
 I already wrote an alternative to IDataProvider and DataView that supports
 single query for size and data,
 and posted the code for this to Jira ticket WICKET-1784.
 
 Would now like to develop an alternative paging component to solve the
 problem completely, in that the paging behaves like our current solution,
 e.g. it 'reacts' to the latest data after it's loaded, rather than try to
 predict it.
 
 
 Many thanks.
 

-- 
View this message in context: 
http://www.nabble.com/Paging-query-relating-to-IDataProvider-and-Lucene-search-tp19083164p19083944.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: NotSerializableException: java.util.RandomAccessSubList

2008-08-21 Thread John Patterson

If you cannot make your application object serializable - which is normal -
you need to use my other advice regarding a detachable model to load the
ExternalApplicationBean


Marieke Vandamme wrote:
 
 I'm little confused now. How can I make java.util.RandomAccessSubList
 Serializable?
 I'm not using that class directly. 
 My compoundPropertyModel hold ExternalApplicationBean which contains a
 HashMapString,List. 
 
 How do you turn off the serializable checker? 
 Or how can I use another list type? (I'm using List in my HashMap, because
 I thought List and HashMap are Serializable).
 
 
 Nino.Martinez wrote:
 
 Seems that your random acesslist  is not serializable... :) Either turn 
 of the serializable checker or use another list type? Or am I missing 
 something?
 
 [class=java.util.RandomAccessSubList] - field that is not
 serializable
 
 
 Marieke Vandamme wrote:
 Hello,

 I'm using a rather complex CompoundPropertyModel on my Form. That Form
 contains multiple Panels that also use the same CompoundPropertyModel.
 So I
 can't post any source code, but I hope my stacktrace will be enough.

 I also found a rather simular problem on the jira site, but not for
 wicket
 but MyFaces. 
 http://issues.apache.org/jira/browse/TRINIDAD-27

 Should I post this on the jira for wicket or am I doing something wrong?
 Thanks !


 ERROR - Error serializing object class
 com.tvh.website.application.external.ApplicationPage [object=[Page class
 =
 com.tvh.website.application.external.ApplicationPage, id = 0, version =
 0,
 ajax = 2]]
 org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException:
 Unable to serialize class: java.util.RandomAccessSubList
 Field hierarchy is:
   0 [class=com.tvh.website.application.external.ApplicationPage, path=0]
 private java.lang.Object org.apache.wicket.MarkupContainer.children
 [class=[Ljava.lang.Object;]
   private java.lang.Object
 org.apache.wicket.MarkupContainer.children[2]
 [class=org.apache.wicket.markup.html.form.SubmitLink,
 path=0:btnSubmitApplicant]
 private org.apache.wicket.markup.html.form.Form
 org.apache.wicket.markup.html.form.AbstractSubmitLink.form
 [class=com.tvh.website.application.ApplicantPanel$ApplicantForm,
 path=0:pnlApplicant:webform]
   java.lang.Object org.apache.wicket.Component.data
 [class=org.apache.wicket.model.CompoundPropertyModel]
 private java.lang.Object
 org.apache.wicket.model.CompoundPropertyModel.target
 [class=com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean]
   private java.util.HashMap
 com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean.extras
 [class=java.util.HashMap]
 private java.util.HashMap
 com.tvh.website.application.external.ApplicationPage$ExternalApplicationBean.extras[write:1][write:2]
 [class=java.util.RandomAccessSubList] - field that is not
 serializable
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:349)
 at
 org.apache.wicket.util.io.SerializableChecker.access$500(SerializableChecker.java:63)
 at
 org.apache.wicket.util.io.SerializableChecker$1InterceptingObjectOutputStream.replaceObject(SerializableChecker.java:497)
 at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1116)
 at
 java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
 at java.util.HashMap.writeObject(HashMap.java:1001)
 at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at
 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
 at
 java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
 at
 java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 at
 java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 at
 java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:504)
 at
 org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
 at
 org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
 at
 org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
 at
 org.apache.wicket.util.io.SerializableChecker.check(SerializableChecker.java:541)
 at
 org.apache.wicket.util.io.SerializableChecker.checkFields(SerializableChecker.java:618)
 at
 

Re: Custom PageMap

2008-08-21 Thread John Patterson



Erik van Oosten wrote:
 
 
 The data is not serializable and is needed in several pages as a part of
 one transaction
 
 - Not serializable:
 Well that is a hick up. This of course also means that you can not do
 clustering. I would put the data directly in the HTTP session, or in
 your own sub class of Wicket's WebSession. I think the page map is no
 longer available (though perhaps that depends on the page store you
 select).
 

The only problem with storing in the session is that there can only be one
user transaction at a time.  It would be nice to allow separate tabs to be
working on different items.  This is why I was asking about PageMap

I remember some talk about renaming it to Window or something like that.  


Erik van Oosten wrote:
 
 - Part of one transaction.
 Do you really mean like JTA transaction? Or are you talking about a
 conversation (which was what I assumed).
 Having multiple requests in one (JTA) transaction is not very common. I
 guess if this is the case a reference to the transaction is part of your
 non-serializable data.
 If you did mean conversation/wizard kind of data, then the earlier
 advice holds.
 

It is not a JTA transaction but a sequence of work on some objects that can
be rolled back or committed.  These non serializable objects need to be
stored in this unit of work over requests.

No the earlier advice - to reference the data in the page - does not work
for non-serializable objects.  I need to use some kind of detachable model
to retrieve the modified data e.g. from session or pagemap.  Or to save its
state between requests which would just be a bit inconvenient.




-- 
View this message in context: 
http://www.nabble.com/Custom-PageMap-tp19073327p19084160.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: DateTimeField validation

2008-08-21 Thread Martijn Dashorst
aiui, the far east even has a 26 or 27 hour clock. Mostly to denote
closing times of bars: so instead of saying closed at 2am, they say
closed at 26:00.

That said, 24:00 is uncommon in the Netherlands and the rest of Europe I think.

Martijn

On Wed, Aug 20, 2008 at 11:10 PM, jnorris [EMAIL PROTECTED] wrote:

 Hi All,

 Forget what I said before - I was convinced by a colleague that the hour
 range was wrong when in fact it isn't wrong for the 12-hour range which has
 the AM/PM.  I'm not sure that the 24-hour range should allow an hour of 24
 to be entered but I'm not too familiar with how people use a 24 hour clock.

 Jim


 jnorris wrote:

 The DateTimeField validation message for hours for a 12-hour format
 indicates that the date must be between 0 and 12.  Shouldn't this be
 between 1 and 12?  The validator has the following:

 protected Map variablesMap(IValidatable validatable)
 {
   final Map map = super.variablesMap(validatable);
   map.put(minimum, new Long(0));
   map.put(maximum, new Long(getMaximumHours()));
   return map;
 }

 Shouldn't the minimum setting be 1 instead of 0 or am I missing something?

 Jim


 --
 View this message in context: 
 http://www.nabble.com/DateTimeField-validation-tp19077792p19078120.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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





-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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



Re: Custom PageMap

2008-08-21 Thread Martijn Dashorst
If you don't want to make the session contain the objects explicitly,
because the multistep process is only a small part of your
application, you could use session metadata to store the data
(temporarily). This does mean that it is serialized with the session,
but IMO that is a small price to pay (session in a single server
environment with low memory usage should not often be serialized, only
when the server is shutdown properly).

I haven't done multi window session storage yet, but that fails mostly
with detecting the different browser windows. Or you could generate a
unique number at the start of the wizard and use that to locate each
session object. But this could lead to significant memory leaks when
folks randomly start new wizard steps. You should limit the number of
concurrent wizards per session I think.

Martijn

On Thu, Aug 21, 2008 at 9:53 AM, John Patterson [EMAIL PROTECTED] wrote:



 Erik van Oosten wrote:


 The data is not serializable and is needed in several pages as a part of
 one transaction

 - Not serializable:
 Well that is a hick up. This of course also means that you can not do
 clustering. I would put the data directly in the HTTP session, or in
 your own sub class of Wicket's WebSession. I think the page map is no
 longer available (though perhaps that depends on the page store you
 select).


 The only problem with storing in the session is that there can only be one
 user transaction at a time.  It would be nice to allow separate tabs to be
 working on different items.  This is why I was asking about PageMap

 I remember some talk about renaming it to Window or something like that.


 Erik van Oosten wrote:

 - Part of one transaction.
 Do you really mean like JTA transaction? Or are you talking about a
 conversation (which was what I assumed).
 Having multiple requests in one (JTA) transaction is not very common. I
 guess if this is the case a reference to the transaction is part of your
 non-serializable data.
 If you did mean conversation/wizard kind of data, then the earlier
 advice holds.


 It is not a JTA transaction but a sequence of work on some objects that can
 be rolled back or committed.  These non serializable objects need to be
 stored in this unit of work over requests.

 No the earlier advice - to reference the data in the page - does not work
 for non-serializable objects.  I need to use some kind of detachable model
 to retrieve the modified data e.g. from session or pagemap.  Or to save its
 state between requests which would just be a bit inconvenient.




 --
 View this message in context: 
 http://www.nabble.com/Custom-PageMap-tp19073327p19084160.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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





-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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



Re: Wicket merchandise?

2008-08-21 Thread Martijn Dashorst
On Wed, Aug 20, 2008 at 6:57 PM, James Carman
[EMAIL PROTECTED] wrote:
 Wow, all I can say is well done.  Well done, indeed! :)  It's somewhat
 more difficult to take the PDF version of the book to the toilet.
 People look at me funny at work when I walk into the stall with a
 laptop! :)

And another advantage of taking a paper edition to the toilet is that
it can be very, very helpful in 'emergencies'. Publishers often leave
several pages blank for this purpose I think.

Martijn

-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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



Re: nested TR and TD ?

2008-08-21 Thread Martijn Dashorst
and use wicket:container in places where you put span between
table and tr or tr and td tags:

tablespan wicket:id=footr. is invalid html. Using
wicket:container instead will automatically remove the tags in
production mode, so you don't have to use setRenderBodyOnly(true) on
the markup container.

Martijn

On Thu, Aug 21, 2008 at 4:42 AM, Jeremy Thomerson
[EMAIL PROTECTED] wrote:
 Can you show the Java code also?  It should be something like this:

ListView cats = new ListView(CategoryList, catList) {

@Override
protected void populateItem(ListItem item) {
Category cat = item.getModelObject();
ListView items = new ListView(itemList,
 cat.getItems()) {

@Override
protected void populateItem(ListItem innerItem) {
innerItem.add(new BookmarkablePageLink(link,
 Foo.class));
}
};
item.add(items);
}
};

 Basically, just make sure that you are nesting your list views properly (in
 this example, that the item list view is added to the ListItem passed in to
 the populateItem method of the category list view).

 Hope this helps.

 --
 Jeremy Thomerson
 http://www.wickettraining.com


 On Wed, Aug 20, 2008 at 7:57 PM, Sami [EMAIL PROTECTED] wrote:

 Hello all :)
 I have ordered Wicket i Action but it a preorder at Amazon.co.uk :(

 mean while I'm learning new stuff every day.

 So now I want to do is a nested TD and TR
 but i keep getting the: WicketMessage: Unable to find component with id
 'itemList' in [MarkupContainer


 while i understand the problem but i dont know the right way to solve what
 i need
 so what happens is that I get a list of items and its category and then
 display them on a table using ListView component
 so its like this :
 
 table
   span wicket:id=CategoryList
  tr
   td colspan=5a href=# wicket:id=categoryHrefspan
 wicket:id=categoryName[Category]/span/a/td
 /tr

   span wicket:id=itemList
  tr
   tdnbsp;/td
   tda href=# wicket:id=hrefspan wicket:id=itemName[Item
 Name]/span/a/td
   td nowrapspan wicket:id=itemPricePostInfo[item
 Price]/span/td   /tr

/span !-- end of itemList span --
/span !-- end of CategoryList span --
 /table
 ==

 so the Data should view like this
 Category-1
 +-- Item 1
 +---Item 2
 +---Item 3
  n + 1

 Category-2
 +--Item 32
 +--item 35


 Does Tree component solve this problem, and how? as you can see it needs to
 be in an HTML table
 is there any examples i can learn from? or any help to how to do this?
 many thanks

 Sami
 p.s. sorry for my bad English :P

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






-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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



Re: Custom PageMap

2008-08-21 Thread John Patterson



Martijn Dashorst wrote:
 
 If you don't want to make the session contain the objects explicitly,
 because the multistep process is only a small part of your
 application, you could use session metadata to store the data
 (temporarily). This does mean that it is serialized with the session,
 but IMO that is a small price to pay (session in a single server
 environment with low memory usage should not often be serialized, only
 when the server is shutdown properly).
 
 I haven't done multi window session storage yet, but that fails mostly
 with detecting the different browser windows. Or you could generate a
 unique number at the start of the wizard and use that to locate each
 session object. But this could lead to significant memory leaks when
 folks randomly start new wizard steps. You should limit the number of
 concurrent wizards per session I think.
 

Thanks Martijn, yes great idea to store my unit of work (containing all
changed objects) in the session meta-data with an id and a maximum number.

I was just considering storing the unit-of-work in the PageMap meta-data. 
What exactly is the problem with detecting the different browser windows? 
When does it break?

JD
-- 
View this message in context: 
http://www.nabble.com/Custom-PageMap-tp19073327p19084492.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Custom PageMap

2008-08-21 Thread Martijn Dashorst
On Thu, Aug 21, 2008 at 10:22 AM, John Patterson [EMAIL PROTECTED] wrote:
 I was just considering storing the unit-of-work in the PageMap meta-data.

I haven't used that. Session is more in my comfort zone ;)

 What exactly is the problem with detecting the different browser windows?
 When does it break?

Automatically detecting new windows is non-trivial, and is turned off
by default IIRC. I'm not intimate with the details. Johan and Matej
wrote that part and should be able to shine some light on this
subject.

Martijn

-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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



Re: Wicket merchandise?

2008-08-21 Thread Yiannis Mavroukakis

I'm a cheapskate and I've only got the e-book though :P

Martijn Dashorst wrote:

On Wed, Aug 20, 2008 at 6:51 PM, John Patterson [EMAIL PROTECTED] wrote:
  

Time for some coder booty!  Yes wicket needs more action.



We already have the ultimate merchandise with Action:
http://manning.com/dashorst  :)

 - You can take it with you to work without raising eyebrows
 - You can take it with you to the toilet for reading pleasure
 - It looks stunning on your coffee table
 - It is not too heavy to carry it with you, yet sturdy enough to
cause serious non-permanent damage to clueless co-workers
 - It contains good discussion material for around the coffee maker/water cooler
 - There's cheese in it

Martijn

ps. I hate cheese

  


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



Re: Wicket merchandise?

2008-08-21 Thread Nino Saturnino Martinez Vazquez Wael
Okay I've had some fun with Gimp, and it's pretty clear that im not a 
graphical artist.. Anyone up for creating some Wicket Logos?


The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:
So i'll try to get some things done, since there are many that wants 
this.. Are there any Wicket found or something if theres any profits 
on this? I'll see how far I can get without an real graphical artist:)


Nino Saturnino Martinez Vazquez Wael wrote:

Hi

We talked about this a loong time ago. But theres a service 
CafePress.com (could have been there then aswell )which fairly easy 
lets you produce wicket merchandise.. So do the community want mugs 
caps and t-shirts? And what does the devs say?






--
-Wicket for love

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]



Re: Custom PageMap

2008-08-21 Thread Johan Compagner
in 1.3 with the new Disk based store we dont need by default the window
detection yes
so it is turned off by default.

Also the detection is pretty good but not completely solid!
It will always be very hard to really detect and play nicely under all
circumstances
For example if you have 1 transaction in 1 tab and then the users does on a
link or form: open in new tab?
what then? should the transaction be transported?

Also are those transactions really down the drain database transactions? or
just in memory transactions?
long database transactions is a really really bad idea.. There are only a
very few databases that play nice
in this area (oracle and postgresql) the rest are just horrible (no Multi
Version Read Consistency)

Maybe in 1.5 we will transform the pagemap to a first class Window object
but i dont know if we can really make that 100% reliable

johan


On Thu, Aug 21, 2008 at 10:25 AM, Martijn Dashorst 
[EMAIL PROTECTED] wrote:

 On Thu, Aug 21, 2008 at 10:22 AM, John Patterson [EMAIL PROTECTED]
 wrote:
  I was just considering storing the unit-of-work in the PageMap meta-data.

 I haven't used that. Session is more in my comfort zone ;)

  What exactly is the problem with detecting the different browser windows?
  When does it break?

 Automatically detecting new windows is non-trivial, and is turned off
 by default IIRC. I'm not intimate with the details. Johan and Matej
 wrote that part and should be able to shine some light on this
 subject.

 Martijn

 --
 Become a Wicket expert, learn from the best: http://wicketinaction.com
 Apache Wicket 1.3.4 is released
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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




Re: Document is null or not an object after PDF from ModalWindow

2008-08-21 Thread Federico Fanton
On Wed, 20 Aug 2008 12:11:49 +0200
Federico Fanton [EMAIL PROTECTED] wrote:

 Sorry, forgot to mention: I'm using Wicket 1.3.4, and according to 
 Companion.JS the stacktrace for the error is (most recent call first):
 
 wicket-ajax.js:51
 wicket-event.js:110
 wicket-event.js:29

I wrote a little Quickstart that shows the problem, there's a running instance 
here:
http://80.66.211.218:8080/testpdf

Should I open a JIRA issue?
As always, many thanks for your time!


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



Re: Wicket merchandise?

2008-08-21 Thread Daan van Etten

Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector (path)  
logo, so it is resizable to any size.


Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote:

Okay I've had some fun with Gimp, and it's pretty clear that im  
not a graphical artist.. Anyone up for creating some Wicket Logos?


The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:
So i'll try to get some things done, since there are many that  
wants this.. Are there any Wicket found or something if theres any  
profits on this? I'll see how far I can get without an real  
graphical artist:)


Nino Saturnino Martinez Vazquez Wael wrote:

Hi

We talked about this a loong time ago. But theres a service  
CafePress.com (could have been there then aswell )which fairly  
easy lets you produce wicket merchandise.. So do the community  
want mugs caps and t-shirts? And what does the devs say?






--
-Wicket for love

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]




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



Re: Custom PageMap

2008-08-21 Thread John Patterson



Johan Compagner wrote:
 
 in 1.3 with the new Disk based store we dont need by default the window
 detection yes
 so it is turned off by default.
 

OK, and how do I turn it on?


Johan Compagner wrote:
 
 Also the detection is pretty good but not completely solid!
 It will always be very hard to really detect and play nicely under all
 circumstances
 For example if you have 1 transaction in 1 tab and then the users does on
 a
 link or form: open in new tab?
 what then? should the transaction be transported?
 

Well I have made this system of in-memory unit of work based around some
code from Jonas Boner in aspectwerkz.  I can have nested transactions so
you can roll back bits of a transaction.


Johan Compagner wrote:
 
 Maybe in 1.5 we will transform the pagemap to a first class Window object
 but i dont know if we can really make that 100% reliable
 
 

Sounds cool, even if it is not 100 percent reliable.  Sometimes that is
enough.


-- 
View this message in context: 
http://www.nabble.com/Custom-PageMap-tp19073327p19086969.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Wicket merchandise?

2008-08-21 Thread Yiannis Mavroukakis
Ok my graphics skills are so pants it's embarrassing , especially 
considering Daan's offering, but I was thinking something along these lines


http://www.zymari.gr/wicket.png

All laughter welcome :-P

Daan van Etten wrote:

Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector (path) 
logo, so it is resizable to any size.


Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote:

Okay I've had some fun with Gimp, and it's pretty clear that im not 
a graphical artist.. Anyone up for creating some Wicket Logos?


The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:
So i'll try to get some things done, since there are many that wants 
this.. Are there any Wicket found or something if theres any profits 
on this? I'll see how far I can get without an real graphical artist:)


Nino Saturnino Martinez Vazquez Wael wrote:

Hi

We talked about this a loong time ago. But theres a service 
CafePress.com (could have been there then aswell )which fairly easy 
lets you produce wicket merchandise.. So do the community want mugs 
caps and t-shirts? And what does the devs say?






--
-Wicket for love

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]




-
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]



Re: Wicket merchandise?

2008-08-21 Thread Nino Saturnino Martinez Vazquez Wael

Yeah! A million times nicer than what I did:)

Daan van Etten wrote:

Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector (path) 
logo, so it is resizable to any size.


Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote:

Okay I've had some fun with Gimp, and it's pretty clear that im not 
a graphical artist.. Anyone up for creating some Wicket Logos?


The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:
So i'll try to get some things done, since there are many that wants 
this.. Are there any Wicket found or something if theres any profits 
on this? I'll see how far I can get without an real graphical artist:)


Nino Saturnino Martinez Vazquez Wael wrote:

Hi

We talked about this a loong time ago. But theres a service 
CafePress.com (could have been there then aswell )which fairly easy 
lets you produce wicket merchandise.. So do the community want mugs 
caps and t-shirts? And what does the devs say?






--
-Wicket for love

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]




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



--
-Wicket for love

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]



Re: Wicket merchandise?

2008-08-21 Thread Nino Saturnino Martinez Vazquez Wael

I could'nt see the image you are refering..:(

Yiannis Mavroukakis wrote:
Ok my graphics skills are so pants it's embarrassing , especially 
considering Daan's offering, but I was thinking something along these 
lines


http://www.zymari.gr/wicket.png

All laughter welcome :-P

Daan van Etten wrote:

Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector (path) 
logo, so it is resizable to any size.


Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote:

Okay I've had some fun with Gimp, and it's pretty clear that im 
not a graphical artist.. Anyone up for creating some Wicket Logos?


The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:
So i'll try to get some things done, since there are many that 
wants this.. Are there any Wicket found or something if theres any 
profits on this? I'll see how far I can get without an real 
graphical artist:)


Nino Saturnino Martinez Vazquez Wael wrote:

Hi

We talked about this a loong time ago. But theres a service 
CafePress.com (could have been there then aswell )which fairly 
easy lets you produce wicket merchandise.. So do the community 
want mugs caps and t-shirts? And what does the devs say?






--
-Wicket for love

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]




-
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]



--
-Wicket for love

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]



Re: Wicket merchandise?

2008-08-21 Thread Nino Saturnino Martinez Vazquez Wael

look here, but dont buy I havent cleared permissions yet:

http://www.cafepress.com/apachewicket

See the nice bib for babies:)

Daan van Etten wrote:

Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector (path) 
logo, so it is resizable to any size.


Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote:

Okay I've had some fun with Gimp, and it's pretty clear that im not 
a graphical artist.. Anyone up for creating some Wicket Logos?


The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:
So i'll try to get some things done, since there are many that wants 
this.. Are there any Wicket found or something if theres any profits 
on this? I'll see how far I can get without an real graphical artist:)


Nino Saturnino Martinez Vazquez Wael wrote:

Hi

We talked about this a loong time ago. But theres a service 
CafePress.com (could have been there then aswell )which fairly easy 
lets you produce wicket merchandise.. So do the community want mugs 
caps and t-shirts? And what does the devs say?






--
-Wicket for love

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]




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



--
-Wicket for love

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]



Re: Wicket merchandise?

2008-08-21 Thread Uwe Schäfer

Daan van Etten schrieb:

Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )


good one. just a nicer font, and that´s it ;)


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



Re: Wicket merchandise?

2008-08-21 Thread Daan van Etten

Thanks for the inspiration... black looks really nice!

Imagine a black t-shirt or a black mug with this:
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan van Etten

On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:

Ok my graphics skills are so pants it's embarrassing , especially  
considering Daan's offering, but I was thinking something along  
these lines


http://www.zymari.gr/wicket.png

All laughter welcome :-P

Daan van Etten wrote:

Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector  
(path) logo, so it is resizable to any size.


Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote:

Okay I've had some fun with Gimp, and it's pretty clear that im  
not a graphical artist.. Anyone up for creating some Wicket Logos?


The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:
So i'll try to get some things done, since there are many that  
wants this.. Are there any Wicket found or something if theres  
any profits on this? I'll see how far I can get without an real  
graphical artist:)


Nino Saturnino Martinez Vazquez Wael wrote:

Hi

We talked about this a loong time ago. But theres a service  
CafePress.com (could have been there then aswell )which fairly  
easy lets you produce wicket merchandise.. So do the community  
want mugs caps and t-shirts? And what does the devs say?






--
-Wicket for love

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]




-
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]




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



Re: Wicket merchandise?

2008-08-21 Thread Johan Compagner
thats cool
looks like an eclipse!

On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote:

 Thanks for the inspiration... black looks really nice!

 Imagine a black t-shirt or a black mug with this:
 http://stuq.nl/media/image/apache-wicket-tshirt-black.png

 Regards,

 Daan van Etten


 On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:

  Ok my graphics skills are so pants it's embarrassing , especially
 considering Daan's offering, but I was thinking something along these lines

 http://www.zymari.gr/wicket.png

 All laughter welcome :-P

 Daan van Etten wrote:

 Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png
 (Just spent my lunch break time on it :-) )

 I have this as Photoshop file (300dpi 10x10). It's a vector (path)
 logo, so it is resizable to any size.

 Suggestions are welcome.

 Daan

 On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote:

  Okay I've had some fun with Gimp, and it's pretty clear that im not a
 graphical artist.. Anyone up for creating some Wicket Logos?

 The sizes are :
 10x10
 3.33 x 3.33

 Anyone up for thongs and boxer shorts haha! Sizes are :
 2.75 x 2.75
 1x1
 4 x 6
 For bib's (they need to learn wicket young, you know)
 5 x 7

 Lets take the details of the thread(like quality, format...)

 Nino Saturnino Martinez Vazquez Wael wrote:

 So i'll try to get some things done, since there are many that wants
 this.. Are there any Wicket found or something if theres any profits on
 this? I'll see how far I can get without an real graphical artist:)

 Nino Saturnino Martinez Vazquez Wael wrote:

 Hi

 We talked about this a loong time ago. But theres a service
 CafePress.com (could have been there then aswell )which fairly easy lets 
 you
 produce wicket merchandise.. So do the community want mugs caps and
 t-shirts? And what does the devs say?



 --
 -Wicket for love

 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]



 -
 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]



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




Re: wicket-like framework to complement wicket?

2008-08-21 Thread francisco treacy
sure!
when i'm finished with neodatis integration, i'll open source the
whole thing (really small though). we could then create a
wicket-iolite archetype. i'll check if all the dependencies are
available in public maven repos.

i'll keep you updated. i'm looking for a name for this thing... have
already 2 or 3 but suggestions are welcome :)

francisco



On Thu, Aug 21, 2008 at 1:54 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
 Really great, now we just need it to get packed with Wicket iolite:)

 francisco treacy wrote:

 hi guys,

 i started to work on a little utility to glue some libraries that i
 already use with wicket. they became a standard stack when i develop
 applications: these are guice, salve, warp-persist and neodatis odb.

 this utility is meant to work with wicket, so i thought it would be
 nice to add some wicket-specific functionality like databinder does,
 for example.

 just a simple library to bootstrap with wicket, providing
 out-of-the-box dependency injection, transactions and persistence to
 your domain classes. i imagine neodatis could be easily replaced with
 any other database, thanks to warp-persist's pluggable persistence
 strategies.

 perhaps somebody else is using the same technologies and finds this
 idea worthwhile. more here:

 http://blog.zoptio.net/2008/08/21/wicket-like-framework-to-complement-wicket/

 let me know what you think -- even if it's complete nonsense :)  thanks!

 francisco

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



 --
 -Wicket for love

 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]



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



Re: Wicket merchandise?

2008-08-21 Thread Daan van Etten

On 21 aug 2008, at 14:15, Uwe Schäfer wrote:


Daan van Etten schrieb:

Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )


good one. just a nicer font, and that´s it ;)


Do you know what the official font is?

Regards,

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



Re: CheckGroup updateModel() bug?

2008-08-21 Thread jWeekend

Ritesh,

There is no need for the else block in the code you have included to call
setModelObject as it will only be exercised if there is a collection set
already.

Double check that somewhere in your code you are not explicitly or
implicitly setting the modelObject to null or setting the model to one whose
getObject returns null (and, of course, that your whatever, which must be
a Collection, is not null).

Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk 



Ritesh Trivedi wrote:
 
 Hi,
 
 Is there a reason why CheckGroup.updateModel() does not call
 setModelObject()? If I create Checkgroup with the following 
 
 CheckGroup myCheckGroup = new CheckGroup(id, new Model() { public Object
 getObject() { return whatever;}}); 
 
 Later on - call to myCheckGroup.getModelObject() returns null ! 
 
 Not sure if this is intended behavior - but its definitely strange.
 
 
 Here is an excerpt from CheckGroup.java - else block is not setting the
 model object.
 
 public void updateModel()
   {
   Collection collection = (Collection)getModelObject();
   if (collection == null)
   {
   collection = (Collection)getConvertedInput();
   setModelObject(collection);
   }
   else
   {
   modelChanging();
   collection.clear();
   collection.addAll((Collection)getConvertedInput());
   modelChanged();
   }
   }
 

-- 
View this message in context: 
http://www.nabble.com/CheckGroup-updateModel%28%29-bug--tp19083157p19087780.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Wicket merchandise?

2008-08-21 Thread Matej Knopp
The Apache word needs some kerning adjustments :)

-Matej

On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote:
 Thanks for the inspiration... black looks really nice!

 Imagine a black t-shirt or a black mug with this:
 http://stuq.nl/media/image/apache-wicket-tshirt-black.png

 Regards,

 Daan van Etten

 On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:

 Ok my graphics skills are so pants it's embarrassing , especially
 considering Daan's offering, but I was thinking something along these lines

 http://www.zymari.gr/wicket.png

 All laughter welcome :-P

 Daan van Etten wrote:

 Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png
 (Just spent my lunch break time on it :-) )

 I have this as Photoshop file (300dpi 10x10). It's a vector (path)
 logo, so it is resizable to any size.

 Suggestions are welcome.

 Daan

 On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote:

 Okay I've had some fun with Gimp, and it's pretty clear that im not a
 graphical artist.. Anyone up for creating some Wicket Logos?

 The sizes are :
 10x10
 3.33 x 3.33

 Anyone up for thongs and boxer shorts haha! Sizes are :
 2.75 x 2.75
 1x1
 4 x 6
 For bib's (they need to learn wicket young, you know)
 5 x 7

 Lets take the details of the thread(like quality, format...)

 Nino Saturnino Martinez Vazquez Wael wrote:

 So i'll try to get some things done, since there are many that wants
 this.. Are there any Wicket found or something if theres any profits on
 this? I'll see how far I can get without an real graphical artist:)

 Nino Saturnino Martinez Vazquez Wael wrote:

 Hi

 We talked about this a loong time ago. But theres a service
 CafePress.com (could have been there then aswell )which fairly easy lets 
 you
 produce wicket merchandise.. So do the community want mugs caps and
 t-shirts? And what does the devs say?



 --
 -Wicket for love

 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]



 -
 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]



 -
 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]



Re: [offtop] need help with eclipse and m2eclipse

2008-08-21 Thread Oleg Taranenko
Hello all,

sorry for reviving archaic thread, but right now i've tried the
combinamtion eclipse + m2eclipse again.

Eclipse Ganymede JEE (3.4) + m2eclipse 0.9.5 works perfect!

I can now under eclipse launch mvn jetty:run and comfortable
debugging all sources including the wicket core. 

One suggestion, may establish the maven archetype to generate the
m2eclipse ready Wicket Quickstart? 
Thoughts? Doubts?


Saturday, December 1, 2007, 4:32:02 PM, you wrote:

  
 Hello all,


 Sorry for bothering, may be somebody could help. I'm developing
 web apps under Eclipse. Early I'm using the mvn eclipse:eclipse +
 jetty launcher plugn. Now i try to use m2eclipse plugin and webapp
 is started using m2's goal mvn jetty:run. The application works, but
 when I want to trace through the wicket core code (in wicket.jar)
 the debug window shows (for example):


 Source not found for WebRequestCycle(RequestCycle).steps() line: 1248


 I see Eclipse log:
 !ENTRY org.eclipse.debug.ui 4 0 2007-11-30 23:47:48.546
 !MESSAGE Problem detected with part
 org.eclipse.debug.ui.NoSourceFoundEditor (class =
 org.eclipse.debug.internal.ui.views.launch.SourceNotFoundEditor):
 Editor is not firing a PROP_INPUT event in response to
 IReusableEditor.setInput(...)
 !SESSION 2007-12-01 07:39:24.265
 ---
 eclipse.buildId=M20071023-1652
 java.version=1.6.0_03
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
 Command-line arguments:  -os win32 -ws win32 -arch x86 -clean




 This is very strange, while if i walking the tree in project
 explorer, i can see the java code as usually. 
 Could any has the same effects? Should I ask a m2 commutity?


 Eclipse SDK
 Version: 3.3.1.1
 Build id: I20070503-1400
 Java 1.6.0.3


 m2 version 0.0.12.20071107-2300


 Thanks for any tips.





-- 
Best regards,
 Olegmailto:[EMAIL PROTECTED]


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



Re: TreeGrid and DataGrid open source

2008-08-21 Thread Matej Knopp
Hi,

the source code is available in the Wicket Stuff SVN

https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/inmethod-grid/

-Matej

On Wed, Aug 20, 2008 at 5:09 PM, Fkleinko [EMAIL PROTECTED] wrote:

 Thank you but where can i download the jar or even beter the osgi bundle.

 Regards,

 Frank


 martin-g wrote:

 Examples : http://wicketstuff.org/grid-examples/
 Source:
 https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/inmethod-grid


 On Wed, 2008-07-30 at 18:26 -0700, TahitianGabriel wrote:
 Hi Matej,

 The website (http://www.inmethod.com/) seems to be down.
 I've got a tomcat welcome page instead.

 Is this project still active?

 Regards,

 Gabriel.


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




 --
 View this message in context: 
 http://www.nabble.com/TreeGrid-and-DataGrid-open-source-tp14768511p19070007.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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]



Re: Wicket merchandise?

2008-08-21 Thread Daan van Etten

Thanks for the tip!

They should look better now:
http://stuq.nl/media/image/apache-wicket-tshirt.png
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan

On 21 aug 2008, at 14:46, Matej Knopp wrote:


The Apache word needs some kerning adjustments :)

-Matej

On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote:

Thanks for the inspiration... black looks really nice!

Imagine a black t-shirt or a black mug with this:
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan van Etten

On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:


Ok my graphics skills are so pants it's embarrassing , especially
considering Daan's offering, but I was thinking something along  
these lines


http://www.zymari.gr/wicket.png

All laughter welcome :-P

Daan van Etten wrote:


Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector  
(path)

logo, so it is resizable to any size.

Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael  
wrote:


Okay I've had some fun with Gimp, and it's pretty clear that  
im not a

graphical artist.. Anyone up for creating some Wicket Logos?

The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:


So i'll try to get some things done, since there are many that  
wants
this.. Are there any Wicket found or something if theres any  
profits on
this? I'll see how far I can get without an real graphical  
artist:)


Nino Saturnino Martinez Vazquez Wael wrote:


Hi

We talked about this a loong time ago. But theres a service
CafePress.com (could have been there then aswell )which fairly  
easy lets you
produce wicket merchandise.. So do the community want mugs  
caps and

t-shirts? And what does the devs say?





--
-Wicket for love

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]




-
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]




-
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]




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



Re: Wicket merchandise?

2008-08-21 Thread Matej Knopp
I could imagine wearing that on a tshirt :)
One more small thing, on the dark one I'd prefer WICKET being brighter
than APACHE :)

-Matej

On Thu, Aug 21, 2008 at 2:57 PM, Daan van Etten [EMAIL PROTECTED] wrote:
 Thanks for the tip!

 They should look better now:
 http://stuq.nl/media/image/apache-wicket-tshirt.png
 http://stuq.nl/media/image/apache-wicket-tshirt-black.png

 Regards,

 Daan

 On 21 aug 2008, at 14:46, Matej Knopp wrote:

 The Apache word needs some kerning adjustments :)

 -Matej

 On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote:

 Thanks for the inspiration... black looks really nice!

 Imagine a black t-shirt or a black mug with this:
 http://stuq.nl/media/image/apache-wicket-tshirt-black.png

 Regards,

 Daan van Etten

 On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:

 Ok my graphics skills are so pants it's embarrassing , especially
 considering Daan's offering, but I was thinking something along these
 lines

 http://www.zymari.gr/wicket.png

 All laughter welcome :-P

 Daan van Etten wrote:

 Something like this:
 http://stuq.nl/media/image/apache-wicket-tshirt.png
 (Just spent my lunch break time on it :-) )

 I have this as Photoshop file (300dpi 10x10). It's a vector (path)
 logo, so it is resizable to any size.

 Suggestions are welcome.

 Daan

 On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote:

 Okay I've had some fun with Gimp, and it's pretty clear that im not
 a
 graphical artist.. Anyone up for creating some Wicket Logos?

 The sizes are :
 10x10
 3.33 x 3.33

 Anyone up for thongs and boxer shorts haha! Sizes are :
 2.75 x 2.75
 1x1
 4 x 6
 For bib's (they need to learn wicket young, you know)
 5 x 7

 Lets take the details of the thread(like quality, format...)

 Nino Saturnino Martinez Vazquez Wael wrote:

 So i'll try to get some things done, since there are many that wants
 this.. Are there any Wicket found or something if theres any profits
 on
 this? I'll see how far I can get without an real graphical artist:)

 Nino Saturnino Martinez Vazquez Wael wrote:

 Hi

 We talked about this a loong time ago. But theres a service
 CafePress.com (could have been there then aswell )which fairly easy
 lets you
 produce wicket merchandise.. So do the community want mugs caps and
 t-shirts? And what does the devs say?



 --
 -Wicket for love

 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]



 -
 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]



 -
 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]



 -
 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]



Image crop and resize component

2008-08-21 Thread Kaspar Fischer

Two questions:

1) Does anybody know of a Wicket component that allows the user to  
select an area of an image?


For example:

  
http://www.defusion.org.uk/code/javascript-image-cropper-ui-using-prototype-scriptaculous/

I am thinking of a component that takes the image and a rectangle as  
models and alters the rectangle.


2) What Java library would you recommend to extract from the image the  
selected subarea?
Is there even something out there that uses a heuristic to choose  
between PNG and JPEG format

to optimize the filesize and number of colors?

Many thanks,
Kaspar

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



Re: Image crop and resize component

2008-08-21 Thread Yiannis Mavroukakis

Check out

http://code.google.com/p/londonwicket/

for the Dynamic AJAX image cropping component written by Alastair Maw.

Y

Kaspar Fischer wrote:

Two questions:

1) Does anybody know of a Wicket component that allows the user to 
select an area of an image?


For example:

  
http://www.defusion.org.uk/code/javascript-image-cropper-ui-using-prototype-scriptaculous/ 



I am thinking of a component that takes the image and a rectangle as 
models and alters the rectangle.


2) What Java library would you recommend to extract from the image the 
selected subarea?
Is there even something out there that uses a heuristic to choose 
between PNG and JPEG format

to optimize the filesize and number of colors?

Many thanks,
Kaspar

-
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]



Re: Wicket merchandise?

2008-08-21 Thread Nino Saturnino Martinez Vazquez Wael
And just about the black one... I need it to be transparent instead of 
black I think..


Daan van Etten wrote:

Thanks for the tip!

They should look better now:
http://stuq.nl/media/image/apache-wicket-tshirt.png
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan

On 21 aug 2008, at 14:46, Matej Knopp wrote:


The Apache word needs some kerning adjustments :)

-Matej

On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote:

Thanks for the inspiration... black looks really nice!

Imagine a black t-shirt or a black mug with this:
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan van Etten

On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:


Ok my graphics skills are so pants it's embarrassing , especially
considering Daan's offering, but I was thinking something along 
these lines


http://www.zymari.gr/wicket.png

All laughter welcome :-P

Daan van Etten wrote:


Something like this: 
http://stuq.nl/media/image/apache-wicket-tshirt.png

(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector (path)
logo, so it is resizable to any size.

Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote:

Okay I've had some fun with Gimp, and it's pretty clear that im 
not a

graphical artist.. Anyone up for creating some Wicket Logos?

The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:


So i'll try to get some things done, since there are many that 
wants
this.. Are there any Wicket found or something if theres any 
profits on

this? I'll see how far I can get without an real graphical artist:)

Nino Saturnino Martinez Vazquez Wael wrote:


Hi

We talked about this a loong time ago. But theres a service
CafePress.com (could have been there then aswell )which fairly 
easy lets you
produce wicket merchandise.. So do the community want mugs caps 
and

t-shirts? And what does the devs say?





--
-Wicket for love

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]




-
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]




-
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]




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



--
-Wicket for love

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]



Re: Wicket merchandise?

2008-08-21 Thread Nino Saturnino Martinez Vazquez Wael

and could you rescale to 3.33 x 3.33 . I can put up a black polo then:)

Daan van Etten wrote:

Thanks for the tip!

They should look better now:
http://stuq.nl/media/image/apache-wicket-tshirt.png
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan

On 21 aug 2008, at 14:46, Matej Knopp wrote:


The Apache word needs some kerning adjustments :)

-Matej

On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote:

Thanks for the inspiration... black looks really nice!

Imagine a black t-shirt or a black mug with this:
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan van Etten

On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:


Ok my graphics skills are so pants it's embarrassing , especially
considering Daan's offering, but I was thinking something along 
these lines


http://www.zymari.gr/wicket.png

All laughter welcome :-P

Daan van Etten wrote:


Something like this: 
http://stuq.nl/media/image/apache-wicket-tshirt.png

(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector (path)
logo, so it is resizable to any size.

Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote:

Okay I've had some fun with Gimp, and it's pretty clear that im 
not a

graphical artist.. Anyone up for creating some Wicket Logos?

The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:


So i'll try to get some things done, since there are many that 
wants
this.. Are there any Wicket found or something if theres any 
profits on

this? I'll see how far I can get without an real graphical artist:)

Nino Saturnino Martinez Vazquez Wael wrote:


Hi

We talked about this a loong time ago. But theres a service
CafePress.com (could have been there then aswell )which fairly 
easy lets you
produce wicket merchandise.. So do the community want mugs caps 
and

t-shirts? And what does the devs say?





--
-Wicket for love

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]




-
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]




-
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]




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



--
-Wicket for love

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]



Re: Wicket merchandise?

2008-08-21 Thread Daan van Etten

Here is version 2 :-)

http://stuq.nl/media/image/apache-wicket-tshirt-black-version-2.png

On 21 aug 2008, at 15:07, Matej Knopp wrote:


I could imagine wearing that on a tshirt :)
One more small thing, on the dark one I'd prefer WICKET being brighter
than APACHE :)

-Matej

On Thu, Aug 21, 2008 at 2:57 PM, Daan van Etten [EMAIL PROTECTED] wrote:

Thanks for the tip!

They should look better now:
http://stuq.nl/media/image/apache-wicket-tshirt.png
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan

On 21 aug 2008, at 14:46, Matej Knopp wrote:


The Apache word needs some kerning adjustments :)

-Matej

On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED]  
wrote:


Thanks for the inspiration... black looks really nice!

Imagine a black t-shirt or a black mug with this:
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan van Etten

On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:


Ok my graphics skills are so pants it's embarrassing , especially
considering Daan's offering, but I was thinking something along  
these

lines

http://www.zymari.gr/wicket.png

All laughter welcome :-P

Daan van Etten wrote:


Something like this:
http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector  
(path)

logo, so it is resizable to any size.

Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael  
wrote:


Okay I've had some fun with Gimp, and it's pretty clear that  
im not

a
graphical artist.. Anyone up for creating some Wicket Logos?

The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:


So i'll try to get some things done, since there are many  
that wants
this.. Are there any Wicket found or something if theres any  
profits

on
this? I'll see how far I can get without an real graphical  
artist:)


Nino Saturnino Martinez Vazquez Wael wrote:


Hi

We talked about this a loong time ago. But theres a service
CafePress.com (could have been there then aswell )which  
fairly easy

lets you
produce wicket merchandise.. So do the community want mugs  
caps and

t-shirts? And what does the devs say?





--
-Wicket for love

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]




-
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]




-
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]




-
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]




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



Re: Wicket merchandise?

2008-08-21 Thread Yiannis Mavroukakis
Nice :-)  can we have a version with the official orange as the font 
colour for Wicket ?


Daan van Etten wrote:

Here is version 2 :-)

http://stuq.nl/media/image/apache-wicket-tshirt-black-version-2.png

On 21 aug 2008, at 15:07, Matej Knopp wrote:


I could imagine wearing that on a tshirt :)
One more small thing, on the dark one I'd prefer WICKET being brighter
than APACHE :)

-Matej

On Thu, Aug 21, 2008 at 2:57 PM, Daan van Etten [EMAIL PROTECTED] wrote:

Thanks for the tip!

They should look better now:
http://stuq.nl/media/image/apache-wicket-tshirt.png
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan

On 21 aug 2008, at 14:46, Matej Knopp wrote:


The Apache word needs some kerning adjustments :)

-Matej

On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote:


Thanks for the inspiration... black looks really nice!

Imagine a black t-shirt or a black mug with this:
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan van Etten

On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:


Ok my graphics skills are so pants it's embarrassing , especially
considering Daan's offering, but I was thinking something along 
these

lines

http://www.zymari.gr/wicket.png

All laughter welcome :-P

Daan van Etten wrote:


Something like this:
http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector 
(path)

logo, so it is resizable to any size.

Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael 
wrote:


Okay I've had some fun with Gimp, and it's pretty clear that 
im not

a
graphical artist.. Anyone up for creating some Wicket Logos?

The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:


So i'll try to get some things done, since there are many that 
wants
this.. Are there any Wicket found or something if theres any 
profits

on
this? I'll see how far I can get without an real graphical 
artist:)


Nino Saturnino Martinez Vazquez Wael wrote:


Hi

We talked about this a loong time ago. But theres a service
CafePress.com (could have been there then aswell )which 
fairly easy

lets you
produce wicket merchandise.. So do the community want mugs 
caps and

t-shirts? And what does the devs say?





--
-Wicket for love

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]




- 


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]




-
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]




-
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]




-
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]



Re: Wicket merchandise?

2008-08-21 Thread jWeekend

The killer app carrying that logo would be a black baseball cap.

And, talking of killer apps, how about an open source Wicket shopping
framework?

Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk 



Matej Knopp-2 wrote:
 
 I could imagine wearing that on a tshirt :)
 One more small thing, on the dark one I'd prefer WICKET being brighter
 than APACHE :)
 
 -Matej
 
 On Thu, Aug 21, 2008 at 2:57 PM, Daan van Etten [EMAIL PROTECTED] wrote:
 Thanks for the tip!

 They should look better now:
 http://stuq.nl/media/image/apache-wicket-tshirt.png
 http://stuq.nl/media/image/apache-wicket-tshirt-black.png

 Regards,

 Daan

 On 21 aug 2008, at 14:46, Matej Knopp wrote:

 The Apache word needs some kerning adjustments :)

 -Matej

 On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote:

 Thanks for the inspiration... black looks really nice!

 Imagine a black t-shirt or a black mug with this:
 http://stuq.nl/media/image/apache-wicket-tshirt-black.png

 Regards,

 Daan van Etten

 On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:

 Ok my graphics skills are so pants it's embarrassing , especially
 considering Daan's offering, but I was thinking something along these
 lines

 http://www.zymari.gr/wicket.png

 All laughter welcome :-P

 Daan van Etten wrote:

 Something like this:
 http://stuq.nl/media/image/apache-wicket-tshirt.png
 (Just spent my lunch break time on it :-) )

 I have this as Photoshop file (300dpi 10x10). It's a vector (path)
 logo, so it is resizable to any size.

 Suggestions are welcome.

 Daan

 On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote:

 Okay I've had some fun with Gimp, and it's pretty clear that im
 not
 a
 graphical artist.. Anyone up for creating some Wicket Logos?

 The sizes are :
 10x10
 3.33 x 3.33

 Anyone up for thongs and boxer shorts haha! Sizes are :
 2.75 x 2.75
 1x1
 4 x 6
 For bib's (they need to learn wicket young, you know)
 5 x 7

 Lets take the details of the thread(like quality, format...)

 Nino Saturnino Martinez Vazquez Wael wrote:

 So i'll try to get some things done, since there are many that
 wants
 this.. Are there any Wicket found or something if theres any
 profits
 on
 this? I'll see how far I can get without an real graphical artist:)

 Nino Saturnino Martinez Vazquez Wael wrote:

 Hi

 We talked about this a loong time ago. But theres a service
 CafePress.com (could have been there then aswell )which fairly
 easy
 lets you
 produce wicket merchandise.. So do the community want mugs caps
 and
 t-shirts? And what does the devs say?



 --
 -Wicket for love

 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]



 -
 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]



 -
 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]



 -
 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]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Wicket-merchandise--tp19066811p19089066.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Wicket merchandise?

2008-08-21 Thread Bert Radke
I like this one.. can't wait to see the faces of all the ADF/JSF
Fanboys around ;)

On Thu, Aug 21, 2008 at 15:36, Daan van Etten [EMAIL PROTECTED] wrote:
 Here is version 2 :-)

 http://stuq.nl/media/image/apache-wicket-tshirt-black-version-2.png

 On 21 aug 2008, at 15:07, Matej Knopp wrote:

 I could imagine wearing that on a tshirt :)
 One more small thing, on the dark one I'd prefer WICKET being brighter
 than APACHE :)

 -Matej

 On Thu, Aug 21, 2008 at 2:57 PM, Daan van Etten [EMAIL PROTECTED] wrote:

 Thanks for the tip!

 They should look better now:
 http://stuq.nl/media/image/apache-wicket-tshirt.png
 http://stuq.nl/media/image/apache-wicket-tshirt-black.png

 Regards,

 Daan

 On 21 aug 2008, at 14:46, Matej Knopp wrote:

 The Apache word needs some kerning adjustments :)

 -Matej

 On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote:

 Thanks for the inspiration... black looks really nice!

 Imagine a black t-shirt or a black mug with this:
 http://stuq.nl/media/image/apache-wicket-tshirt-black.png

 Regards,

 Daan van Etten

 On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:

 Ok my graphics skills are so pants it's embarrassing , especially
 considering Daan's offering, but I was thinking something along these
 lines

 http://www.zymari.gr/wicket.png

 All laughter welcome :-P

 Daan van Etten wrote:

 Something like this:
 http://stuq.nl/media/image/apache-wicket-tshirt.png
 (Just spent my lunch break time on it :-) )

 I have this as Photoshop file (300dpi 10x10). It's a vector (path)
 logo, so it is resizable to any size.

 Suggestions are welcome.

 Daan

 On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote:

 Okay I've had some fun with Gimp, and it's pretty clear that im
 not
 a
 graphical artist.. Anyone up for creating some Wicket Logos?

 The sizes are :
 10x10
 3.33 x 3.33

 Anyone up for thongs and boxer shorts haha! Sizes are :
 2.75 x 2.75
 1x1
 4 x 6
 For bib's (they need to learn wicket young, you know)
 5 x 7

 Lets take the details of the thread(like quality, format...)

 Nino Saturnino Martinez Vazquez Wael wrote:

 So i'll try to get some things done, since there are many that
 wants
 this.. Are there any Wicket found or something if theres any
 profits
 on
 this? I'll see how far I can get without an real graphical artist:)

 Nino Saturnino Martinez Vazquez Wael wrote:

 Hi

 We talked about this a loong time ago. But theres a service
 CafePress.com (could have been there then aswell )which fairly
 easy
 lets you
 produce wicket merchandise.. So do the community want mugs caps
 and
 t-shirts? And what does the devs say?



 --
 -Wicket for love

 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]



 -
 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]



 -
 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]



 -
 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]



 -
 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]



TreeTable customization

2008-08-21 Thread DanielB309

Hi, I have a question about customizations of TreeTable class. I'm working in
a project that needs a highly customized version of TreeTable. It implies
the overriding of methods that are actually private or final methods and a
customized version of TreeTable.html too. Our version of TreeTable.html
includes the addition of new elements at the same level as
wicket-tree-table and wicket-tree-table-body divs. That broken the
algorithm of Wicket.TreeTable.update function in tree.js, because it assumes
a fixed structure for TreeTable.html. So I have to copy several wicket tree
and table packages into my project to get acces to the source of tree.js and
modify it. here is my implementation of it:

Wicket.TreeTable.update = function(elementId) {
   var header;
   var headerInnerDiv; // div inside header div. It is set with the updated
size.
   var body;
   var wicketTreeTable;
   var headerFound = false;
   var bodyFound = false;
   var wicketTreeTableFound = false;
  
   var element = document.getElementById(elementId);
  
   if (element != null  typeof(element) != undefined) {
 
  try {
 var tableDivs = element.getElementsByTagName(div);
 for (i=0; i  tableDivs.length  (!headerFound || !bodyFound ||
!wicketTreeTableFound); i++) { 
//Pick out the tags with our class name 
if (tableDivs[i].className.search(header ) != -1) {
   header = tableDivs[i];
   headerInnerDiv = header.getElementsByTagName(div)[0];
   headerFound = true;
}
if (tableDivs[i].className.search(wicket-tree-table-body) !=
-1) { 
   body = tableDivs[i];
   bodyFound = true;
}
if (tableDivs[i].className.search(wicket-tree-table) != -1) { 
   wicketTreeTable = tableDivs[i];
   wicketTreeTableFound = true;
}
 }

 // last check to find out if we are updating the right component
 if (body.className.search(wicket-tree-table-body) != -1) {
// get the right padding from header - we need to substract it
from new width
var padding;
if (document.defaultView 
document.defaultView.getComputedStyle) {
   padding =
document.defaultView.getComputedStyle(wicketTreeTable,
'').getPropertyValue(padding-right);
} else if (wicketTreeTable.currentStyle) {
   padding = wicketTreeTable.currentStyle.paddingRight;
} else {
   padding = 6;
}
   
padding = parseInt(padding, 10);
 
// set the new width  
var w = (body.getElementsByTagName(div)[0].clientWidth -
padding) + px;
   
if (w == (-padding)+px) { // this can happen if the first row
is hidden (e.g. rootless mode)
   // try to get the width from second row   
   w = (body.getElementsByTagName(div)[1].clientWidth -
padding) + px;
  
}
  
if (w != 0px) {
   headerInnerDiv.style.width = w;
}
   
 }
  } catch (ignore) {
  }
   }
}


What I changed is the look up for the relevant elements, I do the search by
class name, so it doesn't depend on the structure of the html.


Another issue is the class test of the form: body.className ==
wicket-tree-table-body, say the check for the exact class name. We have
this divs with several classes (for example class=wicket-tree-table-body
class1 classN), We have changed that test to the form:
body.className.search(wicket-tree-table-body) != -1 to allow the addition
of more classes to those elements.

I'd like you to tell me if this kind of changes is nor recommended and for
what reasons (performance maybe?) and if on the contrary they could be
incorporated in future releases of wicket and the
TreeTable.

 
Thanks a lot.
-- 
View this message in context: 
http://www.nabble.com/TreeTable-customization-tp19089113p19089113.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Wicket merchandise?

2008-08-21 Thread Daan van Etten

Here are some high-res versions:

http://stuq.nl/media/image/apache-wicket-tshirt-3,33x3,33-300dpi-transparant.png
http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-transparant.png
http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-white.png

Please try the 10x10 version first for the polo, because the aspect  
ratio is the same, but the resolution is much better.


Regards,

Daan

On 21 aug 2008, at 15:32, Nino Saturnino Martinez Vazquez Wael wrote:

and could you rescale to 3.33 x 3.33 . I can put up a black polo  
then:)


Daan van Etten wrote:

Thanks for the tip!

They should look better now:
http://stuq.nl/media/image/apache-wicket-tshirt.png
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan

On 21 aug 2008, at 14:46, Matej Knopp wrote:


The Apache word needs some kerning adjustments :)

-Matej

On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED]  
wrote:

Thanks for the inspiration... black looks really nice!

Imagine a black t-shirt or a black mug with this:
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan van Etten

On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:


Ok my graphics skills are so pants it's embarrassing , especially
considering Daan's offering, but I was thinking something along  
these lines


http://www.zymari.gr/wicket.png

All laughter welcome :-P

Daan van Etten wrote:


Something like this: http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector  
(path)

logo, so it is resizable to any size.

Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael  
wrote:


Okay I've had some fun with Gimp, and it's pretty clear that  
im not a

graphical artist.. Anyone up for creating some Wicket Logos?

The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:


So i'll try to get some things done, since there are many  
that wants
this.. Are there any Wicket found or something if theres any  
profits on
this? I'll see how far I can get without an real graphical  
artist:)


Nino Saturnino Martinez Vazquez Wael wrote:


Hi

We talked about this a loong time ago. But theres a service
CafePress.com (could have been there then aswell )which  
fairly easy lets you
produce wicket merchandise.. So do the community want mugs  
caps and

t-shirts? And what does the devs say?





--
-Wicket for love

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]




-
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]




-
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]




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



--
-Wicket for love

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]





Re: url after form submit with redirect

2008-08-21 Thread miro


Assume I  passed my instance in setResponse() method ,  in this case wicket
generates its own url  basically from the session  ,  so this means i cannot
expect to have the mountpath url in case of instance   in setResponse()
method ?   and only way to have themountpath in url is to pass class  as
parameter ?if this is right how can I have the mount path url   in case of
session specific url ?


Jeremy Thomerson-5 wrote:
 
 This is covered in many responses in the archives of this list, and I'm
 sure
 the wiki, but anyway, here's the basics:
 
 If you create a new Page instance, and call setResponsePage(myInstance),
 Wicket must respond with *that exact instance.*  This means that the URL
 needs to be a session-specific URL that will look into your session, pull
 out that specific instance, and respond to the browser with it.
 
 For instance, you could do this:
 
 MyPage page = new MyPage();
 page.setFoo(bar);
 setResponsePage(page);
  
 If Wicket used a URL that was not session-specific, how would it know what
 you set foo to?  It must pull up the exact instance that you created and
 modified before calling setResponsePage.
 
 Now, if you did this:
 
 setResponsePage(MyPage.class)
 
 Wicket now knows that you just want to respond with a default, newly
 created
 instance of MyPage.  So, it can respond with a non-session-specific page
 (the URL that you mounted the page on).   When that URL is requested, it
 will create a new instance of MyPage with the default constructor, and
 respond with that.
 
 -- 
 Jeremy Thomerson
 http://www.wickettraining.com
 
 
 On Wed, Aug 20, 2008 at 4:06 PM, miro [EMAIL PROTECTED] wrote:
 

 here is what i do

 In Application which is  WicketApplication in the init method
 mount(new
 HybridUrlCodingStrategy(/secure/index.jas/searchPCR,Foo.class,true));

 my form object the method onSubmit()
 calls setResponsePage(new Foo());  does this matter
 and setRedirect(true)
 and my web.xml wicket filter   is mapped to all requests

filter-mapping
filter-namewicket/filter-name
url-pattern/*/url-pattern
/filter-mapping


 I tested with this but I was getting the same wicket url and not the
 mount
 path, then I changed setResponsePage   to take class as parameter  and
 not
 instance , then it worked .How the two methods setResposnePage(new
 Page())
 , setResponsePage(Page.class)  differ ?




 Erik van Oosten wrote:
 
  Miro,
 
  In Nabble, please do not edit your message after you've send it. That
  way you're message appears twice.
 
  Wicket will always use the mount path of the page you are forwarding
 to,
  that is, if you called setResponsePage. You can also look into mounting
  with a HybrodUrlEncoder.
 
  Regards,
  Erik.
 
 
  miro wrote:
  After submit a form with redirect set to true , the wicket generates
  its
  own
  url and not the mountpath.
  Is there a way to avoid this ?
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

 --
 View this message in context:
 http://www.nabble.com/url-after--submitting--a-form--with-a-redirect-tp19069918p19078053.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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


 
 

-- 
View this message in context: 
http://www.nabble.com/url-after--submitting--a-form--with-a-redirect-tp19069918p19089181.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Wicket merchandise?

2008-08-21 Thread Yiannis Mavroukakis

Count me in :-D

jWeekend wrote:

The killer app carrying that logo would be a black baseball cap.

And, talking of killer apps, how about an open source Wicket shopping
framework?

Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk 




Matej Knopp-2 wrote:
  

I could imagine wearing that on a tshirt :)
One more small thing, on the dark one I'd prefer WICKET being brighter
than APACHE :)

-Matej

On Thu, Aug 21, 2008 at 2:57 PM, Daan van Etten [EMAIL PROTECTED] wrote:


Thanks for the tip!

They should look better now:
http://stuq.nl/media/image/apache-wicket-tshirt.png
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan

On 21 aug 2008, at 14:46, Matej Knopp wrote:

  

The Apache word needs some kerning adjustments :)

-Matej

On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote:


Thanks for the inspiration... black looks really nice!

Imagine a black t-shirt or a black mug with this:
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan van Etten

On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:

  

Ok my graphics skills are so pants it's embarrassing , especially
considering Daan's offering, but I was thinking something along these
lines

http://www.zymari.gr/wicket.png

All laughter welcome :-P

Daan van Etten wrote:


Something like this:
http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector (path)
logo, so it is resizable to any size.

Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote:

  

Okay I've had some fun with Gimp, and it's pretty clear that im
not
a
graphical artist.. Anyone up for creating some Wicket Logos?

The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:


So i'll try to get some things done, since there are many that
wants
this.. Are there any Wicket found or something if theres any
profits
on
this? I'll see how far I can get without an real graphical artist:)

Nino Saturnino Martinez Vazquez Wael wrote:
  

Hi

We talked about this a loong time ago. But theres a service
CafePress.com (could have been there then aswell )which fairly
easy
lets you
produce wicket merchandise.. So do the community want mugs caps
and
t-shirts? And what does the devs say?



--
-Wicket for love

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]



-
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]



-
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]



-
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]






  


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



Re: Wicket merchandise?

2008-08-21 Thread Daan van Etten

http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-transparant-orangewicket.png

There you go.. imagine the black background yourself (it's transparent  
now for CafePress).


Regards,

Daan

On 21 aug 2008, at 15:39, Yiannis Mavroukakis wrote:

Nice :-)  can we have a version with the official orange as the  
font colour for Wicket ?


Daan van Etten wrote:

Here is version 2 :-)

http://stuq.nl/media/image/apache-wicket-tshirt-black-version-2.png

On 21 aug 2008, at 15:07, Matej Knopp wrote:


I could imagine wearing that on a tshirt :)
One more small thing, on the dark one I'd prefer WICKET being  
brighter

than APACHE :)

-Matej

On Thu, Aug 21, 2008 at 2:57 PM, Daan van Etten [EMAIL PROTECTED]  
wrote:

Thanks for the tip!

They should look better now:
http://stuq.nl/media/image/apache-wicket-tshirt.png
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan

On 21 aug 2008, at 14:46, Matej Knopp wrote:


The Apache word needs some kerning adjustments :)

-Matej

On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED]  
wrote:


Thanks for the inspiration... black looks really nice!

Imagine a black t-shirt or a black mug with this:
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan van Etten

On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:

Ok my graphics skills are so pants it's embarrassing ,  
especially
considering Daan's offering, but I was thinking something  
along these

lines

http://www.zymari.gr/wicket.png

All laughter welcome :-P

Daan van Etten wrote:


Something like this:
http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector  
(path)

logo, so it is resizable to any size.

Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez  
Wael wrote:


Okay I've had some fun with Gimp, and it's pretty clear  
that im not

a
graphical artist.. Anyone up for creating some Wicket Logos?

The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:


So i'll try to get some things done, since there are many  
that wants
this.. Are there any Wicket found or something if theres  
any profits

on
this? I'll see how far I can get without an real graphical  
artist:)


Nino Saturnino Martinez Vazquez Wael wrote:


Hi

We talked about this a loong time ago. But theres a service
CafePress.com (could have been there then aswell )which  
fairly easy

lets you
produce wicket merchandise.. So do the community want mugs  
caps and

t-shirts? And what does the devs say?





--
-Wicket for love

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]




-
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]




-
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]




-
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]




-
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]




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



Re: Wicket merchandise?

2008-08-21 Thread Nino Saturnino Martinez Vazquez Wael



jWeekend wrote:

The killer app carrying that logo would be a black baseball cap.

  

yeah:)

And, talking of killer apps, how about an open source Wicket shopping
framework?
  
Sure could be very cool. But right now Im stuck to my neck in projects, 
taking on more would'nt allow me to breathe:)

Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk 




Matej Knopp-2 wrote:
  

I could imagine wearing that on a tshirt :)
One more small thing, on the dark one I'd prefer WICKET being brighter
than APACHE :)

-Matej

On Thu, Aug 21, 2008 at 2:57 PM, Daan van Etten [EMAIL PROTECTED] wrote:


Thanks for the tip!

They should look better now:
http://stuq.nl/media/image/apache-wicket-tshirt.png
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan

On 21 aug 2008, at 14:46, Matej Knopp wrote:

  

The Apache word needs some kerning adjustments :)

-Matej

On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote:


Thanks for the inspiration... black looks really nice!

Imagine a black t-shirt or a black mug with this:
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan van Etten

On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:

  

Ok my graphics skills are so pants it's embarrassing , especially
considering Daan's offering, but I was thinking something along these
lines

http://www.zymari.gr/wicket.png

All laughter welcome :-P

Daan van Etten wrote:


Something like this:
http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector (path)
logo, so it is resizable to any size.

Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael wrote:

  

Okay I've had some fun with Gimp, and it's pretty clear that im
not
a
graphical artist.. Anyone up for creating some Wicket Logos?

The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:


So i'll try to get some things done, since there are many that
wants
this.. Are there any Wicket found or something if theres any
profits
on
this? I'll see how far I can get without an real graphical artist:)

Nino Saturnino Martinez Vazquez Wael wrote:
  

Hi

We talked about this a loong time ago. But theres a service
CafePress.com (could have been there then aswell )which fairly
easy
lets you
produce wicket merchandise.. So do the community want mugs caps
and
t-shirts? And what does the devs say?



--
-Wicket for love

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]



-
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]



-
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]



-
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]






  


--
-Wicket for love

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]



Re: Wicket merchandise?

2008-08-21 Thread Yiannis Mavroukakis

+1 very nice

Daan van Etten wrote:
http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-transparant-orangewicket.png 



There you go.. imagine the black background yourself (it's transparent 
now for CafePress).


Regards,

Daan

On 21 aug 2008, at 15:39, Yiannis Mavroukakis wrote:

Nice :-)  can we have a version with the official orange as the 
font colour for Wicket ?


Daan van Etten wrote:

Here is version 2 :-)

http://stuq.nl/media/image/apache-wicket-tshirt-black-version-2.png

On 21 aug 2008, at 15:07, Matej Knopp wrote:


I could imagine wearing that on a tshirt :)
One more small thing, on the dark one I'd prefer WICKET being brighter
than APACHE :)

-Matej

On Thu, Aug 21, 2008 at 2:57 PM, Daan van Etten [EMAIL PROTECTED] wrote:

Thanks for the tip!

They should look better now:
http://stuq.nl/media/image/apache-wicket-tshirt.png
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan

On 21 aug 2008, at 14:46, Matej Knopp wrote:


The Apache word needs some kerning adjustments :)

-Matej

On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] 
wrote:


Thanks for the inspiration... black looks really nice!

Imagine a black t-shirt or a black mug with this:
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan van Etten

On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:


Ok my graphics skills are so pants it's embarrassing , especially
considering Daan's offering, but I was thinking something along 
these

lines

http://www.zymari.gr/wicket.png

All laughter welcome :-P

Daan van Etten wrote:


Something like this:
http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector 
(path)

logo, so it is resizable to any size.

Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael 
wrote:


Okay I've had some fun with Gimp, and it's pretty clear 
that im not

a
graphical artist.. Anyone up for creating some Wicket Logos?

The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:


So i'll try to get some things done, since there are many 
that wants
this.. Are there any Wicket found or something if theres any 
profits

on
this? I'll see how far I can get without an real graphical 
artist:)


Nino Saturnino Martinez Vazquez Wael wrote:


Hi

We talked about this a loong time ago. But theres a service
CafePress.com (could have been there then aswell )which 
fairly easy

lets you
produce wicket merchandise.. So do the community want mugs 
caps and

t-shirts? And what does the devs say?





--
-Wicket for love

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]




- 


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]




- 


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]




-
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]




-
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]




-
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]



Re: Wicket merchandise?

2008-08-21 Thread Nino Saturnino Martinez Vazquez Wael
That did'nt go too well with the polo (it's a small logo on the left 
chest muscle), it doesnt fit apparently..


Templates(requirements for images) are here : 
http://www.cafepress.com/cp/info/sell/images/help_templates


Daan van Etten wrote:

Here are some high-res versions:

http://stuq.nl/media/image/apache-wicket-tshirt-3,33x3,33-300dpi-transparant.png 

http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-transparant.png 


http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-white.png

Please try the 10x10 version first for the polo, because the aspect 
ratio is the same, but the resolution is much better.


Regards,

Daan

On 21 aug 2008, at 15:32, Nino Saturnino Martinez Vazquez Wael wrote:


and could you rescale to 3.33 x 3.33 . I can put up a black polo then:)

Daan van Etten wrote:

Thanks for the tip!

They should look better now:
http://stuq.nl/media/image/apache-wicket-tshirt.png
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan

On 21 aug 2008, at 14:46, Matej Knopp wrote:


The Apache word needs some kerning adjustments :)

-Matej

On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote:

Thanks for the inspiration... black looks really nice!

Imagine a black t-shirt or a black mug with this:
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan van Etten

On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:


Ok my graphics skills are so pants it's embarrassing , especially
considering Daan's offering, but I was thinking something along 
these lines


http://www.zymari.gr/wicket.png

All laughter welcome :-P

Daan van Etten wrote:


Something like this: 
http://stuq.nl/media/image/apache-wicket-tshirt.png

(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector 
(path)

logo, so it is resizable to any size.

Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael 
wrote:


Okay I've had some fun with Gimp, and it's pretty clear that 
im not a

graphical artist.. Anyone up for creating some Wicket Logos?

The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:


So i'll try to get some things done, since there are many that 
wants
this.. Are there any Wicket found or something if theres any 
profits on
this? I'll see how far I can get without an real graphical 
artist:)


Nino Saturnino Martinez Vazquez Wael wrote:


Hi

We talked about this a loong time ago. But theres a service
CafePress.com (could have been there then aswell )which 
fairly easy lets you
produce wicket merchandise.. So do the community want mugs 
caps and

t-shirts? And what does the devs say?





--
-Wicket for love

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]




- 


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]




-
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]




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



--
-Wicket for love

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]






--
-Wicket for love

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]



Jobs, opertunities and this mailing list

2008-08-21 Thread Wayne Pope
Hi everyone,

whats the policy here about advertising jobs or project/dev oppertunities?
I'm creating something new and I'm looking for talented people. I don't want
to annoy anyone here, so would like to know the rules about this and any
suggestions on how I can get in contact with fellow wicket people. I'm going
to be joining the wicket events here in europe as I'd like to get involved
long term with this framework. Ok I'll leave it at that for now, but any
pointers would be appreciated.
thanks
Wayne


Re: Jobs, opertunities and this mailing list

2008-08-21 Thread Matej Knopp
Go ahead, feel free to post the job ads, as long as they are wicket related.

-Matej

On Thu, Aug 21, 2008 at 4:07 PM, Wayne Pope
[EMAIL PROTECTED] wrote:
 Hi everyone,

 whats the policy here about advertising jobs or project/dev oppertunities?
 I'm creating something new and I'm looking for talented people. I don't want
 to annoy anyone here, so would like to know the rules about this and any
 suggestions on how I can get in contact with fellow wicket people. I'm going
 to be joining the wicket events here in europe as I'd like to get involved
 long term with this framework. Ok I'll leave it at that for now, but any
 pointers would be appreciated.
 thanks
 Wayne


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



Re: url after form submit with redirect

2008-08-21 Thread Matej Knopp
Just mount the page with HybridUrlCodingStrategy.

-Matej

On Thu, Aug 21, 2008 at 3:50 PM, miro [EMAIL PROTECTED] wrote:


 Assume I  passed my instance in setResponse() method ,  in this case wicket
 generates its own url  basically from the session  ,  so this means i cannot
 expect to have the mountpath url in case of instance   in setResponse()
 method ?   and only way to have themountpath in url is to pass class  as
 parameter ?if this is right how can I have the mount path url   in case of
 session specific url ?


 Jeremy Thomerson-5 wrote:

 This is covered in many responses in the archives of this list, and I'm
 sure
 the wiki, but anyway, here's the basics:

 If you create a new Page instance, and call setResponsePage(myInstance),
 Wicket must respond with *that exact instance.*  This means that the URL
 needs to be a session-specific URL that will look into your session, pull
 out that specific instance, and respond to the browser with it.

 For instance, you could do this:

 MyPage page = new MyPage();
 page.setFoo(bar);
 setResponsePage(page);

 If Wicket used a URL that was not session-specific, how would it know what
 you set foo to?  It must pull up the exact instance that you created and
 modified before calling setResponsePage.

 Now, if you did this:

 setResponsePage(MyPage.class)

 Wicket now knows that you just want to respond with a default, newly
 created
 instance of MyPage.  So, it can respond with a non-session-specific page
 (the URL that you mounted the page on).   When that URL is requested, it
 will create a new instance of MyPage with the default constructor, and
 respond with that.

 --
 Jeremy Thomerson
 http://www.wickettraining.com


 On Wed, Aug 20, 2008 at 4:06 PM, miro [EMAIL PROTECTED] wrote:


 here is what i do

 In Application which is  WicketApplication in the init method
 mount(new
 HybridUrlCodingStrategy(/secure/index.jas/searchPCR,Foo.class,true));

 my form object the method onSubmit()
 calls setResponsePage(new Foo());  does this matter
 and setRedirect(true)
 and my web.xml wicket filter   is mapped to all requests

filter-mapping
filter-namewicket/filter-name
url-pattern/*/url-pattern
/filter-mapping


 I tested with this but I was getting the same wicket url and not the
 mount
 path, then I changed setResponsePage   to take class as parameter  and
 not
 instance , then it worked .How the two methods setResposnePage(new
 Page())
 , setResponsePage(Page.class)  differ ?




 Erik van Oosten wrote:
 
  Miro,
 
  In Nabble, please do not edit your message after you've send it. That
  way you're message appears twice.
 
  Wicket will always use the mount path of the page you are forwarding
 to,
  that is, if you called setResponsePage. You can also look into mounting
  with a HybrodUrlEncoder.
 
  Regards,
  Erik.
 
 
  miro wrote:
  After submit a form with redirect set to true , the wicket generates
  its
  own
  url and not the mountpath.
  Is there a way to avoid this ?
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

 --
 View this message in context:
 http://www.nabble.com/url-after--submitting--a-form--with-a-redirect-tp19069918p19078053.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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





 --
 View this message in context: 
 http://www.nabble.com/url-after--submitting--a-form--with-a-redirect-tp19069918p19089181.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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]



Re: Jobs, opertunities and this mailing list

2008-08-21 Thread Martijn Dashorst
Yep,

We're *NOT* looking for blanket job offers that list all available
java frameworks. The job has to actually involve Wicket (related)
programming.

Martijn

On Thu, Aug 21, 2008 at 4:13 PM, Matej Knopp [EMAIL PROTECTED] wrote:
 Go ahead, feel free to post the job ads, as long as they are wicket related.

 -Matej

 On Thu, Aug 21, 2008 at 4:07 PM, Wayne Pope
 [EMAIL PROTECTED] wrote:
 Hi everyone,

 whats the policy here about advertising jobs or project/dev oppertunities?
 I'm creating something new and I'm looking for talented people. I don't want
 to annoy anyone here, so would like to know the rules about this and any
 suggestions on how I can get in contact with fellow wicket people. I'm going
 to be joining the wicket events here in europe as I'd like to get involved
 long term with this framework. Ok I'll leave it at that for now, but any
 pointers would be appreciated.
 thanks
 Wayne


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





-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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



Getting copy of html source

2008-08-21 Thread pointbreak+wicketstuff
Hi,

Is there an easy way to retrieve a copy of the html that is send to the
browser as part of a response. I would like to be able to e.g. send the
source of requested pages to an xhtml validating parser when the website
is run in development mode. Any suggestions?

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



Re: Page serialisation

2008-08-21 Thread Matej Knopp
That is right.

-Matej

On Wed, Aug 20, 2008 at 6:46 PM, James Carman
[EMAIL PROTECTED] wrote:
 Ahh, so the information is serialized in the same thread, but the
 actual saving to disk goes on in another thread.  Is that right?

 On Wed, Aug 20, 2008 at 12:38 PM, Johan Compagner [EMAIL PROTECTED] wrote:
 no we need always the latest version on disk before the next request comes
 in
 This is because if your next request comes in it can change the page then if
 you go to another page
 and back again we loose a version if it isnt saved yet.

 i guess matej can also come up with some other reason for it


 On Wed, Aug 20, 2008 at 6:30 PM, John Patterson [EMAIL PROTECTED] wrote:


 Is that the only reason?  I imagine most sites will be running on one
 server
 with no failover.  Is there a way to switch the serialisation of the
 current
 page off if failover support is not required?


 Martijn Dashorst wrote:
 
  Failover support needs the updates done by the ajax request.
 
  Martijn
 
  On Wed, Aug 20, 2008 at 6:13 PM, John Patterson [EMAIL PROTECTED]
 wrote:
 
  Hi, this might be a really obvious question but... why are pages
  serialised
  for every ajax request?  I thought the latest page was always stored in
  the
  PageMap?
 

 --
 View this message in context:
 http://www.nabble.com/Page-serialisation-tp19072319p19073257.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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]



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



Re: Page serialisation

2008-08-21 Thread Matej Knopp
Of course they do need to be saved.

What if after the ajax request there is regular request that shows new
page. User goes back and expects to see the previous page as it was
after the *last* ajax request, so we need to save and serialize it.

-Matej

On Wed, Aug 20, 2008 at 7:29 PM, John Patterson [EMAIL PROTECTED] wrote:



 Johan Compagner wrote:


 Ajax request for page A: alter the page in memory (still only in memory,
 no
 new version)

 yes page is altered so new version (ajax version)


 Normal request for page B: serialise A to disc and place B in memory


 No now you first do a request to A that can change something on it
 And then you redirect to B (you clicked on a Link object or submit a form
 on
 page A)

 if previous step didnt serialized then that version is lost


 I understand that every page-version needs to be saved for back button
 support.  But I thought that AJAX requests did not make new versions and
 therefore did not need to be saved.


 --
 View this message in context: 
 http://www.nabble.com/Page-serialisation-tp19072319p19074361.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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]



Re: Page serialisation

2008-08-21 Thread Matej Knopp
I was thinking about implementing it like this.

But, it would make code that is already complicated even more
complicated. What's worst, it wouldn't work in clustered environment
where you need to send the page across cluster on every request.

So the possible performance benefit of this would only show in
non-clustered environment for ajax requests. Also it might cause other
problems with inter page references.

I don't think the possible performance benefit is worth it, because
when you need more performance, you usually cluster the application.
And on cluster you usually want to have failover too.

Btw, in 1.5 there is another pagestore planned that is lightweight (no
serialization) but with limited backbutton support (no page
versioning, only certain amount of pages in memory).

-Matej

On Wed, Aug 20, 2008 at 7:14 PM, John Patterson [EMAIL PROTECTED] wrote:

 But all access to the session is serialised?  I don't see where a version
 could be lost

 Normal request for page A: store in memory (not serialised)
 Ajax request for page A: alter the page in memory (still only in memory, no
 new version)
 Normal request for page B: serialise A to disc and place B in memory
 Normal request to change page B: serialise B0 to disc and place new version
 B1 in memory

 Where could the version be lost?


 Johan Compagner wrote:

 but you could change the page ... before the previous change is stored
 then we loose a version


 On Wed, Aug 20, 2008 at 6:48 PM, John Patterson [EMAIL PROTECTED] wrote:


 But if the next request changes the same page that is fine as it is still
 stored in memory.  When the next page is requested it could bump the
 current
 page out of memory and onto disc.  At least that is how I assumed would
 work.


 Johan Compagner wrote:
 
  no we need always the latest version on disk before the next request
 comes
  in
  This is because if your next request comes in it can change the page
 then
  if
  you go to another page
  and back again we loose a version if it isnt saved yet.
 
  i guess matej can also come up with some other reason for it
 
 
  On Wed, Aug 20, 2008 at 6:30 PM, John Patterson [EMAIL PROTECTED]
 wrote:
 
 
  Is that the only reason?  I imagine most sites will be running on one
  server
  with no failover.  Is there a way to switch the serialisation of the
  current
  page off if failover support is not required?
 
 
  Martijn Dashorst wrote:
  
   Failover support needs the updates done by the ajax request.
  
   Martijn
  
   On Wed, Aug 20, 2008 at 6:13 PM, John Patterson [EMAIL PROTECTED]
  wrote:
  
   Hi, this might be a really obvious question but... why are pages
   serialised
   for every ajax request?  I thought the latest page was always
 stored
  in
   the
   PageMap?
  
 
  --
  View this message in context:
  http://www.nabble.com/Page-serialisation-tp19072319p19073257.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Page-serialisation-tp19072319p19073619.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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





 --
 View this message in context: 
 http://www.nabble.com/Page-serialisation-tp19072319p19074066.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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]



Re: Jobs, opertunities and this mailing list

2008-08-21 Thread Wayne Pope
Ok thanks,

its pure Wicket UI oppertunity. I'll create a new posting rather than
attaching it to this. If Martijn (or anyone here) needs to approve it first
please let me know and I'll email it direct. If I don't hear anything I'll
post it on mailing list.

thanks
Wayne

On Thu, Aug 21, 2008 at 4:16 PM, Martijn Dashorst 
[EMAIL PROTECTED] wrote:

 Yep,

 We're *NOT* looking for blanket job offers that list all available
 java frameworks. The job has to actually involve Wicket (related)
 programming.

 Martijn

 On Thu, Aug 21, 2008 at 4:13 PM, Matej Knopp [EMAIL PROTECTED]
 wrote:
  Go ahead, feel free to post the job ads, as long as they are wicket
 related.
 
  -Matej
 
  On Thu, Aug 21, 2008 at 4:07 PM, Wayne Pope
  [EMAIL PROTECTED] wrote:
  Hi everyone,
 
  whats the policy here about advertising jobs or project/dev
 oppertunities?
  I'm creating something new and I'm looking for talented people. I don't
 want
  to annoy anyone here, so would like to know the rules about this and any
  suggestions on how I can get in contact with fellow wicket people. I'm
 going
  to be joining the wicket events here in europe as I'd like to get
 involved
  long term with this framework. Ok I'll leave it at that for now, but any
  pointers would be appreciated.
  thanks
  Wayne
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



 --
 Become a Wicket expert, learn from the best: http://wicketinaction.com
 Apache Wicket 1.3.4 is released
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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




Re: Page serialisation

2008-08-21 Thread John Patterson

But the page (Page A) that was changed by the AJAX request will in memory
(with changes) and when the next regular request comes for Page B, Page A
could be bumped out of memory and saved _with_ all its changes.  When the
user clicks back to Page A the page would be de-serialised in the correct
state.

There is no need to save Page A until it gets bumped out of memory onto disc
- unless the page is needed for failsafe in a cluster.


Matej Knopp-2 wrote:
 
 Of course they do need to be saved.
 
 What if after the ajax request there is regular request that shows new
 page. User goes back and expects to see the previous page as it was
 after the *last* ajax request, so we need to save and serialize it.
 
 -Matej
 
 On Wed, Aug 20, 2008 at 7:29 PM, John Patterson [EMAIL PROTECTED] wrote:



 Johan Compagner wrote:


 Ajax request for page A: alter the page in memory (still only in
 memory,
 no
 new version)

 yes page is altered so new version (ajax version)


 Normal request for page B: serialise A to disc and place B in memory


 No now you first do a request to A that can change something on it
 And then you redirect to B (you clicked on a Link object or submit a
 form
 on
 page A)

 if previous step didnt serialized then that version is lost


 I understand that every page-version needs to be saved for back button
 support.  But I thought that AJAX requests did not make new versions and
 therefore did not need to be saved.


 --
 View this message in context:
 http://www.nabble.com/Page-serialisation-tp19072319p19074361.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Page-serialisation-tp19072319p19089780.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Getting copy of html source

2008-08-21 Thread Nino Saturnino Martinez Vazquez Wael
Search nabble for a similar post.. There migth be something on the wiki 
aswell


[EMAIL PROTECTED] wrote:

Hi,

Is there an easy way to retrieve a copy of the html that is send to the
browser as part of a response. I would like to be able to e.g. send the
source of requested pages to an xhtml validating parser when the website
is run in development mode. Any suggestions?

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

  


--
-Wicket for love

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]



Re: Wicket merchandise? - T-Shirt problem

2008-08-21 Thread hillj2

I have a short sleeve Wicket T-Shirt, but as the weather is about to get
colder, I would like a long-sleeve version.  What would be the best way of
accomplishing this?  Should I add the sleeves to a panel and add them to the
shirt container?  Or should I extend the base shirt component and include
the sleeves in the child markup?

Joel
-- 
View this message in context: 
http://www.nabble.com/Wicket-merchandise--tp19066811p19089785.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



I have some Wicket based opportunities/jobs if you're interested.

2008-08-21 Thread Wayne Pope
Hi,

Ok following my last email I have some opportunities for the right people.

I'm in the middle of creating a new start-up with funding already sorted.
We've got a great idea for an online application totally based on Wicket.

I'm activity seeking 2 to 4 developers who would like to get involved in
this new startup. We're based in the South of France/Cannes area (though I'm
personally from the UK) and ideally looking for people to join us here for a
6 month contract to start with.

However I realise that many of you a) already have jobs b) happy living
where you are.
So with this in mind I'm looking at perhaps creating a distributed/remote
team to work on this. - think 37signals.com for those who are aware.

We can pay a straight daily rate, or perhaps more motivating - to have
shares in the company and grow with it. It's a strong business case, and I
believe we have to right people onboard outside of development.

I wanted to go with an Agile/XP approach to this - so lots of fun coding and
constant working version. This however isn't going to work as well if it
ends up being a remote team so may have to adopt. Like I said previously -
we're looking to create the small team here on the Riviera *ideally*.

So if this sounds interesting please do email me or reply to this, and we
can talk some more.


Thanks

Wayne


Re: Page serialisation

2008-08-21 Thread John Patterson

Thanks for the explanation Matej.  Makes perfect sense.


Matej Knopp-2 wrote:
 
 I was thinking about implementing it like this.
 
 But, it would make code that is already complicated even more
 complicated. What's worst, it wouldn't work in clustered environment
 where you need to send the page across cluster on every request.
 
 So the possible performance benefit of this would only show in
 non-clustered environment for ajax requests. Also it might cause other
 problems with inter page references.
 
 I don't think the possible performance benefit is worth it, because
 when you need more performance, you usually cluster the application.
 And on cluster you usually want to have failover too.
 
 Btw, in 1.5 there is another pagestore planned that is lightweight (no
 serialization) but with limited backbutton support (no page
 versioning, only certain amount of pages in memory).
 
 -Matej
 
 

-- 
View this message in context: 
http://www.nabble.com/Page-serialisation-tp19072319p19089988.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Wicket merchandise?

2008-08-21 Thread James Carman
I don't know about de-emphasizing Apache in the name.  Apache Wicket
is the name of the framework.  It's Apache's brand and trademark.  I
would run these designs by the powers that be (whoever that is).  If
you don't want all one color for the name, why not try using a border
of some sort (perhaps wicket orange)?

On Thu, Aug 21, 2008 at 9:59 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
 That did'nt go too well with the polo (it's a small logo on the left chest
 muscle), it doesnt fit apparently..

 Templates(requirements for images) are here :
 http://www.cafepress.com/cp/info/sell/images/help_templates

 Daan van Etten wrote:

 Here are some high-res versions:


 http://stuq.nl/media/image/apache-wicket-tshirt-3,33x3,33-300dpi-transparant.png

 http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-transparant.png
 http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-white.png

 Please try the 10x10 version first for the polo, because the aspect ratio
 is the same, but the resolution is much better.

 Regards,

 Daan

 On 21 aug 2008, at 15:32, Nino Saturnino Martinez Vazquez Wael wrote:

 and could you rescale to 3.33 x 3.33 . I can put up a black polo then:)

 Daan van Etten wrote:

 Thanks for the tip!

 They should look better now:
 http://stuq.nl/media/image/apache-wicket-tshirt.png
 http://stuq.nl/media/image/apache-wicket-tshirt-black.png

 Regards,

 Daan

 On 21 aug 2008, at 14:46, Matej Knopp wrote:

 The Apache word needs some kerning adjustments :)

 -Matej

 On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote:

 Thanks for the inspiration... black looks really nice!

 Imagine a black t-shirt or a black mug with this:
 http://stuq.nl/media/image/apache-wicket-tshirt-black.png

 Regards,

 Daan van Etten

 On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:

 Ok my graphics skills are so pants it's embarrassing , especially
 considering Daan's offering, but I was thinking something along these
 lines

 http://www.zymari.gr/wicket.png

 All laughter welcome :-P

 Daan van Etten wrote:

 Something like this:
 http://stuq.nl/media/image/apache-wicket-tshirt.png
 (Just spent my lunch break time on it :-) )

 I have this as Photoshop file (300dpi 10x10). It's a vector (path)
 logo, so it is resizable to any size.

 Suggestions are welcome.

 Daan

 On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael
 wrote:

 Okay I've had some fun with Gimp, and it's pretty clear that im
 not a
 graphical artist.. Anyone up for creating some Wicket Logos?

 The sizes are :
 10x10
 3.33 x 3.33

 Anyone up for thongs and boxer shorts haha! Sizes are :
 2.75 x 2.75
 1x1
 4 x 6
 For bib's (they need to learn wicket young, you know)
 5 x 7

 Lets take the details of the thread(like quality, format...)

 Nino Saturnino Martinez Vazquez Wael wrote:

 So i'll try to get some things done, since there are many that
 wants
 this.. Are there any Wicket found or something if theres any
 profits on
 this? I'll see how far I can get without an real graphical
 artist:)

 Nino Saturnino Martinez Vazquez Wael wrote:

 Hi

 We talked about this a loong time ago. But theres a service
 CafePress.com (could have been there then aswell )which fairly
 easy lets you
 produce wicket merchandise.. So do the community want mugs caps
 and
 t-shirts? And what does the devs say?



 --
 -Wicket for love

 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]




 -
 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]



 -
 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]



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


 --
 -Wicket for love

 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]




 --
 -Wicket for love

 Nino Martinez Wael
 Java Specialist @ Jayway DK
 http://www.jayway.dk
 +45 2936 7684


 -
 To unsubscribe, e-mail: [EMAIL 

Re: Wicket merchandise?

2008-08-21 Thread James Carman
Oh, sorry.  My mom always told me to say something nice before you say
something critical.  Better late than never! :)  I really like the
logo an the general idea of the design.  I'll buy a t-shirt (and polo)
when they're available for sure.  If I have to, I'll print out the log
and tape it to my coffee mug while walking around the office, too. :)


On Thu, Aug 21, 2008 at 10:58 AM, James Carman
[EMAIL PROTECTED] wrote:
 I don't know about de-emphasizing Apache in the name.  Apache Wicket
 is the name of the framework.  It's Apache's brand and trademark.  I
 would run these designs by the powers that be (whoever that is).  If
 you don't want all one color for the name, why not try using a border
 of some sort (perhaps wicket orange)?

 On Thu, Aug 21, 2008 at 9:59 AM, Nino Saturnino Martinez Vazquez Wael
 [EMAIL PROTECTED] wrote:
 That did'nt go too well with the polo (it's a small logo on the left chest
 muscle), it doesnt fit apparently..

 Templates(requirements for images) are here :
 http://www.cafepress.com/cp/info/sell/images/help_templates

 Daan van Etten wrote:

 Here are some high-res versions:


 http://stuq.nl/media/image/apache-wicket-tshirt-3,33x3,33-300dpi-transparant.png

 http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-transparant.png
 http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-white.png

 Please try the 10x10 version first for the polo, because the aspect ratio
 is the same, but the resolution is much better.

 Regards,

 Daan

 On 21 aug 2008, at 15:32, Nino Saturnino Martinez Vazquez Wael wrote:

 and could you rescale to 3.33 x 3.33 . I can put up a black polo then:)

 Daan van Etten wrote:

 Thanks for the tip!

 They should look better now:
 http://stuq.nl/media/image/apache-wicket-tshirt.png
 http://stuq.nl/media/image/apache-wicket-tshirt-black.png

 Regards,

 Daan

 On 21 aug 2008, at 14:46, Matej Knopp wrote:

 The Apache word needs some kerning adjustments :)

 -Matej

 On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] 
 wrote:

 Thanks for the inspiration... black looks really nice!

 Imagine a black t-shirt or a black mug with this:
 http://stuq.nl/media/image/apache-wicket-tshirt-black.png

 Regards,

 Daan van Etten

 On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:

 Ok my graphics skills are so pants it's embarrassing , especially
 considering Daan's offering, but I was thinking something along these
 lines

 http://www.zymari.gr/wicket.png

 All laughter welcome :-P

 Daan van Etten wrote:

 Something like this:
 http://stuq.nl/media/image/apache-wicket-tshirt.png
 (Just spent my lunch break time on it :-) )

 I have this as Photoshop file (300dpi 10x10). It's a vector (path)
 logo, so it is resizable to any size.

 Suggestions are welcome.

 Daan

 On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael
 wrote:

 Okay I've had some fun with Gimp, and it's pretty clear that im
 not a
 graphical artist.. Anyone up for creating some Wicket Logos?

 The sizes are :
 10x10
 3.33 x 3.33

 Anyone up for thongs and boxer shorts haha! Sizes are :
 2.75 x 2.75
 1x1
 4 x 6
 For bib's (they need to learn wicket young, you know)
 5 x 7

 Lets take the details of the thread(like quality, format...)

 Nino Saturnino Martinez Vazquez Wael wrote:

 So i'll try to get some things done, since there are many that
 wants
 this.. Are there any Wicket found or something if theres any
 profits on
 this? I'll see how far I can get without an real graphical
 artist:)

 Nino Saturnino Martinez Vazquez Wael wrote:

 Hi

 We talked about this a loong time ago. But theres a service
 CafePress.com (could have been there then aswell )which fairly
 easy lets you
 produce wicket merchandise.. So do the community want mugs caps
 and
 t-shirts? And what does the devs say?



 --
 -Wicket for love

 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]




 -
 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]



 -
 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]



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


 --
 -Wicket for love

 Nino Martinez Wael
 Java Specialist @ Jayway 

Re: Page serialisation

2008-08-21 Thread James Carman
I need to write that down.  I think I keep forgetting that.  Is this
stuff outlined/discussed on one of the wiki pages?

On Thu, Aug 21, 2008 at 10:17 AM, Matej Knopp [EMAIL PROTECTED] wrote:
 That is right.

 -Matej

 On Wed, Aug 20, 2008 at 6:46 PM, James Carman
 [EMAIL PROTECTED] wrote:
 Ahh, so the information is serialized in the same thread, but the
 actual saving to disk goes on in another thread.  Is that right?

 On Wed, Aug 20, 2008 at 12:38 PM, Johan Compagner [EMAIL PROTECTED] wrote:
 no we need always the latest version on disk before the next request comes
 in
 This is because if your next request comes in it can change the page then if
 you go to another page
 and back again we loose a version if it isnt saved yet.

 i guess matej can also come up with some other reason for it


 On Wed, Aug 20, 2008 at 6:30 PM, John Patterson [EMAIL PROTECTED] wrote:


 Is that the only reason?  I imagine most sites will be running on one
 server
 with no failover.  Is there a way to switch the serialisation of the
 current
 page off if failover support is not required?


 Martijn Dashorst wrote:
 
  Failover support needs the updates done by the ajax request.
 
  Martijn
 
  On Wed, Aug 20, 2008 at 6:13 PM, John Patterson [EMAIL PROTECTED]
 wrote:
 
  Hi, this might be a really obvious question but... why are pages
  serialised
  for every ajax request?  I thought the latest page was always stored in
  the
  PageMap?
 

 --
 View this message in context:
 http://www.nabble.com/Page-serialisation-tp19072319p19073257.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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]



 -
 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]



Re: Wicket merchandise?

2008-08-21 Thread Nino Saturnino Martinez Vazquez Wael

hehe..

James Carman wrote:

Oh, sorry.  My mom always told me to say something nice before you say
something critical.  Better late than never! :)  I really like the
logo an the general idea of the design.  I'll buy a t-shirt (and polo)
when they're available for sure.  If I have to, I'll print out the log
and tape it to my coffee mug while walking around the office, too. :)

  
I thought of the same thing..:) But a real one's much nicer.. Although 
you migth get geek points for the tape thing..

On Thu, Aug 21, 2008 at 10:58 AM, James Carman
[EMAIL PROTECTED] wrote:
  

I don't know about de-emphasizing Apache in the name.  Apache Wicket
is the name of the framework.  It's Apache's brand and trademark.  I
would run these designs by the powers that be (whoever that is).  If
you don't want all one color for the name, why not try using a border
of some sort (perhaps wicket orange)?

On Thu, Aug 21, 2008 at 9:59 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:


That did'nt go too well with the polo (it's a small logo on the left chest
muscle), it doesnt fit apparently..

Templates(requirements for images) are here :
http://www.cafepress.com/cp/info/sell/images/help_templates

Daan van Etten wrote:
  

Here are some high-res versions:


http://stuq.nl/media/image/apache-wicket-tshirt-3,33x3,33-300dpi-transparant.png

http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-transparant.png
http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-white.png

Please try the 10x10 version first for the polo, because the aspect ratio
is the same, but the resolution is much better.

Regards,

Daan

On 21 aug 2008, at 15:32, Nino Saturnino Martinez Vazquez Wael wrote:



and could you rescale to 3.33 x 3.33 . I can put up a black polo then:)

Daan van Etten wrote:
  

Thanks for the tip!

They should look better now:
http://stuq.nl/media/image/apache-wicket-tshirt.png
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan

On 21 aug 2008, at 14:46, Matej Knopp wrote:



The Apache word needs some kerning adjustments :)

-Matej

On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] wrote:
  

Thanks for the inspiration... black looks really nice!

Imagine a black t-shirt or a black mug with this:
http://stuq.nl/media/image/apache-wicket-tshirt-black.png

Regards,

Daan van Etten

On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:



Ok my graphics skills are so pants it's embarrassing , especially
considering Daan's offering, but I was thinking something along these
lines

http://www.zymari.gr/wicket.png

All laughter welcome :-P

Daan van Etten wrote:
  

Something like this:
http://stuq.nl/media/image/apache-wicket-tshirt.png
(Just spent my lunch break time on it :-) )

I have this as Photoshop file (300dpi 10x10). It's a vector (path)
logo, so it is resizable to any size.

Suggestions are welcome.

Daan

On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael
wrote:



Okay I've had some fun with Gimp, and it's pretty clear that im
not a
graphical artist.. Anyone up for creating some Wicket Logos?

The sizes are :
10x10
3.33 x 3.33

Anyone up for thongs and boxer shorts haha! Sizes are :
2.75 x 2.75
1x1
4 x 6
For bib's (they need to learn wicket young, you know)
5 x 7

Lets take the details of the thread(like quality, format...)

Nino Saturnino Martinez Vazquez Wael wrote:
  

So i'll try to get some things done, since there are many that
wants
this.. Are there any Wicket found or something if theres any
profits on
this? I'll see how far I can get without an real graphical
artist:)

Nino Saturnino Martinez Vazquez Wael wrote:


Hi

We talked about this a loong time ago. But theres a service
CafePress.com (could have been there then aswell )which fairly
easy lets you
produce wicket merchandise.. So do the community want mugs caps
and
t-shirts? And what does the devs say?

  

--
-Wicket for love

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]

  


-
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]

  

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




-
To 

Re: Wicket merchandise?

2008-08-21 Thread James Carman
On Thu, Aug 21, 2008 at 11:02 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
 hehe..

 James Carman wrote:

 Oh, sorry.  My mom always told me to say something nice before you say
 something critical.  Better late than never! :)  I really like the
 logo an the general idea of the design.  I'll buy a t-shirt (and polo)
 when they're available for sure.  If I have to, I'll print out the log
 and tape it to my coffee mug while walking around the office, too. :)



 I thought of the same thing..:) But a real one's much nicer.. Although you
 migth get geek points for the tape thing..

If I used my red Swingline 747 series stapler to attach the logo, then
I'd REALLY get geek points!

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



Re: Wicket merchandise?

2008-08-21 Thread Martijn Dashorst
but the coffee stains on your shirt from the coffee that seeps out of
those holes would detract from those points :)

Martijn

On Thu, Aug 21, 2008 at 5:07 PM, James Carman
[EMAIL PROTECTED] wrote:
 On Thu, Aug 21, 2008 at 11:02 AM, Nino Saturnino Martinez Vazquez Wael
 [EMAIL PROTECTED] wrote:
 hehe..

 James Carman wrote:

 Oh, sorry.  My mom always told me to say something nice before you say
 something critical.  Better late than never! :)  I really like the
 logo an the general idea of the design.  I'll buy a t-shirt (and polo)
 when they're available for sure.  If I have to, I'll print out the log
 and tape it to my coffee mug while walking around the office, too. :)



 I thought of the same thing..:) But a real one's much nicer.. Although you
 migth get geek points for the tape thing..

 If I used my red Swingline 747 series stapler to attach the logo, then
 I'd REALLY get geek points!

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





-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

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



Re: Wicket merchandise?

2008-08-21 Thread Peter Thomas
+1 on the t-shirt and the general design as it is now.

But agree with James, I prefer Apache and Wicket to be both the same
color.

On Thu, Aug 21, 2008 at 8:30 PM, James Carman [EMAIL PROTECTED]wrote:

 Oh, sorry.  My mom always told me to say something nice before you say
 something critical.  Better late than never! :)  I really like the
 logo an the general idea of the design.  I'll buy a t-shirt (and polo)
 when they're available for sure.  If I have to, I'll print out the log
 and tape it to my coffee mug while walking around the office, too. :)


 On Thu, Aug 21, 2008 at 10:58 AM, James Carman
 [EMAIL PROTECTED] wrote:
  I don't know about de-emphasizing Apache in the name.  Apache Wicket
  is the name of the framework.  It's Apache's brand and trademark.  I
  would run these designs by the powers that be (whoever that is).  If
  you don't want all one color for the name, why not try using a border
  of some sort (perhaps wicket orange)?
 



Re: Getting copy of html source

2008-08-21 Thread Martin Grigorov
See IResponseFilter.

An example: AjaxServerAndClientTimeFilter.

On Thu, 2008-08-21 at 16:14 +0200, [EMAIL PROTECTED] wrote:
 Hi,
 
 Is there an easy way to retrieve a copy of the html that is send to the
 browser as part of a response. I would like to be able to e.g. send the
 source of requested pages to an xhtml validating parser when the website
 is run in development mode. Any suggestions?
 
 -
 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]



Re: Wicket merchandise?

2008-08-21 Thread James Carman
On Thu, Aug 21, 2008 at 11:09 AM, Martijn Dashorst
[EMAIL PROTECTED] wrote:
 but the coffee stains on your shirt from the coffee that seeps out of
 those holes would detract from those points :)

What if I use duct tape around the edge of the previously-stapled
logo?  Then, I get geek and redneck points in one fell swoop!

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



Re: Wicket merchandise?

2008-08-21 Thread Johan Compagner
is this the back or the front?

shouldnt we have 2 images??

:)


On Thu, Aug 21, 2008 at 3:54 PM, Daan van Etten [EMAIL PROTECTED] wrote:


 http://stuq.nl/media/image/apache-wicket-tshirt-10x10-300dpi-transparant-orangewicket.png

 There you go.. imagine the black background yourself (it's transparent now
 for CafePress).

 Regards,

 Daan


 On 21 aug 2008, at 15:39, Yiannis Mavroukakis wrote:

  Nice :-)  can we have a version with the official orange as the font
 colour for Wicket ?

 Daan van Etten wrote:

 Here is version 2 :-)

 http://stuq.nl/media/image/apache-wicket-tshirt-black-version-2.png

 On 21 aug 2008, at 15:07, Matej Knopp wrote:

  I could imagine wearing that on a tshirt :)
 One more small thing, on the dark one I'd prefer WICKET being brighter
 than APACHE :)

 -Matej

 On Thu, Aug 21, 2008 at 2:57 PM, Daan van Etten [EMAIL PROTECTED] wrote:

 Thanks for the tip!

 They should look better now:
 http://stuq.nl/media/image/apache-wicket-tshirt.png
 http://stuq.nl/media/image/apache-wicket-tshirt-black.png

 Regards,

 Daan

 On 21 aug 2008, at 14:46, Matej Knopp wrote:

  The Apache word needs some kerning adjustments :)

 -Matej

 On Thu, Aug 21, 2008 at 2:19 PM, Daan van Etten [EMAIL PROTECTED] 
 wrote:


 Thanks for the inspiration... black looks really nice!

 Imagine a black t-shirt or a black mug with this:
 http://stuq.nl/media/image/apache-wicket-tshirt-black.png

 Regards,

 Daan van Etten

 On 21 aug 2008, at 13:51, Yiannis Mavroukakis wrote:

  Ok my graphics skills are so pants it's embarrassing , especially
 considering Daan's offering, but I was thinking something along
 these
 lines

 http://www.zymari.gr/wicket.png

 All laughter welcome :-P

 Daan van Etten wrote:


 Something like this:
 http://stuq.nl/media/image/apache-wicket-tshirt.png
 (Just spent my lunch break time on it :-) )

 I have this as Photoshop file (300dpi 10x10). It's a vector
 (path)
 logo, so it is resizable to any size.

 Suggestions are welcome.

 Daan

 On 21 aug 2008, at 11:29, Nino Saturnino Martinez Vazquez Wael
 wrote:

  Okay I've had some fun with Gimp, and it's pretty clear that im
 not
 a
 graphical artist.. Anyone up for creating some Wicket Logos?

 The sizes are :
 10x10
 3.33 x 3.33

 Anyone up for thongs and boxer shorts haha! Sizes are :
 2.75 x 2.75
 1x1
 4 x 6
 For bib's (they need to learn wicket young, you know)
 5 x 7

 Lets take the details of the thread(like quality, format...)

 Nino Saturnino Martinez Vazquez Wael wrote:


 So i'll try to get some things done, since there are many that
 wants
 this.. Are there any Wicket found or something if theres any
 profits
 on
 this? I'll see how far I can get without an real graphical
 artist:)

 Nino Saturnino Martinez Vazquez Wael wrote:


 Hi

 We talked about this a loong time ago. But theres a service
 CafePress.com (could have been there then aswell )which fairly
 easy
 lets you
 produce wicket merchandise.. So do the community want mugs caps
 and
 t-shirts? And what does the devs say?



 --
 -Wicket for love

 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]




 -
 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]



 -
 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]



 -
 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]



 -
 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]



 -

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




Re: Page serialisation

2008-08-21 Thread Matej Knopp
I think think it is. Go ahead if you feel like it.

-Matej

On Thu, Aug 21, 2008 at 5:02 PM, James Carman
[EMAIL PROTECTED] wrote:
 I need to write that down.  I think I keep forgetting that.  Is this
 stuff outlined/discussed on one of the wiki pages?

 On Thu, Aug 21, 2008 at 10:17 AM, Matej Knopp [EMAIL PROTECTED] wrote:
 That is right.

 -Matej

 On Wed, Aug 20, 2008 at 6:46 PM, James Carman
 [EMAIL PROTECTED] wrote:
 Ahh, so the information is serialized in the same thread, but the
 actual saving to disk goes on in another thread.  Is that right?

 On Wed, Aug 20, 2008 at 12:38 PM, Johan Compagner [EMAIL PROTECTED] wrote:
 no we need always the latest version on disk before the next request comes
 in
 This is because if your next request comes in it can change the page then 
 if
 you go to another page
 and back again we loose a version if it isnt saved yet.

 i guess matej can also come up with some other reason for it


 On Wed, Aug 20, 2008 at 6:30 PM, John Patterson [EMAIL PROTECTED] wrote:


 Is that the only reason?  I imagine most sites will be running on one
 server
 with no failover.  Is there a way to switch the serialisation of the
 current
 page off if failover support is not required?


 Martijn Dashorst wrote:
 
  Failover support needs the updates done by the ajax request.
 
  Martijn
 
  On Wed, Aug 20, 2008 at 6:13 PM, John Patterson [EMAIL PROTECTED]
 wrote:
 
  Hi, this might be a really obvious question but... why are pages
  serialised
  for every ajax request?  I thought the latest page was always stored in
  the
  PageMap?
 

 --
 View this message in context:
 http://www.nabble.com/Page-serialisation-tp19072319p19073257.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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]



 -
 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]



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



Re: I have some Wicket based opportunities/jobs if you're interested.

2008-08-21 Thread Cristi Manole
Hello,

First I'd like to wish you the best with your application.

I am interested in finding out more about you project because I'd like to be
part of it, if I can. I have extensive experience with Java, but I've been
writing Wicket applications only for a couple of years.

The other problem is I work for Oracle as a technical consultant so I travel
a lot. Next week for instance I'm expected in Argentina. That means my
working hours depend on the time zone and regular workload.

Please share more details like when the project is planned to start, how
many hours per day, etc.

Thank you,
Cristi Manole

On Thu, Aug 21, 2008 at 5:43 PM, Wayne Pope 
[EMAIL PROTECTED] wrote:

 Hi,

 Ok following my last email I have some opportunities for the right people.

 I'm in the middle of creating a new start-up with funding already sorted.
 We've got a great idea for an online application totally based on Wicket.

 I'm activity seeking 2 to 4 developers who would like to get involved in
 this new startup. We're based in the South of France/Cannes area (though
 I'm
 personally from the UK) and ideally looking for people to join us here for
 a
 6 month contract to start with.

 However I realise that many of you a) already have jobs b) happy living
 where you are.
 So with this in mind I'm looking at perhaps creating a distributed/remote
 team to work on this. - think 37signals.com for those who are aware.

 We can pay a straight daily rate, or perhaps more motivating - to have
 shares in the company and grow with it. It's a strong business case, and I
 believe we have to right people onboard outside of development.

 I wanted to go with an Agile/XP approach to this - so lots of fun coding
 and
 constant working version. This however isn't going to work as well if it
 ends up being a remote team so may have to adopt. Like I said previously -
 we're looking to create the small team here on the Riviera *ideally*.

 So if this sounds interesting please do email me or reply to this, and we
 can talk some more.


 Thanks

 Wayne



RE: Wicket merchandise?

2008-08-21 Thread Goldstein, Jonathan A
I don't know why, but for this come to mind when I see the Wicket
logo...

http://www.moestuff.com/index.asp?PageAction=VIEWPRODProdID=14HS=1

;-)

Jon

Jonathan A. Goldstein
Software Engineer

Xerox Corporation
800 Phillips Rd., 0300-12S
Webster, NY 14580

Phone 585.422.4161
Internal 8*702-4161

Ease of Use Common Room   585.422.0731
Internal 8*702.0731

Fax 585.422.8116

[EMAIL PROTECTED]


PSG.Workflow Business Unit.Workflow Business Team.FFPS Ease of Use Team

www.xerox.com
-Original Message-
From: Peter Thomas [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 21, 2008 11:12 AM
To: users@wicket.apache.org
Subject: Re: Wicket merchandise?

+1 on the t-shirt and the general design as it is now.

But agree with James, I prefer Apache and Wicket to be both the same
color.

On Thu, Aug 21, 2008 at 8:30 PM, James Carman
[EMAIL PROTECTED]wrote:

 Oh, sorry.  My mom always told me to say something nice before you say
 something critical.  Better late than never! :)  I really like the
 logo an the general idea of the design.  I'll buy a t-shirt (and polo)
 when they're available for sure.  If I have to, I'll print out the log
 and tape it to my coffee mug while walking around the office, too. :)


 On Thu, Aug 21, 2008 at 10:58 AM, James Carman
 [EMAIL PROTECTED] wrote:
  I don't know about de-emphasizing Apache in the name.  Apache Wicket
  is the name of the framework.  It's Apache's brand and trademark.  I
  would run these designs by the powers that be (whoever that is).
If
  you don't want all one color for the name, why not try using a
border
  of some sort (perhaps wicket orange)?
 


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



MetaData Type

2008-08-21 Thread John Patterson

Hi fellow wicketeers, I was wondering why Application.setMetaData() is
defined to take an Object and not a T or ? extends T.  I'm sure there's
probably a good reason for it... just wondering.
-- 
View this message in context: 
http://www.nabble.com/MetaData-Type-tp19091075p19091075.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Page serialisation

2008-08-21 Thread Martin Grigorov
On Thu, 2008-08-21 at 16:23 +0200, Matej Knopp wrote:
 I was thinking about implementing it like this.
 
 But, it would make code that is already complicated even more
 complicated. What's worst, it wouldn't work in clustered environment
 where you need to send the page across cluster on every request.
 
 So the possible performance benefit of this would only show in
 non-clustered environment for ajax requests. Also it might cause other
 problems with inter page references.
 
 I don't think the possible performance benefit is worth it, because
 when you need more performance, you usually cluster the application.
 And on cluster you usually want to have failover too.
 
 Btw, in 1.5 there is another pagestore planned that is lightweight (no
 serialization) but with limited backbutton support (no page
 versioning, only certain amount of pages in memory).

I hoped for full back button support for ajax...

 
 -Matej
 
 On Wed, Aug 20, 2008 at 7:14 PM, John Patterson [EMAIL PROTECTED] wrote:
 
  But all access to the session is serialised?  I don't see where a version
  could be lost
 
  Normal request for page A: store in memory (not serialised)
  Ajax request for page A: alter the page in memory (still only in memory, no
  new version)
  Normal request for page B: serialise A to disc and place B in memory
  Normal request to change page B: serialise B0 to disc and place new version
  B1 in memory
 
  Where could the version be lost?
 
 
  Johan Compagner wrote:
 
  but you could change the page ... before the previous change is stored
  then we loose a version
 
 
  On Wed, Aug 20, 2008 at 6:48 PM, John Patterson [EMAIL PROTECTED] wrote:
 
 
  But if the next request changes the same page that is fine as it is still
  stored in memory.  When the next page is requested it could bump the
  current
  page out of memory and onto disc.  At least that is how I assumed would
  work.
 
 
  Johan Compagner wrote:
  
   no we need always the latest version on disk before the next request
  comes
   in
   This is because if your next request comes in it can change the page
  then
   if
   you go to another page
   and back again we loose a version if it isnt saved yet.
  
   i guess matej can also come up with some other reason for it
  
  
   On Wed, Aug 20, 2008 at 6:30 PM, John Patterson [EMAIL PROTECTED]
  wrote:
  
  
   Is that the only reason?  I imagine most sites will be running on one
   server
   with no failover.  Is there a way to switch the serialisation of the
   current
   page off if failover support is not required?
  
  
   Martijn Dashorst wrote:
   
Failover support needs the updates done by the ajax request.
   
Martijn
   
On Wed, Aug 20, 2008 at 6:13 PM, John Patterson [EMAIL PROTECTED]
   wrote:
   
Hi, this might be a really obvious question but... why are pages
serialised
for every ajax request?  I thought the latest page was always
  stored
   in
the
PageMap?
   
  
   --
   View this message in context:
   http://www.nabble.com/Page-serialisation-tp19072319p19073257.html
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
 
  --
  View this message in context:
  http://www.nabble.com/Page-serialisation-tp19072319p19073619.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
  --
  View this message in context: 
  http://www.nabble.com/Page-serialisation-tp19072319p19074066.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  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]
 
 


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



Re: I have some Wicket based opportunities/jobs if you're interested.

2008-08-21 Thread Erik van Oosten
Cristi Manole wrote:
 Please share more details like when the project is planned to start, how
 many hours per day, etc.
   

But not on this list please.

Regards,
Erik.



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



Re: Wicket merchandise?

2008-08-21 Thread Yiannis Mavroukakis
How about a rectangular box around Apache grey background with 
Apache in black and Wicket in orange font (as is now)

next to it?

Peter Thomas wrote:

+1 on the t-shirt and the general design as it is now.

But agree with James, I prefer Apache and Wicket to be both the same
color.

On Thu, Aug 21, 2008 at 8:30 PM, James Carman [EMAIL PROTECTED]wrote:

  

Oh, sorry.  My mom always told me to say something nice before you say
something critical.  Better late than never! :)  I really like the
logo an the general idea of the design.  I'll buy a t-shirt (and polo)
when they're available for sure.  If I have to, I'll print out the log
and tape it to my coffee mug while walking around the office, too. :)


On Thu, Aug 21, 2008 at 10:58 AM, James Carman
[EMAIL PROTECTED] wrote:


I don't know about de-emphasizing Apache in the name.  Apache Wicket
is the name of the framework.  It's Apache's brand and trademark.  I
would run these designs by the powers that be (whoever that is).  If
you don't want all one color for the name, why not try using a border
of some sort (perhaps wicket orange)?

  


  


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



Re: I have some Wicket based opportunities/jobs if you're interested.

2008-08-21 Thread Wayne Pope
Hi,

just to perhaps say  - please just contact me directly as I don't want to
spam this list in anyway.

thanks
Wayne

On Thu, Aug 21, 2008 at 5:38 PM, Erik van Oosten [EMAIL PROTECTED]wrote:

 Cristi Manole wrote:
  Please share more details like when the project is planned to start, how
  many hours per day, etc.
 

 But not on this list please.

 Regards,
Erik.



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




Re: Page serialisation

2008-08-21 Thread Matej Knopp

 I hoped for full back button support for ajax...

I bet you did...

-Matej



 -Matej

 On Wed, Aug 20, 2008 at 7:14 PM, John Patterson [EMAIL PROTECTED] wrote:
 
  But all access to the session is serialised?  I don't see where a version
  could be lost
 
  Normal request for page A: store in memory (not serialised)
  Ajax request for page A: alter the page in memory (still only in memory, no
  new version)
  Normal request for page B: serialise A to disc and place B in memory
  Normal request to change page B: serialise B0 to disc and place new version
  B1 in memory
 
  Where could the version be lost?
 
 
  Johan Compagner wrote:
 
  but you could change the page ... before the previous change is stored
  then we loose a version
 
 
  On Wed, Aug 20, 2008 at 6:48 PM, John Patterson [EMAIL PROTECTED] wrote:
 
 
  But if the next request changes the same page that is fine as it is still
  stored in memory.  When the next page is requested it could bump the
  current
  page out of memory and onto disc.  At least that is how I assumed would
  work.
 
 
  Johan Compagner wrote:
  
   no we need always the latest version on disk before the next request
  comes
   in
   This is because if your next request comes in it can change the page
  then
   if
   you go to another page
   and back again we loose a version if it isnt saved yet.
  
   i guess matej can also come up with some other reason for it
  
  
   On Wed, Aug 20, 2008 at 6:30 PM, John Patterson [EMAIL PROTECTED]
  wrote:
  
  
   Is that the only reason?  I imagine most sites will be running on one
   server
   with no failover.  Is there a way to switch the serialisation of the
   current
   page off if failover support is not required?
  
  
   Martijn Dashorst wrote:
   
Failover support needs the updates done by the ajax request.
   
Martijn
   
On Wed, Aug 20, 2008 at 6:13 PM, John Patterson [EMAIL PROTECTED]
   wrote:
   
Hi, this might be a really obvious question but... why are pages
serialised
for every ajax request?  I thought the latest page was always
  stored
   in
the
PageMap?
   
  
   --
   View this message in context:
   http://www.nabble.com/Page-serialisation-tp19072319p19073257.html
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
 
  --
  View this message in context:
  http://www.nabble.com/Page-serialisation-tp19072319p19073619.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
  --
  View this message in context: 
  http://www.nabble.com/Page-serialisation-tp19072319p19074066.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  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]




 -
 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]



Re: Wicket merchandise?

2008-08-21 Thread James Carman
m...burritos

On Thu, Aug 21, 2008 at 11:20 AM, Goldstein, Jonathan A
[EMAIL PROTECTED] wrote:
 I don't know why, but for this come to mind when I see the Wicket
 logo...

 http://www.moestuff.com/index.asp?PageAction=VIEWPRODProdID=14HS=1

 ;-)

 Jon

 Jonathan A. Goldstein
 Software Engineer

 Xerox Corporation
 800 Phillips Rd., 0300-12S
 Webster, NY 14580

 Phone 585.422.4161
 Internal 8*702-4161

 Ease of Use Common Room   585.422.0731
 Internal 8*702.0731

 Fax 585.422.8116

 [EMAIL PROTECTED]


 PSG.Workflow Business Unit.Workflow Business Team.FFPS Ease of Use Team

 www.xerox.com
 -Original Message-
 From: Peter Thomas [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 21, 2008 11:12 AM
 To: users@wicket.apache.org
 Subject: Re: Wicket merchandise?

 +1 on the t-shirt and the general design as it is now.

 But agree with James, I prefer Apache and Wicket to be both the same
 color.

 On Thu, Aug 21, 2008 at 8:30 PM, James Carman
 [EMAIL PROTECTED]wrote:

 Oh, sorry.  My mom always told me to say something nice before you say
 something critical.  Better late than never! :)  I really like the
 logo an the general idea of the design.  I'll buy a t-shirt (and polo)
 when they're available for sure.  If I have to, I'll print out the log
 and tape it to my coffee mug while walking around the office, too. :)


 On Thu, Aug 21, 2008 at 10:58 AM, James Carman
 [EMAIL PROTECTED] wrote:
  I don't know about de-emphasizing Apache in the name.  Apache Wicket
  is the name of the framework.  It's Apache's brand and trademark.  I
  would run these designs by the powers that be (whoever that is).
 If
  you don't want all one color for the name, why not try using a
 border
  of some sort (perhaps wicket orange)?
 


 -
 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]



Re: Page serialisation

2008-08-21 Thread John Patterson

I hoped for someone to build this website for me... but alas I'm still
sitting here in front of this computer.


martin-g wrote:
 
 On Thu, 2008-08-21 at 16:23 +0200, Matej Knopp wrote:
 I was thinking about implementing it like this.
 
 But, it would make code that is already complicated even more
 complicated. What's worst, it wouldn't work in clustered environment
 where you need to send the page across cluster on every request.
 
 So the possible performance benefit of this would only show in
 non-clustered environment for ajax requests. Also it might cause other
 problems with inter page references.
 
 I don't think the possible performance benefit is worth it, because
 when you need more performance, you usually cluster the application.
 And on cluster you usually want to have failover too.
 
 Btw, in 1.5 there is another pagestore planned that is lightweight (no
 serialization) but with limited backbutton support (no page
 versioning, only certain amount of pages in memory).
 
 I hoped for full back button support for ajax...
 
 
 -Matej
 
 On Wed, Aug 20, 2008 at 7:14 PM, John Patterson [EMAIL PROTECTED]
 wrote:
 
  But all access to the session is serialised?  I don't see where a
 version
  could be lost
 
  Normal request for page A: store in memory (not serialised)
  Ajax request for page A: alter the page in memory (still only in
 memory, no
  new version)
  Normal request for page B: serialise A to disc and place B in memory
  Normal request to change page B: serialise B0 to disc and place new
 version
  B1 in memory
 
  Where could the version be lost?
 
 
  Johan Compagner wrote:
 
  but you could change the page ... before the previous change is stored
  then we loose a version
 
 
  On Wed, Aug 20, 2008 at 6:48 PM, John Patterson [EMAIL PROTECTED]
 wrote:
 
 
  But if the next request changes the same page that is fine as it is
 still
  stored in memory.  When the next page is requested it could bump the
  current
  page out of memory and onto disc.  At least that is how I assumed
 would
  work.
 
 
  Johan Compagner wrote:
  
   no we need always the latest version on disk before the next
 request
  comes
   in
   This is because if your next request comes in it can change the
 page
  then
   if
   you go to another page
   and back again we loose a version if it isnt saved yet.
  
   i guess matej can also come up with some other reason for it
  
  
   On Wed, Aug 20, 2008 at 6:30 PM, John Patterson [EMAIL PROTECTED]
  wrote:
  
  
   Is that the only reason?  I imagine most sites will be running on
 one
   server
   with no failover.  Is there a way to switch the serialisation of
 the
   current
   page off if failover support is not required?
  
  
   Martijn Dashorst wrote:
   
Failover support needs the updates done by the ajax request.
   
Martijn
   
On Wed, Aug 20, 2008 at 6:13 PM, John Patterson
 [EMAIL PROTECTED]
   wrote:
   
Hi, this might be a really obvious question but... why are
 pages
serialised
for every ajax request?  I thought the latest page was always
  stored
   in
the
PageMap?
   
  
   --
   View this message in context:
   http://www.nabble.com/Page-serialisation-tp19072319p19073257.html
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
 
  --
  View this message in context:
  http://www.nabble.com/Page-serialisation-tp19072319p19073619.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
  --
  View this message in context:
 http://www.nabble.com/Page-serialisation-tp19072319p19074066.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  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]
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Page-serialisation-tp19072319p19091615.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Wicket merchandise? - T-Shirt problem

2008-08-21 Thread Nino Saturnino Martinez Vazquez Wael
Extend it with the new ZIPPABLE sleeve architecture, much like AJAX but 
with a very clean common interface. :)


hillj2 wrote:

I have a short sleeve Wicket T-Shirt, but as the weather is about to get
colder, I would like a long-sleeve version.  What would be the best way of
accomplishing this?  Should I add the sleeves to a panel and add them to the
shirt container?  Or should I extend the base shirt component and include
the sleeves in the child markup?

Joel
  


--
-Wicket for love

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]



Re: datepicker and inmethod

2008-08-21 Thread Matej Knopp
probably yui version clashes...

-Matej

On Thu, Aug 21, 2008 at 5:58 PM, miata [EMAIL PROTECTED] wrote:

 Do you have the solution, I have the same problem...


 madx wrote:

 Error: lang.later is not a function
 Source File:
 http://localhost:8080/dsc/dsc/resources/org.apache.wicket.extensions.yui.YuiLib/yuiloader-beta.js
 Line: 1270

 I am getting this error when i have a textfield with datepicker and
 sortable inmethod grid on the same page.
 I am not able to see the calendar pop up when i click the icon.
 But, if i comment the lines that displays the grid div
 wicket:id=contacts, the datepicker shows the calendar popup. Any
 thoughts?
 p
form wicket:id=dateForm
   input type=hidden wicket:id=dateType id=dateType /
   wicket:message key=contacts.popup.from/input type=text
 wicket:id=fromDate id=fromDate/
   wicket:message key=contacts.popup.to/input type=text
 wicket:id=toDate id=toDate/
   input type=submit wicket:id=saveButton
 wicket:message=value:contacts.popup.dateSearch /
 /form
   /p
   p
 div style=margin: 1em
   div wicket:id=contacts
   /div
 /div
   /p


 --
 View this message in context: 
 http://www.nabble.com/datepicker-and-inmethod-tp15703645p19091753.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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]



Re: Unable to find component with id

2008-08-21 Thread John Patterson

That can't be the markup that generated that error because there is no tag in
it with a wicket:id=label which the error message is complaining about.

But you also do not add a tag for exampleTitle which you add here 
add(new Label(exampleTitle, exampleTitle)); 

Basically, every wicket:id in your html files must have a component in your
java file and visa versa


btakacs wrote:
 
 Hi
 
 I'm new in wicket. I tried to display a list of components, but I get the
 following error:
 
 WicketMessage: Unable to find component with id 'label' in
 [MarkupContainer [Component id = link, page = com.myapp.wicket.HomePage,
 path = 0:mainNavigation:menu:0:link.BookmarkablePageLink, isVisible =
 true, isVersioned = true]]. This means that you declared wicket:id=label
 in your markup, but that you either did not add the component to your page
 at all, or that the hierarchy does not match.
 [markup =
 file:/D:/workspace/NetBeansProjects/WicketTest/build/web/WEB-INF/classes/com/myapp/wicket/HeaderPanel.html
 
 The html:
 html xmlns:wicket
 body
   wicket:panel
 h1Wicket Example/h1
 p id=titleblock
 Start of Example Title Goes Here
 
/p

ul wicket:id=menu
 li  /li
 
   /ul
 
   /wicket:panel
 /body
 /html
 
 The MarkupComponents are:
 # PathSizeTypeModel Object
 1 mainNavigation  3K  com.myapp.wicket.HeaderPanel
 No get
 method defined for class: class com.myapp.wicket.HomePage expression:
 mainNavigation   
 2 mainNavigation:exampleTitle 421 bytes
 org.apache.wicket.markup.html.basic.Label wicket   
 3 mainNavigation:menu 4.4K
 org.apache.wicket.markup.html.list.ListView
 [EMAIL PROTECTED],
 [EMAIL PROTECTED],
 [EMAIL PROTECTED]   
 4 mainNavigation:menu:0   4.4K
 org.apache.wicket.markup.html.list.ListItem
 [EMAIL PROTECTED]   
 5 mainNavigation:menu:0:label 418 bytes
 org.apache.wicket.markup.html.basic.Label First Page   
 6 mainNavigation:menu:0:link  1K
 org.apache.wicket.markup.html.link.BookmarkablePageLink   No get method
 defined for class: class com.myapp.wicket.HomePage expression: link   
 7 mainNavigation:menu:1   4.4K
 org.apache.wicket.markup.html.list.ListItem
 [EMAIL PROTECTED]   
 8 mainNavigation:menu:1:label 419 bytes
 org.apache.wicket.markup.html.basic.Label Second Page   
 9 mainNavigation:menu:1:link  1K
 org.apache.wicket.markup.html.link.BookmarkablePageLink   No get method
 defined for class: class com.myapp.wicket.HomePage expression: link   
 10mainNavigation:menu:2   4.4K
 org.apache.wicket.markup.html.list.ListItem
 [EMAIL PROTECTED]   
 11mainNavigation:menu:2:label 418 bytes
 org.apache.wicket.markup.html.basic.Label Third Page   
 12mainNavigation:menu:2:link  1K
 org.apache.wicket.markup.html.link.BookmarkablePageLink   No get method
 defined for class: class com.myapp.wicket.HomePage expression: link   
 13param   409 bytes   
 org.apache.wicket.markup.html.basic.Label
 0   
 14stylesheet  1.4K
 org.apache.wicket.markup.html.resources.StyleSheetReference   No get
 method defined for class: class com.myapp.wicket.HomePage expression:
 stylesheet 
 
 I have the following classes:
 
 public class HeaderPanel{
 public HeaderPanel(String componentName, String exampleTitle)
 {
 super(componentName);
 add(new Label(exampleTitle, exampleTitle));
 ArrayListMenuModel menu=new ArrayListMenuModel();
 menu.add(new MenuModel(1, HomePage, First Page));
 menu.add(new MenuModel(2, HomePage, Second Page));
 menu.add(new MenuModel(3, HomePage, Third Page));
 
 MenuView view = new MenuView(menu, menu);
 add(view);   
  
 }
 }
 
 public class MenuView extends ListView {
 
 public MenuView(final String id) {
 super(id);
 }
 
 public MenuView(final String id, final IModel model) {
 super(id, model);
 }
 
 public MenuView(final String id, final List list) {
 super(id, list);
 }
 
 @Override
 protected void populateItem(ListItem item) {
 final MenuModel element = (MenuModel) item.getModelObject();
 Class clas;
 try {
 clas = Class.forName(element.getClas());
 } catch (ClassNotFoundException ex) {
 Logger.getLogger(MenuView.class.getName()).log(Level.WARNING,
 null, ex);
 clas=this.getApplication().getHomePage();
 }
 
 item.add(new Label(label, element.getLabel()));
 item.add(new BookmarkablePageLink(link, clas,
 new PageParameters(id= + element.getId(;
 }
 }
 
 public class MenuModel implements Serializable{
 
 public String clas;
 public String label;
 public String id;

Re: Unable to find component with id

2008-08-21 Thread James Perry
Send the code for HomePage.html and HomePage.html. It looks like you
declaring the label in the markup incongruent to your page hierarchy;
make sure it's in the wicket tag menu.

Cheers,
JP.

On Thu, Aug 21, 2008 at 5:00 PM, btakacs [EMAIL PROTECTED] wrote:

 Hi

 I'm new in wicket. I tried to display a list of components, but I get the
 following error:

 WicketMessage: Unable to find component with id 'label' in [MarkupContainer
 [Component id = link, page = com.myapp.wicket.HomePage, path =
 0:mainNavigation:menu:0:link.BookmarkablePageLink, isVisible = true,
 isVersioned = true]]. This means that you declared wicket:id=label in your
 markup, but that you either did not add the component to your page at all,
 or that the hierarchy does not match.
 [markup =
 file:/D:/workspace/NetBeansProjects/WicketTest/build/web/WEB-INF/classes/com/myapp/wicket/HeaderPanel.html

 The html:
 html xmlns:wicket
 body
  wicket:panel
h1Wicket Example/h1
p id=titleblock
Start of Example Title Goes Here

   /p

   ul wicket:id=menu
li  /li

  /ul

  /wicket:panel
 /body
 /html

 The MarkupComponents are:
 #   PathSizeTypeModel Object
 1   mainNavigation  3K  com.myapp.wicket.HeaderPanel  
   No get
 method defined for class: class com.myapp.wicket.HomePage expression:
 mainNavigation
 2   mainNavigation:exampleTitle 421 bytes
 org.apache.wicket.markup.html.basic.Label   wicket
 3   mainNavigation:menu 4.4K
 org.apache.wicket.markup.html.list.ListView
 [EMAIL PROTECTED],
 [EMAIL PROTECTED],
 [EMAIL PROTECTED]
 4   mainNavigation:menu:0   4.4K
 org.apache.wicket.markup.html.list.ListItem
 [EMAIL PROTECTED]
 5   mainNavigation:menu:0:label 418 bytes
 org.apache.wicket.markup.html.basic.Label   First Page
 6   mainNavigation:menu:0:link  1K
 org.apache.wicket.markup.html.link.BookmarkablePageLink No get method
 defined for class: class com.myapp.wicket.HomePage expression: link
 7   mainNavigation:menu:1   4.4K
 org.apache.wicket.markup.html.list.ListItem
 [EMAIL PROTECTED]
 8   mainNavigation:menu:1:label 419 bytes
 org.apache.wicket.markup.html.basic.Label   Second Page
 9   mainNavigation:menu:1:link  1K
 org.apache.wicket.markup.html.link.BookmarkablePageLink No get method
 defined for class: class com.myapp.wicket.HomePage expression: link
 10  mainNavigation:menu:2   4.4K
 org.apache.wicket.markup.html.list.ListItem
 [EMAIL PROTECTED]
 11  mainNavigation:menu:2:label 418 bytes
 org.apache.wicket.markup.html.basic.Label   Third Page
 12  mainNavigation:menu:2:link  1K
 org.apache.wicket.markup.html.link.BookmarkablePageLink No get method
 defined for class: class com.myapp.wicket.HomePage expression: link
 13  param   409 bytes   
 org.apache.wicket.markup.html.basic.Label
 0
 14  stylesheet  1.4K
 org.apache.wicket.markup.html.resources.StyleSheetReference No get
 method defined for class: class com.myapp.wicket.HomePage expression:
 stylesheet

 I have the following classes:

 public class HeaderPanel{
public HeaderPanel(String componentName, String exampleTitle)
{
super(componentName);
add(new Label(exampleTitle, exampleTitle));
ArrayListMenuModel menu=new ArrayListMenuModel();
menu.add(new MenuModel(1, HomePage, First Page));
menu.add(new MenuModel(2, HomePage, Second Page));
menu.add(new MenuModel(3, HomePage, Third Page));

MenuView view = new MenuView(menu, menu);
add(view);

}
 }

 public class MenuView extends ListView {

public MenuView(final String id) {
super(id);
}

public MenuView(final String id, final IModel model) {
super(id, model);
}

public MenuView(final String id, final List list) {
super(id, list);
}

@Override
protected void populateItem(ListItem item) {
final MenuModel element = (MenuModel) item.getModelObject();
Class clas;
try {
clas = Class.forName(element.getClas());
} catch (ClassNotFoundException ex) {
Logger.getLogger(MenuView.class.getName()).log(Level.WARNING,
 null, ex);
clas=this.getApplication().getHomePage();
}

item.add(new Label(label, element.getLabel()));
item.add(new BookmarkablePageLink(link, clas,
new PageParameters(id= + element.getId(;
}
 }

 public class MenuModel implements Serializable{

public String clas;
public String label;
public String id;

public MenuModel(String id, String clas, String label){
this.id=id;
this.clas=clas;
this.label=label;
}

public String getClas() {
return clas;
}

public void setClas(String clas) {
this.clas = clas;
}

public String getLabel() {
return label;
}

public void 

Re: I have some Wicket based opportunities/jobs if you're interested.

2008-08-21 Thread Jonathan Locke


sounds cool!  keep us posted.

i am not looking for a job at the moment, but if you are looking for
feedback, code review, design review or help solving tricky design problems,
i will have a limited number of hours available later this fall and winter. 
i'm not cheap, but i'm not outrageous either and you may not need too many
hours to get some helpful results.

best,

   jon


Wayne Pope wrote:
 
 Hi,
 
 Ok following my last email I have some opportunities for the right people.
 
 I'm in the middle of creating a new start-up with funding already sorted.
 We've got a great idea for an online application totally based on Wicket.
 
 I'm activity seeking 2 to 4 developers who would like to get involved in
 this new startup. We're based in the South of France/Cannes area (though
 I'm
 personally from the UK) and ideally looking for people to join us here for
 a
 6 month contract to start with.
 
 However I realise that many of you a) already have jobs b) happy living
 where you are.
 So with this in mind I'm looking at perhaps creating a distributed/remote
 team to work on this. - think 37signals.com for those who are aware.
 
 We can pay a straight daily rate, or perhaps more motivating - to have
 shares in the company and grow with it. It's a strong business case, and I
 believe we have to right people onboard outside of development.
 
 I wanted to go with an Agile/XP approach to this - so lots of fun coding
 and
 constant working version. This however isn't going to work as well if it
 ends up being a remote team so may have to adopt. Like I said previously -
 we're looking to create the small team here on the Riviera *ideally*.
 
 So if this sounds interesting please do email me or reply to this, and we
 can talk some more.
 
 
 Thanks
 
 Wayne
 
 

-- 
View this message in context: 
http://www.nabble.com/I-have-some-Wicket-based-opportunities-jobs-if-you%27re-interested.-tp19090256p19092097.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: MetaData Type

2008-08-21 Thread Matej Knopp
perhaps the metadate generification could stand another look.

-Matej

On Thu, Aug 21, 2008 at 5:22 PM, John Patterson [EMAIL PROTECTED] wrote:

 Hi fellow wicketeers, I was wondering why Application.setMetaData() is
 defined to take an Object and not a T or ? extends T.  I'm sure there's
 probably a good reason for it... just wondering.
 --
 View this message in context: 
 http://www.nabble.com/MetaData-Type-tp19091075p19091075.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 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]



Re: I have some Wicket based opportunities/jobs if you're interested.

2008-08-21 Thread Eduardo Sasso
Hi Waine,

I've bumped into your email accidentally and I've got pretty interested in it.

I would really like to talk to you about your project,

I have a good experience using Wicket from my last two projects and i
really enjoy working with it.

I'm a Brazilian guy but i have an Italian citizenship also, so it
would be no problem for me to work legally in Europe.

For the last 8 months I've been working from home so the 37signals
model fits well for me too.

The following sites are Wicket projects that I've built:

http://tradd.us
http://openjobs.com.br
http://abduzeedo.com/jobs

I'm looking forward to hearing from you.

Regards,

Eduardo Sasso


On Thu, Aug 21, 2008 at 11:43 AM, Wayne Pope
[EMAIL PROTECTED] wrote:
 Hi,

 Ok following my last email I have some opportunities for the right people.

 I'm in the middle of creating a new start-up with funding already sorted.
 We've got a great idea for an online application totally based on Wicket.

 I'm activity seeking 2 to 4 developers who would like to get involved in
 this new startup. We're based in the South of France/Cannes area (though I'm
 personally from the UK) and ideally looking for people to join us here for a
 6 month contract to start with.

 However I realise that many of you a) already have jobs b) happy living
 where you are.
 So with this in mind I'm looking at perhaps creating a distributed/remote
 team to work on this. - think 37signals.com for those who are aware.

 We can pay a straight daily rate, or perhaps more motivating - to have
 shares in the company and grow with it. It's a strong business case, and I
 believe we have to right people onboard outside of development.

 I wanted to go with an Agile/XP approach to this - so lots of fun coding and
 constant working version. This however isn't going to work as well if it
 ends up being a remote team so may have to adopt. Like I said previously -
 we're looking to create the small team here on the Riviera *ideally*.

 So if this sounds interesting please do email me or reply to this, and we
 can talk some more.


 Thanks

 Wayne


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



Re: Anyway to get last visited page?

2008-08-21 Thread Michael Sparer

there is a way / there are ways; discussed a number of times. search the list
for e.g. last visited page

Ritesh Trivedi wrote:
 
 Hi,
 
 Is there a way to get the last visited page by the user? is it possible to
 get the history of all pages visited in a given session?
 
 
 


-
Michael Sparer
http://talk-on-tech.blogspot.com
-- 
View this message in context: 
http://www.nabble.com/Anyway-to-get-last-visited-page--tp19079302p19093302.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



  1   2   >