Re: [Wicket-user] How to reload page from within ajax call

2006-10-16 Thread Erik van Oosten
Have you tried something like the following?

new AjaxFallBackLink(id) {
   public void onClick(AjaxTargetRequest target) {
  page.replace(changedComponent);
  if (target != null) {
 target.addComponent(changedComponent);
  }
  }
}

Regards,
 Erik.


De Soca schreef:
> Hello all,
>
> I may be missing something basic, however I have a dirty flag within a page
> so that if the data has changed, on the next request the page is refreshed.
>
> The link clicked is an Ajax link within the AjaxTabbedPanel. Everything else
> works fine.
>
> I have tried the following:
>
> 1. setResponsePage()
>  
> 2. RequestCycle rc = RequestCycle.get();
> rc.setResponsePage(ClientMasterPage.class);
>
> Neither of which provide the desired result.
>
> Any suggestions are welcome.
>
> Thanks to all.
>
>   

-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.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] shades ibiblio

2006-10-16 Thread Geoff hendrey
Man, getting my maven project up on ibiblio is like applying for a mortgage or 
something!
Well, hopefully it will be uploaded soon by the great gatekeepers.

Anyway, as soon as it is on ibiblio, I can checkin the phonebook with shades 
support.
I don't want to check it in before shades is on ibiblio, because I want shades 
to be seemlessly integrated with the phonebook pom.

Can't wait to get some feedback!

-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=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-stuff commit rights

2006-10-16 Thread Martijn Dashorst
Due to a security breach a couple of months ago, sf.net had to reset
all passwords. Probably this is what caused your problems.

Martijn

On 10/17/06, cowwoc <[EMAIL PROTECTED]> wrote:
>
> Sorry for mistakenly posting this to the entire list :( Serves me 
> right
> for clicking "Reply all" :)
>
> On a sidenote, this turned out to be due to sf.net weirdness. I needed
> to explicitly logout, change my password and log back in to my sf.net
> account and that seemed to resolve it.
>
> Gili
>
> cowwoc wrote:
> > Hi Martijn,
> >
> >   I wanted to commit some updated to the wicket-contrib-auth-class-roles
> > module which I am the author of but SVN won't accept my sourceforge
> > username/password. Is it possible my commit rights went away again?
> > Please verify what the problem is and let me know when I can commit the
> > changes. The username is "cowwoc"
> >
> > Thanks,
> > Gili
> >
>
>
>
> -
> 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
>
>
>
>


-- 
http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote
for http://www.thebeststuffintheworld.com/stuff/wicket";>Wicket
at the http://www.thebeststuffintheworld.com/";>Best Stuff in
the World!

-
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-stuff commit rights

2006-10-16 Thread cowwoc

Sorry for mistakenly posting this to the entire list :( Serves me right
for clicking "Reply all" :)

On a sidenote, this turned out to be due to sf.net weirdness. I needed
to explicitly logout, change my password and log back in to my sf.net
account and that seemed to resolve it.

Gili

cowwoc wrote:
> Hi Martijn,
> 
>   I wanted to commit some updated to the wicket-contrib-auth-class-roles
> module which I am the author of but SVN won't accept my sourceforge
> username/password. Is it possible my commit rights went away again?
> Please verify what the problem is and let me know when I can commit the
> changes. The username is "cowwoc"
> 
> Thanks,
> Gili
> 



signature.asc
Description: OpenPGP digital signature
-
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-stuff commit rights

2006-10-16 Thread cowwoc
Hi Martijn,

I wanted to commit some updated to the wicket-contrib-auth-class-roles
module which I am the author of but SVN won't accept my sourceforge
username/password. Is it possible my commit rights went away again?
Please verify what the problem is and let me know when I can commit the
changes. The username is "cowwoc"

Thanks,
Gili



signature.asc
Description: OpenPGP digital signature
-
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] Open Popup via Ajax

2006-10-16 Thread Igor Vaynberg
you are kinda abusing popup settings class, its not meant to generate _javascript_ for that usecase. the problem is that "return false;" in the js it generates which is mean to abort he current click event.
you def dont need ajax to do this, try whats belowprivate static class DoubleClickEditorBehavior extends AbstractBehavior {void onComponentTag(ComponentTag tag) {
PopupSettings popupSettings = new 
PopupSettings(PageMap .forName("contentEditorPageMap")).setHeight( SnippetEditorPopupPage.WINDOWS_HEIGHT).setWidth( SnippetEditorPopupPage.WINDOW_WIDTH);   popupSettings.setTarget("'" 
+ url + "'");  if(target != 
null)    tag.put("ondblclick", target.appendJavascript(popupSettings.getPopupJavaScript());  }}-igorOn 10/16/06, 
Karl M. Davis <[EMAIL PROTECTED]> wrote:





Hello 
all,
 
What I'm trying to 
do is have a Label that I can double click to open a popup window.  I don't 
really care if it's Ajax or static _javascript_, I just need it to work.  
However, Ajax seemed easiest so I've added the following Ajax behavior to a 
Label:
 
<<
 private static class DoubleClickEditorAjaxBehavior extends 
AjaxEventBehavior {  // Constants  private 
static final long serialVersionUID = 
460292942456978352L;// Member 
Variables  private String url;
 
  /**   * Constructor.   
*/  public DoubleClickEditorAjaxBehavior(String 
url)  {   super("onDblClick");  this.url 
= "">  }
 
  /**   * Opens the [EMAIL PROTECTED]
 SnippetEditorPopupPage}.   *    
* @see 
wicket.ajax.AjaxEventBehavior#onEvent(wicket.ajax.AjaxRequestTarget)   
*/  @Override  protected void 
onEvent(AjaxRequestTarget 
target)  {   PopupSettings popupSettings = new 
PopupSettings(PageMap .forName("contentEditorPageMap")).setHeight( SnippetEditorPopupPage.WINDOWS_HEIGHT).setWidth( SnippetEditorPopupPage.WINDOW_WIDTH);   popupSettings.setTarget("'" 
+ url + "'");  if(target != 
null)target.appendJavascript(popupSettings.getPopupJavaScript());  } }>>
 
It doesn't seem to 
do anything, though the Ajax debug window shows the following every time I 
double click:
<>
 
Can anyone point out 
what I might be doing wrong or a better way to go about 
this?
 
Thanks,
Karl

-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] Open Popup via Ajax

2006-10-16 Thread Karl M. Davis



Hello 
all,
 
What I'm trying to 
do is have a Label that I can double click to open a popup window.  I don't 
really care if it's Ajax or static _javascript_, I just need it to work.  
However, Ajax seemed easiest so I've added the following Ajax behavior to a 
Label:
 
<<
 private static class DoubleClickEditorAjaxBehavior extends 
AjaxEventBehavior {  // Constants  private 
static final long serialVersionUID = 
460292942456978352L;// Member 
Variables  private String url;
 
  /**   * Constructor.   
*/  public DoubleClickEditorAjaxBehavior(String 
url)  {   super("onDblClick");  this.url 
= "">  }
 
  /**   * Opens the [EMAIL PROTECTED] SnippetEditorPopupPage}.   *    
* @see 
wicket.ajax.AjaxEventBehavior#onEvent(wicket.ajax.AjaxRequestTarget)   
*/  @Override  protected void 
onEvent(AjaxRequestTarget 
target)  {   PopupSettings popupSettings = new 
PopupSettings(PageMap .forName("contentEditorPageMap")).setHeight( SnippetEditorPopupPage.WINDOWS_HEIGHT).setWidth( SnippetEditorPopupPage.WINDOW_WIDTH);   popupSettings.setTarget("'" 
+ url + "'");  if(target != 
null)target.appendJavascript(popupSettings.getPopupJavaScript());  } }>>
 
It doesn't seem to 
do anything, though the Ajax debug window shows the following every time I 
double click:
<>
 
Can anyone point out 
what I might be doing wrong or a better way to go about 
this?
 
Thanks,
Karl
-
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 reload page from within ajax call

2006-10-16 Thread Igor Vaynberg
soon :)-IgorOn 10/16/06, De Soca <[EMAIL PROTECTED]> wrote:
When approx. is 1.2.3 due out?Frank Bille wrote:>> We did add support for it in 1.2.2. Is that the version you use, De Soca?>> Frank>> On 10/16/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote: what version of wicket are you using? i thought we added support for>> setResponsePage() from an ajax call in 
1.2.2, but maybe im wrong and it>> will be in 1.2.3 -Igor>> On 10/16/06, De Soca <[EMAIL PROTECTED]> wrote:
>> >>> >>> > Hello all,>> >>> > I may be missing something basic, however I have a dirty flag within a>> > page>> > so that if the data has changed, on the next request the page is
>> > refreshed.>> >>> > The link clicked is an Ajax link within the AjaxTabbedPanel. Everything>> > else>> > works fine.>> >>> > I have tried the following:
>> >>> > 1. setResponsePage()>> >>> > 2. RequestCycle rc = RequestCycle.get();>> > rc.setResponsePage(ClientMasterPage.class);>> >>> > Neither of which provide the desired result.
>> >>> > Any suggestions are welcome.>> >>> > Thanks to all.>> >>> > -->> > View this message in context:>> 
http://www.nabble.com/How-to-reload-page-from-within-ajax-call-tf2455071.html#a6842823>> >>> > 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=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>>--View this message in context: http://www.nabble.com/How-to-reload-page-from-within-ajax-call-tf2455071.html#a6846996
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 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 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] How to reload page from within ajax call

