Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread James McLaughlin

done!

http://wicket-stuff.sourceforge.net/wiki

Needs de-uglification if someone wants to volunteer for that. I followed the
instructions at http://moinmoin.wikiwikiweb.de/SourceForge pretty much word
for word, so this will show you the install paths.

I've enabled the Anti Spam module, but supposedly sf's firewall interferes
with it. Also, there is a note that sf loves to munge world writeable files
on occasion, so does someone want to get a backup set up? If no one can, I
can look into later.

I've started a topic ProjectMaintainers and populated it with the mails
received today.

thanks,
jim



On 11/21/06, Eelco Hillenius [EMAIL PROTECTED] wrote:


So that's a yes for installing a WIKI on SF James :)

eElco

On 11/21/06, Upayavira [EMAIL PROTECTED] wrote:
 Gwyn Evans wrote:
  Not saying don't, but if it's just to track this sort of discussion,
  then the main wiki's as good as anywhere for the moment.

 Well, yeah. If all that it is needed for is one page that will be thrown
 away afterwards, use what you like, including Apache one. If it is
 likely to grow into something bigger, or survive for some time, a
 separate wiki would be best. IMO.

 Regards, Upayavira



-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
your
 opinions on IT  business topics through brief surveys - and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread Filippo Diotalevi
On 11/22/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
 Can't we set up a space for wicket-stuff which content we don't
 attribute to the ASF, but provide as a documentation ground for the
 wicket-stuff project?
 I'd rather have the documentation together in one place than scattered
 across the internets.

That would be great, and also better from the user point of view

--
  Filippo

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket bug in page map?

2006-11-21 Thread jan_bar
Now it seems to me, that the problem is in my application. We have a page
with Flash application that talks to the server via AJAX. When a link is
pressed to continue to next page, the link is handled by javascript,
javascript asks Flash to save data to the server and also passes the new URL
to the flash. Flash should request the url only after it gets response from
the server that data are saved, but instead it sends both requests
simultaneously.

Jan

jan_bar [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Thanks Johan for your support, see inline

  How is that page rendered? What do you see in the url of the browser?
  (my question is is it a redirect or not)

 The URL is see in browser is
 http://localhost:8091/app/cs/ewish?wicket:interface=:5::

 It is created in previous page in Link.onClick() with this code:

 public static void handleClick(final Class pageClass, final Page
 currentPage) {
 try {
 final Constructor ctor = pageClass.getConstructor(IModel.class);
 page.setResponsePage((Page)(ctor.newInstance(page.getModel(;
 } catch (Exception e) {
 LOG.error(Cannot instantiate  + pageClass.getSimpleName(), e);
 }
 }


 I modified the HttpSessionStore and log the calls to set/get/remove
 attribute. The attribute p:null:5 was never set, but is needed to
resolve
 link to the image.

 So it seems that the page is not in session.

 Thanks, Jan

 
  Because if it is a redirect then the page should be found.
  If it is not a redirect and it is a bookmarkable page. Maybe the page is
 not
  yet in the session
  and the request for the image is already coming in. But this is almost
not
  possible because
  we also use buffered response. So we stream if the page is completely
 there
  and then the page is stored
  in the session.
 
  You can try to debug what pages are going into the session (under which
 key)
  and when they are asked again.
  and also monitor the removes.
 
  Then it should be clear what happens.
 
  johan
 
 
  On 11/21/06, jan_bar [EMAIL PROTECTED] wrote:
  
   Hi,
  
   It seems to me that there is a bug in wicket 1.2.3. I have a WebPage
 with
   Image. Sometimes the image is not rendered because the image handler
   interface is not found in page map (it returns page expired error). I
   tried
   to debug wicket, but page map handling is quite not clear to me. So I
 have
   couple of questions:
   * are there known errors similar to this one?
   * how can I debug this bug? The HttpSessionStore looks for attribute
   p:null:number, but it is not found, there are other attributes
where
   the
   number part is one less the searched number. The number is the
same
   number as in the URL of the rendered page.
  
   I am almost sure that the bug is in wicket since there is nothing
 unusual
   in
   my page. The problems happens sometimes, so it looks like thread
   synchronization problem.
  
   Thanks, Jan
  
  
  
  
 

 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
share
   your
   opinions on IT  business topics through brief surveys - and earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 




 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Issue of having a webpage return binary content

2006-11-21 Thread Eelco Hillenius
For binary output, use a (web)resource. For instance, something like this:

WebResource export = new WebResource() {

  @Override
  public IResourceStream getResourceStream() {
CharSequence discounts = DataBase.getInstance()
.exportDiscounts();
return new StringResourceStream(discounts, text/plain);
  }

  @Override
  protected void setHeaders(WebResponse response) {
super.setHeaders(response);
response.setAttachmentHeader(discounts.csv);
  }
};
export.setCacheable(false);

new ResourceLink(this, exportLink, export);


Eelco

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] default value (Choose One) lost in DropDownChoice selection

2006-11-21 Thread Igor Vaynberg

actually we think of this as a feature :)

why would you want it to still be there?

-igor


On 11/21/06, Jaime De La Jara [EMAIL PROTECTED] wrote:


Hi, I've noticed a strange behavior of the DropDownChoice component when
one selects a value in the list, the message Choose One is lost and one
has to reload the page to recover it. This also occurs in the FormInput
example on line, how could it be fixed?

Thanks,

Jaime.

--
Sponsored Link

Rates near 39yr lows. $420,000 Loan for $1399/mo - Calculate new house
paymenthttp://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9136-16418moid=4116

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread Eelco Hillenius
So that's a yes for installing a WIKI on SF James :)

eElco

On 11/21/06, Upayavira [EMAIL PROTECTED] wrote:
 Gwyn Evans wrote:
  Not saying don't, but if it's just to track this sort of discussion,
  then the main wiki's as good as anywhere for the moment.

 Well, yeah. If all that it is needed for is one page that will be thrown
 away afterwards, use what you like, including Apache one. If it is
 likely to grow into something bigger, or survive for some time, a
 separate wiki would be best. IMO.

 Regards, Upayavira


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] how to maintain mounted url pages in session

2006-11-21 Thread Wolfgang Gehner
Hi,

I have a situation where a user, when he accesses a mounted page
(WebApplication.mount(/url, class)) under that mounted url
more than once, should retrieve the page instance from the user
session on subsequent requests. It seems to me that default is to
create a new page.

How can I do this? Is this just about PageEvictionStrategy?

Wolfgang Gehner

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] who wants to be in charge of doing wicket-stuffreleases

2006-11-21 Thread Filippo Diotalevi
On 11/21/06, James McLaughlin [EMAIL PROTECTED] wrote:
 Hi Korbinian,
 I'm a bit time constrained also, but if you take the lead I will help you
 out.

If you want to enlarge the team with a third person, you can count on
me as well (as assistant, I am also quite busy...)

-- 
Filippo Diotalevi
[EMAIL PROTECTED]
http://www.diotalevi.com/weblog
http://www.jugmilano.it

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread Upayavira
Eelco Hillenius wrote:
 Let's let the new maintainers decide on that then :) I agree with
 Martijn that it might be nice to have everything in one WIKI - if that
 would be ok with Apache policy etc - though otoh, it could be good for
 the wicket-stuff project to give it it's own feel and dynamics.

I much prefer to keep a clean division. The only thing that the ASF does 
in relation to Wicket-stuff is grant permission to use the Wicket name. 
The rest happens outside the ASF.

Of course, the two projects are related, and there will be cross-links 
(even a list of the various wicket-stuff projects on the 
wicket.apache.org site) but the development and documentation for those 
projects should be with the project itself, ideally at SourceForge.

Regards, Upayavira


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] 代开发票

