Re: [Wicket-user] working with plugins

2006-07-22 Thread Johan Compagner
Yes that was the idea.. That you have to delegate there through all your classloaders.I implemented your change by first using the objects classloader.. then fall back to what we did now.So that should help your case. When a page (by total) comes from one plugin/package
The only problem is when a page or component that is cloned is a mix of plugins.. Then it won't work and you will need toimplement the IClassResolver so that you iterate over it.But i think i can fix that also.. so that nobody has to worry anymore for classloaders when cloning (model or object)
I just record all the classloaders that are used for all the objects that are cloned for one request in the outputstream (use the replaceObject method)Then i use those classloaders myself for t he resolving in the inputstream.. (resolveClass method)
That should always work i believe or am i missing something??johanOn 7/17/06, Ittay Dror [EMAIL PROTECTED]
 wrote:if the deserialization uses it, then maybe (i'm not sure how it is used). but in our case, every Page subclass may be in its own class loader, separate from others, so using a singleton IClassResolver instance will not help (unless it delegates to all class loaders, which may cause havoc). i think that my proposed solution is straight forward.
Igor Vaynberg wrote: we do have IClassResolver woudnt that help? it helped with osgi -Igor On 7/17/06, *Ittay Dror* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote: done. the request id is 1524019. i've added more description of the problem and the solution. i think
 this may happen also with osgi integration, or any other case where an object is used that is found through a classloader different than the one wicket / tomcat is in. Eelco Hillenius wrote:
 I'm afraid I don't get the request. Could you please create a feature request with a patch, clearly explaining what is wrong today and what your patch fixes?
 Thanks, Eelco On 7/17/06, Ittay Dror [EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote: Hi, We're using plugins similar to Eclipse's to decouple functionality. Each plugin's classes run in their own class loader.
 We've encountered a problem in onNewBrowserWindow(). it uses Objects.cloneObject(), which uses the default ObjectInputStream, that uses the class loader associated with the execution stack,
 rather than the object's. so trying to get the class of the object when reading it back fails. This can be solved by changing cloneObject to: public static Object cloneObject(final Object object)
{if (object == null){return null;}else
{try{final ByteArrayOutputStream out = new ByteArrayOutputStream(256);ObjectOutputStream oos = new
 ObjectOutputStream(out);oos.writeObject(object);ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(out
.toByteArray())) { protected Class resolveClass(ObjectStreamClass desc) throws IOException,ClassNotFoundException {
String className = desc.getName();return Class.forName(className, true, object.getClass().getClassLoader()); }
};return ois.readObject();}catch (ClassNotFoundException e){
throw new WicketRuntimeException(Internal error cloning object, e);}catch (IOException e)
{throw new WicketRuntimeException(Internal error cloning object, e);}}
} i think that it should work fine in this context since the object is already accessible when writing it. it is working for us.
 btw, a problem that is caused by this failure (and the throwing of WicketRuntimeException) is that the PageMap contains null entries (or rather, the session contains attributes with null values). i
 couldn't track why exactly this happens. regards, ittay --
 === Ittay Dror, Chief architect, openQRM TL, RD, Qlusters Inc. 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] +972-3-6081994 Fax: +972-3-6081841 
http://www.openQRM.org - Keeps your Data-Center Up and Running -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
 - Using Tomcat but need to do more? Need to support web services,
 security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___
 Wicket-user 

[Wicket-user] Wicket search engine

2006-07-22 Thread Frank Bille Jensen
Hey all Wicket lovers!

The last week or so, I have been working on a Wicket resource search
engine. It is a little application which indexes Wicket related sites
for a more dedicated search:

http://woogle.billen.dk/

It started of as a simple research project of Lucene Nutch[1], but I
quickly started using it my self for finding help on different Wicket
subjects. After some positive feedback on IRC, I decided to make it
public. SO now the source is ASL2 and available from my local SF
installation[2].

The state of the application is of course still beta. Not the Wicket
application; I think it fairly much do what it's supposed to. But the
indexed material only count the sites listed in the FAQ[3], and not all
the great blog entries etc. all around. The problem is that I haven't
figured out the best way to index the blog entries without getting all
the private/off-topic entries as well. If anyone has any ideas please
write me (or reply to this).


Regards
Frank Bille



[1]: http://lucene.apache.org/nutch
[2]: http://sf.billen.dk/sf/projects/woogle
[3]: http://woogle.billen.dk/search/faq


-
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] Problem response page using AjaxFormSubmitBehavior

2006-07-22 Thread Paolo Di Tommaso
Igor you right when you say that generally is a contradiction having a page redirection on a ajax request but in the case of AjaxFormSubmitBehavior the request is to submit data, and common semantic for submit is save data and proceed with next page in the flow.
Anyway I want to be more detailed about my use case: I have a complex form with a lot of fields with cross validation rules (some fields validation depends from other fields value). It's very common that users make a mistake filling out the form so I would avoid to have complete page render each time the user try to submit data. Only If there are no error on page I will go to the next page in the application flow.
So AjaxFormSubmitBehavior is perfect for this use case. In onSubmit(target) method I check for any validation error, if any exists I will notify user about that with a _javascript_ alert / 
target.addJavascript(alert('..')) /.If validation pass the form onSubmit will execute storing submitted data and proceeding to to next page / 
setResponsePage / .  I was a bit surprised to see that setResponsePage
 was not working in conjunction an AjaxFormSubmitBehavior  request. I think Eelco proposal to make AjaxRequestTarget translating page redirect to 
