[Wicket-user] mapping application to /

2006-11-05 Thread ryan mckinley
I'm trying to build my first real app using wicket and am looking for advice on how to structure it. I expect it will have moderately heavy traffic but most things can be cached with a simple ehcache Filter.The issue i see is that if i want to have wicket generated content on the root page, i need to map the application servlet to:
url-pattern/*/url-patternBut if i do that, it looks like all the static content has to go through wicket too. Is there any way to have the web server directly serve content under: /static/*?
Alternatively i guess i could map multiple application to deeper paths, but that seems like a bad idea.I've read that 2.0 will switch to a filter model, what is the best practice until then? thanks

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


Re: [Wicket-user] mapping application to /

2006-11-05 Thread Juergen Donnerstag
There is no need to use /*. In fact it is the least favourable
solution. Take a look at the examples.

Juergen

On 11/5/06, ryan mckinley [EMAIL PROTECTED] wrote:

 I'm trying to build my first real app using wicket and am looking for advice
 on how to structure it.  I expect it will have moderately heavy traffic but
 most things can be cached with a simple ehcache Filter.

 The issue i see is that if i want to have wicket generated content on the
 root page, i need to map the application servlet to:
  url-pattern/*/url-pattern

 But if i do that, it looks like all the static content has to go through
 wicket too.  Is there any way to have the web server directly serve content
 under: /static/*?

 Alternatively i guess i could map multiple application to deeper paths, but
 that seems like a bad idea.

 I've read that 2.0 will switch to a filter model, what is the best practice
 until then?

 thanks


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

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


Re: [Wicket-user] mapping application to /

2006-11-05 Thread ryan mckinley
The examples have a static /index.html and multiple apps defined at /helloworld, /echo, etc each one has its own session (if i understand correctly)I'd like to have wicket style templates on index.html and share session attributes across the sub pages (specifically user authentication)
Do i need to map an Application to index.html also?thanks(i apologize if this is super basic)On 11/5/06, Juergen Donnerstag
 [EMAIL PROTECTED] wrote:
There is no need to use /*. In fact it is the least favourablesolution. Take a look at the examples.JuergenOn 11/5/06, ryan mckinley [EMAIL PROTECTED] wrote:
 I'm trying to build my first real app using wicket and am looking for advice on how to structure it.I expect it will have moderately heavy traffic but most things can be cached with a simple ehcache Filter.
 The issue i see is that if i want to have wicket generated content on the root page, i need to map the application servlet to:url-pattern/*/url-pattern But if i do that, it looks like all the static content has to go through
 wicket too.Is there any way to have the web server directly serve content under: /static/*? Alternatively i guess i could map multiple application to deeper paths, but that seems like a bad idea.
 I've read that 2.0 will switch to a filter model, what is the best practice until then? thanks -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___ 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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] mapping application to /

2006-11-05 Thread Juergen Donnerstag
On 11/5/06, ryan mckinley [EMAIL PROTECTED] wrote:

 The examples have a static /index.html and multiple apps defined at
 /helloworld, /echo, etc each one has its own session (if i understand
 correctly)


In case of the examples index.html is registered in web.xml as the welcome page
welcome-file-list
welcome-fileindex.html/welcome-file
/welcome-file-list
and allows you to easily select any of the example applications.
A session is created by the servlet container per user (not per
application) and can be used to stored eg user information. Because a
session is a per user object, it is available for the various pages
which make up your application.

 I'd like to have wicket style templates on index.html and share session
 attributes across the sub pages (specifically user authentication)

 Do i need to map an Application to index.html also?

 thanks

 (i apologize if this is super basic)



 On 11/5/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
  There is no need to use /*. In fact it is the least favourable
  solution. Take a look at the examples.
 
  Juergen
 
  On 11/5/06, ryan mckinley [EMAIL PROTECTED] wrote:
  
   I'm trying to build my first real app using wicket and am looking for
 advice
   on how to structure it.  I expect it will have moderately heavy traffic
 but
   most things can be cached with a simple ehcache Filter.
  
   The issue i see is that if i want to have wicket generated content on
 the
   root page, i need to map the application servlet to:
url-pattern/*/url-pattern
  
   But if i do that, it looks like all the static content has to go through
   wicket too.  Is there any way to have the web server directly serve
 content
   under: /static/*?
  
   Alternatively i guess i could map multiple application to deeper paths,
 but
   that seems like a bad idea.
  
   I've read that 2.0 will switch to a filter model, what is the best
 practice
   until then?
  
   thanks
  
  
  
 -
   Using Tomcat but need to do more? Need to support web services,
 security?
   Get stuff done quickly with pre-integrated technology to make your job
   easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  
   ___
   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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] double click on submit button

2006-11-05 Thread Tomer Mevorach
when using a SubmitLink, double click on the submit button results in 
submitting the form twice.
submitting the form twice results in in unwanted behavior (in some 
cases, when markup hierarchy changes between submits, it results in a 
RuntimeException).
however, there is no way to update onclick since getTriggerJavaScript() 
method in SubmitLink is private and getOnClickScript() of Button is 
never called when using SubmitLink.
Any idea how disable submit button onclick?

Regards,
Tomer




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


Re: [Wicket-user] Question on reusability

2006-11-05 Thread sunraider

Hi,

Is there any example or sample to refer to a similar implementation? It will
be really helpful if there one. I am a newbie to Wicket so dont have much of
an idea on how that can be done.

Thanks Igor for the help.

Thanks,
Sajeev


igor.vaynberg wrote:
 
 i create editor classes for editing compound beans. editor classes are
 just
 panels with field components added to them. that way i can drop the panel
 into any form and have it work.
 
 -igor
 
 
 On 11/2/06, sunraider [EMAIL PROTECTED] wrote:


 Hi All,

 I have a usecase but I dont know which would be the best approach to
 achieve
 it. It goes like this:

 1. I have Address which is common in most of the pages.
 2. I want to use the Address in Company
 3. I want to use the Company with Address in MyCompany.

 I am not sure how to achieve it. Can anyone post me a sample how to
 resuse
 address in company and reuse company in mycompany or something similar.
 This
 is generic in most of my pages. I am not sure but Panel looks like the
 correct option. But do we need mutliple forms like AddressForm
 CompanyForm
 and MyCompanyForm. I am not sure if this sounds stupid or it might be my
 lack of wicket knowledge (newbie). I just wanted to know the correct way
 of
 doing this.

 Thanks in advance.
 --
 View this message in context:
 http://www.nabble.com/Question-on-reusability-tf2566480.html#a7153216
 Sent from the Wicket - User mailing list archive 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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/Question-on-reusability-tf2566480.html#a7185863
Sent from the Wicket - User mailing list archive 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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] BodyContributor?

2006-11-05 Thread Juergen Donnerstag
getPage().getBodyContainer().addXXX to add AttributeModifiers.

If your Panel markup requires to contribute to body onload or onunload
than simply add a body tag to the panel markup including the attrs.
They'll be copied to the pages body tag.

And wicket:head in a panels markup can be used if the Panel requires
to contribute to the pages header head.

Provided I understand you correct, none of these solves your problem
of adding js right behind body and right before /body. If've never
realy tried it but it should be sufficient to add
new MyHtmlBodyContainer(this, BodyOnLoadHandler.BODY_ID);
setBodyContainer(new BodyContainer(this, 
BodyOnLoadHandler.BODY_ID));
to your pages constructor. With
public class MyHtmlBodyContainer extends HtmlBodyContainer

Though I not sure it is available in 1.2.X. Wich version are you using?

Juergen

On 11/5/06, Rüdiger Schulz [EMAIL PROTECTED] wrote:
 Hello everybody,

 is it possible to add to the body tag with a behaviour or something similar?

 I have one type of pages which needs some javascript included at the
 beginning of body and again right before /body. All of my pages
 share a common parent class (providing the general layout etc. for all
 subpages), so in the markup of the sub-page I can only write new HTML in
 the wicket:extend part.

 I see there is a way to do this for the head, but I have found nothing
 about body. I looked at the source how these work, but I don't think
 this can be easily applied to body (The functionality comes from
 implementing IHeaderContributor, not from IBehavior, right?).

 To say it shortly: the classes in wicket.extensions.util.resource work
 fine, but I don't know how to apply one to the body  :)


 Any hints are welcome...


 greetings,

 Rüdiger Schulz


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] BodyContributor?

2006-11-05 Thread Juergen Donnerstag
That is all what is needed

public class EmailPage extends WebPage
{
private static final long serialVersionUID = 1L;

/**
 * Construct
 *
 */