2006-10-16 Thread De Soca

When approx. is 1.2.3 due out?


Frank Bille wrote:
> 
> We did add support for it in 1.2.2. Is that the version you use, De Soca?
> 
> Frank
> 
> On 10/16/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>>
>> what version of wicket are you using? i thought we added support for
>> setResponsePage() from an ajax call in 1.2.2, but maybe im wrong and it
>> will be in 1.2.3
>>
>> -Igor
>>
>>
>> On 10/16/06, De Soca <[EMAIL PROTECTED]> wrote:
>> >
>> >
>> > Hello all,
>> >
>> > I may be missing something basic, however I have a dirty flag within a
>> > page
>> > so that if the data has changed, on the next request the page is
>> > refreshed.
>> >
>> > The link clicked is an Ajax link within the AjaxTabbedPanel. Everything
>> > else
>> > works fine.
>> >
>> > I have tried the following:
>> >
>> > 1. setResponsePage()
>> >
>> > 2. RequestCycle rc = RequestCycle.get();
>> > rc.setResponsePage(ClientMasterPage.class);
>> >
>> > Neither of which provide the desired result.
>> >
>> > Any suggestions are welcome.
>> >
>> > Thanks to all.
>> >
>> > --
>> > View this message in context:
>> http://www.nabble.com/How-to-reload-page-from-within-ajax-call-tf2455071.html#a6842823
>> >
>> > 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=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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-reload-page-from-within-ajax-call-tf2455071.html#a6846996
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=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-contrib-data-ejb3

2006-10-16 Thread cowwoc
Hi,

There exists a module called wicket-contrib-data-hibernate-3.0. Are
there plans for releasing wicket-contrib-data-ejb3 in the near future? I
know Cheeser was working on one but I don't know how far along it is.

Thanks,
Gili



signature.asc
Description: OpenPGP digital signature
-
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 reload page from within ajax call

2006-10-16 Thread De Soca

Sorry,

I am using version 1.2.2


igor.vaynberg wrote:
> 
> what version of wicket are you using? i thought we added support for
> setResponsePage() from an ajax call in 1.2.2, but maybe im wrong and it
> will
> be in 1.2.3
> 
> -Igor
> 
> 
> On 10/16/06, De Soca <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello all,
>>
>> I may be missing something basic, however I have a dirty flag within a
>> page
>> so that if the data has changed, on the next request the page is
>> refreshed.
>>
>> The link clicked is an Ajax link within the AjaxTabbedPanel. Everything
>> else
>> works fine.
>>
>> I have tried the following:
>>
>> 1. setResponsePage()
>>
>> 2. RequestCycle rc = RequestCycle.get();
>> rc.setResponsePage(ClientMasterPage.class);
>>
>> Neither of which provide the desired result.
>>
>> Any suggestions are welcome.
>>
>> Thanks to all.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-reload-page-from-within-ajax-call-tf2455071.html#a6842823
>> 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=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/How-to-reload-page-from-within-ajax-call-tf2455071.html#a6846807
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=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] IBehavior#rendered() is called twice when a component that has that behavior is rendered via AJAX.

2006-10-16 Thread Igor Vaynberg
yes its a bug, please file it-igorOn 10/16/06, Caleb Land <[EMAIL PROTECTED]> wrote:
On 10/16/06, Caleb Land <
[EMAIL PROTECTED]> wrote:

I'm using Wicket 2.0The IBehavior#rendered() method is called twice when a component that has that behavior is rendered via AJAX.  When rendering the component though the normal process (not ajax) it is only called once.
Here are the two places it's getting called:The AjaxRequestTarget#respondComponent() method calls component.renderComponent() which tells the behaviors that the component was rendered (line 464 of AjaxRequestTarget.java



).The AjaxRequestTarget#respondHeaderContribution() method goes calls each component's renderedBehaviors() method which ends up calling IBehavior#rendered() (lines 538 and 549 of AjaxRequestTarget.java).

That should be "lines 513 and 524 of AjaxRequestTarget.java" 
The result of this is that Firefox, Safari, and Opera (I don't know about IE) end up executing any _javascript_ that's rendered through a behavior twice.
The example I tested was adding an AutoCompleteTextField to a page through ajax.If this is a bug I can add it to the JIRA.-- Caleb Land(


[EMAIL PROTECTED]
)


-- Caleb Land(
[EMAIL PROTECTED])

-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] IBehavior#rendered() is called twice when a component that has that behavior is rendered via AJAX.

2006-10-16 Thread Caleb Land
On 10/16/06, Caleb Land <[EMAIL PROTECTED]> wrote:
I'm using Wicket 2.0The IBehavior#rendered() method is called twice when a component that has that behavior is rendered via AJAX.  When rendering the component though the normal process (not ajax) it is only called once.
Here are the two places it's getting called:The AjaxRequestTarget#respondComponent() method calls component.renderComponent() which tells the behaviors that the component was rendered (line 464 of AjaxRequestTarget.java


).The AjaxRequestTarget#respondHeaderContribution() method goes calls each component's renderedBehaviors() method which ends up calling IBehavior#rendered() (lines 538 and 549 of AjaxRequestTarget.java).
That should be "lines 513 and 524 of AjaxRequestTarget.java" The result of this is that Firefox, Safari, and Opera (I don't know about IE) end up executing any _javascript_ that's rendered through a behavior twice.
The example I tested was adding an AutoCompleteTextField to a page through ajax.If this is a bug I can add it to the JIRA.-- Caleb Land(

[EMAIL PROTECTED]
)


-- Caleb Land([EMAIL PROTECTED])
-
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 2.0: Adding a component via ajax that contributes javascript (like AutoCompleteTextField) doesn't work correctly in Firefox

2006-10-16 Thread Caleb Land
For some reason if the _javascript_ is rendered in the component's onRender(MarkupStream) method (as opposed to rendering the _javascript_ through a behavior) the _javascript_ is executed correctly.
This is strange because when I look at the ajax debug window and compare the ajax responses of the two methods there isn't anything different other than rendering in a behavior causes the script to be rendered in a 
 as well as being rendered alongside the component.  I think this is caused by the issue I mention in my latest email "
IBehavior#rendered() is called twice when a component that has that behavior is rendered via AJAX".If I prevent Wicket from calling 
IBehavior#rendered() (as mentioned in the above referenced mail) twice on a component during an AJAX request  by commenting out the call to 
component.renderedBehaviors(); (AjaxRequestTarget.java line 524) then the _javascript_ is executed correctly in firefox, and that _javascript_ is not added as a 
 in the ajax response.I don't understand why having the _javascript_ in a  as well as a 
 in the response would cause it not to execute correctly.On 10/15/06, Caleb Land <[EMAIL PROTECTED]
> wrote:Okay.  I'm making this up as I go along, so this could be the worst idea ever, but what about scanning a component's response for 

[Wicket-user] IBehavior#rendered() is called twice when a component that has that behavior is rendered via AJAX.

2006-10-16 Thread Caleb Land
I'm using Wicket 2.0The IBehavior#rendered() method is called twice when a component that has that behavior is rendered via AJAX.  When rendering the component though the normal process (not ajax) it is only called once.
Here are the two places it's getting called:The AjaxRequestTarget#respondComponent() method calls component.renderComponent() which tells the behaviors that the component was rendered (line 464 of AjaxRequestTarget.java

).The AjaxRequestTarget#respondHeaderContribution() method goes calls each component's renderedBehaviors() method which ends up calling IBehavior#rendered() (lines 538 and 549 of AjaxRequestTarget.java).The result of this is that Firefox, Safari, and Opera (I don't know about IE) end up executing any _javascript_ that's rendered through a behavior twice.
The example I tested was adding an AutoCompleteTextField to a page through ajax.If this is a bug I can add it to the JIRA.-- Caleb Land(
[EMAIL PROTECTED]
)

-
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] Netscape 8.1.2 problems

2006-10-16 Thread Allen James
Has anyone run into issues using AJAX behaviour with Netscape 8.1.2 using 
the Firefox rendering mode?  I am currently using wicket 1.2.2.  At first I 
thought it was maybe just my app, but I tried to run the ajax examples off 
of http://www.wicket-library.com/wicket-examples/, and I can't get the to 
run properly either.  I can see the initial request get made through the 
debugger, but then it stalls and the subsequent calls get postponed due to 
the channel being busy.  When I run in IE rendering mode it appears to work 
just fine.

Any tips or help on what I may have setup incorrectly would be appreciated.

_
Stay in touch with old friends and meet new ones with Windows Live Spaces 
http://clk.atdmt.com/MSN/go/msnnkwsp007001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us


-
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] Move to Apache: Namespace?

2006-10-16 Thread Upayavira
Frank Bille wrote:
> I normally use xmlns:wicket="http://www.wicketframework.org"; and IMHO it 
> will stay the same.
> 
> Frank
> 
> 
> On 10/16/06, * Stefan Lindner* <[EMAIL PROTECTED] 
> > wrote:
> 
> This question is currently not so very imnportant but, for XHTML
> users, will the
> xmlns:wicket=http://wicket.sourceforge.net/
> 
> wicket namespace change too?

If it does, it will change with a major version - 2.0 or 3.0, not a 
minor version, I would say.

Regards, Upayavira


-
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 reload page from within ajax call