window.location is good idea. In this way setResponsePage semantic will be more uniform with both plain and ajax submit.Thanks. - PaoloBut in my case, I'm using  
AjaxFormSubmitBehavior 
to validate and saving user data . On 7/21/06, Eelco Hillenius 
[EMAIL PROTECTED] wrote:
I don't know whether it is that uncommon. Now that I think of it, Ican think of a few use cases, certainly when you want to handle
exceptional situations.But Paolo, please tell us more about your use case. Are you sure youwant to redirect to a page there?EelcoOn 7/21/06, Igor Vaynberg 

[EMAIL PROTECTED] wrote: sure, we could add a utility method. but think about what you are doing - you want to redirect a browser from an /ajax/ request. this is not a common usecase i dont think. the whole point of ajax is to work on the same page
 and avoid the redirects :) -Igor On 7/21/06, Eelco Hillenius 
[EMAIL PROTECTED] wrote:  Could we make AjaxRequestTarget a bit smarter so that it would have a
  setResponsePage method that translates to window.location= instead of  the redirect we do for normal requests?   EelcoOn 7/21/06, Igor Vaynberg  
[EMAIL PROTECTED] wrote:   target.addJavascript
(window.location='+RequstCycle.get().urlFor(null,   MyPage.class)+';);
 you can only redirect to a class not an instance so you will have to pass   params using PageParameters. maybe we should add urlFor(Page) to request cycle
 -Igor On 7/21/06, Paolo Di Tommaso  
[EMAIL PROTECTED]
 wrote:I'm getting a bit confused how to redirect to a new page after a form   submission using AjaxFormSubmitBehavior.  

   I use the onSubmit method of AjaxFormSubmitBehavior component to notify user   for special message, for example:buttonSave.add( new AjaxFormSubmitBehavior ( form, onclick ) {
   protected void onSubmit(AjaxRequestTarget target) {   if( !getFeedbackMessages().isEmpty() ) {  target.addJavascript( alert('Validation failed') );
   }  }   });   and the form onSubmit to save data and redirect to the next page: form = new Form(form1) {
void onSubmit() {if( findSubmittingButton() == buttonSave ) {dao.save( object );   setResponsePage( 
NextPage.class );   }   }  }; The problem is that in this way I will get the response page as response   content of the Ajax call!
 How to redirect to another page using AjaxFormSubmitBehavior?   Thanks for helping.   - Paolo
   -   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 -- 

[Wicket-user] Any example for dynamically loading very big tree?

2006-07-22 Thread Rice Yeh
Hi, Is there any example for dynamically loading very big tree? The nested example given in wicket-examples is fully populated before tree is rendered.Regards,Rice
-
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] Any example for dynamically loading very big tree?

2006-07-22 Thread Eelco Hillenius
You should be able to just append nodes to your model. The tree model
should fire events to the tree so that it knows it should re-render
(or better: re-evaluate its model).

Eelco


On 7/22/06, Rice Yeh [EMAIL PROTECTED] wrote:
 Hi,
   Is there any example for dynamically loading very big tree? The nested
 example given in wicket-examples is fully populated before tree is rendered.

 Regards,
 Rice

 -
 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 search engine

2006-07-22 Thread Aníbal Rojas
I am an absolut begginer to Wicket, but in RuyCorner.com (which is a
Blog Directory and not a Vertical Search engine) people suscribe and
register their blogs,  and we try to enforce that people use their
Ruby/Rails specific feeds that most CMS can provide without a problem.

Just an idea...

-- 
Aníbal Rojas
http://www.rubycorner.com
http://www.vp.com.ve/contact-us
http://www.lacaraoscura.com

On 7/22/06, Frank Bille Jensen [EMAIL PROTECTED] wrote:
 Hey all Wicket lovers!

 The last week or so, I have been working on a Wicket resource search
 engine. It is a little application which indexes Wicket related sites
 for a more dedicated search:

 http://woogle.billen.dk/

 It started of as a simple research project of Lucene Nutch[1], but I
 quickly started using it my self for finding help on different Wicket
 subjects. After some positive feedback on IRC, I decided to make it
 public. SO now the source is ASL2 and available from my local SF
 installation[2].

 The state of the application is of course still beta. Not the Wicket
 application; I think it fairly much do what it's supposed to. But the
 indexed material only count the sites listed in the FAQ[3], and not all
 the great blog entries etc. all around. The problem is that I haven't
 figured out the best way to index the blog entries without getting all
 the private/off-topic entries as well. If anyone has any ideas please
 write me (or reply to this).


 Regards
 Frank Bille



 [1]: http://lucene.apache.org/nutch
 [2]: http://sf.billen.dk/sf/projects/woogle
 [3]: http://woogle.billen.dk/search/faq


 -
 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] Wicket in Action?

2006-07-22 Thread Ali Zaid
Hi All!

I wonder where Wicket in Action stands now? is there a way we can
have early access to the chapters? I would love to have something
released periodically than wait for the whole thing :)

-- 
Regards, Ali

-
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] Adding items to GridView using AJAX

2006-07-22 Thread Predrag Spasojevic
What is the best way to addnew items to GridView using AJAX? 
The best way I can think of is to put GridView on a container( panel for example) and then update the panel using AJAX. 
But using this way the whole table repaints. I can't find a way to repaint only affected cells. 
For example : grid has 1 column and 10 rows and there is only 5 cells filled. If user adds anew item I would be nice if it is possible just to draw 
item at row 6, not to repaint the whole table.

