[Wicket-user] wicket -compenent

2007-06-21 Thread tnjtn1

Hi,
 
give the syntax of wicket component .
Regards,
kumar
-- 
View this message in context: 
http://www.nabble.com/wicket--compenent-tf3956739.html#a11227203
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How can we change a component dynamically in Wicket ?

2007-06-21 Thread rc.china


swaroop wrote:
 
 I can see a few things gond wrong here...
 
 1 First in the onclick method , this does not refer to the original
 parent
 to which label  was added initially as label is the component u want to
 replace 
 
 2 When u want to add a new component to replace the original component
 in the parent heirarchy , u need to call replace method or replaceWith
 method
 
 3 Dont create the textfield right at the beginning. Do it in the onClick
 method. 
 Here it just hangs out there until user clicks the link
 
 -swaroop
 

you are right, I have make some mistake.




Timo wrote:
 
 This is suspicious. I don't think you should add components 
 to the hierarchy during ajax request processing, and 
 definitely not if-else what you add when you have static 
 markup (i.e. no repeaters). 
 
 Always add both components, and set their visibility as 
 needed. Wicket visibility controls whether the comoponent 
 produces any markup at all, so it's stronger than HTML 
 visibility. 
 
 With ajax updates of visibility you need a placeholder to 
 update around the component (as invisible components don't 
 provide any markup which ajax could update). 
 
 Best wishes, 
 Timo 
 
 P.S. Congratulations to Apache Wicket for graduating! 
 
 
 -- 
 Timo Rantalaiho 
 
I just show what i want using this simple example. In practice, I have a
menu/tree link and i want to dynamically show different content in one area
for each menu item or tree item.
If we use placeholders for each of them, it would be terrible.


Thank you guys. I have found another mistake in this example. In the html
template:
html
body
  
  br/
   Click here 
/body 
/html

The  is ok for wicket.markup.html.basic.Label, however,
wicket.markup.html.form.TextField asks for input, so it is disappointing.
-- 
View this message in context: 
http://www.nabble.com/How-can-we-change-a-component-dynamically-in-Wicket---tf3956267.html#a11227255
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Use HTML controls directly with no wicket:id

2007-06-21 Thread Toscano

Hello Igor,

Thank you so much for your answer.

It didn't work. When I try I got the component added in code but not
referenced on markup.
This is my code:

page.java:
userInformationForm.add(new FormComponent(oskar){}); // I have a
CompoundPropertyModel

html:
select wicketd:id=oskar
option value=1Oskar1/option
option value=2Oskar2/option
/select

Any ideas?

Again, thank you very much for your time.
Oskar





igor.vaynberg wrote:
 
 add(new FormComponent(staticselect, new PropertyModel(this,
 countryname)) {});
 
 select wicket:id=staticselectoption 
 
 ought to do it
 
 -igor
 
 On 6/20/07, Toscano [EMAIL PROTECTED] wrote:


 Hello,

 I'm working in a very big project with Wicket, but we have a huge form
 with
 more than 20 dropdown lists whose content is loaded from database. This
 makes the form loading very slow.
 Most of these dropdown lists will not change, so there is no need of
 loading
 them from database. For example, we have a Countries dropdown.

 Instead of using

 select wicket:id=countries/

 Can we just put directly the values into the html page?

 select id=countries
 option value=1Albania/option
 option value=2Australia/option
 ..
 /select


 If I put wicket:id, Wicket will replace the options. If I use standard
 html
 id=countries, can I retrieve the value from Wicket? How can I do that?

 Thank you very much for your help and time,
 Oskar



 --
 View this message in context:
 http://www.nabble.com/Use-HTML-controls-directly-with-no-wicket%3Aid-tf3956238.html#a11225889
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 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/Use-HTML-controls-directly-with-no-wicket%3Aid-tf3956238.html#a11227283
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket -compenent

2007-06-21 Thread Eelco Hillenius
 give the syntax of wicket component .
 Regards,

Could you please be a tiny little bit more specific please? :)

Eelco

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How can we change a component dynamically in Wicket ?

2007-06-21 Thread rc.china

It seems that Lable use  s p a n  tag while TextField use  i n p u t  tag 
and that they conflict. I have changed the code like this and it still does
not work properly. Does anyone have any  workaround ? Thank you!

public class Login extends WebPage {
private int count = 0;

Label label = null;
TextField textField = null;

public Login() {
super();

label = new Label(label, new PropertyModel(this, count));
label.setOutputMarkupId(true);

textField = new TextField(label, new PropertyModel(this, 
count));
textField.setOutputMarkupId(true);  

AjaxLink ajaxLink = new AjaxLink(ajaxLink) {
public void onClick(AjaxRequestTarget request) {
count++;

if (count % 2 == 0)
{
this.findPage().replace(label);
request.addComponent(label);

}
else
{
this.findPage().replace(textField);
request.addComponent(textField);

}   
}
};

this.add(label);
this.add(ajaxLink);
}

public int getCount() {
return count;
}

public void setCount(int count) {
this.count = count;
}
}
-- 
View this message in context: 
http://www.nabble.com/How-can-we-change-a-component-dynamically-in-Wicket---tf3956267.html#a11227330
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How can we change a component dynamically in Wicket ?

2007-06-21 Thread Igor Vaynberg

if you want to switch between a label and a textfield, or any two things
that require unique markup but not big enough to factor out into panels then
you should use fragments

!-- placeholder --
div wicket:id=placeholder/div

wicket:fragment wicket:id=txtinput type=text
wicket:id=//wicket:fragment
wicket:fragment wicket:id=lblspan
wicket:id=label/span/wicket:fragment

then simply insert the correct fragment into the placeholder div

if you dont want to see the div and using wicket 1.3 you can use
wicket:container instead of div, eg, wicket:container
wicket:id=placeholder/wicket:container

-igor


On 6/20/07, rc.china [EMAIL PROTECTED] wrote:




swaroop wrote:

 I can see a few things gond wrong here...

 1 First in the onclick method , this does not refer to the original
 parent
 to which label  was added initially as label is the component u want to
 replace

 2 When u want to add a new component to replace the original component
 in the parent heirarchy , u need to call replace method or replaceWith
 method

 3 Dont create the textfield right at the beginning. Do it in the
onClick
 method.
 Here it just hangs out there until user clicks the link

 -swaroop


you are right, I have make some mistake.




Timo wrote:

 This is suspicious. I don't think you should add components
 to the hierarchy during ajax request processing, and
 definitely not if-else what you add when you have static
 markup (i.e. no repeaters).

 Always add both components, and set their visibility as
 needed. Wicket visibility controls whether the comoponent
 produces any markup at all, so it's stronger than HTML
 visibility.

 With ajax updates of visibility you need a placeholder to
 update around the component (as invisible components don't
 provide any markup which ajax could update).

 Best wishes,
 Timo

 P.S. Congratulations to Apache Wicket for graduating!


 --
 Timo Rantalaiho

I just show what i want using this simple example. In practice, I have a
menu/tree link and i want to dynamically show different content in one
area
for each menu item or tree item.
If we use placeholders for each of them, it would be terrible.


Thank you guys. I have found another mistake in this example. In the html
template:
html
body

  br/
   Click here
/body
/html

The  is ok for wicket.markup.html.basic.Label, however,
wicket.markup.html.form.TextField asks for input, so it is
disappointing.
--
View this message in context:
http://www.nabble.com/How-can-we-change-a-component-dynamically-in-Wicket---tf3956267.html#a11227255
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Use HTML controls directly with no wicket:id

2007-06-21 Thread Igor Vaynberg

look at the error, it says you added the component to code but not to
markup, that means wicket cannot find the component in markup - in this case
because you misspelled wicket:id attribute

-igor


On 6/20/07, Toscano [EMAIL PROTECTED] wrote:



Hello Igor,

Thank you so much for your answer.

It didn't work. When I try I got the component added in code but not
referenced on markup.
This is my code:

page.java:
userInformationForm.add(new FormComponent(oskar){}); // I have a
CompoundPropertyModel

html:
select wicketd:id=oskar
option value=1Oskar1/option
option value=2Oskar2/option
/select

Any ideas?

Again, thank you very much for your time.
Oskar





igor.vaynberg wrote:

 add(new FormComponent(staticselect, new PropertyModel(this,
 countryname)) {});

 select wicket:id=staticselectoption 

 ought to do it

 -igor

 On 6/20/07, Toscano [EMAIL PROTECTED] wrote:


 Hello,

 I'm working in a very big project with Wicket, but we have a huge form
 with
 more than 20 dropdown lists whose content is loaded from database. This
 makes the form loading very slow.
 Most of these dropdown lists will not change, so there is no need of
 loading
 them from database. For example, we have a Countries dropdown.

 Instead of using

 select wicket:id=countries/

 Can we just put directly the values into the html page?

 select id=countries
 option value=1Albania/option
 option value=2Australia/option
 ..
 /select


 If I put wicket:id, Wicket will replace the options. If I use standard
 html
 id=countries, can I retrieve the value from Wicket? How can I do
that?

 Thank you very much for your help and time,
 Oskar



 --
 View this message in context:

http://www.nabble.com/Use-HTML-controls-directly-with-no-wicket%3Aid-tf3956238.html#a11225889
 Sent from the Wicket - User mailing list archive at Nabble.com.



-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 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/Use-HTML-controls-directly-with-no-wicket%3Aid-tf3956238.html#a11227283
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] handling expiring pages

2007-06-21 Thread Pieter Cogghe

That's partially true, but after the session expired and the user has logged
in again, you can redirect him immediately to the place where he was when
the session expired (if that's a stateless page). It's true that this is
more an issue with sites that don't require the user to log in and that's
the case that concerns me the most.



2007/6/20, Eelco Hillenius [EMAIL PROTECTED]:


 But even if I would accept the usability penalty of the expiring pages,
I'm
 surrounded by usability experts who will never do that. Moreover a very
long
 session timeout won't be accepted by others.

But if you require your users to be logged in, what alternatives are
left then? Even if you would use another framework, you would have to
deal with session time-outs, right?

I'm sure there are still possibilities to improve though. One of the
things that we've been talking about is to have a more recoverable
model. Like in, when a page for an internal page is not found, we
would try to construct it's bookmarkable counterpart etc. I think
we've discussing this as 'hybrib urls' and Matej has been doing some
experimentation with this. We also just need a couple of really good
ideas and use cases if we want to improve on this.

Cheers,

Eelco

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Pieter Cogghe
Ganzendries 186
9000 Gent
0487 10 14 21
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RadioGroup and AjaxFormComponentUpdatingBehavior

2007-06-21 Thread Alex Objelean

There is another approach, see 
http://www.nabble.com/-Question--wicket.markup.html.form.Radio-tf3926549.html#a11135460
here 

JulianS wrote:
 
 
 I've created a solution that works for me. See 
 http://blogstoyevskys-javajourney.blogspot.com/2007/06/ajax-enabled-radio-group-for-wicket-12x.html
 this post .
 
 Julian
 
 JulianS wrote:
 
 Martijn, 
 
 Was this ever fixed for 1.2.x? The link below gives the error Only Group
 Members Can View Private ArtifactTypes.
 
 Thanks,
 Julian
 
 
 

-- 
View this message in context: 
http://www.nabble.com/RadioGroup-and-AjaxFormComponentUpdatingBehavior-tf1789105.html#a11227416
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] handling expiring pages

2007-06-21 Thread Eelco Hillenius
Just for the record, I think the whole team agrees we should keep
looking for possible improvements. All things considered - programming
model, security implications, bandwidth use, etc - it's hard to
imagine there wil ever be a framework that satisfies on all aspects.
The issue here is definitively a downside of Wicket, though the other
side of the medal (besides the program model) is that it is inheritly
secure. Which probably makes more sense for intranet-like sites than
for public facing sites.

Anyway, like I mentioned in an earlier reply, a great facility to get
around this at least partially has been discussed as hybrid URLs,
which would carry enough information to 'recover' in when sessions are
expired so that at the user would be displayed a page that is at least
more satisfying than simply a page/ session expired page. For the time
though, I'm afraid we'll have to give other things priorities.
Hopefully we can pick this up again in a few months when we're
starting development on Wicket 1.4. Until then: make smart us of
bookmarkable- and stateless pages and possibly cookies.

Regards,

Eelco


On 6/20/07, Pieter Cogghe [EMAIL PROTECTED] wrote:
 That's partially true, but after the session expired and the user has logged
 in again, you can redirect him immediately to the place where he was when
 the session expired (if that's a stateless page). It's true that this is
 more an issue with sites that don't require the user to log in and that's
 the case that concerns me the most.



 2007/6/20, Eelco Hillenius [EMAIL PROTECTED]:
 
   But even if I would accept the usability penalty of the expiring pages,
 I'm
   surrounded by usability experts who will never do that. Moreover a very
 long
   session timeout won't be accepted by others.
 
  But if you require your users to be logged in, what alternatives are
  left then? Even if you would use another framework, you would have to
  deal with session time-outs, right?
 
  I'm sure there are still possibilities to improve though. One of the
  things that we've been talking about is to have a more recoverable
  model. Like in, when a page for an internal page is not found, we
  would try to construct it's bookmarkable counterpart etc. I think
  we've discussing this as 'hybrib urls' and Matej has been doing some
  experimentation with this. We also just need a couple of really good
  ideas and use cases if we want to improve on this.
 
  Cheers,
 
  Eelco
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 



 --
 Pieter Cogghe
 Ganzendries 186
 9000 Gent
 0487 10 14 21
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] handling expiring pages

2007-06-21 Thread Igor Vaynberg

you can only do it if you are writing a purely stateless application - zero
session use. and if this is a hard requirement then wicket is probably not
for you. of course it is pretty difficult and annoying to write any soft of
a complex web ui without using session at all, thus wicket. so just depends
on what tradeoffs match your specs.

-igor


On 6/20/07, Pieter Cogghe [EMAIL PROTECTED] wrote:


That's partially true, but after the session expired and the user has
logged in again, you can redirect him immediately to the place where he was
when the session expired (if that's a stateless page). It's true that this
is more an issue with sites that don't require the user to log in and that's
the case that concerns me the most.



2007/6/20, Eelco Hillenius [EMAIL PROTECTED]:

  But even if I would accept the usability penalty of the expiring
 pages, I'm
  surrounded by usability experts who will never do that. Moreover a
 very long
  session timeout won't be accepted by others.

 But if you require your users to be logged in, what alternatives are
 left then? Even if you would use another framework, you would have to
 deal with session time-outs, right?

 I'm sure there are still possibilities to improve though. One of the
 things that we've been talking about is to have a more recoverable
 model. Like in, when a page for an internal page is not found, we
 would try to construct it's bookmarkable counterpart etc. I think
 we've discussing this as 'hybrib urls' and Matej has been doing some
 experimentation with this. We also just need a couple of really good
 ideas and use cases if we want to improve on this.

 Cheers,

 Eelco

 -

 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Pieter Cogghe
Ganzendries 186
9000 Gent
0487 10 14 21

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Use HTML controls directly with no wicket:id

2007-06-21 Thread Toscano

Oh, I'm very sorry, I was so worried about the FormComponent that I didn't
realized

Sorry for bothering you with this!

And Thanks!,
Oskar



igor.vaynberg wrote:
 
 look at the error, it says you added the component to code but not to
 markup, that means wicket cannot find the component in markup - in this
 case
 because you misspelled wicket:id attribute
 
 -igor
 
 
 On 6/20/07, Toscano [EMAIL PROTECTED] wrote:


 Hello Igor,

 Thank you so much for your answer.

 It didn't work. When I try I got the component added in code but not
 referenced on markup.
 This is my code:

 page.java:
 userInformationForm.add(new FormComponent(oskar){}); // I have a
 CompoundPropertyModel

 html:
 select wicketd:id=oskar
 option value=1Oskar1/option
 option value=2Oskar2/option
 /select

 Any ideas?

 Again, thank you very much for your time.
 Oskar





 igor.vaynberg wrote:
 
  add(new FormComponent(staticselect, new PropertyModel(this,
  countryname)) {});
 
  select wicket:id=staticselectoption 
 
  ought to do it
 
  -igor
 
  On 6/20/07, Toscano [EMAIL PROTECTED] wrote:
 
 
  Hello,
 
  I'm working in a very big project with Wicket, but we have a huge form
  with
  more than 20 dropdown lists whose content is loaded from database.
 This
  makes the form loading very slow.
  Most of these dropdown lists will not change, so there is no need of
  loading
  them from database. For example, we have a Countries dropdown.
 
  Instead of using
 
  select wicket:id=countries/
 
  Can we just put directly the values into the html page?
 
  select id=countries
  option value=1Albania/option
  option value=2Australia/option
  ..
  /select
 
 
  If I put wicket:id, Wicket will replace the options. If I use standard
  html
  id=countries, can I retrieve the value from Wicket? How can I do
 that?
 
  Thank you very much for your help and time,
  Oskar
 
 
 
  --
  View this message in context:
 
 http://www.nabble.com/Use-HTML-controls-directly-with-no-wicket%3Aid-tf3956238.html#a11225889
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  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/Use-HTML-controls-directly-with-no-wicket%3Aid-tf3956238.html#a11227283
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 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/Use-HTML-controls-directly-with-no-wicket%3Aid-tf3956238.html#a11227565
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Use HTML controls directly with no wicket:id

2007-06-21 Thread Igor Vaynberg

happens to everyone once in a while :)

-igor


On 6/20/07, Toscano [EMAIL PROTECTED] wrote:



Oh, I'm very sorry, I was so worried about the FormComponent that I didn't
realized

Sorry for bothering you with this!

And Thanks!,
Oskar



igor.vaynberg wrote:

 look at the error, it says you added the component to code but not to
 markup, that means wicket cannot find the component in markup - in this
 case
 because you misspelled wicket:id attribute

 -igor


 On 6/20/07, Toscano [EMAIL PROTECTED] wrote:


 Hello Igor,

 Thank you so much for your answer.

 It didn't work. When I try I got the component added in code but not
 referenced on markup.
 This is my code:

 page.java:
 userInformationForm.add(new FormComponent(oskar){}); // I have a
 CompoundPropertyModel

 html:
 select wicketd:id=oskar
 option value=1Oskar1/option
 option value=2Oskar2/option
 /select

 Any ideas?

 Again, thank you very much for your time.
 Oskar





 igor.vaynberg wrote:
 
  add(new FormComponent(staticselect, new PropertyModel(this,
  countryname)) {});
 
  select wicket:id=staticselectoption 
 
  ought to do it
 
  -igor
 
  On 6/20/07, Toscano [EMAIL PROTECTED] wrote:
 
 
  Hello,
 
  I'm working in a very big project with Wicket, but we have a huge
form
  with
  more than 20 dropdown lists whose content is loaded from database.
 This
  makes the form loading very slow.
  Most of these dropdown lists will not change, so there is no need of
  loading
  them from database. For example, we have a Countries dropdown.
 
  Instead of using
 
  select wicket:id=countries/
 
  Can we just put directly the values into the html page?
 
  select id=countries
  option value=1Albania/option
  option value=2Australia/option
  ..
  /select
 
 
  If I put wicket:id, Wicket will replace the options. If I use
standard
  html
  id=countries, can I retrieve the value from Wicket? How can I do
 that?
 
  Thank you very much for your help and time,
  Oskar
 
 
 
  --
  View this message in context:
 

http://www.nabble.com/Use-HTML-controls-directly-with-no-wicket%3Aid-tf3956238.html#a11225889
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 

-
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 

-
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  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/Use-HTML-controls-directly-with-no-wicket%3Aid-tf3956238.html#a11227283
 Sent from the Wicket - User mailing list archive at Nabble.com.



-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 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/Use-HTML-controls-directly-with-no-wicket%3Aid-tf3956238.html#a11227565
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageMap.AccessStack gone in 1.3

2007-06-21 Thread Ivo van Dongen

Hi,

Thanks for the quick reply. That would mean that the second level cache
isn't used any more right? Does this lead to a great increase in session
size or are there other disadvantages?

Regards,
Ivo

On 6/20/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


On 6/20/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 you either have to pass a reference, keep a reference to last page in
 session, or not use the second level page store.

If you put:

protected ISessionStore newSessionStore() {
  return new HttpSessionStore(this);
}

in your application object, Wicket will use that session store instead
of the default. HttpSessionStore is the same store as was the default
in 1.2.

Eelco

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Ivo van Dongen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageMap.AccessStack gone in 1.3

2007-06-21 Thread Johan Compagner

yes then SLC isn't used, you use the same thing as you did with 1.2
session size is increased then because more page/pageversions are in memory.

johan


On 6/21/07, Ivo van Dongen [EMAIL PROTECTED] wrote:


Hi,

Thanks for the quick reply. That would mean that the second level cache
isn't used any more right? Does this lead to a great increase in session
size or are there other disadvantages?

Regards,
Ivo

On 6/20/07, Eelco Hillenius [EMAIL PROTECTED] wrote:

 On 6/20/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
  you either have to pass a reference, keep a reference to last page in
  session, or not use the second level page store.

 If you put:

 protected ISessionStore newSessionStore() {
   return new HttpSessionStore(this);
 }

 in your application object, Wicket will use that session store instead
 of the default. HttpSessionStore is the same store as was the default
 in 1.2.

 Eelco


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Ivo van Dongen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] handling expiring pages

2007-06-21 Thread Pieter Cogghe

It's nice to hear you are working on improvements.

Thanks,

Pieter

ps

just wanted to mention a scenario I ran in to:

You log in and open a second window or tab of the same application. A page
can expire in one window, while you are stilled logged because you are
working in the other window.



2007/6/21, Igor Vaynberg [EMAIL PROTECTED]:


you can only do it if you are writing a purely stateless application -
zero session use. and if this is a hard requirement then wicket is probably
not for you. of course it is pretty difficult and annoying to write any soft
of a complex web ui without using session at all, thus wicket. so just
depends on what tradeoffs match your specs.

-igor


On 6/20/07, Pieter Cogghe [EMAIL PROTECTED] wrote:

 That's partially true, but after the session expired and the user has
 logged in again, you can redirect him immediately to the place where he was
 when the session expired (if that's a stateless page). It's true that this
 is more an issue with sites that don't require the user to log in and that's
 the case that concerns me the most.



 2007/6/20, Eelco Hillenius [EMAIL PROTECTED] :
 
   But even if I would accept the usability penalty of the expiring
  pages, I'm
   surrounded by usability experts who will never do that. Moreover a
  very long
   session timeout won't be accepted by others.
 
  But if you require your users to be logged in, what alternatives are
  left then? Even if you would use another framework, you would have to
  deal with session time-outs, right?
 
  I'm sure there are still possibilities to improve though. One of the
  things that we've been talking about is to have a more recoverable
  model. Like in, when a page for an internal page is not found, we
  would try to construct it's bookmarkable counterpart etc. I think
  we've discussing this as 'hybrib urls' and Matej has been doing some
  experimentation with this. We also just need a couple of really good
  ideas and use cases if we want to improve on this.
 
  Cheers,
 
  Eelco
 
  -
 
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 



 --
 Pieter Cogghe
 Ganzendries 186
 9000 Gent
 0487 10 14 21


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Pieter Cogghe
Ganzendries 186
9000 Gent
0487 10 14 21
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageMap.AccessStack gone in 1.3

2007-06-21 Thread Ivo van Dongen

Hi,

Sorry, but I don't get exactly what to do here. As I understand it you're
advising me to store a separate map of Pages in the Session and then lookup
the previous Page there? Otherwise I wouldn't see how to implement the
YourSession.get().getPage() method as I still can't get to the PageMap's
size to use that to calculate the previous PageEntry's id. I'm probably
totally missing something here :)

Thanks,
Ivo

On 6/20/07, Johan Compagner [EMAIL PROTECTED] wrote:


What i would do is a bit different.

You want a stack of the last rendered pages?

if you have a common BasePage then override:

protected void onBeforeRender()


in that method you take your session and add a object that stores the page
id and the current version number entry.

YourSession.get().addPageEntry(getPageMapName(), getNumericId(),
getCurrentPageVersion());

then if you want go back:

YourSession.get().getPage(-1)

-1 (is the previous page) -2 skip 2


in that method you can get the page then:

return PageMap.forName(pagemapname).get(pageid,versionid)

johan



On 6/20/07, Ivo van Dongen [EMAIL PROTECTED] wrote:

 Hi,

 We're in the middle of upgrading one of our apps from wicket 1.2.6 to
 1.3 (finally :)). Sadly, we're running into a small problem which we
 don't know how to get around.
 In our 1.2.6 version we had an utility class to set up previous page
 links based on the PageMap. It went something like this:

 public static PreviousPageLink getInstance(String markupId) {
 PageMap pageMap = (PageMap) Session.get().getDefaultPageMap();
 int size = pageMap.getAccessStack().size();
 if(size  0) {
 PageMap.Access access = (PageMap.Access)
 pageMap.getAccessStack().get(size-1);
 Page previousPage = pageMap.getEntry(access.getId
 ()).getPage();
 ...
 }

 But in 1.3 the AccessStack isn't available in PageMap, only in
 AccessStackPageMap. But the PageMap used in our application is the
 SecondLevelCachePageMap which doesn't have any means to access the list of
 PageMapEntries.

 Any ideas on how to work arround this? We've tried to use the numeric id
 from the page, but that seems to be zero every time.

 Thanks in advance,
 Ivo and Rommert

 --
 Ivo van Dongen
 Func. Internet Integration
 W http://www.func.nl
 T +31 20 423
 F +31 20 4223500

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Ivo van Dongen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageMap.AccessStack gone in 1.3

2007-06-21 Thread Eelco Hillenius
It's a tradeoff (you saw that coming). HttpSessionStore uses more
memory and has limited (configurable) backbutton support, but is more
efficient in calculating state changes and does not require second
level cache to start with. SLCSS theoretically has unlimited back
button support and is much more efficient with RAM, but serializes
more (whole page on every request) and by default uses disk to store
older versions. After doing lots of testing (and optimizing) we found
the serialization and disk access penalty was well worth the decreased
memory usage, which is why SLCSS is the default now.

Eelco


On 6/21/07, Johan Compagner [EMAIL PROTECTED] wrote:
 yes then SLC isn't used, you use the same thing as you did with 1.2
 session size is increased then because more page/pageversions are in memory.

 johan



 On 6/21/07, Ivo van Dongen [EMAIL PROTECTED] wrote:
  Hi,
 
  Thanks for the quick reply. That would mean that the second level cache
 isn't used any more right? Does this lead to a great increase in session
 size or are there other disadvantages?
 
  Regards,
  Ivo
 
 
 
  On 6/20/07, Eelco Hillenius [EMAIL PROTECTED]  wrote:
   On 6/20/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
you either have to pass a reference, keep a reference to last page in
session, or not use the second level page store.
  
   If you put:
  
   protected ISessionStore newSessionStore() {
 return new HttpSessionStore(this);
   }
  
   in your application object, Wicket will use that session store instead
   of the default. HttpSessionStore is the same store as was the default
   in 1.2.
  
   Eelco
  
  
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
 
  --
  Ivo van Dongen
  Func. Internet Integration
  W http://www.func.nl
  T +31 20 423
  F +31 20 4223500
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageMap.AccessStack gone in 1.3

2007-06-21 Thread Johan Compagner

If you store the id/version of a page when it is renderd in your session (in
a list/stack object)
then you are doing exactly the same as the AccessStackPageMap would do.

You should only store the id/version not the page itself, because you don't
have to hold on to a reference of it you can always restore any page of the
current session.

So pagex.onRender - store the id/version in your session: now has an entry
of 1
pagey.onRender - add the id/version of this one now has an entry of 2
pagez.onRender -  add the id/version of this one now has an entry of 3

then you want to go back and take the id/version of pagey and restore that
page for rendering.
if you then want to completely do the same thing remove the pagez entry so
that you now have 2 entries again after pagey rendered for the second time

johan


On 6/21/07, Ivo van Dongen [EMAIL PROTECTED] wrote:


Hi,

Sorry, but I don't get exactly what to do here. As I understand it you're
advising me to store a separate map of Pages in the Session and then lookup
the previous Page there? Otherwise I wouldn't see how to implement the
YourSession.get().getPage() method as I still can't get to the PageMap's
size to use that to calculate the previous PageEntry's id. I'm probably
totally missing something here :)