2006-11-21 Thread 刘先生
你好!

 本公司属于有限责任公司,现因公司在税务局领取发票指标有余:

(商品销售,运输.海关代征增值税发票等)可以优惠外开.(另)有

多家企业委托我公司可以向外开放.欢迎来电咨询!我公司以最真诚,最优

惠的价格为贵企业公司服务.   

 
  
 如有不详之处

欢迎来电:13826558397  刘先生

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] who wants to be in charge of doing wicket-stuffreleases

2006-11-21 Thread Eelco Hillenius
 Ever heard the saying if you want to get something done, ask a busy
 person?

No, and I don't want to hear about it either! ;)

Eelco

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] who wants to be in charge of doing wicket-stuffreleases

2006-11-21 Thread Igor Vaynberg

you need to cut down on those daily runs, that will free up an hour a day!
and breakfeast, who needs breakfeast?

-igor


On 11/21/06, Eelco Hillenius [EMAIL PROTECTED] wrote:


 Ever heard the saying if you want to get something done, ask a busy
 person?

No, and I don't want to hear about it either! ;)

Eelco

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread James McLaughlin

I can install moinmoin on sourceforge for wicket-stuff. Should I go ahead
and do it?

On 11/21/06, Filippo Diotalevi [EMAIL PROTECTED] wrote:


On 11/22/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
 Can't we set up a space for wicket-stuff which content we don't
 attribute to the ASF, but provide as a documentation ground for the
 wicket-stuff project?
 I'd rather have the documentation together in one place than scattered
 across the internets.

That would be great, and also better from the user point of view

--
  Filippo

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread cowwoc

I'd much prefer JPA integration. I don't see one as part of databinder.
I know Cheeser was working on one. Has anyone got a finished version we
could use?

Gili

Igor Vaynberg wrote:
 wicket-contrib-data-hibernate-3.0  can prob go to the glue factory now
 that databinder.net http://databinder.net is around
 
 -igor
 
 
 On 11/21/06, *cowwoc* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 James McLaughlin wrote:
  wicket-contrib-auth-class-roles  cowwoc
  wicket-contrib-data  cowwoc
  wicket-contrib-data-hibernate-3.0  cowwoc
 
 I am the owner of the first one and yes I plan on
 maintaining it. I am
 not the owner of the last two though I committed Netbeans project files
 for them.
 
 Gili
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
 share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



signature.asc
Description: OpenPGP digital signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] how to maintain mounted url pages in session

2006-11-21 Thread Igor Vaynberg

no, its about how bookmarkable pages work. any time a bookmarkable url is
accessed we create a new instance. sounds like what you need is to redirect
a user to a non-bookmarkable url as soon as they access the bookmarkable
one. matej was going to work on this, this usecase is useful for ajax and
bookmarkable pages as well.

matej are you reading with us? where are you on that? maybe you can give
wolfgang some hints on how you want it implemented and he might create a
patch? :)

-igor


On 11/21/06, Wolfgang Gehner [EMAIL PROTECTED] wrote:


Hi,

I have a situation where a user, when he accesses a mounted page
(WebApplication.mount(/url, class)) under that mounted url
more than once, should retrieve the page instance from the user
session on subsequent requests. It seems to me that default is to
create a new page.

How can I do this? Is this just about PageEvictionStrategy?

Wolfgang Gehner

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread Filippo Diotalevi
On 11/21/06, James McLaughlin [EMAIL PROTECTED] wrote:
 I've take a brief look at all the wicket-stuff projects, and here are some
 things I think need to be done.

Well done. However, i think it will be difficult to keep track of this
discussion in the mailing list.
Can we use a wiki instead? For example, can we use the [EMAIL PROTECTED]
http://cwiki.apache.org/WICKET/ ?

It would be much easier IMHO...