-- Regards,Predrag Spasojevic 
-
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] Absolut newbiwe questions for a secure, data centric application

2006-07-22 Thread Aníbal Rojas
Hello,

I am considering Wicket to start a new project, I have been
digging into some other projects like Grails, Rife, Roma, Sails and
Menta. My background comes from Turbine, Torque and lately Spring
(still sick of the hell of XML configuration fles ;-)

My new project is a small dashboard like app, with heavy use of
JFree charts or something alike. I suppose I will end writing some
kind of comonent to make this charting stuff reusable, or has anybody
solved this yet?

This application is data centric, and I am not quite sure of how
should I focus persistence. The main site of Wicket lacks any example
related to Hibernate, or any other persistence framework. The
references found in the Wiki are no relevant.

There is a DataBinder proyect that show little activity but looks
fine in setting up the required infraestructure for persistence using
Hibernate. Wickett Stuff list a Hibernate components but there is no
informations about this subproject, and there is Qwicket, that
integrates HIbernate. It would be great to ear about your experiences
and recomendatios regarding the implementation of persistence in a
Wickett app.

This application would require user to get authenticated, and some
simple role administration. It looks like there is some authentication
components in Wicket Stuff and checking the sources of Qwicket it
looks like it solves persistence throung Hibernate with all the basic
security infraestructure. Quicket looks like a youg and active
project, resolving the commong infraestructure issues I am looking
for, has anybody experimented with it?

Off course the application will need some CRUD, there is a CRUD example at:

http://www.learntechnology.net/wicket-crud.do

I am not sure if it is a good starting place. Or if I should try
Wicket Rapid Application Development Panels?

I am sorry for such many questions, but starting with a new
framework is always the difficult point of build a application. Any
help, suggestion or guidance will be higly appreciated.

Best regards

-- 
Aníbal Rojas

-
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] working with plugins

2006-07-22 Thread Igor Vaynberg
yeah i think that should do it. you think it will have a noticable
impact on the size of our cloned objects? maybe output null if the
object's classloader is the same as our default one to save on space.

-Igor
On 7/22/06, Johan Compagner [EMAIL PROTECTED] wrote:
Yes that was the idea.. That you have to delegate there through all your classloaders.I implemented your change by first using the objects classloader.. then fall back to what we did now.So that should help your case. When a page (by total) comes from one plugin/package
The only problem is when a page or component that is cloned is a mix of plugins.. Then it won't work and you will need toimplement the IClassResolver so that you iterate over it.But i think i can fix that also.. so that nobody has to worry anymore for classloaders when cloning (model or object)
I just record all the classloaders that are used for all the
objects that are cloned for one request in the outputstream (use the
replaceObject method)Then i use those classloaders myself for t he resolving in the inputstream.. (resolveClass method)
That should always work i believe or am i missing something??johanOn 7/17/06, 
Ittay Dror [EMAIL PROTECTED]
 wrote:if
the deserialization uses it, then maybe (i'm not sure how it is used).
but in our case, every Page subclass may be in its own class loader,
separate from others, so using a singleton IClassResolver instance will
not help (unless it delegates to all class loaders, which may cause
havoc). i think that my proposed solution is straight forward.
Igor Vaynberg wrote: we do have IClassResolver woudnt that help? it helped with osgi -Igor On 7/17/06, *Ittay Dror* 
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote: done. the request id is 1524019.
 i've added more description of the problem and the solution. i think
 this may happen also with osgi integration, or any other case where an object is used that is found through a classloader different than the one wicket / tomcat is in. Eelco Hillenius wrote:
 I'm afraid I don't get the request. Could you please create a feature request with a patch, clearly explaining what is wrong today and what your patch fixes?
 Thanks, Eelco On 7/17/06, Ittay Dror 
[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote: Hi,
 We're using plugins similar to Eclipse's to decouple functionality. Each plugin's classes run in their own class loader.
 We've encountered a problem in onNewBrowserWindow(). it uses Objects.cloneObject(), which uses the default ObjectInputStream, that uses the class loader associated with the execution stack,
 rather than the object's. so trying to get the class of the object when reading it back fails. This can be solved by changing cloneObject to: public static Object cloneObject(final Object object)
{if (object == null){return
null;}else
{try{final
ByteArrayOutputStream out = new ByteArrayOutputStream(256);ObjectOutputStream oos = new
 ObjectOutputStream(out);oos.writeObject(object);ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(out
.toByteArray())) { protected Class resolveClass(ObjectStreamClass desc) throws IOException,ClassNotFoundException {
String className = desc.getName();return Class.forName(className, true, object.getClass().getClassLoader()); }
};return
ois.readObject();}catch
(ClassNotFoundException e){
throw
new WicketRuntimeException(Internal error cloning object, e);}catch
(IOException e)
{throw
new WicketRuntimeException(Internal error cloning object, e);}}
} i think that it should work fine in this context since the object is already accessible when writing it. it is working for us.
 btw, a problem that is caused by this failure (and the throwing of WicketRuntimeException) is that the PageMap contains null entries (or rather, the session contains attributes with null values). i
 couldn't track why exactly this happens. regards, ittay --
 === Ittay Dror, Chief architect, openQRM TL, RD, Qlusters Inc. 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] +972-3-6081994 Fax: +972-3-6081841
 
