Re: [Wicket-user] border and panel and MI

2006-08-27 Thread Gwyn Evans
http://www.wicket-wiki.org.uk/wiki/index.php/Panels_and_borders

On 28/08/06, ali <[EMAIL PROTECTED]> wrote:
> FAQ : what is actually usecase of border ? please give me some example
>
> i think
>
> border used to decorate components other than page nad panel becuase MI ,
> panel easily service this area.
>
> panel used to resue (and grouping)
>
> MI used to has consistant laf
>
> border seem compostion oriented
>
> IM seem inheritance oriented
>

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

-
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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket 2.0 build

2006-08-27 Thread Stefan Lindner
Dear wicket developers,

now that I have seen some Wicket 1.2.2 components (e.g. modal diaglos
inside of browser) I would really like to try Wicket 2.0.
Did someone build a binary distribution? And if so, two questions:
1. where can I download it an
2. Will the wicket extensiions be part of this download, will they be in
a separate file oder will be not available at this time (I can't miss
tabbed panels)

Thank you in advance

Stefan Lindner, Visionet GmbH

-
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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 1.2.2 available

2006-08-27 Thread Stefan Lindner


-Ursprüngliche Nachricht-
Wow! Really great looking new fetures!

-
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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to set AjaxCallDecorator globally ?

2006-08-27 Thread Ingram Chen
wow ! Thanks!Would you mind give me a hint to get start ?On 8/28/06, Igor Vaynberg <[EMAIL PROTECTED]
> wrote:there are global events available through _javascript_ for beginning,success, and failure events - so you would have to put code directly into _javascript_ instead of using decorators.
-Igor
On 8/27/06, Ingram Chen <[EMAIL PROTECTED]> wrote:

Hi all,    I have some general AjaxCallDecorators: such as show busy, red "Loading..." message orhandling ajax failure. I can subclass each  Ajax* component and  override  getAjaxCallDecorator()
but this way becomes annoy when more components are developed. And some core ajax components are
"composited", I have no chance to subclass AjaxBehavior inside.    Is there any way to add AjaxCallDecorator globally ?-- Ingram ChenJava [EMAIL PROTECTED]

Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen

-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=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://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=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: 
http://www.javaworld.com.tw/roller/page/ingramchen
-
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=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] set attributes of HTML tag of page ?

2006-08-27 Thread Martijn Dashorst
If you use trunk, then you need to provide the parent as well in the
constructor:

WebMarkupContainer html = new WebMarkupContainer(this, "html");

where this is the page.

Martijn

On 8/28/06, ali <[EMAIL PROTECTED]> wrote:
> i use 1.2 beta1 , i try checkout trunk from svn but not be success.
>
> WebMarkupContainer html = new WebMarkupContainer("html");
> html.add(new AttributeModifier("dir", true, myModel));
> add(html);
>
>  ...
>
> but wicket throw exception
>
> wicket.WicketRuntimeException: Programming error: 'parent' should be a
> Page or a Border implementing IHeaderRenderer
>   at
> wicket.markup.html.internal.HtmlHeaderContainer.onComponentTagBody(HtmlHeaderContainer.java:131)
>   at wicket.Component.renderComponent(Component.java:1605)
>   at wicket.MarkupContainer.onRender(MarkupContainer.java:823)
>   at wicket.Component.render(Component.java:1519)
>   at wicket.Component.render(Component.java:1488)
>   at wicket.MarkupContainer.autoAdd(MarkupContainer.java:181)
>   at
> wicket.markup.resolver.HtmlHeaderResolver.resolve(HtmlHeaderResolver.java:75)
>   at wicket.MarkupContainer.renderNext(MarkupContainer.java:1251)
>   at
> wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:893)
>   at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:813)
>   at wicket.Component.renderComponent(Component.java:1605)
>   at wicket.MarkupContainer.onRender(MarkupContainer.java:823)
>   at wicket.Component.render(Component.java:1519)
>   at wicket.MarkupContainer.renderNext(MarkupContainer.java:1224)
>   at wicket.MarkupContainer.renderAll(MarkupContainer.java:840)
>   at wicket.Page.onRender(Page.java:848)
>
>   
>
> On Mon, 28 Aug 2006 03:28:51 +0430, Eelco Hillenius
> <[EMAIL PROTECTED]> wrote:
>
> > true,
>
>
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>
> -
> 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=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-- 
Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow
-- http://wicketframework.org

-
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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] set attributes of HTML tag of page ?

2006-08-27 Thread ali
i use 1.2 beta1 , i try checkout trunk from svn but not be success.

WebMarkupContainer html = new WebMarkupContainer("html");
html.add(new AttributeModifier("dir", true, myModel));
add(html);

 ...

but wicket throw exception

wicket.WicketRuntimeException: Programming error: 'parent' should be a  
Page or a Border implementing IHeaderRenderer
  at  
wicket.markup.html.internal.HtmlHeaderContainer.onComponentTagBody(HtmlHeaderContainer.java:131)
  at wicket.Component.renderComponent(Component.java:1605)
  at wicket.MarkupContainer.onRender(MarkupContainer.java:823)
  at wicket.Component.render(Component.java:1519)
  at wicket.Component.render(Component.java:1488)
  at wicket.MarkupContainer.autoAdd(MarkupContainer.java:181)
  at  
wicket.markup.resolver.HtmlHeaderResolver.resolve(HtmlHeaderResolver.java:75)
  at wicket.MarkupContainer.renderNext(MarkupContainer.java:1251)
  at  
wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:893)
  at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:813)
  at wicket.Component.renderComponent(Component.java:1605)
  at wicket.MarkupContainer.onRender(MarkupContainer.java:823)
  at wicket.Component.render(Component.java:1519)
  at wicket.MarkupContainer.renderNext(MarkupContainer.java:1224)
  at wicket.MarkupContainer.renderAll(MarkupContainer.java:840)
  at wicket.Page.onRender(Page.java:848)

  

On Mon, 28 Aug 2006 03:28:51 +0430, Eelco Hillenius  
<[EMAIL PROTECTED]> wrote:

> true,



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] border and panel and MI

2006-08-27 Thread Igor Vaynberg
borders are used to "wrap" _arbitrary_ sets of componentspanels are used to embed _specific_ components-IgorOn 8/27/06, ali
 <[EMAIL PROTECTED]> wrote:
FAQ : what is actually usecase of border ? please give me some examplei thinkborder used to decorate components other than page nad panel becuase MI ,panel easily service this area.panel used to resue (and grouping)
MI used to has consistant lafborder seem compostion orientedIM seem inheritance oriented--Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
-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 Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___Wicket-user mailing listWicket-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=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] can'nt checkout wicket from svn

2006-08-27 Thread Igor Vaynberg
today we restructured our repo, the new url is https://svn.sourceforge.net/svnroot/wicket/branches/wicket-1.2.x/wicket-parent/
-IgorOn 8/27/06, ali <[EMAIL PROTECTED]> wrote:
i try several times. but still success. please guide me.--On Sun, 27 Aug 2006 03:33:25 +0430, Eelco Hillenius<[EMAIL PROTECTED]> wrote:
> Maybe try again a--Using Opera's revolutionary e-mail client: http://www.opera.com/mail/-
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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://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=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] border and panel and MI

2006-08-27 Thread ali
FAQ : what is actually usecase of border ? please give me some example

i think

border used to decorate components other than page nad panel becuase MI ,  
panel easily service this area.

panel used to resue (and grouping)

MI used to has consistant laf

border seem compostion oriented

IM seem inheritance oriented


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] can'nt checkout wicket from svn

2006-08-27 Thread ali
i try several times. but still success. please guide me.

-- 

On Sun, 27 Aug 2006 03:33:25 +0430, Eelco Hillenius  
<[EMAIL PROTECTED]> wrote:

> Maybe try again a



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Dynamic Images

2006-08-27 Thread Igor Vaynberg
sounds like what you need is to stream the file to the output stream when the browser requests the image.easiest way to do this imho is the following (pseudocode)/** resource that can read a file given a name */
class FileResource extends Resource {  private final String pathToFile;  public FileResouce(String pathToFile) { this.pathToFile=pathToFile; }  IResourceStream getResourceStream() { return 
new IResouceStream() {  int length() { return new File(pathToFile).size(); }  InputStream getInputStream() { return new FileInputStream(pathToFile); } ...}so now you have a resource that can stream a file off disk - now to stream it just do
add(new Image("myimage", new FileResource("/tmp/myfile.gif")));not sure if it fits your usecase exactly - this is not for throw away images. if this is not what you need can you define your usecase better.
if it is what you need mind making a wiki page after you get it working? :)-Igor  On 8/27/06, Brian Glynn <
[EMAIL PROTECTED]> wrote:















I've been pouring over the
documentation last few days trying to figure out how to use dynamically created
images in my application, with no luck. 

 

Here's a little background: The
image is created by supplying a directory path, getWicketServlet().getServletContext().getRealPath("/tmp")
 in this case, to the image creation method. The method then returns base
file name of the newly created image (example: foo123.png).  I have
verified that the images are being created in the supplied directory, but
I'm not sure how or the preferred way of getting them in the application

 

I've tried adding the folder
location to the getResourceSettings().addResourceFolder(path)
and then passing the base name to the Image component. This
seems like the ideal solution, but by looking at the error page it seems that
the addResourceFolder() goes unnoticed and as the page only shows current class
package directory (/com/something/foo123.png) as been searched for the image.
I've also tried using a ResourceReference new Image("img", new
ResourceReference(path+name)), but it never seems to find the
right location of the image. 

 

I am able to use the images by sub
classing DynamicImageResource and reading a File object of the image to a byte[]
in the getImageData() method, but that seems like overkill and clunky. There has
to be a way to just specify a url or path in the Image component, doesn't
there? I'm clearly missing something.

 

Thank you very much for your help,

 

Brian

 

    








--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 8/25/2006
 

-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=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://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=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Dynamic Images

2006-08-27 Thread Brian Glynn








I’ve been pouring over the
documentation last few days trying to figure out how to use dynamically created
images in my application, with no luck. 

 

Here’s a little background: The
image is created by supplying a directory path, getWicketServlet().getServletContext().getRealPath(“/tmp”)
 in this case, to the image creation method. The method then returns base
file name of the newly created image (example: foo123.png).  I have
verified that the images are being created in the supplied directory, but
I’m not sure how or the preferred way of getting them in the application

 

I’ve tried adding the folder
location to the getResourceSettings().addResourceFolder(path)
and then passing the base name to the Image component. This
seems like the ideal solution, but by looking at the error page it seems that
the addResourceFolder() goes unnoticed and as the page only shows current class
package directory (/com/something/foo123.png) as been searched for the image.
I’ve also tried using a ResourceReference new Image(“img”, new
ResourceReference(path+name)), but it never seems to find the
right location of the image. 

 

I am able to use the images by sub
classing DynamicImageResource and reading a File object of the image to a byte[]
in the getImageData() method, but that seems like overkill and clunky. There has
to be a way to just specify a url or path in the Image component, doesn’t
there? I’m clearly missing something.

 

Thank you very much for your help,

 

Brian

 

    








--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 8/25/2006
 
-
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=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] set attributes of HTML tag of page ?

2006-08-27 Thread Eelco Hillenius
You can just attach a Wicket component to the  tag, no problem.

WebMarkupContainer html = new WebMarkupContainer("html");
html.add(new AttributeModifier("dir", true, myModel));
add(html);

or in 2.0

WebMarkupContainer html = new WebMarkupContainer(this, "html");
html.add(new AttributeModifier("dir", true, myModel));