--
Filippo

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread Eelco Hillenius
You can consider me being the maintainer of wicket-contrib-examples
and - with very luke-warm support - wicket-contrib-navmenu.
Furthermore, I'm co-maintaining wicket-contrib-yui and
wicket-contrib-yui examples together with Joshua Lim, who is the main
guy for the project.

As far as I am concerned we can forget about wicket-contrib-data-hibernate-2.1.

Eelco

On 11/21/06, James McLaughlin [EMAIL PROTECTED] wrote:
 I've take a brief look at all the wicket-stuff projects, and here are some
 things I think need to be done.

 * figure out which projects have maintainers, which are orphaned and/or need
 new maintainers, and which should be sent to the glue factory.

 * subprojects that aren't mavened could be mavenated. This might be a matter
 for debate though.

 * make sure each subproject can build and run  for 1.2, 1.x, 2.0.

 * fix up the wicket-stuff site so it has links to all subprojects that have
 site documents. Encourage each subproject to have a subsite and way of
 automatically deploying it (mvn)

 * create a convention for subproject release. Do subprojects keep the same
 versioning as the wicket they are compatible with? Makes sense to me.

 * roll releases.

 Gee, that was easy. Now I know how my boss feels.


 I went through about 1/4 the projects to figure out the current maintainer.
 Please respond if you are the maintainer of the project listed below, or if
 you know the project has been orphaned, or if you don't plan on having a
 release:

 sticky-wicket  almaw, ivaynberg
 wicket-archetypes  gwynevans
 wicket-contrib-auth-class-roles  cowwoc
 wicket-contrib-benchmark  pkulak
 wicket-contrib-cms  weazelb0y
 wicket-contrib-data  cowwoc
 wicket-contrib-database  jonathanlocke
 wicket-contrib-data-hibernate-2.1  jdonnerstag
 wicket-contrib-data-hibernate-3.0  cowwoc

 If your project/name isn't on the list, feel free to respond anyway.
 Otherwise just wait until we send out an email that includes them.

 ok. must write code.

 thanks,

 jim

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

I've started work on JPA/toplink support in qwicket but we have a
post-Thanksgiving deadline so everything else is taking a back seat.

cowwoc wrote:
   I'd much prefer JPA integration. I don't see one as part of databinder.
 I know Cheeser was working on one. Has anyone got a finished version we
 could use?
 
 Gili
 
 Igor Vaynberg wrote:
 wicket-contrib-data-hibernate-3.0  can prob go to the glue factory now
 that databinder.net http://databinder.net is around

 -igor


 On 11/21/06, *cowwoc* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 James McLaughlin wrote:
  wicket-contrib-auth-class-roles  cowwoc
  wicket-contrib-data  cowwoc
  wicket-contrib-data-hibernate-3.0  cowwoc

 I am the owner of the first one and yes I plan on
 maintaining it. I am
 not the owner of the last two though I committed Netbeans project files
 for them.

 Gili



 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
 share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





 

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV


 

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

- --
Justin Lee
http://www.antwerkz.com
AIM : evan chooly
Skype : evanchooly
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (Cygwin)

iD8DBQFFY8LcJnQfEGuJ90MRAxZxAKDTbm1KPM9/Zcj+ewQ+HiMYhzNjFgCgl5iv
BZgVa3qOExZ7VdaE8O7sgRk=
=qhEb
-END PGP SIGNATURE-

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] who wants to be in charge of doing wicket-stuff releases

2006-11-21 Thread Ryan Sonnek

I thought it was up to the individual wicket-stuff projects to release
themselves.

I know that I'm going to be putting some major rework into the
wicket-contrib-scriptaculous project here soon and I'm planning on
performing snapshot and major releases to get them out into the public.

On 11/21/06, Eelco Hillenius [EMAIL PROTECTED] wrote:


On 11/21/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote:
 What is the target Wicket version that wicket-stuff modules should
 be released for?

That depends on the release masters and on which branches are
maintained for the individual projects. Most projects in wicket-stuff
have a 1.2, 1.3 and 2.0 (trunk) branch.

Eelco

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Abort Ajax Operation

2006-11-21 Thread samyem

When there is an ajax operation, if the operation takes too long, what would
be the best way to abort the operation? The case right now is if there is
any long operation as a result of ajax event, the app freezes till the even
is over. 
-- 
View this message in context: 
http://www.nabble.com/Abort-Ajax-Operation-tf2681806.html#a7480240
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Tapestry 5 instantaneous reloads

2006-11-21 Thread cowwoc

Two questions about:
http://howardlewisship.com/blog/2006/10/tapestry-5-screencast-2.html

1) How did they get instantaneous page reloads working?
2) How did they get their URLs to remain nice even though the
underlying state is changing?

and what is the implications for Wicket? I suspect you guys have seen
this before. Can you please comment on why Wicket does not do something
similar? Is it something to do with the amount of client-side state they
use?

Thanks,
Gili



signature.asc
Description: OpenPGP digital signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread Eelco Hillenius
 Well done. However, i think it will be difficult to keep track of this
 discussion in the mailing list.
 Can we use a wiki instead? For example, can we use the [EMAIL PROTECTED]
 http://cwiki.apache.org/WICKET/ ?

Good point.

Eelco

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] 代开发票

2006-11-21 Thread 刘先生
你好!

 本公司属于有限责任公司,现因公司在税务局领取发票指标有余:

(商品销售,运输.海关代征增值税发票等)可以优惠外开.(另)有

多家企业委托我公司可以向外开放.欢迎来电咨询!我公司以最真诚,最优

惠的价格为贵企业公司服务.   

 
  
 如有不详之处

欢迎来电:13826558397  刘先生

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] who wants to be in charge of doingwicket-stuffreleases

2006-11-21 Thread Eelco Hillenius
You're all in. Good luck and thanks!

Eelco