Thanks,
Ivo

On 6/20/07, Johan Compagner [EMAIL PROTECTED] wrote:

 What i would do is a bit different.

 You want a stack of the last rendered pages?

 if you have a common BasePage then override:

 protected void onBeforeRender()


 in that method you take your session and add a object that stores the
 page id and the current version number entry.

 YourSession.get().addPageEntry(getPageMapName(), getNumericId(),
 getCurrentPageVersion());

 then if you want go back:

 YourSession.get().getPage(-1)

 -1 (is the previous page) -2 skip 2


 in that method you can get the page then:

 return PageMap.forName(pagemapname).get(pageid,versionid)

 johan



 On 6/20/07, Ivo van Dongen [EMAIL PROTECTED] wrote:
 
  Hi,
 
  We're in the middle of upgrading one of our apps from wicket 1.2.6 to
  1.3 (finally :)). Sadly, we're running into a small problem which we
  don't know how to get around.
  In our 1.2.6 version we had an utility class to set up previous page
  links based on the PageMap. It went something like this:
 
  public static PreviousPageLink getInstance(String markupId) {
  PageMap pageMap = (PageMap) Session.get().getDefaultPageMap();
  int size = pageMap.getAccessStack().size();
  if(size  0) {
  PageMap.Access access = (PageMap.Access)
  pageMap.getAccessStack().get(size-1);
  Page previousPage = pageMap.getEntry(access.getId
  ()).getPage();
  ...
  }
 
  But in 1.3 the AccessStack isn't available in PageMap, only in
  AccessStackPageMap. But the PageMap used in our application is the
  SecondLevelCachePageMap which doesn't have any means to access the list of
  PageMapEntries.
 
  Any ideas on how to work arround this? We've tried to use the numeric
  id from the page, but that seems to be zero every time.
 
  Thanks in advance,
  Ivo and Rommert
 
  --
  Ivo van Dongen
  Func. Internet Integration
  W http://www.func.nl
  T +31 20 423
  F +31 20 4223500
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Ivo van Dongen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.

Re: [Wicket-user] handling expiring pages

2007-06-21 Thread Johan Compagner

we already have hybrid urls
if you make a statelessform or link then that will generate hybrid urls (the
did that from day 1 we have the stateless support i think)


On 6/20/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


 But even if I would accept the usability penalty of the expiring pages,
I'm
 surrounded by usability experts who will never do that. Moreover a very
long
 session timeout won't be accepted by others.

But if you require your users to be logged in, what alternatives are
left then? Even if you would use another framework, you would have to
deal with session time-outs, right?

I'm sure there are still possibilities to improve though. One of the
things that we've been talking about is to have a more recoverable
model. Like in, when a page for an internal page is not found, we
would try to construct it's bookmarkable counterpart etc. I think
we've discussing this as 'hybrib urls' and Matej has been doing some
experimentation with this. We also just need a couple of really good
ideas and use cases if we want to improve on this.

Cheers,

Eelco

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Newbie Question: you are about to be redirected to a connection that is not secure Warning

2007-06-21 Thread Johan Compagner

as far as i know wicket never redirected to ful urls (including protocol)
always relative (context path included or not)
so it seems to me that when we send a redirect url the container doesn't
prepends it with http instead of https.

johan


On 6/20/07, Hiller, Steve [EMAIL PROTECTED] wrote:


 Hi All,

I just created my first Wicket-based demo project -- I like the framework
and have been demonstrating it to my colleagues.

I have a web page that consists of a form and a panel. The form data is
used by some backend process that returns
a very long string. The string is formatted and then displayed in a
MultiLineLabel held within the panel. The same
web page is then displayed with the results.

The web app is deployed to a WebSphere application server, and SSL is
turned on. It seems like when the page is
about to be displayed with results, the following message is displayed:

You are about to be redirected to a connection that is not Secure. The
information you are sending to the current
site might be retransmitted to a nonsecure site. Do you wish to continue?

I have all the HTML pages and backing java classes all in one directory so
I'm not sure why having SSL turned on
is causing this problem. Any suggestions would be appreciated.

Thanks,
Steve

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageMap.AccessStack gone in 1.3

2007-06-21 Thread Johan Compagner

if you could come up with a nice navigation component that does this
behavior
we could maybe add this into wicket extentions  if more people would like to
have such a thing

johan


On 6/21/07, Ivo van Dongen [EMAIL PROTECTED] wrote:


Hi,

Thanks again for the help. As soon as I hit the reply button it dawned on
me, guess it's to early :)

Ivo

On 6/21/07, Johan Compagner [EMAIL PROTECTED] wrote:

 If you store the id/version of a page when it is renderd in your session
 (in a list/stack object)
 then you are doing exactly the same as the AccessStackPageMap would do.

 You should only store the id/version not the page itself, because you
 don't have to hold on to a reference of it you can always restore any page
 of the current session.

 So pagex.onRender - store the id/version in your session: now has an
 entry of 1
 pagey.onRender - add the id/version of this one now has an entry of 2
 pagez.onRender -  add the id/version of this one now has an entry of 3

 then you want to go back and take the id/version of pagey and restore
 that page for rendering.
 if you then want to completely do the same thing remove the pagez entry
 so that you now have 2 entries again after pagey rendered for the second
 time

 johan


 On 6/21/07, Ivo van Dongen  [EMAIL PROTECTED] wrote:
 
  Hi,
 
  Sorry, but I don't get exactly what to do here. As I understand it
  you're advising me to store a separate map of Pages in the Session and then
  lookup the previous Page there? Otherwise I wouldn't see how to implement
  the YourSession.get().getPage() method as I still can't get to the
  PageMap's size to use that to calculate the previous PageEntry's id. I'm
  probably totally missing something here :)
 
  Thanks,
  Ivo
 
  On 6/20/07, Johan Compagner [EMAIL PROTECTED]  wrote:
  
   What i would do is a bit different.
  
   You want a stack of the last rendered pages?
  
   if you have a common BasePage then override:
  
   protected void onBeforeRender()
  
  
   in that method you take your session and add a object that stores
   the page id and the current version number entry.
  
   YourSession.get().addPageEntry(getPageMapName(), getNumericId(),
   getCurrentPageVersion());
  
   then if you want go back:
  
   YourSession.get().getPage(-1)
  
   -1 (is the previous page) -2 skip 2
  
  
   in that method you can get the page then:
  
   return PageMap.forName(pagemapname).get(pageid,versionid)
  
   johan
  
  
  
   On 6/20/07, Ivo van Dongen [EMAIL PROTECTED] wrote:
   
Hi,
   
We're in the middle of upgrading one of our apps from wicket 1.2.6to
1.3 (finally :)). Sadly, we're running into a small problem which
we don't know how to get around.
In our 1.2.6 version we had an utility class to set up previous
page links based on the PageMap. It went something like this:
   
public static PreviousPageLink getInstance(String markupId) {
PageMap pageMap = (PageMap) Session.get
().getDefaultPageMap();
int size = pageMap.getAccessStack().size();
if(size  0) {
PageMap.Access access = (PageMap.Access)
pageMap.getAccessStack().get(size-1);
Page previousPage = pageMap.getEntry(access.getId
()).getPage();
...
}
   
But in 1.3 the AccessStack isn't available in PageMap, only in
AccessStackPageMap. But the PageMap used in our application is the
SecondLevelCachePageMap which doesn't have any means to access the list 
of
PageMapEntries.
   
Any ideas on how to work arround this? We've tried to use the
numeric id from the page, but that seems to be zero every time.
   
Thanks in advance,
Ivo and Rommert
   
--
Ivo van Dongen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
   

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
  
  
   -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
  --
  Ivo van Dongen
  Func. Internet Integration
  W http://www.func.nl
  T +31 20 423
  F +31 20 4223500
 
 
  

Re: [Wicket-user] How can we change a component dynamically in Wicket ?

2007-06-21 Thread Martijn Dashorst
On 6/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 if you dont want to see the div and using wicket 1.3 you can use
 wicket:container instead of div, eg, wicket:container
 wicket:id=placeholder/wicket:container

Or setRenderBodyOnly(true);

Martijn

-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] PageMap.AccessStack gone in 1.3

2007-06-21 Thread Ivo van Dongen

Hi,

Thanks again for the help. As soon as I hit the reply button it dawned on
me, guess it's to early :)

Ivo

On 6/21/07, Johan Compagner [EMAIL PROTECTED] wrote:


If you store the id/version of a page when it is renderd in your session
(in a list/stack object)
then you are doing exactly the same as the AccessStackPageMap would do.

You should only store the id/version not the page itself, because you
don't have to hold on to a reference of it you can always restore any page
of the current session.

So pagex.onRender - store the id/version in your session: now has an
entry of 1
pagey.onRender - add the id/version of this one now has an entry of 2
pagez.onRender -  add the id/version of this one now has an entry of 3

then you want to go back and take the id/version of pagey and restore that
page for rendering.
if you then want to completely do the same thing remove the pagez entry so
that you now have 2 entries again after pagey rendered for the second time

johan


On 6/21/07, Ivo van Dongen [EMAIL PROTECTED] wrote:

 Hi,

 Sorry, but I don't get exactly what to do here. As I understand it
 you're advising me to store a separate map of Pages in the Session and then
 lookup the previous Page there? Otherwise I wouldn't see how to implement
 the YourSession.get().getPage() method as I still can't get to the
 PageMap's size to use that to calculate the previous PageEntry's id. I'm
 probably totally missing something here :)

 Thanks,
 Ivo

 On 6/20/07, Johan Compagner [EMAIL PROTECTED]  wrote:
 
  What i would do is a bit different.
 
  You want a stack of the last rendered pages?
 
  if you have a common BasePage then override:
 
  protected void onBeforeRender()
 
 
  in that method you take your session and add a object that stores the
  page id and the current version number entry.
 
  YourSession.get().addPageEntry(getPageMapName(), getNumericId(),
  getCurrentPageVersion());
 
  then if you want go back:
 
  YourSession.get().getPage(-1)
 
  -1 (is the previous page) -2 skip 2
 
 
  in that method you can get the page then:
 
  return PageMap.forName(pagemapname).get(pageid,versionid)
 
  johan
 
 
 
  On 6/20/07, Ivo van Dongen [EMAIL PROTECTED] wrote:
  
   Hi,
  
   We're in the middle of upgrading one of our apps from wicket 1.2.6to
   1.3 (finally :)). Sadly, we're running into a small problem which we
   don't know how to get around.
   In our 1.2.6 version we had an utility class to set up previous page
   links based on the PageMap. It went something like this:
  
   public static PreviousPageLink getInstance(String markupId) {
   PageMap pageMap = (PageMap) Session.get
   ().getDefaultPageMap();
   int size = pageMap.getAccessStack().size();
   if(size  0) {
   PageMap.Access access = (PageMap.Access)
   pageMap.getAccessStack().get(size-1);
   Page previousPage = pageMap.getEntry(access.getId
   ()).getPage();
   ...
   }
  
   But in 1.3 the AccessStack isn't available in PageMap, only in
   AccessStackPageMap. But the PageMap used in our application is the
   SecondLevelCachePageMap which doesn't have any means to access the list of
   PageMapEntries.
  
   Any ideas on how to work arround this? We've tried to use the
   numeric id from the page, but that seems to be zero every time.
  
   Thanks in advance,
   Ivo and Rommert
  
   --
   Ivo van Dongen
   Func. Internet Integration
   W http://www.func.nl
   T +31 20 423
   F +31 20 4223500
  
   -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 --
 Ivo van Dongen
 Func. Internet Integration
 W http://www.func.nl
 T +31 20 423
 F +31 20 4223500


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 

[Wicket-user] Betr.: Write javascript to inlineframe

2007-06-21 Thread Marieke Vandamme

Do I need to report the problem with writing javascript to inlineframe on 
jira?
Or is this already a known issue...
Thanks !




Marieke Vandamme [EMAIL PROTECTED] 
Verzonden door: [EMAIL PROTECTED]
20/06/2007 14:00
Antwoord a.u.b. aan
wicket-user@lists.sourceforge.net


Aan
wicket-user@lists.sourceforge.net
Cc

Onderwerp
[Wicket-user] Write javascript to inlineframe







Hello, 

On my html page I have an iframe = iframe wicket:id=iframe/iframe 

Early code : 
WebMarkupContainer iframe = new WebMarkupContainer(iframe); 
Then I set the src for my iframe with a SimpleMarkupContainer =   
iframe.add(new SimpleAttributeModifier(src, 
urlFor(PageMap.forName(MyPageMap), MyPage.class, params))); 

New code (i want to change and use inlineframe): 
InlineFrame iframe = InlineFrame(iframe, PageMap.forName(MyPageMap), 
MyPage.class); 

Problem: 
In MyPage.java I want to write some javascript to my html using 
JavascriptUtils.writeJavascript. 
This works fine, untill I put a form on my FirstPage (the page that holds 
the iframe). 
Without the form, the javascript is printed in my iframe, with the form, 
it isn't... 
Is this expected behaviour when form and iframe are on the same page? 
When using my early code (with the simpleattributemodifier i don't have 
any problems).. 

I need my form, because my form contains an ajaxsubmitbutton and with this 
button i want to refresh my iframe. 
There I have another question.. 
Is the code underneath the best solution to do so or is there a better 
one? 

AjaxSubmitButton btn = new AjaxSubmitButton(btn, myForm) { 
  protected void onSubmit(AjaxRequestTarget target, Form form) { 
final InlineFrame newIframe = InlineFrame(iframe, 
PageMap.forName(MyPageMap), MyPage.class); 
newIframe.setOutputMarkupId(true); 
newIframe.replaceWith(iframe); 
target.addComponent(newIframe); 
  } 
}; 
 DISCLAIMER 

http://www.tvh.be/newen/pages/emaildisclaimer.html 

This message is delivered to all addressees subject to the conditions
set forth in the attached disclaimer, which is an integral part of this
message. 
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



 DISCLAIMER 
A HREF=http://www.tvh.be/newen/pages/emaildisclaimer.html;
http://www.tvh.be/newen/pages/emaildisclaimer.html /A

This message is delivered to all addressees subject to the conditions
set forth in the attached disclaimer, which is an integral part of this
message. -
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Use HTML controls directly with no wicket:id

2007-06-21 Thread Toscano

Sorry again...

I have it working, but I have another problem... 
For example, if we have two values in the select, how can I specify from
java code to select the second value? I tried to setup the property of the
Compound Model but the value is not selected...

Java code:

userInformation.setOskar(2);
userInformationModel = new CompoundPropertyModel(userInformation);
// Form
userInformationForm = new UserInformationForm (userInformationForm,
userInformationModel);
userInformationForm.add(new FormComponent(oskar){});
// Add form to page
   add(userInformationForm);

Html code:
tdselect wicket:id=oskar
option value=1Oskar1/option
option value=2Oskar2/option
/select


Any ideas?

Again, thank you very very very very very much!
Oskar



igor.vaynberg wrote:
 
 happens to everyone once in a while :)
 
 -igor
 
 
 On 6/20/07, Toscano [EMAIL PROTECTED] wrote:


 Oh, I'm very sorry, I was so worried about the FormComponent that I
 didn't
 realized

 Sorry for bothering you with this!

 And Thanks!,
 Oskar



 igor.vaynberg wrote:
 
  look at the error, it says you added the component to code but not to
  markup, that means wicket cannot find the component in markup - in this
  case
  because you misspelled wicket:id attribute
 
  -igor
 
 
  On 6/20/07, Toscano [EMAIL PROTECTED] wrote:
 
 
  Hello Igor,
 
  Thank you so much for your answer.
 
  It didn't work. When I try I got the component added in code but not
  referenced on markup.
  This is my code:
 
  page.java:
  userInformationForm.add(new FormComponent(oskar){}); // I have a
  CompoundPropertyModel
 
  html:
  select wicketd:id=oskar
  option value=1Oskar1/option
  option value=2Oskar2/option
  /select
 
  Any ideas?
 
  Again, thank you very much for your time.
  Oskar
 
 
 
 
 
  igor.vaynberg wrote:
  
   add(new FormComponent(staticselect, new PropertyModel(this,
   countryname)) {});
  
   select wicket:id=staticselectoption 
  
   ought to do it
  
   -igor
  
   On 6/20/07, Toscano [EMAIL PROTECTED] wrote:
  
  
   Hello,
  
   I'm working in a very big project with Wicket, but we have a huge
 form
   with
   more than 20 dropdown lists whose content is loaded from database.
  This
   makes the form loading very slow.
   Most of these dropdown lists will not change, so there is no need
 of
   loading
   them from database. For example, we have a Countries dropdown.
  
   Instead of using
  
   select wicket:id=countries/
  
   Can we just put directly the values into the html page?
  
   select id=countries
   option value=1Albania/option
   option value=2Australia/option
   ..
   /select
  
  
   If I put wicket:id, Wicket will replace the options. If I use
 standard
   html
   id=countries, can I retrieve the value from Wicket? How can I do
  that?
  
   Thank you very much for your help and time,
   Oskar
  
  
  
   --
   View this message in context:
  
 
 http://www.nabble.com/Use-HTML-controls-directly-with-no-wicket%3Aid-tf3956238.html#a11225889
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
  
 
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   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/Use-HTML-controls-directly-with-no-wicket%3Aid-tf3956238.html#a11227283
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 