public EmailPage()
{
new MyHtmlBodyContainer(this, BodyOnLoadHandler.BODY_ID);
}

/**
 *
 */
public static class MyHtmlBodyContainer extends HtmlBodyContainer
{
private static final long serialVersionUID = 1L;

/**
 * Construct
 *
 * @see Component#Component(MarkupContainer,String)
 */
public MyHtmlBodyContainer(MarkupContainer parent, final String 
id)
{
super(parent, id);
}

@Override
protected void onComponentTagBody(MarkupStream markupStream,
ComponentTag openTag)
{
getResponse().write(Something after the body open 
tag);
super.onComponentTagBody(markupStream, openTag);
getResponse().write(Something before the body close 
tag);
}
}
}

Juergen

On 11/5/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
 getPage().getBodyContainer().addXXX to add AttributeModifiers.

 If your Panel markup requires to contribute to body onload or onunload
 than simply add a body tag to the panel markup including the attrs.
 They'll be copied to the pages body tag.

 And wicket:head in a panels markup can be used if the Panel requires
 to contribute to the pages header head.

 Provided I understand you correct, none of these solves your problem
 of adding js right behind body and right before /body. If've never
 realy tried it but it should be sufficient to add
 new MyHtmlBodyContainer(this, BodyOnLoadHandler.BODY_ID);
 setBodyContainer(new BodyContainer(this, 
 BodyOnLoadHandler.BODY_ID));
 to your pages constructor. With
 public class MyHtmlBodyContainer extends HtmlBodyContainer

 Though I not sure it is available in 1.2.X. Wich version are you using?

 Juergen

 On 11/5/06, Rüdiger Schulz [EMAIL PROTECTED] wrote:
  Hello everybody,
 
  is it possible to add to the body tag with a behaviour or something similar?
 
  I have one type of pages which needs some javascript included at the
  beginning of body and again right before /body. All of my pages
  share a common parent class (providing the general layout etc. for all
  subpages), so in the markup of the sub-page I can only write new HTML in
  the wicket:extend part.
 
  I see there is a way to do this for the head, but I have found nothing
  about body. I looked at the source how these work, but I don't think
  this can be easily applied to body (The functionality comes from
  implementing IHeaderContributor, not from IBehavior, right?).
 
  To say it shortly: the classes in wicket.extensions.util.resource work
  fine, but I don't know how to apply one to the body  :)
 
 
  Any hints are welcome...
 
 
  greetings,
 
  Rüdiger Schulz
 
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] databinder + shades