and then



Eelco



On 8/27/06, ali <[EMAIL PROTECTED]> wrote:
> Hi everyone.
>
> i want set "dir" on tag html of page ?
>
> it's seem that "AttributeModifier" or "onComponentTagBody" only work on
> components has a related tag . page component is root Wicket know it
> relate to html but i know how set ?
>
> very thanks for best your java web framework.
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>
> -
> 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=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> 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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Fom validation

2006-08-27 Thread Igor Vaynberg
the problem with that is that once you added the form validator there is no way to remove it - so things like switching forms around that add their form validators will not work.also because you are doing it in onbeforerender() means you will be adding the form validator multiple times.
yes it sucks you have to subclass the form all the time - but you can create your own subclass of the form and always use that instead of wicket's form.-IgorOn 8/27/06, 
p.jasson <[EMAIL PROTECTED]> wrote:
thanks. it's working, but like this, i always have to overide theForm.validate() and it won't work with normal Form. What do you think aboutthis solution:class MyComponent extends Panel {  private IFormValidator formValidator;
  setValidation(...){formValidator = new IFormValidator(){  public FormComponent[] getDependentFormComponents() {return null;  }  public void validate(Form form) {
if (checkerrors()) {  error("foo");}  }};  }  protected void onBeforeRender() {if(formValidator != null){  Form form = (Form) findParent(
Form.class);  form.add(formValidator);}super.onBeforeRender();  }}igor.vaynberg wrote:>> by default it can only be added to form components but there are things
> you> can use a visitor - here is some pseudo code>> interface IValidateable { void validate(); }>> class MyForm extends Form {>void validate() {>   super.validate
();>   visit(IValidatable.class, new IVisitor() {>Object visit(Component c) {> ((IValidatable)c).validate();> return CONTINUE_TRAVERSAL;>}
>}> }>> class MyComponent extends Panel implemetns IValidateable {> > void validate(Form f) {>   if (checkerrors()) {>   error("foo");
> }>  }> }>>> this should get you started, if you dont mind make a wiki page :)>> -Igor>>> On 8/27/06, p.jasson <
[EMAIL PROTECTED]> wrote:>> How can I add an validator to a non FormComponent Component? I have my>> own>> component derived from Panel and i would like to add validation to it. I
>> would really appreciate if somebody will give me an example. Thanks>> -->> View this message in context:>> 
http://www.nabble.com/Fom-validation-tf2173006.html#a6008324>> Sent from the Wicket - User forum at Nabble.com.>> -
>> 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=lnk&kid=120709&bid=263057&dat=121642
>> ___>> Wicket-user mailing list>> 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=lnk&kid=120709&bid=263057&dat=121642> ___> Wicket-user mailing list> 
Wicket-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wicket-user>>--View this message in context: 
http://www.nabble.com/Fom-validation-tf2173006.html#a6011360Sent from the Wicket - User forum at Nabble.com.
-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 Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___Wicket-user mailing listWicket-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=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:head in page template...

2006-08-27 Thread Erik Brakkee





Igor Vaynberg wrote:
afaik it should be ok, where does it say otherwise?

Well, on the wiki it said today: " If you are authoring a page, you
don't need (and shouldn't use)  tags but instead put
it in the page's head section directly.". But Eelco edited the wiki
page today, and modified it to: 

"The  pair can be used in Panels, Borders and
Fragments, and is used for doing a 'header contribution', meaning that
the contents will be written to the  section of the page
the component is placed in. If you are authoring a normal page, you
don't need  tags but instead put it in the page's
head section directly. The exception to this is when you use markup
inheritance, and one of the pages to extend wants to contribute to the
header of some extending page, and the header is not part of the
 region. In that case, you can use
. "

Problem solved!

-Igor
  
  
  On 8/27/06, Erik Brakkee <[EMAIL PROTECTED]
> wrote:
  Hi,


In some of the documentation it is mentioned that wicket:head is not

supposed to be used in pages
(e.g.
http://www.wicket-wiki.org.uk/wiki/index.php/Including_CSS_resources).
However, if I use markup inheritance for all my pages, then the base

markup will contain a head section. This head section could be
insufficient since I might need some special css or _javascript_ for some
pages. To do this, using wicket:head in those pages to include the extra
content (e.g. style sheets or _javascript_) solves the problem. Therefore,
I think wicket:head in pages is still useful. Is this a good use of
wicket:head or should I use some other means to add specific content to
the head section for some pages?

Cheers
  Erik

-
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=lnk&kid=120709&bid=263057&dat=121642

___
Wicket-user mailing list
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=lnk&kid=120709&bid=263057&dat=121642
  

___
Wicket-user mailing list
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=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] New subversion repository structure

2006-08-27 Thread Martijn Dashorst
All,

We have had a long and interesting discussion about what to do with
our releases and our repository. As you know, we are working in a
forked mode: wicket 2.0 is under active development, and we also
provide support for wicket 1.2 (1.2.2 has just been released), and
will start work on 1.3 soon (if it hasn't started already).

This message tries to clarify where you can find stuff in our
subversion repository.

If you look at the repository you will see the following root structure:

/trunk/
/branches/
/tags/
/releases/

trunk
trunk is used for the development of the most recent major release of
wicket. In this case, that is wicket 2.0. When Wicket 2.0 is released,
trunk will be used for the development of Wicket 2.1, etc.

branches
branches is used for the development of older major versions, when
these are in active development. It is also used for bug fixing older
releases. Currently you'll find the following directories there:

branches/wicket-1.0.x<- bug fixes for 1.0 (now unsupported)
branches/wicket-1.1.x<- bug fixes for 1.1 (now unsupported)
branches/wicket-1.2.x<- bug fixes for 1.2 (actively mainained)
branches/wicket-1.x   <- development for newest minor
version of wicket 1 (currently wicket 1.3).

So if you are asked to check out wicket 1.3, then you'll have to check
out branches/wicket-1.x. If you want the latest sources for Wicket
1.2, then you'll have to check out branches/wicket-1.2.x

tags
The tags directory is used for creating patches against a particular
release. For instance, if you have a patch that you want to submit for
wicket 1.2.2, then you'll have to create the patch against:
tags/wicket-1.2.2

releases
The releases directory contains all project files that were used for
building a release, after creating the release. This means that the
maven pom.xml files are changed to reflect the specific versions. So
if you want to rebuild a particular release yourself, say 1.2.2 you
can checkout releases/wicket-1.2.2. This will give you the exact
sources that went into the release, including correctly dependent
project files. Do not use these releases to create patches against,
use tags/ for that!

If you have questions, please don't hesitate to ask on ##wicket or here.

Martijn

-- 
Download Wicket 1.2.1 now! Embed Wicket components in your portals!
-- http://wicketframework.org

-
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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 1.2.2 available

2006-08-27 Thread Matej Knopp


Martijn Dashorst wrote:
>
>  o Wicket Extensions
> - Backported AJAX header contribution code from 2.0.

Just a very minor detail. AJAX header contribution is part of core, not 
extensions (have I put it to wrong changes.xml?).

-Matej

> 
> Have fun!
>  - The Wicket Team
> 
> -- 
> Download Wicket 1.2.2 now! Embed Wicket components in your portals!
> -- http://wicketframework.org
> 
> 
> 
> 
> -
> 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=lnk&kid=120709&bid=263057&dat=121642
> 
> 
> 
> 
> ___
> Wicket-user mailing list
> 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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Fom validation

2006-08-27 Thread p.jasson

thanks. it's working, but like this, i always have to overide the
Form.validate() and it won't work with normal Form. What do you think about
this solution:

class MyComponent extends Panel {
  private IFormValidator formValidator;

  setValidation(...){
formValidator = new IFormValidator(){

  public FormComponent[] getDependentFormComponents() {
return null;
  }

  public void validate(Form form) {
if (checkerrors()) {
  error("foo");
}
  }
};
  }

  protected void onBeforeRender() {
if(formValidator != null){
  Form form = (Form) findParent(Form.class);
  form.add(formValidator);
}
super.onBeforeRender();
  }
}



igor.vaynberg wrote:
> 
> by default it can only be added to form components but there are things
> you
> can use a visitor - here is some pseudo code
> 
> interface IValidateable { void validate(); }
> 
> class MyForm extends Form {
>void validate() {
>   super.validate();
>   visit(IValidatable.class, new IVisitor() {
>Object visit(Component c) {
> ((IValidatable)c).validate();
> return CONTINUE_TRAVERSAL;
>}
>}
> }
> 
> class MyComponent extends Panel implemetns IValidateable {
> 
> void validate(Form f) {
>   if (checkerrors()) {
>   error("foo");
> }
>  }
> }
> 
> 
> this should get you started, if you dont mind make a wiki page :)
> 
> -Igor
> 
> 
> On 8/27/06, p.jasson <[EMAIL PROTECTED]> wrote:
>>
>>
>> How can I add an validator to a non FormComponent Component? I have my
>> own
>> component derived from Panel and i would like to add validation to it. I
>> would really appreciate if somebody will give me an example.
>>
>> Thanks
>> --
>> View this message in context:
>> http://www.nabble.com/Fom-validation-tf2173006.html#a6008324
>> Sent from the Wicket - User forum at Nabble.com.
>>
>>
>> -
>> 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=lnk&kid=120709&bid=263057&dat=121642
>> ___
>> Wicket-user mailing list
>> 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=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Fom-validation-tf2173006.html#a6011360
Sent from the Wicket - User forum at Nabble.com.


-
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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] set attributes of HTML tag of page ?

2006-08-27 Thread ali
Hi everyone.

i want set "dir" on tag html of page ?

it's seem that "AttributeModifier" or "onComponentTagBody" only work on  
components has a related tag . page component is root Wicket know it  
relate to html but i know how set ?

very thanks for best your java web framework.
-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Fwd: Re: refreshing the contents of page back

2006-08-27 Thread Jaime De La Jara
Ok.Jaime.Igor Vaynberg <[EMAIL PROTECTED]> wrote: ah, thats a bug :)mind filing a report/patch?-IgorOn 8/27/06, Jaime De La Jara <[EMAIL PROTECTED] > wrote:I´m sorry if I didnt explain the problem clearly, what I´m saying is that in the case of the phonebook app when I add a new contact in the EditContact page and the ListContacts is redisplayed the last name of the new contact is not added to the list of unique last names, so it seems that the model for the filters used for each field is not refreshed. Jaime.Igor
 Vaynberg <[EMAIL PROTECTED]> wrote:  Date: Sat, 26 Aug 2006 19:53:27 -0700From: "Igor Vaynberg" <[EMAIL PROTECTED]> To: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] refreshing the contents of page back  i dont really understand what you are sayinggenerally this is not the problem because at the end of the request the models are detached - so when the page renders again - even from some
 saved reference - the  models are attached again and the appropriate data/component hierarchies are refreshed this is kinda like the listview componet - you dont need to recreate it every time you want to show fresh data - the same instance that spans requests knows how to pull the new data whenever it renders  -Igor On 8/26/06, Jaime De La Jara < [EMAIL PROTECTED]> wrote: Hi, playing with the phonebook example app. I ran into the problem of how can be updated the contents of a page whose instance is passed to another page constructor?. In the phonebook the back page is ListContactsPage and the page that holds the instance is
 EditContact. This happens when one adds another contact and the EditContact page returns to the  ListContactsPage using its reference and the new contact last name is not shown in the combo corresponding to that field. Thanks.Jaime. How low will we go? Check out Yahoo! Messenger's lowPC-to-Phone call rates. -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=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list  Wicket-user@lists.sourceforge.nethttps://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=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Do you Yahoo!?  Get on board. You're invited to try the new Yahoo! Mail. -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=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://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=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user 
		Get your email and more, right on the  new Yahoo.com 