Re: [Wicket-user] PageMap.AccessStack gone in 1.3

2007-06-21 Thread Ivo van Dongen

Well, I wouldn't mind doing that. One problem I see though is that the
component depends on a base page to update the Session which also needs to
be adapted. This doesn't make it self contained,

On 6/21/07, Johan Compagner [EMAIL PROTECTED] wrote:


if you could come up with a nice navigation component that does this
behavior
we could maybe add this into wicket extentions  if more people would like
to have such a thing

johan


On 6/21/07, Ivo van Dongen [EMAIL PROTECTED] wrote:

 Hi,

 Thanks again for the help. As soon as I hit the reply button it dawned
 on me, guess it's to early :)

 Ivo

 On 6/21/07, Johan Compagner [EMAIL PROTECTED] wrote:
 
  If you store the id/version of a page when it is renderd in your
  session (in a list/stack object)
  then you are doing exactly the same as the AccessStackPageMap would
  do.
 
  You should only store the id/version not the page itself, because you
  don't have to hold on to a reference of it you can always restore any page
  of the current session.
 
  So pagex.onRender - store the id/version in your session: now has an
  entry of 1
  pagey.onRender - add the id/version of this one now has an entry of 2
  pagez.onRender -  add the id/version of this one now has an entry of
  3
 
  then you want to go back and take the id/version of pagey and restore
  that page for rendering.
  if you then want to completely do the same thing remove the pagez
  entry so that you now have 2 entries again after pagey rendered for the
  second time
 
  johan
 
 
  On 6/21/07, Ivo van Dongen  [EMAIL PROTECTED] wrote:
  
   Hi,
  
   Sorry, but I don't get exactly what to do here. As I understand it
   you're advising me to store a separate map of Pages in the Session and 
then
   lookup the previous Page there? Otherwise I wouldn't see how to implement
   the YourSession.get().getPage() method as I still can't get to the
   PageMap's size to use that to calculate the previous PageEntry's id. I'm
   probably totally missing something here :)
  
   Thanks,
   Ivo
  
   On 6/20/07, Johan Compagner [EMAIL PROTECTED]  wrote:
   
What i would do is a bit different.
   
You want a stack of the last rendered pages?
   
if you have a common BasePage then override:
   
protected void onBeforeRender()
   
   
in that method you take your session and add a object that stores
the page id and the current version number entry.
   
YourSession.get().addPageEntry(getPageMapName(), getNumericId(),
getCurrentPageVersion());
   
then if you want go back:
   
YourSession.get().getPage(-1)
   
-1 (is the previous page) -2 skip 2
   
   
in that method you can get the page then:
   
return PageMap.forName(pagemapname).get(pageid,versionid)
   
johan
   
   
   
On 6/20/07, Ivo van Dongen [EMAIL PROTECTED] wrote:

 Hi,

 We're in the middle of upgrading one of our apps from wicket
 1.2.6 to 1.3 (finally :)). Sadly, we're running into a small
 problem which we don't know how to get around.
 In our 1.2.6 version we had an utility class to set up previous
 page links based on the PageMap. It went something like this:

 public static PreviousPageLink getInstance(String markupId)
 {
 PageMap pageMap = (PageMap) Session.get
 ().getDefaultPageMap();
 int size = pageMap.getAccessStack().size();
 if(size  0) {
 PageMap.Access access = (PageMap.Access)
 pageMap.getAccessStack().get(size-1);
 Page previousPage = pageMap.getEntry(access.getId
 ()).getPage();
 ...
 }

 But in 1.3 the AccessStack isn't available in PageMap, only in
 AccessStackPageMap. But the PageMap used in our application is the
 SecondLevelCachePageMap which doesn't have any means to access the 
list of
 PageMapEntries.

 Any ideas on how to work arround this? We've tried to use the
 numeric id from the page, but that seems to be zero every time.

 Thanks in advance,
 Ivo and Rommert

 --
 Ivo van Dongen
 Func. Internet Integration
 W http://www.func.nl
 T +31 20 423
 F +31 20 4223500

 
-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and
 take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


   
   

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it 

Re: [Wicket-user] RadioGroup and AjaxFormComponentUpdatingBehavior

2007-06-21 Thread Martijn Dashorst
That is some serious archive browsing at work! :)

The issues on sf.net have been closed for the public, because we
couldn't make them read only (when we moved to Apache).

I am afraid it got lost in the transfer to apache.

Martijn

On 6/20/07, JulianS [EMAIL PROTECTED] wrote:

 Martijn,

 Was this ever fixed for 1.2.x? The link below gives the error Only Group
 Members Can View Private ArtifactTypes.

 Thanks,
 Julian

 Martijn Dashorst wrote:
 
  I already created a bug report:
  http://sourceforge.net/tracker/index.php?func=detailaid=1501513group_id=119783atid=684975
 
  It will probably be fixed for 1.2.1, or else in a later release,
  depending on the pressure for 1.2.1
 
  Martijn
 

 --
 View this message in context: 
 http://www.nabble.com/RadioGroup-and-AjaxFormComponentUpdatingBehavior-tf1789105.html#a11217673
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket -compenent

2007-06-21 Thread tnjtn1

I meant  (http://wicket.sourceforge.net/wicket-quickstart/eclipse.html]). In
this url they mentioned about label component  discussed in wicket
framework. So I asked How many components available in wicket..? Give the
syntax of each component. or give some url related to that wicket.

Thanks  Regards,
kumar



Eelco Hillenius wrote:
 
 give the syntax of wicket component .
 Regards,
 
 Could you please be a tiny little bit more specific please? :)
 
 Eelco
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 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/wicket--compenent-tf3956739.html#a11229534
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Use HTML controls directly with no wicket:id

2007-06-21 Thread Timo Rantalaiho
On Thu, 21 Jun 2007, Toscano wrote:
 Any ideas?

Use DropDownChoice. With that you provide one model for 
all the choices (a list) and another model for the default 
selection (a single item of the same type as the list 
contents).

- Timo

-- 
Timo Rantalaiho   
Reaktor Innovations OyURL: http://www.ri.fi/ 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] [announce] Apache Wicket

2007-06-21 Thread Rüdiger Schulz

Fantastisch!

Congratulations to everyone on the team! It is very nice to see Wicket's
success evolving more and more.

greetings,

Rüdiger

2007/6/20, Martijn Dashorst [EMAIL PROTECTED]:


We have Graduation! Apache Wicket is established as a top level
project within the Apache Software Foundation.

From Greg Stein:

 Original Message 
Subject: Apache Board Meeting, June 20, 2007 (new officers!)
Date: Wed, 20 Jun 2007 12:45:06 -0700
From: Greg Stein
Reply-To: members@
To: members@

Hi all,

Today, the newly-elected Board met for the first time. After we
got
done with our regular series of project reviews and other reports,
we
elected a new slate of executive officers. I'm happy to present
that
list:

 Jim Jagielski, Chairman
 Justin Erenkrantz, President
 J Aaron Farr, Treasurer
 Sam Ruby, Exec VP and Secretary

Welcome guys to your new offices!

We also established new three projects:

* Apache Quetzalcoatl: this springs mod_python and related bits
out of
the HTTPD project into its own TLP. Gregory Trubetskoy is its
Chair.

* Apache Wicket: this is a light webapp framework for Java,
graduating
from the Incubator into its own TLP. Martijn Dashorst is the new
Chair.

* Apache Commons: this is the venerable Apache Jakarta Commons,
now
spun out into its own TLP, with Torsten Curdt as its Chair.

Finally, we swapped a couple PMC Chairs:

* Will Glass-Hussin replaces Henning Schmiedehausen as the
Velocity Chair
* David Sean Taylor replaces Santiago Gala as the Portals Chair

That's it for this month. Please feel free to forward this to any
public/private forum as you see fit. If you have any questions,
then
please don't hesitate to ask myself or any other Director or
officer.

Cheers,
-g

We would like to congratulate all Wicket community members with this
remarkable feat, we couldn't have done this without you!

Furthermore, I like to thank the Board of the Apache Software
Foundation for the trust they invested in us. We will not disappoint!

We would like to thank Wicket's mentors:

* Alex Karasulu (whose birthday coincidentally is today… what a better
gift could you receive). Thanks for bringing us on board, and a Happy
Birthday!!!

* Upayavira, who made the transition even run smoother than thought
possible. Thanks for guiding us and I hope you'll stay for a long time
with our project!

* Bertrand Delacretaz, thank you for your help, votes and advise. We
will miss your involvement, but will certainly see you in the future!

* Sylvain Wallez, also big thanks for helping and guiding us. I hope
Wicket is still working within Joost

Finally, congratulations to the new officers, PMC Chairs and the other
two new projects: Apache Quetzalcoatl and Apache Commons! Welcome to
the club!

!!! Champagne !!!

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
greetings from Berlin,

Rüdiger Schulz

www.2rue.de
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket -compenent

2007-06-21 Thread Martijn Dashorst
Buy Pro Wicket please, read the wiki, and most importantly read
http://www.catb.org/~esr/faqs/smart-questions.html

As for the catalogue, how difficult is it to click on the link with
the name components on our website?

http://wicketstuff.org/wicket13/compref/


Martijn

On 6/21/07, tnjtn1 [EMAIL PROTECTED] wrote:

 I meant  (http://wicket.sourceforge.net/wicket-quickstart/eclipse.html]). In
 this url they mentioned about label component  discussed in wicket
 framework. So I asked How many components available in wicket..? Give the
 syntax of each component. or give some url related to that wicket.

 Thanks  Regards,
 kumar



 Eelco Hillenius wrote:
 
  give the syntax of wicket component .
  Regards,
 
  Could you please be a tiny little bit more specific please? :)
 
  Eelco
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  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/wicket--compenent-tf3956739.html#a11229534
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] How i work wicket with database

2007-06-21 Thread tnjtn1

How to work wicket with database.
any url please. with sample application 


Regards,
kumar
-- 
View this message in context: 
http://www.nabble.com/How-i-work-wicket-with-database-tf3957803.html#a11230335
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] html wicket:id=html CSS

2007-06-21 Thread Jan Kriesten

