Re: [Wicket-user] Best practice: Global configuration values?

2005-12-05 Thread Eelco Hillenius
The logical place here would be your Application/ WebApplication
object. You could combine this with init parameters in web-xml and
reading them in the Application.init method. Or, in case you want to
use Spring, use Spring config to configure your Application
properties.

Eelco


On 12/4/05, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
 Hi,

 I have a short question: What is the Wicket way of making configuration
 values accessible throughout the application?
 This it the scenario: My application can run either in development or in
 production mode. In development mode it should connect to a different
 RMI server than in production mode. Multiple pages have to connect to
 the RMI server. Is there a best practice of making certain values
 accessible from every Page? (making my own page that extends Page and
 holds such values comes to mind, but is there a different way?)

 - Johannes.


 ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
 for problems?  Stop!  Download the new AJAX search engine that makes
 searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
 http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Best practice: Global configuration values?

2005-12-05 Thread Johannes Fahrenkrug

Thank you for your reply.

Eelco Hillenius wrote:


The logical place here would be your Application/ WebApplication
object. 
 


I looked into that, but are these values accessible from every page?

- Johannes.



On 12/4/05, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
 


Hi,

I have a short question: What is the Wicket way of making configuration
values accessible throughout the application?
This it the scenario: My application can run either in development or in
production mode. In development mode it should connect to a different
RMI server than in production mode. Multiple pages have to connect to
the RMI server. Is there a best practice of making certain values
accessible from every Page? (making my own page that extends Page and
holds such values comes to mind, but is there a different way?)

- Johannes.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

   




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
 





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Best practice: Global configuration values?

2005-12-05 Thread Eelco Hillenius
Yep. You can get the application from several places, like
Component.getApplication (and note that Pages are Components too) or
as a falltrhough, when in a request, you can always call
Application.get() (slightly less efficient though, as that is done by
threadlocal map lookup). And you have to cast the application object
to your specific class of course.