-
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

[Wicket-user] Wicket 1.2.2 available

2006-08-27 Thread Martijn Dashorst
The Wicket team is proud to announce the availability of Wicket 1.2.2, the second maintenance release for Wicket 1.2.This release contains several bug fixes, and some major improvements by receiving backported components from our 
2.0 branch, most notably: modal window support and a fully ajaxified Tree and TreeTable. These components can be found in the Wicket Extensions package.Wicket 1.2.2 is a drop-in replacement for Wicket 1.2 and Wicket 
1.2.1, however we urge you to test before you put things into production, especially if you are using prototype.js and Wicket ajax. We have put a lot of effort into testing the compatibility between Wicket ajax and prototype, but you may never be sure.
DownloadThe Wicket 1.2.2 release can be downloaded from the sourceforge.net servers at a location near you. Follow the next link to go to the downloads page:
 http://sourceforge.net/project/showfiles.php?group_id=119783RoadmapThe Wicket roadmap is as follows (no dates available). Our main development effort will focus on Wicket 2, which will be Java 5 based. For providing support to those projects already in production or that are bound to Java 
1.4, we will continue development of Wicket 1.x, which will consist mainly of backported functionality from Wicket 2 and bug fixes. The next minor release for these projects will be Wicket 1.3.
List of changes in Wicket 1.2.2o Wicket    - Added Application.exists() and Session.exists() to check for existence of threadlocals    - Backported 2.0 CompressedPackageResource and CompressedPackageResourceReference
    - Backported 2.0 _javascript_ console (much faster)    - New wicket-ajax _javascript_ with support for channels    - default validator rethrows any exception as ConversionException    - Opened up MarkupParser so that it can be used by other components
    - Close input stream in AbstractResourceStream.asString()    - CryptedUrlWebRequestCodingStrategy is spammy    - Support for showing expired page from an AJAX request, through identification. This replaces the fix for issue 1528244 in a more generic way.
    - Error page no longer alters the url so the refresh button will rerun the code that caused the error    - RestartResponseAtInterceptPage(Class) will now generate bookmarkable urls    - Implemented ajax support for palette
    - Support for conditional comments such as     - AjaxLink can now be attached to anything that supports onclick    - Link.getBefore/AfterDisabledLink() now behave properly when overridden
    - Dynamic resource support for portlets    - Navigate to another page from ajax request (in other words break out of the ajax request). Like: public void onClick(AjaxRequestTarget target){ setResponsePage(LinksPage.class
); }    - Render number of rows properly on ListChoice     o Wicket Extensions    - Backported AJAX header contribution code from 2.0.    - Backported 2.0 Modal Window    - Backported 2.0 Ajax enabled Tree and TreeTable
    - Fixed markup-id issue of datepicker so it works with ajax    - Backported 2.0 wicket-ajax.js compatible version of the autocompleteHave fun! - The Wicket Team-- Download Wicket 
1.2.2 now! Embed Wicket components in your portals!-- http://wicketframework.org
-
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=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:head in page template...

2006-08-27 Thread Eelco Hillenius
Thanks for finding that, that WIKI page was wrong. When I wrote it, I
didn't think about markup inheritance. Using  with base
pages/ markup inheritance is perfectly alright. I updated the WIKI
page.

Eelco


On 8/27/06, Erik Brakkee <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
> In some of the documentation it is mentioned that wicket:head is not
> supposed to be used in pages
> (e.g.
> http://www.wicket-wiki.org.uk/wiki/index.php/Including_CSS_resources).
> However, if I use markup inheritance for all my pages, then the base
> markup will contain a head section. This head section could be
> insufficient since I might need some special css or javascript for some
> pages. To do this, using wicket:head in those pages to include the extra
> content (e.g. style sheets or javascript) solves the problem. Therefore,
> I think wicket:head in pages is still useful. Is this a good use of
> wicket:head or should I use some other means to add specific content to
> the head section for some pages?
>
> Cheers
>   Erik
>
> -
> 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=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> 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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket:head in page template...

2006-08-27 Thread Gwyn Evans
The wiki page is maybe a bit too general in saying "If you are
authoring a page, you don't need (and shouldn't use) 
tags but instead put it in the page's head section directly."

I think what it's trying to say is to use the "" section
directly where possible, i.e. if the page is a simple page or a "base
page".

/Gwyn

On 27/08/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> afaik it should be ok, where does it say otherwise?
>
> -Igor
>
>
>
> On 8/27/06, Erik Brakkee <[EMAIL PROTECTED] > wrote:
> > Hi,
> >
> >
> > In some of the documentation it is mentioned that wicket:head is not
> > supposed to be used in pages
> > (e.g.
> >
> http://www.wicket-wiki.org.uk/wiki/index.php/Including_CSS_resources).
> > However, if I use markup inheritance for all my pages, then the base
> > markup will contain a head section. This head section could be
> > insufficient since I might need some special css or javascript for some
> > pages. To do this, using wicket:head in those pages to include the extra
> > content (e.g. style sheets or javascript) solves the problem. Therefore,
> > I think wicket:head in pages is still useful. Is this a good use of
> > wicket:head or should I use some other means to add specific content to
> > the head section for some pages?
> >
> > Cheers
> >   Erik
> >
> >
> -
> > 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=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Wicket-user mailing list
> > 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=lnk&kid=120709&bid=263057&dat=121642
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>


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

-
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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-27 Thread Geoff hendrey
the spec says:

"When instances are queried,
navigated to, or modified, instantiation of instances
and their fields and garbage collection
of unreferenced instances occurs without any explicit
control"

So that means that whatever implementation is used to
map between identity and Object, it can't be a hard
reference. So pojo's get garbage collected out of the
L1 cache. So that lends even more weight to your
statement that you need an L2 cache. Half the time the
implementation is going out to the DB to repopulate
the cache (like if you have a pojo and it's in a
wicket session that gets serialized, welll whoops, the
JDO implementation is going to query the DB to
repopulate the cache the when you deserialize and do
getObjectById).

--- Matej Knopp <[EMAIL PROTECTED]> wrote:

> I haven't profiled L2 caching done by database, if
> someone has I'd 
> really be interested in results.
> 
> Anyway, I wouldn't use WeakReference for caching,
> SoftReference seems to 
> be better alternative.
> 
> -Matej
> 
> Geoff hendrey wrote:
> > No doubt L2 caching can speed up apps. Most
> databases
> > implement caching already. With L2 cache comes
> another
> > set of problems, and when you get deep enough into
> > them, you may wish you had not used the L2 cache,
> but
> > simply relied on effective caching in the
> database. On
> > the other hand, many L2 caching layers are out
> there,
> > and can be easily used with a pojo, whether the
> pojo
> > was retrieved by shades or not.
> > 
> > WeakHashMap will discard your key/val pair during
> the
> > first garbage collection cycle after your program
> > holds no references to the key."An entry in a
> > WeakHashMap will automatically be removed when its
> key
> > is no longer in ordinary use"...from the javadoc.
> > 
> > 
> > 
> > --- Matej Knopp <[EMAIL PROTECTED]> wrote:
> > 
> >> I was more concerned about second level cache.
> When
> >> using loadable 
> >> detachable models it is possible to hold only
> object
> >> id in session, 
> >> loading the entire object on the beginning on
> >> request. In this scenario 
> >> second level cache really helps. I think this is
> >> feature that lot of 
> >> people would be missing.
> >>
> >>  > If your application does not keep a reference
> >>> to the pojo, the pojo doesn't stay in the cache.
> >> What
> >>> kind of cache is that? :-)
> >> I think using soft references, the objects would
> be
> >> evicted only if out 
> >> of memory is about to happen.
> >>
> >> -Matej
> >>
> >>> --- Matej Knopp <[EMAIL PROTECTED]> wrote:
> >>>
>  And how is caching done if you can't query
> >> objects
>  by identity? Or does 
>  this question make even sense?
> 
>  -Matej
> 
>  Geoff hendrey wrote:
> > Ohh my god yes
> >
> > I ran into all these problems in JDOMax, and
> >> they
>  are
> > all solved in Shades.
> >
> > I won't drop the name, but some very
> influential
> > person on EJB and JDO specs now believe that
>  exposing
> > object identity in the form of API's was a
>  mistake.
> > I agree -- you will notice shades has no
> methods
>  to
> > retrieve an object by identity. Shades only
> has
> > queries.
> >
> > -geoff
> >
> >
> >
> > --- Igor Vaynberg <[EMAIL PROTECTED]>
> >> wrote:
> >> another interesting problem i find with
> >> identity
>  in
> >> full blown orms is that
> >> it can cause a nasty cascade of loading
> object
>  graph
> >> when using "business"
> >> identity instead of db identity.
> >>
> >> if you have school->semester->class
> >> relationships
> >> and you do not want to
> >> depend on db identity which is the
> >> "recommended"
>  way
> >> most likely you will
> >> have
> >>
> >> class.equals(class other) {
> >> this.name.equals(other.name
> >> )&&this.semester.equals(other.semster); }
> >> semester.equals(semester other) {
> >> this.code.equals(other.code
> >> )&&this.school.equals(other.school); }
> >>
> >> so now every time you equals/hashcode a class
> >> you
> >> load the semester and the
> >> school. given they they are loaded-by-id and
>  might
> >> be in 2nd level
> >> cachebut still. this is the kind of
> >> troubles
>  you
> >> always have when
> >> working on such a highly abstracted level
> that
> >> doesnt always map properly to
> >> the bare metal.
> >>
> >> -Igor
> >>
> >>
> >> On 8/26/06, Geoff hendrey
>  <[EMAIL PROTECTED]>
> >> wrote:
> >>> Sure - but honestly I don't want to convince
> >> anyone
> >>> they need Shades.
> >>>
> >>> One problem I found with JDO was that the
> >>> PersistenceManager was not serializable.
> >> Another
> >> is
> >>> that detachment had to be handled
> explicitely.
> >>>
> >>> In Shades all pojo's are inherently
> detached.
> >> Change
> >>> tracking 

Re: [Wicket-user] wicket:head in page template...

2006-08-27 Thread Igor Vaynberg
afaik it should be ok, where does it say otherwise?-IgorOn 8/27/06, Erik Brakkee <[EMAIL PROTECTED]
> wrote:Hi,In some of the documentation it is mentioned that wicket:head is not
supposed to be used in pages(e.g.http://www.wicket-wiki.org.uk/wiki/index.php/Including_CSS_resources).However, if I use markup inheritance for all my pages, then the base
markup will contain a head section. This head section could beinsufficient since I might need some special css or _javascript_ for somepages. To do this, using wicket:head in those pages to include the extra
content (e.g. style sheets or _javascript_) solves the problem. Therefore,I think wicket:head in pages is still useful. Is this a good use ofwicket:head or should I use some other means to add specific content to
the head section for some pages?Cheers  Erik-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 Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___Wicket-user mailing listWicket-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=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Fwd: Re: refreshing the contents of page back

2006-08-27 Thread Igor Vaynberg
ah, thats a bug :)mind filing a report/patch?-IgorOn 8/27/06, Jaime De La Jara <[EMAIL PROTECTED]
> wrote:I´m sorry if I didnt explain the problem clearly, what I´m saying is that in the case of the phonebook app when I add a new contact in the EditContact page and the ListContacts is redisplayed the last name of the new contact is not added to the list of unique last names, so it seems that the model for the filters used for each field is not refreshed.
Jaime.Igor Vaynberg <[EMAIL PROTECTED]> wrote:
 Date: Sat, 26 Aug 2006 19:53:27 -0700From: "Igor Vaynberg" <[EMAIL PROTECTED]>