http://www.openQRM.org - Keeps your Data-Center Up and Running -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier

 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
 
https://lists.sourceforge.net/lists/listinfo/wicket-user
 - Using Tomcat but need to do more? Need to support web services,
 security? Get stuff done quickly with pre-integrated technology to make your job easier 

Re: [Wicket-user] Wicket search engine

2006-07-22 Thread Igor Vaynberg
what i want to know is why that version of sf.net is soo much better looking then the crap on sf.net?

-Igor
On 7/22/06, Aníbal Rojas [EMAIL PROTECTED] wrote:
I am an absolut begginer to Wicket, but in RuyCorner.com (which is aBlog Directory and not a Vertical Search engine) people suscribe andregister their blogs,and we try to enforce that people use theirRuby/Rails specific feeds that most CMS can provide without a problem.
Just an idea...--Aníbal Rojashttp://www.rubycorner.comhttp://www.vp.com.ve/contact-us
http://www.lacaraoscura.comOn 7/22/06, Frank Bille Jensen [EMAIL PROTECTED] wrote: Hey all Wicket lovers! The last week or so, I have been working on a Wicket resource search
 engine. It is a little application which indexes Wicket related sites for a more dedicated search: http://woogle.billen.dk/ It started of as a simple research project of Lucene Nutch[1], but I
 quickly started using it my self for finding help on different Wicket subjects. After some positive feedback on IRC, I decided to make it public. SO now the source is ASL2 and available from my local SF
 installation[2]. The state of the application is of course still beta. Not the Wicket application; I think it fairly much do what it's supposed to. But the indexed material only count the sites listed in the FAQ[3], and not all
 the great blog entries etc. all around. The problem is that I haven't figured out the best way to index the blog entries without getting all the private/off-topic entries as well. If anyone has any ideas please
 write me (or reply to this). Regards Frank Bille [1]: http://lucene.apache.org/nutch [2]: 
http://sf.billen.dk/sf/projects/woogle [3]: http://woogle.billen.dk/search/faq -
 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 ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___Wicket-user mailing listWicket-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] Adding items to GridView using AJAX

2006-07-22 Thread Igor Vaynberg
but what happens if you have a row filled and the user adds another
item, then you need to create an entire new row w/out repainting the
rest. the gridview wasnt designed with ajax in mind, so i see two
situations - rewrite gridview with ajax sutt in mind or create a
separate ajax grid view that can do all this.

-Igor
On 7/22/06, Predrag Spasojevic [EMAIL PROTECTED] wrote:
What is the best way to addnew items to GridView using AJAX? 
The best way I can think of is to put GridView on a container( panel for example) and then update the panel using AJAX. 
But using this way the whole table repaints. I can't find a way to repaint only affected cells. 
For example : grid has 1 column and 10 rows and there is only 5
cells filled. If user adds anew item I would be nice if it is
possible just to draw 
item at row 6, not to repaint the whole table.

-- Regards,Predrag Spasojevic 

-Take Surveys. Earn Cash. Influence the Future of ITJoin 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.nethttps://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] working with plugins

2006-07-22 Thread Johan Compagner
it won't impact the size of the cloned objects at allIt is just a list (or better set) of classloaders thats is registered and hold on to for only that cloneXXX methodnothing more. So the only thing that will be generated and discarded quickly is a List or Set holding the Classloaders.
johanOn 7/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
yeah i think that should do it. you think it will have a noticable
impact on the size of our cloned objects? maybe output null if the
object's classloader is the same as our default one to save on space.

-Igor
On 7/22/06, Johan Compagner 
[EMAIL PROTECTED] wrote:
Yes that was the idea.. That you have to delegate there through all your classloaders.I implemented your change by first using the objects classloader.. then fall back to what we did now.So that should help your case. When a page (by total) comes from one plugin/package
The only problem is when a page or component that is cloned is a mix of plugins.. Then it won't work and you will need toimplement the IClassResolver so that you iterate over it.But i think i can fix that also.. so that nobody has to worry anymore for classloaders when cloning (model or object)
I just record all the classloaders that are used for all the
objects that are cloned for one request in the outputstream (use the
replaceObject method)Then i use those classloaders myself for t he resolving in the inputstream.. (resolveClass method)
That should always work i believe or am i missing something??johanOn 7/17/06, 
Ittay Dror [EMAIL PROTECTED]
 wrote:if