On 11/21/06, Filippo Diotalevi [EMAIL PROTECTED] wrote:
 On 11/21/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
  If you give me the sourceforge ids you want to use for this, I'll be
  happy to add you guys.
 

 My sourceforge id is fdiotalevi

 --
 Filippo Diotalevi
 http://www.diotalevi.com

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] authentication depending on parameters

2006-11-21 Thread Flemming Seerup
When using the AuthenticatedWebApplication and AuthenticatedWebSession, how do
you implement authentication for MyPage, where MyPage/page/1 is allowed for
UserX, but not MyPage/page/2.

The page is right now protected, so only users with role USER is allowed, but
how/where should I implement the database lookup to verify that page=x is
allowed for the current user, and display either the homepage or SignIn page if
not authorized ?

Regards,
Flemming


This message was sent using IMP, the Internet Messaging Program.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] who wants to be in charge of doingwicket-stuffreleases

2006-11-21 Thread Eelco Hillenius
If you give me the sourceforge ids you want to use for this, I'll be
happy to add you guys.

Eelco


On 11/21/06, Korbinian Bachl [EMAIL PROTECTED] wrote:


 Hi Jim,

 sounds good - what time zone you are in?

 Regards


  
  Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im
 Auftrag von James McLaughlin
 Gesendet: Dienstag, 21. November 2006 01:14
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] who wants to be in charge of
 doingwicket-stuffreleases


 Hi Korbinian,
 I'm a bit time constrained also, but if you take the lead I will help you
 out.

 jim


 On 11/20/06, Martijn Dashorst  [EMAIL PROTECTED] wrote:
  Just a reminder, the wicket-contrib-datepicker project has a maven 2
  pom, site and assembly descriptor which can be used as an example for
  rolling your own releases.
 
  Martijn
 
  On 11/20/06, Korbinian Bachl [EMAIL PROTECTED]  wrote:
   I can help you if you like. However, as my time is also limited i would
   appreciate it if a 2nd person would join me on that.
  
   Best regards,
  
   Korbinian
  
  
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto: [EMAIL PROTECTED]
 Im Auftrag
von Eelco Hillenius
Gesendet: Sonntag, 19. November 2006 20:41
An: Wicket User List
Betreff: [Wicket-user] who wants to be in charge of doing
wicket-stuffreleases
   
Is there anyone who likes to volunteer for doing releases of
some of the wicket-stuff projects? We (the core team) just
can't find enough time for it, and furthermore, we want to
keep focussed on the core project instead.
   
The projects do not need a lot of releasing, though most
projects in there could use a release right now. The release
manager for wicket-stuff would basically ensure that version
numbers are upped when projects are changed and that - if
they are changed - a release is made every once in a while.
He/ she can of course delegate creating the actual release to
the 'owners' of particular projects. Another task of the
release manager is to put out a notice (e.g. on this list
and/ or on a blog) that a new release is done. And finally
he/ she might do some work on the wicket-stuff web site.
   
Any takers?
   
Eelco
   
   
 --
---
Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to
share your opinions on IT  business topics through brief
surveys - and earn cash
   
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
   CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
  
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
   opinions on IT  business topics through brief surveys - and earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
  --
  a
 href=http://www.thebeststuffintheworld.com/vote_for/wicket;Vote/a
  for a href=
 http://www.thebeststuffintheworld.com/stuff/wicket;Wicket/a
  at the a
 href=http://www.thebeststuffintheworld.com/;Best Stuff in
  the World!/a
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash

Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread Gwyn Evans
Not saying don't, but if it's just to track this sort of discussion,
then the main wiki's as good as anywhere for the moment.

/Gwyn

On 21/11/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i think if its easy it should be on sf.net

 so i would say go ahead

 -igor


 On 11/21/06, James McLaughlin  [EMAIL PROTECTED] wrote:
 
  I can install moinmoin on sourceforge for wicket-stuff. Should I go ahead
 and do it?
 
 
  On 11/21/06, Filippo Diotalevi  [EMAIL PROTECTED] wrote:
 
   On 11/22/06, Martijn Dashorst  [EMAIL PROTECTED] wrote:
Can't we set up a space for wicket-stuff which content we don't
attribute to the ASF, but provide as a documentation ground for the
wicket-stuff project?
I'd rather have the documentation together in one place than scattered
across the internets.
  
   That would be great, and also better from the user point of view
  
   --
 Filippo
  
  
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
   opinions on IT  business topics through brief surveys - and earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download Wicket 1.2.3 now! - http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Issue of having a webpage return binary content

2006-11-21 Thread Carfield Yim
I need to create a webpage output captcha image to user, actually that
is done and work for me to output binary to outputstream. However
there is MarkupNotFoundException appear at my log file. I guess I can
put a dummy HTML at the classpath, however, can I not doing that but
tell wicket don't lookup markup?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] who wants to be in charge of doingwicket-stuffreleases

2006-11-21 Thread Filippo Diotalevi
On 11/21/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 If you give me the sourceforge ids you want to use for this, I'll be
 happy to add you guys.


My sourceforge id is fdiotalevi

--
Filippo Diotalevi
http://www.diotalevi.com

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread Ryan Sonnek

+1 for wicket-stuff using the main wicket wiki

On 11/21/06, Eelco Hillenius [EMAIL PROTECTED] wrote:


Let's let the new maintainers decide on that then :) I agree with
Martijn that it might be nice to have everything in one WIKI - if that
would be ok with Apache policy etc - though otoh, it could be good for
the wicket-stuff project to give it it's own feel and dynamics.

Eelco