hi,

could someone verify that the given code doesn't work for him, too?

i'm lost a bit in this matter.

thanks!

best regards, --- jan.



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How i work wicket with database

2007-06-21 Thread Andreas Walter

Hi Kumar,

use the spring dao integration with wicket:
http://www.wicket-wiki.org.uk/wiki/index.php/Spring

Regards,
Andres

2007/6/21, tnjtn1 [EMAIL PROTECTED]:



How to work wicket with database.
any url please. with sample application


Regards,
kumar
--
View this message in context:
http://www.nabble.com/How-i-work-wicket-with-database-tf3957803.html#a11230335
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How i work wicket with database

2007-06-21 Thread Gerolf Seitz

afaik, the wiki at www.wicket-wiki.org.uk is kind of deprecated, as it's
readonly and changes are only applied to the apache wiki at
http://cwiki.apache.org/WICKET/

wicket-spring dokumentation: http://cwiki.apache.org/WICKET/spring.html

hth,
 gerolf

On 6/21/07, Andreas Walter [EMAIL PROTECTED] wrote:


Hi Kumar,

use the spring dao integration with wicket:
http://www.wicket-wiki.org.uk/wiki/index.php/Spring

Regards,
Andres

2007/6/21, tnjtn1 [EMAIL PROTECTED]:


 How to work wicket with database.
 any url please. with sample application


 Regards,
 kumar
 --
 View this message in context:
 http://www.nabble.com/How-i-work-wicket-with-database-tf3957803.html#a11230335
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -

 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Random page expiration

2007-06-21 Thread Ingram Chen

Hi all,

  We have experience random page expiration after using wicket
1.2.7(latest Snapshot)
I search mailing list archive found
http://www.nabble.com/Page-Expiration-when-first-clicking-AJAX-tf3729176.html#a10438002
discuss similar issue. But it seems that no further discuss on solution...

It's hard to reproduce such random expiration, but at least I found one kind
of reproducible steps:

step 1: link to homepage
  url is http://localhost:8081/quickstart/app

step 2: double click link on homepage, go to 2nd instance of page B
  url becomes
http://localhost:8081/quickstart/app/?wicket:interface=:2::
  (double click create two instances of page B)

step 3: use browser back button go back to first instance of page B
  url becomes
http://localhost:8081/quickstart/app/?wicket:interface=:1::

step 4: do anything on first instance of page B will cause expiration.

Ideally 1st instance of page B should in pageMap but it seems got lost.

Attachement is quickstart to reproduce such problem.

any help ?

--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen


quickstart.tar.gz
Description: GNU Zip compressed data
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] another missing stack trace

2007-06-21 Thread Johan Compagner

i dont think so because you do get Caused by?
We don't print caused by,  that is the thing we change about the input.

what do you exactly see? so whats in that [...] space you have in the email?

johan


On 6/20/07, Jonathan Locke [EMAIL PROTECTED] wrote:




could this be caused by this thread (which we never quite did finish)?

http://www.nabble.com/abbreviated-stack-traces-tf3837742.html#a10899418


Jonathan Locke wrote:

 i just got another missing stack trace problem:

 [...]
 Caused by: java.lang.NullPointerException

 then no stack trace for the NPE.  eelco earlier asserted that my logging
 config must be wrong while johan said we must have a problem.  the only
 odd bit of configuration in our log4j file is this pattern:

 log4j.appender.Stdout.layout.conversionPattern=[%d{HH:mm:ss}] %-5p -
 %-26.26c{1} - %m\n

 could that be the problem somehow?  cause if not, i think we have a
pretty
 serious logging problem that needs some attention.




--
View this message in context:
http://www.nabble.com/another-missing-stack-trace-tf3953540.html#a11217625
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] another missing stack trace

2007-06-21 Thread Jonathan Locke


yeah, this issue was caused by multithreaded output being intervleaved.

i'm still not happy with processing exception strings though.  i'd prefer
we did some kind of folding of exceptions using javascript on the wicket
exception page and not alter the exception at all.  but that can wait until
next wicket version if at all.


Johan Compagner wrote:
 
 i dont think so because you do get Caused by?
 We don't print caused by,  that is the thing we change about the input.
 
 what do you exactly see? so whats in that [...] space you have in the
 email?
 
 johan
 
 
 On 6/20/07, Jonathan Locke [EMAIL PROTECTED] wrote:



 could this be caused by this thread (which we never quite did finish)?

 http://www.nabble.com/abbreviated-stack-traces-tf3837742.html#a10899418


 Jonathan Locke wrote:
 
  i just got another missing stack trace problem:
 
  [...]
  Caused by: java.lang.NullPointerException
 
  then no stack trace for the NPE.  eelco earlier asserted that my
 logging
  config must be wrong while johan said we must have a problem.  the only
  odd bit of configuration in our log4j file is this pattern:
 
  log4j.appender.Stdout.layout.conversionPattern=[%d{HH:mm:ss}] %-5p -
  %-26.26c{1} - %m\n
 
  could that be the problem somehow?  cause if not, i think we have a
 pretty
  serious logging problem that needs some attention.
 
 
 

 --
 View this message in context:
 http://www.nabble.com/another-missing-stack-trace-tf3953540.html#a11217625
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 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/another-missing-stack-trace-tf3953540.html#a11232028
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Random page expiration

2007-06-21 Thread Ingram Chen

all,

 I found another way to reproduce this problem, which may happened in slow
network:

(1) make a link that require 5 seconds to process.
(2) click that link three times, after 5 seconds, go to page B
(3) do any thing on page B cause expire.

It seems that this is caused by race condition ?
I think mulitple clicks is quite normal under slow network. The user may
click link several times because web site is not responsive.

attachement is another quickstart to reproduce this problem.
(I have changed LeastRecentlyAccessedEvictionStrategy(100) up to 100 access
to eliminate eviction issues)

ps. My Test Environment is Linux 2.6, sun jdk6, firefox 2.0.4


On 6/21/07, Ingram Chen [EMAIL PROTECTED] wrote:


Hi all,

   We have experience random page expiration after using wicket 1.2.7(latest 
Snapshot)
I search mailing list archive found

http://www.nabble.com/Page-Expiration-when-first-clicking-AJAX-tf3729176.html#a10438002
discuss similar issue. But it seems that no further discuss on solution...

It's hard to reproduce such random expiration, but at least I found one
kind of reproducible steps:

step 1: link to homepage
   url is http://localhost:8081/quickstart/app

step 2: double click link on homepage, go to 2nd instance of page B
   url becomes
http://localhost:8081/quickstart/app/?wicket:interface=:2::
   (double click create two instances of page B)

step 3: use browser back button go back to first instance of page B
   url becomes http://localhost:8081/quickstart/app/?wicket:interface=:1
::

step 4: do anything on first instance of page B will cause expiration.

Ideally 1st instance of page B should in pageMap but it seems got lost.

Attachement is quickstart to reproduce such problem.

any help ?

--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen





--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen


quickstart-click3times.tar.gz
Description: GNU Zip compressed data
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] setBorderBodyContainer in 1.3

2007-06-21 Thread buealb

We were working with version 2.0 and we had the setBorderBodyContainer option
in border, but now we are working with 1.3.
The case is that I'm trying to add the border body inside of another wicket
component of the border. But I don't know how can I specify what is the
container of the body. 
For instance if I have:

border
div
div wicket:id=container
 wicket:body/
/div
/div
/border

Now, if I use this body:

div wicket:id=myBody
   
/div

How can specify that label is a child of the container component, not of the
border.?

Thanks
-- 
View this message in context: 
http://www.nabble.com/setBorderBodyContainer-in-1.3-tf3959032.html#a11234096
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] About multiple wicket:extend in markup inheritance

2007-06-21 Thread ccc rrr

Hi:
  I have one question about Markup inheritance. It seems that we can put
only one wicket:extend in the base html file, such as:
html
head/head
body
   div id=header
   span wicket:id=header/span
   /div
   div id=body
   wicket:child /
   /div
   div id=footer
   span wicket:id=footer/span
   /div
/body
/html

Can we do something like this  ?

html
head/head
body
   div id=header
   span wicket:id=header/span
   /div
   div id=sidebar
*wicket:child1/
*/div
   div id=body
*wicket:child2/
*/div
   div id=footer
   span wicket:id=footer/span
   /div
/body
/html
And the corresponding inhereted html is:
body
   div id=header span wicket:id=header/span
   /div
   div id=sidebar
*wicket:extend1
 ..
   /wicket:extend1
*/div
   div id=body
*wicket:extend2
 ..
   /wicket:extend2
*/div
   div id=footer
   span wicket:id=footer/span
   /div
/body
/html

If not , what we can do to achieve the purpose ?
Thank you in advance!
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] About multiple wicket:extend in markup inheritance

2007-06-21 Thread Martijn Dashorst
On 6/21/07, ccc rrr [EMAIL PROTECTED] wrote:
 If not , what we can do to achieve the purpose ?

Search the archives:
http://www.nabble.com/forum/Search.jtp?query=wicket+childlocal=yforum=13974daterange=0startdate=enddate=

Martijn


-- 
BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] setBorderBodyContainer in 1.3

2007-06-21 Thread severian

Sorry if I'm mistaken, but I think this is related to an issue that I posted
about here: 
http://www.nabble.com/Borders-Containing-Embedded-Components-tf3776704.html#a10679274
previous post .

I'm afraid that post didn't get any response, and I never solved it on my
own...

Severian.
-- 
View this message in context: 
http://www.nabble.com/setBorderBodyContainer-in-1.3-tf3959032.html#a11234433
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] handling expiring pages

2007-06-21 Thread Igor Vaynberg

what version of wicket are you using?

we have auto-multi-tab/window support that takes care of that. maybe its
been disabled by default, see settings.

-igor


On 6/21/07, Pieter Cogghe [EMAIL PROTECTED] wrote:


It's nice to hear you are working on improvements.

Thanks,

Pieter

ps

just wanted to mention a scenario I ran in to:

You log in and open a second window or tab of the same application. A page
can expire in one window, while you are stilled logged because you are
working in the other window.



2007/6/21, Igor Vaynberg [EMAIL PROTECTED]:

 you can only do it if you are writing a purely stateless application -
 zero session use. and if this is a hard requirement then wicket is probably
 not for you. of course it is pretty difficult and annoying to write any soft
 of a complex web ui without using session at all, thus wicket. so just
 depends on what tradeoffs match your specs.

 -igor


 On 6/20/07, Pieter Cogghe  [EMAIL PROTECTED] wrote:
 
  That's partially true, but after the session expired and the user has
  logged in again, you can redirect him immediately to the place where he was
  when the session expired (if that's a stateless page). It's true that this
  is more an issue with sites that don't require the user to log in and that's
  the case that concerns me the most.
 
 
 
  2007/6/20, Eelco Hillenius [EMAIL PROTECTED] :
  
But even if I would accept the usability penalty of the expiring
   pages, I'm
surrounded by usability experts who will never do that. Moreover a
   very long
session timeout won't be accepted by others.
  
   But if you require your users to be logged in, what alternatives are
   left then? Even if you would use another framework, you would have
   to
   deal with session time-outs, right?
  
   I'm sure there are still possibilities to improve though. One of the
  
   things that we've been talking about is to have a more recoverable
   model. Like in, when a page for an internal page is not found, we
   would try to construct it's bookmarkable counterpart etc. I think
   we've discussing this as 'hybrib urls' and Matej has been doing some
  
   experimentation with this. We also just need a couple of really good
   ideas and use cases if we want to improve on this.
  
   Cheers,
  
   Eelco
  
   -
  
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
  --
  Pieter Cogghe
  Ganzendries 186
  9000 Gent
  0487 10 14 21
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Pieter Cogghe
Ganzendries 186
9000 Gent
0487 10 14 21

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Betr.: Write javascript to inlineframe

2007-06-21 Thread Igor Vaynberg

you sure you dont have an exception somewhere...check the console/logs for a
stacktrace

-igor


On 6/21/07, Marieke Vandamme [EMAIL PROTECTED] wrote:



Do I need to report the problem with writing javascript to inlineframe on
jira?
Or is this already a known issue...
Thanks !



 *Marieke Vandamme [EMAIL PROTECTED]*
Verzonden door: [EMAIL PROTECTED]

20/06/2007 14:00  Antwoord a.u.b. aan
wicket-user@lists.sourceforge.net

  Aan
wicket-user@lists.sourceforge.net  Cc

 Onderwerp
[Wicket-user] Write javascript to inlineframe







Hello,

On my html page I have an iframe = iframe wicket:id=iframe/iframe

Early code :
WebMarkupContainer iframe = new WebMarkupContainer(iframe);
Then I set the src for my iframe with a SimpleMarkupContainer =
iframe.add(new SimpleAttributeModifier(src, 
urlFor(PageMap.forName(MyPageMap),
MyPage.class, params)));

New code (i want to change and use inlineframe):
InlineFrame iframe = InlineFrame(iframe, PageMap.forName(MyPageMap),
MyPage.class);

Problem:
In MyPage.java I want to write some javascript to my html using
JavascriptUtils.writeJavascript.
This works fine, untill I put a form on my FirstPage (the page that holds
the iframe).
Without the form, the javascript is printed in my iframe, with the form,
it isn't...
Is this expected behaviour when form and iframe are on the same page?
When using my early code (with the simpleattributemodifier i don't have
any problems)..

I need my form, because my form contains an ajaxsubmitbutton and with this
button i want to refresh my iframe.
There I have another question..
Is the code underneath the best solution to do so or is there a better
one?

AjaxSubmitButton btn = new AjaxSubmitButton(btn, myForm) {
 protected void onSubmit(AjaxRequestTarget target, Form form) {
   final InlineFrame newIframe = InlineFrame(iframe, 
PageMap.forName(MyPageMap),
MyPage.class);
   newIframe.setOutputMarkupId(true);
   newIframe.replaceWith(iframe);
   target.addComponent(newIframe);
 }
   };   DISCLAIMER *
**
http://www.tvh.be/newen/pages/emaildisclaimer.html 
*http://www.tvh.be/newen/pages/emaildisclaimer.html

This message is delivered to all addressees subject to the conditions
set forth in the attached disclaimer, which is an integral part of this
message.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.

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

 DISCLAIMER 

http://www.tvh.be/newen/pages/emaildisclaimer.html

This message is delivered to all addressees subject to the conditions
set forth in the attached disclaimer, which is an integral part of this
message.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Use HTML controls directly with no wicket:id

2007-06-21 Thread Igor Vaynberg

you cant :)