2006-10-16 Thread Frank Bille
We did add support for it in 1.2.2. Is that the version you use, De Soca?FrankOn 10/16/06, Igor Vaynberg <
[EMAIL PROTECTED]> wrote:what version of wicket are you using? i thought we added support for setResponsePage() from an ajax call in 
1.2.2, but maybe im wrong and it will be in 1.2.3-IgorOn 10/16/06, 
De Soca <[EMAIL PROTECTED]> wrote:

Hello all,I may be missing something basic, however I have a dirty flag within a pageso that if the data has changed, on the next request the page is refreshed.The link clicked is an Ajax link within the AjaxTabbedPanel. Everything else
works fine.I have tried the following:1. setResponsePage()2. RequestCycle rc = RequestCycle.get();rc.setResponsePage(ClientMasterPage.class);Neither of which provide the desired result.
Any suggestions are welcome.Thanks to all.--View this message in context: 
http://www.nabble.com/How-to-reload-page-from-within-ajax-call-tf2455071.html#a6842823
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 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 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


Re: [Wicket-user] How to reload page from within ajax call

2006-10-16 Thread Igor Vaynberg
what version of wicket are you using? i thought we added support for setResponsePage() from an ajax call in 1.2.2, but maybe im wrong and it will be in 1.2.3-IgorOn 10/16/06, 
De Soca <[EMAIL PROTECTED]> wrote:
Hello all,I may be missing something basic, however I have a dirty flag within a pageso that if the data has changed, on the next request the page is refreshed.The link clicked is an Ajax link within the AjaxTabbedPanel. Everything else
works fine.I have tried the following:1. setResponsePage()2. RequestCycle rc = RequestCycle.get();rc.setResponsePage(ClientMasterPage.class);Neither of which provide the desired result.
Any suggestions are welcome.Thanks to all.--View this message in context: http://www.nabble.com/How-to-reload-page-from-within-ajax-call-tf2455071.html#a6842823
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 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 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] How to reload page from within ajax call

2006-10-16 Thread De Soca

Hello all,

I may be missing something basic, however I have a dirty flag within a page
so that if the data has changed, on the next request the page is refreshed.

The link clicked is an Ajax link within the AjaxTabbedPanel. Everything else
works fine.

I have tried the following:

1. setResponsePage()
 
2. RequestCycle rc = RequestCycle.get();
rc.setResponsePage(ClientMasterPage.class);

Neither of which provide the desired result.

Any suggestions are welcome.

Thanks to all.

-- 
View this message in context: 
http://www.nabble.com/How-to-reload-page-from-within-ajax-call-tf2455071.html#a6842823
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=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] Move to Apache: Namespace?

2006-10-16 Thread Frank Bille
I normally use xmlns:wicket="http://www.wicketframework.org" and IMHO it will stay the same.FrankOn 10/16/06, 
Stefan Lindner <[EMAIL PROTECTED]> wrote:
This question is currently not so very imnportant but, for XHTML users, will thexmlns:wicket=http://wicket.sourceforge.net/wicket namespace change too?
Stefan Lindner-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


[Wicket-user] Move to Apache: Namespace?

2006-10-16 Thread Stefan Lindner
This question is currently not so very imnportant but, for XHTML users, will the
xmlns:wicket=http://wicket.sourceforge.net/

wicket namespace change too?

 

Stefan Lindner

<>-
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] Role authorization per page

2006-10-16 Thread ChuckDeal

I am using the RoleAuthorizationStrategy (which uses
MetaDataRoleAuthorizationStrategyinternally) in my app and it works fine.  I
have a user object that has a list of valid roles in the application.

What I want to do now is make my pages role-based.  For example, if you are
an originator, you would have access to more fields (some enabled, some
visible).  In this case, the role depends not only on the User, but also the
specific data being viewed.  It looks like I could use the
MetaDataRoleAuthorizationStrategy (MDRAS) with a different
IRoleCheckingStrategy (maybe implemented by the page) to accomplish this.

If anyone has implmeneted a finer-grained, data-based role system as opposed
to a coarser-grained, application role system, would you mind sharing your
strategy?

As far as what I am going to look into...
I can see the way to register the MDRAS with the Application (add() method
on CompoundAuthorizationStrategy). I'm pretty sure that I would want to
unregister the instance when the page is done so that the authorization
checking didn't get slowed down by unneeded Authorization Strategies (AS)
(maybe make a new version of CompoundAuthorizationStrategy that has a
remove() method).  But when would I unregister the AS for the page?  When
the request is done?  What about AJAX calls?

Any suggestions?
-- 
View this message in context: 
http://www.nabble.com/Role-authorization-per-page-tf2453766.html#a6838829
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=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] proof of concept app

2006-10-16 Thread Scott Swank
Gotcha.  Much appreciated.

On 10/16/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Nope, that would be fine. Just be careful no to keep references to
> stale pages and stuff.
>
> Eelco
>
>
> On 10/16/06, Scott Swank <[EMAIL PROTECTED]> wrote:
> > Are there any reasons not to add an additional reference to the cart
> > panel on the page, so that I could then do something simple like:
> >
> > ((MyPage)getPage()).getCartPanel()
> >
> > Does Wicket have any sort of assumptions about it & only it
> > maintaining references between components, such that the above would
> > cause trouble?
> >
> >
> >
> > On 10/16/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > > I haven't worked with modal windows yet (though I like em!) but did
> > > you try to create one with a panel? That panel could just be a private
> > > class, and could reference theCartPanel or you could pass theCartPanel
> > > to it's constructor, and adding it to the ajax request target should
> > > work fine.
> > >
> > > The only thing I'm not sure whether it would give problems is whether
> > > the modal window layer is in the way of reaching the dom element for
> > > replacement properly. Maybe Matej or Igor can say more about that.
> > >
> > > Eelco
> > >
> > >
> > > On 10/15/06, Scott Swank <[EMAIL PROTECTED]> wrote:
> > > > One weekend later and I'm working on this again.  Here's my situation:
> > > >
> > > > page
> > > > - browse panel
> > > > - cart panel
> > > > - modal window
> > > > - - edit item form (inside the modal window)
> > > >
> > > > I have an ajax submit button in the EditItemForm.  I need to call
> > > >
> > > >   public void onSubmit(AjaxRequestTarget target, Form f) {
> > > > target.addComponent(theCartPanel);
> > > > ModalWindow.close(target);
> > > >   }
> > > >
> > > > My problem is: how do I get access to the cart panel from within the
> > > > form in the modal window?  Here's what I've come up with, and
> > > > everything feels a bit ugly:
> > > >
> > > > 1. I can get the cart from the session and have the cart fetch the
> > > > cart panel -- ugh, the cart (business object) shouldn't know about a
> > > > UI widget.
> > > > 2.  I can pass the cart panel in as my model object
> > > > 3. I could put the cart panel in the session (or my own ThreadLocal)
> > > > 4. I could crawl my way back up
> > > > findParent(ProductPanel.class).visitChildren(IVisitorThatHandlesTargetAddComponent)
> > > >
> > > > Any suggestions would be entirely welcome.
> > > >
> > > > Thanks,
> > > > Scott
> > > >
> > > > On 10/9/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > > > > the question is one of lifecycle. does your reportmodel need to live 
> > > > > as long
> > > > > as the user's session? if not then you dont need to put it into 
> > > > > session.
> > > > >
> > > > > a shopping cart usually spans the session - so it makes complete 
> > > > > sense to
> > > > > put it there.
> > > > >
> > > > > -Igor
> > > > >
> > > > >
> > > > >
> > > > > On 10/9/06, Nino Wael <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Why?
> > > > > >
> > > > > > Keeping the cart within constructors are kinda more POJO i think.
> > > > > >
> > > > > > What I am working on now, we have a reportmodel and almost all our 
> > > > > > pages
> > > > > has a  constructor that requires our reportmodel, so we dont need to 
> > > > > be
> > > > > aware of session.
> > > > > >
> > > > > > I feel that the application becomes more simple that way, however 
> > > > > > we do
> > > > > not have a LOT of panels, we have some which uses abstractmodels that 
> > > > > grabs
> > > > > their data from the reportmodel, when switching pages we pass the
> > > > > reportmodel through.
> > > > > >
> > > > > > This might be a different approach from what you need when building 
> > > > > > a
> > > > > store site, but it feels pretty a lot simpler than have something 
> > > > > stored in
> > > > > session context.
> > > > > >
> > > > > > regards Nino
> > > > > >
> > > > > >
> > > > > > -Original Message-
> > > > > > From:   [EMAIL PROTECTED] on
> > > > > behalf of Eelco Hillenius
> > > > > > Sent:   Mon 09-10-2006 20:14
> > > > > > To: wicket-user@lists.sourceforge.net
> > > > > > Cc:
> > > > > > Subject:Re: [Wicket-user] proof of concept app
> > > > > >
> > > > > > If you're main domain is a store, and a cart is information you want
> > > > > > to keep throughout, it does make sense to put it in a session, so 
> > > > > > that
> > > > > > you don't have to pass it around your pages and panels all the time.
> > > > > >
> > > > > > Eelco
> > > > > >
> > > > > > On 10/9/06, Nino Wael <[EMAIL PROTECTED]> wrote:
> > > > > > > Looks nice(just skimping the code through without running it 
> > > > > > > though),
> > > > > however I can see that you have extended the session, do you really 
> > > > > have a
> > > > > need to store the cart in session context?
> > > > > > >
> > > > > > > Why not just create it on PosPage?
> > > > > > >
> > > > > > >
> > > > > > > -rega