On 11/21/06, Gwyn Evans [EMAIL PROTECTED] wrote:
 Not saying don't, but if it's just to track this sort of discussion,
 then the main wiki's as good as anywhere for the moment.

 /Gwyn

 On 21/11/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
  i think if its easy it should be on sf.net
 
  so i would say go ahead
 
  -igor
 
 
  On 11/21/06, James McLaughlin  [EMAIL PROTECTED] wrote:
  
   I can install moinmoin on sourceforge for wicket-stuff. Should I go
ahead
  and do it?
  
  
   On 11/21/06, Filippo Diotalevi  [EMAIL PROTECTED] wrote:
  
On 11/22/06, Martijn Dashorst  [EMAIL PROTECTED] wrote:
 Can't we set up a space for wicket-stuff which content we don't
 attribute to the ASF, but provide as a documentation ground for
the
 wicket-stuff project?
 I'd rather have the documentation together in one place than
scattered
 across the internets.
   
That would be great, and also better from the user point of view
   
--
  Filippo
   
   
 
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
  your
opinions on IT  business topics through brief surveys - and earn
cash
   
 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
  https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
  
 
-
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
share
  your
   opinions on IT  business topics through brief surveys - and earn
cash
  
 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 
 
-
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
share your
  opinions on IT  business topics through brief surveys - and earn cash
 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


 --
 Download Wicket 1.2.3 now! - http://wicketframework.org


-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
your
 opinions on IT  business topics through brief surveys - and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Issue of having a webpage return binary content

2006-11-21 Thread Carfield Yim
Thanks for introducting the class to me, however look like this
missing some object like session and request which I need

In fact I am going to output captcha according to jCaptcha example, it
need request and session as follow. But can I do the same at
WebResource?

public ImageCaptcha() throws ImageFormatException, IOException {
super();
final WebRequest httpServletRequest = (WebRequest)getRequest();
final WebResponse httpServletResponse = (WebResponse)getResponse();
byte[] captchaChallengeAsJpeg = null;
// the output stream to render the captcha image as jpeg into
ByteArrayOutputStream jpegOutputStream = new ByteArrayOutputStream();
// get the session id that will identify the generated captcha.
// the same id must be used to validate the response, the
session id is a good candidate!
String captchaId = getSession().getId();
// call the ImageCaptchaService getChallenge method
BufferedImage challenge = new
DefaultManageableImageCaptchaService().getImageChallengeForID(captchaId,

 httpServletRequest.getLocale());
// a jpeg encoder
JPEGImageEncoder jpegEncoder =
JPEGCodec.createJPEGEncoder(jpegOutputStream);
jpegEncoder.encode(challenge);
captchaChallengeAsJpeg = jpegOutputStream.toByteArray();

// flush it in the response
httpServletResponse.setHeader(Cache-Control, no-store);
httpServletResponse.setHeader(Pragma, no-cache);
httpServletResponse.setDateHeader(Expires, 0);
httpServletResponse.setContentType(image/jpeg);
OutputStream responseOutputStream =
httpServletResponse.getOutputStream();
responseOutputStream.write(captchaChallengeAsJpeg);
responseOutputStream.flush();
responseOutputStream.close();
}
On 11/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 For binary output, use a (web)resource. For instance, something like this:

 WebResource export = new WebResource() {

   @Override
   public IResourceStream getResourceStream() {
 CharSequence discounts = DataBase.getInstance()
 .exportDiscounts();
 return new StringResourceStream(discounts, text/plain);
   }

   @Override
   protected void setHeaders(WebResponse response) {
 super.setHeaders(response);
 response.setAttachmentHeader(discounts.csv);
   }
 };
 export.setCacheable(false);

 new ResourceLink(this, exportLink, export);


 Eelco

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff stuff

2006-11-21 Thread Eelco Hillenius
On 11/21/06, cowwoc [EMAIL PROTECTED] wrote:

 I'd much prefer JPA integration. I don't see one as part of 
 databinder.
 I know Cheeser was working on one.

I bet you can contribute a patch for DataBinder too. Open source etc.

Eelco

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Tapestry 5 instantaneous reloads

2006-11-21 Thread Eelco Hillenius
On 11/21/06, Alexei Sokolov [EMAIL PROTECTED] wrote:
 Actually,

 There is a sysdeo tomcat plugin for eclipse which can be configured with a
 special 'devloader' classloader. With this config you'll see changes right
 after you saved your java source. But it won't help with nice urls ;)

That's actually a Java feature. Works out of the box with eclipse and
probably other IDEs, so if you run with Jetty (see the runner in the
wicket-examples project), that'll work. BUT... only for method
implementations, no structural changes. There is a feature request
that is in the top 10 of requested features, and that SUN is working
on: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4910812

Eelco

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Tapestry 5 instantaneous reloads

2006-11-21 Thread Alexei Sokolov

Actually,

There is a sysdeo tomcat plugin for eclipse which can be configured with a
special 'devloader' classloader. With this config you'll see changes right
after you saved your java source. But it won't help with nice urls ;)

Alex

On 11/21/06, Eelco Hillenius [EMAIL PROTECTED] wrote:


There is one big answer: Tapestry is a managed framework, whereas
Wicket is not. Tapestry owns component creation and 'state handling'
(you have to declare any state as something that needs to be managed
for Tapestry). I think Tapestry intercept in the class loading
mechanism too, but I haven't looked deeply into it. As Wicket is just
Java, we probably have to wait for the improvements in the JDK (which
are coming).

Eelco


On 11/21/06, cowwoc [EMAIL PROTECTED] wrote:

 Two questions about:
 http://howardlewisship.com/blog/2006/10/tapestry-5-screencast-2.html

 1) How did they get instantaneous page reloads working?
 2) How did they get their URLs to remain nice even though the
 underlying state is changing?

 and what is the implications for Wicket? I suspect you guys have
seen
 this before. Can you please comment on why Wicket does not do something
 similar? Is it something to do with the amount of client-side state they
 use?

 Thanks,
 Gili