Eelco


 
 I looked into that, but are these values accessible from every page?



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-05 Thread Igor Vaynberg
ok first pass is in. filter stuff is not all there and some of it is broken, but the major idea is there. the rest should be in pretty good shape though. its mostly backwards compatible so there should not be any problems. feedback?
-IgorOn 12/4/05, Igor Vaynberg [EMAIL PROTECTED] wrote:
I think an even cleaner solution would be to turn this idea inside out. have the dataprovider act as a locator for toolbar models, and let the toolbars version changes themselves. instead of the locator interfaces having only a get method they will have a set method as well, essentially they become a strongly typed IModel. yep, this is going to be clean if it works. and we can keep total backwards compat.
so the code will look something like thisisortstatelocator { isortstate getstate(); void setstate(isortstate state); }SortedDataProvider implements idataprovider, isortstatelocatorthen in the orderbylink onclick() {
final oldstate=locator.getstate();addstatechange(new change() { undo() { getlocator().setstate(oldstate); } }i think that will work.-Igor
 On 12/4/05, 
Christian Essl [EMAIL PROTECTED] wrote:

On Sat, 3 Dec 2005 13:21:15 -0800, Igor Vaynberg [EMAIL PROTECTED]wrote: the problem im having is that something somewhere has to version this

 information. if i put it back into the dataprovider then we are back to square one.I hope that it does not cause any problems when a DataView holds theDataProvider in a non versioned field and the a DataProvider holds itself
a reference to a component (ie an ISortStateLocator), because this is nodifferent than holding directly in a component a nonversioned reference toanother component, which I always do in my Pages and is also done in the
examples. the problem is compounded by the fact that i want to add toolbars (like a filter toolbar). this means that the dataprovider has to be aware of different toolbars attached to the datatable. and it would be
 really nice if the toolbars did not keep their models so that you can add two navigation toolbars and they are sharing a model stored elsewhere.Assuming that Component.addStateChange() or Page.addStateChange

() werepublic (which I think it should be), I'd say have different Models foreach feature Ie:SortStateLocator implements ISortState{final Componente _comp;List _sorted;SortStateLocator(Component comp){
_comp = comp;}addSort(String sort){ ... _comp.addStateChange(...sorted...); }getSortList(){..}getSortState(String prop){..};}and similar things for other toolbars:
Than use it:MyPage(){ final SortStateLocator sortLoc = new SortStateLocator(this); IDataProvider prov = new IDataProvider(){ .. iterator(int from,int lenght){ List sortOrder = 
sortLoc.getSortList(); //use the sortOrder  } } //the sortHeader which could be a prebuild comp. add(new ListView(sortHeader,sortLoc.getSortList()){ populateItem(Item item){
 item.add(new SortLink(link,sortLoc).add(newLabel(name,item.getModelObjectAsString())); }); //the data add(new DataView(dv,prov));}

I think this way you don't need a change to IDataProvider.Christian my original thought was to let users implement a compound model object for the datatable. that way all the information that needs to be versioned is
 neatly in one place and all toolbars+idataprovider link to the same place. so a compound model object for the datatable might be something like this public class DataTableModel implements ISortStateLocator,
 IFilterStateProvider {private MySortState state=new MySortState(); // implements ISortStateprivate MyFilterState filterState=new MyFilterState();public ISortState getSortState() { return state; }
public Object getFilterState() { return filterState; } } then the dataprovider can be changed to IDataProvider {iterator iterator(int first, int count, Object datatableModelObject);
int size(Object datatableModelObject); } so that in your implementation you can do something like: iterator iterator(int first, int count, Object dtmo) {ISortState sort=((ISortStateLocator)dtmo).getSortState();
FilterState filter=((IFilterStateLocator)dtmo).getFIlterState(); } and maybe we can provide an uber-compound object that will have all toolbar models that we ship in it. it will waste a little bit of space but its
 easier on the user. you can always optimize later :) I dont know how good that approach is, its where im headed right now though. If anyone has any suggestions they are welcome.

 -Igor On 12/3/05, Christian Essl [EMAIL PROTECTED] wrote:
 I dont think that you'll need to change IDataProvider. If a concrete
 DataProvider class would support sorting than it should just take ie in the constructor an ISortOrderProvider. Maybe you could even keep the ISortableDataProvider. It just implements IDataProvider and
 ISortOderProvider and a default implementation delgates to a component which implements ISortOderProvider (and which does the actual version keeping). However you know best what and how so I am happy to wait for your
 solution. Christian On Sat, 3 Dec 2005 11:31:59 -0800, Igor 

Re: [Wicket-user] Best practice: Global configuration values?

2005-12-05 Thread Johannes Fahrenkrug

Eelco Hillenius wrote:


Yep. You can get the application from several places, like
Component.getApplication (and note that Pages are Components too) or
as a falltrhough, when in a request, you can always call
Application.get() (slightly less efficient though, as that is done by
threadlocal map lookup). And you have to cast the application object
to your specific class of course.

Eelco

 


Great! That sounds like a winner! Thank you!

- Johannes.

 


I looked into that, but are these values accessible from every page?

   




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
 





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] adding ajax handlers to component with open and close tags

2005-12-05 Thread Dipu

I have filed one
http://sourceforge.net/tracker/index.php?func=detailaid=1373395group_id=119783atid=684975

Thanks
Dipu


- Original Message - 
From: Eelco Hillenius [EMAIL PROTECTED]

To: wicket-user@lists.sourceforge.net
Sent: Friday, December 02, 2005 6:23 PM
Subject: Re: [Wicket-user] adding ajax handlers to component with open and 
close tags



Sounds like a bug to me. Could you please file one?

Thanks,

Eelco


On 12/2/05, Dipu [EMAIL PROTECTED] wrote:


Hi,

When we add ajax handler to a component with open and close tag , for
example a drop down choice select wicket:id=parentAgent
id=parentAgent/select
wicket will try to add the hanfder twice,  first during the rendering 
phase
of the opening tag and secondly during the rendering phase of the close 
tag.

And this results in
an exception.

The ajax handler should be added only when the tage type is XmlTag.OPEN 
or