the deserialization uses it, then maybe (i'm not sure how it is used).
but in our case, every Page subclass may be in its own class loader,
separate from others, so using a singleton IClassResolver instance will
not help (unless it delegates to all class loaders, which may cause
havoc). i think that my proposed solution is straight forward.
Igor Vaynberg wrote: we do have IClassResolver woudnt that help? it helped with osgi -Igor On 7/17/06, *Ittay Dror* 

[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 done. the request id is 1524019.
 i've added more description of the problem and the solution. i think
 this may happen also with osgi integration, or any other case where an object is used that is found through a classloader different than the one wicket / tomcat is in. Eelco Hillenius wrote:
 I'm afraid I don't get the request. Could you please create a feature request with a patch, clearly explaining what is wrong today and what your patch fixes?
 Thanks, Eelco On 7/17/06, Ittay Dror 

[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote: Hi,

 We're using plugins similar to Eclipse's to decouple functionality. Each plugin's classes run in their own class loader.
 We've encountered a problem in onNewBrowserWindow(). it uses Objects.cloneObject(), which uses the default ObjectInputStream, that uses the class loader associated with the execution stack,
 rather than the object's. so trying to get the class of the object when reading it back fails. This can be solved by changing cloneObject to: public static Object cloneObject(final Object object)
{if (object == null){return
null;}else
{try{final
ByteArrayOutputStream out = new ByteArrayOutputStream(256);ObjectOutputStream oos = new
 ObjectOutputStream(out);oos.writeObject(object);ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(out
.toByteArray())) { protected Class resolveClass(ObjectStreamClass desc) throws IOException,ClassNotFoundException {
String className = desc.getName();return Class.forName(className, true, object.getClass().getClassLoader()); }
};return
ois.readObject();}catch
(ClassNotFoundException e){
throw
new WicketRuntimeException(Internal error cloning object, e);}catch
(IOException e)
{throw
new WicketRuntimeException(Internal error cloning object, e);}}
} i think that it should work fine in this context since the object is already accessible when writing it. it is working for us.
 btw, a problem that is caused by this failure (and the throwing of WicketRuntimeException) is that the PageMap contains null entries (or rather, the session contains attributes with null values). i
 couldn't track why exactly this happens. regards, ittay --
 === Ittay Dror, Chief architect, openQRM TL, RD, Qlusters Inc. 


[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 +972-3-6081994 Fax: +972-3-6081841
 
http://www.openQRM.org - Keeps your Data-Center Up and Running -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier

 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 


http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list 


Re: [Wicket-user] Absolut newbiwe questions for a secure, data centric application

2006-07-22 Thread Igor Vaynberg
there is a wicket+spring+hibernate example in wicket-stuff called
wicket-phonebook. also google qwicket, it will generate a
wicket+spring+hibernate skeleton for you.

also search the list for jfreechart, there have been a couple of components made for charting alraedy.

-Igor
On 7/22/06, Aníbal Rojas [EMAIL PROTECTED] wrote:
Hello,I am considering Wicket to start a new project, I have beendigging into some other projects like Grails, Rife, Roma, Sails andMenta. My background comes from Turbine, Torque and lately Spring
(still sick of the hell of XML configuration fles ;-)My new project is a small dashboard like app, with heavy use ofJFree charts or something alike. I suppose I will end writing somekind of comonent to make this charting stuff reusable, or has anybody
solved this yet?This application is data centric, and I am not quite sure of howshould I focus persistence. The main site of Wicket lacks any examplerelated to Hibernate, or any other persistence framework. The
references found in the Wiki are no relevant.There is a DataBinder proyect that show little activity but looksfine in setting up the required infraestructure for persistence usingHibernate. Wickett Stuff list a Hibernate components but there is no
informations about this subproject, and there is Qwicket, thatintegrates HIbernate. It would be great to ear about your experiencesand recomendatios regarding the implementation of persistence in aWickett app.
This application would require user to get authenticated, and somesimple role administration. It looks like there is some authenticationcomponents in Wicket Stuff and checking the sources of Qwicket it
looks like it solves persistence throung Hibernate with all the basicsecurity infraestructure. Quicket looks like a youg and activeproject, resolving the commong infraestructure issues I am lookingfor, has anybody experimented with it?
Off course the application will need some CRUD, there is a CRUD example at:http://www.learntechnology.net/wicket-crud.doI am not sure if it is a good starting place. Or if I should try
Wicket Rapid Application Development Panels?I am sorry for such many questions, but starting with a newframework is always the difficult point of build a application. Anyhelp, suggestion or guidance will be higly appreciated.
Best regards--Aníbal Rojas-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___Wicket-user mailing listWicket-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] working with plugins

2006-07-22 Thread Igor Vaynberg
ah, i see. you are just registering them. i thought you were going to
include it into the cloed object itself. i think we still need to keep
the record of what the object's classloader was in case there are
objects with the same name in more then one classloader. so maybe as
you build up this list of classloaders you save the index with the
cloned object.

-Igor
On 7/22/06, Johan Compagner [EMAIL PROTECTED] wrote:
it won't impact the size of the cloned objects at allIt is just a list (or better set) of classloaders thats is registered and hold on to for only that cloneXXX methodnothing more. So the only thing that will be generated and discarded quickly is a List or Set holding the Classloaders.
johanOn 7/22/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote:
yeah i think that should do it. you think it will have a noticable
impact on the size of our cloned objects? maybe output null if the
object's classloader is the same as our default one to save on space.

-Igor
On 7/22/06, Johan Compagner 

[EMAIL PROTECTED] wrote:
Yes that was the idea.. That you have to delegate there through all your classloaders.I implemented your change by first using the objects classloader.. then fall back to what we did now.So that should help your case. When a page (by total) comes from one plugin/package
The only problem is when a page or component that is cloned is a mix of plugins.. Then it won't work and you will need toimplement the IClassResolver so that you iterate over it.But i think i can fix that also.. so that nobody has to worry anymore for classloaders when cloning (model or object)
I just record all the classloaders that are used for all the
objects that are cloned for one request in the outputstream (use the
replaceObject method)Then i use those classloaders myself for t he resolving in the inputstream.. (resolveClass method)
That should always work i believe or am i missing something??johanOn 7/17/06, 
Ittay Dror 
[EMAIL PROTECTED]
 wrote:if
the deserialization uses it, then maybe (i'm not sure how it is used).
but in our case, every Page subclass may be in its own class loader,
separate from others, so using a singleton IClassResolver instance will
not help (unless it delegates to all class loaders, which may cause
havoc). i think that my proposed solution is straight forward.
Igor Vaynberg wrote: we do have IClassResolver woudnt that help? it helped with osgi -Igor On 7/17/06, *Ittay Dror* 


[EMAIL PROTECTED]
 mailto:
[EMAIL PROTECTED] wrote:
 done. the request id is 1524019.
 i've added more description of the problem and the solution. i think
 this may happen also with osgi integration, or any other case where an object is used that is found through a classloader different than the one wicket / tomcat is in. Eelco Hillenius wrote:
 I'm afraid I don't get the request. Could you please create a feature request with a patch, clearly explaining what is wrong today and what your patch fixes?
 Thanks, Eelco On 7/17/06, Ittay Dror 


[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED]
 wrote: Hi,

 We're using plugins similar to Eclipse's to decouple functionality. Each plugin's classes run in their own class loader.
 We've encountered a problem in onNewBrowserWindow(). it uses Objects.cloneObject(), which uses the default ObjectInputStream, that uses the class loader associated with the execution stack,
 rather than the object's. so trying to get the class of the object when reading it back fails. This can be solved by changing cloneObject to: public static Object cloneObject(final Object object)
{if (object == null){return
null;}else
{try{final
ByteArrayOutputStream out = new ByteArrayOutputStream(256);ObjectOutputStream oos = new
 ObjectOutputStream(out);oos.writeObject(object);ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(out
.toByteArray())) { protected Class resolveClass(ObjectStreamClass desc) throws IOException,ClassNotFoundException {
String className = desc.getName();return Class.forName(className, true, object.getClass().getClassLoader()); }
};return
ois.readObject();}catch
(ClassNotFoundException e){
throw
new WicketRuntimeException(Internal error cloning object, e);}catch
(IOException e)
{throw
new WicketRuntimeException(Internal error cloning object, e);}}
} i think that it should work fine in this context since the object is already accessible when writing it. it is working for us.
 btw, a problem that is caused by this failure (and the throwing of WicketRuntimeException) is that the PageMap contains null entries (or rather, the session contains attributes with null values). i
 couldn't track why exactly this happens. regards, ittay --
 === Ittay Dror, Chief architect, openQRM TL, RD, Qlusters Inc. 



[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED]
 +972-3-6081994 Fax: +972-3-6081841
 

http://www.openQRM.org - Keeps your Data-Center Up and Running -
 Using Tomcat but need to do more? 

Re: [Wicket-user] Absolut newbiwe questions for a secure, data centric application

2006-07-22 Thread Eelco Hillenius
And alternatively check wicket-contrib-jasperreports and
wicket-examples/captcha for idaas on how to build someting like a
jfreechart component yourself. Should be quite easy to do that. And if
you - or someone else reading this - would be interested in
maintaining such a project in wicket-stuff, that'd be absolutely
great.

Eelco


  also search the list for jfreechart, there have been a couple of components
 made for charting alraedy.

-
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] working with plugins

2006-07-22 Thread Johan Compagner
hmm same name??So igor.i.am.the.one.MyGreatObjectdoes have 2 instances in somewhere in the cloned object hierachy but they are comming from different classloaders??That would really suck. I wouldn't know how to handle that currently.
Because at register time i just get a replaceObject(Object o){ uniqueSet.add(o.getClass().getClassLoader())}and then at resolveClass(){ iterate(uniqueSet) { Class cls = 
Class.forName(className,true,classLoaderFromSet) }}Ofcourse if there is only one instance that we need. But the class can come from a different onethen this would help a bit:replaceObject(Object o)

{
 map.put(o.getClass().getName(),o.getClass().getClassLoader())
}
resolveClass(){ map.get(className)}That last part is maybe better after all, We will generate a (much) bigger map thenjohanOn 7/22/06, 
Igor Vaynberg [EMAIL PROTECTED] wrote:
ah, i see. you are just registering them. i thought you were going to
include it into the cloed object itself. i think we still need to keep
the record of what the object's classloader was in case there are
objects with the same name in more then one classloader. so maybe as
you build up this list of classloaders you save the index with the
cloned object.

-Igor
On 7/22/06, Johan Compagner 
[EMAIL PROTECTED] wrote:
it won't impact the size of the cloned objects at allIt is just a list (or better set) of classloaders thats is registered and hold on to for only that cloneXXX methodnothing more. So the only thing that will be generated and discarded quickly is a List or Set holding the Classloaders.
johanOn 7/22/06, Igor Vaynberg 

[EMAIL PROTECTED] wrote:
yeah i think that should do it. you think it will have a noticable
impact on the size of our cloned objects? maybe output null if the
object's classloader is the same as our default one to save on space.

-Igor
On 7/22/06, Johan Compagner 


[EMAIL PROTECTED] wrote:
Yes that was the idea.. That you have to delegate there through all your classloaders.I implemented your change by first using the objects classloader.. then fall back to what we did now.So that should help your case. When a page (by total) comes from one plugin/package
The only problem is when a page or component that is cloned is a mix of plugins.. Then it won't work and you will need toimplement the IClassResolver so that you iterate over it.But i think i can fix that also.. so that nobody has to worry anymore for classloaders when cloning (model or object)
I just record all the classloaders that are used for all the
objects that are cloned for one request in the outputstream (use the
replaceObject method)Then i use those classloaders myself for t he resolving in the inputstream.. (resolveClass method)
That should always work i believe or am i missing something??johanOn 7/17/06, 
Ittay Dror 

[EMAIL PROTECTED]
 wrote:if
the deserialization uses it, then maybe (i'm not sure how it is used).
but in our case, every Page subclass may be in its own class loader,
separate from others, so using a singleton IClassResolver instance will
not help (unless it delegates to all class loaders, which may cause
havoc). i think that my proposed solution is straight forward.
Igor Vaynberg wrote: we do have IClassResolver woudnt that help? it helped with osgi -Igor On 7/17/06, *Ittay Dror* 



[EMAIL PROTECTED]
 mailto:

[EMAIL PROTECTED] wrote:
 done. the request id is 1524019.
 i've added more description of the problem and the solution. i think
 this may happen also with osgi integration, or any other case where an object is used that is found through a classloader different than the one wicket / tomcat is in. Eelco Hillenius wrote:
 I'm afraid I don't get the request. Could you please create a feature request with a patch, clearly explaining what is wrong today and what your patch fixes?
 Thanks, Eelco On 7/17/06, Ittay Dror 



[EMAIL PROTECTED] mailto:

[EMAIL PROTECTED]
 wrote: Hi,

 We're using plugins similar to Eclipse's to decouple functionality. Each plugin's classes run in their own class loader.
 We've encountered a problem in onNewBrowserWindow(). it uses Objects.cloneObject(), which uses the default ObjectInputStream, that uses the class loader associated with the execution stack,
 rather than the object's. so trying to get the class of the object when reading it back fails. This can be solved by changing cloneObject to: public static Object cloneObject(final Object object)
{if (object == null){return
null;}else
{try{final
ByteArrayOutputStream out = new ByteArrayOutputStream(256);ObjectOutputStream oos = new
 ObjectOutputStream(out);oos.writeObject(object);ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(out
.toByteArray())) { protected Class resolveClass(ObjectStreamClass desc) throws IOException,ClassNotFoundException {
String className = desc.getName();return Class.forName(className, true, object.getClass().getClassLoader()); }
};return
ois.readObject();}catch
(ClassNotFoundException e){
throw
new WicketRuntimeException(Internal error 

Re: [Wicket-user] Wicket in Action?

2006-07-22 Thread Eelco Hillenius
Hi Ali,

Wicket In Action is a little bit of half way now. It'll be a few
months before we're done.

I'm afraid we're not far enough to release early chapters, as we're
writing them randomly and they're adjusted after proof reading yet.
When we get to that point, we'll contact Manning about our options for
an early access program, but that might take a while as we're
currently giving priority to finishing the chapters first.

Thanks for your interest, we'll keep working hard on it :)

Eelco


On 7/22/06, Ali Zaid [EMAIL PROTECTED] wrote:
 Hi All!

 I wonder where Wicket in Action stands now? is there a way we can
 have early access to the chapters? I would love to have something
 released periodically than wait for the whole thing :)

 --
 Regards, Ali

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

2006-07-22 Thread sanovic mariam
I have a new email address!You can now email me at: [EMAIL PROTECTED]I NEED A GOODFRIEND THAT CAN HELP ME INVEST MYMONEY NOW PRIVATE IN YOUR COUNTRY MY HUSBAND DEAD- sanovic mariam-
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 search engine

2006-07-22 Thread Frank Bille Jensen
On Sat, 2006-07-22 at 08:30 -0700, Igor Vaynberg wrote:
 what i want to know is why that version of sf.net is soo much better
 looking then the crap on sf.net?


Well I can't really tell you WHY it look better, but it's basically not
the same software as SF.net. It's JAVA based where SF.net is
php/whatever based:

http://www.sourceforge.net/powerbar/sfee/

Frank


-
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 search engine

2006-07-22 Thread Frank Bille Jensen
On Sat, 2006-07-22 at 09:31 -0400, Aníbal Rojas wrote:
 I am an absolut begginer to Wicket, but in RuyCorner.com (which is a
 Blog Directory and not a Vertical Search engine) people suscribe and
 register their blogs,  and we try to enforce that people use their
 Ruby/Rails specific feeds that most CMS can provide without a problem.
 
 Just an idea...


That might be an idea. I have been looking for feeds like that, but
people are using all kinds of different cms systems which I don't know
are capable of generating category/tag specific feeds for. And then
people have to retag there blog entries. 

I don't know. Perhaps I just add the pages one by one, starting with the
ones which helps the most. :)

Frank


-
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 search engine

2006-07-22 Thread Aníbal Rojas
 That might be an idea. I have been looking for feeds like that, but
 people are using all kinds of different cms systems which I don't know
 are capable of generating category/tag specific feeds for. And then
 people have to retag there blog entries.

Most modern Blog CMS generate Category/Tag feed by default, but it
depends on people using this categories/tags, that's right. I would
suggest picking by and the bes feeds, and adding a simple filter where
the word wicket should be present in the entry to be included in the
search database, that should do it.

Good luck.

-- 
Aníbal Rojas
[EMAIL PROTECTED]

-
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 search engine

2006-07-22 Thread Frank Bille Jensen
On Sat, 2006-07-22 at 13:51 -0400, Aníbal Rojas wrote:
  That might be an idea. I have been looking for feeds like that, but
  people are using all kinds of different cms systems which I don't know
  are capable of generating category/tag specific feeds for. And then
  people have to retag there blog entries.
 
 Most modern Blog CMS generate Category/Tag feed by default, but it
 depends on people using this categories/tags, that's right. I would
 suggest picking by and the bes feeds, and adding a simple filter where
 the word wicket should be present in the entry to be included in the
 search database, that should do it.


That was one of my last solutions, cause I'm still quite noob on this
Nutch crawler. I have only managed to get it to crawl in the console and
not by using java. But I guess it could be done if only I got some more
skills :)

Frank


-
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] feedback panel with a header

2006-07-22 Thread Alexei Sokolov
How do I show/hide both of them depending on availability of feedback messages?AlexOn 7/21/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote:you can embed the feedbackpanel in another panel that has the header :)
-IgorOn 7/21/06, Alexei Sokolov 

