[Wicket-user] jsessionid appear three times

2006-08-03 Thread R.A

Hi all.

I use wicket-1.2.1 and WebSphere V5.1.
I have a problem similar PageLink called request two times that I posted
once.
When I access my wicket application, the url is like this.
http://localhost:9080/test;jsessionid=jp89QLSYv3dWVfmSLWcZO-m:-1;jsessionid=jp89QLSYv3dWVfmSLWcZO-m:-1;jsessionid=jp89QLSYv3dWVfmSLWcZO-m:-1?wicket:interface=:1::
jsessionid= appear three times.

Regards,
R.A
-- 
View this message in context: 
http://www.nabble.com/jsessionid-appear-three-times-tf2044481.html#a5629101
Sent from the Wicket - User forum at Nabble.com.


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


Re: [Wicket-user] jsessionid appear three times

2006-08-03 Thread R.A

Hi Johan.

But when I use wicket-1.2, this problem is not occured.

Regards,
R.A
-- 
View this message in context: 
http://www.nabble.com/jsessionid-appear-three-times-tf2044481.html#a5629503
Sent from the Wicket - User forum at Nabble.com.


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


Re: [Wicket-user] jsessionid appear three times

2006-08-03 Thread R.A

Hi Gwyn.

test is context root.
When I access http://localhost:9080/test/top;, this problem is occured,
too.
-- 
View this message in context: 
http://www.nabble.com/jsessionid-appear-three-times-tf2044481.html#a5629541
Sent from the Wicket - User forum at Nabble.com.


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


[Wicket-user] about TextField trim

2006-07-04 Thread R.A

Hi all.

I know that Wicket trim spaces entered in TextField.
It's convenient, but I'd not like to trim in some part of my application.
Can I get spaces from entered value of TextField?
I'd like to validate TextField with spaces.

Regards,
R.A
-- 
View this message in context: 
http://www.nabble.com/about-TextField-trim-tf1889503.html#a5166089
Sent from the Wicket - User forum at Nabble.com.


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


Re: [Wicket-user] about TextField trim

2006-07-04 Thread R.A

Hi Johan.

I see!
I override convertValue and succeed.
Thank you very much!

Regards,
R.A
-- 
View this message in context: 
http://www.nabble.com/about-TextField-trim-tf1889503.html#a5166767
Sent from the Wicket - User forum at Nabble.com.


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


Re: [Wicket-user] about base path

2006-07-03 Thread R.A

Hi Frank and Igor.

Thanks for your replies.
I had mistaken idea...
I use base tag and move image directory from WEB-INF.
Thank you!

Regards,
R.A
-- 
View this message in context: 
http://www.nabble.com/about-base-path-tf1882484.html#a5147266
Sent from the Wicket - User forum at Nabble.com.


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


Re: [Wicket-user] about base path

2006-07-03 Thread R.A

Hi.

Let me ask another question.
I'd like to change absolute path in base tag dynamically.
I get absolute path in page class as follows.

HttpServletRequest request = ((WebRequest)
getRequest()).getHttpServletRequest();
String path = request.getRequestURL().toString();

How do I set this path in base tag?

Regards,
R.A
-- 
View this message in context: 
http://www.nabble.com/about-base-path-tf1882484.html#a5147772
Sent from the Wicket - User forum at Nabble.com.


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


Re: [Wicket-user] about base path

2006-07-03 Thread R.A

Hi Frank.

I succeeded at setting base tag, thank you!
But images is unshown.
I write img src=image/abc.jpg in html file, but as looking at source file
on browser, img src=myapp/image/abc.jpg.
It seems like to be added myapp to img tag by Wicket.
myapp is context root.
I set http://localhost:9080/myapp/pc;(create dynamically) in base tag, so
I'd like not to be added nothing img tag.
What's wrong?

Regards,
R.A
-- 
View this message in context: 
http://www.nabble.com/about-base-path-tf1882484.html#a5148315
Sent from the Wicket - User forum at Nabble.com.


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


Re: [Wicket-user] about base path

2006-07-03 Thread R.A

Hi Johan.