you said you wanted static html to optimize it, but its static - so you
cannot add the selected attribute to the proper option tag.

do what timo said and use a proper component, to go around the database just
keep a static list of countries.

-igor


On 6/21/07, Toscano [EMAIL PROTECTED] wrote:



Sorry again...

I have it working, but I have another problem...
For example, if we have two values in the select, how can I specify from
java code to select the second value? I tried to setup the property of the
Compound Model but the value is not selected...

Java code:

userInformation.setOskar(2);
userInformationModel = new CompoundPropertyModel(userInformation);
// Form
userInformationForm = new UserInformationForm (userInformationForm,
userInformationModel);
userInformationForm.add(new FormComponent(oskar){});
// Add form to page
   add(userInformationForm);

Html code:
tdselect wicket:id=oskar
option value=1Oskar1/option
option value=2Oskar2/option
/select


Any ideas?

Again, thank you very very very very very much!
Oskar



igor.vaynberg wrote:

 happens to everyone once in a while :)

 -igor


 On 6/20/07, Toscano [EMAIL PROTECTED] wrote:


 Oh, I'm very sorry, I was so worried about the FormComponent that I
 didn't
 realized

 Sorry for bothering you with this!

 And Thanks!,
 Oskar



 igor.vaynberg wrote:
 
  look at the error, it says you added the component to code but not to
  markup, that means wicket cannot find the component in markup - in
this
  case
  because you misspelled wicket:id attribute
 
  -igor
 
 
  On 6/20/07, Toscano [EMAIL PROTECTED] wrote:
 
 
  Hello Igor,
 
  Thank you so much for your answer.
 
  It didn't work. When I try I got the component added in code but
not
  referenced on markup.
  This is my code:
 
  page.java:
  userInformationForm.add(new FormComponent(oskar){}); // I have
a
  CompoundPropertyModel
 
  html:
  select wicketd:id=oskar
  option
value=1Oskar1/option
  option
value=2Oskar2/option
  /select
 
  Any ideas?
 
  Again, thank you very much for your time.
  Oskar
 
 
 
 
 
  igor.vaynberg wrote:
  
   add(new FormComponent(staticselect, new PropertyModel(this,
   countryname)) {});
  
   select wicket:id=staticselectoption 
  
   ought to do it
  
   -igor
  
   On 6/20/07, Toscano [EMAIL PROTECTED] wrote:
  
  
   Hello,
  
   I'm working in a very big project with Wicket, but we have a huge
 form
   with
   more than 20 dropdown lists whose content is loaded from
database.
  This
   makes the form loading very slow.
   Most of these dropdown lists will not change, so there is no need
 of
   loading
   them from database. For example, we have a Countries dropdown.
  
   Instead of using
  
   select wicket:id=countries/
  
   Can we just put directly the values into the html page?
  
   select id=countries
   option value=1Albania/option
   option value=2Australia/option
   ..
   /select
  
  
   If I put wicket:id, Wicket will replace the options. If I use
 standard
   html
   id=countries, can I retrieve the value from Wicket? How can I
do
  that?
  
   Thank you very much for your help and time,
   Oskar
  
  
  
   --
   View this message in context:
  
 

http://www.nabble.com/Use-HTML-controls-directly-with-no-wicket%3Aid-tf3956238.html#a11225889
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
  
 

-
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 

-
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   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/Use-HTML-controls-directly-with-no-wicket%3Aid-tf3956238.html#a11227283
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 

-
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just 

Re: [Wicket-user] setBorderBodyContainer in 1.3

2007-06-21 Thread Igor Vaynberg

open a jira issue please

-igor


On 6/21/07, Alberto Bueno [EMAIL PROTECTED] wrote:


This problem was solved in the 2.0 version, but I don't how we can
implement a solution in version 1.3...
Because it's a very tipical situation if you are using borders...
Waiting responses... :)

 Sorry if I'm mistaken, but I think this is related to an issue that I
posted
 about here:

http://www.nabble.com/Borders-Containing-Embedded-Components-tf3776704.html#a10679274
 previous post .

 I'm afraid that post didn't get any response, and I never solved it on
my
 own...

 Severian.



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] handling expiring pages

2007-06-21 Thread Eelco Hillenius
 we already have hybrid urls
 if you make a statelessform or link then that will generate hybrid urls (the
 did that from day 1 we have the stateless support i think)

Yeah, but then there is this discussion about always using some kind
of hybrids so that most if not all requests are recoverable to some
point. This sounds vague because we didn't go very far into that
discussion yet. And we shouldn't as we have other things to take care
of first :)

Eelco

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Moving mailing list?

2007-06-21 Thread Al Maw
Upayavira wrote:
 cowwoc wrote:
  Now that Wicket is an official Apache project are there any plans for
 moving the mailing lists over? SourceForge's digest mode leaves a lot to
 be desired.
 
 It will likely happen soon. Though, there's some sense in timing it to 
 immediately follow the 1.3 release. Then it will be an Apache user list 
 to used to support an Apache product. Currently this list is supporting 
 code that is isn't an Apache product (the 1.2.x line).

Hmmm. See, I'd say we should move it shortly before 1.3.0 is released, 
so the inevitable influx of new users don't get confused by the 
wicket-user list moving all of eight seconds after they join it, and 
also so they aren't confused by having to sign up to a sourceforge list 
for what will then be an Apache library.

Regards,

Al

-- 
Alastair Maw
Wicket-biased blog at http://herebebeasties.com

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Random page expiration

2007-06-21 Thread Eelco Hillenius

Could you please open a JIRA issue for this and attach the project? Thanks!

Eelco

On 6/21/07, Ingram Chen [EMAIL PROTECTED] wrote:

all,

  I found another way to reproduce this problem, which may happened in slow
network:

(1) make a link that require 5 seconds to process.
(2) click that link three times, after 5 seconds, go to page B
(3) do any thing on page B cause expire.

It seems that this is caused by race condition ?
 I think mulitple clicks is quite normal under slow network. The user may
click link several times because web site is not responsive.

attachement is another quickstart to reproduce this problem.
(I have changed LeastRecentlyAccessedEvictionStrategy(100)
up to 100 access to eliminate eviction issues)

ps. My Test Environment is Linux 2.6, sun jdk6, firefox 2.0.4



On 6/21/07, Ingram Chen [EMAIL PROTECTED] wrote:
 Hi all,

We have experience random page expiration after using wicket 1.2.7
(latest Snapshot)
 I search mailing list archive found

http://www.nabble.com/Page-Expiration-when-first-clicking-AJAX-tf3729176.html#a10438002
 discuss similar issue. But it seems that no further discuss on solution...

 It's hard to reproduce such random expiration, but at least I found one
kind of reproducible steps:

 step 1: link to homepage
url is http://localhost:8081/quickstart/app

 step 2: double click link on homepage, go to 2nd instance of page B
url becomes
http://localhost:8081/quickstart/app/?wicket:interface=:2
::
(double click create two instances of page B)

 step 3: use browser back button go back to first instance of page B
url becomes
http://localhost:8081/quickstart/app/?wicket:interface=:1
::

 step 4: do anything on first instance of page B will cause expiration.

 Ideally 1st instance of page B should in pageMap but it seems got lost.

 Attachement is quickstart to reproduce such problem.

 any help ?

 --
 Ingram Chen
 ��便��啦: http://dinbendon.net
 blog: http://www.javaworld.com.tw/roller/page/ingramchen




--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket MADE the grade

2007-06-21 Thread Francisco Diaz Trepat - gmail

Jonathan,

I Couldn't agree more, but it is a common critic in the web about wicket.
And if you see the spreadsheet you'll know I needed to say something not so
good about it. Impartiality 0. _

f(t)

On 6/20/07, Jonathan Locke [EMAIL PROTECTED] wrote:




very interesting.  but i don't agree with the spreadsheet that wicket is
not
good
for million clicks per minute sites.  with a good back-end architecture
and the
right tuning, wicket ought to be able to sustain that kind of load as well
as
any other web framework.  the big difference is that in wicket you aren't
stuck
with a non-existent or poor man's component model where you manage all
your
state by hand just so you can optimize a few hot pages. you can do real OO
programming with all the great productivity you get from writing real
components
with very few optimizations across probably 95% of your site and then roll
up your
sleeves /after looking at a profiler/ to tune the other 5% of your site
(probably the
home page and a handful of common destinations).


Francisco Diaz Trepat - gmail wrote:

 Yes, thanks. We evaluated the following frameworks:

 Struts-2 (reviewed by me)
 SpringMVC (reviewed by a coworker)
 JFS (reviewed by a coworker)
 Click (reviewed by a coworker)
 Wicket (reviewed by a cowerker and then by me in a second chance kind of
 deal)

 Other-ones (Tapestry, Webworks, etc) where discarded in a very overview
 like
 process.

 JFS was the first to go. Very complex if no netbeans and taglibs hell,
 etc.

 SpringMVC had a huge acceptance in the community although after
reviewing
 it
 and experience al xml complexity it got to the point we question the
 community itself.

 Similiar with Struts2 although we saw an important reduction of
 configuration. But it was something else (webworx 2) trying to do Struts
I
 guess. Taglibs were there and we all agreed on their uglyness and stupid
 concept. Lets do HTML + TAGLIBS + JAVA CODE but lets not put JSP enbeded
 code on the JSP file. Nonesence!!!

 One aspect was the some of us came to love seaside (web-framework for
 squeak/smalltalk) and so we came across Click and the second chance for
 Wicket.

 Wicket was originally rejected because one of my coworkers who was in
 charge
 of building the demo sample, downloaded the Kick-Start kit (I don't
 remember
 the name, maybe quick-start or something of the sort). He had some
trouble
 building it, he then tried to copy/paste some code from the web, and in
my
 opinion gave zero interest in anything. He just complaint about it and
 then
 it was dropped.

 As I was working with Struts-2 and bothering in everyday basis our
project
 leader so he would consider seaside I read nice reviews about wicket,
 pluss
 ask my brother who I usually trust and told me only good things about
it.

 So because of the lack of evidence or better put, because of the not
so
 deep explanation of why was wicket dumped, I kind of thought that a very
 common thing had occured. I don't give a crap, let me keep googling
 arround.

 Thats when I decided to speak with our PM and ask him if I could give it
a
 try, a left Struts-2 (thanks god) and started with wicket. Because I am
a
 lazy bastard I turn to the list to answer me some preatty dumb questions
 so
 I could get a WicketDemo working.

 It was an awsome ride, thanks again.

 I attached a Comparison chart of Struts-2 Click and Wicket, that we
 created.
 It is nothing fancy nor it is so serious. But I'll attached anyway.

 f(t)

 PS: I am currently verry busy, but I expect to get some time near agust
so
 I
 can start contributing. I am currently on three other projects but it
 looks
 one of those is going to finish.



 On 6/20/07, craigdd [EMAIL PROTECTED] wrote:


 Great news Francisco,

 So give us the dirt, what made your company ultimately go with wicket?
 Which other frameworks where you considering.

 -Craig


 Francisco Diaz Trepat - gmail wrote:
 
  Hi guys, from a discarded framework to the choice in hand. Wicket was
  chosen
  by my company to start a migration project of its products.
 
  Is there a way to get latest 1.3 beta2 with java 1.5?
 
  to get started... ;-)
 
  Thanks to ALL of you for all your help.
 
 
  ELCO... THE BOOK MAN. COME ON!!!
 
  jejejeje
 
  Well great news for me because wicket kicks ass!!!
 
  f(t)
 
 

-
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  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/Wicket-MADE-the-grade-tf3953568.html#a11218427
 Sent from the Wicket - User mailing list archive at Nabble.com.




Re: [Wicket-user] Random page expiration

2007-06-21 Thread Ingram Chen

done: *WICKET-683 https://issues.apache.org/jira/browse/WICKET-683*

On 6/22/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


Could you please open a JIRA issue for this and attach the project?
Thanks!

Eelco

On 6/21/07, Ingram Chen [EMAIL PROTECTED] wrote:
 all,

   I found another way to reproduce this problem, which may happened in
slow
 network:

 (1) make a link that require 5 seconds to process.
 (2) click that link three times, after 5 seconds, go to page B
 (3) do any thing on page B cause expire.

 It seems that this is caused by race condition ?
  I think mulitple clicks is quite normal under slow network. The user
may
 click link several times because web site is not responsive.

 attachement is another quickstart to reproduce this problem.
 (I have changed LeastRecentlyAccessedEvictionStrategy(100)
 up to 100 access to eliminate eviction issues)

 ps. My Test Environment is Linux 2.6, sun jdk6, firefox 2.0.4



 On 6/21/07, Ingram Chen [EMAIL PROTECTED] wrote:
  Hi all,
 
 We have experience random page expiration after using wicket 1.2.7
 (latest Snapshot)
  I search mailing list archive found
 

http://www.nabble.com/Page-Expiration-when-first-clicking-AJAX-tf3729176.html#a10438002
  discuss similar issue. But it seems that no further discuss on
solution...
 
  It's hard to reproduce such random expiration, but at least I found
one
 kind of reproducible steps:
 
  step 1: link to homepage
 url is http://localhost:8081/quickstart/app
 
  step 2: double click link on homepage, go to 2nd instance of page B
 url becomes
 http://localhost:8081/quickstart/app/?wicket:interface=:2
 ::
 (double click create two instances of page B)
 
  step 3: use browser back button go back to first instance of page B
 url becomes
 http://localhost:8081/quickstart/app/?wicket:interface=:1
 ::
 
  step 4: do anything on first instance of page B will cause expiration.
 
  Ideally 1st instance of page B should in pageMap but it seems got