To: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] refreshing the contents of page back
 i dont really understand what you are sayinggenerally this is not the problem because at the end of the request the models are detached - so when the page renders again - even from some saved reference - the
 models are attached again and the appropriate data/component hierarchies are refreshed this is kinda like the listview componet - you dont need to recreate it every time you want to show fresh data - the same instance that spans requests knows how to pull the new data whenever it renders 
-Igor On 8/26/06, Jaime De La Jara <
[EMAIL PROTECTED]> wrote: Hi, playing with the phonebook example app. I ran into the problem of how can be updated the contents of a page whose instance is passed to another page constructor?. In the phonebook the back page is ListContactsPage and the page that holds the instance is EditContact. This happens when one adds another contact and the EditContact page returns to the
 ListContactsPage using its reference and the new contact last name is not shown in the combo corresponding to that field. Thanks.Jaime.
How low will we go? Check out Yahoo! Messenger's low 
  PC-to-Phone call rates. -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=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list
 Wicket-user@lists.sourceforge.nethttps://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=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
 
		Do you Yahoo!? 
Get on board. You're invited to try the new Yahoo! Mail.
-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=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://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=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://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=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket:head in page template...

2006-08-27 Thread Erik Brakkee
Hi,


In some of the documentation it is mentioned that wicket:head is not
supposed to be used in pages
(e.g. 
http://www.wicket-wiki.org.uk/wiki/index.php/Including_CSS_resources).
However, if I use markup inheritance for all my pages, then the base
markup will contain a head section. This head section could be
insufficient since I might need some special css or javascript for some
pages. To do this, using wicket:head in those pages to include the extra
content (e.g. style sheets or javascript) solves the problem. Therefore,
I think wicket:head in pages is still useful. Is this a good use of
wicket:head or should I use some other means to add specific content to
the head section for some pages?

Cheers
  Erik

-
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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Fom validation

2006-08-27 Thread Igor Vaynberg
by default it can only be added to form components but there are things you can use a visitor - here is some pseudo codeinterface IValidateable { void validate(); }class MyForm extends Form {   void validate() {
  super.validate();  visit(IValidatable.class, new IVisitor() {   Object visit(Component c) {    ((IValidatable)c).validate();    return CONTINUE_TRAVERSAL;   }
   }}class MyComponent extends Panel implemetns IValidateable {        void validate(Form f) {  if (checkerrors()) {  error("foo");    }
 }}this should get you started, if you dont mind make a wiki page :)-IgorOn 8/27/06, p.jasson <
[EMAIL PROTECTED]> wrote:How can I add an validator to a non FormComponent Component? I have my own
component derived from Panel and i would like to add validation to it. Iwould really appreciate if somebody will give me an example.Thanks--View this message in context: 
http://www.nabble.com/Fom-validation-tf2173006.html#a6008324Sent from the Wicket - User forum at Nabble.com.-
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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://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=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-27 Thread Matej Knopp
I haven't profiled L2 caching done by database, if someone has I'd 
really be interested in results.

Anyway, I wouldn't use WeakReference for caching, SoftReference seems to 
be better alternative.

-Matej

Geoff hendrey wrote:
> No doubt L2 caching can speed up apps. Most databases
> implement caching already. With L2 cache comes another
> set of problems, and when you get deep enough into
> them, you may wish you had not used the L2 cache, but
> simply relied on effective caching in the database. On
> the other hand, many L2 caching layers are out there,
> and can be easily used with a pojo, whether the pojo
> was retrieved by shades or not.
> 
> WeakHashMap will discard your key/val pair during the
> first garbage collection cycle after your program
> holds no references to the key."An entry in a
> WeakHashMap will automatically be removed when its key
> is no longer in ordinary use"...from the javadoc.
> 
> 
> 
> --- Matej Knopp <[EMAIL PROTECTED]> wrote:
> 
>> I was more concerned about second level cache. When
>> using loadable 
>> detachable models it is possible to hold only object
>> id in session, 
>> loading the entire object on the beginning on
>> request. In this scenario 
>> second level cache really helps. I think this is
>> feature that lot of 
>> people would be missing.
>>
>>  > If your application does not keep a reference
>>> to the pojo, the pojo doesn't stay in the cache.
>> What
>>> kind of cache is that? :-)
>> I think using soft references, the objects would be
>> evicted only if out 
>> of memory is about to happen.
>>
>> -Matej
>>
>>> --- Matej Knopp <[EMAIL PROTECTED]> wrote:
>>>
 And how is caching done if you can't query
>> objects
 by identity? Or does 
 this question make even sense?

 -Matej

 Geoff hendrey wrote:
> Ohh my god yes
>
> I ran into all these problems in JDOMax, and
>> they
 are
> all solved in Shades.
>
> I won't drop the name, but some very influential
> person on EJB and JDO specs now believe that
 exposing
> object identity in the form of API's was a
 mistake.
> I agree -- you will notice shades has no methods
 to
> retrieve an object by identity. Shades only has
> queries.
>
> -geoff
>
>
>
> --- Igor Vaynberg <[EMAIL PROTECTED]>
>> wrote:
>> another interesting problem i find with
>> identity
 in
>> full blown orms is that
>> it can cause a nasty cascade of loading object
 graph
>> when using "business"
>> identity instead of db identity.
>>
>> if you have school->semester->class
>> relationships
>> and you do not want to
>> depend on db identity which is the
>> "recommended"
 way
>> most likely you will
>> have
>>
>> class.equals(class other) {
>> this.name.equals(other.name
>> )&&this.semester.equals(other.semster); }
>> semester.equals(semester other) {
>> this.code.equals(other.code
>> )&&this.school.equals(other.school); }
>>
>> so now every time you equals/hashcode a class
>> you
>> load the semester and the
>> school. given they they are loaded-by-id and
 might
>> be in 2nd level
>> cachebut still. this is the kind of
>> troubles
 you
>> always have when
>> working on such a highly abstracted level that
>> doesnt always map properly to
>> the bare metal.
>>
>> -Igor
>>
>>
>> On 8/26/06, Geoff hendrey
 <[EMAIL PROTECTED]>
>> wrote:
>>> Sure - but honestly I don't want to convince
>> anyone
>>> they need Shades.
>>>
>>> One problem I found with JDO was that the
>>> PersistenceManager was not serializable.
>> Another
>> is
>>> that detachment had to be handled explicitely.
>>>
>>> In Shades all pojo's are inherently detached.
>> Change
>>> tracking is automagic. The DatabaseSession is
>>> ultra-leightweight and totally appropriate for
>> keeping
>>> in a Session.
>>>
>>> A big innovation in Shades is how identity is
>> handled
>>> - that really solved a lot of problems for me
>> related
>>> to change of identity within transactions.
>> Identity is
>>> a much more fluid concept in Shades, due to
>> the
>>> dynamic ORMapping interface, which you can
>> even
>>> implement on the fly as an anonynmous inner
 class.
>>> To be clear, I found ways to make JDO work
>> just
>> fine
>>> with Wicket. Certainly JDO was a huge step
 forward
>> in
>>> making it easier to use Pojo-based frameworks
 like
>>> Wicket.
>>>
>>> I blogged a bit on my motivation for Shades:
>>> http://notskateboarding.blogspot.com/
>>>
>>> -geoff
>>>
>>>
>>>
>>> --- Igor Vaynberg <[EMAIL PROTECTED]>
 wrote:
 i glanced over the code - but i dont get it
>> after
 the first glance. perhaps
 you can explain what difficu

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-27 Thread Geoff hendrey

No doubt L2 caching can speed up apps. Most databases
implement caching already. With L2 cache comes another
set of problems, and when you get deep enough into
them, you may wish you had not used the L2 cache, but
simply relied on effective caching in the database. On
the other hand, many L2 caching layers are out there,
and can be easily used with a pojo, whether the pojo
was retrieved by shades or not.

WeakHashMap will discard your key/val pair during the
first garbage collection cycle after your program
holds no references to the key."An entry in a
WeakHashMap will automatically be removed when its key
is no longer in ordinary use"...from the javadoc.



--- Matej Knopp <[EMAIL PROTECTED]> wrote:

> I was more concerned about second level cache. When
> using loadable 
> detachable models it is possible to hold only object
> id in session, 
> loading the entire object on the beginning on
> request. In this scenario 
> second level cache really helps. I think this is
> feature that lot of 
> people would be missing.
> 
>  > If your application does not keep a reference
> > to the pojo, the pojo doesn't stay in the cache.
> What
> > kind of cache is that? :-)
> 
> I think using soft references, the objects would be
> evicted only if out 
> of memory is about to happen.
> 
> -Matej
> 
> > 
> > --- Matej Knopp <[EMAIL PROTECTED]> wrote:
> > 
> >> And how is caching done if you can't query
> objects
> >> by identity? Or does 
> >> this question make even sense?
> >>
> >> -Matej
> >>
> >> Geoff hendrey wrote:
> >>> Ohh my god yes
> >>>
> >>> I ran into all these problems in JDOMax, and
> they
> >> are
> >>> all solved in Shades.
> >>>
> >>> I won't drop the name, but some very influential
> >>> person on EJB and JDO specs now believe that
> >> exposing
> >>> object identity in the form of API's was a
> >> mistake.
> >>> I agree -- you will notice shades has no methods
> >> to
> >>> retrieve an object by identity. Shades only has
> >>> queries.
> >>>
> >>> -geoff
> >>>
> >>>
> >>>
> >>> --- Igor Vaynberg <[EMAIL PROTECTED]>
> wrote:
> >>>
>  another interesting problem i find with
> identity
> >> in
>  full blown orms is that
>  it can cause a nasty cascade of loading object
> >> graph
>  when using "business"
>  identity instead of db identity.
> 
>  if you have school->semester->class
> relationships
>  and you do not want to
>  depend on db identity which is the
> "recommended"
> >> way
>  most likely you will
>  have
> 
>  class.equals(class other) {
>  this.name.equals(other.name
>  )&&this.semester.equals(other.semster); }
>  semester.equals(semester other) {
>  this.code.equals(other.code
>  )&&this.school.equals(other.school); }
> 
>  so now every time you equals/hashcode a class
> you
>  load the semester and the
>  school. given they they are loaded-by-id and
> >> might
>  be in 2nd level
>  cachebut still. this is the kind of
> troubles
> >> you
>  always have when
>  working on such a highly abstracted level that
>  doesnt always map properly to
>  the bare metal.
> 
>  -Igor
> 
> 
>  On 8/26/06, Geoff hendrey
> >> <[EMAIL PROTECTED]>
>  wrote:
> > Sure - but honestly I don't want to convince
>  anyone
> > they need Shades.
> >
> > One problem I found with JDO was that the
> > PersistenceManager was not serializable.
> Another
>  is
> > that detachment had to be handled explicitely.
> >
> > In Shades all pojo's are inherently detached.
>  Change
> > tracking is automagic. The DatabaseSession is
> > ultra-leightweight and totally appropriate for
>  keeping
> > in a Session.
> >
> > A big innovation in Shades is how identity is
>  handled
> > - that really solved a lot of problems for me
>  related
> > to change of identity within transactions.
>  Identity is
> > a much more fluid concept in Shades, due to
> the
> > dynamic ORMapping interface, which you can
> even
> > implement on the fly as an anonynmous inner
> >> class.
> > To be clear, I found ways to make JDO work
> just
>  fine
> > with Wicket. Certainly JDO was a huge step
> >> forward
>  in
> > making it easier to use Pojo-based frameworks
> >> like
> > Wicket.
> >
> > I blogged a bit on my motivation for Shades:
> > http://notskateboarding.blogspot.com/
> >
> > -geoff
> >
> >
> >
> > --- Igor Vaynberg <[EMAIL PROTECTED]>
> >> wrote:
> >> i glanced over the code - but i dont get it
>  after
> >> the first glance. perhaps
> >> you can explain what difficulties you hit
> when
>  using
> >> wicket and an orm to
> >> help us better understand.
> >>
> >> seems to me like you are trying to work with
> a
>  ui
> >> connected to a persistence
> >> layer - without a service layer in between.
> >> have
> 