2006-11-05 Thread Geoff hendrey
Hey,

How can I integrate Shades in the Databinder to give the user a choice of 
Hibernate or Shades for the persitence back end?

-geoff




 

Want to start your own business? Learn how on Yahoo! Small Business 
(http://smallbusiness.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.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Question on reusability

2006-11-05 Thread Igor Vaynberg
i dont know if there are any examples, but it is as easy as it sounds.create a panel that adds a bunch of form components to itself, then stick this panel into a form, thats it-igor
On 11/5/06, sunraider [EMAIL PROTECTED] wrote:
Hi,Is there any example or sample to refer to a similar implementation? It willbe really helpful if there one. I am a newbie to Wicket so dont have much ofan idea on how that can be done.Thanks Igor for the help.
Thanks,Sajeevigor.vaynberg wrote: i create editor classes for editing compound beans. editor classes are just panels with field components added to them. that way i can drop the panel
 into any form and have it work. -igor On 11/2/06, sunraider [EMAIL PROTECTED] wrote: Hi All,
 I have a usecase but I dont know which would be the best approach to achieve it. It goes like this: 1. I have Address which is common in most of the pages.
 2. I want to use the Address in Company 3. I want to use the Company with Address in MyCompany. I am not sure how to achieve it. Can anyone post me a sample how to resuse
 address in company and reuse company in mycompany or something similar. This is generic in most of my pages. I am not sure but Panel looks like the correct option. But do we need mutliple forms like AddressForm
 CompanyForm and MyCompanyForm. I am not sure if this sounds stupid or it might be my lack of wicket knowledge (newbie). I just wanted to know the correct way of doing this.
 Thanks in advance. -- View this message in context: http://www.nabble.com/Question-on-reusability-tf2566480.html#a7153216
 Sent from the Wicket - User mailing list archive 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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/Question-on-reusability-tf2566480.html#a7185863Sent from the Wicket - User mailing list archive 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] mapping application to /

2006-11-05 Thread Eelco Hillenius
 I'm trying to build my first real app using wicket and am looking for advice
 on how to structure it.  I expect it will have moderately heavy traffic but
 most things can be cached with a simple ehcache Filter.

Don't cache session internal pages though... be sure to only cache
bookmarkable pages if you really want to. Better: don't cache the
output of pages at all, but instead focus in making your
business/service layer more efficient (e.g. cache your domain model/
queries etc). If you still need a higher throughput, generating static
pages is a better solution than just caching imo.

 The issue i see is that if i want to have wicket generated content on the
 root page, i need to map the application servlet to:
  url-pattern/*/url-pattern

 But if i do that, it looks like all the static content has to go through
 wicket too.  Is there any way to have the web server directly serve content
 under: /static/*?

You can put a filter on top of the Wicket servlet, and if it matches
with static content, you just don't pass control further the chain
(Wicket).

 Alternatively i guess i could map multiple application to deeper paths, but
 that seems like a bad idea.

Is it that bad to have /app or /dyn or whatever in your path?

 I've read that 2.0 will switch to a filter model

It already has had that for quite a while.

 what is the best practice
 until then?

I don't know if there is any. Different people like different things.
Personally, I'm not worried at all by having e.g. /app for the Wicket
part of your app.

Eelco

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


Re: [Wicket-user] databinder + shades

2006-11-05 Thread Eelco Hillenius
That's for Nathan to answer :) Nathan, are you reading with us?

Eelco

On 11/5/06, Geoff hendrey [EMAIL PROTECTED] wrote:
 Hey,

 How can I integrate Shades in the Databinder to give the user a choice of 
 Hibernate or Shades for the persitence back end?

 -geoff

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


Re: [Wicket-user] double click on submit button

2006-11-05 Thread Eelco Hillenius
It shouldn't though. Requests to pages are synchronized throughout the
session, so if you want to block a second request, just disable that
link/ ignore the second request e.g. by setting a variable on your
form).

Eelco

On 11/5/06, Tomer Mevorach [EMAIL PROTECTED] wrote:
 when using a SubmitLink, double click on the submit button results in
 submitting the form twice.
 submitting the form twice results in in unwanted behavior (in some
 cases, when markup hierarchy changes between submits, it results in a
 RuntimeException).
 however, there is no way to update onclick since getTriggerJavaScript()
 method in SubmitLink is private and getOnClickScript() of Button is
 never called when using SubmitLink.
 Any idea how disable submit button onclick?

 Regards,
 Tomer




 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] double click on submit button

2006-11-05 Thread Eelco Hillenius
Sorry, synchronized *on* the session.

Eelco

On 11/5/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 It shouldn't though. Requests to pages are synchronized throughout the
 session, so if you want to block a second request, just disable that
 link/ ignore the second request e.g. by setting a variable on your
 form).

 Eelco

 On 11/5/06, Tomer Mevorach [EMAIL PROTECTED] wrote:
  when using a SubmitLink, double click on the submit button results in
  submitting the form twice.
  submitting the form twice results in in unwanted behavior (in some
  cases, when markup hierarchy changes between submits, it results in a
  RuntimeException).
  however, there is no way to update onclick since getTriggerJavaScript()
  method in SubmitLink is private and getOnClickScript() of Button is
  never called when using SubmitLink.
  Any idea how disable submit button onclick?
 
  Regards,
  Tomer
 
 
 
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job 
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Nested, Detachable Models

2006-11-05 Thread Nick Heudecker
All,I have a form in my application that allows the user to edit the parent object and multiple child objects. If I use a LoadableDetachableModel for the parent object, changes to the parent are saved but changes to the children are not. The collection of children is a lazily initialized List, managed by Hibernate. Using a non-detachable model also saves changes to the children. 
Is there some way I can get around this? The children are edited in a ListView. Thanks.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Nested, Detachable Models

2006-11-05 Thread Igor Vaynberg
instead of making the parent attached to hibernate session, detach it, and later use merge to apply the changes.On 11/5/06, Nick Heudecker 
[EMAIL PROTECTED] wrote:All,I have a form in my application that allows the user to edit the parent object and multiple child objects. If I use a LoadableDetachableModel for the parent object, changes to the parent are saved but changes to the children are not. The collection of children is a lazily initialized List, managed by Hibernate. Using a non-detachable model also saves changes to the children. 
Is there some way I can get around this? The children are edited in a ListView. Thanks.

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___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=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] are unicode resource bundles supported?

2006-11-05 Thread Eelco Hillenius
Sorry Dmitry, that wasn't fixed yet. But now it is. You can provide
properties like

MyPanel_nl.properties   - normal
MyPanel_ru.xml  - xml

in this format:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE properties SYSTEM http://java.sun.com/dtd/properties.dtd;
properties
entry key=foobar/entry
/properties

Like the feature request said, it is Java 5/ Wicket 2.0 only at this
time. With extra effort, we could build this in the upcoming 1.3
branch, but only if there are enough people asking for it (in which
case they should open up  a new feature request).

Regards,

Eelco


On 11/4/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Yep, that should work.

 Eelco


 On 11/3/06, Dmitry Kandalov [EMAIL PROTECTED] wrote:
 
  I found wicket-Feature Requests-1494546 at
  http://www.nabble.com/--wicket-Feature-Requests-1494546---unicode-resource-bundles-tf1677225.html#a4547980
  but there is no answer whether this feature is implemented or not
  (specifically in 1.2.3).
  --
  View this message in context: 
  http://www.nabble.com/are-unicode-resource-bundles-supported--tf2572775.html#a7172088
  Sent from the Wicket - User mailing list archive 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] are unicode resource bundles supported?

2006-11-05 Thread Carfield Yim
I have just talk a look for the bugs. Like to confirm one thing, is
that mean for *.properties, it still need to use escaped ASCII text as
value, but if you are using XML, it is ok to directly use UTF-8
without using native2acsii converter, right?

On 11/6/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Sorry Dmitry, that wasn't fixed yet. But now it is. You can provide
 properties like

 MyPanel_nl.properties   - normal
 MyPanel_ru.xml  - xml

 in this format:

 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE properties SYSTEM http://java.sun.com/dtd/properties.dtd;
 properties
 entry key=foobar/entry
 /properties

 Like the feature request said, it is Java 5/ Wicket 2.0 only at this
 time. With extra effort, we could build this in the upcoming 1.3
 branch, but only if there are enough people asking for it (in which
 case they should open up  a new feature request).

 Regards,

 Eelco


 On 11/4/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
  Yep, that should work.
 
  Eelco
 
 
  On 11/3/06, Dmitry Kandalov [EMAIL PROTECTED] wrote:
  
   I found wicket-Feature Requests-1494546 at
   http://www.nabble.com/--wicket-Feature-Requests-1494546---unicode-resource-bundles-tf1677225.html#a4547980
   but there is no answer whether this feature is implemented or not
   (specifically in 1.2.3).
   --
   View this message in context: 
   http://www.nabble.com/are-unicode-resource-bundles-supported--tf2572775.html#a7172088
   Sent from the Wicket - User mailing list archive 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Enabling Component Checking?

2006-11-05 Thread Nick Heudecker
I was reading the Lifecycle document at http://www.wicket-wiki.org.uk/wiki/index.php/Lifecycle. It says If the Application for the Page has component checking enabled in
its ApplicationSettings, checks that each component rendered. Is this still done? If so, where is it enabled now?Thanks,-Nick
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] are unicode resource bundles supported?

2006-11-05 Thread Eelco Hillenius
On 11/5/06, Carfield Yim [EMAIL PROTECTED] wrote:
 I have just talk a look for the bugs. Like to confirm one thing, is
 that mean for *.properties, it still need to use escaped ASCII text as
 value, but if you are using XML, it is ok to directly use UTF-8
 without using native2acsii converter, right?

Yep, properties still need to be escaped, but XML can be put in
directly. If you look at:

?xml version=1.0 encoding=UTF-8?
!DOCTYPE properties SYSTEM http://java.sun.com/dtd/properties.dtd;
properties
   entry key=foobar/entry
/properties

The encoding is in the first statement.

Eelco

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


Re: [Wicket-user] Enabling Component Checking?

2006-11-05 Thread Eelco Hillenius
By default, it is turned on when in development mode and turned off
(for efficiency) when in deployment mode. The setting can be accessed
directly with getDebugSettings().setComponentUseCheck(true/false);

Eelco


On 11/5/06, Nick Heudecker [EMAIL PROTECTED] wrote:
 I was reading the Lifecycle document at
 http://www.wicket-wiki.org.uk/wiki/index.php/Lifecycle.  It
 says If the Application for the Page has component checking enabled in its
 ApplicationSettings, checks that each component rendered.  Is this still
 done?  If so, where is it enabled now?

 Thanks,

 -Nick

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

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


Re: [Wicket-user] Enabling Component Checking?

2006-11-05 Thread Nick Heudecker
Thanks. On 11/5/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
By default, it is turned on when in development mode and turned off(for efficiency) when in deployment mode. The setting can be accesseddirectly with getDebugSettings().setComponentUseCheck(true/false);Eelco
On 11/5/06, Nick Heudecker [EMAIL PROTECTED] wrote: I was reading the Lifecycle document at 
http://www.wicket-wiki.org.uk/wiki/index.php/Lifecycle.It says If the Application for the Page has component checking enabled in its ApplicationSettings, checks that each component rendered.Is this still
 done?If so, where is it enabled now? Thanks, -Nick - Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Question on reusability

2006-11-05 Thread sunraider

Thank you Igor, I will try that out.

Thanks,
Sajeev


igor.vaynberg wrote:
 
 i dont know if there are any examples, but it is as easy as it sounds.
 
 create a panel that adds a bunch of form components to itself, then stick
 this panel into a form, thats it
 
 -igor
 
 
 On 11/5/06, sunraider [EMAIL PROTECTED] wrote:


 Hi,

 Is there any example or sample to refer to a similar implementation? It
 will
 be really helpful if there one. I am a newbie to Wicket so dont have much
 of
 an idea on how that can be done.

 Thanks Igor for the help.

 Thanks,
 Sajeev


 igor.vaynberg wrote:
 
  i create editor classes for editing compound beans. editor classes are
  just
  panels with field components added to them. that way i can drop the
 panel
  into any form and have it work.
 
  -igor
 
 
  On 11/2/06, sunraider [EMAIL PROTECTED] wrote:
 
 
  Hi All,
 
  I have a usecase but I dont know which would be the best approach to
  achieve
  it. It goes like this:
 
  1. I have Address which is common in most of the pages.
  2. I want to use the Address in Company
  3. I want to use the Company with Address in MyCompany.
 
  I am not sure how to achieve it. Can anyone post me a sample how to
  resuse
  address in company and reuse company in mycompany or something
 similar.
  This
  is generic in most of my pages. I am not sure but Panel looks like the
  correct option. But do we need mutliple forms like AddressForm
  CompanyForm
  and MyCompanyForm. I am not sure if this sounds stupid or it might be
 my
  lack of wicket knowledge (newbie). I just wanted to know the correct
 way
  of
  doing this.
 
  Thanks in advance.
  --
  View this message in context:
  http://www.nabble.com/Question-on-reusability-tf2566480.html#a7153216
  Sent from the Wicket - User mailing list archive 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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/Question-on-reusability-tf2566480.html#a7185863
 Sent from the Wicket - User mailing list archive 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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/Question-on-reusability-tf2566480.html#a7193383
Sent from the Wicket - User mailing list archive 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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] double click on submit button

2006-11-05 Thread Tomer Mevorach
I prefer not to synchronize it on the server side.
The thing that bothers me is that there is no way to add JS code to the 
onclick event of the submit button, therefore i am using forms onsubmit 
event for disabling the button.
by the way, is there any built in mechanism in wicket for locking the 
entire page?

Regards,
Tomer


Eelco Hillenius wrote:
 Sorry, synchronized *on* the session.

 Eelco

 On 11/5/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 It shouldn't though. Requests to pages are synchronized throughout the
 session, so if you want to block a second request, just disable that
 link/ ignore the second request e.g. by setting a variable on your
 form).

 Eelco

 On 11/5/06, Tomer Mevorach [EMAIL PROTECTED] wrote:
  when using a SubmitLink, double click on the submit button results in
  submitting the form twice.
  submitting the form twice results in in unwanted behavior (in some
  cases, when markup hierarchy changes between submits, it results in a
  RuntimeException).
  however, there is no way to update onclick since 
 getTriggerJavaScript()
  method in SubmitLink is private and getOnClickScript() of Button is
  never called when using SubmitLink.
  Any idea how disable submit button onclick?
 
  Regards,
  Tomer
 
 
 
 
  
 - 

  Using Tomcat but need to do more? Need to support web services, 
 security?
  Get stuff done quickly with pre-integrated technology to make your 
 job easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache 
 Geronimo
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] double click on submit button

2006-11-05 Thread Igor Vaynberg
you can still do it via an attribute modifier. but i think we should remove final from those link methods anyways.what o you mean by locking ?-igorOn 11/5/06, 
Tomer Mevorach [EMAIL PROTECTED] wrote:
I prefer not to synchronize it on the server side.The thing that bothers me is that there is no way to add JS code to theonclick event of the submit button, therefore i am using forms onsubmitevent for disabling the button.
by the way, is there any built in mechanism in wicket for locking theentire page?Regards,TomerEelco Hillenius wrote: Sorry, synchronized *on* the session. Eelco
 On 11/5/06, Eelco Hillenius [EMAIL PROTECTED] wrote: It shouldn't though. Requests to pages are synchronized throughout the session, so if you want to block a second request, just disable that
 link/ ignore the second request e.g. by setting a variable on your form). Eelco On 11/5/06, Tomer Mevorach 
[EMAIL PROTECTED] wrote:  when using a SubmitLink, double click on the submit button results in  submitting the form twice.  submitting the form twice results in in unwanted behavior (in some
  cases, when markup hierarchy changes between submits, it results in a  RuntimeException).  however, there is no way to update onclick since getTriggerJavaScript()
  method in SubmitLink is private and getOnClickScript() of Button is  never called when using SubmitLink.  Any idea how disable submit button onclick?   Regards,
  Tomer  -  Using Tomcat but need to do more? Need to support web services,
 security?  Get stuff done quickly with pre-integrated technology to make your job easier  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642  ___
  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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] double click on submit button

2006-11-05 Thread Tomer Mevorach
I meant disabling all page components (maybe with additional animation) 
until answer arrives from the server.

Tomer

Igor Vaynberg wrote:
 you can still do it via an attribute modifier. but i think we should 
 remove final from those link methods anyways.

 what o you mean by locking ?

 -igor


 On 11/5/06, *Tomer Mevorach* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 I prefer not to synchronize it on the server side.
 The thing that bothers me is that there is no way to add JS code
 to the
 onclick event of the submit button, therefore i am using forms
 onsubmit
 event for disabling the button.
 by the way, is there any built in mechanism in wicket for locking the
 entire page?

 Regards,
 Tomer


 Eelco Hillenius wrote:
  Sorry, synchronized *on* the session.
 
  Eelco
 
  On 11/5/06, Eelco Hillenius [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
  It shouldn't though. Requests to pages are synchronized
 throughout the
  session, so if you want to block a second request, just disable
 that
  link/ ignore the second request e.g. by setting a variable on your
  form).
 
  Eelco
 
  On 11/5/06, Tomer Mevorach  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
   when using a SubmitLink, double click on the submit button
 results in
   submitting the form twice.
   submitting the form twice results in in unwanted behavior (in
 some
   cases, when markup hierarchy changes between submits, it
 results in a
   RuntimeException).
   however, there is no way to update onclick since
  getTriggerJavaScript()
   method in SubmitLink is private and getOnClickScript() of
 Button is
   never called when using SubmitLink.
   Any idea how disable submit button onclick?
  
   Regards,
   Tomer
  
  
  
  
  
 
 -
 
   Using Tomcat but need to do more? Need to support web services,
  security?
   Get stuff done quickly with pre-integrated technology to make
 your
  job easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
  Geronimo
  
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 


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




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


[Wicket-user] How to Run behind SSL Loadbalancer + apache web server cluster

2006-11-05 Thread Joshua Lim
Hi wicket users,I need some help on running an wicket application behind a SSL load balancer.The wicket application is running on a weblogic server, and accessing the application works fine on its own.(i.e
. accessing via IP+port number)and testing it with apache + mod_ssl + mod_jk + tomcat works too.However, once a cluster of apache web server and an SSL loadbalancer is put in front of it, the application cannot be reached. 
basically the logs suggests :1/ request is sent to the SSL loadbalancer  is routed correctly the app server (i.e. we call https://someserver.comp.com/myWicketApp...
)2/ the (myWicketApp) application redirects to my login page (http://someserver.comp.com/loginPage ... ) It basically cannot find the app server. because, myWicketApp, redirects to the login page via http and not https. 
I read http://www.wicket-wiki.org.uk/wiki/index.php/Switch_to_SSL_mode but I want to whole application behind the SSL so I don't think I need to implement that, and SSL is being handled by the SSL loadbalancer, so everything shold just work relatively right?
I did try to impement newRequestCycleProcessor() in myWicketApp application and basically just change it the protocol to https but that gave me an Already redirecting to   error - I am using a modified SimplePageAuthorizationStrategy.
Anyone with experience with a this kind of set up?ThanksJosh
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to Run behind SSL Loadbalancer + apache web server cluster

2006-11-05 Thread Igor Vaynberg
afaik wicket should not mess with http vs https, it works on whatever the request is. so it might be that your loadbalancer forwards the request over http instead of https so to wiket it seems like you are accessing over http?
-igorOn 11/5/06, Joshua Lim [EMAIL PROTECTED] wrote:
Hi wicket users,I need some help on running an wicket application behind a SSL load balancer.The wicket application is running on a weblogic server, and accessing the application works fine on its own.(i.e

. accessing via IP+port number)and testing it with apache + mod_ssl + mod_jk + tomcat works too.However, once a cluster of apache web server and an SSL loadbalancer is put in front of it, the application cannot be reached. 
basically the logs suggests :1/ request is sent to the SSL loadbalancer  is routed correctly the app server (i.e. we call 
https://someserver.comp.com/myWicketApp...
)2/ the (myWicketApp) application redirects to my login page (http://someserver.comp.com/loginPage
 ... ) It basically cannot find the app server. because, myWicketApp, redirects to the login page via http and not https. 
I read http://www.wicket-wiki.org.uk/wiki/index.php/Switch_to_SSL_mode
 but I want to whole application behind the SSL so I don't think I need to implement that, and SSL is being handled by the SSL loadbalancer, so everything shold just work relatively right?
I did try to impement newRequestCycleProcessor() in myWicketApp application and basically just change it the protocol to https but that gave me an Already redirecting to   error - I am using a modified SimplePageAuthorizationStrategy.
Anyone with experience with a this kind of set up?ThanksJosh

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___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=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to Run behind SSL Loadbalancer + apache web server cluster

2006-11-05 Thread Joshua Lim
Hi igor Yes you are right, between the (loadbalancer) LB and apache and Weblogic (internal nework) they are all over http - and only the browser to the LB is SSL... Is there something at the application level that I can do to make it work ? I am afraid I might have difficulty getting the convincing them reconfigure their standard LB setup to always forward with https
thanksJoshOn 11/6/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
afaik wicket should not mess with http vs https, it works on whatever the request is. so it might be that your loadbalancer forwards the request over http instead of https so to wiket it seems like you are accessing over http?

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