lost.
 
  Attachement is quickstart to reproduce such problem.
 
  any help ?
 
  --
  Ingram Chen
  ��便��啦: http://dinbendon.net
  blog: http://www.javaworld.com.tw/roller/page/ingramchen
 



 --
 Ingram Chen
 ��便��啦: http://dinbendon.net
 blog: http://www.javaworld.com.tw/roller/page/ingramchen

-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket security and acl files

2007-06-21 Thread craigdd

Is wicket security based only on role based authorization or could it somehow
be used with a more traditional ACL type of file / logic.

-Craig 
-- 
View this message in context: 
http://www.nabble.com/wicket-security-and-acl-files-tf3960558.html#a11239024
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket security and acl files

2007-06-21 Thread Eelco Hillenius
Any strategy you like. Check out IAuthorizationStrategy.

Eelco


On 6/21/07, craigdd [EMAIL PROTECTED] wrote:

 Is wicket security based only on role based authorization or could it somehow
 be used with a more traditional ACL type of file / logic.

 -Craig
 --
 View this message in context: 
 http://www.nabble.com/wicket-security-and-acl-files-tf3960558.html#a11239024
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket security and acl files

2007-06-21 Thread Maurice Marrink
If you mean java Jaas like acl than swarm is what you are looking for.
Optionally if you really want to use jaas and not some look alike i
made up you could practically copy swarm and replace most objects with
there jaas counterparts.
However i chose not to use jaas because  we are using that in one of
our projects right now and although it works it is less than optimal
:) As soon as we make the switch to wicket 1.3.0 jaas will be replaced
by swarm.

You can also check out the example project here
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-security-examples


Maurice

On 6/21/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 wicket's security model is completely generic

 see IAuthorizationStrategy - it is very abstract and thus can be used to
 implement any kind of authorization

 wicket-auth is just an example that implements basic role-based model

 see wicket-stuff wasp and swarm projects

 http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Security

 -igor


 On 6/21/07, craigdd [EMAIL PROTECTED] wrote:
 
  Is wicket security based only on role based authorization or could it
 somehow
  be used with a more traditional ACL type of file / logic.
 
  -Craig
  --
  View this message in context:
 http://www.nabble.com/wicket-security-and-acl-files-tf3960558.html#a11239024
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RadioGroup and AjaxFormComponentUpdatingBehavior

2007-06-21 Thread JulianS

Thanks, seems to work fine.

Julian

Alex Objelean wrote:
 
 There is another approach, see 
 http://www.nabble.com/-Question--wicket.markup.html.form.Radio-tf3926549.html#a11135460
 here 
 

-- 
View this message in context: 
http://www.nabble.com/RadioGroup-and-AjaxFormComponentUpdatingBehavior-tf1789105.html#a11240650
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Newbie Question: you are about to be redirectedto a connection that is not secure Warning

2007-06-21 Thread Hiller, Steve
Hi Igor,
 
I'm using version 1.2.6.
 
The 'home' page uses a mount to create a URL like:
 
https://mydomain/myvirtualfolder/test/pages/HomePage
 
I think the problematic URL is this one:
 
https://mydomain/myvirtualfolder/test/?wicket:interface=:2
https://mydomain/myvirtualfolder/test/?wicket:interface=:2 ::
 
Thanks,
Steve



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Igor
Vaynberg
Sent: Wednesday, June 20, 2007 6:47 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Newbie Question: you are about to be
redirectedto a connection that is not secure Warning


what version of wicket are you using? can you figure out which url
causes that warning?
-igor



On 6/20/07, Hiller, Steve  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

Hi All, 

I just created my first Wicket-based demo project -- I like the
framework and have been demonstrating it to my colleagues.

I have a web page that consists of a form and a panel. The form
data is used by some backend process that returns 
a very long string. The string is formatted and then displayed
in a MultiLineLabel held within the panel. The same 
web page is then displayed with the results. 

The web app is deployed to a WebSphere application server, and
SSL is turned on. It seems like when the page is 
about to be displayed with results, the following message is
displayed: 

You are about to be redirected to a connection that is not
Secure. The information you are sending to the current 
site might be retransmitted to a nonsecure site. Do you wish to
continue? 

I have all the HTML pages and backing java classes all in one
directory so I'm not sure why having SSL turned on 
is causing this problem. Any suggestions would be appreciated. 

Thanks, 
Steve 




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it now. 
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list 
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Newbie Question: you are about to be redirectedto a connection that is not secure Warning

2007-06-21 Thread Igor Vaynberg

but that url is https, why would it trigger the warning, look in source, see
if there are any explicit http:// calls

-igor


On 6/21/07, Hiller, Steve [EMAIL PROTECTED] wrote:


 Hi Igor,

I'm using version 1.2.6.

The 'home' page uses a mount to create a URL like:

https://mydomain/myvirtualfolder/test/pages/HomePage

I think the problematic URL is this one:

https://*mydomain/myvirtualfolder*/test/?wicket:interface=:2https://mydomain/myvirtualfolder/test/?wicket:interface=:2
::

Thanks,
Steve

 --
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Igor Vaynberg
*Sent:* Wednesday, June 20, 2007 6:47 PM
*To:* wicket-user@lists.sourceforge.net
*Subject:* Re: [Wicket-user] Newbie Question: you are about to be
redirectedto a connection that is not secure Warning

what version of wicket are you using? can you figure out which url causes
that warning?
-igor


On 6/20/07, Hiller, Steve  [EMAIL PROTECTED] wrote:

  Hi All,

 I just created my first Wicket-based demo project -- I like the
 framework and have been demonstrating it to my colleagues.

 I have a web page that consists of a form and a panel. The form data is
 used by some backend process that returns
 a very long string. The string is formatted and then displayed in a
 MultiLineLabel held within the panel. The same
 web page is then displayed with the results.

 The web app is deployed to a WebSphere application server, and SSL is
 turned on. It seems like when the page is
 about to be displayed with results, the following message is displayed:

 You are about to be redirected to a connection that is not Secure. The
 information you are sending to the current
 site might be retransmitted to a nonsecure site. Do you wish to
 continue?

 I have all the HTML pages and backing java classes all in one directory
 so I'm not sure why having SSL turned on
 is causing this problem. Any suggestions would be appreciated.

 Thanks,
 Steve


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket Real World Performance!

2007-06-21 Thread Ballist1c

Hey guys, 

i have been checking out a few sites using wicket at the moment on the
Wicket Wiki... 

And they all seem extremely slow... I was wondering if anyone knew of any
other fancy websites that are pretty advanced into wicket development that I
could check out, cause so far the real world performance i have seen from
wicket has been dissapointing thus far :(
-- 
View this message in context: 
http://www.nabble.com/Wicket-Real-World-Performance%21-tf3962027.html#a11243897
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Real World Performance!

2007-06-21 Thread Eelco Hillenius
 i have been checking out a few sites using wicket at the moment on the
 Wicket Wiki...

 And they all seem extremely slow... I was wondering if anyone knew of any
 other fancy websites that are pretty advanced into wicket development that I
 could check out, cause so far the real world performance i have seen from
 wicket has been dissapointing thus far :(

How can you judge Wicket's performance on how other sites have
deployed it? If you want to look at how Wicket performs, you should
run some tests yourself. Or checkout the threadtests project and see
how that performs for you.

Eelco

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Real World Performance!

2007-06-21 Thread Igor Vaynberg

and somehow you magically know that it is wicket that is slow and not the
database of those webapplications? damn, i wish i had your tools :)

-igor

On 6/21/07, Ballist1c [EMAIL PROTECTED] wrote:



Hey guys,

i have been checking out a few sites using wicket at the moment on the
Wicket Wiki...

And they all seem extremely slow... I was wondering if anyone knew of any
other fancy websites that are pretty advanced into wicket development that
I
could check out, cause so far the real world performance i have seen from
wicket has been dissapointing thus far :(
--
View this message in context:
http://www.nabble.com/Wicket-Real-World-Performance%21-tf3962027.html#a11243897
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Newbie Question: you are about to beredirectedto a connection that is not secure Warning

2007-06-21 Thread Hiller, Steve
AS far as I can see, the only http:// calls are in the HTML pages, which
I copied from the samples:
 
?xml version=1.0 encoding=UTF-8?
html xmlns=http://www.w3.org/1999/xhtml http://www.w3.org/1999/xhtml
 
body
 
...
 
/body
/html



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Igor
Vaynberg
Sent: Thursday, June 21, 2007 6:33 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Newbie Question: you are about to
beredirectedto a connection that is not secure Warning


but that url is https, why would it trigger the warning, look in source,
see if there are any explicit http:// calls

-igor



On 6/21/07, Hiller, Steve [EMAIL PROTECTED] wrote: 

Hi Igor,
 
I'm using version 1.2.6.
 
The 'home' page uses a mount to create a URL like:
 
https://mydomain/myvirtualfolder/test/pages/HomePage 
 
I think the problematic URL is this one:
 
https://mydomain/myvirtualfolder/test/?wicket:interface=:2
https://mydomain/myvirtualfolder/test/?wicket:interface=:2 ::
 
Thanks,
Steve



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Igor
Vaynberg
Sent: Wednesday, June 20, 2007 6:47 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Newbie Question: you are about to be
redirectedto a connection that is not secure Warning



what version of wicket are you using? can you figure out which
url causes that warning?
-igor



On 6/20/07, Hiller, Steve  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

Hi All, 

I just created my first Wicket-based demo project -- I
like the framework and have been demonstrating it to my colleagues.

I have a web page that consists of a form and a panel.
The form data is used by some backend process that returns 
a very long string. The string is formatted and then
displayed in a MultiLineLabel held within the panel. The same 
web page is then displayed with the results. 

The web app is deployed to a WebSphere application
server, and SSL is turned on. It seems like when the page is 
about to be displayed with results, the following
message is displayed: 

You are about to be redirected to a connection that is
not Secure. The information you are sending to the current 
site might be retransmitted to a nonsecure site. Do you
wish to continue? 

I have all the HTML pages and backing java classes all
in one directory so I'm not sure why having SSL turned on 
is causing this problem. Any suggestions would be
appreciated. 

Thanks, 
Steve 




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express
and take
control of your XML. No limits. Just data. Click to get
it now. 
http://sourceforge.net/powerbar/db2/
___ 
Wicket-user mailing list 
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user







-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it now. 
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list 
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Real World Performance!

2007-06-21 Thread Eelco Hillenius
 I came here looking for advice from the veterans... and I definately got
 it... in a crude form.. but never the less ... i got it...

That's ok. The advice is: check out the threadstest project (which
runs a load test out of the box) or build a test yourself. It's best
to see with your own eyes, and that will give you a better insight
than looking at websites (as Igor pointed out, looking at
installations is pointless. it doesn't tell you about servers,
databases, disks, bandwidth, etc, etc).

Btw, even if it doesn't mean anything to look at installations, I'm
surprised you think sites like http://thoof.com/ or
http://www.genietown.com slow for instance. Anyway, not an argument.

Eelco

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Bookmarkable pages and URLs

2007-06-21 Thread David Leangen

Duh...

Looks like BookmarkablePageLink is what I need...

Sorry that I missed that. Guess it was just too obvious! :-(



On Fri, 2007-06-22 at 09:41 +0900, David Leangen wrote:
 Hello!
 
 Apologies if this is a basic question. I'm just beginning to investigate
 page-related issues...
 
 
 I want my pages to be fully bookmarkable in the sense that each (or
 some) of the page parameters should appear in the URL GET-style.
 
 For instance, I have a typical search page search with a search bar.
 When the user clicks the go button, the page is refreshed and the
 search term is used as a parameter.
 
 What I would like is to have the term show up in the URL. So, the first
 time the user visits the page, the URL would be /search, while each
 subsequent visit, assuming a search term was used, would be something
 like /search?t=term.
 
 Until now, I've just let Wicket take care of all the parameters in the
 background for me. In other words, IIRC, Wicket uses POST for this.
 
 To achieve the above, do I need to append this to the URL myself and use
 an external GET-style link? In other words, can I just ask Wicket to use
 GET? Or is there some other nifty way of using a link (back to the same
 page in my case) while at the same time having this show up as part of
 the bookmarkable URL GET-style?
 
 
 Thanks!
 Dave
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Multiple wicket:child tags in the same page

2007-06-21 Thread rc.china

Panels and fragments are useful. As of page layout, however, wicket:extend
/ wicket:child is more natual than Panels and fragments.

Some possible solutions is:
1) use different tag values to differentiate: 
...
wicket:child childid=1/
...
wicket:child childid=2/
...
==
...
wicket:extend extendid=1
...
/wicket:extend
...
wicket:extend extendid=2
...
/wicket:extend
...

2)use wicket:extendN wicket:childN (N=1,2,3,...) instead of
wicket:extend wicket:child
...
wicket:child1/
...
wicket:child2/
...
==
...
wicket:extend1
...
/wicket:extend1
...
wicket:extend2
...
/wicket:extend2
...
-- 
View this message in context: 
http://www.nabble.com/Multiple-wicket%3Achild-tags-in-the-same-page-tf3775143.html#a11245019
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Bookmarkable pages and URLs

2007-06-21 Thread Eelco Hillenius
And combine that with URL mounting and you're king :)

Eelco