Re: [Wicket-user] How to set AjaxCallDecorator globally ?

2006-08-27 Thread Igor Vaynberg
there are global events available through _javascript_ for beginning,success, and failure events - so you would have to put code directly into _javascript_ instead of using decorators.-Igor
On 8/27/06, Ingram Chen <[EMAIL PROTECTED]> wrote:
Hi all,    I have some general AjaxCallDecorators: such as show busy, red "Loading..." message orhandling ajax failure. I can subclass each  Ajax* component and  override  getAjaxCallDecorator()
but this way becomes annoy when more components are developed. And some core ajax components are
"composited", I have no chance to subclass AjaxBehavior inside.    Is there any way to add AjaxCallDecorator globally ?-- Ingram ChenJava [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen

-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=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://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=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-27 Thread Geoff hendrey
Yes, it looks like SimpleOrm has similar objectives.
You can't help but come to some of these same
conclusions. Some of the solutions are amlost
self-evident after working with, shall we say,
"complex-orm" for long enough.

Nope, I've not read that book, but I'll put it on my
list. :-)


-geoff
--- Martijn Dashorst <[EMAIL PROTECTED]>
wrote:

> I understand your position... Shades is your hobby,
> pet project and it
> would be nice that people find it helpful. I think
> there is a market
> for it, as other people have come to the same
> conclusion.
> 
> At my company at least I and a collegue of mine are
> very interested in
> trying out http://www.simpleorm.org/ It seems like
> this is very
> similar to your proposition. Their goals are about
> the same but they
> took a different direction.
> 
> The name 'Shades' is not a pun directed to 'The
> Shades', from Terry
> Pratchett's Discworld, would it? :)
> 
> Martijn
> 
> On 8/26/06, Geoff hendrey <[EMAIL PROTECTED]>
> wrote:
> > Sure - but honestly I don't want to convince
> anyone
> > they need Shades.
> >
> > One problem I found with JDO was that the
> > PersistenceManager was not serializable. Another
> is
> > that detachment had to be handled explicitely.
> >
> > In Shades all pojo's are inherently detached.
> Change
> > tracking is automagic. The DatabaseSession is
> > ultra-leightweight and totally appropriate for
> keeping
> > in a Session.
> >
> > A big innovation in Shades is how identity is
> handled
> > - that really solved a lot of problems for me
> related
> > to change of identity within transactions.
> Identity is
> > a much more fluid concept in Shades, due to the
> > dynamic ORMapping interface, which you can even
> > implement on the fly as an anonynmous inner class.
> >
> > To be clear, I found ways to make JDO work just
> fine
> > with Wicket. Certainly JDO was a huge step forward
> in
> > making it easier to use Pojo-based frameworks like
> > Wicket.
> >
> > I blogged a bit on my motivation for Shades:
> > http://notskateboarding.blogspot.com/
> >
> > -geoff
> >
> >
> >
> > --- Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> >
> > > i glanced over the code - but i dont get it
> after
> > > the first glance. perhaps
> > > you can explain what difficulties you hit when
> using
> > > wicket and an orm to
> > > help us better understand.
> > >
> > > seems to me like you are trying to work with a
> ui
> > > connected to a persistence
> > > layer - without a service layer in between. have
> you
> > > seen databinder which
> > > glues wicket and hibernate together?
> > >
> > > also your point about wicket and tapestry -
> wicket
> > > is much more flexible
> > > because it has IModel which gives you an extra
> layer
> > > of indirection that can
> > > hide a lot of orm logic and make the code
> > > cleaner/easier.
> > >
> > > -Igor
> > >
> > >
> > > On 8/26/06, Geoff hendrey
> <[EMAIL PROTECTED]>
> > > wrote:
> > > >
> > > > Hi All,
> > > >
> > > > I was one of the early users of Wicket before
> 1.0.
> > > I
> > > > did a lot of work to use Wicket with my JDO
> > > > implementation JDOMax (no longer supported).
> In
> > > the
> > > > process I learned a lot about why it is harder
> > > than it
> > > > has to be to use many ORM frameworks with
> Wicket
> > > and
> > > > Tapestry.
> > > >
> > > > I'm a member of JSR 243 Java Data Objects
> Experts
> > > > Group, and I advocated hard within that spec
> for
> > > the
> > > > "fixing" of the JDO spec with regard to
> > > > non-transaction-write behavior, along with
> Eric
> > > Samson
> > > > and others. The JDO group  was receptive,
> having
> > > > gotten similar feedback from Howard Lewis Ship
> of
> > > > Tapestry. I believe this change will benefit
> > > Wicket
> > > > users, and make it much easier to use JDO 2.0
> than
> > > JDO
> > > > 1.1, from Wicket.
> > > >
> > > > However, I still wasn't satisfied that it was
> > > "easy"
> > > > to do ORM from Wicket or Tapestry. So I
> started a
> > > new
> > > > project, based on what I learned -- it's a
> better
> > > way
> > > > to do ORM -- I call it Shades. Following the
> > > wicket
> > > > style,Shades works without any XML
> configuration.
> > > >
> > > > Rather than make this any longer-winded, I
> thought
> > > I
> > > > would just begin passing back some code,
> showing
> > > the
> > > > Library sample application using Shades. The
> > > attached
> > > > zipfile is just the "library" folder from the
> > > wicket
> > > > sample applications. EditBook.java and
> > > > LibrarySession.java have been altered to use
> > > Shades
> > > > for database access. LibraryORMDictionary.java
> is
> > > the
> > > > only new file required.
> > > >
> > > > Please let me know what you think. Also, I do
> not
> > > have
> > > > a website for Shades yet but I hope to find
> the
> > > right
> > > > venue for open sourcing the code soon. (see
> > > attached
> > > > zip file 'library.zippo' with library-example
> > > directory)
> > > >
> > > >
> > >
> >
>
---

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-27 Thread Matej Knopp
I was more concerned about second level cache. When using loadable 
detachable models it is possible to hold only object id in session, 
loading the entire object on the beginning on request. In this scenario 
second level cache really helps. I think this is feature that lot of 
people would be missing.

 > If your application does not keep a reference
> to the pojo, the pojo doesn't stay in the cache. What
> kind of cache is that? :-)

I think using soft references, the objects would be evicted only if out 
of memory is about to happen.

-Matej

> 
> --- Matej Knopp <[EMAIL PROTECTED]> wrote:
> 
>> And how is caching done if you can't query objects
>> by identity? Or does 
>> this question make even sense?
>>
>> -Matej
>>
>> Geoff hendrey wrote:
>>> Ohh my god yes
>>>
>>> I ran into all these problems in JDOMax, and they
>> are
>>> all solved in Shades.
>>>
>>> I won't drop the name, but some very influential
>>> person on EJB and JDO specs now believe that
>> exposing
>>> object identity in the form of API's was a
>> mistake.
>>> I agree -- you will notice shades has no methods
>> to
>>> retrieve an object by identity. Shades only has
>>> queries.
>>>
>>> -geoff
>>>
>>>
>>>
>>> --- Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>>>
 another interesting problem i find with identity
>> in
 full blown orms is that
 it can cause a nasty cascade of loading object
>> graph
 when using "business"
 identity instead of db identity.

 if you have school->semester->class relationships
 and you do not want to
 depend on db identity which is the "recommended"
>> way
 most likely you will
 have

 class.equals(class other) {
 this.name.equals(other.name
 )&&this.semester.equals(other.semster); }
 semester.equals(semester other) {
 this.code.equals(other.code
 )&&this.school.equals(other.school); }

 so now every time you equals/hashcode a class you
 load the semester and the
 school. given they they are loaded-by-id and
>> might
 be in 2nd level
 cachebut still. this is the kind of troubles
>> you
 always have when
 working on such a highly abstracted level that
 doesnt always map properly to
 the bare metal.

 -Igor


 On 8/26/06, Geoff hendrey
>> <[EMAIL PROTECTED]>
 wrote:
> Sure - but honestly I don't want to convince
 anyone
> they need Shades.
>
> One problem I found with JDO was that the
> PersistenceManager was not serializable. Another
 is
> that detachment had to be handled explicitely.
>
> In Shades all pojo's are inherently detached.
 Change
> tracking is automagic. The DatabaseSession is
> ultra-leightweight and totally appropriate for
 keeping
> in a Session.
>
> A big innovation in Shades is how identity is
 handled
> - that really solved a lot of problems for me
 related
> to change of identity within transactions.
 Identity is
> a much more fluid concept in Shades, due to the
> dynamic ORMapping interface, which you can even
> implement on the fly as an anonynmous inner
>> class.
> To be clear, I found ways to make JDO work just
 fine
> with Wicket. Certainly JDO was a huge step
>> forward
 in
> making it easier to use Pojo-based frameworks
>> like
> Wicket.
>
> I blogged a bit on my motivation for Shades:
> http://notskateboarding.blogspot.com/
>
> -geoff
>
>
>
> --- Igor Vaynberg <[EMAIL PROTECTED]>
>> wrote:
>> i glanced over the code - but i dont get it
 after
>> the first glance. perhaps
>> you can explain what difficulties you hit when
 using
>> wicket and an orm to
>> help us better understand.
>>
>> seems to me like you are trying to work with a
 ui
>> connected to a persistence
>> layer - without a service layer in between.
>> have
 you
>> seen databinder which
>> glues wicket and hibernate together?
>>
>> also your point about wicket and tapestry -
 wicket
>> is much more flexible
>> because it has IModel which gives you an extra
 layer
>> of indirection that can
>> hide a lot of orm logic and make the code
>> cleaner/easier.
>>
>> -Igor
>>
>>
>> On 8/26/06, Geoff hendrey
 <[EMAIL PROTECTED]>
>> wrote:
>>> Hi All,
>>>
>>> I was one of the early users of Wicket before
 1.0.
>> I
>>> did a lot of work to use Wicket with my JDO
>>> implementation JDOMax (no longer supported).
 In
>> the
>>> process I learned a lot about why it is harder
>> than it
>>> has to be to use many ORM frameworks with
 Wicket
>> and
>>> Tapestry.
>>>
>>> I'm a member of JSR 243 Java Data Objects
 Experts
>>> Group, and I advocated hard within that spec
 for
>> the
>>> "fixing" of the JDO spec with regard to
>>> non-t

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-27 Thread Geoff hendrey
Most ORMS have 2 kinds of L1 caching:

1) caching of compiled queries
2) caching of POJOs, where the cache is keyed by
identity


Shades does (1).

Shades does not do (2). 