Re: [Wicket-user] proof of concept app

2006-10-16 Thread Eelco Hillenius
Nope, that would be fine. Just be careful no to keep references to
stale pages and stuff.

Eelco


On 10/16/06, Scott Swank <[EMAIL PROTECTED]> wrote:
> Are there any reasons not to add an additional reference to the cart
> panel on the page, so that I could then do something simple like:
>
> ((MyPage)getPage()).getCartPanel()
>
> Does Wicket have any sort of assumptions about it & only it
> maintaining references between components, such that the above would
> cause trouble?
>
>
>
> On 10/16/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > I haven't worked with modal windows yet (though I like em!) but did
> > you try to create one with a panel? That panel could just be a private
> > class, and could reference theCartPanel or you could pass theCartPanel
> > to it's constructor, and adding it to the ajax request target should
> > work fine.
> >
> > The only thing I'm not sure whether it would give problems is whether
> > the modal window layer is in the way of reaching the dom element for
> > replacement properly. Maybe Matej or Igor can say more about that.
> >
> > Eelco
> >
> >
> > On 10/15/06, Scott Swank <[EMAIL PROTECTED]> wrote:
> > > One weekend later and I'm working on this again.  Here's my situation:
> > >
> > > page
> > > - browse panel
> > > - cart panel
> > > - modal window
> > > - - edit item form (inside the modal window)
> > >
> > > I have an ajax submit button in the EditItemForm.  I need to call
> > >
> > >   public void onSubmit(AjaxRequestTarget target, Form f) {
> > > target.addComponent(theCartPanel);
> > > ModalWindow.close(target);
> > >   }
> > >
> > > My problem is: how do I get access to the cart panel from within the
> > > form in the modal window?  Here's what I've come up with, and
> > > everything feels a bit ugly:
> > >
> > > 1. I can get the cart from the session and have the cart fetch the
> > > cart panel -- ugh, the cart (business object) shouldn't know about a
> > > UI widget.
> > > 2.  I can pass the cart panel in as my model object
> > > 3. I could put the cart panel in the session (or my own ThreadLocal)
> > > 4. I could crawl my way back up
> > > findParent(ProductPanel.class).visitChildren(IVisitorThatHandlesTargetAddComponent)
> > >
> > > Any suggestions would be entirely welcome.
> > >
> > > Thanks,
> > > Scott
> > >
> > > On 10/9/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > > > the question is one of lifecycle. does your reportmodel need to live as 
> > > > long
> > > > as the user's session? if not then you dont need to put it into session.
> > > >
> > > > a shopping cart usually spans the session - so it makes complete sense 
> > > > to
> > > > put it there.
> > > >
> > > > -Igor
> > > >
> > > >
> > > >
> > > > On 10/9/06, Nino Wael <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Why?
> > > > >
> > > > > Keeping the cart within constructors are kinda more POJO i think.
> > > > >
> > > > > What I am working on now, we have a reportmodel and almost all our 
> > > > > pages
> > > > has a  constructor that requires our reportmodel, so we dont need to be
> > > > aware of session.
> > > > >
> > > > > I feel that the application becomes more simple that way, however we 
> > > > > do
> > > > not have a LOT of panels, we have some which uses abstractmodels that 
> > > > grabs
> > > > their data from the reportmodel, when switching pages we pass the
> > > > reportmodel through.
> > > > >
> > > > > This might be a different approach from what you need when building a
> > > > store site, but it feels pretty a lot simpler than have something 
> > > > stored in
> > > > session context.
> > > > >
> > > > > regards Nino
> > > > >
> > > > >
> > > > > -Original Message-
> > > > > From:   [EMAIL PROTECTED] on
> > > > behalf of Eelco Hillenius
> > > > > Sent:   Mon 09-10-2006 20:14
> > > > > To: wicket-user@lists.sourceforge.net
> > > > > Cc:
> > > > > Subject:Re: [Wicket-user] proof of concept app
> > > > >
> > > > > If you're main domain is a store, and a cart is information you want
> > > > > to keep throughout, it does make sense to put it in a session, so that
> > > > > you don't have to pass it around your pages and panels all the time.
> > > > >
> > > > > Eelco
> > > > >
> > > > > On 10/9/06, Nino Wael <[EMAIL PROTECTED]> wrote:
> > > > > > Looks nice(just skimping the code through without running it 
> > > > > > though),
> > > > however I can see that you have extended the session, do you really 
> > > > have a
> > > > need to store the cart in session context?
> > > > > >
> > > > > > Why not just create it on PosPage?
> > > > > >
> > > > > >
> > > > > > -regards Nino
> > > > > >
> > > > > >
> > > > > > -Original Message-
> > > > > > From:   [EMAIL PROTECTED] on
> > > > behalf of Scott Swank
> > > > > > Sent:   Mon 09-10-2006 18:30
> > > > > > To: wicket-user@lists.sourceforge.net
> > > > > > Cc:
> > > > > > Subject:[Wicket-user] proof of concept app
> > > > > >
> > > > > > I've been pushing to use Wicket as our new web

Re: [Wicket-user] proof of concept app

2006-10-16 Thread Scott Swank
Are there any reasons not to add an additional reference to the cart
panel on the page, so that I could then do something simple like:

((MyPage)getPage()).getCartPanel()

Does Wicket have any sort of assumptions about it & only it
maintaining references between components, such that the above would
cause trouble?



On 10/16/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> I haven't worked with modal windows yet (though I like em!) but did
> you try to create one with a panel? That panel could just be a private
> class, and could reference theCartPanel or you could pass theCartPanel
> to it's constructor, and adding it to the ajax request target should
> work fine.
>
> The only thing I'm not sure whether it would give problems is whether
> the modal window layer is in the way of reaching the dom element for
> replacement properly. Maybe Matej or Igor can say more about that.
>
> Eelco
>
>
> On 10/15/06, Scott Swank <[EMAIL PROTECTED]> wrote:
> > One weekend later and I'm working on this again.  Here's my situation:
> >
> > page
> > - browse panel
> > - cart panel
> > - modal window
> > - - edit item form (inside the modal window)
> >
> > I have an ajax submit button in the EditItemForm.  I need to call
> >
> >   public void onSubmit(AjaxRequestTarget target, Form f) {
> > target.addComponent(theCartPanel);
> > ModalWindow.close(target);
> >   }
> >
> > My problem is: how do I get access to the cart panel from within the
> > form in the modal window?  Here's what I've come up with, and
> > everything feels a bit ugly:
> >
> > 1. I can get the cart from the session and have the cart fetch the
> > cart panel -- ugh, the cart (business object) shouldn't know about a
> > UI widget.
> > 2.  I can pass the cart panel in as my model object
> > 3. I could put the cart panel in the session (or my own ThreadLocal)
> > 4. I could crawl my way back up
> > findParent(ProductPanel.class).visitChildren(IVisitorThatHandlesTargetAddComponent)
> >
> > Any suggestions would be entirely welcome.
> >
> > Thanks,
> > Scott
> >
> > On 10/9/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > > the question is one of lifecycle. does your reportmodel need to live as 
> > > long
> > > as the user's session? if not then you dont need to put it into session.
> > >
> > > a shopping cart usually spans the session - so it makes complete sense to
> > > put it there.
> > >
> > > -Igor
> > >
> > >
> > >
> > > On 10/9/06, Nino Wael <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Why?
> > > >
> > > > Keeping the cart within constructors are kinda more POJO i think.
> > > >
> > > > What I am working on now, we have a reportmodel and almost all our pages
> > > has a  constructor that requires our reportmodel, so we dont need to be
> > > aware of session.
> > > >
> > > > I feel that the application becomes more simple that way, however we do
> > > not have a LOT of panels, we have some which uses abstractmodels that 
> > > grabs
> > > their data from the reportmodel, when switching pages we pass the
> > > reportmodel through.
> > > >
> > > > This might be a different approach from what you need when building a
> > > store site, but it feels pretty a lot simpler than have something stored 
> > > in
> > > session context.
> > > >
> > > > regards Nino
> > > >
> > > >
> > > > -Original Message-
> > > > From:   [EMAIL PROTECTED] on
> > > behalf of Eelco Hillenius
> > > > Sent:   Mon 09-10-2006 20:14
> > > > To: wicket-user@lists.sourceforge.net
> > > > Cc:
> > > > Subject:Re: [Wicket-user] proof of concept app
> > > >
> > > > If you're main domain is a store, and a cart is information you want
> > > > to keep throughout, it does make sense to put it in a session, so that
> > > > you don't have to pass it around your pages and panels all the time.
> > > >
> > > > Eelco
> > > >
> > > > On 10/9/06, Nino Wael <[EMAIL PROTECTED]> wrote:
> > > > > Looks nice(just skimping the code through without running it though),
> > > however I can see that you have extended the session, do you really have a
> > > need to store the cart in session context?
> > > > >
> > > > > Why not just create it on PosPage?
> > > > >
> > > > >
> > > > > -regards Nino
> > > > >
> > > > >
> > > > > -Original Message-
> > > > > From:   [EMAIL PROTECTED] on
> > > behalf of Scott Swank
> > > > > Sent:   Mon 09-10-2006 18:30
> > > > > To: wicket-user@lists.sourceforge.net
> > > > > Cc:
> > > > > Subject:[Wicket-user] proof of concept app
> > > > >
> > > > > I've been pushing to use Wicket as our new web UI framework.  We
> > > currently
> > > > > have a custom template that resembles Velocity.  The broad concensus 
> > > > > is
> > > to
> > > > > go with JSF.  While I'm convinced that JSF will work for us it always
> > > seems
> > > > > so cumbersome.
> > > > >
> > > > > I've convinced by boss to give Wicket a 2nd look, and so this weekend 
> > > > > I
> > > > > threw together the attached.  If anyone is inclined to give it a quick
> > > > > glance 