I remove base tag and set getApplicationSettings().setContextPath(path) in
my webapplication class's init method, work fine.
Thank you!
But...I don't know how do I path dynamically, so I set direct path, String
path = http://localhost:9080/myapp/pc;, this time.
How do I get HttpServletRequest in webapplication class?
I tried HttpServletRequest request =
((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest(),
NullPointerException occured.

Regards,
R.A
-- 
View this message in context: 
http://www.nabble.com/about-base-path-tf1882484.html#a5149488
Sent from the Wicket - User forum at Nabble.com.


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


Re: [Wicket-user] about base path

2006-07-03 Thread R.A

Hi Johan.

I override newWebRequest in my WebApplication class as follows and works
fine.

protected WebRequest newWebRequest(HttpServletRequest request) {
String path = request.getRequestURL().toString();
getApplicationSettings().setContextPath(path);
return super.newWebRequest(request);
}

Thank you very much!

Regards,
R.A
-- 
View this message in context: 
http://www.nabble.com/about-base-path-tf1882484.html#a5161096
Sent from the Wicket - User forum at Nabble.com.


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


[Wicket-user] about base path

2006-07-02 Thread R.A

Hi all.

I have a base path question.
I set my WebApplication class in web.xml as follows.

lt;servletgt;
lt;servlet-namegt;MyApplicationlt;/servlet-namegt;

lt;servlet-classgt;wicket.protocol.http.WicketServletlt;/servlet-classgt;
lt;init-paramgt;
  lt;param-namegt;applicationClassNamelt;/param-namegt;
  lt;param-valuegt;pc.MyApplicationlt;/param-valuegt;
lt;/init-paramgt;
lt;load-on-startupgt;2lt;/load-on-startupgt;
lt;/servletgt;

lt;servlet-mappinggt;
lt;servlet-namegt;MyApplicationlt;/servlet-namegt;
lt;url-patterngt;/pc/*lt;/url-patterngt;
lt;/servlet-mappinggt;

I store image files at WEB-INF/pc/images.
If I set image tag in html file, img src=pc/images/abc.jpg, work fine.
But I'd like to set image tag, img src=images/abc.jpg.
Is it possible to set base path, /pc, in wicket java source?

Regards,
R.A
-- 
View this message in context: 
http://www.nabble.com/about-base-path-tf1882484.html#a5145993
Sent from the Wicket - User forum at Nabble.com.


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


[Wicket-user] RadioGroup and DataView

2006-06-19 Thread R.A

Hi.

I create Form and RadioGroup.

MyPage class
Form form = new Form(form);
add(form);
final RadioGroup radioGroup = new RadioGroup(radioGroup, new Model());
form.add(radioGroup);
radioGroup.add(new MyDataView(new MyDataProvider()));
form.add(new Button(button) {
protected void onSubmit() {
Book book = (Book) radioGroup.getModelObject();
String title = book.getTitle();
}
});

MyDataView class
protected void populateItem(final Item item) {
Book book = (Book) item.getModelObject();
item.add(new Radio(radio, item.getModel()));
item.add(new Label(title, book.getTitle());
}

RadioGroup and its radio items(radio and title) output normally.
But when submit button is clicked, NullPointerException occur.
Book book = (Book) radioGroup.getModelObject();
This book object is null.

When adding ListView (not DataView) on RadioGroup, work fine.
What's wrong?

I use Wicket 1.2.

Regards,
R.A
--
View this message in context: 
http://www.nabble.com/RadioGroup-and-DataView-t1810187.html#a4933188
Sent from the Wicket - User forum at Nabble.com.



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


Re: [Wicket-user] RadioGroup and DataView

2006-06-19 Thread R.A

Hi Igor.

I see it now.
I use AbstractReadOnlyModel instead of AbstractReadOnlyDetachableModel in
MyDataProvider class, and work fine.
Thank you very much!!

Regards,
R.A
--
View this message in context: 
http://www.nabble.com/RadioGroup-and-DataView-t1810187.html#a4947720
Sent from the Wicket - User forum at Nabble.com.



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


[Wicket-user] about setResponsePage

2006-06-06 Thread R.A

Hi.

I create two packages and some class having same class name.

mobile.LoginPage
mobile.MainPage
pc.LoginPage
pc.MainPage

In MainPage, I create logout link.

add(new Link(logoutLink) {
public void onClick() {
setResponsePage(LoginPage.class);
}
});

Clicking the logout link in the mobile.MainPage, error occured.

wicket.WicketRuntimeException: Exception in rendering component: [Component
id = head-title-label, page = pc.LoginPage, path = 3:head-title-label.Label,
isVisible = true, isVersioned = true]

Label head-title-label is only in the mobile.LoginPage, so error occured.
But I don't know why pc.LoginPage is calling.

As a trial, I set setResponsePage(mobile.LoginPage.class), work fine.
Need I set the package name when I use classes having same name?

Regards,
R.A
--
View this message in context: 
http://www.nabble.com/about-setResponsePage-t1740743.html#a4730227
Sent from the Wicket - User forum at Nabble.com.



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


Re: [Wicket-user] about setResponsePage

2006-06-06 Thread R.A

Hi Matej.

This is true!
I import pc.LoginPage.
My basic mistake...
Thank you!

Regards,
R.A

--
View this message in context: 
http://www.nabble.com/about-setResponsePage-t1740743.html#a4730467
Sent from the Wicket - User forum at Nabble.com.



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


Re: [Wicket-user] about development/deployment mode setting

2006-05-11 Thread R.A

Hi Johan.

I set configuration in the web.xml, so work fine.
Thanks very much!

Regards,
R.A
--
View this message in context: 
http://www.nabble.com/about-development-deployment-mode-setting-t1599854.html#a4351178
Sent from the Wicket - User forum at Nabble.com.



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


[Wicket-user] ExternalLink problem

2006-04-27 Thread R.A

Hi.

I use 1.2-rc2.
I create link class extends ExternalLink, but that is not work.

public class TestLink extends ExternalLink {
public TestLink(String anchor) {
super(testLink, foo.html# + anchor, test link);
PopupSettings googlePopupSettings = new
PopupSettings().setHeight(200).setWidth(200);
}
}

public class TestPage extends Page {
public TestPage {
add(new TestLink(abc));
}
}

Opening TestPage, test link is not link, but text.
What's wrong?

Regards,
R.A
--
View this message in context: 
http://www.nabble.com/ExternalLink-problem-t1516651.html#a4116523
Sent from the Wicket - User forum at Nabble.com.



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


Re: [Wicket-user] ExternalLink problem

2006-04-27 Thread R.A

Hi Johan.

The markup is,


And the output is,
test link

Regards,
R.A
--
View this message in context: 
http://www.nabble.com/ExternalLink-problem-t1516651.html#a4118241
Sent from the Wicket - User forum at Nabble.com.



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


Re: [Wicket-user] ExternalLink problem

2006-04-27 Thread R.A

Sorry, 
  

Regards,
R.A
--
View this message in context: 
http://www.nabble.com/ExternalLink-problem-t1516651.html#a4118272
Sent from the Wicket - User forum at Nabble.com.



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


Re: [Wicket-user] ExternalLink problem

2006-04-27 Thread R.A

Hi Johan.

I'm very sorry.
I posted message from Nabble, I don't know why tags erase.
I'll post again.

markup is,
lt;a wicket:id=helpLinkgt;lt;/agt;

--
View this message in context: 
http://www.nabble.com/ExternalLink-problem-t1516651.html#a4118400
Sent from the Wicket - User forum at Nabble.com.



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


Re: [Wicket-user] ExternalLink problem

2006-04-27 Thread R.A

Hi Johan,

I succeeded!
Thank you very much!!

Regards,
R.A
--
View this message in context: 
http://www.nabble.com/ExternalLink-problem-t1516651.html#a4118553
Sent from the Wicket - User forum at Nabble.com.



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


Re: [Wicket-user] * is not output

2006-04-18 Thread R.A

I fill in the gap.

I write follow code in Form class and html.
Form
final FormComponentFeedbackBorder feedback = new
FormComponentFeedbackBorder(feedback);
add(feedback);
final RequiredTextField loginId = new RequiredTextField(loginId);
feedback.add(loginId);
html
div wicket:id=feedback
login id: input wicket:id=loginId type=text/
/div

If the login id textfield is not input, error will occure and * will be
output beside textfield.
But error message is output but * is not output.
What wrong?

Regars,
R.A
--
View this message in context: 
http://www.nabble.com/%22*%22-is-not-output-t1465629.html#a3980440
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] * is not output

2006-04-18 Thread R.A

Hi Igor.

I'm sorry I've not checked it.
Thank you.

Regars,
R.A
--
View this message in context: 
http://www.nabble.com/%22*%22-is-not-output-t1465629.html#a3981657
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] * is not output

2006-04-17 Thread R.A

Hi.

I use Wicket 1.2-rc1.
I use FormComponentFeedbackBorder, but when input error is occured, * is
not output.
How has meens been changed?
--
View this message in context: 
http://www.nabble.com/%22*%22-is-not-output-t1465629.html#a3961346
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Check disabled

2006-04-10 Thread R.A

Hi Igor.

No, I can not see disable=disable in the html.
I wrote System.out.println in the poplulateItem method.

Check check = new Check(check, item.getModel());
item.add(activ);
if (...) {
check.setEnabled(false);
}
System.out.println(check.isEnabled());

Some check.isEnabled() is false, but all Checks is active in the html.

Regars,
R.A
--
View this message in context: 
http://www.nabble.com/Check-disabled-t1423057.html#a3836979
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Check disabled

2006-04-10 Thread R.A

Hi Igor.

I see, and I'm looking forward to your handling.
Thank you for your reply. 

Regars,
R.A
--
View this message in context: 
http://www.nabble.com/Check-disabled-t1423057.html#a3852996
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Check disabled

2006-04-10 Thread R.A

Hi Igor.

I checked it.
Thanks a lot!!

Regars,
R.A
--
View this message in context: 
http://www.nabble.com/Check-disabled-t1423057.html#a3855145
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Check disabled

2006-04-09 Thread R.A

Hi.

I create a CheckGroup dynamically using GridView.
In the GridView, Checks are populated.
I would like to enabled or disabled the Checks by conditions as follows.

Check check = new Check(check, item.getModel());
item.add(activ);
if (...) {
check.setEnabled(false);
}

But as matching the condition, the Check is not disabled.
Can not Check be disabled?

Regars,
R.A
--
View this message in context: 
http://www.nabble.com/Check-disabled-t1423057.html#a3836170
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageLink called request two times

2006-04-04 Thread R.A

Hi Johan.

This log was output when NonbookmarkablePage was opened.
[06/04/04 17:13:31:875 JST]  16bd736 SystemOut O === doGet
[06/04/04 17:13:31:875 JST]  16bd736 SystemOut O === sessionId:
aUaEk1GTIg6WGjZE-Iiu1dE
[06/04/04 17:13:31:875 JST]  16bd736 SystemOut O === queryString:
wicket:interface=:1:pageLink::ILinkListener
[06/04/04 17:13:31:875 JST]  16bd736 SystemOut O === bufferedResponse:
null
[06/04/04 17:13:31:969 JST]  16bd736 MarkupCache   I
wicket.markup.MarkupCache  Loading markup from
file:/D:/dev/wsappdev51/workspace/WicketExamples1.2-b3Web/WebContent/WEB-INF/classes/wicket/examples/compref/NonBookmarkablePage.html
[06/04/04 17:13:32:062 JST]  16bd736 SystemOut O ** onBeginRequest
[06/04/04 17:13:32:109 JST]  16bd736 SystemOut O === doGet
[06/04/04 17:13:32:109 JST]  16bd736 SystemOut O === sessionId:
aUaEk1GTIg6WGjZE-Iiu1dE
[06/04/04 17:13:32:109 JST]  16bd736 SystemOut O === queryString:
wicket:interface=:2::
[06/04/04 17:13:32:109 JST]  16bd736 SystemOut O === bufferedResponse:
[EMAIL PROTECTED]
This is correct.

But after I put in FeedbackPanel on NonbookmarkablePage's constructor, this
was output.
[06/04/04 17:17:01:891 JST]  20e5005 SystemOut O === doGet
[06/04/04 17:17:01:891 JST]  20e5005 SystemOut O === sessionId:
rbA269sgN7TjXi-FE_ECGco
[06/04/04 17:17:01:891 JST]  20e5005 SystemOut O === queryString:
wicket:interface=:1:pageLink::ILinkListener
[06/04/04 17:17:01:891 JST]  20e5005 SystemOut O === bufferedResponse:
null
[06/04/04 17:17:01:984 JST]  20e5005 MarkupCache   I
wicket.markup.MarkupCache  Loading markup from
file:/D:/dev/wsappdev51/workspace/WicketExamples1.2-b3Web/WebContent/WEB-INF/classes/wicket/examples/compref/NonBookmarkablePage.html
[06/04/04 17:17:02:141 JST]  20e5005 SystemOut O ** onBeginRequest
[06/04/04 17:17:02:156 JST]  20e5005 MarkupCache   I
wicket.markup.MarkupCache  Loading markup from
file:/D:/dev/wsappdev51/workspace/WicketExamples1.2-b3Web/WebContent/WEB-INF/classes/wicket/markup/html/panel/FeedbackPanel.html
[06/04/04 17:17:02:188 JST]  20e5005 SystemOut O === doGet
[06/04/04 17:17:02:188 JST]  20e5005 SystemOut O === sessionId:
rbA269sgN7TjXi-FE_ECGco
[06/04/04 17:17:02:188 JST]  20e5005 SystemOut O === queryString:
wicket:interface=:2::
[06/04/04 17:17:02:188 JST]  20e5005 SystemOut O === bufferedResponse:
null
[06/04/04 17:17:02:203 JST]  20e5005 SystemOut O ** onBeginRequest
bufferedResponse was null two times and onBeginRequest method was called two
times too.

I put in system out as follows.
wicket.protocol.http.WicketServlet
public final void doGet(final HttpServletRequest servletRequest,
final HttpServletResponse servletResponse) throws 
ServletException,
IOException
{
System.out.println(=== doGet);
long time = System.currentTimeMillis();

// First, set the webapplication for this thread
Application.set(webApplication);

// Try to see if there is a redirect stored
HttpSession httpSession = servletRequest.getSession(false);
if (httpSession != null
 
webApplication.getRequestCycleSettings().getRenderStrategy() ==
IRequestCycleSettings.REDIRECT_TO_BUFFER)
{
String sessionId = httpSession.getId();
String queryString = servletRequest.getQueryString();

System.out.println(=== sessionId:  + sessionId);
System.out.println(=== queryString:  + queryString);

if (queryString != null)
{
BufferedHttpServletResponse bufferedResponse =
webApplication.popBufferedResponse(
sessionId, queryString);

System.out.println(=== bufferedResponse:  + bufferedResponse);

if (bufferedResponse != null)
{

bufferedResponse.writeTo(servletResponse);
// redirect responses are ignored for 
the request logger...
return;
}
}
}


wicket.examples.compref.NonBookmarkablePage
public NonBookmarkablePage(final WebPage referer)
{
if (referer == null)
{
throw new IllegalArgumentException(Argument referer must not be
null);
}

// Add a link to navigate back to the refering page. We now use the
PageLink
// constructor with the Page instance argument, because we allready
have a page instance
// at our disposal
add(new PageLink(navigateBackLink, referer));

// Note that 

Re: [Wicket-user] panels addition to panels

2006-04-03 Thread R.A

Hi Igor.

I get the point.
Thank you for your reply.

R.A
--
View this message in context: 
http://www.nabble.com/panels-addition-to-panels-t1384873.html#a3736730
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageLink called request two times

2006-04-03 Thread R.A

Hi Johan.

I see...but onBeginRequest is called two times on my application.
It seems that this occure when I use both PageLink(not BookmarkableLink) and
FeedbackPanel.
As a test I put in FeedbackPanel on
wicket.examples.compref.NonBookmarkablePage's constructor and onBeginRequest
method, and I accessed WicketExamples - compref -
wicket.markup.html.link.PageLink - go to our private/ non bookmarkable
page.
So it reappeared.
This occured on both Tomcat and WebSphere.
Please make sure that this.

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3736696
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageLink called request two times

2006-04-02 Thread R.A

Hi Johan, 

Can I ask you a question on and on?
I downloaded wicket-1.2-beta3 today and I noticed WicketServlet#doGet's
change.
Using this new archives, WicketServlet#doGet is called two times again...
But this time, WebSphere and Tomcat is under the same conditions.
So. Is this correct?

I opened WicketExamples - compref - wicket.markup.html.link.PageLink - go
to our private/ non bookmarkable page.
WebShere's output is here.
06/04/03 12:16:07:844 JST] 766c0cfe SystemOut O === doGet
[06/04/03 12:16:07:844 JST] 766c0cfe SystemOut O === sessionId:
y_BoFxSDfww7MCNTjwjWZ3L
[06/04/03 12:16:07:844 JST] 766c0cfe SystemOut O === queryString:
wicket:interface=:1:pageLink::ILinkListener
[06/04/03 12:16:07:844 JST] 766c0cfe SystemOut O === bufferedResponse:
null
[06/04/03 12:16:07:906 JST] 766c0cfe MarkupCache   I
wicket.markup.MarkupCache  Loading markup from
file:/D:/dev/wsappdev51/workspace/WicketExamples1.2-b3Web/WebContent/WEB-INF/classes/wicket/examples/compref/NonBookmarkablePage.html
[06/04/03 12:16:08:000 JST]  1e74cfe SystemOut O === doGet
[06/04/03 12:16:08:000 JST]  1e74cfe SystemOut O === sessionId:
y_BoFxSDfww7MCNTjwjWZ3L
[06/04/03 12:16:08:000 JST]  1e74cfe SystemOut O === queryString:
wicket:interface=:2::
[06/04/03 12:16:08:000 JST]  1e74cfe SystemOut O === bufferedResponse:
[EMAIL PROTECTED]

Tomcat's output is here.
=== doGet
=== sessionId: 7D282BAB9EC7D92772D7513C6309176E
=== queryString: wicket:interface=:4:pageLink::ILinkListener
=== bufferedResponse: null
INFO  - MarkupCache- Loading markup from
file:/C:/Program%20File
s/Apache%20Group/Tomcat%204.1/webapps/WicketExamples1.2-b3Web/WEB-INF/classes/wi
cket/examples/compref/NonBookmarkablePage.html
=== doGet
=== sessionId: 7D282BAB9EC7D92772D7513C6309176E
=== queryString: wicket:interface=:5::
=== bufferedResponse:
[EMAIL PROTECTED]

I set system out in WicketServlet#doGet as follows.
public final void doGet(final HttpServletRequest servletRequest,
final HttpServletResponse servletResponse) throws 
ServletException,
IOException
{
System.out.println(=== doGet);
long time = System.currentTimeMillis();

// First, set the webapplication for this thread
Application.set(webApplication);

// Try to see if there is a redirect stored
HttpSession httpSession = servletRequest.getSession(false);
if (httpSession != null
 
webApplication.getRequestCycleSettings().getRenderStrategy() ==
IRequestCycleSettings.REDIRECT_TO_BUFFER)
{
String sessionId = httpSession.getId();
String queryString = servletRequest.getQueryString();

System.out.println(=== sessionId:  + sessionId);
System.out.println(=== queryString:  + queryString);

if (queryString != null)
{
BufferedHttpServletResponse bufferedResponse =
webApplication.popBufferedResponse(
sessionId, queryString);

System.out.println(=== bufferedResponse:  + bufferedResponse);

if (bufferedResponse != null)
{

bufferedResponse.writeTo(servletResponse);
// redirect responses are ignored for 
the request logger...
return;
}
}
}

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3719486
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] panels addition to panels

2006-04-02 Thread R.A

Hi.

I create 2 nested panel classes in a page.

public class TestPage extends WebPage {
...
private class Panel1 extends Panel {
public Panel1 {
...
add(new Panel2());
}

private class Panel2 extends Panel {
public Panel2 {
super(panel2);
}
}
}
}

And I create TestPage.html, TestPage$Panel1.html and
TestPage$Panel1$Panel2.html.
Access to the Panel1 is succeeded, but access to the Panel2 is failed.

The exception is,
java.lang.IllegalStateException: No Page found for component
[MarkupContainer [Component id = panel2, page = No Page, path =
panel2.TestPage$Panel1$Panel2]]

Is panels addition to panels wrong?

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/panels-addition-to-panels-t1384873.html#a3719620
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] error message in a panel

2006-03-28 Thread R.A

Hi Igor.

I tried using getSession().error(), but compiled error occurred...

I follow your advice and use the onSubmit method for setting error messages.
Thanks a lot!

R.A
--
View this message in context: 
http://www.nabble.com/error-message-in-a-panel-t1355119.html#a3642064
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] error message in a panel

2006-03-28 Thread R.A

Hi Igor.

I see.
Thank you for the information.

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/error-message-in-a-panel-t1355119.html#a3642943
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RadioGroup's validation

2006-03-22 Thread R.A

Hi Igor,
I followed your advice to call textfield.error(message) in onSubmit
method, and I succeeded.
Thanks a lot!!

Thank you,
R.A
--
View this message in context: 
http://www.nabble.com/RadioGroup%27s-validation-t1327838.html#a3544987
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] IAuthorizationStrategy and TabbedPanel

2006-03-15 Thread R.A

Hi Maurice,

Okey, I successed authentication by using Component#getPath Action#getName
in isActionAuthorized method.
Thanks a lot!!
--
View this message in context: 
http://www.nabble.com/IAuthorizationStrategy-and-TabbedPanel-t1277505.html#a3411746
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] IAuthorizationStrategy and TabbedPanel

2006-03-14 Thread R.A

Hi,

I have a question about IAuthorizationStrategy.
I create a class for authentication that implements IAuthorizationStrategy.
isInstantiationAuthorized in the class is not called when jump one Panel
to another Panel using TabbedPanel in one WebPage class.
I want to autenticate when using TabbedPanel too.
How do I do?

I use wickt1.2-beta1.

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/IAuthorizationStrategy-and-TabbedPanel-t1277505.html#a3393074
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] IAuthorizationStrategy and TabbedPanel

2006-03-14 Thread R.A

Hi Johan,

I'm sorry for my poor English.
I create tab panel page class based on WicketExample's TabbedPanelPage.
First first tab is visible and TabPanel1 is active, then click second
tab, TabPanel2 will be active.
Between TabPanel1 to TabPanel2, I want to authenticate.

Thank you.
R.A 
--
View this message in context: 
http://www.nabble.com/IAuthorizationStrategy-and-TabbedPanel-t1277505.html#a3393309
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] IAuthorizationStrategy and TabbedPanel

2006-03-14 Thread R.A

Hi Maurice and Johan,

I understand you both.
I spell out.
One of my authenticate logic is whether logged in user can to use my
services, for example the user has enough points or not.
If user's points are not enough, I shut the user out of some service.
User's points are in the database and fluctuant by another system.
So I want to check user's points every time user accesses a page and tab
panel.
Even if when the user accesses first tab the user's points are enough, the
user's points may not enough when the user accesses second tab.
I want to authenticate every click tab link.

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/IAuthorizationStrategy-and-TabbedPanel-t1277505.html#a3394354
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] IAuthorizationStrategy and TabbedPanel

2006-03-14 Thread R.A

Hi Maurice,

I tried follow your advice.
In the case of onRender achieved I a desired result. Thank you!
But is isActionAuthorized method called by an increment of components in the
page?
For authentication I ask the database access and I would not like to
increase it.
Or is it necessary to determin whether Component argument of
isActionAuthorized is tab or not?

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/IAuthorizationStrategy-and-TabbedPanel-t1277505.html#a3395275
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageLink called request two times

2006-03-07 Thread R.A

Duplication of jsessionid was cancelled unnoticed.
And changed WicketServlet as follows, onBeginRequest called just one time.

WicketServlet#doGet
if (queryString != null)
{
//  bufferId = new StringBuffer(requestUri.length() + queryString.length() +
1).append(
//  requestUri).append(?).append(queryString).toString();
bufferId = new StringBuffer(requestUri.length() + queryString.length() +
1).append(
requestUri).append(;jsessionid= +
servletRequest.getRequestedSessionId()).append(?).append(queryString).toString();
}

This solution method is correct, is?
It seems that WebSphere users have this problem, don't Wicket correspond?

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3277379
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageLink called request two times

2006-03-07 Thread R.A

Hi Johan, 

True.
If you will fix it by only using the query part, I wait it in the pleasure.
Thanks a lot!!

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3277879
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageLink called request two times

2006-03-06 Thread R.A

Hi Johan,

I clicked go to our private/ non bookmarkable page link,
http://localhost:9080/WicketExamples1.2Web/compref;jsessionid=vMFTc_kuJIPUEGIZ44gT20X:-1?wicket:interface=:1:pageLink::ILinkListener;
(WicketExamples - compref - wicket.markup.html.link.PageLink - go to our
private/ non bookmarkable page)

I added System.out.println() in WicketServlet.

public final void doGet(final HttpServletRequest servletRequest, final
HttpServletResponse servletResponse) throws ServletException, IOException
{
// add
System.out.println(doGet start);

// First, set the webapplication for this thread
Application.set(webApplication);

// Try to see if there is a redirect stored
HttpSession httpSession = servletRequest.getSession(false);
if (httpSession != null
 webApplication.getRequestCycleSettings().getRenderStrategy() 
==
IRequestCycleSettings.REDIRECT_TO_BUFFER)
{
String sessionId = httpSession.getId();
String queryString = servletRequest.getQueryString();
String requestUri = servletRequest.getRequestURI();
String bufferId = requestUri;

// add
System.out.println(=== sessionId:  + sessionId);
System.out.println(=== queryString:  + queryString);
System.out.println(=== requestUri:  + requestUri);
System.out.println(=== bufferId:  + bufferId);

... snip ...
}
}

then output is here.

[06/03/06 17:53:20:531 JST]  340be96 SystemOut O doGet start
[06/03/06 17:53:20:531 JST]  340be96 SystemOut O === sessionId:
o-MhLOQnhTwyHT-KeG6IEUz
[06/03/06 17:53:20:531 JST]  340be96 SystemOut O === queryString:
wicket:interface=:1:pageLink::ILinkListener
[06/03/06 17:53:20:531 JST]  340be96 SystemOut O === requestUri:
/WicketExamples1.2Web/compref
[06/03/06 17:53:20:531 JST]  340be96 SystemOut O === bufferId:
/WicketExamples1.2Web/compref
[06/03/06 17:53:20:547 JST]  340be96 SystemOut O DEBUG - RequestCycle   
   
- replacing request target
[EMAIL PROTECTED]
class = wicket.examples.compref.PageLinkPage, id = 1]-pageLink-interface
wicket.markup.html.link.ILinkListener.ILinkListener (request paramaters:
[RequestParameters  componentPath=1:pageLink pageMapName=null
versionNumber=0 interfaceName=ILinkListener componentId=null behaviorId=null
parameters={wicket:interface=:1:pageLink::ILinkListener}]) with
[EMAIL PROTECTED] page=[Page class =
wicket.examples.compref.NonBookmarkablePage, id = 2]]
Entering onBeginRequest
[06/03/06 17:53:20:797 JST]  340be96 SystemOut O doGet start
[06/03/06 17:53:20:797 JST]  340be96 SystemOut O === sessionId:
o-MhLOQnhTwyHT-KeG6IEUz
[06/03/06 17:53:20:797 JST]  340be96 SystemOut O === queryString:
wicket:interface=:2::
[06/03/06 17:53:20:797 JST]  340be96 SystemOut O === requestUri:
/WicketExamples1.2Web/compref
[06/03/06 17:53:20:797 JST]  340be96 SystemOut O === bufferId:
/WicketExamples1.2Web/compref
[06/03/06 17:53:20:797 JST]  340be96 SystemOut O Entering onBeginRequest

queryString is change when one compares first doGet and second doGet.
And I tried using Tomcat.
Tomcat's output is here.

doGet start
=== sessionId: 936DC6A50F7810E6A7E3C03197F199BC
=== queryString: wicket:interface=:3:pageLink::ILinkListener
=== requestUri: /WicketExamples1.2Web/compref
=== bufferId: /WicketExamples1.2Web/compref
DEBUG - RequestCycle   - replacing request target
wicket.request.tar
[EMAIL PROTECTED] class
= wi
cket.examples.compref.PageLinkPage, id = 3]-pageLink-interface
wicket.markup.h
tml.link.ILinkListener.ILinkListener (request paramaters: [RequestParameters 
co
mponentPath=3:pageLink pageMapName=null versionNumber=0
interfaceName=ILinkListe
ner componentId=null behaviorId=null
parameters={wicket:interface=:3:pageLink::I
LinkListener}]) with [EMAIL PROTECTED] page=[Page class =
wicket.exa
mples.compref.NonBookmarkablePage, id = 4]]
Entering on BeginRequest
doGet start
=== sessionId: 936DC6A50F7810E6A7E3C03197F199BC
=== queryString: wicket:interface=:4::
=== requestUri: /WicketExamples1.2Web/compref
=== bufferId: /WicketExamples1.2Web/compref

queryString is change and doGet was called two times too, but onBeginRequest
was called one time.
Is this outcome in the right?

--
View this message in context: 
http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3258689
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list

Re: [Wicket-user] PageLink called request two times

2006-03-06 Thread R.A

Hi Johan,

In the doGet method got I JAmY5Yk15AOhPeObHM8OdkE as session id.
But WebSphere added number of cluster management, so jsessionid was
JAmY5Yk15AOhPeObHM8OdkE:-1.
Is this cause of trouble?

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3273185
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageLink called request two times

2006-03-06 Thread R.A

Hi Johan,

I get one session id in the doGet method.
String sessionId = httpSession.getId();
This sessionId is JAmY5Yk15AOhPeObHM8OdkE.
And another one, This page is private/ non bookmarkable page's URL.
http://localhost:9080/WicketExamples1.2Web/compref;jsessionid=JAmY5Yk15AOhPeObHM8OdkE:-1;jsessionid=JAmY5Yk15AOhPeObHM8OdkE:-1?wicket:interface=:2::
It seems that two session ids are exist, but second id was created by
WebSphere based on first id.
So in WebSphere are these two session ids same, I think.

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3273429
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageLink called request two times

2006-03-06 Thread R.A

I added System.out in WebApplication.
final BufferedHttpServletResponse popBufferedResponse(String sessionId,
String bufferId)
{
Map responsesPerSession = (Map)bufferedResponses.get(sessionId);
System.out.println(=== responsesPerSession:  + responsesPerSession);
if (responsesPerSession != null)
{
BufferedHttpServletResponse buffered =
(BufferedHttpServletResponse)responsesPerSession
.remove(bufferId);

// add
Iterator ite = responsesPerSession.keySet().iterator();
while (ite.hasNext()) {
String obj = (String) ite.next();
System.out.println(key:  + obj);
}

return buffered;
}
return null;
}
key is
/WicketExamples1.2Web/compref;jsessionid=dX1N0UQwv_iRRaU0FlTKbsF:-1?wicket:interface=:2::,
but buffereId is /WicketExamples1.2Web/compref?wicket:interface=:2::.
In the map value is not contained, so return value
BufferedHttpServletResponse is null.

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3273802
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageLink called request two times

2006-03-06 Thread R.A

WebSphere's session id is, EPOC# + SessionKey + CloneID, and use
HttpServletRequest#getRequestedSessionId to get this.
When open WicketExamples - compref - wicket.markup.html.link.PageLink, in
WicketServlet#doGet, getRequesetedSessionId's output is
X15KLwX-1G5IVRAF91idJcZ:-1 and sessionId is X15KLwX-1G5IVRAF91idJcZ.
Then clicked go to our private/ non bookmarkable page link,  in
WicketServlet#doGet, getRequesetedSessionId is
X15KLwX-1G5IVRAF91idJcZ:-1;jsessionid=X15KLwX-1G5IVRAF91idJcZ:-1
and sessionId is X15KLwX-1G5IVRAF91idJcZ.
How do this duplication remove?
--
View this message in context: 
http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3274521
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageLink called request two times

2006-03-05 Thread R.A

Hi Johan,

It's felt that PageLink not relate to this problem.
For a fact doGet was called two times.
I deleted wicket-1.2-20060227-0200.jar from WEB-INF/lib and imported Wicket
sources(wicket-1.2-20060227-0200\src\java\wicket) for debug.
So doGet and onBeginRequest is called just one time.
Relate to the order which wicket-1.2-20060227-0200.jar is loaded?

Thank you.
R.A


--
View this message in context: 
http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3256132
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageLink called request two times

2006-03-05 Thread R.A

Sorry, when import sources, this problem is same.
doGet is called two times.
--
View this message in context: 
http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3256582
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageLink called request two times

2006-03-02 Thread R.A

Hi Johan,

The same thing occurred in Wicket Examples.
I added System.out.println in NonBookmarkablePage.

* wicket.examples.compref.NonBookmarkablePage
public class NonBookmarkablePage extends WebPage
{
/**
 * Constructor.
 * @param referer the refering page
 */
public NonBookmarkablePage(final WebPage referer)
{
if (referer == null)
{
throw new IllegalArgumentException(Argument referer must not be
null);
}

// Add a link to navigate back to the refering page. We now use the
PageLink
// constructor with the Page instance argument, because we allready
have a page instance
// at our disposal
add(new PageLink(navigateBackLink, referer));

// Note that this would have had the same effect
//
//  add(new Link(navigateBackLink)
//  {
//public void onClick()
//{
//setResponsePage(referer);
//}
//  });
}

// add
protected void onBeginRequest() {
System.out.println(Entering on BeginRequest);
}
}

And original PageLinkPage code is here.

* wicket.examples.compref.PageLinkPage
public class PageLinkPage extends WicketExamplePage
{
/**
 * Constructor
 */
public PageLinkPage()
{
add(new PageLink(pageLink, new IPageLink()
{
public Page getPage()
{
return new 
NonBookmarkablePage(PageLinkPage.this);
}

public Class getPageIdentity()
{
return NonBookmarkablePage.class;
}
}));
}
}

And I accessed Wicket Examples - complef -
wicket.markup.html.link.PageLink - go to our private/ non bookmarkable
page, logs are made to output as follows.

[06/03/02 19:12:30:203 JST] 1d54d85e SystemOut O Entering onBeginRequest

onBeginRequest was called one time.

Then I changed PageLinkPage as follows.

public class PageLinkPage extends WicketExamplePage
{
/**
 * Constructor
 */
public PageLinkPage()
{
/*
add(new PageLink(pageLink, new IPageLink()
{
public Page getPage()
{
return new 
NonBookmarkablePage(PageLinkPage.this);
}

public Class getPageIdentity()
{
return NonBookmarkablePage.class;
}
}));
*/
// add
add(new PageLink(pageLink, new NonBookmarkablePage(this)));
}
}

And I accessed Wicket Examples again, logs as follows.

Entering on BeginRequest
[06/03/02 19:22:46:625 JST]  ae46607 SystemOut O Entering onBeginRequest

onBeginRequest was called two times.

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3199970
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageLink called request two times

2006-03-02 Thread R.A

Hi Johan, 

I set a breakpoint, the thread of onBeginRequest was runnning two times.
I use WebSphere Studio and WebSphere Test Environment.
In trial I deployed Wicket Examples on Tomcat, onBeginRequest is called just
one time.
This problem is thought that WebSphere is cause.
I'll check this out.
Thanks a lot!

R.A
--
View this message in context: 
http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3214470
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] PageLink called request two times