XmlTag.OPEN_CLOSE and not when the tag type is XmlTag.CLOSE.

Right now i am doing this check to avoid the probelm when i add the ajax
handler to a drop dpwn , can any one out there please confirm if this is 
the

right approach.
or am i missing something important here.

Any suggestions and pointer in the right direction will be greatly
appreciated.

Thanks
Dipu




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=ick
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] A new user's questions about wicket

2005-12-05 Thread Utku Somer

Johan Compagner wrote:



What is high request volume? How many users are we talking about then?


Well, perhaps not too high, I think the target is about 20,000 users 
using the site at any moment.


utku


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] A new user's questions about wicket

2005-12-05 Thread Utku Somer

Juergen Donnerstag wrote:


Question 3:
In our design, we want the customer to be able to lay the
components in a simple, stacked, sequential layout for the future, so
we actually have one Page/PageLayer, which gets the order of the
components and calls them accordingly. So I will probably be using
something like ListView with sequential Panels inside, which will be
the actual components. Has anyone tried something similar, meaning a
one page app instead of the regular multiple pages approach? Will
there be any problems bugging me in the future if I choose this approach?
 



just out of curiosity. What is the reason why you want to go with this approach?

 


This is because in the future, the customer wants to be able to arrange the
components and create new pages with them via a GUI interface. So in my
view, this leaves two possibilites for the future: Either have the 
future GUI

generate the javacode and the html for the pages (does not look good to me),
or have a design where I already have a metapage actually creating the
pages from page data stored somewhere, so the GUI will act upon that 
data to
create the pages. Since I will have to process that data to create the 
pages as

well,  the one page approach comes in. The customer only wants to
be able to lay the components down in stacked format (meaning on top of
each other no left right stuff) so comes the ListView.

So that was the reason I was thinking of this approach.

utku


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] A new user's questions about wicket

2005-12-05 Thread Utku Somer

Eelco Hillenius wrote:


Actually, I don't think it is too bad to go for a one page thing. You
can get a long way by switching panels etc. And Ajax heavy pages
probably look more like that too. The only thing to consider is
whether you want some of your destinations to be bookmarkable.

Eelco
 


Well, yes, there will be a bookmarking application which is
also going to be written by us. We were thinking of differentiating
between each page with an id and and call the 'OneMainPage' with
that id as a parameter in our first design (before wicket)), but I don't
know right now if wicket supports a nicer way of accomplishing this,
since passing parameters isn't exactly the wicket way.

Utku


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] A new user's questions about wicket

2005-12-05 Thread Johan Compagner
I think thats pretty pretty pretty high...!!how many request per second do you think will be generated then? Does every user click on one page ever 30 seconds?But with that kind of numbers you should really cluster. 
And the best thing to do is run youre applicaton with one user, what a average user would do , and then dump the session so that you knowwhat it did cost in mem. If it is for example 50K then it would take in mem around 1GB (if i count right)
and then you have to have work memory because for an user request you will generate garbage (load database objects and so on)But taken into account then with a 2G heap for java it would work.. :)
johanOn 12/5/05, Utku Somer [EMAIL PROTECTED] wrote:
Johan Compagner wrote: What is high request volume? How many users are we talking about then?Well, perhaps not too high, I think the target is about 20,000 usersusing the site at any moment.
utku---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makes
searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Resources are broken in CVS HEAD

2005-12-05 Thread Gili


	Please get back on IRC (your connection just timed out) and we will 
discuss this quicker.


Gili

Johan Compagner wrote:
you always get a BufferedWebResponse by default. (See 
ApplicationSettings.getBufferResponse())


What i don't get is how it is possible that the outputstream is already 
called on it

and you have some string output in youre webresponse.

So somehow you have binary data and string data?

johan





On 12/5/05, *Gili* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



Resource.java uses getOutputStream() to write binary data
into the
response stream. BufferedWebResponse.java:close() uses getWriter() to
write data into the response stream. You can't open the response as both
a outputstream and text writer at the same time.