Re: [Wicket-user] timeout event

2006-10-16 Thread Ayodeji Aladejebi
thank you eelco. that is more like it

On 10/16/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> Alternatively, you could provide your own IHttpSessionStore. If you
> extend from HttpSessionStore or AbstractHttpSessionStore, you'll get a
> callback on onUnbind. You can't depend on the httpsession at that
> time, as it is being cleaned up, maybe already half way, but if you
> keep references to the Wicket session objects (add in onBind), you can
> still use that in onUnbind.
>
> Eelco
>
>
>
> On 10/16/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> > well i am working on a tiny wicket ajax chat component and i need a way
> for
> > the other forum members to know when a participant of the chat forum
> leaves
> > either by logging off (easy) or by leaving his web page idle until his
> > session times out , which is where i am not sure where to start but let me
> > go over eelcos reference
> >
> >
> > thanks
> >
> > On 10/15/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > > just before is not possible (as far as i know)
> > > it is always after..
> > > you can't touch the session then anymore  (by using a httpsession
> > listener)
> > > so what do you want to do?
> > >
> > > johan
> > >
> > >
> > > On 10/15/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> > > > please in a situation where my application needs to trigger an event
> > > > just before a session timeout, what can i do. 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=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
> > >
> > >
> > >
> >
> >
> >
> > --
> > Aladejebi Ayodeji A.,
> >
> > DabarObjects Solutions
> > Email: [EMAIL PROTECTED]
> > Mobile: +234 803 589 1780
> > Web: www.dabarobjects.com
> > Blog: blog.dabarobjects.com
> >
> > Community:
> > www.cowblock.net
> > -
> > 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
>


-- 
Aladejebi Ayodeji A.,

DabarObjects Solutions
Email: [EMAIL PROTECTED]
Mobile: +234 803 589 1780
Web: www.dabarobjects.com
Blog: blog.dabarobjects.com

Community:
www.cowblock.net

-
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 starts incubation at Apache

2006-10-16 Thread Upayavira
Pierre-Yves Saumont wrote:
> It works much better with http ;-)

Great. https (while it may sometimes work) is really only intended for 
use when you are committing.

Regards, Upayavira


-
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 starts incubation at Apache

2006-10-16 Thread Pierre-Yves Saumont
It works much better with http ;-)