I found that the L1 cache was actually redundant. Why?
Because most modern frameworks, like Wicket, take the
pojo, and hold onto it. The caching is implicit in the
application. In JDO, the L1 cache is implemented using
WeakHashMap. So it's sort of a pseudocache anyway. We
(the JDO EG) actually had a long debate about changing
some of the JDO method names to not use the term
"cache". If your application does not keep a reference
to the pojo, the pojo doesn't stay in the cache. What
kind of cache is that? :-)

--- Matej Knopp <[EMAIL PROTECTED]> wrote:

> And how is caching done if you can't query objects
> by identity? Or does 
> this question make even sense?
> 
> -Matej
> 
> Geoff hendrey wrote:
> > Ohh my god yes
> > 
> > I ran into all these problems in JDOMax, and they
> are
> > all solved in Shades.
> > 
> > I won't drop the name, but some very influential
> > person on EJB and JDO specs now believe that
> exposing
> > object identity in the form of API's was a
> mistake.
> > 
> > I agree -- you will notice shades has no methods
> to
> > retrieve an object by identity. Shades only has
> > queries.
> > 
> > -geoff
> > 
> > 
> > 
> > --- Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > 
> >> another interesting problem i find with identity
> in
> >> full blown orms is that
> >> it can cause a nasty cascade of loading object
> graph
> >> when using "business"
> >> identity instead of db identity.
> >>
> >> if you have school->semester->class relationships
> >> and you do not want to
> >> depend on db identity which is the "recommended"
> way
> >> most likely you will
> >> have
> >>
> >> class.equals(class other) {
> >> this.name.equals(other.name
> >> )&&this.semester.equals(other.semster); }
> >> semester.equals(semester other) {
> >> this.code.equals(other.code
> >> )&&this.school.equals(other.school); }
> >>
> >> so now every time you equals/hashcode a class you
> >> load the semester and the
> >> school. given they they are loaded-by-id and
> might
> >> be in 2nd level
> >> cachebut still. this is the kind of troubles
> you
> >> always have when
> >> working on such a highly abstracted level that
> >> doesnt always map properly to
> >> the bare metal.
> >>
> >> -Igor
> >>
> >>
> >> On 8/26/06, Geoff hendrey
> <[EMAIL PROTECTED]>
> >> wrote:
> >>> Sure - but honestly I don't want to convince
> >> anyone
> >>> they need Shades.
> >>>
> >>> One problem I found with JDO was that the
> >>> PersistenceManager was not serializable. Another
> >> is
> >>> that detachment had to be handled explicitely.
> >>>
> >>> In Shades all pojo's are inherently detached.
> >> Change
> >>> tracking is automagic. The DatabaseSession is
> >>> ultra-leightweight and totally appropriate for
> >> keeping
> >>> in a Session.
> >>>
> >>> A big innovation in Shades is how identity is
> >> handled
> >>> - that really solved a lot of problems for me
> >> related
> >>> to change of identity within transactions.
> >> Identity is
> >>> a much more fluid concept in Shades, due to the
> >>> dynamic ORMapping interface, which you can even
> >>> implement on the fly as an anonynmous inner
> class.
> >>>
> >>> To be clear, I found ways to make JDO work just
> >> fine
> >>> with Wicket. Certainly JDO was a huge step
> forward
> >> in
> >>> making it easier to use Pojo-based frameworks
> like
> >>> Wicket.
> >>>
> >>> I blogged a bit on my motivation for Shades:
> >>> http://notskateboarding.blogspot.com/
> >>>
> >>> -geoff
> >>>
> >>>
> >>>
> >>> --- Igor Vaynberg <[EMAIL PROTECTED]>
> wrote:
> >>>
>  i glanced over the code - but i dont get it
> >> after
>  the first glance. perhaps
>  you can explain what difficulties you hit when
> >> using
>  wicket and an orm to
>  help us better understand.
> 
>  seems to me like you are trying to work with a
> >> ui
>  connected to a persistence
>  layer - without a service layer in between.
> have
> >> you
>  seen databinder which
>  glues wicket and hibernate together?
> 
>  also your point about wicket and tapestry -
> >> wicket
>  is much more flexible
>  because it has IModel which gives you an extra
> >> layer
>  of indirection that can
>  hide a lot of orm logic and make the code
>  cleaner/easier.
> 
>  -Igor
> 
> 
>  On 8/26/06, Geoff hendrey
> >> <[EMAIL PROTECTED]>
>  wrote:
> > Hi All,
> >
> > I was one of the early users of Wicket before
> >> 1.0.
>  I
> > did a lot of work to use Wicket with my JDO
> > implementation JDOMax (no longer supported).
> >> In
>  the
> > process I learned a lot about why it is harder
>  than it
> > has to be to use many ORM frameworks with
> >> Wicket
>  and
> > Tapestry.
> >
> > I'm a member of JSR 243 Java Data Objects
> >> Experts
> 

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-27 Thread Geoff hendrey
aBook and anAuthor are RecordCandidate instances.
RecordCandidates are not pojo's, just structures used
to represent the data behind a pojo, for the purpose
of forming a query.

aBook.getAuthor() would not compile because
RecordCandidate has no getAuthor method.

-geoff




--- Martijn Dashorst <[EMAIL PROTECTED]>
wrote:

> I also read your blog, and it sounds very
> interesting.
> 
> Just a quick question (probably should've done so on
> the blog though):
> 
> Does it hold that after getting a book and author
> from the results that:
> aBook.getAuthor() == anAuthor
> and/or
> aBook.getAuthor().equals(anAuthor)
> ?
> 
> Martijn
> 
> On 8/27/06, Igor Vaynberg <[EMAIL PROTECTED]>
> wrote:
> > another interesting problem i find with identity
> in full blown orms is that
> > it can cause a nasty cascade of loading object
> graph when using "business"
> > identity instead of db identity.
> >
> > if you have school->semester->class relationships
> and you do not want to
> > depend on db identity which is the "recommended"
> way most likely you will
> > have
> >
> > class.equals(class other) {
> >
>
this.name.equals(other.name)&&this.semester.equals(other.semster);
> }
> > semester.equals(semester other) {
> > this.code.equals(other.code)&&this.school.equals(
> other.school); }
> >
> > so now every time you equals/hashcode a class you
> load the semester and the
> > school. given they they are loaded-by-id and might
> be in 2nd level
> > cachebut still. this is the kind of troubles
> you always have when
> > working on such a highly abstracted level that
> doesnt always map properly to
> > the bare metal.
> >
> >
> > -Igor
> >
> >
> > On 8/26/06, Geoff hendrey
> <[EMAIL PROTECTED]> wrote:
> > > Sure - but honestly I don't want to convince
> anyone
> > > they need Shades.
> > >
> > > One problem I found with JDO was that the
> > > PersistenceManager was not serializable. Another
> is
> > > that detachment had to be handled explicitely.
> > >
> > > In Shades all pojo's are inherently detached.
> Change
> > > tracking is automagic. The DatabaseSession is
> > > ultra-leightweight and totally appropriate for
> keeping
> > > in a Session.
> > >
> > > A big innovation in Shades is how identity is
> handled
> > > - that really solved a lot of problems for me
> related
> > > to change of identity within transactions.
> Identity is
> > > a much more fluid concept in Shades, due to the
> > > dynamic ORMapping interface, which you can even
> > > implement on the fly as an anonynmous inner
> class.
> > >
> > > To be clear, I found ways to make JDO work just
> fine
> > > with Wicket. Certainly JDO was a huge step
> forward in
> > > making it easier to use Pojo-based frameworks
> like
> > > Wicket.
> > >
> > > I blogged a bit on my motivation for Shades:
> > > http://notskateboarding.blogspot.com/
> > >
> > > -geoff
> > >
> > >
> > >
> > > --- Igor Vaynberg < [EMAIL PROTECTED]>
> wrote:
> > >
> > > > i glanced over the code - but i dont get it
> after
> > > > the first glance. perhaps
> > > > you can explain what difficulties you hit when
> using
> > > > wicket and an orm to
> > > > help us better understand.
> > > >
> > > > seems to me like you are trying to work with a
> ui
> > > > connected to a persistence
> > > > layer - without a service layer in between.
> have you
> > > > seen databinder which
> > > > glues wicket and hibernate together?
> > > >
> > > > also your point about wicket and tapestry -
> wicket
> > > > is much more flexible
> > > > because it has IModel which gives you an extra
> layer
> > > > of indirection that can
> > > > hide a lot of orm logic and make the code
> > > > cleaner/easier.
> > > >
> > > > -Igor
> > > >
> > > >
> > > > On 8/26/06, Geoff hendrey
> <[EMAIL PROTECTED]>
> > > > wrote:
> > > > >
> > > > > Hi All,
> > > > >
> > > > > I was one of the early users of Wicket
> before 1.0.
> > > > I
> > > > > did a lot of work to use Wicket with my JDO
> > > > > implementation JDOMax (no longer supported).
> In
> > > > the
> > > > > process I learned a lot about why it is
> harder
> > > > than it
> > > > > has to be to use many ORM frameworks with
> Wicket
> > > > and
> > > > > Tapestry.
> > > > >
> > > > > I'm a member of JSR 243 Java Data Objects
> Experts
> > > > > Group, and I advocated hard within that spec
> for
> > > > the
> > > > > "fixing" of the JDO spec with regard to
> > > > > non-transaction-write behavior, along with
> Eric
> > > > Samson
> > > > > and others. The JDO group  was receptive,
> having
> > > > > gotten similar feedback from Howard Lewis
> Ship of
> > > > > Tapestry. I believe this change will benefit
> > > > Wicket
> > > > > users, and make it much easier to use JDO
> 2.0 than
> > > > JDO
> > > > > 1.1, from Wicket.
> > > > >
> > > > > However, I still wasn't satisfied that it
> was
> > > > "easy"
> > > > > to do ORM from Wicket or Tapestry. So I
> started a
> > > > new
> > > > > project, based on what I learned -- it's a
> better
> > > > way
> > > > > to do ORM --

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-27 Thread Matej Knopp
And how is caching done if you can't query objects by identity? Or does 
this question make even sense?

-Matej

Geoff hendrey wrote:
> Ohh my god yes
> 
> I ran into all these problems in JDOMax, and they are
> all solved in Shades.
> 
> I won't drop the name, but some very influential
> person on EJB and JDO specs now believe that exposing
> object identity in the form of API's was a mistake.
> 
> I agree -- you will notice shades has no methods to
> retrieve an object by identity. Shades only has
> queries.
> 
> -geoff
> 
> 
> 
> --- Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> 
>> another interesting problem i find with identity in
>> full blown orms is that
>> it can cause a nasty cascade of loading object graph
>> when using "business"
>> identity instead of db identity.
>>
>> if you have school->semester->class relationships
>> and you do not want to
>> depend on db identity which is the "recommended" way
>> most likely you will
>> have
>>
>> class.equals(class other) {
>> this.name.equals(other.name
>> )&&this.semester.equals(other.semster); }
>> semester.equals(semester other) {
>> this.code.equals(other.code
>> )&&this.school.equals(other.school); }
>>
>> so now every time you equals/hashcode a class you
>> load the semester and the
>> school. given they they are loaded-by-id and might
>> be in 2nd level
>> cachebut still. this is the kind of troubles you
>> always have when
>> working on such a highly abstracted level that
>> doesnt always map properly to
>> the bare metal.
>>
>> -Igor
>>
>>
>> On 8/26/06, Geoff hendrey <[EMAIL PROTECTED]>
>> wrote:
>>> Sure - but honestly I don't want to convince
>> anyone
>>> they need Shades.
>>>
>>> One problem I found with JDO was that the
>>> PersistenceManager was not serializable. Another
>> is
>>> that detachment had to be handled explicitely.
>>>
>>> In Shades all pojo's are inherently detached.
>> Change
>>> tracking is automagic. The DatabaseSession is
>>> ultra-leightweight and totally appropriate for
>> keeping
>>> in a Session.
>>>
>>> A big innovation in Shades is how identity is
>> handled
>>> - that really solved a lot of problems for me
>> related
>>> to change of identity within transactions.
>> Identity is
>>> a much more fluid concept in Shades, due to the
>>> dynamic ORMapping interface, which you can even
>>> implement on the fly as an anonynmous inner class.
>>>
>>> To be clear, I found ways to make JDO work just
>> fine
>>> with Wicket. Certainly JDO was a huge step forward
>> in
>>> making it easier to use Pojo-based frameworks like
>>> Wicket.
>>>
>>> I blogged a bit on my motivation for Shades:
>>> http://notskateboarding.blogspot.com/
>>>
>>> -geoff
>>>
>>>
>>>
>>> --- Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>>>
 i glanced over the code - but i dont get it