For some reason, if
ApplicationSettings.setRenderStrategy(settings.ONE_PASS_RENDER) is used
we somehow end up with a BufferedWebResponse and this is exactly what
ends up happening. You end up with tons of these exceptions:

02:36:42,390 ERROR [Webpage]:260 - Servlet.service() for servlet Webpage
threw exception
java.lang.IllegalStateException: getOutputStream() has already been
called for this response
 at
org.apache.catalina.connector.Response.getWriter (Response.java:596)
 at

org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:186)
 at wicket.protocol.http.WebResponse.write(WebResponse.java:229)
 at
wicket.protocol.http.BufferedWebResponse.close
(BufferedWebResponse.java:73)
 at
wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:221)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

Can someone please take a look at this?

Thanks,
Gili
--
http://www.desktopbeautifier.com/


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through
log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
http://www.desktopbeautifier.com/


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket-examples junit tests fail

2005-12-05 Thread Gili


	Can someone please try reproduce this on their end? Please also update 
wicket-examples dependency on wicket/wicket-extensions from 1.1 to SNAPSHOT.


Thanks,
Gili
--
http://www.desktopbeautifier.com/


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] 回复

2005-12-05 Thread 何素儿

先生/小姐:
您好!很高兴认识您。我司有意与您们合作:可长久给您们带来巨大的效益,另因合作项目的高度自动化,
您们每天只需工作几分钟,对您们现有的工作没有影响!若有意,请电邮 给我,或请把您的联系电话/QQ告诉
我,以便更好地与您交流,进一步商谈合作事宜,谢谢!


深圳市好利通公司合作部  何素儿
网址:http://www.cnhlt.com
Email: [EMAIL PROTECTED]
QQ:363205469
电话:0755-88829928,81519553  


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-examples junit tests fail

2005-12-05 Thread Juergen Donnerstag
yes, I know. Working on it.

Juergen

On 12/5/05, Gili [EMAIL PROTECTED] wrote:

 Can someone please try reproduce this on their end? Please also update
 wicket-examples dependency on wicket/wicket-extensions from 1.1 to SNAPSHOT.

 Thanks,
 Gili
 --
 http://www.desktopbeautifier.com/


 ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
 for problems?  Stop!  Download the new AJAX search engine that makes
 searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
 http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket job

2005-12-05 Thread Martijn Dashorst
For Wicket developers, I think this is the best place to do so. I
don't mind the job listing, as long as it concerns Wicket. I don't see
a use for tapestry/struts/etc job offerings here :-)

Perhaps we should add a mailing list?
[EMAIL PROTECTED], or would that be stretching the
policy of the sourceforge charter too much? Currently the traffic for
such job offerings is too low for the effort, but it would give a nice
statistic on jobs for the framework.

Martijn


On 12/5/05, Andrew Berman [EMAIL PROTECTED] wrote:
 Hey guys,

 I hope this is ok to do, but I thought I'd ask you guys first.  I'm going to
 be hiring a Java developer and the application is being developed in Wicket.
  Our company is located in the Los Angeles, CA area.  If you guys are
 interested, email me your resume.

 On the same note, what is the best service these days to find Java
 developers?

 Thanks guys,

 Andrew



--
Living a wicket life...

Martijn Dashorst - http://www.jroller.com/page/dashorst

Wicket 1.1 is out: http://wicket.sourceforge.net/wicket-1.1


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket job

2005-12-05 Thread Andrew Berman
Cool, I just wanted to make sure I wasn't overstepping any bounds. I've attached the official job posting that we have.--AndrewOn 12/5/05, 
Martijn Dashorst [EMAIL PROTECTED] wrote:
For Wicket developers, I think this is the best place to do so. Idon't mind the job listing, as long as it concerns Wicket. I don't seea use for tapestry/struts/etc job offerings here :-)Perhaps we should add a mailing list?
[EMAIL PROTECTED], or would that be stretching thepolicy of the sourceforge charter too much? Currently the traffic forsuch job offerings is too low for the effort, but it would give a nice
statistic on jobs for the framework.MartijnOn 12/5/05, Andrew Berman [EMAIL PROTECTED] wrote: Hey guys, I hope this is ok to do, but I thought I'd ask you guys first.I'm going to
 be hiring a Java developer and the application is being developed in Wicket.Our company is located in the Los Angeles, CA area.If you guys are interested, email me your resume. On the same note, what is the best service these days to find Java
 developers? Thanks guys, Andrew--Living a wicket life...Martijn Dashorst - http://www.jroller.com/page/dashorst