Gwyn Evans a écrit :
> As Upayavira says, try with http & see if that makes a difference?
> If not, I'm not sure - What client is that? Maybe try from a
> command-line client, if not already?  I checked it with "svn co
> http://svn.apache.org/repos/asf/incubator/wicket/trunk"; and had no
> problems (although
> http://svn.apache.org/repos/asf/incubator/wicket/trunk/wicket-parent
> might be a smaller test!)
> 
> /Gwyn
> 
> On 16/10/06, Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote:
>> Until now, it has been impossible for me to do a clean checkout from
>> Apache. The connexion is closed by the server well before the checkout
>> is complete. :-(
>>
>> Here is the error I get :
>>
>> Error: REPORT request failed on '/repos/asf/!svn/vcc/default'
>> Error: REPORT of '/repos/asf/!svn/vcc/default': Could not read chunk
>> size: A connection has been closed by the distant host.
>> (https://svn.apache.org)
>>
>> Pierre-Yves
>>
>>
>> Gwyn Evans a écrit :
>> > On 16/10/06, Anders Peterson <[EMAIL PROTECTED]> wrote:
>> >> Why?
>> >
>> > Discussed on the mailing list (e.g.
>> > http://www.nabble.com/apache-wicket--tf2012023.html#a5529288) but
>> > http://wiki.apache.org/incubator/WicketProposal covers what we felt
>> > were the main reasons.
>> >
>> > /Gwyn
>> >
>> >
>> >> Martijn Dashorst wrote:
>> >>> The Wicket team is proud to announce that we are starting the process
>> >>> of joining the Apache Software Foundation.
>> >>>
>> >>> When projects first move to Apache, they are housed at the Apache
>> >>> Incubator. The Incubator helps incoming projects migrate to the
>> >>> vibrant Apache community. One of the primary goals of the 
>> incubator is
>> >>> to ensure that the joining community is open, diverse and effective
>> >>> meritocracy.
>> >>>
>> >>> During Wicket's incubation we will resolve any issues regarding
>> >>> license (in)compatibilities that might be present in our code. For
>> >>> more information on the incubation process, please read the documents
>> >>> found on the incubator website.
>> >>>
>> >>> To facilitate our transition we have moved parts of our development
>> >>> infrastructure to the Apache Incubator:
>> >>>
>> >>>  o the subversion repository is now hosted at
>> >>> https://svn.apache.org/repos/asf/incubator/wicket
>> >>>  o the development mailing list is now provided by wicket-dev at
>> >>> incubator.apache.org
>> >>>  o the commit mailing list is now wicket-commits at 
>> incubator.apache.org
>> >>>  o our bug tracking system is now hosted at
>> >>> http://issues.apache.org/jira/browse/WICKET
>> >>>
>> >>> Please join our incubating community at Apache by subscribing to the
>> >>> Wicket development list. Send a message to:
>> >>>
>> >>> wicket-dev-subscribe at incubator.apache.org
>> >>>
>> >>> and follow the instructions.
>> >>>
>> >>> If you want to recieve commit messages from Wicket to track our
>> >>> development, please send a message to
>> >>>
>> >>> wicket-commits-subscribe at incubator.apache.org
>> >>>
>> >>> and follow the instructions.
>> >>>
>> >>> When you need to file a bug report, a patch or a request for
>> >>> enhancement (RFE), then please do so at our Apache JIRA installation:
>> >>>
>> >>> http://issues.apache.org/jira/browse/WICKET
>> >>>
>> >>> We are in the process of importing the contents of the sourceforge
>> >>> trackers into our JIRA project space. This will loose some 
>> information
>> >>> in the process, however we strive to keep as much information as
>> >>> possible.
>> >>>
>> >>> As always, have fun and thanks for your support using Wicket!
>> >>>
>> >>> - the Wicket team
>> >>>
>> >>> ps. apologies for the cross posting
>> >>
>> >> --
>> >> http://ojalgo.org/
>> >>
>> >> Mathematics, Linear Algebra and Optimisation with Java
>> >>
>> >
>>
>>
>> -
>> 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] htmlunit (or jwebunit), wicket and ajax

2006-10-16 Thread Decebal Suiu
Thanks Martijn,
Decebal

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

> I haven't used RC yet. I just know and have
> experienced that a manual
> start of the tests works perfectly together with
> ajax testing.
> 
> Martijn
> 
> On 10/16/06, Decebal Suiu <[EMAIL PROTECTED]>
> wrote:
> > Ok,
> >
> > Selenium Remote Control with junit works in this
> case?
> > Any example, advice or success story?
> >
> > Thanks,
> > Decebal
> >
> > --- Martijn Dashorst <[EMAIL PROTECTED]>
> > wrote:
> >
> > > No,
> > >
> > > The problem is that dom and javascript are not
> > > completely implemented
> > > in both frameworks.
> > >
> > > For functional tests I advise to use Selenium
> > > instead.
> > >
> > > Martijn
> > >
> > >
> > > On 10/16/06, Decebal Suiu
> <[EMAIL PROTECTED]>
> > > wrote:
> > > > Has anybody used htmlunit (or jwebunit) with
> > > success
> > > > to create a functional test for a wicket
> > > application
> > > > that contains ajax code?
> > > > In a few words: I have a html page with a
> select
> > > > element inside. When I select an option from
> this,
> > > an
> > > > ajax request is made on the server and an
> input
> > > text
> > > > appears on the page.
> > > > My question is: How can I retrieve the input
> text
> > > in
> > > > the unit test using htmlunit/jwebunit?
> > > > I have here a very simple unit test that
> doesn't
> > > work
> > > > (I cann't retrieve the input text).
> > > >
> > > > WebClient webClient = new WebClient();
> > > > webClient.setRedirectEnabled(true);
> > > > webClient.setJavaScriptEnabled(true);
> > > > HtmlPage page = (HtmlPage)
> > > webClient.getPage(baseUrl);
> > > > Htmlform form = (HtmlForm)
> page.getForms().get(0);
> > > > HtmlSelect select =
> > > form.getSelectByName("mySelect");
> > > > page = (HtmlPage)
> select.setSelectedAttribute("0",
> > > > true);
> > > >
> > >
> >
>
assertTrue(page.getEnclosingWindow().getThreadManager().joinAll(5
> > > > * 1000));
> > > > System.out.println(page.asXml());
> > > >
> > > > I attached the entire source code of the test.
> > > > I used wicket 1.2.2 and htmlunit 1.9 with java
> 1.5
> > > on
> > > > linux.
> > > > Where could be the problem (wicket, htmlunit,
> my
> > > > code)?
> > > >
> > > > Thanks,
> > > > Decebal
> > > >
> > > >
> __
> > > > Do You Yahoo!?
> > > > Tired of spam?  Yahoo! Mail has the best spam
> > > protection around
> > > > http://mail.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=lnk&kid=120709&bid=263057&dat=121642
> > > >
> > > >
> ___
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > >
> > >
> >
>
https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > >  > >
> >
>
href="http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote
> > > for  > >
> >
>
href="http://www.thebeststuffintheworld.com/stuff/wicket";>Wicket
> > > at the  > >
> href="http://www.thebeststuffintheworld.com/";>Best
> > > Stuff in
> > > the World!
> > >
> > >
> >
>
-
> > > 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
> > >
> >
> >
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.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=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> 
> 
> -- 
> 
href="http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote
> for 
href="http://www.thebeststuffintheworl

Re: [Wicket-user] Wicket starts incubation at Apache

2006-10-16 Thread Gwyn Evans
As Upayavira says, try with http & see if that makes a difference?
If not, I'm not sure - What client is that? Maybe try from a
command-line client, if not already?  I checked it with "svn co
http://svn.apache.org/repos/asf/incubator/wicket/trunk"; and had no
problems (although
http://svn.apache.org/repos/asf/incubator/wicket/trunk/wicket-parent
might be a smaller test!)

/Gwyn

On 16/10/06, Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote:
> Until now, it has been impossible for me to do a clean checkout from
> Apache. The connexion is closed by the server well before the checkout
> is complete. :-(
>
> Here is the error I get :
>
> Error: REPORT request failed on '/repos/asf/!svn/vcc/default'
> Error: REPORT of '/repos/asf/!svn/vcc/default': Could not read chunk
> size: A connection has been closed by the distant host.
> (https://svn.apache.org)
>
> Pierre-Yves
>
>
> Gwyn Evans a écrit :
> > On 16/10/06, Anders Peterson <[EMAIL PROTECTED]> wrote:
> >> Why?
> >
> > Discussed on the mailing list (e.g.
> > http://www.nabble.com/apache-wicket--tf2012023.html#a5529288) but
> > http://wiki.apache.org/incubator/WicketProposal covers what we felt
> > were the main reasons.
> >
> > /Gwyn
> >
> >
> >> Martijn Dashorst wrote:
> >>> The Wicket team is proud to announce that we are starting the process
> >>> of joining the Apache Software Foundation.
> >>>
> >>> When projects first move to Apache, they are housed at the Apache
> >>> Incubator. The Incubator helps incoming projects migrate to the
> >>> vibrant Apache community. One of the primary goals of the incubator is
> >>> to ensure that the joining community is open, diverse and effective
> >>> meritocracy.
> >>>
> >>> During Wicket's incubation we will resolve any issues regarding
> >>> license (in)compatibilities that might be present in our code. For
> >>> more information on the incubation process, please read the documents
> >>> found on the incubator website.
> >>>
> >>> To facilitate our transition we have moved parts of our development
> >>> infrastructure to the Apache Incubator:
> >>>
> >>>  o the subversion repository is now hosted at
> >>> https://svn.apache.org/repos/asf/incubator/wicket
> >>>  o the development mailing list is now provided by wicket-dev at
> >>> incubator.apache.org
> >>>  o the commit mailing list is now wicket-commits at incubator.apache.org
> >>>  o our bug tracking system is now hosted at
> >>> http://issues.apache.org/jira/browse/WICKET
> >>>
> >>> Please join our incubating community at Apache by subscribing to the
> >>> Wicket development list. Send a message to:
> >>>
> >>> wicket-dev-subscribe at incubator.apache.org
> >>>
> >>> and follow the instructions.
> >>>
> >>> If you want to recieve commit messages from Wicket to track our
> >>> development, please send a message to
> >>>
> >>> wicket-commits-subscribe at incubator.apache.org
> >>>
> >>> and follow the instructions.
> >>>
> >>> When you need to file a bug report, a patch or a request for
> >>> enhancement (RFE), then please do so at our Apache JIRA installation:
> >>>
> >>> http://issues.apache.org/jira/browse/WICKET
> >>>
> >>> We are in the process of importing the contents of the sourceforge
> >>> trackers into our JIRA project space. This will loose some information
> >>> in the process, however we strive to keep as much information as
> >>> possible.
> >>>
> >>> As always, have fun and thanks for your support using Wicket!
> >>>
> >>> - the Wicket team
> >>>
> >>> ps. apologies for the cross posting
> >>
> >> --
> >> http://ojalgo.org/
> >>
> >> Mathematics, Linear Algebra and Optimisation with Java
> >>
> >
>
>
> -
> 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! - 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] htmlunit (or jwebunit), wicket and ajax

2006-10-16 Thread Martijn Dashorst
I haven't used RC yet. I just know and have experienced that a manual
start of the tests works perfectly together with ajax testing.

Martijn

On 10/16/06, Decebal Suiu <[EMAIL PROTECTED]> wrote:
> Ok,
>
> Selenium Remote Control with junit works in this case?
> Any example, advice or success story?
>
> Thanks,
> Decebal
>
> --- Martijn Dashorst <[EMAIL PROTECTED]>
> wrote:
>
> > No,
> >
> > The problem is that dom and javascript are not
> > completely implemented
> > in both frameworks.
> >
> > For functional tests I advise to use Selenium
> > instead.
> >
> > Martijn
> >
> >
> > On 10/16/06, Decebal Suiu <[EMAIL PROTECTED]>
> > wrote:
> > > Has anybody used htmlunit (or jwebunit) with
> > success
> > > to create a functional test for a wicket
> > application
> > > that contains ajax code?
> > > In a few words: I have a html page with a select
> > > element inside. When I select an option from this,
> > an
> > > ajax request is made on the server and an input
> > text
> > > appears on the page.
> > > My question is: How can I retrieve the input text
> > in
> > > the unit test using htmlunit/jwebunit?
> > > I have here a very simple unit test that doesn't
> > work
> > > (I cann't retrieve the input text).
> > >
> > > WebClient webClient = new WebClient();
> > > webClient.setRedirectEnabled(true);
> > > webClient.setJavaScriptEnabled(true);
> > > HtmlPage page = (HtmlPage)
> > webClient.getPage(baseUrl);
> > > Htmlform form = (HtmlForm) page.getForms().get(0);
> > > HtmlSelect select =
> > form.getSelectByName("mySelect");
> > > page = (HtmlPage) select.setSelectedAttribute("0",
> > > true);
> > >
> >
> assertTrue(page.getEnclosingWindow().getThreadManager().joinAll(5
> > > * 1000));
> > > System.out.println(page.asXml());
> > >
> > > I attached the entire source code of the test.
> > > I used wicket 1.2.2 and htmlunit 1.9 with java 1.5
> > on
> > > linux.
> > > Where could be the problem (wicket, htmlunit, my
> > > code)?
> > >
> > > Thanks,
> > > Decebal
> > >
> > > __
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > protection around
> > > http://mail.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=lnk&kid=120709&bid=263057&dat=121642
> > >
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> > >
> > >
> >
> >
> > --
> >  >
> href="http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote
> > for  >
> href="http://www.thebeststuffintheworld.com/stuff/wicket";>Wicket
> > at the  > href="http://www.thebeststuffintheworld.com/";>Best
> > Stuff in
> > the World!
> >
> >
> -
> > 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
> >
>
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.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=lnk&kid=120709&bid=263057&dat=121642
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-- 
http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote
for http://www.thebeststuffintheworld.com/stuff/wicket";>Wicket
at the http://www.thebeststuffintheworld.com/";>Best Stuff in
the World!

-
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=12164

Re: [Wicket-user] Wicket starts incubation at Apache

2006-10-16 Thread Upayavira
Pierre-Yves Saumont wrote:
> Until now, it has been impossible for me to do a clean checkout from 
> Apache. The connexion is closed by the server well before the checkout 
> is complete. :-(
> 
> Here is the error I get :
> 
> Error: REPORT request failed on '/repos/asf/!svn/vcc/default'
> Error: REPORT of '/repos/asf/!svn/vcc/default': Could not read chunk 
> size: A connection has been closed by the distant host. 
> (https://svn.apache.org)

Have you tried it via http, rather than https?

Upayavira


-
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] timeout event

2006-10-16 Thread Eelco Hillenius
Alternatively, you could provide your own IHttpSessionStore. If you
extend from HttpSessionStore or AbstractHttpSessionStore, you'll get a
callback on onUnbind. You can't depend on the httpsession at that
time, as it is being cleaned up, maybe already half way, but if you
keep references to the Wicket session objects (add in onBind), you can
still use that in onUnbind.

Eelco



On 10/16/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> well i am working on a tiny wicket ajax chat component and i need a way for
> the other forum members to know when a participant of the chat forum leaves
> either by logging off (easy) or by leaving his web page idle until his
> session times out , which is where i am not sure where to start but let me
> go over eelcos reference
>
>
> thanks
>
> On 10/15/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > just before is not possible (as far as i know)
> > it is always after..
> > you can't touch the session then anymore  (by using a httpsession
> listener)
> > so what do you want to do?
> >
> > johan
> >
> >
> > On 10/15/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
> > > please in a situation where my application needs to trigger an event
> > > just before a session timeout, what can i do. 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=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
> >
> >
> >
>
>
>
> --
> Aladejebi Ayodeji A.,
>
> DabarObjects Solutions
> Email: [EMAIL PROTECTED]
> Mobile: +234 803 589 1780
> Web: www.dabarobjects.com
> Blog: blog.dabarobjects.com
>
> Community:
> www.cowblock.net
> -
> 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] htmlunit (or jwebunit), wicket and ajax

2006-10-16 Thread Decebal Suiu
Ok,

Selenium Remote Control with junit works in this case?
Any example, advice or success story?

Thanks,
Decebal

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

> No,
> 
> The problem is that dom and javascript are not
> completely implemented
> in both frameworks.
> 
> For functional tests I advise to use Selenium
> instead.
> 
> Martijn
> 
> 
> On 10/16/06, Decebal Suiu <[EMAIL PROTECTED]>
> wrote:
> > Has anybody used htmlunit (or jwebunit) with
> success
> > to create a functional test for a wicket
> application
> > that contains ajax code?
> > In a few words: I have a html page with a select
> > element inside. When I select an option from this,
> an
> > ajax request is made on the server and an input
> text
> > appears on the page.
> > My question is: How can I retrieve the input text
> in
> > the unit test using htmlunit/jwebunit?
> > I have here a very simple unit test that doesn't
> work
> > (I cann't retrieve the input text).
> >
> > WebClient webClient = new WebClient();
> > webClient.setRedirectEnabled(true);
> > webClient.setJavaScriptEnabled(true);
> > HtmlPage page = (HtmlPage)
> webClient.getPage(baseUrl);
> > Htmlform form = (HtmlForm) page.getForms().get(0);
> > HtmlSelect select =
> form.getSelectByName("mySelect");
> > page = (HtmlPage) select.setSelectedAttribute("0",
> > true);
> >
>
assertTrue(page.getEnclosingWindow().getThreadManager().joinAll(5
> > * 1000));
> > System.out.println(page.asXml());
> >
> > I attached the entire source code of the test.
> > I used wicket 1.2.2 and htmlunit 1.9 with java 1.5
> on
> > linux.
> > Where could be the problem (wicket, htmlunit, my
> > code)?
> >
> > Thanks,
> > Decebal
> >
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.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=lnk&kid=120709&bid=263057&dat=121642
> >
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
> >
> >
> 
> 
> -- 
> 
href="http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote
> for 
href="http://www.thebeststuffintheworld.com/stuff/wicket";>Wicket
> at the  href="http://www.thebeststuffintheworld.com/";>Best
> Stuff in
> the World!
> 
>
-
> 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
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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=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 starts incubation at Apache

2006-10-16 Thread Pierre-Yves Saumont
Until now, it has been impossible for me to do a clean checkout from 
Apache. The connexion is closed by the server well before the checkout 
is complete. :-(

Here is the error I get :

Error: REPORT request failed on '/repos/asf/!svn/vcc/default'
Error: REPORT of '/repos/asf/!svn/vcc/default': Could not read chunk 
size: A connection has been closed by the distant host. 
(https://svn.apache.org)

Pierre-Yves


Gwyn Evans a écrit :
> On 16/10/06, Anders Peterson <[EMAIL PROTECTED]> wrote:
>> Why?
> 
> Discussed on the mailing list (e.g.
> http://www.nabble.com/apache-wicket--tf2012023.html#a5529288) but
> http://wiki.apache.org/incubator/WicketProposal covers what we felt
> were the main reasons.
> 
> /Gwyn
> 
> 
>> Martijn Dashorst wrote:
>>> The Wicket team is proud to announce that we are starting the process
>>> of joining the Apache Software Foundation.
>>>
>>> When projects first move to Apache, they are housed at the Apache
>>> Incubator. The Incubator helps incoming projects migrate to the
>>> vibrant Apache community. One of the primary goals of the incubator is
>>> to ensure that the joining community is open, diverse and effective
>>> meritocracy.
>>>
>>> During Wicket's incubation we will resolve any issues regarding
>>> license (in)compatibilities that might be present in our code. For
>>> more information on the incubation process, please read the documents
>>> found on the incubator website.
>>>
>>> To facilitate our transition we have moved parts of our development
>>> infrastructure to the Apache Incubator:
>>>
>>>  o the subversion repository is now hosted at
>>> https://svn.apache.org/repos/asf/incubator/wicket
>>>  o the development mailing list is now provided by wicket-dev at
>>> incubator.apache.org
>>>  o the commit mailing list is now wicket-commits at incubator.apache.org
>>>  o our bug tracking system is now hosted at
>>> http://issues.apache.org/jira/browse/WICKET
>>>
>>> Please join our incubating community at Apache by subscribing to the
>>> Wicket development list. Send a message to:
>>>
>>> wicket-dev-subscribe at incubator.apache.org
>>>
>>> and follow the instructions.
>>>
>>> If you want to recieve commit messages from Wicket to track our
>>> development, please send a message to
>>>
>>> wicket-commits-subscribe at incubator.apache.org
>>>
>>> and follow the instructions.
>>>
>>> When you need to file a bug report, a patch or a request for
>>> enhancement (RFE), then please do so at our Apache JIRA installation:
>>>
>>> http://issues.apache.org/jira/browse/WICKET
>>>
>>> We are in the process of importing the contents of the sourceforge
>>> trackers into our JIRA project space. This will loose some information
>>> in the process, however we strive to keep as much information as
>>> possible.
>>>
>>> As always, have fun and thanks for your support using Wicket!
>>>
>>> - the Wicket team
>>>
>>> ps. apologies for the cross posting
>>
>> --
>> http://ojalgo.org/
>>
>> Mathematics, Linear Algebra and Optimisation with Java
>>
> 


-
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] htmlunit (or jwebunit), wicket and ajax

2006-10-16 Thread Martijn Dashorst
No,

The problem is that dom and javascript are not completely implemented
in both frameworks.

For functional tests I advise to use Selenium instead.

Martijn


On 10/16/06, Decebal Suiu <[EMAIL PROTECTED]> wrote:
> Has anybody used htmlunit (or jwebunit) with success
> to create a functional test for a wicket application
> that contains ajax code?
> In a few words: I have a html page with a select
> element inside. When I select an option from this, an
> ajax request is made on the server and an input text
> appears on the page.
> My question is: How can I retrieve the input text in
> the unit test using htmlunit/jwebunit?
> I have here a very simple unit test that doesn't work
> (I cann't retrieve the input text).
>
> WebClient webClient = new WebClient();
> webClient.setRedirectEnabled(true);
> webClient.setJavaScriptEnabled(true);
> HtmlPage page = (HtmlPage) webClient.getPage(baseUrl);
> Htmlform form = (HtmlForm) page.getForms().get(0);
> HtmlSelect select = form.getSelectByName("mySelect");
> page = (HtmlPage) select.setSelectedAttribute("0",
> true);
> assertTrue(page.getEnclosingWindow().getThreadManager().joinAll(5
> * 1000));
> System.out.println(page.asXml());
>
> I attached the entire source code of the test.
> I used wicket 1.2.2 and htmlunit 1.9 with java 1.5 on
> linux.
> Where could be the problem (wicket, htmlunit, my
> code)?
>
> Thanks,
> Decebal
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.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=lnk&kid=120709&bid=263057&dat=121642
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>
>


-- 
http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote
for http://www.thebeststuffintheworld.com/stuff/wicket";>Wicket
at the http://www.thebeststuffintheworld.com/";>Best Stuff in
the World!

-
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] htmlunit (or jwebunit), wicket and ajax

2006-10-16 Thread Decebal Suiu
Has anybody used htmlunit (or jwebunit) with success
to create a functional test for a wicket application
that contains ajax code?
In a few words: I have a html page with a select
element inside. When I select an option from this, an
ajax request is made on the server and an input text
appears on the page. 
My question is: How can I retrieve the input text in
the unit test using htmlunit/jwebunit?
I have here a very simple unit test that doesn't work
(I cann't retrieve the input text).

WebClient webClient = new WebClient();
webClient.setRedirectEnabled(true);
webClient.setJavaScriptEnabled(true);   
HtmlPage page = (HtmlPage) webClient.getPage(baseUrl);
Htmlform form = (HtmlForm) page.getForms().get(0);
HtmlSelect select = form.getSelectByName("mySelect");
page = (HtmlPage) select.setSelectedAttribute("0",
true);
assertTrue(page.getEnclosingWindow().getThreadManager().joinAll(5
* 1000));
System.out.println(page.asXml());

I attached the entire source code of the test.
I used wicket 1.2.2 and htmlunit 1.9 with java 1.5 on
linux.
Where could be the problem (wicket, htmlunit, my
code)?

Thanks,
Decebal

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

src.tar.gz
Description: 1009463993-src.tar.gz
-
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 starts incubation at Apache

2006-10-16 Thread Gwyn Evans
On 16/10/06, Anders Peterson <[EMAIL PROTECTED]> wrote:
> Why?

Discussed on the mailing list (e.g.
http://www.nabble.com/apache-wicket--tf2012023.html#a5529288) but
http://wiki.apache.org/incubator/WicketProposal covers what we felt
were the main reasons.

/Gwyn


>
> Martijn Dashorst wrote:
> > The Wicket team is proud to announce that we are starting the process
> > of joining the Apache Software Foundation.
> >
> > When projects first move to Apache, they are housed at the Apache
> > Incubator. The Incubator helps incoming projects migrate to the
> > vibrant Apache community. One of the primary goals of the incubator is
> > to ensure that the joining community is open, diverse and effective
> > meritocracy.
> >
> > During Wicket's incubation we will resolve any issues regarding
> > license (in)compatibilities that might be present in our code. For
> > more information on the incubation process, please read the documents
> > found on the incubator website.
> >
> > To facilitate our transition we have moved parts of our development
> > infrastructure to the Apache Incubator:
> >
> >  o the subversion repository is now hosted at
> > https://svn.apache.org/repos/asf/incubator/wicket
> >  o the development mailing list is now provided by wicket-dev at
> > incubator.apache.org
> >  o the commit mailing list is now wicket-commits at incubator.apache.org
> >  o our bug tracking system is now hosted at
> > http://issues.apache.org/jira/browse/WICKET
> >
> > Please join our incubating community at Apache by subscribing to the
> > Wicket development list. Send a message to:
> >
> > wicket-dev-subscribe at incubator.apache.org
> >
> > and follow the instructions.
> >
> > If you want to recieve commit messages from Wicket to track our
> > development, please send a message to
> >
> > wicket-commits-subscribe at incubator.apache.org
> >
> > and follow the instructions.
> >
> > When you need to file a bug report, a patch or a request for
> > enhancement (RFE), then please do so at our Apache JIRA installation:
> >
> > http://issues.apache.org/jira/browse/WICKET
> >
> > We are in the process of importing the contents of the sourceforge
> > trackers into our JIRA project space. This will loose some information
> > in the process, however we strive to keep as much information as
> > possible.
> >
> > As always, have fun and thanks for your support using Wicket!
> >
> > - the Wicket team
> >
> > ps. apologies for the cross posting
>
>
> --
> http://ojalgo.org/
>
> Mathematics, Linear Algebra and Optimisation with Java
>

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


Re: [Wicket-user] Wicket starts incubation at Apache

2006-10-16 Thread Anders Peterson
Why?

Martijn Dashorst wrote:
> The Wicket team is proud to announce that we are starting the process
> of joining the Apache Software Foundation.
> 
> When projects first move to Apache, they are housed at the Apache
> Incubator. The Incubator helps incoming projects migrate to the
> vibrant Apache community. One of the primary goals of the incubator is
> to ensure that the joining community is open, diverse and effective
> meritocracy.
> 
> During Wicket's incubation we will resolve any issues regarding
> license (in)compatibilities that might be present in our code. For
> more information on the incubation process, please read the documents
> found on the incubator website.
> 
> To facilitate our transition we have moved parts of our development
> infrastructure to the Apache Incubator:
> 
>  o the subversion repository is now hosted at
> https://svn.apache.org/repos/asf/incubator/wicket
>  o the development mailing list is now provided by wicket-dev at
> incubator.apache.org
>  o the commit mailing list is now wicket-commits at incubator.apache.org
>  o our bug tracking system is now hosted at
> http://issues.apache.org/jira/browse/WICKET
> 
> Please join our incubating community at Apache by subscribing to the
> Wicket development list. Send a message to:
> 
> wicket-dev-subscribe at incubator.apache.org
> 
> and follow the instructions.
> 
> If you want to recieve commit messages from Wicket to track our
> development, please send a message to
> 
> wicket-commits-subscribe at incubator.apache.org
> 
> and follow the instructions.
> 
> When you need to file a bug report, a patch or a request for
> enhancement (RFE), then please do so at our Apache JIRA installation:
> 
> http://issues.apache.org/jira/browse/WICKET
> 
> We are in the process of importing the contents of the sourceforge
> trackers into our JIRA project space. This will loose some information
> in the process, however we strive to keep as much information as
> possible.
> 
> As always, have fun and thanks for your support using Wicket!
> 
> - the Wicket team
> 
> ps. apologies for the cross posting


-- 
http://ojalgo.org/

Mathematics, Linear Algebra and Optimisation with Java


-
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] timeout event

2006-10-16 Thread Ayodeji Aladejebi
well i am working on a tiny wicket ajax chat component and i need a way for the other forum members to know when a participant of the chat forum leaves either by logging off (easy) or by leaving his web page idle until his session times out , which is where i am not sure where to start but let me go over eelcos reference
thanksOn 10/15/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
just before is not possible (as far as i know)it is always after..you can't touch the session then anymore  (by using a httpsession listener)so what do you want to do?johan

On 10/15/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:

please in a situation where my application needs to trigger an eventjust before a session timeout, what can i do. 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 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 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
-- Aladejebi Ayodeji A., DabarObjects SolutionsEmail: [EMAIL PROTECTED]Mobile: +234 803 589 1780
Web: www.dabarobjects.comBlog: blog.dabarobjects.comCommunity:www.cowblock.net

-
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] proof of concept app

2006-10-16 Thread Eelco Hillenius
I haven't worked with modal windows yet (though I like em!) but did
you try to create one with a panel? That panel could just be a private
class, and could reference theCartPanel or you could pass theCartPanel
to it's constructor, and adding it to the ajax request target should
work fine.

The only thing I'm not sure whether it would give problems is whether
the modal window layer is in the way of reaching the dom element for
replacement properly. Maybe Matej or Igor can say more about that.

Eelco


On 10/15/06, Scott Swank <[EMAIL PROTECTED]> wrote:
> One weekend later and I'm working on this again.  Here's my situation:
>
> page
> - browse panel
> - cart panel
> - modal window
> - - edit item form (inside the modal window)
>
> I have an ajax submit button in the EditItemForm.  I need to call
>
>   public void onSubmit(AjaxRequestTarget target, Form f) {
> target.addComponent(theCartPanel);
> ModalWindow.close(target);
>   }
>
> My problem is: how do I get access to the cart panel from within the
> form in the modal window?  Here's what I've come up with, and
> everything feels a bit ugly:
>
> 1. I can get the cart from the session and have the cart fetch the
> cart panel -- ugh, the cart (business object) shouldn't know about a
> UI widget.
> 2.  I can pass the cart panel in as my model object
> 3. I could put the cart panel in the session (or my own ThreadLocal)
> 4. I could crawl my way back up
> findParent(ProductPanel.class).visitChildren(IVisitorThatHandlesTargetAddComponent)
>
> Any suggestions would be entirely welcome.
>
> Thanks,
> Scott
>
> On 10/9/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > the question is one of lifecycle. does your reportmodel need to live as long
> > as the user's session? if not then you dont need to put it into session.
> >
> > a shopping cart usually spans the session - so it makes complete sense to
> > put it there.
> >
> > -Igor
> >
> >
> >
> > On 10/9/06, Nino Wael <[EMAIL PROTECTED]> wrote:
> > >
> > > Why?
> > >
> > > Keeping the cart within constructors are kinda more POJO i think.
> > >
> > > What I am working on now, we have a reportmodel and almost all our pages
> > has a  constructor that requires our reportmodel, so we dont need to be
> > aware of session.
> > >
> > > I feel that the application becomes more simple that way, however we do
> > not have a LOT of panels, we have some which uses abstractmodels that grabs
> > their data from the reportmodel, when switching pages we pass the
> > reportmodel through.
> > >
> > > This might be a different approach from what you need when building a
> > store site, but it feels pretty a lot simpler than have something stored in
> > session context.
> > >
> > > regards Nino
> > >
> > >
> > > -Original Message-
> > > From:   [EMAIL PROTECTED] on
> > behalf of Eelco Hillenius
> > > Sent:   Mon 09-10-2006 20:14
> > > To: wicket-user@lists.sourceforge.net
> > > Cc:
> > > Subject:Re: [Wicket-user] proof of concept app
> > >
> > > If you're main domain is a store, and a cart is information you want
> > > to keep throughout, it does make sense to put it in a session, so that
> > > you don't have to pass it around your pages and panels all the time.
> > >
> > > Eelco
> > >
> > > On 10/9/06, Nino Wael <[EMAIL PROTECTED]> wrote:
> > > > Looks nice(just skimping the code through without running it though),
> > however I can see that you have extended the session, do you really have a
> > need to store the cart in session context?
> > > >
> > > > Why not just create it on PosPage?
> > > >
> > > >
> > > > -regards Nino
> > > >
> > > >
> > > > -Original Message-
> > > > From:   [EMAIL PROTECTED] on
> > behalf of Scott Swank
> > > > Sent:   Mon 09-10-2006 18:30
> > > > To: wicket-user@lists.sourceforge.net
> > > > Cc:
> > > > Subject:[Wicket-user] proof of concept app
> > > >
> > > > I've been pushing to use Wicket as our new web UI framework.  We
> > currently
> > > > have a custom template that resembles Velocity.  The broad concensus is
> > to
> > > > go with JSF.  While I'm convinced that JSF will work for us it always
> > seems
> > > > so cumbersome.
> > > >
> > > > I've convinced by boss to give Wicket a 2nd look, and so this weekend I
> > > > threw together the attached.  If anyone is inclined to give it a quick
> > > > glance for "best practices" type considerations I'd certainly be
> > > > appreciative.
> > > >
> > > > The only relevant files are the jetty config, web.xml & the java/html.
> > > > There are two apps that both sub-class an abstract app.  The "Concierge"
> > > > version is for retail sales while the C3 version is for our call center.
> > > > The urls are below.
> > > >
> > > > Thank you,
> > > > Scott
> > > >
> > > >
> > > > -- Forwarded message --
> > > > From: Scott Swank <[EMAIL PROTECTED] >
> > > > Date: Oct 8, 2006 10:41 PM
> > > > Subject: concierge/c3 in wicket
> > > > To: Scott Swank <[EMAIL PROTECTED]>, Scott Swank <
> > [EMAIL PROTEC