>> after
 the first glance. perhaps
 you can explain what difficulties you hit when
>> using
 wicket and an orm to
 help us better understand.

 seems to me like you are trying to work with a
>> ui
 connected to a persistence
 layer - without a service layer in between. have
>> you
 seen databinder which
 glues wicket and hibernate together?

 also your point about wicket and tapestry -
>> wicket
 is much more flexible
 because it has IModel which gives you an extra
>> layer
 of indirection that can
 hide a lot of orm logic and make the code
 cleaner/easier.

 -Igor


 On 8/26/06, Geoff hendrey
>> <[EMAIL PROTECTED]>
 wrote:
> Hi All,
>
> I was one of the early users of Wicket before
>> 1.0.
 I
> did a lot of work to use Wicket with my JDO
> implementation JDOMax (no longer supported).
>> In
 the
> process I learned a lot about why it is harder
 than it
> has to be to use many ORM frameworks with
>> Wicket
 and
> Tapestry.
>
> I'm a member of JSR 243 Java Data Objects
>> Experts
> Group, and I advocated hard within that spec
>> for
 the
> "fixing" of the JDO spec with regard to
> non-transaction-write behavior, along with
>> Eric
 Samson
> and others. The JDO group  was receptive,
>> having
> gotten similar feedback from Howard Lewis Ship
>> of
> Tapestry. I believe this change will benefit
 Wicket
> users, and make it much easier to use JDO 2.0
>> than
 JDO
> 1.1, from Wicket.
>
> However, I still wasn't satisfied that it was
 "easy"
> to do ORM from Wicket or Tapestry. So I
>> started a
 new
> project, based on what I learned -- it's a
>> better
 way
> to do ORM -- I call it Shades. Following the
 wicket
> style,Shades works without any XML
>> configuration.
> Rather than make this any longer-winded, I
>> thought
 I
> would just begin passing back some code,
>> showing
 the
> Library sample application using Shades. The
 attached
> zipfile is just the "library" folder from the
 wicket
> sample applica

[Wicket-user] Fom validation

2006-08-27 Thread p.jasson

How can I add an validator to a non FormComponent Component? I have my own
component derived from Panel and i would like to add validation to it. I
would really appreciate if somebody will give me an example.

Thanks
-- 
View this message in context: 
http://www.nabble.com/Fom-validation-tf2173006.html#a6008324
Sent from the Wicket - User forum at Nabble.com.


-
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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-27 Thread Geoff hendrey
Ohh my god yes

I ran into all these problems in JDOMax, and they are
all solved in Shades.

I won't drop the name, but some very influential
person on EJB and JDO specs now believe that exposing
object identity in the form of API's was a mistake.

I agree -- you will notice shades has no methods to
retrieve an object by identity. Shades only has
queries.

-geoff



--- Igor Vaynberg <[EMAIL PROTECTED]> wrote:

> another interesting problem i find with identity in
> full blown orms is that
> it can cause a nasty cascade of loading object graph
> when using "business"
> identity instead of db identity.
> 
> if you have school->semester->class relationships
> and you do not want to
> depend on db identity which is the "recommended" way
> most likely you will
> have
> 
> class.equals(class other) {
> this.name.equals(other.name
> )&&this.semester.equals(other.semster); }
> semester.equals(semester other) {
> this.code.equals(other.code
> )&&this.school.equals(other.school); }
> 
> so now every time you equals/hashcode a class you
> load the semester and the
> school. given they they are loaded-by-id and might
> be in 2nd level
> cachebut still. this is the kind of troubles you
> always have when
> working on such a highly abstracted level that
> doesnt always map properly to
> the bare metal.
> 
> -Igor
> 
> 
> On 8/26/06, Geoff hendrey <[EMAIL PROTECTED]>
> wrote:
> >
> > Sure - but honestly I don't want to convince
> anyone
> > they need Shades.
> >
> > One problem I found with JDO was that the
> > PersistenceManager was not serializable. Another
> is
> > that detachment had to be handled explicitely.
> >
> > In Shades all pojo's are inherently detached.
> Change
> > tracking is automagic. The DatabaseSession is
> > ultra-leightweight and totally appropriate for
> keeping
> > in a Session.
> >
> > A big innovation in Shades is how identity is
> handled
> > - that really solved a lot of problems for me
> related
> > to change of identity within transactions.
> Identity is
> > a much more fluid concept in Shades, due to the
> > dynamic ORMapping interface, which you can even
> > implement on the fly as an anonynmous inner class.
> >
> > To be clear, I found ways to make JDO work just
> fine
> > with Wicket. Certainly JDO was a huge step forward
> in
> > making it easier to use Pojo-based frameworks like
> > Wicket.
> >
> > I blogged a bit on my motivation for Shades:
> > http://notskateboarding.blogspot.com/
> >
> > -geoff
> >
> >
> >
> > --- Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> >
> > > i glanced over the code - but i dont get it
> after
> > > the first glance. perhaps
> > > you can explain what difficulties you hit when
> using
> > > wicket and an orm to
> > > help us better understand.
> > >
> > > seems to me like you are trying to work with a
> ui
> > > connected to a persistence
> > > layer - without a service layer in between. have
> you
> > > seen databinder which
> > > glues wicket and hibernate together?
> > >
> > > also your point about wicket and tapestry -
> wicket
> > > is much more flexible
> > > because it has IModel which gives you an extra
> layer
> > > of indirection that can
> > > hide a lot of orm logic and make the code
> > > cleaner/easier.
> > >
> > > -Igor
> > >
> > >
> > > On 8/26/06, Geoff hendrey
> <[EMAIL PROTECTED]>
> > > wrote:
> > > >
> > > > Hi All,
> > > >
> > > > I was one of the early users of Wicket before
> 1.0.
> > > I
> > > > did a lot of work to use Wicket with my JDO
> > > > implementation JDOMax (no longer supported).
> In
> > > the
> > > > process I learned a lot about why it is harder
> > > than it
> > > > has to be to use many ORM frameworks with
> Wicket
> > > and
> > > > Tapestry.
> > > >
> > > > I'm a member of JSR 243 Java Data Objects
> Experts
> > > > Group, and I advocated hard within that spec
> for
> > > the
> > > > "fixing" of the JDO spec with regard to
> > > > non-transaction-write behavior, along with
> Eric
> > > Samson
> > > > and others. The JDO group  was receptive,
> having
> > > > gotten similar feedback from Howard Lewis Ship
> of
> > > > Tapestry. I believe this change will benefit
> > > Wicket
> > > > users, and make it much easier to use JDO 2.0
> than
> > > JDO
> > > > 1.1, from Wicket.
> > > >
> > > > However, I still wasn't satisfied that it was
> > > "easy"
> > > > to do ORM from Wicket or Tapestry. So I
> started a
> > > new
> > > > project, based on what I learned -- it's a
> better
> > > way
> > > > to do ORM -- I call it Shades. Following the
> > > wicket
> > > > style,Shades works without any XML
> configuration.
> > > >
> > > > Rather than make this any longer-winded, I
> thought
> > > I
> > > > would just begin passing back some code,
> showing
> > > the
> > > > Library sample application using Shades. The
> > > attached
> > > > zipfile is just the "library" folder from the
> > > wicket
> > > > sample applications. EditBook.java and
> > > > LibrarySession.java have been altered to use
> > > Shades
> > > > for database 

[Wicket-user] Eclipse plugins - Hibernate tools / Wicket Bench conflict

2006-08-27 Thread Jan Mikkelsen
Has anyone experienced problems with the Hibernate tools plugin after
installing Wicket Bench? In my case, the Hibernate tools plugin seems to
have "disappeared". And I have tried -clean.

Any ideas?


-
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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Fwd: Re: refreshing the contents of page back

2006-08-27 Thread Jaime De La Jara
I´m sorry if I didnt explain the problem clearly, what I´m saying is that in the case of the phonebook app when I add a new contact in the EditContact page and the ListContacts is redisplayed the last name of the new contact is not added to the list of unique last names, so it seems that the model for the filters used for each field is not refreshed.Jaime.Igor Vaynberg <[EMAIL PROTECTED]> wrote: Date: Sat, 26 Aug 2006 19:53:27 -0700From: "Igor Vaynberg" <[EMAIL PROTECTED]>To: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] refreshing the contents of page back i dont really understand what you are sayinggenerally this is not the problem because at the end of the request the models are detached - so when the page renders again - even from some saved reference - the
 models are attached again and the appropriate data/component hierarchies are refreshed this is kinda like the listview componet - you dont need to recreate it every time you want to show fresh data - the same instance that spans requests knows how to pull the new data whenever it renders -Igor On 8/26/06, Jaime De La Jara <[EMAIL PROTECTED]> wrote: Hi, playing with the phonebook example app. I ran into the problem of how can be updated the contents of a page whose instance is passed to another page constructor?. In the phonebook the back page is ListContactsPage and the page that holds the instance is EditContact. This happens when one adds another contact and the EditContact page returns to the
 ListContactsPage using its reference and the new contact last name is not shown in the combo corresponding to that field. Thanks.Jaime.How low will we go? Check out Yahoo! Messenger's low   PC-to-Phone call rates. -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=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user 
		Do you Yahoo!? 
Get on board. You're invited to try the new Yahoo! Mail.-
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=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
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=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] How to set AjaxCallDecorator globally ?

2006-08-27 Thread Ingram Chen
Hi all,    I have some general AjaxCallDecorators: such as show busy, red "Loading..." message orhandling ajax failure. I can subclass each  Ajax* component and  override  getAjaxCallDecorator()but this way becomes annoy when more components are developed. And some core ajax components are
"composited", I have no chance to subclass AjaxBehavior inside.    Is there any way to add AjaxCallDecorator globally ?-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-
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=lnk&kid=120709&bid=263057&dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-27 Thread Martijn Dashorst
I understand your position... Shades is your hobby, pet project and it
would be nice that people find it helpful. I think there is a market
for it, as other people have come to the same conclusion.

At my company at least I and a collegue of mine are very interested in
trying out http://www.simpleorm.org/ It seems like this is very
similar to your proposition. Their goals are about the same but they
took a different direction.

The name 'Shades' is not a pun directed to 'The Shades', from Terry
Pratchett's Discworld, would it? :)

Martijn