[EMAIL PROTECTED] wrote:
Hello,What's the best way to create a feedback panel which has a header, 
i.e. it looks like this:Please correct the following problems:- field a is missing- field b is missingThe problem is it is not possible to set a header for 
wicket.markup.html.panel.FeedbackPanel. Maybe I'm missing something, maybe it's been a long week... Please help.Alex

-Take Surveys. Earn Cash. Influence the Future of ITJoin 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 ITJoin 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.nethttps://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] feedback panel with a header

2006-07-22 Thread Igor Vaynberg
feedbackpanel has .anyErrorMessage() and .anyMessage() so you can use thosefinal FeedbackPanel fb=new FeedbackPanel(...) { isvisible() { return anyErrorMessage(); }}add(new Label(..) { isvisible() { return 
fb.anyErrorMessage(); }}-IgorOn 7/22/06, Alexei Sokolov [EMAIL PROTECTED] wrote:
How do I show/hide both of them depending on availability of feedback messages?
AlexOn 7/21/06, Igor Vaynberg 

[EMAIL PROTECTED] wrote:you can embed the feedbackpanel in another panel that has the header :)
-IgorOn 7/21/06, Alexei Sokolov 


[EMAIL PROTECTED] wrote:

Hello,What's the best way to create a feedback panel which has a header, 
i.e. it looks like this:Please correct the following problems:- field a is missing- field b is missingThe problem is it is not possible to set a header for 
wicket.markup.html.panel.FeedbackPanel. Maybe I'm missing something, maybe it's been a long week... Please help.Alex