-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
your
 opinions on IT  business topics through brief surveys - and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] who wants to be in charge ofdoingwicket-stuffreleases

2006-11-21 Thread Korbinian Bachl
im in GMT + 1 - and really need sleep now :)
 
@maciej: when i look at your email, youre from germany, too? aren't you?
 
as long as i now have we are 4:
James McLaughlin (jim)
? Maciej 
Filippo Diotalevi 
and me
 
seems a good base :)
 
best Regards 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von James
McLaughlin
Gesendet: Dienstag, 21. November 2006 18:56
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] who wants to be in charge
ofdoingwicket-stuffreleases


Great. Eelco, my sf id is jimmclaughlin. Korbinian, i'm in GMT-6, which I am
guessing is about 7 - 8 hours behind you. Should we keep this conversation
on the list, or take it off.

jim


On 11/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 

My sourceforge id is printx. Would it te possible to join this project as
small
scale contributor ?

Maciej

 -Ursprüngliche Nachricht-
 Von: wicket-user@lists.sourceforge.net
 Gesendet: 21.11.06 18:30:30
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] who wants to be in charge of
doingwicket-stuffreleases 


 If you give me the sourceforge ids you want to use for this, I'll be
 happy to add you guys.

 Eelco


 On 11/21/06, Korbinian Bachl   mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 
 
  Hi Jim,
 
  sounds good - what time zone you are in?
 
  Regards
 
 
    
   Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ] Im
  Auftrag von James McLaughlin
  Gesendet: Dienstag, 21. November 2006 01:14
  An: wicket-user@lists.sourceforge.net
  Betreff: Re: [Wicket-user] who wants to be in charge of 
  doingwicket-stuffreleases
 
 
  Hi Korbinian,
  I'm a bit time constrained also, but if you take the lead I will help
you
  out.
 
  jim 
 
 
  On 11/20/06, Martijn Dashorst  [EMAIL PROTECTED] wrote:
   Just a reminder, the wicket-contrib-datepicker project has a maven 2 
   pom, site and assembly descriptor which can be used as an example for
   rolling your own releases.
  
   Martijn
  
   On 11/20/06, Korbinian Bachl  [EMAIL PROTECTED]  wrote:
I can help you if you like. However, as my time is also limited i
would
appreciate it if a 2nd person would join me on that. 
   
Best regards,
   
Korbinian
   
   
 -Ursprüngliche Nachricht- 
 Von: [EMAIL PROTECTED]
 [mailto: [EMAIL PROTECTED]
  Im Auftrag
 von Eelco Hillenius
 Gesendet: Sonntag, 19. November 2006 20:41
 An: Wicket User List 
 Betreff: [Wicket-user] who wants to be in charge of doing
 wicket-stuffreleases

 Is there anyone who likes to volunteer for doing releases of 
 some of the wicket-stuff projects? We (the core team) just
 can't find enough time for it, and furthermore, we want to
 keep focussed on the core project instead. 

 The projects do not need a lot of releasing, though most
 projects in there could use a release right now. The release
 manager for wicket-stuff would basically ensure that version 
 numbers are upped when projects are changed and that - if
 they are changed - a release is made every once in a while.
 He/ she can of course delegate creating the actual release to 
 the 'owners' of particular projects. Another task of the
 release manager is to put out a notice (e.g. on this list
 and/ or on a blog) that a new release is done. And finally 
 he/ she might do some work on the wicket-stuff web site.

 Any takers?

 Eelco
 

  --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to
 share your opinions on IT  business topics through brief
 surveys - and earn cash 

  http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforge
p=sourceforge
CID=DEVDEV 
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net 

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


   
   
 
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share
  your
opinions on IT  business topics through brief surveys - and earn
cash
   
  http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
  https://lists.sourceforge.net/lists/listinfo/wicket-user
https://lists.sourceforge.net/lists/listinfo/wicket-user 
   
  
  
   --
   a
  href=http://www.thebeststuffintheworld.com/vote_for/wicket

Re: [Wicket-user] Tapestry 5 instantaneous reloads

2006-11-21 Thread Korbinian Bachl
well, you should ask howard lewis-ship about the first one,

the 2nd one lies in the way it works - tapestry manages everything while
wicket doesnt

the downside is more work to make a component compared to wicket, the upside
are goodies like easier URLs... 

and even in tapestry a real-nice URL is some work to do - not as hasrd as to
implement your own URL strategy in wicket but its not for free either...

regards
 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von cowwoc
 Gesendet: Dienstag, 21. November 2006 22:59
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] Tapestry 5 instantaneous reloads
 
 
   Two questions about:
 http://howardlewisship.com/blog/2006/10/tapestry-5-screencast-2.html
 
 1) How did they get instantaneous page reloads working?
 2) How did they get their URLs to remain nice even though 
 the underlying state is changing?
 
   and what is the implications for Wicket? I suspect you 
 guys have seen this before. Can you please comment on why 
 Wicket does not do something similar? Is it something to do 
 with the amount of client-side state they use?
 
 Thanks,
 Gili
 
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Issue of having a webpage return binary content

2006-11-21 Thread Eelco Hillenius
You can always do RequestCycle.get() (or
((WebRequest)RequestCycle.get())) to get the current request cycle, on
which you can then call get(Web)Request and get(Web)Response

Eelco