On 8/26/06, Geoff hendrey <[EMAIL PROTECTED]> wrote:
> Sure - but honestly I don't want to convince anyone
> they need Shades.
>
> One problem I found with JDO was that the
> PersistenceManager was not serializable. Another is
> that detachment had to be handled explicitely.
>
> In Shades all pojo's are inherently detached. Change
> tracking is automagic. The DatabaseSession is
> ultra-leightweight and totally appropriate for keeping
> in a Session.
>
> A big innovation in Shades is how identity is handled
> - that really solved a lot of problems for me related
> to change of identity within transactions. Identity is
> a much more fluid concept in Shades, due to the
> dynamic ORMapping interface, which you can even
> implement on the fly as an anonynmous inner class.
>
> To be clear, I found ways to make JDO work just fine
> with Wicket. Certainly JDO was a huge step forward in
> making it easier to use Pojo-based frameworks like
> Wicket.
>
> I blogged a bit on my motivation for Shades:
> http://notskateboarding.blogspot.com/
>
> -geoff
>
>
>
> --- Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> > i glanced over the code - but i dont get it after
> > the first glance. perhaps
> > you can explain what difficulties you hit when using
> > wicket and an orm to
> > help us better understand.
> >
> > seems to me like you are trying to work with a ui
> > connected to a persistence
> > layer - without a service layer in between. have you
> > seen databinder which
> > glues wicket and hibernate together?
> >
> > also your point about wicket and tapestry - wicket
> > is much more flexible
> > because it has IModel which gives you an extra layer
> > of indirection that can
> > hide a lot of orm logic and make the code
> > cleaner/easier.
> >
> > -Igor
> >
> >
> > On 8/26/06, Geoff hendrey <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > Hi All,
> > >
> > > I was one of the early users of Wicket before 1.0.
> > I
> > > did a lot of work to use Wicket with my JDO
> > > implementation JDOMax (no longer supported). In
> > the
> > > process I learned a lot about why it is harder
> > than it
> > > has to be to use many ORM frameworks with Wicket
> > and
> > > Tapestry.
> > >
> > > I'm a member of JSR 243 Java Data Objects Experts
> > > Group, and I advocated hard within that spec for
> > the
> > > "fixing" of the JDO spec with regard to
> > > non-transaction-write behavior, along with Eric
> > Samson
> > > and others. The JDO group  was receptive, having
> > > gotten similar feedback from Howard Lewis Ship of
> > > Tapestry. I believe this change will benefit
> > Wicket
> > > users, and make it much easier to use JDO 2.0 than
> > JDO
> > > 1.1, from Wicket.
> > >
> > > However, I still wasn't satisfied that it was
> > "easy"
> > > to do ORM from Wicket or Tapestry. So I started a
> > new
> > > project, based on what I learned -- it's a better
> > way
> > > to do ORM -- I call it Shades. Following the
> > wicket
> > > style,Shades works without any XML configuration.
> > >
> > > Rather than make this any longer-winded, I thought
> > I
> > > would just begin passing back some code, showing
> > the
> > > Library sample application using Shades. The
> > attached
> > > zipfile is just the "library" folder from the
> > wicket
> > > sample applications. EditBook.java and
> > > LibrarySession.java have been altered to use
> > Shades
> > > for database access. LibraryORMDictionary.java is
> > the
> > > only new file required.
> > >
> > > Please let me know what you think. Also, I do not
> > have
> > > a website for Shades yet but I hope to find the
> > right
> > > venue for open sourcing the code soon. (see
> > attached
> > > zip file 'library.zippo' with library-example
> > directory)
> > >
> > >
> >
> -
> > > 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=lnk&kid=120709&bid=263057&dat=121642
> > >
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> > >
> > >
> > >
> 

Re: [Wicket-user] library example using Shades for O/R mapping

2006-08-27 Thread Martijn Dashorst
I also read your blog, and it sounds very interesting.

Just a quick question (probably should've done so on the blog though):

Does it hold that after getting a book and author from the results that:
aBook.getAuthor() == anAuthor
and/or
aBook.getAuthor().equals(anAuthor)
?

Martijn

On 8/27/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> another interesting problem i find with identity in full blown orms is that
> it can cause a nasty cascade of loading object graph when using "business"
> identity instead of db identity.
>
> if you have school->semester->class relationships and you do not want to
> depend on db identity which is the "recommended" way most likely you will
> have
>
> class.equals(class other) {
> this.name.equals(other.name)&&this.semester.equals(other.semster); }
> semester.equals(semester other) {
> this.code.equals(other.code)&&this.school.equals( other.school); }
>
> so now every time you equals/hashcode a class you load the semester and the
> school. given they they are loaded-by-id and might be in 2nd level
> cachebut still. this is the kind of troubles you always have when
> working on such a highly abstracted level that doesnt always map properly to
> the bare metal.
>
>
> -Igor
>
>
> On 8/26/06, Geoff hendrey <[EMAIL PROTECTED]> wrote:
> > Sure - but honestly I don't want to convince anyone
> > they need Shades.
> >
> > One problem I found with JDO was that the
> > PersistenceManager was not serializable. Another is
> > that detachment had to be handled explicitely.
> >
> > In Shades all pojo's are inherently detached. Change
> > tracking is automagic. The DatabaseSession is
> > ultra-leightweight and totally appropriate for keeping
> > in a Session.
> >
> > A big innovation in Shades is how identity is handled
> > - that really solved a lot of problems for me related
> > to change of identity within transactions. Identity is
> > a much more fluid concept in Shades, due to the
> > dynamic ORMapping interface, which you can even
> > implement on the fly as an anonynmous inner class.
> >
> > To be clear, I found ways to make JDO work just fine
> > with Wicket. Certainly JDO was a huge step forward in
> > making it easier to use Pojo-based frameworks like
> > Wicket.
> >
> > I blogged a bit on my motivation for Shades:
> > http://notskateboarding.blogspot.com/
> >
> > -geoff
> >
> >
> >
> > --- Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> >
> > > i glanced over the code - but i dont get it after
> > > the first glance. perhaps
> > > you can explain what difficulties you hit when using
> > > wicket and an orm to
> > > help us better understand.
> > >
> > > seems to me like you are trying to work with a ui
> > > connected to a persistence
> > > layer - without a service layer in between. have you
> > > seen databinder which
> > > glues wicket and hibernate together?
> > >
> > > also your point about wicket and tapestry - wicket
> > > is much more flexible
> > > because it has IModel which gives you an extra layer
> > > of indirection that can
> > > hide a lot of orm logic and make the code
> > > cleaner/easier.
> > >
> > > -Igor
> > >
> > >
> > > On 8/26/06, Geoff hendrey <[EMAIL PROTECTED]>
> > > wrote:
> > > >
> > > > Hi All,
> > > >
> > > > I was one of the early users of Wicket before 1.0.
> > > I
> > > > did a lot of work to use Wicket with my JDO
> > > > implementation JDOMax (no longer supported). In
> > > the
> > > > process I learned a lot about why it is harder
> > > than it
> > > > has to be to use many ORM frameworks with Wicket
> > > and
> > > > Tapestry.
> > > >
> > > > I'm a member of JSR 243 Java Data Objects Experts
> > > > Group, and I advocated hard within that spec for
> > > the
> > > > "fixing" of the JDO spec with regard to
> > > > non-transaction-write behavior, along with Eric
> > > Samson
> > > > and others. The JDO group  was receptive, having
> > > > gotten similar feedback from Howard Lewis Ship of
> > > > Tapestry. I believe this change will benefit
> > > Wicket
> > > > users, and make it much easier to use JDO 2.0 than
> > > JDO
> > > > 1.1, from Wicket.
> > > >
> > > > However, I still wasn't satisfied that it was
> > > "easy"
> > > > to do ORM from Wicket or Tapestry. So I started a
> > > new
> > > > project, based on what I learned -- it's a better
> > > way
> > > > to do ORM -- I call it Shades. Following the
> > > wicket
> > > > style,Shades works without any XML configuration.
> > > >
> > > > Rather than make this any longer-winded, I thought
> > > I
> > > > would just begin passing back some code, showing
> > > the
> > > > Library sample application using Shades. The
> > > attached
> > > > zipfile is just the "library" folder from the
> > > wicket
> > > > sample applications. EditBook.java and
> > > > LibrarySession.java have been altered to use
> > > Shades
> > > > for database access. LibraryORMDictionary.java is
> > > the
> > > > only new file required.
> > > >
> > > > Please let me know what you think. Also, I do not
> > > have
> > > >

Re: [Wicket-user] AjaxPagingNavigator in Internet Explorer

2006-08-27 Thread Matej Knopp
Hmm.. The bug is fixed, we've been adding paging navigator to response 
even if the parent container has already been added.

-Matej

Matej Knopp wrote:
> Great, the latest doesn't seem to work in IE either. Martijn, are you 
> listening? We need to postpone the release a bit.
> 
> -Matej
> 
> Igor Vaynberg wrote:
>> try the latest 1.2 from svn or wait for the official 1.2.2 tomorrow
>>
>> -Igor
>>
>>
>> On 8/26/06, *Koji Lin* <[EMAIL PROTECTED] > 
>> wrote:
>>
>> No i didnt change the example.
>> i just put the wicket-examples-1.2.1.war into my tomcat
>> and just runs the example
>> 
>> http://localhost:8080/wicket-examples-1.2.1/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.PageablesPage
>> 
>> 
>>
>> the IE will complain the error
>>
>> so i try to download wicket-examples-1.2 a moment ago.
>> wicket 1.2 doesnt have this problem..
>>
>> koji
>>
>> Igor Vaynberg wrote:
>>  > right - that error is because the td is updated. i dont
>> understand why
>>  > the first time it shows just the table but the second time the table
>>  > and the pager - did you change anything? why does it change behavior
>>  > all of a sudden?
>>  >
>>  > -Igor
>>  >
>>  >
>>
>>
>> -
>> 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=lnk&kid=120709&bid=263057&dat=121642
>> 
>> 
>> ___
>> Wicket-user mailing list
>> 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=lnk&kid=120709&bid=263057&dat=121642
>>
>>
>> 
>>
>> ___
>> Wicket-user mailing list
>> 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=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> 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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxPagingNavigator in Internet Explorer

2006-08-27 Thread Matej Knopp
Great, the latest doesn't seem to work in IE either. Martijn, are you 
listening? We need to postpone the release a bit.

-Matej

Igor Vaynberg wrote:
> try the latest 1.2 from svn or wait for the official 1.2.2 tomorrow
> 
> -Igor
> 
> 
> On 8/26/06, *Koji Lin* <[EMAIL PROTECTED] > 
> wrote:
> 
> No i didnt change the example.
> i just put the wicket-examples-1.2.1.war into my tomcat
> and just runs the example
> 
> http://localhost:8080/wicket-examples-1.2.1/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.PageablesPage
> 
> 
> 
> the IE will complain the error
> 
> so i try to download wicket-examples-1.2 a moment ago.
> wicket 1.2 doesnt have this problem..
> 
> koji
> 
> Igor Vaynberg wrote:
>  > right - that error is because the td is updated. i dont
> understand why
>  > the first time it shows just the table but the second time the table
>  > and the pager - did you change anything? why does it change behavior
>  > all of a sudden?
>  >
>  > -Igor
>  >
>  >
> 
> 
> -
> 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=lnk&kid=120709&bid=263057&dat=121642
> 
> ___
> Wicket-user mailing list
> 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=lnk&kid=120709&bid=263057&dat=121642
> 
> 
> 
> 
> ___
> Wicket-user mailing list
> 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=lnk&kid=120709&bid=263057&dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user