Wicket 1.1 is out: http://wicket.sourceforge.net/wicket-1.1---This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!http://ads.osdn.com/?ad_idv37alloc_id865opclick
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Java Engineer.doc
Description: MS-Word document


Re: [Wicket-user] Wicket job

2005-12-05 Thread Igor Vaynberg
why have yet another mailing list people would have to subscribe to? we already have 3 user lists and one admin list although i bet not that many subscribed to our most recent announcements list. i think we have more then enough lists already. if it was up to me we wouldnt even have wicket-stuff lists as i see no point.
-IgorOn 12/5/05, Alexandre Bairos [EMAIL PROTECTED] wrote:
Cool stuff. My vote is not that important, but i´d like to register it. 
+1 for mailing list.

On 12/5/05, Michael Jouravlev [EMAIL PROTECTED]
 wrote:
On 12/5/05, Andrew Berman [EMAIL PROTECTED] wrote: Cool, I just wanted to make sure I wasn't overstepping any bounds.
 I've attached the official job posting that we have.
 --AndrewWhoa, I have to look into Wicket list more often :-) I wish it were inSan Diego.Michael.---This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865opclick
___Wicket-user mailing listWicket-user@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wicket-user




Re: [Wicket-user] Wicket job

2005-12-05 Thread Eelco Hillenius
 we already have 3 user lists and one admin list although i bet not that many
 subscribed to our most recent announcements list.

announce has 34, wicket-user has 253 at this moment.

i think we have more then
 enough lists already. if it was up to me we wouldnt even have wicket-stuff
 lists as i see no point.

Agreed. We expected more people to sign up for that and have stuff
related discussions go through that. I don't think we can kill them
though, but we might block new requests.

Eelco


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket job

2005-12-05 Thread Igor Vaynberg
announce has 34, wicket-user has 253 at this moment.thats exactly my point :)
-Igor


[Wicket-user] Is back button supported in wicket-contrib-dojo-examples

2005-12-05 Thread Huiping Yan
Months ago, I had an impression that wicket dojo will support back button 
to Ajax. I am very excited to have wicket-contrib-dojo-examples  run week 
ago.  After several clicks on FX test pages, I clicked on back button (IE),  
I notice that I left the test page completely. Bookmarking into those 
specific views is impossible too. I am not sure if I this is true. If I was 
wrong about back button to Ajax, then what back button is supported in 
wicket?


Vivian

_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] FW: Problem finding HTML

2005-12-05 Thread Karel Alfonso