-Take Surveys. Earn Cash. Influence the Future of ITJoin 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 ITJoin 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 ITJoin 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.nethttps://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] ListView#accept() proposal

2006-07-22 Thread Thomas R. Corbin
On Monday, 17 July 2006 08:21 pm, Aaron Hiniker escreveu:
 Yes, a List implement that filters on the fly would avoid the copy, but

I am not sure if you are talking the Collections api list, but if you 
are 
then the Glazedlists stuff provides an implementation of the Collections api 
list which filters on the fly.  It's really wonderful stuff.   They do 
filters, transformations. sorting, unique - all on the fly so that if the 
underlying list changes, the derived lists all automatically update too.   
Very, very good stuff.

 probably incur greater performance hits than a single List copy (due to
 the Linked List nature of the filtering).  The current ListView
 implementation only works on lists.. rightfully so because you can
 extract the active window via get() calls and provide pagination.  On
 that note, I agree that for ListView, the accept() is not a good
 candidate.. but I also feel that there is a void in not having a
 component that *doesn't* paginate.. like a CollectionView.. that visits
 each element in the list with easy filtering capabilities (in fact 90%
 of the time I am using ListView I am not using pagination).   If I get
 ambitious enough to write it, I'll submit it for consideration into
 wicket-extensions

 Aaron

 On Mon, 2006-07-17 at 17:40 -0700, Igor Vaynberg wrote:
  im sorry but why will there be a listcopy?that is certainly a way to
  go but its not the only way. from the model return a List interfcace
  that filters on the fly.
 
  -Igor
 
 
 
  On 7/17/06, Aaron Hiniker [EMAIL PROTECTED] wrote:
 
  Yeah, there's no problem implementing this in the model, other
  than the fact that there will be a list copy.
 
 
  Aaron
 
  On Mon, 2006-07-17 at 17:02 -0700, Igor Vaynberg wrote:
   the filtering should be performed in the model - it is the
   perfect place for it.
  
   -Igor
  
  
   On 7/17/06, Juergen Donnerstag
   [EMAIL PROTECTED] wrote:
  
   Just out of my head. Paging which is based on
   windows size and list
   size would need to take these into consideration.
   Not sure this change
   is trivial.
  
   Juergen
  
   On 7/18/06, Aaron Hiniker [EMAIL PROTECTED] wrote:
 I frequently have the need to filter the elements
  
   in a ListView.. of
  
 course I can filter elements before passing them
  
   to ListView by creating
  
 a new List, but it seems a lot cleaner to have an
  
   accept() method, just
  
 like in IFeedbackMessageFilter or whatever.
   
 ie:
   
   
 add( new ListView( list, myList ) ) {
 public void onPopulateItem( ListItem item )
  
   { ... }
  
 public boolean accept( ListItem item ) {
 return
  
   ((MyEntity)item.getModel()).isActive();
  
 }
 }
   
   
   
 Would this be trivial to add to the ListView
  
   component?
  
 ie:
   
   
 Aaron
  
  
   ---
  --
  
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