2006-03-01 Thread R.A

Hi,

I create PageLink in the FirstPage class's constructor.
ex. Link nextLink = new PageLink(nextLink,
NextPage.class).setAutoEnable(true);
In the NextPage class's constructor, I create DataView with IDataProvider.
ex. DataView dataView = new DataView(dataView, new
CustomDataProvider(model)) {
protected void populateItem(final Item item) {
.

On click the link to NextPage, DataView is called two times.
So the program access database two times.
And onBeginRequest is called two times too.
Why?

I use wicket-1.2-20060227-0200.

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3184409
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageLink called request two times

2006-03-01 Thread R.A

Hi Johan,

I use iBATIS to access database and set the log to debugging mode.
I take notice of two times database access by logs, so I write the following
code.
protected void onBeginRequest() {
System.out.println(Entering onBeginRequest);
}
Then logs are made to output as follows.

Entering onBeginRequest
 *snip*
DEBUG - PreparedStatement  - {pstm-100010} PreparedStatement:   
SELECT*   FROM *snip*
 *snip*
Entering onBeginRequest
 *snip*
DEBUG - PreparedStatement  - {pstm-100010} PreparedStatement:   
SELECT*   FROM *snip*

In trial I rewrite PageLink code this,
Link nextLink = new PageLink(nextLink, NextPage.class) {
public void onClick() {
setResponsePage(NextPage.class);
}
}.setAutoEnable(true);
Then onBeginRequest called just one time.

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/PageLink-called-request-two-times-t1205926.html#a3194962
Sent from the Wicket - User forum at Nabble.com.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user