-Original Message-
From: Karel Alfonso [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 6 December 2005 3:10 PM
To: 'wicket-user@lists.sourceforge.net'
Subject: Problem finding HTML

Hi Wicket users. I'm very excited with Wicket, it's the framework I have
dreamed to build myself. Unfortunately I'm facing some problems with it now.
I'm changing the location of the HTML files to /WEB-INF/html following the
Wicket reference guide.

I will appreciate any help or comment on the most efficient way to do this.
I have attached the source code. The web folder could be anyone as long as
there's a welcome.html file inside /WEB-INF/html.

Thanks in advance,

Karel Alfonso


src.rar
Description: Binary data


Re: [Wicket-user] Is back button supported in wicket-contrib-dojo-examples

2005-12-05 Thread Igor Vaynberg
I think this is a problem with ajax and not with dojo support - although most people would argue that this is one of the bigger advantages of ajax. because the clicks do not change the browser's url the browser never records them in the history - and how could it.
-IgorOn 12/5/05, Eelco Hillenius [EMAIL PROTECTED] wrote:
Dojo makes backbutton support possible, but probably not completelyautomatic. So it depends on the authors of those components I think.It is probably possible, but they didn't think about it. So... Marcoand Ruud, did you look at support for the backbutton/ bookmarkability?
Thanks,EelcoOn 12/5/05, Huiping Yan [EMAIL PROTECTED] wrote: Months ago, I had an impression that wicket dojo will support back button
 to Ajax. I am very excited to have wicket-contrib-dojo-examplesrun week ago.After several clicks on FX test pages, I clicked on back button (IE), I notice that I left the test page completely. Bookmarking into those
 specific views is impossible too. I am not sure if I this is true. If I was wrong about back button to Ajax, then what back button is supported in wicket? Vivian
 _ Is your PC infected? Get a FREE online computer virus scan from McAfee(r) Security. 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
 for problems?Stop!Download the new AJAX search engine that makes searching your log files as easy as surfing theweb.DOWNLOAD SPLUNK! 
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user---This 
SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?Stop!Download the new AJAX search engine that makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865opclick___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Is back button supported in wicket-contrib-dojo-examples

2005-12-05 Thread Eelco Hillenius
In fact, sites have been doing ajax long before ajax was called ajax.
And in fact the whole literal ajax, refering to using XML as the
messaging language and XmlHttpRequest object is bollucks, as there
seem to be more sites not using that than there are that do use it.

I am still not very inclined on spending more time on this myself, but
for starters you guys might take a look at what Dojo says about this
itself, like at: http://dojotoolkit.org/docs/intro_to_dojo_io.html

Eelco

On 12/5/05, Igor Vaynberg [EMAIL PROTECTED] wrote:
 gmail is doing this by changing an src attr of a frame - which does generate
 an entry a browser can keep track of. while other things are done via xmlrpc
 - these do not generate a browser entry. changing an src of an iframe is not
 really ajax, sites have been doing that since javascript existed.

 -Igor



 On 12/5/05, Gili [EMAIL PROTECTED] wrote:
 
  FYI: Google's AJAX handles back button just fine so it must be
  technically doable (and in my view, desirable).
 
  Gili
 
  Igor Vaynberg wrote:
   I think this is a problem with ajax and not with dojo support - although
   most people would argue that this is one of the bigger advantages of
   ajax. because the clicks do not change the browser's url the browser
   never records them in the history - and how could it.
  
   -Igor
  
  
   On 12/5/05, *Eelco Hillenius* [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]  wrote:
  
   Dojo makes backbutton support possible, but probably not completely
   automatic. So it depends on the authors of those components I think.
   It is probably possible, but they didn't think about it. So... Marco
   and Ruud, did you look at support for the backbutton/
 bookmarkability?
  
   Thanks,
  
   Eelco
  
   On 12/5/05, Huiping Yan  [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED] wrote:
 Months ago, I had an impression that wicket dojo will support
   back button
 to Ajax. I am very excited to have
   wicket-contrib-dojo-examples  run week
 ago.  After several clicks on FX test pages, I clicked on back
   button (IE),
 I notice that I left the test page completely. Bookmarking into
   those
 specific views is impossible too. I am not sure if I this is
   true. If I was
 wrong about back button to Ajax, then what back button is
   supported in
 wicket?

 Vivian


 _
 Is your PC infected? Get a FREE online computer virus scan from
   McAfee(r)
 Security.
 http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




 ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep
   through log files
 for problems?  Stop!  Download the new AJAX search engine that
 makes
 searching your log files as easy as surfing the  web.  DOWNLOAD
   SPLUNK!

 http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
  
 http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
   mailto: Wicket-user@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/wicket-user

  
  
  
 ---
   This SF.net email is sponsored by: Splunk Inc. Do you grep through
   log files
   for problems?  Stop!  Download the new AJAX search engine that makes
   searching your log files as easy as surfing the  web.  DOWNLOAD
 SPLUNK!
   http://ads.osdn.com/?ad_idv37alloc_id865opclick
  
 http://ads.osdn.com/?ad_idv37alloc_id865opclick
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   mailto:Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
  --
  http://www.desktopbeautifier.com/
 
 
  ---
  This SF.net email is sponsored by: Splunk Inc. Do you grep through log
 files
  for problems?  Stop!  Download the new AJAX search engine that makes
  searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
  http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click

Re: [Wicket-user] Is back button supported in wicket-contrib-dojo-examples

2005-12-05 Thread Michael Jouravlev
http://www.onjava.com/pub/a/onjava/2005/10/26/ajax-handling-bookmarks-and-back-button.html

On 12/5/05, Igor Vaynberg [EMAIL PROTECTED] wrote:
 gmail is doing this by changing an src attr of a frame - which does generate
 an entry a browser can keep track of. while other things are done via xmlrpc
 - these do not generate a browser entry. changing an src of an iframe is not
 really ajax, sites have been doing that since javascript existed.

 -Igor



 On 12/5/05, Gili [EMAIL PROTECTED] wrote:
 
  FYI: Google's AJAX handles back button just fine so it must be
  technically doable (and in my view, desirable).
 
  Gili


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-05 Thread Christian Essl

Hi,

I've just checked out the new version. Thanks for the work. Here is my 
feedback:


I think the 'FeatureModels' like ISortState should record the StateChanges 
themself or at least create the Change objects themselfs.


Imagine I have a link 'clearSort'. Than in the onClick() I'd have to call 
first MultiSortState.clear(), second manually record the state-change. 
This is a bit inconvienient, but the real problem comes if I use the 
locator to reset an old ISortState. Than  I'd have to reset it on *all* 
DataProviders or any other Object which uses the ISortState instance (ie a 
SortstateLabel) and of course be sure that I can clone it. Apart of beeing 
a lot of work I think this breaks encapsulation, because you need some 
knowledge of the implementation or the versioned class to do an always 
working state-recording.


One solution could be to have an interface IStateRecorder{void 
recordState(Change change)}. The interface is directly used by the 
'FeatureModel' and ie provided in the constructor. The interface can easly 
be implemented by any component just by delegating to addStateChange().


Alternatively have  all mutators-methods of a 'FeatureModels' to return a 
Change, which the user has to record somehow.


This does not mean that there should be no Locators just means that the 
change production should be inside the actuall ModelImplementation.


Second I think that ISortState should have all the methods of 
MultiSortState (only one setSort() and addSort()). I don't see any reason 
why SingleSortState could not implement them all. In the end it is a 
MultiSortState with maxColumns 1.


Christian


On Mon, 5 Dec 2005 00:33:00 -0800, Igor Vaynberg [EMAIL PROTECTED] 
wrote:


ok first pass is in. filter stuff is not all there and some of it is 
broken,
but the major idea is there. the rest should be in pretty good shape 
though.

its mostly backwards compatible so there should not be any problems.
feedback?

-Igor


On 12/4/05, Igor Vaynberg [EMAIL PROTECTED] wrote:


I think an even cleaner solution would be to turn this idea inside out.
have the dataprovider act as a locator for toolbar models, and let the
toolbars version changes themselves. instead of the locator interfaces
having only a get method they will have a set method as well, 
essentially
they become a strongly typed IModel. yep, this is going to be clean if 
it

works. and we can keep total backwards compat.

so the code will look something like this
isortstatelocator { isortstate getstate(); void setstate(isortstate
state); }
SortedDataProvider implements idataprovider, isortstatelocator

then in the orderbylink onclick() {
final oldstate=locator.getstate();
addstatechange(new change() { undo() { getlocator().setstate(oldstate); 
}

}

i think that will work.

-Igor



On 12/4/05, Christian Essl [EMAIL PROTECTED] wrote:

 On Sat, 3 Dec 2005 13:21:15 -0800, Igor Vaynberg 
 [EMAIL PROTECTED]
 wrote:

  the problem im having is that something somewhere has to version 
this

  information. if i put it back into the dataprovider then we are back
 to
  square one.

 I hope that it does not cause any problems when a DataView holds the
 DataProvider in a non versioned field and the a DataProvider holds
 itself
 a reference to a component (ie an ISortStateLocator), because this is 
no
 different than holding directly in a component a nonversioned 
reference

 to
 another component, which I always do in my Pages and is also done in 
the


 examples.

  the problem is compounded by the fact that i want to add
  toolbars (like a filter toolbar). this means that the dataprovider 
has

  to be
  aware of different toolbars attached to the datatable. and it would 
be


  really nice if the toolbars did not keep their models so that you 
can

 add
  two navigation toolbars and they are sharing a model stored 
elsewhere.


 Assuming that Component.addStateChange() or Page.addStateChange () 
were

 public (which I think it should be), I'd say have different Models for
 each feature Ie:

 SortStateLocator implements ISortState{
   final Componente _comp;
   List _sorted;
   SortStateLocator(Component comp){
 _comp = comp;
   }
   addSort(String sort){
...
_comp.addStateChange(...sorted...);

   }
   getSortList(){..}
   getSortState(String prop){..};
 }

 and similar things for other toolbars:

 Than use it:

 MyPage(){

final SortStateLocator sortLoc = new SortStateLocator(this);
IDataProvider prov = new IDataProvider(){
  ..
  iterator(int from,int lenght){
List sortOrder = sortLoc.getSortList();
//use the sortOrder

  }
}

//the sortHeader which could be a prebuild comp.
add(new ListView(sortHeader,sortLoc.getSortList()){
  populateItem(Item item){
item.add(new SortLink(link,sortLoc).add(new
 Label(name,item.getModelObjectAsString()));
});

//the data
add(new DataView(dv,prov));

 }



 I think this way you don't need a change to 

Re: [Wicket-user] Is back button supported in wicket-contrib-dojo-examples

2005-12-05 Thread Martijn Dashorst
Just for the record, Google's back button support SUCKs big time in
Safari. I have to kill my gmail session far too often to get excited
about Ajax and back button.

Martijn

On 12/6/05, Gili [EMAIL PROTECTED] wrote:

 FYI: Google's AJAX handles back button just fine so it must be
 technically doable (and in my view, desirable).

 Gili

 Igor Vaynberg wrote:
  I think this is a problem with ajax and not with dojo support - although
  most people would argue that this is one of the bigger advantages of
  ajax. because the clicks do not change the browser's url the browser
  never records them in the history - and how could it.
 
  -Igor
 
 
  On 12/5/05, *Eelco Hillenius* [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  Dojo makes backbutton support possible, but probably not completely
  automatic. So it depends on the authors of those components I think.
  It is probably possible, but they didn't think about it. So... Marco
  and Ruud, did you look at support for the backbutton/ bookmarkability?
 
  Thanks,
 
  Eelco
 
  On 12/5/05, Huiping Yan [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
Months ago, I had an impression that wicket dojo will support
  back button
to Ajax. I am very excited to have
  wicket-contrib-dojo-examples  run week
ago.  After several clicks on FX test pages, I clicked on back
  button (IE),
I notice that I left the test page completely. Bookmarking into
  those
specific views is impossible too. I am not sure if I this is
  true. If I was
wrong about back button to Ajax, then what back button is
  supported in
wicket?
   
Vivian
   
_
Is your PC infected? Get a FREE online computer virus scan from
  McAfee(r)
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
   
   
   
---
This SF.net email is sponsored by: Splunk Inc. Do you grep
  through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD
  SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
  http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
  mailto:Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
 
 
  ---
  This SF.net email is sponsored by: Splunk Inc. Do you grep through
  log files
  for problems?  Stop!  Download the new AJAX search engine that makes
  searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
  http://ads.osdn.com/?ad_idv37alloc_id865opclick
  http://ads.osdn.com/?ad_idv37alloc_id865opclick
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  mailto:Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 --
 http://www.desktopbeautifier.com/


 ---
 This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
 for problems?  Stop!  Download the new AJAX search engine that makes
 searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
 http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



--
Living a wicket life...

Martijn Dashorst - http://www.jroller.com/page/dashorst

Wicket 1.1 is out: http://wicket.sourceforge.net/wicket-1.1


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user