On 6/21/07, David Leangen [EMAIL PROTECTED] wrote:

 Duh...

 Looks like BookmarkablePageLink is what I need...

 Sorry that I missed that. Guess it was just too obvious! :-(



 On Fri, 2007-06-22 at 09:41 +0900, David Leangen wrote:
  Hello!
 
  Apologies if this is a basic question. I'm just beginning to investigate
  page-related issues...
 
 
  I want my pages to be fully bookmarkable in the sense that each (or
  some) of the page parameters should appear in the URL GET-style.
 
  For instance, I have a typical search page search with a search bar.
  When the user clicks the go button, the page is refreshed and the
  search term is used as a parameter.
 
  What I would like is to have the term show up in the URL. So, the first
  time the user visits the page, the URL would be /search, while each
  subsequent visit, assuming a search term was used, would be something
  like /search?t=term.
 
  Until now, I've just let Wicket take care of all the parameters in the
  background for me. In other words, IIRC, Wicket uses POST for this.
 
  To achieve the above, do I need to append this to the URL myself and use
  an external GET-style link? In other words, can I just ask Wicket to use
  GET? Or is there some other nifty way of using a link (back to the same
  page in my case) while at the same time having this show up as part of
  the bookmarkable URL GET-style?
 
 
  Thanks!
  Dave
 
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Bookmarkable pages and URLs

2007-06-21 Thread David Leangen

Yes, for sure! :-)


Actually, I have not solved my problem. BookmarkablePageLink is for
rendering a link, which is not useful for me.

I still need to know what to do for my Go button, which is the way the
page gets refreshed with the search term...

Until now, I just used:

 setResponsePage( Class cls, PageParameters parameters )

Which leads me back to my question below...


Any ideas?

Thanks!




On Thu, 2007-06-21 at 19:19 -0700, Eelco Hillenius wrote:
 And combine that with URL mounting and you're king :)
 
 Eelco
 
 On 6/21/07, David Leangen [EMAIL PROTECTED] wrote:
 
  Duh...
 
  Looks like BookmarkablePageLink is what I need...
 
  Sorry that I missed that. Guess it was just too obvious! :-(
 
 
 
  On Fri, 2007-06-22 at 09:41 +0900, David Leangen wrote:
   Hello!
  
   Apologies if this is a basic question. I'm just beginning to investigate
   page-related issues...
  
  
   I want my pages to be fully bookmarkable in the sense that each (or
   some) of the page parameters should appear in the URL GET-style.
  
   For instance, I have a typical search page search with a search bar.
   When the user clicks the go button, the page is refreshed and the
   search term is used as a parameter.
  
   What I would like is to have the term show up in the URL. So, the first
   time the user visits the page, the URL would be /search, while each
   subsequent visit, assuming a search term was used, would be something
   like /search?t=term.
  
   Until now, I've just let Wicket take care of all the parameters in the
   background for me. In other words, IIRC, Wicket uses POST for this.
  
   To achieve the above, do I need to append this to the URL myself and use
   an external GET-style link? In other words, can I just ask Wicket to use
   GET? Or is there some other nifty way of using a link (back to the same
   page in my case) while at the same time having this show up as part of
   the bookmarkable URL GET-style?
  
  
   Thanks!
   Dave
  
  
  
   -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Bookmarkable pages and URLs

2007-06-21 Thread David Leangen

H

I'm embarrassed.

You guys shouldn't make Wicket so easy to use. It makes old farts like
me look dumb.


;-)




On Fri, 2007-06-22 at 11:29 +0900, David Leangen wrote:
 Yes, for sure! :-)
 
 
 Actually, I have not solved my problem. BookmarkablePageLink is for
 rendering a link, which is not useful for me.
 
 I still need to know what to do for my Go button, which is the way the
 page gets refreshed with the search term...
 
 Until now, I just used:
 
  setResponsePage( Class cls, PageParameters parameters )
 
 Which leads me back to my question below...
 
 
 Any ideas?
 
 Thanks!
 
 
 
 
 On Thu, 2007-06-21 at 19:19 -0700, Eelco Hillenius wrote:
  And combine that with URL mounting and you're king :)
  
  Eelco
  
  On 6/21/07, David Leangen [EMAIL PROTECTED] wrote:
  
   Duh...
  
   Looks like BookmarkablePageLink is what I need...
  
   Sorry that I missed that. Guess it was just too obvious! :-(
  
  
  
   On Fri, 2007-06-22 at 09:41 +0900, David Leangen wrote:
Hello!
   
Apologies if this is a basic question. I'm just beginning to investigate
page-related issues...
   
   
I want my pages to be fully bookmarkable in the sense that each (or
some) of the page parameters should appear in the URL GET-style.
   
For instance, I have a typical search page search with a search bar.
When the user clicks the go button, the page is refreshed and the
search term is used as a parameter.
   
What I would like is to have the term show up in the URL. So, the first
time the user visits the page, the URL would be /search, while each
subsequent visit, assuming a search term was used, would be something
like /search?t=term.
   
Until now, I've just let Wicket take care of all the parameters in the
background for me. In other words, IIRC, Wicket uses POST for this.
   
To achieve the above, do I need to append this to the URL myself and use
an external GET-style link? In other words, can I just ask Wicket to use
GET? Or is there some other nifty way of using a link (back to the same
page in my case) while at the same time having this show up as part of
the bookmarkable URL GET-style?
   
   
Thanks!
Dave
   
   
   
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
   -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] modifying component from IComponentOnBeforeRenderListener

2007-06-21 Thread Ryan Sonnek

I'm *still* trying to find a way to modify a component *when the model is
bound*.  The new IComponentOnBeforeRenderListener seems close, but I can't
*modify* the component since it's already started the rendering cycle.  I'm
trying to call Component.setRequired(true) on the component, and that throws
an exception right now.

for a more exact usecase (and even a unit test!), check out the
wicketstuff-hibernate codebase.  The test is currently disabled to not break
the build...
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicketstuff-hibernate-behavior/src/test/java/org/wicketstuff/hibernate/HibernateAnnotationComponentInstantiaionListenerTest.java?revision=2456view=markup

Again, my goal is to have an *application wide* hook for when the model is
bound on *any* component.  I like the direction of
IComponentInstantiationListener and IComponentOnBeforeRenderListener.  Maybe
just need to introduce an IComponentOnModelBoundListener?

Ryan
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Newbie Question: you are about to beredirectedto a connection that is not secure Warning

2007-06-21 Thread Igor Vaynberg

so remove that :)

-igor


On 6/21/07, Hiller, Steve [EMAIL PROTECTED] wrote:


 AS far as I can see, the only http:// calls are in the HTML pages, which
I copied from the samples:

?xml version=1.0 encoding=UTF-8?
html xmlns=*http://*www.w3.org/1999/xhtml http://www.w3.org/1999/xhtml

body

*...*

/body
/html

 --
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Igor Vaynberg
*Sent:* Thursday, June 21, 2007 6:33 PM
*To:* wicket-user@lists.sourceforge.net
*Subject:* Re: [Wicket-user] Newbie Question: you are about to
beredirectedto a connection that is not secure Warning

but that url is https, why would it trigger the warning, look in source,
see if there are any explicit http:// calls

-igor


On 6/21/07, Hiller, Steve [EMAIL PROTECTED] wrote:

  Hi Igor,

 I'm using version 1.2.6.

 The 'home' page uses a mount to create a URL like:

 https://mydomain/myvirtualfolder/test/pages/HomePage

 I think the problematic URL is this one:

 
https://*mydomain/myvirtualfolder*/test/?wicket:interface=:2https://mydomain/myvirtualfolder/test/?wicket:interface=:2
 ::

 Thanks,
 Steve

  --
 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *Igor Vaynberg
 *Sent:* Wednesday, June 20, 2007 6:47 PM
 *To:* wicket-user@lists.sourceforge.net
 *Subject:* Re: [Wicket-user] Newbie Question: you are about to be
 redirectedto a connection that is not secure Warning

  what version of wicket are you using? can you figure out which url
 causes that warning?
 -igor


 On 6/20/07, Hiller, Steve  [EMAIL PROTECTED] wrote:
 
   Hi All,
 
  I just created my first Wicket-based demo project -- I like the
  framework and have been demonstrating it to my colleagues.
 
  I have a web page that consists of a form and a panel. The form data
  is used by some backend process that returns
  a very long string. The string is formatted and then displayed in a
  MultiLineLabel held within the panel. The same
  web page is then displayed with the results.
 
  The web app is deployed to a WebSphere application server, and SSL is
  turned on. It seems like when the page is
  about to be displayed with results, the following message is
  displayed:
 
  You are about to be redirected to a connection that is not Secure.
  The information you are sending to the current
  site might be retransmitted to a nonsecure site. Do you wish to
  continue?
 
  I have all the HTML pages and backing java classes all in one
  directory so I'm not sure why having SSL turned on
  is causing this problem. Any suggestions would be appreciated.
 
  Thanks,
  Steve
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Real World Performance!

2007-06-21 Thread Igor Vaynberg

maybe if you wouldve bothered searching this list for performance info you
wouldve seen this topic is a beaten horse. it is very tiring answering the
same questions from every new user who do not bother searching for previous
knowledge. especailly when they are not backed by something concrete.

-igor


On 6/21/07, Ballist1c [EMAIL PROTECTED] wrote:



whoa, okay guys, slow down a second... we need to get something clear
here...

I am not smearing wicket, this is an impression I got when 5/5 wicket
websites i visited were slow there is nothing wrong with that and It
was
a perfectly natural judgement to draw.

I apologise if it looked like I was attacking the project.

I came here looking for advice from the veterans... and I definately got
it... in a crude form.. but never the less ... i got it...

Thanks guys !





igor.vaynberg wrote:

 and somehow you magically know that it is wicket that is slow and not
the
 database of those webapplications? damn, i wish i had your tools :)

 -igor

 On 6/21/07, Ballist1c [EMAIL PROTECTED] wrote:


 Hey guys,

 i have been checking out a few sites using wicket at the moment on the
 Wicket Wiki...

 And they all seem extremely slow... I was wondering if anyone knew of
any
 other fancy websites that are pretty advanced into wicket development
 that
 I
 could check out, cause so far the real world performance i have seen
from
 wicket has been dissapointing thus far :(
 --
 View this message in context:

http://www.nabble.com/Wicket-Real-World-Performance%21-tf3962027.html#a11243897
 Sent from the Wicket - User mailing list archive at Nabble.com.



-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 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/Wicket-Real-World-Performance%21-tf3962027.html#a11244194
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Binding the Enter key with a button

2007-06-21 Thread David Leangen

I hope this isn't an obvious question again... I did try searching. ;-)

Could somebody kindly point me to some doc that explains how to bind a
key to a form component?

In this case, I want to bind the Enter key with my Go button.


Thanks!




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Binding the Enter key with a button

2007-06-21 Thread Swaroop Belur

Hi

One solution but not the ideal one would be (assuming go is a submit
button),
to override the onSubmit of the form  and to perform the action which
you would do in your Go.So when u hit enter form would be submitted
and action for go would be invoked.

But may not what u r actally looking for



On 6/22/07, David Leangen [EMAIL PROTECTED] wrote:



I hope this isn't an obvious question again... I did try searching. ;-)

Could somebody kindly point me to some doc that explains how to bind a
key to a form component?

In this case, I want to bind the Enter key with my Go button.


Thanks!




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Real World Performance!

2007-06-21 Thread Ballist1c

cool your jets mate... your never going to get rid of stupidity...


igor.vaynberg wrote:
 
 maybe if you wouldve bothered searching this list for performance info you
 wouldve seen this topic is a beaten horse. it is very tiring answering the
 same questions from every new user who do not bother searching for
 previous
 knowledge. especailly when they are not backed by something concrete.
 
 -igor
 
 
 On 6/21/07, Ballist1c [EMAIL PROTECTED] wrote:


 whoa, okay guys, slow down a second... we need to get something clear
 here...

 I am not smearing wicket, this is an impression I got when 5/5 wicket
 websites i visited were slow there is nothing wrong with that and It
 was
 a perfectly natural judgement to draw.

 I apologise if it looked like I was attacking the project.

 I came here looking for advice from the veterans... and I definately got
 it... in a crude form.. but never the less ... i got it...

 Thanks guys !





 igor.vaynberg wrote:
 
  and somehow you magically know that it is wicket that is slow and not
 the
  database of those webapplications? damn, i wish i had your tools :)
 
  -igor
 
  On 6/21/07, Ballist1c [EMAIL PROTECTED] wrote:
 
 
  Hey guys,
 
  i have been checking out a few sites using wicket at the moment on the
  Wicket Wiki...
 
  And they all seem extremely slow... I was wondering if anyone knew of
 any
  other fancy websites that are pretty advanced into wicket development
  that
  I
  could check out, cause so far the real world performance i have seen
 from
  wicket has been dissapointing thus far :(
  --
  View this message in context:
 
 http://www.nabble.com/Wicket-Real-World-Performance%21-tf3962027.html#a11243897
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  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/Wicket-Real-World-Performance%21-tf3962027.html#a11244194
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 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/Wicket-Real-World-Performance%21-tf3962027.html#a11246381
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Betr.: Write javascript to inlineframe

2007-06-21 Thread Marieke Vandamme

Hello, 

I could reproduce in a very simple example.. 
Could you check it for me? I don't see any exception..

MainPage.java
-
add(new InlineFrame(myIframe, PageMap.forName(innerframe), 
InnerPage.class));
add(new Form(form));

MainPage.html
-
form wicket:id=form/form
iframe wicket:id=myIframe/iframe

InnerPage.html
--
JavascriptUtils.writeJavascript(this.getResponse(), var test = 'hello');
JavascriptUtils.writeJavascriptUrl(this.getResponse(), test.js);

None if the javascript is written in te innerpage.. 
When deleting the from from MainPage, the javascript is written.
Strange behaviour.

Thanks in advance !

 you sure you dont have an exception somewhere...check the console/logs 
for a
 stacktrace
 
 -igor

 DISCLAIMER 
A HREF=http://www.tvh.be/newen/pages/emaildisclaimer.html;
http://www.tvh.be/newen/pages/emaildisclaimer.html /A

This message is delivered to all addressees subject to the conditions
set forth in the attached disclaimer, which is an integral part of this
message. -
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Real World Performance!

2007-06-21 Thread Martijn Dashorst
On 6/22/07, Ballist1c [EMAIL PROTECTED] wrote:
 cool your jets mate... your never going to get rid of stupidity...

lol :)

Martijn

-- 
BREAKING NEWS: Wicket joins the Apache Software Foundation as Apache Wicket
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user