On 11/21/06, Carfield Yim [EMAIL PROTECTED] wrote:
 Thanks for introducting the class to me, however look like this
 missing some object like session and request which I need

 In fact I am going to output captcha according to jCaptcha example, it
 need request and session as follow. But can I do the same at
 WebResource?

 public ImageCaptcha() throws ImageFormatException, IOException {
 super();
 final WebRequest httpServletRequest = (WebRequest)getRequest();
 final WebResponse httpServletResponse = (WebResponse)getResponse();
 byte[] captchaChallengeAsJpeg = null;
 // the output stream to render the captcha image as jpeg into
 ByteArrayOutputStream jpegOutputStream = new ByteArrayOutputStream();
 // get the session id that will identify the generated captcha.
 // the same id must be used to validate the response, the
 session id is a good candidate!
 String captchaId = getSession().getId();
 // call the ImageCaptchaService getChallenge method
 BufferedImage challenge = new
 DefaultManageableImageCaptchaService().getImageChallengeForID(captchaId,

  httpServletRequest.getLocale());
 // a jpeg encoder
 JPEGImageEncoder jpegEncoder =
 JPEGCodec.createJPEGEncoder(jpegOutputStream);
 jpegEncoder.encode(challenge);
 captchaChallengeAsJpeg = jpegOutputStream.toByteArray();

 // flush it in the response
 httpServletResponse.setHeader(Cache-Control, no-store);
 httpServletResponse.setHeader(Pragma, no-cache);
 httpServletResponse.setDateHeader(Expires, 0);
 httpServletResponse.setContentType(image/jpeg);
 OutputStream responseOutputStream =
 httpServletResponse.getOutputStream();
 responseOutputStream.write(captchaChallengeAsJpeg);
 responseOutputStream.flush();
 responseOutputStream.close();
 }
 On 11/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
  For binary output, use a (web)resource. For instance, something like this:
 
  WebResource export = new WebResource() {
 
@Override
public IResourceStream getResourceStream() {
  CharSequence discounts = DataBase.getInstance()
  .exportDiscounts();
  return new StringResourceStream(discounts, text/plain);
}
 
@Override
protected void setHeaders(WebResponse response) {
  super.setHeaders(response);
  response.setAttachmentHeader(discounts.csv);
}
  };
  export.setCacheable(false);
 
  new ResourceLink(this, exportLink, export);
 
 
  Eelco
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys - and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] how can I get a tag embed for a audio resource

2006-11-21 Thread Eelco Hillenius
It's comparable to a reply I gave earlier today, which was:

   WebResource export = new WebResource() {

 @Override
 public IResourceStream getResourceStream() {
   CharSequence discounts = DataBase.getInstance()
   .exportDiscounts();
   return new StringResourceStream(discounts, text/plain);
 }

 @Override
 protected void setHeaders(WebResponse response) {
   super.setHeaders(response);
   response.setAttachmentHeader(discounts.csv);
 }
   };
   export.setCacheable(false);

   new ResourceLink(this, exportLink, export);

Now, in your case, check out what ResourceLink does. You'll need about
the same, but only on another attribute. Your class would look
something like this:

public class Embed extends WebComponent implements IResourceListener
{
private final Resource resource;

public Embed(final String id, final Resource resource)
{
super(id);
this.resource = resource;
}

protected void onComponentTag(ComponentTag tag)
{
super.onComponentTag(tag);

// src == link to IResourceListener method on this
tag.put(src, urlFor(IResourceListener.INTERFACE));
}

public final void onResourceRequested()
{
resource.onResourceRequested();
}
}

As a side note - you probably already know this - the embed tag is
deprecated. It looks like object tags like this:

object classid= CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95
type=audio/x-midi width=145 height=120
param name=src value=../files/softmelody.mid /
/object

are preferred?

Hope this helps,

Eelco


On 11/20/06, Roberto Muscillo [EMAIL PROTECTED] wrote:
 ...
 I've to  permit the upload of audio file; this files are stored in a
 particular directory on filesystem.
 Then I need to show in a webPage a embed .. tag with the reference to the
 audio file uploaded.

 To do that, in the Audios.java,  I 've used an Audio.java ; this is a object
 similar to Image.java
 ...
 this is the code:

 AudioUnit audioUnit = (AudioUnit) getModelObject();
  String audioPaths = audioUnit.getAudioUrl().getFile(); // this get
 the path on filesystem

 Resource myResource = ?

 Audio myAudio = new Audio(unitAudio), myResource);
 ...add(myAudio);

 the question is how can I get the Resource ???
 if was an image i could do something like:



 public static Resource getImageResource(Class webpage, final String
 imageURL, String imageId) {

 BufferedDynamicImageResource resource = new
 BufferedDynamicImageResource();
 File imageFile = new File(imageURL);
 BufferedImage image = null;
 try {

 image = ImageIO.read(imageFile);
 }
 catch (Exception e) {
 log.error(newResource(): exception:  + e.getMessage());
 log.error(newResource(): cause:  + e.getCause());
 }
 resource.setImage(image);

 return resource;
 }



 thanks for any help

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Different type of components in wicket.extensions.markup.html.tree.Tree

2006-11-21 Thread Eelco Hillenius
If you look at the Tree and DefaultAbstractTree classes, you can see a
bunch of overidable, protected methods. Usually in Wicket, if there is
a non-final protected method, it is there for you to override if you
need to (we'd either make it final or private if not).

Now, I'm not sure what you want to achieve... you are using the tree
component right? The Tree in core version 1.2 (moved to extensions for
2.0) has method newNodePanel for this. The tree in extensions version
1.2 (moved to core for 2.0) has methods like populateTreeItem for
this.

Maybe you could give a more detailed explanation of what you want to do?

Eelco


On 11/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hi all,

 I would like to add different type of components (maybe panels with links,
 labels and so on) to my
 navigation tree nodes, dependant of the node level. This time, a static
 scheme is given with a link, an icon and a label. This approach will avoid
 my needs, there is a Tree.html with
 the corresponding markup, which is touched everytime.

 Any good ideas?

 Every answer is appreciated!
 Cheers, Peter


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] 代开发票

2006-11-21 Thread 刘先生
你好!

 本公司属于有限责任公司,现因公司在税务局领取发票指标有余:

(商品销售,运输.海关代征增值税发票等)可以优惠外开.(另)有

多家企业委托我公司可以向外开放.欢迎来电咨询!我公司以最真诚,最优

惠的价格为贵企业公司服务.   

 
  
 如有不详之处

欢迎来电:13826558397  刘先生

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Issue of BufferedWebResponse Not Serializable

2006-11-21 Thread Carfield Yim
Thanks for the source, especially that introducing a nice way to put
dynamic generated image to HTML

On 11/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 On 11/21/06, Carfield Yim [EMAIL PROTECTED] wrote:
  When I try to use jcaptcha with wicket, I get the following problem,
  look like wicket will not work with jcaptcha, or if anybody know any
  trick to make it work?

 public class JCaptcha extends WebPage {

   private static final class CaptchaForm extends Form {

 private String challengeId = null;

 private String challengeResponse;

 public CaptchaForm(MarkupContainer parent, String id) {
   super(parent, id);

   DynamicImageResource res = new DynamicImageResource() {
 protected byte[] getImageData() {
   ByteArrayOutputStream os = new ByteArrayOutputStream();
   challengeId = new UID().toString();
   BufferedImage challenge = captchaService
   .getImageChallengeForID(challengeId, Session.get()
   .getLocale());
   JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(os);
   try {
 encoder.encode(challenge);
 return os.toByteArray();
   } catch (Exception e) {
 throw new RuntimeException(e);
   }
 }
   };
   new Image(this, captchaImage, res);

   new RequiredTextFieldString(this, response,
   new PropertyModelString(this, challengeResponse)) {
 protected final void onComponentTag(final ComponentTag tag) {
   super.onComponentTag(tag);
   tag.put(value, );
 }
   }.add(new AbstractValidatorString() {

 protected void onValidate(IValidatableString validatable) {
   if (!captchaService.validateResponseForID(challengeId,
   validatable.getValue())) {
 error(validatable);
   }
 }

 @Override
 protected String resourceKey() {
   return captcha.validation.failed;
 }
   });

   new FeedbackPanel(this, feedback);
 }

 public String getChallengeResponse() {
   return challengeResponse;
 }

 public void setChallengeResponse(String challengeResponse) {
   this.challengeResponse = challengeResponse;
 }

 protected void onSubmit() {
   info(getLocalizer().getString(captcha.validation.succeeded,
   this));
 }
   }

   private static final ImageCaptchaService captchaService = new
 DefaultManageableImageCaptchaService();

   public JCaptcha() {
 new CaptchaForm(this, form);
   }
 }

 html
 head
   link rel=stylesheet type=text/css href=style.css /
 /head
 body
   form wicket:id=form
 img wicket:id=captchaImage / br /
 Please replicate the text you see above br /
 input wicket:id=response type=text /
 input type=submit value=submit /
 span wicket:id=feedback[feedback is rendered here]/span
   /form
 /body
 /html


 Eelco

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Issue of having a webpage return binary content

2006-11-21 Thread Carfield Yim
Thanks, in fact I get a even nicer way generate image, which is just
use Image() object from wicket, thanks everyone

On 11/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 You can always do RequestCycle.get() (or
 ((WebRequest)RequestCycle.get())) to get the current request cycle, on
 which you can then call get(Web)Request and get(Web)Response

 Eelco

 On 11/21/06, Carfield Yim [EMAIL PROTECTED] wrote:
  Thanks for introducting the class to me, however look like this
  missing some object like session and request which I need
 
  In fact I am going to output captcha according to jCaptcha example, it
  need request and session as follow. But can I do the same at
  WebResource?
 
  public ImageCaptcha() throws ImageFormatException, IOException {
  super();
  final WebRequest httpServletRequest = (WebRequest)getRequest();
  final WebResponse httpServletResponse = (WebResponse)getResponse();
  byte[] captchaChallengeAsJpeg = null;
  // the output stream to render the captcha image as jpeg into
  ByteArrayOutputStream jpegOutputStream = new 
  ByteArrayOutputStream();
  // get the session id that will identify the generated captcha.
  // the same id must be used to validate the response, the
  session id is a good candidate!
  String captchaId = getSession().getId();
  // call the ImageCaptchaService getChallenge method
  BufferedImage challenge = new
  DefaultManageableImageCaptchaService().getImageChallengeForID(captchaId,
 
   httpServletRequest.getLocale());
  // a jpeg encoder
  JPEGImageEncoder jpegEncoder =
  JPEGCodec.createJPEGEncoder(jpegOutputStream);
  jpegEncoder.encode(challenge);
  captchaChallengeAsJpeg = jpegOutputStream.toByteArray();
 
  // flush it in the response
  httpServletResponse.setHeader(Cache-Control, no-store);
  httpServletResponse.setHeader(Pragma, no-cache);
  httpServletResponse.setDateHeader(Expires, 0);
  httpServletResponse.setContentType(image/jpeg);
  OutputStream responseOutputStream =
  httpServletResponse.getOutputStream();
  responseOutputStream.write(captchaChallengeAsJpeg);
  responseOutputStream.flush();
  responseOutputStream.close();
  }
  On 11/22/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
   For binary output, use a (web)resource. For instance, something like this:
  
   WebResource export = new WebResource() {
  
 @Override
 public IResourceStream getResourceStream() {
   CharSequence discounts = DataBase.getInstance()
   .exportDiscounts();
   return new StringResourceStream(discounts, text/plain);
 }
  
 @Override
 protected void setHeaders(WebResponse response) {
   super.setHeaders(response);
   response.setAttachmentHeader(discounts.csv);
 }
   };
   export.setCacheable(false);
  
   new ResourceLink(this, exportLink, export);
  
  
   Eelco
  
   -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to share 
   your
   opinions on IT  business topics through brief surveys - and earn cash
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys - and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash