Re: [Wicket-user] Binding pojo to (read only) page

2007-05-28 Thread Korbinian Bachl
what you want is an CompoundPropertyModel:
http://cwiki.apache.org/WICKET/working-with-wicket-models.html 
 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Kees de Kooter
 Gesendet: Montag, 28. Mai 2007 13:15
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] Binding pojo to (read only) page
 
 I come from a Spring MVC background. Spring MVC provides the 
 spring:bind tag which basically allows to throw a pojo at 
 the page and bind its properties.
 
 Is something similar possible with Wicket, without having to 
 explicitly bind every property in the page class?
 
 
 --
 Cheers,
 Kees de Kooter
 http://www.boplicity.net
 
 --
 ---
 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] Binding pojo to (read only) page

2007-05-28 Thread Korbinian Bachl

well, if you just want to display, then you could use PropertyListView for a
List containing your model-objects:
http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html

this is also based on CompoundPropertyModel you even can just have a
Label(foo) getting the getFoo() from a model injected into any component;


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Kees de Kooter
 Gesendet: Montag, 28. Mai 2007 13:32
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Binding pojo to (read only) page
 
 I have read about this. Unfortunately all the examples I 
 found are with forms. I just want to display pojo values on a 
 read only page.
 
 In the examples every property is still coded in the page class (e.g.
 in the page you refer to personForm.add(personModel.bind(new
 RequiredTextField(city), address.city));) .
 
 I am looking for a way to put the properties in the wicket 
 markup and bind the pojo to the page, without coding every 
 field explicitly.
 
 
 
 On 5/28/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
  what you want is an CompoundPropertyModel:
  http://cwiki.apache.org/WICKET/working-with-wicket-models.html
 
 
   -Ursprüngliche Nachricht-
   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Im Auftrag von 
   Kees de Kooter
   Gesendet: Montag, 28. Mai 2007 13:15
   An: wicket-user@lists.sourceforge.net
   Betreff: [Wicket-user] Binding pojo to (read only) page
  
   I come from a Spring MVC background. Spring MVC provides the 
   spring:bind tag which basically allows to throw a pojo 
 at the page 
   and bind its properties.
  
   Is something similar possible with Wicket, without having to 
   explicitly bind every property in the page class?
  
  
   --
   Cheers,
   Kees de Kooter
   http://www.boplicity.net
  
   --
   ---
   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
 
 
 
 --
 Cheers,
 Kees de Kooter
 http://www.boplicity.net
 
 --
 ---
 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] RepeatingView/ Container behaviour

2007-05-28 Thread Korbinian Bachl
 
Hello,
 
ive come to a problem I dont know how to solve. I use a BasePage in wich i
have 2 RepeatingViews in wich i then put components (dynamic way at runtime
- i dont know what component will be in)
 
div wicket:id=header
wicket:header container
/div

div wicket:id=content
wicket:content container
/div

and they work alright - however, i allways get the div spans around 

divHeaderComponent1/divdivHeaderComponent2/div

- I tried to get rid of them by using 
header = new RepeatingView(header);   
header.setRenderBodyOnly(true);
add(header);  

but the setRenderBodyOnly(true) seems to be ignored... I then thought i
could use a WebMarkupcontainer but this then has no .newChildId function and
would require me to know the ID of a component, wich i dont know as its
dynamic;

So how can i get rid of these divs while having the rest of the
RepeatingView behaviour?



-
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] RepeatingView/ Container behaviour

2007-05-28 Thread Korbinian Bachl

Hi Eelco,

tried it, but this seems to go more buggy than before:

if I use 
wicket:container wicket:id=header

he complains about no end-tag, if i do 

wicket:container wicket:id=header / he renders, but puts out:

panelcontent
  /wicket:container

(yes , he doesnt print out the wicket:container open tag but a close tag
afterwards !)

which seems even bader than an empty div/div set as /wicket:container
is completely invalid :(



 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Eelco Hillenius
 Gesendet: Montag, 28. Mai 2007 15:58
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] RepeatingView/ Container behaviour
 
 What about using:
 
 wicket:container wicket:id=header
 
 Eelco
 
 On 5/28/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
 
  Hello,
 
  ive come to a problem I dont know how to solve. I use a BasePage in 
  wich i have 2 RepeatingViews in wich i then put components (dynamic 
  way at runtime
  - i dont know what component will be in)
 
  div wicket:id=header
  wicket:header container
  /div
 
  div wicket:id=content
  wicket:content container
  /div
 
  and they work alright - however, i allways get the div 
 spans around
 
  divHeaderComponent1/divdivHeaderComponent2/div
 
  - I tried to get rid of them by using
  header = new RepeatingView(header);
  header.setRenderBodyOnly(true);
  add(header);
 
  but the setRenderBodyOnly(true) seems to be ignored... I 
 then thought 
  i could use a WebMarkupcontainer but this then has no .newChildId 
  function and would require me to know the ID of a component, wich i 
  dont know as its dynamic;
 
  So how can i get rid of these divs while having the rest of the 
  RepeatingView behaviour?
 
 
 
  
 --
  --- 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] RepeatingView/ Container behaviour

2007-05-28 Thread Korbinian Bachl
Jim,

thanks for your post - unfortunately i dont understand what you mean
exactly: where should I overrrode renderChild and put what for? - the
trouble for me is the base-tag of the RepeatingView, not the outputs of any
of its childs...

  
 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von James McLaughlin
 Gesendet: Montag, 28. Mai 2007 14:40
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] RepeatingView/ Container behaviour
 
 Haven't done this, but I think you would need to override 
 renderChild to get access to the component and setRenderBodyOnly.
 
 best,
 jim
 
 On 5/28/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
 
  Hello,
 
  ive come to a problem I dont know how to solve. I use a BasePage in 
  wich i have 2 RepeatingViews in wich i then put components (dynamic 
  way at runtime
  - i dont know what component will be in)
 
  div wicket:id=header
  wicket:header container
  /div
 
  div wicket:id=content
  wicket:content container
  /div
 
  and they work alright - however, i allways get the div 
 spans around
 
  divHeaderComponent1/divdivHeaderComponent2/div
 
  - I tried to get rid of them by using
  header = new RepeatingView(header);
  header.setRenderBodyOnly(true);
  add(header);
 
  but the setRenderBodyOnly(true) seems to be ignored... I 
 then thought 
  i could use a WebMarkupcontainer but this then has no .newChildId 
  function and would require me to know the ID of a component, wich i 
  dont know as its dynamic;
 
  So how can i get rid of these divs while having the rest of the 
  RepeatingView behaviour?
 
 
 
  
 --
  --- 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] RepeatingView/ Container behaviour

2007-05-28 Thread Korbinian Bachl

Hi Jim,

so if I understnad right then you mean the 

protected final void onRender(final MarkupStream markupStream)
{
final int markupStart = markupStream.getCurrentIndex();

Iterator it = renderIterator();
if (it.hasNext())
{
do
{
markupStream.setCurrentIndex(markupStart);
renderChild((Component)it.next());
}
while (it.hasNext());
}
else
{
markupStream.skipComponent();
}
}

from the AbstractRepeater class. So, when i put a  

do
{
markupStream.setCurrentIndex(markupStart);

renderChild(((Component)it.next()).setRenderBodyOnly(true));
}
there its the behaviour I need? - Shouldnt this be implemented by
wicket-core already as the current .setRenderBodyOnly(bool) is offered but
has no effect? That seems quite necessary to me, as they have no markup of
their own (like you stated) but repeat their container-tag over the
children.

Regards

Korbinian


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von James McLaughlin
 Gesendet: Montag, 28. Mai 2007 18:26
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] RepeatingView/ Container behaviour
 
 Hi Korbinian,
 
 Well, the fundamental idea of ListView / RepeatingView is 
 that the component has no markup of its own. The markup is 
 given to the children. As such, setRenderBodyOnly on a 
 RepeatingView does nothing.
 ListView provides populateItem, so you call setRenderBodyOnly 
 on the item there. I'm not sure how you are using 
 RepeatingView, but i believe your choices are to call 
 setRenderBodyOnly on each child component you add to it, or 
 override renderChild to call it on the child components automatically.
 
 best,
 jim
 
 On 5/28/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
  Jim,
 
  thanks for your post - unfortunately i dont understand what you mean
  exactly: where should I overrrode renderChild and put what 
 for? - the 
  trouble for me is the base-tag of the RepeatingView, not 
 the outputs 
  of any of its childs...
 
 
 
 
   -Ursprüngliche Nachricht-
   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Im Auftrag von 
   James McLaughlin
   Gesendet: Montag, 28. Mai 2007 14:40
   An: wicket-user@lists.sourceforge.net
   Betreff: Re: [Wicket-user] RepeatingView/ Container behaviour
  
   Haven't done this, but I think you would need to override 
   renderChild to get access to the component and setRenderBodyOnly.
  
   best,
   jim
  
   On 5/28/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
   
Hello,
   
ive come to a problem I dont know how to solve. I use a 
 BasePage 
in wich i have 2 RepeatingViews in wich i then put components 
(dynamic way at runtime
- i dont know what component will be in)
   
div wicket:id=header
wicket:header container
/div
   
div wicket:id=content
wicket:content container
/div
   
and they work alright - however, i allways get the div
   spans around
   
divHeaderComponent1/divdivHeaderComponent2/div
   
- I tried to get rid of them by using header = new 
RepeatingView(header);
header.setRenderBodyOnly(true);
add(header);
   
but the setRenderBodyOnly(true) seems to be ignored... I
   then thought
i could use a WebMarkupcontainer but this then has no 
 .newChildId 
function and would require me to know the ID of a 
 component, wich 
i dont know as its dynamic;
   
So how can i get rid of these divs while having the 
 rest of the 
RepeatingView behaviour?
   
   
   
   
   
 
   --
--- 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] RepeatingView/ Container behaviour

2007-05-28 Thread Korbinian Bachl

Ahh! - great! Thanks very much, it now works as expected!

 I mean, it is final, so it wouldn't work 
 anyway.

we both now you can hack around things like that ;)

Overriding renderChild was only 
 meant to save you some code :)

as i already did a void addToHeader(Component c) 
it was only 1 line :)

Best Regards,

Korbinian

 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von James McLaughlin
 Gesendet: Montag, 28. Mai 2007 19:19
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] RepeatingView/ Container behaviour
 
 Not there, no. I mean, it is final, so it wouldn't work 
 anyway. Just renderChild. Or even more direct, for each child 
 you add to repeatingview, just call setRenderBodyOnly. Then 
 you will see what I mean. Overriding renderChild was only 
 meant to save you some code :).
 
 On 5/28/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
 
  Hi Jim,
 
  so if I understnad right then you mean the
 
  protected final void onRender(final MarkupStream markupStream)
  {
  final int markupStart = 
  markupStream.getCurrentIndex();
 
  Iterator it = renderIterator();
  if (it.hasNext())
  {
  do
  {
  
 markupStream.setCurrentIndex(markupStart);
  renderChild((Component)it.next());
  }
  while (it.hasNext());
  }
  else
  {
  markupStream.skipComponent();
  }
  }
 
  from the AbstractRepeater class. So, when i put a
 
  do
  {
  
  markupStream.setCurrentIndex(markupStart);
 
  renderChild(((Component)it.next()).setRenderBodyOnly(true));
  }
  there its the behaviour I need? - Shouldnt this be implemented by 
  wicket-core already as the current .setRenderBodyOnly(bool) 
 is offered 
  but has no effect? That seems quite necessary to me, as 
 they have no 
  markup of their own (like you stated) but repeat their 
 container-tag 
  over the children.
 
  Regards
 
  Korbinian
 
 
   -Ursprüngliche Nachricht-
   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Im Auftrag von 
   James McLaughlin
   Gesendet: Montag, 28. Mai 2007 18:26
   An: wicket-user@lists.sourceforge.net
   Betreff: Re: [Wicket-user] RepeatingView/ Container behaviour
  
   Hi Korbinian,
  
   Well, the fundamental idea of ListView / RepeatingView is 
 that the 
   component has no markup of its own. The markup is given to the 
   children. As such, setRenderBodyOnly on a RepeatingView does 
   nothing.
   ListView provides populateItem, so you call 
 setRenderBodyOnly on the 
   item there. I'm not sure how you are using RepeatingView, but i 
   believe your choices are to call setRenderBodyOnly on each child 
   component you add to it, or override renderChild to call 
 it on the 
   child components automatically.
  
   best,
   jim
  
   On 5/28/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
Jim,
   
thanks for your post - unfortunately i dont understand what you 
mean
exactly: where should I overrrode renderChild and put what
   for? - the
trouble for me is the base-tag of the RepeatingView, not
   the outputs
of any of its childs...
   
   
   
   
 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von James McLaughlin
 Gesendet: Montag, 28. Mai 2007 14:40
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] RepeatingView/ Container behaviour

 Haven't done this, but I think you would need to override 
 renderChild to get access to the component and 
 setRenderBodyOnly.

 best,
 jim

 On 5/28/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
 
  Hello,
 
  ive come to a problem I dont know how to solve. I use a
   BasePage
  in wich i have 2 RepeatingViews in wich i then put 
 components 
  (dynamic way at runtime
  - i dont know what component will be in)
 
  div wicket:id=header
  wicket:header container
  /div
 
  div wicket:id=content
  wicket:content container
  /div
 
  and they work alright - however, i allways get the div
 spans around
 
  divHeaderComponent1/divdivHeaderComponent2/div
 
  - I tried to get rid of them by using header = new 
  RepeatingView(header);
  header.setRenderBodyOnly(true);
  add(header);
 
  but the setRenderBodyOnly(true) seems to be ignored... I
 then thought
  i could use a WebMarkupcontainer but this then has no
   .newChildId
  function and would require me to know the ID of a
   component, wich
  i dont know as its dynamic

Re: [Wicket-user] Problem with page parameters

2007-05-27 Thread Korbinian Bachl
A well working solution for mounted pages that dont need PageParameters
(only mounted to e.g: /foo but never expecting /foo?bar=asas or sth. like
that) is IMHO to have an addition construcor with 
page(PageParameters params) {
page();
}

and mount it via

mountBookmarkablePage(new
IndexedParamUrlCodingStrategy(/path,page.class));

so the page *will allways* be displayed no matter if its called /foo,
/foo?foo, /foo/bar etc.

but the limit of the ParamURLCodingStrategy whereas only pairs of values are
ok and else an error is triggered really need some other aproach as its IMHO
always bad to show too much detail about errors to the enduser...

Regards




 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Eelco Hillenius
 Gesendet: Sonntag, 27. Mai 2007 21:00
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Problem with page parameters
 
 You can provide a custom error page with 
 YourRequestCycle#onError. But that's not the nicest solution. 
 I'm not sure about what the best solution to this is tbh. 
 Imho, it's a bit rough to throw this exception here, 
 especially because you can expect users to enter URLs 
 manually with mounted pages. I would suggest ignoring the last
 (unmatched) parameter altogether, but I'd like to know what 
 the other developers think.
 
 Eelco
 
 On 5/27/07, neiroman neiroman [EMAIL PROTECTED] wrote:
  I have a bookmarkable page (mounted as registered). When 
 user goes to 
  www.mysite.com/register - all is good. But if he  types (by some 
  reasons) something like www.mysite.com/register/fdasfafafa 
 he will see 
  wicket message with error.  I just want to redirect them to 
 another page
  or handle this exception but I didn't find in docs how   I 
 can do this.
 
   2007/5/27, Eelco Hillenius [EMAIL PROTECTED]:
  
 I try to access to page with incorrect params set 
 (http://localhost:8080/index/ff/) I've got the error 
 :java.lang.IllegalStateException : URL fragment has unmatched
  key/value
 pair: ff/

 Can I prevent this error ?
   
   
What do you want to do then?
  
   Yeah, that's a good question. Do you expect it to fail silently 
   (just don't include ff as a parameter or include it wth 
 value null) 
   or something else?
  
   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
 
 
 
 --
 ---
 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] Pattern for seperation of Java and Html -Comments Welcome

2007-05-25 Thread Korbinian Bachl
i am not sure if the server team has changed that mode, but probably it
should be development mode is on production servers. Does it cause any
problem? 
 
well, in developement mode the system is slower and memory problems could
occur sometimes (e.g.: just search in list for too much open files
problem) 
 
easy spoken: developement mode is called that way because its intended to be
used solely for this ;)
 
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Kadir
Sener GUMUS
Gesendet: Freitag, 25. Mai 2007 09:59
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Pattern for seperation of Java and Html -Comments
Welcome


Hi Johan,
as i said before, three leading technology has been used in the project;
wicket,hibernate and spring. the all sites are served by wicket in one war
application. Additionally, a CMS application is used for html contents and
wicket dynamically injects dynamic components. Oh you might have a look of
dertour.de,adac and mwr, yes these sites have different booking
functionalities than others, so that's why they have iframe about product
workflow and inside different application of the company. But avigo,
atlasreisen and der.de sites have own booking functionalities powered by
several backend engines.
i am not sure if the server team has changed that mode, but probably it
should be development mode is on production servers. Does it cause any
problem? 
Tags and ids have been left, because we need to know them sometimes to dig
further about any bug/problem. Because panel replacement is used in many
workflow of pages, and we have many panels,components and pages (totaly
almost 2690 classes). 
 
Kadir Sener GÜMÜS

 
On 5/24/07, Johan Compagner [EMAIL PROTECTED] wrote: 

nice, but how much is done in wicket?
it seems a combination with other stuff (or are not many things really
dynamic?) 
because if i look at the source then the basket is wicket made but the rest
of the page is something else. 

i also see the wicket tags and ids everywhere. Do you start wicket in
development mode on your server? 

johan



On 5/23/07, Kadir Sener GUMUS   mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:


Hi, i would like to share our experiences of our wicket project. Our project
is a turism portal which has booking functionalities with different products
and tourism guides,contents etc.  I want to draw your attention that
tourism guides,contents part!  That would mean lots of wicket pages
because of thousands of different touristic places, pictures, texts,
different layouts and so on. But it have been successfully separated as html
development and java development in the project. 
There is a wicket page that responsible for showing those static contents
inside. Every static site page has resourceId parameter and this parameter
is processed and returned in getVariation() overriden method. How wicket
knows panels and components inside a contentPage on runtime. The answer is
behind autoAdd() method. Implement  IComponentResolver interface and its
resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag
tag) method in your content page. Inside that implemented method, a content
service finds and returns the component with  tag.getId(). Then component
is added by autoAdd(component). This is java part of dynamically component
resolving and adding to markup render. (also have a look in
AutoComponentResolver class)
In html content part, a commercial CMS application is used to manage static
contents such as guides, tourism contents, any layout with wicket:id
attributes for components which will be loaded dynamically. 
I am grateful to wicket-guys for that they created a framework like this.
Because, at once and ever first time in my programing life, i didnt care
about html part of the application :) Since all you know, html developers
create web site and html layouts, and then we -as developers- had put our
dynamic code blocks, expressions, custom jsp tags etc. at past! 
here are the urls of our application for example to a wicket application in
such a heavy-loaded ecommerce:
www.avigo.de http://www.avigo.de/  , www.dertour.de
http://www.dertour.de/ , www.atlasreisen.de http://www.atlasreisen.de/ ,
www.der.de http://www.der.de/ , www.meiers-weltreisen.de
http://www.meiers-weltreisen.de/ , www.adacreisen.de
http://www.adacreisen.de/ 
these sites can be completely success-stories of Wicket-Hibernate-Spring
triology. 
Regards,

 
Kadir Sener GUMUS


 
On 5/22/07, mchack [EMAIL PROTECTED] wrote: 


Thanks for the reply. Not suggesting it should be part of the main
distribution. I am new to the framework and was trying to see if what I 
proposed made sense. I want to make sure that I don't hinder or create
barriers to content creation on our portal and wanted to do it in a manner
that made sense. Maybe there are other ways to manage separation of 
concerns.

In general are their recommended best practices regarding coordination and
workflow between the pure 

Re: [Wicket-user] Problem with jsessionid in mounted Resources

2007-05-25 Thread Korbinian Bachl
Hi,

i dont see the current problem but why dont you just go an easier way in
using IndexedParamUrlCoding strategy?

e.g:

- create 1 normal Wicket WebPage having a (PageParameters params) strategy
- mount that page in the init() using 
mount(new IndexedParamUrlCodingStrategy(/images));

then the page is responsible for all calls to /images/*

if you want a complete path (as params.get(int ) only givesback the bits
between the slashes) ,then count the params and put em together in a loop
and thats it...

seems more easy solution to me

Regards


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Rüdiger Schulz
 Gesendet: Freitag, 25. Mai 2007 11:15
 An: wicket-user
 Betreff: [Wicket-user] Problem with jsessionid in mounted Resources
 
 Hello all,
 
 I have (or had) a problem with mounted Resources and an 
 iserted jsessionid. My goal is, as discussed here before:
 http://www.nabble.com/Bookmarkable-images-tf3706668.html#a1038
3150, to have dynamic image URLs with just slashes and no 
question-mark-separated querystring, like this:
 
 /images/thumbnail/20.png
 
 What I did was in short this:
 
 Subclassed WebResource like this:
 
 public IResourceStream getResourceStream() {
   String path = 
 RequestCycle.get().getRequest().getRequestParameters().getPath();
   // ... parse path, return ResourceStream
   // path should be images/thumbnail/20.png
 }
 
 In my Application.init():
 
 getSharedResources().add(imageDataResource, new 
 ImageDataResource()); 
 mountSharedResource(ImageDataResource.MOUNT_PATH, new 
 ResourceReference(imageDataResource).getSharedResourceKey());
 
 Then a custom WebComponent, where I have an AttributeModifier 
 for the src attribute, where I compile the src like this:
 
 ResourceReference resRef = new ResourceReference(imageDataResource);
 String src = urlFor(resRef);
 src += thumbnail/20.png;  // this is dynamic in the application
 
 This all works almost perfect.
 
 It stops working when someone has disabled cookies, and 
 jsessionid is added to all URLs. Then they look a little 
 strange like this:
 
 /images;jsessionid=1ar97uck8ovr5/thumbnail/20.png
 
 because urlFor(resRef) returns
 
 /images;jsessionid=1ar97uck8ovr5
 
 With such a URL, the command getRequestParameters().getPath() 
 returns simply images, and all additional path info is lost.
 
 Now, my first take at a solution would be to take the 
 jsessionid into consideration when building my URLs, so that 
 they look like this:
 
 /images/thumbnail/20.png;jsessionid=1ar97uck8ovr5
 
 But maybe this is just a workaround for something I did wrong 
 at another place?
 
 
 --
 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
 


-
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] Problem with jsessionid in mounted Resources

2007-05-25 Thread Korbinian Bachl
Ahh, I now understand your main trouble. 
I think that we had this question on the list already, but can't remind how
it got solved... maybe our god-of-code Igor has an idea how ?
 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Rüdiger Schulz
 Gesendet: Freitag, 25. Mai 2007 13:34
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Problem with jsessionid in mounted 
 Resources
 
 Hello,
 
 2007/5/25, Korbinian Bachl [EMAIL PROTECTED]:
  Hi,
 
  i dont see the current problem but why dont you just go an 
 easier way 
  in using IndexedParamUrlCoding strategy?
 
  e.g:
 
  - create 1 normal Wicket WebPage having a (PageParameters params) 
  - strategy mount that page in the init() using
  mount(new IndexedParamUrlCodingStrategy(/images));
 
  then the page is responsible for all calls to /images/*
 
 I already use this for a lot of my pages, and it is very nice 
 to use of course. But how do I deliver a binary image via a 
 page? Is this even possible?
 
 --
 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
 


-
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 to auto-eliminate component from RepeatingView

2007-05-23 Thread Korbinian Bachl
Well, if I understood it right, then its quite easy:
 
you have a personalList where you add(Component c) to - you can replace
that by
addOrReplace(Component c) and if there is a Component with Tag foo there
then it will be replaced, else it will be put to it. 
 
You can also use .remove(Component C) or .remove(String id) to remove a
component whose given IDs match - so, the .remove would be the answer to
your question.
 
Be sure to checkout the examples at:
 
http://wicketstuff.org/wicket13/
and especially:
http://wicketstuff.org/wicket13/repeater/
 
and how AJAX should work, as your AJAX code looks quite odd to me
http://wicketstuff.org/wicket13/ajax/
(to use AJAX you need to manipulate the markupcontaier wich doesnt work with
a repeater like ListView or RepeatingView unless you span a
WebMarkupContainer around it - explained in wiki:
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html )
 
However, i suggest you to get it working with a usual Link first, and then
try to AJAXify it,
 
Regards
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Felipe
Piccolini
Gesendet: Mittwoch, 23. Mai 2007 22:13
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] How to auto-eliminate component from RepeatingView



Hi, I'm new to wicket and I'm trying to do a sort of nested list of
components, but each
list's item (component) has not just info about the model, but also has
links to delete/modify
itself from the list...

so I have this html code...

Group.html:
div
dl wicket:id=personalList




/dl
/div

and Person.html:
dt sub-./sub /dt
dda wicket:id=delPerson href=#img wicket:id=btn_del
src=res/btn_del.jpg//a/dd
dda wicket:id=modPerson href=#img wicket:id=btn_mod
src=res/btn_mod.jpg//a/dd
ddlabel wicket:id=idPerson01/label/dd


So the Group.java gets the PersonModel and adds a new Person component to
the RepeatingView...

RepeatingView personalList = new RepeatingView(personalList);
for (Iterator iter = personalModelList.iterator(); iter.hasNext();)
{
PersonModel personModel = (PersonModel) iter.next();
final Person oPerson = new Person(person, personModel);
personalList.add(oPerson);
}
add(personalList);

My question is this:

How can I do to make the delete this person works in order to get it
removed from the RepeatingView?

I was trying this code inside the Person.java so the component (item from
the list) can activate the auto-remove
from the list, but doesn't work:

final AjaxLink delPersonaRel = new AjaxLink(delPersonLink){
public void onClick(final AjaxRequestTarget target)
{
getParent().remove(this);
System.out.println(person deleted);
target.addComponent(getParent());
}
};

Any suggestion appreciated.




Felipe Piccolini M.
 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]





-
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] Updating item range for ajax pager

2007-05-22 Thread Korbinian Bachl
oh, provided the wrong link, sorry;

that one is likely to be your answer:
http://cwiki.apache.org/WICKET/how-to-use-ajax-paging-with-dataview.html

what do you mean with the viewed range ?? - maybe you didnt put all into a
spanning web-container?

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Tremelune
 Gesendet: Dienstag, 22. Mai 2007 18:06
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Updating item range for ajax pager
 
 
 That appears to be a timer-based solution. I would like the 
 panel to update once and only once when a user clicks on a 
 paging link. Also, to clarify, the list is getting updated by 
 the click, but the viewed range is not. So you have this:
 
 ---
 * George Michael
 * Ezra Lusk
 * T-Bone
 
 Viewing items 1-3 of 25
 prev NEXT
 ---
 
 
 [user clicks NEXT]
 
 
 ---
 * Invader Zim
 * Seven and a Switchblade
 * Valentino Rossi
 
 Viewing items 1-3 of 25
 PREV next
 ---
 
 
 
 
 I dont exactly see from your code the error, but the wiki has 
 a page related to this 
 http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html
 
 if you use ajax, then you need to be sure that there is 
 already a markupID on the output wich is usually not existent 
 in a listview (you could add a WebMarkupContainer for example 
 however) and that the target is then updated accordingly...
 
 regards
  
 --
 View this message in context: 
 http://www.nabble.com/Updating-item-range-for-ajax-pager-tf379
7101.html#a10741207
 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] Gricket: The Love-Child of Grails and Wicket

2007-05-19 Thread Korbinian Bachl
emm, actually the Song is Come out and Play and was on the 94'SMASH album
;) 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Freitag, 18. Mai 2007 21:12
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Gricket: The Love-Child of Grails and Wicket


you gotta keep'em separated -- i love that song! didnt know you were an
offspring fan eelco!

-igor





On 5/18/07, Eelco Hillenius [EMAIL PROTECTED] wrote: 

 Haha, sorry but it seems some of the Wicket community are still living in
 Lala land with regards to believing everything deployed to production has
to
 be written in Java. It is 2007, the realisation that Java is not the best 
 language for web apps has hit home for years now.

Oh, I can't disagree more. Java 'proved' (note that that's a very
subjective to start with) to be not the best language for web apps
because most of the 'Java' frameworks around are more focussed on
inventing declarative programming models, usually based on XML or
annotations than on enabling users to simply program Java like Wicket
made it it's goal. 

I'm sure Grails/ Groovy can give you an edge in cases, but at the same
time, I'm absolutely convinced it many cases such an edge would only
be short term (quick delivery of basic functionality). Take the 
project I'm working on now. It's a complex beast, with hardly any real
straightforward CRUD functionality. The ability to refactor without
problems, navigate code quickly, reuse similar pieces of functionality 
as custom components etc etc makes using Java very valuable.

I don't want to get into yet another framework battle, certainly not
on our own mailing list, but imo, there are good cases for both, and a
level of integration would be more than welcome, especially because
users get to choose what they want while still being able to switch
from one to the other/ or do parts of their project in one and parts
in the other, and have a better level of reuse. 

 A good language for
 writing a lot of your business logic yes, but your business logic and web
 logic are two different things and if you're mixing them you're already
 making mistakes right there. 

You can just write n layers in Java and keep em separated. I don't see
any problems with that.

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] ajax / javascript widgets in wicket

2007-04-13 Thread Korbinian Bachl
We had this question 2 days ago, solution is in wiki:
 
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html
 
the List actions itself like add and delete are part of List and you just
would have to ListView.setList(yourListInHere) prior to repainting the
markupcontainer with ajax.
 
Regards 
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Alexei
Sokolov
Gesendet: Freitag, 13. April 2007 00:41
An: [EMAIL PROTECTED]
Betreff: [Wicket-user] ajax / javascript widgets in wicket


Hello guys,

I have a question about designing ajax/javascript widgets using wicket. Here
is my problem:

I have a form, which I submit using ajax submit button and I have a list
view like this:

ul 
  li wicket:id=itemblah/li
/ul


What I want to do is:
- add a new li element to the list (but don't change other DOM nodes in
the document)
- call a javascript function to apply some visual effects to the item 

I want a similar method for removing items from the list, updating items,
etc.

How do I design such widget?

Thank you,
Alex



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


Re: [Wicket-user] ajax / javascript widgets in wicket

2007-04-13 Thread Korbinian Bachl
from the wiki:
 
 

What you typically want to do is to redraw the complete ul/ul
part, because most browsers really don't appreciate when you replace
parts of a tag, especially when you are working with a table.



just adding a line li there with JS isnt browsersafe - you can however
still do it if you provide a own ListView implementation.


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Alexei
Sokolov
Gesendet: Freitag, 13. April 2007 18:14
An: [EMAIL PROTECTED]
Betreff: Re: [Wicket-user] ajax / javascript widgets in wicket


That solution will replace ul element and all of its children, which is
not what I want. 

I need something like one-time-use javascript behavior, which can be
attached to a component and then discarded after first rendering. 

Alex


On 4/13/07, Korbinian Bachl [EMAIL PROTECTED] wrote: 

We had this question 2 days ago, solution is in wiki:
 
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html
 
the List actions itself like add and delete are part of List and you just
would have to ListView.setList(yourListInHere) prior to repainting the
markupcontainer with ajax.
 
Regards 
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Alexei
Sokolov
Gesendet: Freitag, 13. April 2007 00:41
An: [EMAIL PROTECTED]
Betreff: [Wicket-user] ajax / javascript widgets in wicket



Hello guys,

I have a question about designing ajax/javascript widgets using wicket. Here
is my problem:

I have a form, which I submit using ajax submit button and I have a list
view like this:

ul 
  li wicket:id=itemblah/li
/ul


What I want to do is:
- add a new li element to the list (but don't change other DOM nodes in
the document)
- call a javascript function to apply some visual effects to the item 

I want a similar method for removing items from the list, updating items,
etc.

How do I design such widget?

Thank you,
Alex




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-user
https://lists.sourceforge.net/lists/listinfo/wicket-user 




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


[Wicket-user] replace of multi inc. spans

2007-04-05 Thread Korbinian Bachl
Hi,
 
maybe its a noobish question, but how can i replace a markup that spans
other markup wihtout touching the inner one?
 
e.g: 
 
   span wicket:id=data   
span wicket:id=data1foo/spanbr
span wicket:id=data2foo/spanbr
/span

wich is a simple ListView repeater - that should be replaced by a single
Label Component

 getPage().replace(new Label(data,Error - no datasource defined));

I know i can do it via having a the DataView as a panel, but wonder if there
isnt a quick dirty aproach here...

currently, it tells me:

Expected close tag for 'span wicket:id=data' Possible attempt to embed
component(s) ' and all i want is that wicket discards the inner ones
and replaces them like it does for all content sittin within its part.

Regards

Korbinian


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


Re: [Wicket-user] replace of multi inc. spans

2007-04-05 Thread Korbinian Bachl
Thax for quick reply - i then stick with the panel-replace-solution as i
dont have the space to display a view and a label (mobile thing)

Regards   
 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Matej Knopp
 Gesendet: Donnerstag, 5. April 2007 13:22
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] replace of multi inc. spans
 
 You can't just replace the listView by a label, because the 
 markup won't match. Safest solution probably not to replace 
 the listView, just ide it and show the label next to lisview.
 
 On 4/5/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
  Hi,
 
  maybe its a noobish question, but how can i replace a markup that 
  spans other markup wihtout touching the inner one?
 
  e.g:
 
 span wicket:id=data
  span wicket:id=data1foo/spanbr
  span wicket:id=data2foo/spanbr
  /span
 
  wich is a simple ListView repeater - that should be replaced by a 
  single Label Component
 
   getPage().replace(new Label(data,Error - no datasource 
 defined));
 
  I know i can do it via having a the DataView as a panel, 
 but wonder if 
  there isnt a quick dirty aproach here...
 
  currently, it tells me:
 
  Expected close tag for 'span wicket:id=data' Possible 
 attempt to 
  embed
  component(s) ' and all i want is that wicket discards 
 the inner 
  ones and replaces them like it does for all content sittin 
 within its part.
 
  Regards
 
  Korbinian
 
 
  
 --
  --- Take Surveys. Earn Cash. Influence the Future of IT Join 
  SourceForge.net's Techsay panel and you'll get the chance to share 
  your opinions on IT  business topics through brief 
 surveys-and earn 
  cash 
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEV
  DEV ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys-and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] replace of multi inc. spans

2007-04-05 Thread Korbinian Bachl
I didnt get this one - what do you mean here? Would you please be so kind
and explain it to me?

Regards 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Matej Knopp
 Gesendet: Donnerstag, 5. April 2007 14:03
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] replace of multi inc. spans
 
 The View and Label can be displayed conditionally - either 
 listview on label, they don't need to by displayed at the same time.
 
 On 4/5/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
  Thax for quick reply - i then stick with the 
 panel-replace-solution 
  as i dont have the space to display a view and a label 
 (mobile thing)
 
  Regards
 
 
   -Ursprüngliche Nachricht-
   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Im Auftrag von 
   Matej Knopp
   Gesendet: Donnerstag, 5. April 2007 13:22
   An: wicket-user@lists.sourceforge.net
   Betreff: Re: [Wicket-user] replace of multi inc. spans
  
   You can't just replace the listView by a label, because 
 the markup 
   won't match. Safest solution probably not to replace the 
 listView, 
   just ide it and show the label next to lisview.
  
   On 4/5/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
Hi,
   
maybe its a noobish question, but how can i replace a 
 markup that 
spans other markup wihtout touching the inner one?
   
e.g:
   
   span wicket:id=data
span wicket:id=data1foo/spanbr
span wicket:id=data2foo/spanbr
/span
   
wich is a simple ListView repeater - that should be 
 replaced by a 
single Label Component
   
 getPage().replace(new Label(data,Error - no datasource
   defined));
   
I know i can do it via having a the DataView as a panel,
   but wonder if
there isnt a quick dirty aproach here...
   
currently, it tells me:
   
Expected close tag for 'span wicket:id=data' Possible
   attempt to
embed
component(s) ' and all i want is that wicket discards
   the inner
ones and replaces them like it does for all content sittin
   within its part.
   
Regards
   
Korbinian
   
   
   
   
 
   --
--- Take Surveys. Earn Cash. Influence the Future of IT Join 
SourceForge.net's Techsay panel and you'll get the 
 chance to share 
your opinions on IT  business topics through brief
   surveys-and earn
cash
   
   
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=D
   EV
DEV ___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
   --
   ---
   Take Surveys. Earn Cash. Influence the Future of IT Join 
   SourceForge.net's Techsay panel and you'll get the chance 
 to share 
   your opinions on IT  business topics through brief 
 surveys-and earn 
   cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
  CID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
  
 --
  --- Take Surveys. Earn Cash. Influence the Future of IT Join 
  SourceForge.net's Techsay panel and you'll get the chance to share 
  your opinions on IT  business topics through brief 
 surveys-and earn 
  cash 
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEV
  DEV ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys-and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Using Wicket to develop WAP sites

2007-04-05 Thread Korbinian Bachl
Hi,

as far as i know, there is *no* real mobile-language. Its usually html
(various levels depending on device) plus some special css (depending on
device, too).

And for the html you cant have multi htmls for 1 java file as this would
make no sense (html and java cover each other!) - however, you can use
markupinheritance to create a main-page and then extend it in the flavours
of the possibilities of the mobile devices... but also think: you are better
on aiming for pocketIE or pocketOpera (...) as for special and device
dependent markups.

If you want to have a standard-website wich is also usable with mobile
devices then your key to success is clean html + individial css files for
the targetenvironment.

Some base to get startet:
http://www.w3.org/TR/css-mobile/
http://www.htmldog.com/ptg/archives/55.php
http://events.ccc.de/congress/2005/fahrplan/events/933.de.html
http://www.westciv.com/style_master/academy/css_tutorial/advanced/mobile_pro
file.html

These pages should give you a way to understand how to achive best cover for
various devices,

Regards


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Ashish Shrestha
 Gesendet: Donnerstag, 5. April 2007 15:54
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] Using Wicket to develop WAP sites
 
 Hi All,
 
 I am currently looking at Wicket and going over the examples. 
 I am interested in developing mobile friendly websites. Any 
 one has any experience they can share or point me to place 
 where I can get more information.
 
 I would like to serve different 'versions' of the page based 
 on the capabilities of the mobile phone browser. In the demo, 
 the HTML file is named same as the Java class. Can I have 
 different 'version' of HTML file based on the mobile 
 capability? Would this be similar to internationalisation? 
 How does one do internationalisation with Wicket?
 
 I am planning to use http://wurfl.sourceforge.net/ to find 
 the capability of the mobile browser.
 
 Thank you for any hints, suggestions or pointers.
 Ashish
 
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys-and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Using Wicket to develop WAP sites

2007-04-05 Thread Korbinian Bachl
maybe i wrote it a bit fuzzy - what i mean is that if you have to supply
different mob. devices, then the tags would be different too, so that the
hirarchie itself also wouldnt be in sync... but youre right in correcting
this in case of same markup and hierarchy

Regards 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Martijn Dashorst
 Gesendet: Donnerstag, 5. April 2007 16:52
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Using Wicket to develop WAP sites
 
 On 4/5/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
  And for the html you cant have multi htmls for 1 java file as this 
  would make no sense (html and java cover each other!)
 
 Please get your facts straight. Wicket supports different 
 styles, localizations and variations for one given Java page/panel.
 
 MyPage.java can have many different HTML files:
 
 MyPage.html
 MyPage_en.html
 MyPage_de.html
 MyPage_wap.html
 MyPage_purple.html
 MyPage_wap_en.html
 
 etc.
 
 The order of style, variation and language could be different.
 
 The only thing you need to do in this case is to keep the 
 component hierarchy in sync between the different markup files.
 
 Martijn
 
 --
 Learn Wicket at ApacheCon Europe: http://apachecon.com Join 
 the wicket community at irc.freenode.net: ##wicket Wicket 
 1.2.5 will keep your server alive. Download Wicket now!
 http://wicketframework.org
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys-and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Pro Wicket bugs

2007-04-03 Thread Korbinian Bachl
It seems to be a series error (mine final PDF also has this, however the
Beta hasn't had it).
I reported this to Karthik, the Author - should be solved soon, 

Regards
 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von galbu
 Gesendet: Dienstag, 3. April 2007 17:23
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] Pro Wicket bugs
 
 
 Hello world I'm a beginner in wicket developing and I need 
 just a little
 help:
 I'm studying Wicket on Pro Wicket by Karthik Gurumurthy and I 
 have a problem with  the BookStore example because the pdf 
 version of the book is incomplete . .
 .
  I don't know where I could find the content of these pages: 
 104-105-107. I can't find the correct pdf version of Pro 
 Wicket so if anybody has used this tutorial and could show me 
 these pages I'll be grate . . .
 
 Thank you all
 --
 View this message in context: 
 http://www.nabble.com/Pro-Wicket-bugs-tf3515398.html#a9814696
 Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the 
 chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Pro Wicket bugs

2007-04-03 Thread Korbinian Bachl
my pdf is from february 07 -


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Marek Pribyl
 Gesendet: Dienstag, 3. April 2007 21:13
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Pro Wicket bugs
 
 I reported that to the publisher couple of months ago, and 
 since november 1st 2006 the corrected pdf should be ready for 
 download. Try to download the pdf again...
 
 marek
 
 galbu napsal(a):
  Hello world I'm a beginner in wicket developing and I need just a 
  little
  help:
  I'm studying Wicket on Pro Wicket by Karthik Gurumurthy and 
 I have a 
  problem with  the BookStore example because the pdf version of the 
  book is incomplete . .
  .
   I don't know where I could find the content of these pages: 
  104-105-107. I can't find the correct pdf version of Pro 
 Wicket so if 
  anybody has used this tutorial and could show me these 
 pages I'll be 
  grate . . .
  
  Thank you all
 
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys-and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] complex user case

2007-03-31 Thread Korbinian Bachl
looks not very complex - 
 
base would be the Autocomplete Example
http://www.wicket-library.com/wicket-examples/ajax - Auto Complete...
 
rest is a bit CSS playing + Contentvalidating - only the point with the
keystroke would need add. ajax and seems odd to me as i dont know a secure
way to capture keyboard input - as this is not valid for JS to bind a
command to a window (afaik), but i also dont see the reason you need this...

 
Regards
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von richard
schmidt
Gesendet: Samstag, 31. März 2007 12:45
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] complex user case


I am evaluating frameworks wrt a new project I will be working on.
 
The application requires a richish user interface (don't they all now!)
 
The 'richest' user case is 
 
1) The user starts entering the name of a client into a text field. 
 
2) After entering a few letters they enter a special keystroke. This results
in a server side call looking for clients with that name.
 
3) If only one client is found, then the clients name is entered into the
text field and the focus moves onto the next text field.
 
4) If more than one client is found, then a pop up is displayed to user.
This pop up contains the search results as well as extra controls so that
the user can further narrow his search. This could either be a multi page
table with ordering  and filtering, or a 'google type' search result. By
selecting one of the items, the pop up is closed and the client name is
entered into the text field and the focus moves to the next control. 
 
Can Wicket be used to implement the user case? Or should I look at stuff
like GWT or Swing?
 
Thanks
Richard
 

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


Re: [Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-26 Thread Korbinian Bachl
The official announcement of this was planned for April 1, 2007, but
because this falls on Sunday, the 
announcement is scheduled for April, 2 2007.
 
is this some kind of april the 1st joke or are you serious about it???
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Francis
Amanfo
Gesendet: Montag, 26. März 2007 16:21
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] IBM to adopt Wicket as standard web framework


Hi guys, 
 
An IBM internal memo, written and signed by product manager, Tim O'Malley,
has been leaked. 
Well, to be more direct, a friend of my working with IBM leaked this to me. 
In it, IBM praised Wicket as an innovative and state of the art web
framework that stands up tall against all its
competitors including JSF, Struts 2 and Tapestry. In the memo, IBM mentions
some of it's frustrations with JSF and 
about Sun not listening to them during the creation of the JSF
specification. In the memo, IBM also praises the Wicket team
as very hardworking and dedicated guys and is in negotiations to employ them
into IBM and make them work on Wicket 
and sell support under the umbrella of IBM. 
The memo also goes further to announce IBM's plans to integrate Wicket into
it's JEE offerings. To be more specific,
Wicket would be Integrated into RAD 8 as the default Web framework, which it
plans to release in the fourth quater of this year. 
The memo also states IBM's plans to create widgets, which it plans to market
under the label WICKED Widgets, of all
the standard Wicket components and enable drag and drop development in RAD
8. It would also make WICKED© widgets standalone for separate downloads. 
The official announcement of this was planned for April 1, 2007, but because
this falls on Sunday, the 
announcement is scheduled for April, 2 2007.

There is a link to this memo but is currently available only on IBM's
internal network, which of course is closed 
to the public.

I personally think this is a great news. It will grow Wicket's adoption
exponentially, which is of course a good
thing for the community and give Wicket a high status in the web framework
community. In addition, our diligent, humble 
and hardworking Wicket core developers would be rewarded.

So join me rejoice about the greatest news so far for the Wicket community.

Regards,
Francis
-- 
Beware of bugs in the above code; 
I have only proved it correct, not tried it.
-Donald Knuth 

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


Re: [Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-26 Thread Korbinian Bachl
seems as they (the jokers) have no longer the patience to wait for april 1st
:P 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Matej Knopp
 Gesendet: Montag, 26. März 2007 17:03
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] IBM to adopt Wicket as standard 
 web framework
 
 http://mail-archives.apache.org/mod_mbox/tapestry-users/200504
.mbox/[EMAIL PROTECTED] 3e
 
 On 3/26/07, Alexandre Bairos [EMAIL PROTECTED] wrote:
  It´d be fantastic. But it's a bit suspicious, considering the magic 
  date. :)
 
 
 
  On 3/26/07, Francis Amanfo [EMAIL PROTECTED]  wrote:
   I'm only a messenger. Don't persecute the messenger!
  
  
  
   On 3/26/07, Korbinian Bachl  [EMAIL PROTECTED]  wrote:
   
   
   
The official announcement of this was planned for 
 April 1, 2007, 
but
  because this falls on Sunday, the
announcement is scheduled for April, 2 2007.
   
is this some kind of april the 1st joke or are you 
 serious about it???
   
   
   

   Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Im Auftrag von 
  Francis Amanfo
Gesendet: Montag, 26. März 2007 16:21
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] IBM to adopt Wicket as standard web 
framework
   
   
   
Hi guys,
   
An IBM internal memo, written and signed by product manager, Tim
  O'Malley, has been leaked.
Well, to be more direct, a friend of my working with IBM leaked 
this to
  me.
In it, IBM praised Wicket as an innovative and state of the art 
web
  framework that stands up tall against all its
competitors including JSF, Struts 2 and Tapestry. In 
 the memo, IBM
  mentions some of it's frustrations with JSF and
about Sun not listening to them during the creation of the JSF
  specification. In the memo, IBM also praises the Wicket team
as very hardworking and dedicated guys and is in 
 negotiations to 
employ
  them into IBM and make them work on Wicket
and sell support under the umbrella of IBM.
The memo also goes further to announce IBM's plans to integrate 
Wicket
  into it's JEE offerings. To be more specific,
Wicket would be Integrated into RAD 8 as the default Web 
framework,
  which it plans to release in the fourth quater of this year.
The memo also states IBM's plans to create widgets, 
 which it plans 
to
  market under the label WICKED Widgets, of all
the standard Wicket components and enable drag and drop 
development in
  RAD 8. It would also make WICKED(c) widgets standalone for 
 separate downloads.
The official announcement of this was planned for April 
 1, 2007, 
but
  because this falls on Sunday, the
announcement is scheduled for April, 2 2007.
   
There is a link to this memo but is currently available only on 
IBM's
  internal network, which of course is closed
to the public.
   
I personally think this is a great news. It will grow Wicket's 
adoption
  exponentially, which is of course a good
thing for the community and give Wicket a high status in the web
  framework community. In addition, our diligent, humble
and hardworking Wicket core developers would be rewarded.
   
So join me rejoice about the greatest news so far for the Wicket
  community.
   
Regards,
Francis
--
Beware of bugs in the above code;
I have only proved it correct, not tried it.
-Donald Knuth
   
  
 --
  ---
Take Surveys. Earn Cash. Influence the Future of IT Join 
SourceForge.net's Techsay panel and you'll get the 
 chance to share
  your
opinions on IT  business topics through brief surveys-and earn 
cash
   
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEV
  DEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
  https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
  
  
  
  
   --
   Beware of bugs in the above code;
   I have only proved it correct, not tried it.
   -Donald Knuth
  
  
 --
  ---
   Take Surveys. Earn Cash. Influence the Future of IT Join 
   SourceForge.net's Techsay panel and you'll get the chance to share
  your
   opinions on IT  business topics through brief 
 surveys-and earn cash
  
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEV
  DEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
  
 --
  --- Take Surveys. Earn Cash. Influence the Future of IT Join 
  SourceForge.net's

[Wicket-user] JCR and Wicket

2007-03-21 Thread Korbinian Bachl
Hi,
 
has anyone ever used wicket in combination of a JCR like Jackrabbit or sth.
like that? - Today I tried out the TinyMCE Contrib from wicket stuff and
there is no part in it to give the user a file browser to upload and/ or use
files wich seems mission critical for me if you want to give it to a normal
level user for entering data into a webpage. 
 
Could tis be solved with a JCR or I'm just on a wrong lane here?
(My idea was to have a JCR - webserver mapped to a special URL part e.g:
/WEBAPP/resources/ and so to avoid the coupling of the data and the
filesystem under)
 
Best Regards,
 
Korbinian
 
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JCR and Wicket

2007-03-21 Thread Korbinian Bachl
err, yes, i know that - thats the point. I want to fix this missing bit as
well as integrate the most recent version of tiniyMCE into it, but Im not
sure if JCR *is* the right thing to do it that way, as im new to it and i
also dont know if making the JCR available via http itself is a good idea or
not. 
 
So, anyone who has knowledge about JCR or more better also used it: Would
you be so kind and tell me your opinion?
 
Regards
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Mittwoch, 21. März 2007 17:48
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] JCR and Wicket


you need to add that functionality to that project, right now it doesnt
support it. but it is a wicket-stuff project so anyone can join and
contribute.

-igor



On 3/21/07, Korbinian Bachl [EMAIL PROTECTED] wrote: 

Hi,
 
has anyone ever used wicket in combination of a JCR like Jackrabbit or sth.
like that? - Today I tried out the TinyMCE Contrib from wicket stuff and
there is no part in it to give the user a file browser to upload and/ or use
files wich seems mission critical for me if you want to give it to a normal
level user for entering data into a webpage. 
 
Could tis be solved with a JCR or I'm just on a wrong lane here?
(My idea was to have a JCR - webserver mapped to a special URL part e.g:
/WEBAPP/resources/ and so to avoid the coupling of the data and the
filesystem under)
 
Best Regards,
 
Korbinian
 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
https://lists.sourceforge.net/lists/listinfo/wicket-user 




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


Re: [Wicket-user] Log messages appearing twice

2007-03-19 Thread Korbinian Bachl
Depending on where you have your log file messages and what kind they are,
they can appear more than once as sometimes components are winded up more
than once (e.g: inner redirect...) - best answer might be this:
http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html where
the whole life is described.
 
The things behind (e.g: database ) shouldnt be accessed more often based on
they right wicket usage (e.g: so no jdbc in page itself but a appropriate
(LoadableDetachable)Model ).
 
Also note that in the development mode this more often happens as in
deployment (at least i noticed this)
 
Regards,
 
Korbinian
 
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Matt Welch
Gesendet: Montag, 19. März 2007 17:11
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] Log messages appearing twice


I'm betting this is a Wicket 101 question, but I can't seem to find an
answer on the wiki or in the lists (perhaps my search keywords aren't
right). During development I'm occasionally putting in some simple debug
statements into my pages. During execution, those log statements always come
up twice during a single page access. Is this expected? Do I need to develop
around this to ensure that calls to the service tier, and hence my database,
of my application are not executed twice as well? On the surface this seem
like a huge performance killer so I assume I have something misconfigured or
that I'm interpreting these double log statements incorrectly. 

Any insight?

Matt


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


Re: [Wicket-user] how to config the wicket 2.0 application toaccessable by domain name directorly?

2007-03-16 Thread Korbinian Bachl
The key here is not wicket - its the webcontainer you use. If you use Tomcat
then there is a special ROOT configure directive (or Path - sorry here, but
havent had to do with it for long time) wich can be found in the Tomcat-Docs
(similar is jetty - just look for context root or context path)

if you use a real appserver e.g: SJAS you really want to go over the EAR or
WAR way and define the Context-Path to be /
in the container-web.xml (SJAS: sun-web.xml)
e.g: context-root//context-root

in the web.xml itself you only need to map it to /* (dont forget the *)
e.g:

   filter-nameNAME/filter-name
   filter-classwicket.protocol.http.WicketFilter/filter-class
   init-param
param-nameapplicationClassName/param-name
param-valueYOURAPPCLASS/param-value
/init-param
init-param
  param-namefilterPath/param-name
  param-value/

   filter-mapping
   filter-nameNAME/filter-name
   url-pattern/*/url-pattern
   /filter-mapping


so you then can configure it the way you want:

domain.com/context_name/filterpath
^container  ^web.xml 

Regards,

Korbinian

 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von tooy li(Gmail)
 Gesendet: Freitag, 16. März 2007 14:50
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] how to config the wicket 2.0 
 application toaccessable by domain name directorly?
 
 hi,
 
 pardon for my poort english first.
 
 I need deploy the application into web site which can be 
 acess by domain name.
 for example , www.toy.com   is refer to my app. but i cannot 
 know how to config it in 2. 0 since it use filter instead of 
 servlet.  it seems that i have to set the filterPath to 
 something, so i only can access my app by   www.toy.com/myapp .
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys-and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in2.0

2007-03-07 Thread Korbinian Bachl
Hi,

im not yet using 2.0 for a serious project, but spent much time as it should
be a future technology here. What me worries is the inconsistence in the way
the dev now is handled... I mean, the 2.0 Style Constructor is not bad - it
needs rethinking and some time more code, but also makes (IMHO) the code
better understandable and avoids this ugly stupid chaining with .add() -
allows direct access of the markup etc.

I mainly focused on 2.0 as i wanted the JDK1.5 features - generics + easier
session by self referencing etc. - of course, you stumble into downsides as
well, like the unlogic (to me) way to now replace a component by another
one... 

Whatever you do with 2.0 (even if it means work for me) - if you do it, then
right and no way back: so please decide to keep or drop it ! - and then do
it within a deadline you publish out, so no users are confused and please
dont go the T* way where every new version is a completely new thing...
compability is important (some small api breaks are ok, but not too big ones
without providing alternatives - so think also for future needs in design
concerning the constructor).

Also please if you decide to not use the new constructor go on a JDK1.5 solo
dev path soon (do a 2.0 release -with or without constructor change - in
need for 1.5 and dont backport things to 1.X as this will lead that most
users will never look at the new version but stick to their path as they
still get some candy) - we already have JDK1.6 out and when jdk 1.7 is out
you should at least be at 1.5 level IMHO - if sb. is sitting on 1.4 he has a
problem (even some are still on 1.3 or 1.2!) but also can use the old wicket
versions;

these are my thoughts

Korbinian 
 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Eelco Hillenius
 Gesendet: Dienstag, 6. März 2007 23:13
 An: Wicket User List
 Betreff: [Wicket-user] IMPORTANT: your opinion on the 
 constructor change in2.0
 
 Hi,
 
 We (Wicket's developers) are having some discussion over 1.3 
 vs 2.0 and how difficult it is as a nun-funded project to 
 spend so much time synchronizing the branches.
 
 A major issue in the discussion is that not everyone is 
 convinced anymore that the constructor change in 2.0 is for 
 the better. There are pros and cons for sure, but we want to 
 get your opinion on this.
 
 Please help us out giving your opinion. We want to know:
 
 1) Who uses 2.0 for serious projects?
 
 2) What do you think of the constructor change? Do you prefer 
 1.3's add style or 2.0's style of passing in the parent 
 construction time.
 
 3) If we would ever backtrack on the constructor change 
 (*if*, don't panic for now) how much trouble would that give you?
 
 Please don't be shy giving your opinion. This is an important 
 issue in the future development of Wicket.
 
 Regards,
 
 Eelco
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys-and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] API break for 1.3 and 2.0: Session constructor

2007-01-14 Thread Korbinian Bachl
Sorry, I dont understand either.
 
We are told not to use a but use a instead???
 
I dont get this


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Frank
Bille
Gesendet: Sonntag, 14. Januar 2007 13:06
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] API break for 1.3 and 2.0: Session constructor


On 1/14/07, Martijn Dashorst [EMAIL PROTECTED] wrote: 


On 1/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 * Method WebApplication#newSession is made final and will be removed
 in the near future. Instead, use WebApplication#newSession. 

So don't use WebApplication#newSession, but use WebApplication#newSession?



Yeah, whats so difficult to understand? It makes sense. And it's easy to
migrate.

Frank


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


Re: [Wicket-user] hi , is there any example for implements a system menu?

2007-01-11 Thread Korbinian Bachl
http://www.wicket-library.com/wicket-examples/ has the wicket examples - the
rest is either a chunk of css and or html markup(-manipulation)

suggest you also might want to have a look at http://www.alistapart.com/ for
basic CSS/ html knowledge, as a menu is usually nothing more than a
ulli.../li/ul construct with some css and javscript



 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von tooy li(Gmail)
 Gesendet: Donnerstag, 11. Januar 2007 16:49
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] hi ,is there any example for 
 implements a system menu?
 
 or how to create a outlook style system menu ?
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys - and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar forwicket-contrib-scriptaculous?)

2007-01-11 Thread Korbinian Bachl
Good News ! - thanks igor. Is this then completely independent and solely
for wicket stuff then? - means, we may setup a new wicket stuff website
there, and subpages for the projects and jar file downloads? 
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Donnerstag, 11. Januar 2007 18:04
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar
forwicket-contrib-scriptaculous?)


i will try to get it setup today.

-igor



On 1/11/07, James McLaughlin [EMAIL PROTECTED] wrote: 

I'm with Fillipo. We've already determined that we can't host wicket-stuff
with wicket on apache.org. No need to mention it again. Both Eelco and Igor
mentioned that there are some boxes wicket has that we can use to set up
confluence. Let's do that. How do we move ahead? 


On 1/11/07, Filippo Diotalevi   mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: 


On 1/11/07, Nick Heudecker [EMAIL PROTECTED] wrote:
 Confluence is setup here: http://cwiki.apache.org/WICKET/

Sorry guys... I don't get it.
You've said in another thread that we cannot use apache infrastructure
for wicket-stuff.. right?

So, if I understand well, that instance of confluence you are
referring to is not available for wicket-stuff documentation; but 
Eelco also said that there is probably another server with a
confluence installation. That's the reason of my question... is this
other server available?

--
Filippo

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




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV

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





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


Re: [Wicket-user] Wicket-stuff site (Was: Re: Jarforwicket-contrib-scriptaculous?)

2007-01-11 Thread Korbinian Bachl
is this normal: 
 
Error rendering macro: java.lang.StackOverflowError
 
???
 
on left side of http://81.17.46.170:8090/confluence/dashboard.action


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Donnerstag, 11. Januar 2007 20:16
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Wicket-stuff site (Was: Re:
Jarforwicket-contrib-scriptaculous?)


http://81.17.46.170:8090/confluence

sign up for an account and i will grant you permissions

-igor



On 1/11/07, James McLaughlin [EMAIL PROTECTED] wrote: 

Well, on second thought, there is hardly anything in the sf issue tracker
for wicket-stuff, so there wouldn't be any migration issues. I didn't
realize Jira could be part of the package. If others agree, and it wouldn't
be to difficult for you, it would be great to have Jira and Confluence
together. 

thx,
jim


On 1/11/07, Igor Vaynberg   mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: 

i was going to install jira, but i guess less work for me :)

-igor



On 1/11/07, James McLaughlin [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

I'm with Martijn on this. Plus the sf issue tracker. Confluence should just
be for the project web site. 

jim 



On 1/11/07, Martijn Dashorst  [EMAIL PROTECTED] wrote: 

For downloads I would seriously consider using the sf.net offering. It
has enough mirrors to service the whole world.

Martijn

On 1/11/07, Korbinian Bachl   mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:


 Good News ! - thanks igor. Is this then completely independent and solely
 for wicket stuff then? - means, we may setup a new wicket stuff website
 there, and subpages for the projects and jar file downloads?



  
  Von: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im
 Auftrag von Igor Vaynberg 
 Gesendet: Donnerstag, 11. Januar 2007 18:04
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar 
 forwicket-contrib-scriptaculous?)


 i will try to get it setup today. 

 -igor



 On 1/11/07, James McLaughlin [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:
  I'm with Fillipo. We've already determined that we can't host
wicket-stuff 
 with wicket on apache.org. No need to mention it again. Both Eelco and
Igor
 mentioned that there are some boxes wicket has that we can use to set up 
 confluence. Let's do that. How do we move ahead? 
 
 
  On 1/11/07, Filippo Diotalevi  [EMAIL PROTECTED]  wrote:
 
   On 1/11/07, Nick Heudecker  [EMAIL PROTECTED] wrote:
Confluence is setup here: http://cwiki.apache.org/WICKET/
  
   Sorry guys... I don't get it.
   You've said in another thread that we cannot use apache infrastructure
   for wicket-stuff.. right?
  
   So, if I understand well, that instance of confluence you are 
   referring to is not available for wicket-stuff documentation; but
   Eelco also said that there is probably another server with a
   confluence installation. That's the reason of my question... is this 
   other server available?
  
   --
   Filippo
  
  
 - 
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
share
 your
   opinions on IT  business topics through brief surveys - and earn cash

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


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

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

Re: [Wicket-user] Wicket-stuff site (Was: Re: Jarforwicket-contrib-scriptaculous?)

2007-01-11 Thread Korbinian Bachl
cant you force confluence to just extend the basic template? - e.g: only
have a manipulatable sub-part in the main-template similar to what you do in
CMS like typo3 ?
 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Filippo Diotalevi
 Gesendet: Donnerstag, 11. Januar 2007 22:35
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Wicket-stuff site (Was: Re: 
 Jarforwicket-contrib-scriptaculous?)
 
 On 1/11/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
  you guys need to first decide how you want to organize confluence. 
  space per project? one wiki, one website? who has admin to what?
 
 A workspace per project seems a bit overkill to me, since for 
 every workspaces we should create design, templates, logos 
 and permission.
 And there are quite a lot of subprojects right now.
 
 I'd go with a read-only (for normal users) website, and let 
 the project maintainers use the public wiki to create 
 subprojects documentations (we will proide them a template 
 for the project page) Then we could simply link from the 
 website the pages in the wiki.
 
 Quite simple.
 
 --
 Filippo Diotalevi
 [EMAIL PROTECTED]
 http://www.diotalevi.com/weblog
 http://www.jugmilano.it
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys - and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Jar for wicket-contrib-scriptaculous?

2007-01-09 Thread Korbinian Bachl
 

 -Ursprüngliche Nachricht-
 
 Yes... and we really need to setup a new site for 
 wicket-stuff now it's so outdated that most of the 
 subprojects of wicket-stuff aren't even documented in the 
 website. And if we don't have a decent website, it's very 
 difficult to keep track of the things to do.
 
 The problem is that there are so many people involved in 
 wicket-stuff that it's nearly impossible to reach them all 
 and make a democratic
 decision about the future of the website.
 In my opinion, we should drop the current website and use a 
 wiki instead. It's the only simple way to manage the 
 complexity of having so many projects, contributors and releases.

+1 on this - in fact, I browsed through much - and we have so many
subprojects, outdated parts etc.  that beginnign from scratch and putting
current and working things in one by one seems as only chance to hande this.

 
 We already have a wiki
 (http://wicket-stuff.sourceforge.net/wiki-stuff/WicketStuffWikiHome)
 but it is very simple and open to spammers, so I don't know 
 if we should put too much effort in it or look for another platform.

the current seems very basic to me, and i never heard about MoinMoin and its
capabilities before - what wonders me, is if it would be possible to use
confluence, as its used for wicket main so we would have only 1 technology /
system and users/ contributors would only have 1 system to know... any
thoughts on this? - can wicket-stuff also profit from apache or is this only
for listed projects there?


Regards



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


Re: [Wicket-user] Pagination not working

2007-01-09 Thread Korbinian Bachl
can you post some sourcecode here?

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von snkr subedi
 Gesendet: Dienstag, 9. Januar 2007 12:05
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] Pagination not working
 
 Hi,
 i am new to this mailling list as well as Wicket so sorry if 
 the question is not worth the mailing list.
 
 i got a problem here.
 I want to show some tabular information using the DataView 
 with pagination.
 I have tried both the Loadable and Abstract Detachable models.
 When i run the program the information is repeated in the pages.
 if i have 5 rows to display and i set setItemsPerPage(3) then 
 in next page i.e when i clicked next the same information 
 that was displayed before is displayed.
 
 Thanks in Advance
 sNkr
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys - and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Jar for wicket-contrib-scriptaculous?

2007-01-09 Thread Korbinian Bachl
I havent big experience with WIKIs so far, but i would go confluence as I
expect better connections between the wicket wiki and wicket stuff wiki when
both are same base.
 
Filippo seems to have experience with confluence,  however, I'm still
wondering if we can use it, as i dont know
a, how to get the license or if we may use the Apache ones for it
b, on what server we will put it up - SF.net seems to limit to cgi only and
I cant remember to have seen cgi option on the confluence webpage.
 
Regards
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Nick
Heudecker
Gesendet: Dienstag, 9. Januar 2007 17:13
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Jar for wicket-contrib-scriptaculous?


Yeah, the old one was MediaWiki.  It worked well enough, but there were some
problems with spam.  

Personally, I'd like to use Wicket's Confluence install to keep everything
in one place.  Might also make it easier to link between projects.  


On 1/9/07, James McLaughlin [EMAIL PROTECTED] wrote: 

Damned holidays! My lack of attention to wicket-stuff has been gnawing away
at me.

Ryan, sorry to here yo haven't been able to create an account. I would be
glad to help -- let me know what problem you are having. You've tried
clicking login from the main page, and then clicking the UserPreferences
link to create an account? 

I have no attachment to MoinMoin, but from my limited wiki admin experience
it is very lightweight and easy to configure. My other experience is with
TWiki, which is a bit cruftier, but pretty simple to use also. It also has
billions of plugins. I really liked the old wicket wiki, which i believe is
MediaWiki. We should take a vote and settle this so we can move ahead. My
advice is to stick with the sf infrastructure regardless of the wiki we use,
which requires the wiki to be cgi based. 

Thoughts?

regards,
jim 



On 1/9/07, Ryan Sonnek   mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: 

I'd love to try and use the main wicket confluence instance in some way.
seriously, i haven't even been able to create an account and login to the
wiki for wicket-stuff. 



On 1/9/07, Filippo Diotalevi [EMAIL PROTECTED] wrote: 

On 1/9/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
 the current seems very basic to me, and i never heard about MoinMoin and
its 
 capabilities before - what wonders me, is if it would be possible to use 
 confluence, as its used for wicket main so we would have only 1 technology
/
 system and users/ contributors would only have 1 system to know... any
 thoughts on this? - can wicket-stuff also profit from apache or is this
only 
 for listed projects there?

Yeah, I must admit that I'd prefer so much to go with confluence.
With this regard, there are 3 possible solutions:

- ask Atlassian for a free open source license. I've already done 
that, it requires some time (it required more than a month in my
case). Then you need to find a java hosting... not impossible, but
requires some work as well

- As I told you, I already have a free license of Confluence for the 
Java User Group Milano. We are building our website with it, but it
should be easy to add a workspace in our installation for
wicket-stuff. However, wicket-stuff would probably be a medium-traffic
website (much more than our), so I'd probably need to find another 
java hosting

- Use Apache confluence.. needless to say, I'd love it! but we've
already discussed about it and I remember some folks being not very
enthusiastic about this solution

--
Filippo Diotalevi 
[EMAIL PROTECTED]
http://www.diotalevi.com/weblog
http://www.jugmilano.it  http://www.jugmilano.it 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV

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

Re: [Wicket-user] Jar for wicket-contrib-scriptaculous?

2007-01-09 Thread Korbinian Bachl
damn timing :P 
 
can you please let us know more about it? 
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Dienstag, 9. Januar 2007 18:29
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Jar for wicket-contrib-scriptaculous?


we already have a confluence and jira license, so if you guys want i can
forward you the info.

we also have a server where these things can be hosted :)

i can set it up if you guys are interested

-igor 



On 1/9/07, Filippo Diotalevi [EMAIL PROTECTED] wrote: 

On 1/9/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
 the current seems very basic to me, and i never heard about MoinMoin and
its
 capabilities before - what wonders me, is if it would be possible to use 
 confluence, as its used for wicket main so we would have only 1 technology
/
 system and users/ contributors would only have 1 system to know... any
 thoughts on this? - can wicket-stuff also profit from apache or is this
only 
 for listed projects there?

Yeah, I must admit that I'd prefer so much to go with confluence.
With this regard, there are 3 possible solutions:

- ask Atlassian for a free open source license. I've already done 
that, it requires some time (it required more than a month in my
case). Then you need to find a java hosting... not impossible, but
requires some work as well

- As I told you, I already have a free license of Confluence for the 
Java User Group Milano. We are building our website with it, but it
should be easy to add a workspace in our installation for
wicket-stuff. However, wicket-stuff would probably be a medium-traffic
website (much more than our), so I'd probably need to find another 
java hosting

- Use Apache confluence.. needless to say, I'd love it! but we've
already discussed about it and I remember some folks being not very
enthusiastic about this solution

--
Filippo Diotalevi 
[EMAIL PROTECTED]
http://www.diotalevi.com/weblog
http://www.jugmilano.it  http://www.jugmilano.it 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



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


Re: [Wicket-user] Can I show a drop down choice list at tabs?

2007-01-08 Thread Korbinian Bachl
I think this would be an overkill - what he wants is just the standard
suckerfish - no JS needed, pure CSS and simple UL's are enough to get it
(and barrier free )
 
look here: http://www.htmldog.com/articles/suckerfish/dropdowns/ there it is
explained and shown how to do it right - the only JS needed is to fix a bug
that exists in IE6, wich is unable to handle :hover in other places than the
a tag 
 
the only part you need to make it is a css header file (+ JS header if you
need IE5+6 compability) with the content tied and simple ListView(s) - thats
all 
 
small, nice, cross-browser and works on JS deactivated browsers, too (except
IE) - and will also work in old browsers/ text-only ones (lynx) and
search-engine-spiders
 
regards
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Montag, 8. Januar 2007 06:15
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Can I show a drop down choice list at tabs?


sure, you will have to write something from scratch. use the existing
TabbedPanel as a base and instead of just using a list as the tab title use
a link and some javascript popup menu.

-igor



On 1/7/07, Carfield Yim [EMAIL PROTECTED] wrote: 

Just like http://sourceforge.net/index.php one?

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



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


Re: [Wicket-user] Wicket2 and Wicket 1.2.x

2007-01-08 Thread Korbinian Bachl
Hi Johan,
 
i dont know much about 1.3, as I never looked at it - but im glad that you
also see Problems there and rellay want to thank you for your time spent on
things like that,
 
Regards
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Johan
Compagner
Gesendet: Montag, 8. Januar 2007 13:38
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Wicket2 and Wicket 1.2.x


But what has this to do with 2.0?
1.3 also has the exact same stateless support as 2.0 so also the same
problems
And yes the Indexed one is the thing that i still need to fix. Will look it
as soon as i can.

Als that url encoding stuff is also bothering me. We do it now all over the
place and in all 
kind of places a bit different. Very confusing.

johan



On 1/7/07, Korbinian Bachl [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

I didnt say its alpha however, i thought Johan also wants to refactory 
the way PageParameters and URLs are encoded / decoded as its currently not
equal (depends on the mounted-strategy and returns different variations e.g:
you get the input in BookMarkablePage but the encoded version in 
IndexedURlPageParameter-version)this is IMHO still a big showstopper as
it disables you to change the mounting strategy on the fly

Regards


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ] Im Auftrag
 von Eelco Hillenius
 Gesendet: Samstag, 6. Januar 2007 23:31
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Wicket2 and Wicket 1.2.x

 It is imho not alpha though. We haven't decided on what to
 call the first release of 2.0, but I'd be for beta. Also, I
 think most drastic API changes are done. The last big one 
 seems to be the onAttach thing that is discussed on the list
 right now.

 Eelco

 On 1/6/07, Korbinian Bachl [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:
  HI,
 
  wicket 2.0 is not beta yet ! - there are many api-changes and still
  will be, as many things are on dev list. Also,  even not all JUnit
  tests are passed in current-trunk. 
 
  regards
 
   -Ursprüngliche Nachricht-
   Von: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
   [mailto:[EMAIL PROTECTED] Im Auftrag von
   Ayodeji Aladejebi
   Gesendet: Samstag, 6. Januar 2007 18:42 
   An: wicket-user@lists.sourceforge.net
   Betreff: Re: [Wicket-user] Wicket2 and Wicket 1.2.x
  
   ok seen it on the wiki 
  
   On 1/6/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
Hey have been seeing lots of questions about Wicket 2.0
   probably most
ppl are already migrating to it even though its still beta.
   I am still
stuck on 1.2.x series cuz am on real live projects based on 
   1.2.x. Now
apart from generics in IModel etc, am I missing anything by not
migrating to 2.0 yet? where can i read about Wicket 2.0 coming
features and changes? 
   
thanks
   
   
   
   
   
   
--
Aladejebi Ayodeji A.,
   
DabarObjects Solutions
Phone: 234 9 273 2 555
Mobile: +234 803 589 1780
Email: [EMAIL PROTECTED]
Web: www.dabarobjects.com
Blog: blog.dabarobjects.com
   
Participate, Collaborate, Innovate Join Community:
http://www.cowblock.net/

Get A Free Blog:
http://blogs.cowblock.net/
   
  
  
   --
   Aladejebi Ayodeji A., 
  
   DabarObjects Solutions
   Phone: 234 9 273 2 555
   Mobile: +234 803 589 1780
   Email: [EMAIL PROTECTED]  mailto:[EMAIL PROTECTED] 
   Web: www.dabarobjects.com
   Blog: blog.dabarobjects.com
  
   Participate, Collaborate, Innovate 
   Join Community:
   http://www.cowblock.net/
  
   Get A Free Blog:
   http://blogs.cowblock.net/
  
   --
   ---
   Take Surveys. Earn Cash. Influence the Future of IT Join 
   SourceForge.net's Techsay panel and you'll get the chance
 to share
   your opinions on IT  business topics through brief surveys - and
   earn cash
   http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforge
p=sourceforge
  CID=DEVDEV
   ___ 
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
 --
  --- Take Surveys. Earn Cash. Influence the Future of IT Join 
  SourceForge.net's Techsay panel and you'll get the chance to share
  your opinions on IT  business topics through brief surveys
 - and earn
  cash
 
 http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEV
p=sourceforgeCID=DEV
  DEV ___ 
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 --
 ---
 Take

Re: [Wicket-user] Wicket2 and Wicket 1.2.x

2007-01-07 Thread Korbinian Bachl
I didnt say its alpha however, i thought Johan also wants to refactory
the way PageParameters and URLs are encoded / decoded as its currently not
equal (depends on the mounted-strategy and returns different variations e.g:
you get the input in BookMarkablePage but the encoded version in
IndexedURlPageParameter-version)this is IMHO still a big showstopper as
it disables you to change the mounting strategy on the fly

Regards
 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Eelco Hillenius
 Gesendet: Samstag, 6. Januar 2007 23:31
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Wicket2 and Wicket 1.2.x
 
 It is imho not alpha though. We haven't decided on what to 
 call the first release of 2.0, but I'd be for beta. Also, I 
 think most drastic API changes are done. The last big one 
 seems to be the onAttach thing that is discussed on the list 
 right now.
 
 Eelco
 
 On 1/6/07, Korbinian Bachl [EMAIL PROTECTED] wrote:
  HI,
 
  wicket 2.0 is not beta yet ! - there are many api-changes and still 
  will be, as many things are on dev list. Also,  even not all JUnit 
  tests are passed in current-trunk.
 
  regards
 
   -Ursprüngliche Nachricht-
   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Im Auftrag von 
   Ayodeji Aladejebi
   Gesendet: Samstag, 6. Januar 2007 18:42
   An: wicket-user@lists.sourceforge.net
   Betreff: Re: [Wicket-user] Wicket2 and Wicket 1.2.x
  
   ok seen it on the wiki
  
   On 1/6/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
Hey have been seeing lots of questions about Wicket 2.0
   probably most
ppl are already migrating to it even though its still beta.
   I am still
stuck on 1.2.x series cuz am on real live projects based on
   1.2.x. Now
apart from generics in IModel etc, am I missing anything by not 
migrating to 2.0 yet? where can i read about Wicket 2.0 coming 
features and changes?
   
thanks
   
   
   
   
   
   
--
Aladejebi Ayodeji A.,
   
DabarObjects Solutions
Phone: 234 9 273 2 555
Mobile: +234 803 589 1780
Email: [EMAIL PROTECTED]
Web: www.dabarobjects.com
Blog: blog.dabarobjects.com
   
Participate, Collaborate, Innovate Join Community:
http://www.cowblock.net/
   
Get A Free Blog:
http://blogs.cowblock.net/
   
  
  
   --
   Aladejebi Ayodeji A.,
  
   DabarObjects Solutions
   Phone: 234 9 273 2 555
   Mobile: +234 803 589 1780
   Email: [EMAIL PROTECTED]
   Web: www.dabarobjects.com
   Blog: blog.dabarobjects.com
  
   Participate, Collaborate, Innovate
   Join Community:
   http://www.cowblock.net/
  
   Get A Free Blog:
   http://blogs.cowblock.net/
  
   --
   ---
   Take Surveys. Earn Cash. Influence the Future of IT Join 
   SourceForge.net's Techsay panel and you'll get the chance 
 to share 
   your opinions on IT  business topics through brief surveys - and 
   earn cash 
   http://www.techsay.com/default.php?page=join.phpp=sourceforge
  CID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
  
 --
  --- Take Surveys. Earn Cash. Influence the Future of IT Join 
  SourceForge.net's Techsay panel and you'll get the chance to share 
  your opinions on IT  business topics through brief surveys 
 - and earn 
  cash 
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEV
  DEV ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys - and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Wicket2 and Wicket 1.2.x

2007-01-07 Thread Korbinian Bachl
 That might be a show stopper for you, but not for most 
 people. The 1.x releases don't have it, and what we currently 
 have works fine for the simple kind of usage we initially had 
 in mind. There will always be many improvements possible, but 
 that doesn't have to stop us from releasing new versions.
 

of course this is my showstopper for other this might be: StatelessForms not
working with IndexedParamURLStrategy, or any of the currently reported
things in JIRA

I mean, 1.3 is coming and has many improvements, so i personally see no need
to hurry 2.0 - but you as the devs decide when to release what, however i
just wanted to warn Ayodeji Aladejebi that its not frozen yet and still has
its problems. 

I like 2.0 and use it on my own, but also faced more than 1 time trouble
with it - this is ok if its a hobby like it is for me but may be a problem
when you develop something real...

Regards



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


Re: [Wicket-user] Wicket2 and Wicket 1.2.x

2007-01-07 Thread Korbinian Bachl
well, as core-dev youre not the typical user :) - but i like what i saw so
far (even if not all of my main focus is yours, too) and hope that the 2.0
release is really finished - just think about the first impressions the new
version gets when its mentioned on the serverside, magazines and so...
having trouble in even not mainstream things there will damage the
reputation - and a good repuation is important if you want to spread wicket
:) (which I want)
 
regards, 
 
Korbinian - who now has to continue building a project with typo3 - not
because he wanted it, but because its the technology the client wants :(
 

  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Sonntag, 7. Januar 2007 15:46
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Wicket2 and Wicket 1.2.x


On 1/7/07, Korbinian Bachl [EMAIL PROTECTED] wrote: 


I like 2.0 and use it on my own, but also faced more than 1 time trouble
with it - this is ok if its a hobby like it is for me but may be a problem
when you develop something real...


i know of quiet a few people, including myself, that are developing
something real with 2.0. you have to remember the stateless stuff is not the
main focus of wicket, and so most of our users will never use it.

-igor


 


Regards



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



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


Re: [Wicket-user] Wicket2 and Wicket 1.2.x

2007-01-06 Thread Korbinian Bachl
HI,

wicket 2.0 is not beta yet ! - there are many api-changes and still will be,
as many things are on dev list. Also,  even not all JUnit tests are passed
in current-trunk.

regards

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Ayodeji Aladejebi
 Gesendet: Samstag, 6. Januar 2007 18:42
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Wicket2 and Wicket 1.2.x
 
 ok seen it on the wiki
 
 On 1/6/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
  Hey have been seeing lots of questions about Wicket 2.0 
 probably most 
  ppl are already migrating to it even though its still beta. 
 I am still 
  stuck on 1.2.x series cuz am on real live projects based on 
 1.2.x. Now 
  apart from generics in IModel etc, am I missing anything by not 
  migrating to 2.0 yet? where can i read about Wicket 2.0 coming 
  features and changes?
 
  thanks
 
 
 
 
 
 
  --
  Aladejebi Ayodeji A.,
 
  DabarObjects Solutions
  Phone: 234 9 273 2 555
  Mobile: +234 803 589 1780
  Email: [EMAIL PROTECTED]
  Web: www.dabarobjects.com
  Blog: blog.dabarobjects.com
 
  Participate, Collaborate, Innovate
  Join Community:
  http://www.cowblock.net/
 
  Get A Free Blog:
  http://blogs.cowblock.net/
 
 
 
 --
 Aladejebi Ayodeji A.,
 
 DabarObjects Solutions
 Phone: 234 9 273 2 555
 Mobile: +234 803 589 1780
 Email: [EMAIL PROTECTED]
 Web: www.dabarobjects.com
 Blog: blog.dabarobjects.com
 
 Participate, Collaborate, Innovate
 Join Community:
 http://www.cowblock.net/
 
 Get A Free Blog:
 http://blogs.cowblock.net/
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys - and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] IE 6 requests new session OTT

2007-01-05 Thread Korbinian Bachl
You can configure Tomcat to use URL manipulation only, so he always adds the
session to the URLs - however, loosing a session this way is not known and
is usually a problem in your application, as the standard behaviour in
tomcat is that he rewrites the session on creation to all URLs as wellas
passes a cookie and only drops the URL rewriting if the cookie is working.
Browsers dont change their behaviour during a single session as long as the
user doenst chose to do so.
 
Regards

 

  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Nino Wael
Gesendet: Freitag, 5. Januar 2007 12:15
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] IE 6 requests new session OTT



Sorry for so many posts about this. But are there any way to avoid session
cookies? And stil maintain session state?

 

We are using load balancing with apache upfront and then tomcat.

 

Regards Nino

 


  _  


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael
Sent: 5. januar 2007 12:12
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] IE 6 requests new session OTT

 

Hmm just found out that, there is a setting in IE 6 where you can disallow
session cookies. Setting this to false, clears our problem.

 

This appears to be default, are there any way to change this from our server
side (im guessing no).

 

 

Regards Nino

 


  _  


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael
Sent: 5. januar 2007 12:05
To: wicket-user@lists.sourceforge.net
Subject: [Wicket-user] IE 6 requests new session OTT

 

Hi 

 

I guess this is not directly connected to wicket. But it seems that IE 6 has
a nasty habbit of requesting new sessions sometimes(Bill Gates random
generator). This are giving us some problems with the page expired
exceptions, and some other stuff, THE FACT that we loose our session context
are horrible.

 

We live within an iframe, so im not sure if this triggers it somehow. Has
anyone experienced this and what did you do, if something could be done?

 

I do not have this problem with firefox. Which even uses authenticated
sessions cross browser instance.

 

 

Regards Nino

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


Re: [Wicket-user] wicket presentation

2007-01-04 Thread Korbinian Bachl
you could show a component wich holds the suckerfish CSS example (HTML, JS +
CSS markup + Java Logic) and then show how easy it is to put this into any
existing HTML file / template at any position you like...
 
or show how neat a self-calling panel component is to e.g: create a tree
structure in markup by nesting itself.
 
or a download link using the usualylink + onClick to show how secure it
is
 
or show the possibility to have 100% secure URLs using encrypted URL...
 
or... well, i can imagine dozens of things that are hard/ impossible with
struts / jsp and are done within minutes in wicket by just using the power
of java itself
 
Regards


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Nino Wael
Gesendet: Donnerstag, 4. Januar 2007 14:16
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] wicket presentation



Hi im doing a wicket presentation for our consultants team, on this first
teaser I have about ten minutes.

 

 

I plan to talk something about markup inheritance(the stuff with panels and
borders, which are very nice), and the POJO concept.

 

Also wickets model concept and that you don't have to think about the
tedious tasks like printing html and setting the correct radio to be
selected. I guess that part will be a big eye opener for some of them:-)

 

Which features should I show?

 

 

The crowd will maximum have knowledge of struts or simple jsp pages.

 

 

 

Regards Nino

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


Re: [Wicket-user] changing Stylesheet at run-time

2007-01-04 Thread Korbinian Bachl
Its described in the Wiki:
 
 http://cwiki.apache.org/WICKET/javascript-and-css-support.html
http://cwiki.apache.org/WICKET/javascript-and-css-support.html 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Ted
Roeloffzen
Gesendet: Donnerstag, 4. Januar 2007 16:06
An: wicket-user
Betreff: [Wicket-user] changing Stylesheet at run-time


Hi all,
 
I'm working on a CMS that uses Wicket and JackRabbit. Now i want to change
the stylesheet that is used. Is there a way to change that at run-time? 
 
For example.
 
the current stylesheet is: 


link rel=stylesheet type =text/css
href=./templates/wicketnews/css/style.css / 

and it has to changed to



link rel=stylesheet type =text/css
href=./templates/default/css/style.css / 

 

is that possible and if so how can i do this?

 

Ted

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


Re: [Wicket-user] wicket presentation

2007-01-04 Thread Korbinian Bachl
he wrote: The crowd will maximum have knowledge of struts or simple jsp
pages
 
so you cant show them things with API extensibility or MVC in minutes and
expect them to understand it... its IMHO better to show a easy packaged
component example (as this comes closes to the old include paradigma) and
how easy it fits together - especially if its sth. thats difficult to do in
JSP (like suckerfish)


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Marc-Andre
Houle
Gesendet: Donnerstag, 4. Januar 2007 16:56
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] wicket presentation


I think the best selling point for wicket to be shown on a 10 minute
presentation (remember it is really quick 10 minutes!) is markup
inheritance, API extensibility (Like extending the Link or Label class),
Model and POJO + HTML completely separated.  With that, I think you are
complete for the time you have. 

My 2 cents.

Marc


On 1/4/07, Korbinian Bachl [EMAIL PROTECTED] wrote: 

you could show a component wich holds the suckerfish CSS example (HTML, JS +
CSS markup + Java Logic) and then show how easy it is to put this into any
existing HTML file / template at any position you like...
 
or show how neat a self-calling panel component is to e.g: create a tree
structure in markup by nesting itself.
 
or a download link using the usualylink + onClick to show how secure it
is
 
or show the possibility to have 100% secure URLs using encrypted URL...
 
or... well, i can imagine dozens of things that are hard/ impossible with
struts / jsp and are done within minutes in wicket by just using the power
of java itself
 
Regards


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Nino Wael
Gesendet: Donnerstag, 4. Januar 2007 14:16
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] wicket presentation




Hi im doing a wicket presentation for our consultants team, on this first
teaser I have about ten minutes.

 

 

I plan to talk something about markup inheritance(the stuff with panels and
borders, which are very nice), and the POJO concept.

 

Also wickets model concept and that you don't have to think about the
tedious tasks like printing html and setting the correct radio to be
selected. I guess that part will be a big eye opener for some of them:-) 

 

Which features should I show?

 

 

The crowd will maximum have knowledge of struts or simple jsp pages.

 

 

 

Regards Nino


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV

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





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


Re: [Wicket-user] Writing byte[] to a WebResponse

2007-01-03 Thread Korbinian Bachl
Isn't it in this case also a free download protection inside? - as the URL
only is valid for this session so your download cant be stolen by
anyone else by pointing a URL from his site to a server.
 
unbelievable how much you get with just using wicket for free


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Mittwoch, 3. Januar 2007 18:13
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Writing byte[] to a WebResponse


or even easier (if you dont need a bookmarkable url)

abstract class ByteArrayLink extends Link {

protected abstract byte[] getbytes();
protected abstract String getfilename();

public void onclick() { 
getRequestCycle().setRequestTarget(new IRequestTarget() {
   void detach(RequestCycle rc) {}
   Object getLock(RequestCycle rc) { return ByteArrayLink.this; }
   void respond(RequestCycle rc) {
WebResponse r = (WebResponse)requestCycle.getResponse(); 
r.setAttachmentHeader(getfilename());
response.getOuptutStream().write(getbytes());
}}
}

  
-igor



On 1/3/07, Janos Cserep [EMAIL PROTECTED] wrote: 

Very short, very quick DynamicWebResource tutorial:)

1. Subclass DynamicWebResource

public class MyResource extends DynamicWebResource { 

@Override
protected DynamicWebResource.ResourceState getResourceState() { 

  return new ResourceState() { 

public byte[] getData() { 
  return Example.toBytes(UTF-8); 
} 

public String getContentType() { 
  return text/plain; 
} 
   }; 
} 
}

2. Open your Application class and append your init() method with the
following two lines:

getSharedResources().add(myResource, new MyResource( ); 
mountSharedResource(/my/resource/url, new
ResourceReference(myResource).getSharedResourceKey()); 

3. Browse to the http://server/context/.../my/resource/url URL and it should
show the Example string 

4. modify getContentType() and getData() to return your objects (you can get
any HTTP parameter with the getParameter() call of the Resource class in
getData() so you could pass arguments to theURL like
http://server/context/.../my/resource/url?id=XkdfG12


Janos 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV

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





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


Re: [Wicket-user] Wicket not compiling

2007-01-03 Thread Korbinian Bachl
You need to call maven with -Dmaven.test.skip=true so he skips the junit
tests, as not all are passed currently - please also note that 2.0 has many
api changes as well as needs more  dependency jars as before (logging
changed)

regards


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Peter Neubauer
 Gesendet: Mittwoch, 3. Januar 2007 21:57
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] Wicket not compiling
 
 Hi there,
 checking out the latest source from Apache SVN in order to 
 get a wicket SNAPSHOT needed for the svn wicket-phonebook 
 app, I get the following error. Is that me or the source?
 
 Cheers
 
 /Peter
 
 peter-mbp:~/code/wicket/wicket peter$ mvn install [INFO] 
 Scanning for projects...
 [INFO] 
 --
 --
 [INFO] Building Wicket
 [INFO]task-segment: [install]
 [INFO] 
 --
 --
 [INFO] [resources:resources]
 [INFO] Using default encoding to copy filtered resources.
 [INFO] [compiler:compile]
 Compiling 479 source files to 
 /Users/peter/code/wicket/wicket/target/classes
 [INFO] 
 --
 --
 [ERROR] BUILD FAILURE
 [INFO] 
 --
 --
 [INFO] Compilation failure
 
 /Users/peter/code/wicket/wicket/src/main/java/wicket/markup/ht
 ml/WebPage.java:[169,43]
 inconvertible types
 found   : wicket.Componentcapture of ?
 required: wicket.markup.html.internal.HeaderContainer
 
 /Users/peter/code/wicket/wicket/src/main/java/wicket/markup/ht
 ml/list/Loop.java:[171,67]
 inconvertible types
 found   : wicket.Componentcapture of ?
 required: wicket.markup.html.list.Loop.LoopItem
 
 
 [INFO] 
 --
 --
 [INFO] For more information, run Maven with the -e switch 
 [INFO] 
 --
 --
 [INFO] Total time: 13 seconds
 [INFO] Finished at: Wed Jan 03 21:53:52 CET 2007 [INFO] Final 
 Memory: 7M/39M [INFO] 
 --
 --
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys - and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Naviagtion TreeAjax Component

2007-01-02 Thread Korbinian Bachl
Hi Johan,
 
i already found a way to create a pure BookMarkableURL Tree* - but the
examples you mention currently wont work as I use
IndexedUrlParameterStrategy. (Stateless Form) - On the part with the link: i
wanted to have nice URL nodes like
/a
/a/b
/b
/b/a/c 
etc. 
so the crawlers of the searchengines like them, too, as they ignore the
current wicket link (hybrid or not).
 
*the most easy way was to hook up on the URL and find the current specified
node and then browse the Tree-nodes recursive and build a tree along that.
 
Regards
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Johan
Compagner
Gesendet: Dienstag, 2. Januar 2007 12:23
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Naviagtion TreeAjax Component


We already have hybrid urls. They are used for the stateless forms and
links. 

So i think if we have an option on the tree where you could say generate
stateless links then 
those links would be hybrid urls. But they are bookmarkable links like you
normally have 
because those are pointing to the result page. The hybrid links will point
to the current page
and then the current page will be recreated if needed and the link onclick
will then set the response page
to the result page. 

johan



On 12/27/06, Matej Knopp [EMAIL PROTECTED] wrote: 

Korbinian Bachl wrote:
using bookmarkable links for this is crazy, remember that bookmarkable
 links the treetable generates also have to encapsulate state of any
 other component on the page.

 i know :( - but the thing is, that the fronted of it has to be
 bookmarkable at least in the catalog-part... at least i dont have too
 much stateful components on that part, so its not that hard 

 regards

 Korbinian

 PS: has Matejs wicket 2.0 hybrid-link proposal already put into 2.0 ? -
 i mean i like the idea where at least the static part of the URL gives a
 part bookmarkin-capability (e.g: you can bookmark category foo in a shop
 but not the ordering by the birthdate of author)


Not yet, lack of time.

-Matej

--

 get professional wicket training and consultation 
 http://www.wicket-support.com


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



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


Re: [Wicket-user] wicket-2.0 snapshots

2006-12-29 Thread Korbinian Bachl
I have never used a maven repository but you may checkout the src from the
SVN repo under 
https://svn.apache.org/repos/asf/incubator/wicket/trunk

Regards

Korbinian

PS: dont forget to include the SL4J jar and the binding jar for your
preferred logging as well as the logging jars 




Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Ryan
Sonnek
Gesendet: Freitag, 29. Dezember 2006 22:36
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] wicket-2.0 snapshots


the maven2 snapshots of wicket seems to be down.
I've been using wicket-repository (http://maven.sateh.com/wicket/)
for quite a while now.  anyone else use that server or have an alternate? 




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


Re: [Wicket-user] wicket-contrib-javaee moved to Wicket-Stuff

2006-12-28 Thread Korbinian Bachl
Hi Filippo,

just browsed through it and its really nice work. Especially if someone
wants to have EJB3 persitence but not to use EJB3 Stateless Session Beans to
query it.

However, the thing with the EjbAnnotation looks not so clear to me - i mean,
every IDE has J5EE support and so in Neatbeans for example i just need 2
mouseclicks and i got my EJB called through a on the fly created call
(including web.xml ref. update/creation) e.g:

private ProduktQueryLocal lookupProduktQueryBean() {
try {
Context c = new InitialContext();
return (ProduktQueryLocal)
c.lookup(java:comp/env/ejb/ProduktQueryBean);
}
catch(NamingException ne) {
 
Logger.getLogger(getClass().getName()).log(Level.SEVERE,exception caught
,ne);
throw new RuntimeException(ne);
}
}

and use it the like lookupProduktQueryBean().anyMethodINeed();

Best Regards,

Korbinian


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Filippo Diotalevi
 Gesendet: Donnerstag, 28. Dezember 2006 12:32
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] wicket-contrib-javaee moved to Wicket-Stuff
 
 Hi all,
  just a quick post to say that this morning I've moved the 
 wicket-javaEE integration module to the wicket-stuff svn repository.
 More details about this project are available at:
 http://code.google.com/p/fdiotalevi/wiki/WicketJavaEEIntegration
 
 The complete url to checkout the module is 
 https://svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-
 contrib-javaee
 
 Remember that the integration module works only with wicket 
 2, which is still unreleased; so you'll need to checkout also 
 the trunk of wicket 2 and build it with maven.
 
 At the moment, I still haven't investigated whether it's easy 
 or not to backport this module to the wicket1.x branch; if 
 someone is interested in using java ee with wicket 1.x, just 
 let me know and I'll spend some time on this task.
 
 --
 Filippo Diotalevi
 http://www.diotalevi.com
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys - and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] wicket-contrib-javaee moved to Wicket-Stuff

2006-12-28 Thread Korbinian Bachl
I believe there you have to differate:
 
a; stateless-sessionbeans: those are only living for 1 method call, then
returned to the EJB-pool, so i dont see here a danger
b, stateful-sessionbeans: those are living over the request and have to be
used in your Wicketsession and referenced there, they never (!) may be used
in a wicket page itself without the wicket session use as they would break
concurrent-user support and create a new bean every pageinstance recreation.
 
Are I'm wrong here? 
 
Regards
 
Korbinian 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Donnerstag, 28. Dezember 2006 17:37
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] wicket-contrib-javaee moved to Wicket-Stuff


lets not forget the important part, assuming the ejb thing works just like
wicket-spring. things injected are actually proxies not beans themselves.
these proxies can be serialized safely - they do not have a hard link to the
underlying ejb bean. if you do not do this and keep a reference to an ejb
bean in wicket components two things can happen: 

a) you get a not serializable exception when wicket/servlet container needs
to serialize something

b) worse, the bean is serializable and you drag it along with the wicket
components into your session ending up with a useless clone 

-igor



On 12/28/06, Filippo Diotalevi [EMAIL PROTECTED] wrote: 

On 12/28/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
 Hi Filippo,

 just browsed through it and its really nice work. Especially if someone 
 wants to have EJB3 persitence but not to use EJB3 Stateless Session Beans
to
 query it.

 However, the thing with the EjbAnnotation looks not so clear to me - i
mean,
 every IDE has J5EE support and so in Neatbeans for example i just need 2 
 mouseclicks and i got my EJB called through a on the fly created call
 (including web.xml ref. update/creation) e.g:

Hi Korbinian,
  yes, you are right, you can create your lookup methods (with your 
IDE or writing the classes), in the same way you can extract beans
from Spring calling applicationContext.get(beanName).

However, I prefer to write less code and let the infrastructure be
responsible of doing all the boring stuff. Since Java EE 5 allows you 
to inject ejb dependencies through the @EJB annotation, I thought it
would be useful to extend this functionality to wicket pages, in the
same way we have @SpringBean annotation for injecting spring beans.

--
  Filippo Diotalevi

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



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


Re: [Wicket-user] wicket-contrib-javaee moved to Wicket-Stuff

2006-12-28 Thread Korbinian Bachl
well, as far as I know, statefull are recreated every JNDI lookup, so you
need to hold a reference to it, as long as you need it - the other is not
supposed to live longer than a single method call
 
I usually use them in a LoadableDataProvider or a LoadableModel, never tried
them direct in Pages - however, in components where they return a small list
of links (under 20).
 
Do you think this is dangerous to do?
 
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Johan
Compagner
Gesendet: Donnerstag, 28. Dezember 2006 18:15
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] wicket-contrib-javaee moved to Wicket-Stuff


So both beans (statefull or stateless) are injected on every request?


On 12/28/06, Korbinian Bachl [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

I believe there you have to differate:
 
a; stateless-sessionbeans: those are only living for 1 method call, then
returned to the EJB-pool, so i dont see here a danger
b, stateful-sessionbeans: those are living over the request and have to be
used in your Wicketsession and referenced there, they never (!) may be used
in a wicket page itself without the wicket session use as they would break
concurrent-user support and create a new bean every pageinstance recreation.
 
Are I'm wrong here? 
 
Regards
 
Korbinian 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Donnerstag, 28. Dezember 2006 17:37
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] wicket-contrib-javaee moved to Wicket-Stuff



lets not forget the important part, assuming the ejb thing works just like
wicket-spring. things injected are actually proxies not beans themselves.
these proxies can be serialized safely - they do not have a hard link to the
underlying ejb bean. if you do not do this and keep a reference to an ejb
bean in wicket components two things can happen: 

a) you get a not serializable exception when wicket/servlet container needs
to serialize something

b) worse, the bean is serializable and you drag it along with the wicket
components into your session ending up with a useless clone 

-igor



On 12/28/06, Filippo Diotalevi [EMAIL PROTECTED] wrote: 

On 12/28/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
 Hi Filippo,

 just browsed through it and its really nice work. Especially if someone 
 wants to have EJB3 persitence but not to use EJB3 Stateless Session Beans
to
 query it.

 However, the thing with the EjbAnnotation looks not so clear to me - i
mean,
 every IDE has J5EE support and so in Neatbeans for example i just need 2 
 mouseclicks and i got my EJB called through a on the fly created call
 (including web.xml ref. update/creation) e.g:

Hi Korbinian,
  yes, you are right, you can create your lookup methods (with your 
IDE or writing the classes), in the same way you can extract beans
from Spring calling applicationContext.get(beanName).

However, I prefer to write less code and let the infrastructure be
responsible of doing all the boring stuff. Since Java EE 5 allows you 
to inject ejb dependencies through the @EJB annotation, I thought it
would be useful to extend this functionality to wicket pages, in the
same way we have @SpringBean annotation for injecting spring beans.

--
  Filippo Diotalevi

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV

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





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

Re: [Wicket-user] wicket-contrib-javaee moved to Wicket-Stuff

2006-12-28 Thread Korbinian Bachl
Can you please tell me how you mean directly referenced ? - and how
indirectly referenced should be? 
 
Thanks in advance


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Donnerstag, 28. Dezember 2006 18:14
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] wicket-contrib-javaee moved to Wicket-Stuff


no, there is no difference

you do not want stateless or stateful beans to be directly referenced by
wicket components, or anything that will end up in httpsession

-igor



On 12/28/06, Korbinian Bachl [EMAIL PROTECTED] wrote: 

I believe there you have to differate:
 
a; stateless-sessionbeans: those are only living for 1 method call, then
returned to the EJB-pool, so i dont see here a danger
b, stateful-sessionbeans: those are living over the request and have to be
used in your Wicketsession and referenced there, they never (!) may be used
in a wicket page itself without the wicket session use as they would break
concurrent-user support and create a new bean every pageinstance recreation.
 
Are I'm wrong here? 
 
Regards
 
Korbinian 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Donnerstag, 28. Dezember 2006 17:37
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] wicket-contrib-javaee moved to Wicket-Stuff



lets not forget the important part, assuming the ejb thing works just like
wicket-spring. things injected are actually proxies not beans themselves.
these proxies can be serialized safely - they do not have a hard link to the
underlying ejb bean. if you do not do this and keep a reference to an ejb
bean in wicket components two things can happen: 

a) you get a not serializable exception when wicket/servlet container needs
to serialize something

b) worse, the bean is serializable and you drag it along with the wicket
components into your session ending up with a useless clone 

-igor



On 12/28/06, Filippo Diotalevi [EMAIL PROTECTED] wrote: 

On 12/28/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
 Hi Filippo,

 just browsed through it and its really nice work. Especially if someone 
 wants to have EJB3 persitence but not to use EJB3 Stateless Session Beans
to
 query it.

 However, the thing with the EjbAnnotation looks not so clear to me - i
mean,
 every IDE has J5EE support and so in Neatbeans for example i just need 2 
 mouseclicks and i got my EJB called through a on the fly created call
 (including web.xml ref. update/creation) e.g:

Hi Korbinian,
  yes, you are right, you can create your lookup methods (with your 
IDE or writing the classes), in the same way you can extract beans
from Spring calling applicationContext.get(beanName).

However, I prefer to write less code and let the infrastructure be
responsible of doing all the boring stuff. Since Java EE 5 allows you 
to inject ejb dependencies through the @EJB annotation, I thought it
would be useful to extend this functionality to wicket pages, in the
same way we have @SpringBean annotation for injecting spring beans.

--
  Filippo Diotalevi

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV

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





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


[Wicket-user] Naviagtion TreeAjax Component

2006-12-26 Thread Korbinian Bachl
Hi,
 
after some busy weeks I finally grabbed some time to continue work on my
wicket project. Im currently in need to have navigation table, tree table
like, component and so i wonderend if anyone knows if there is already a
AjaxFallback version of this available somewhere?
 
(i mean similar to that:
http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=w
icket-1:wicket.examples.ajax.builtin.tree.SimpleTreePage - where a user
klicks, then the node opens, im quite new to this type of navigation and
even after examining the source-code there i didnt understand most of it :(
- any help/ comment would be really appreciated, as i need a tree navigation
structure and would like a ajax one but a fallback for JS out browsers is a
must).
 
Best Regards,
 
Korbinian
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Naviagtion TreeAjax Component

2006-12-26 Thread Korbinian Bachl
 also why does the word navigation keep popping up in your message, what
does this have to do with navigation?

well, its because i need it for this purpose, but youre right - as the
baseproblem has nothing to do with navigation...
 
but to come back, to my problem: if i understand you, you suggest a
TreeTable component, or what else should i use? and does this work with
BookmarkablePageLink also? (im quite new to this if ajax comes into it - i
know we have a AjaxFallback, but its not a bookmarkable, isnt it?)
 
Thank you for Help,
 
Merry Christmas,
 
Korbinian
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Dienstag, 26. Dezember 2006 18:23
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Naviagtion TreeAjax Component


table.setLinkType(LinkType.AJAX_FALLBACK)

also why does the word navigation keep popping up in your message, what
does this have to do with navigation?

-igor



On 12/26/06, Korbinian Bachl [EMAIL PROTECTED] wrote: 

Hi,
 
after some busy weeks I finally grabbed some time to continue work on my
wicket project. Im currently in need to have navigation table, tree table
like, component and so i wonderend if anyone knows if there is already a
AjaxFallback version of this available somewhere?
 
(i mean similar to that:
http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=w
icket-1:wicket.examples.ajax.builtin.tree.SimpleTreePage - where a user
klicks, then the node opens, im quite new to this type of navigation and
even after examining the source-code there i didnt understand most of it :(
- any help/ comment would be really appreciated, as i need a tree navigation
structure and would like a ajax one but a fallback for JS out browsers is a
must).
 
Best Regards,
 
Korbinian

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV

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





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


Re: [Wicket-user] Naviagtion TreeAjax Component

2006-12-26 Thread Korbinian Bachl
using bookmarkable links for this is crazy, remember that bookmarkable
links the treetable generates also have to encapsulate state of any other
component on the page.
 
i know :( - but the thing is, that the fronted of it has to be bookmarkable
at least in the catalog-part... at least i dont have too much stateful
components on that part, so its not that hard 
 
regards
 
Korbinian
 
PS: has Matejs wicket 2.0 hybrid-link proposal already put into 2.0 ? - i
mean i like the idea where at least the static part of the URL gives a part
bookmarkin-capability (e.g: you can bookmark category foo in a shop but not
the ordering by the birthdate of author)
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Dienstag, 26. Dezember 2006 19:41
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Naviagtion TreeAjax Component


well you didnt say you wanted a bookmarkable link, just an ajax fallback. no
ajax fallback links are not bookmarkable, just like most links in wicket are
not.

if you want to make it bookmarkable you will have to roll your own, probably
by overriding DefaultAbstractTree.newLink()

using bookmarkable links for this is crazy, remember that bookmarkable links
the treetable generates also have to encapsulate state of any other
component on the page.

-igor



On 12/26/06, Korbinian Bachl [EMAIL PROTECTED] wrote: 


 also why does the word navigation keep popping up in your message, what
does this have to do with navigation?

well, its because i need it for this purpose, but youre right - as the
baseproblem has nothing to do with navigation...
 
but to come back, to my problem: if i understand you, you suggest a
TreeTable component, or what else should i use? and does this work with
BookmarkablePageLink also? (im quite new to this if ajax comes into it - i
know we have a AjaxFallback, but its not a bookmarkable, isnt it?)
 
Thank you for Help,
 
Merry Christmas,
 
Korbinian
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Dienstag, 26. Dezember 2006 18:23
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Naviagtion TreeAjax Component



table.setLinkType(LinkType.AJAX_FALLBACK)

also why does the word navigation keep popping up in your message, what
does this have to do with navigation?

-igor



On 12/26/06, Korbinian Bachl [EMAIL PROTECTED] wrote: 

Hi,
 
after some busy weeks I finally grabbed some time to continue work on my
wicket project. Im currently in need to have navigation table, tree table
like, component and so i wonderend if anyone knows if there is already a
AjaxFallback version of this available somewhere?
 
(i mean similar to that:
http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=w
icket-1:wicket.examples.ajax.builtin.tree.SimpleTreePage - where a user
klicks, then the node opens, im quite new to this type of navigation and
even after examining the source-code there i didnt understand most of it :(
- any help/ comment would be really appreciated, as i need a tree navigation
structure and would like a ajax one but a fallback for JS out browsers is a
must).
 
Best Regards,
 
Korbinian

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV

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






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV

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





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

Re: [Wicket-user] PagingNavigator (lazy) Session // BUG?

2006-12-13 Thread Korbinian Bachl
Yeah, thats what i thought - so you could have a page and only get a session
if it is really needed... 
 
Regards,
 
Korbinian
  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Johan
Compagner
Gesendet: Mittwoch, 13. Dezember 2006 16:53
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] PagingNavigator  (lazy) Session // BUG?



ahh i get it.
So before the render a page should look if it is statefull or stateless (it
knows that)
And if it is statefull it should directly create the sessie (which will be
done anyway when the page was getting rendered at some point) 

johan



On 12/10/06, Korbinian Bachl [EMAIL PROTECTED] wrote: 

yeah - with session attached i mean that from this point on, you get the
session assigned to the client (URL has sessionId) 
 
BTW: i just tried out the StatelessForm and StatlessLink and found out they
they cant be used with IndexedUrlStrategy, as they dont encode in that case
to path corretly (exception gets thrown by the IndexedUrlStrategy)
 
Korbinian
 


  _  

Von: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Johan
Compagner
Gesendet: Sonntag, 10. Dezember 2006 15:17 

An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] PagingNavigator  (lazy) Session // BUG?



what is a session attached?
You mean the sessionid in the url?

johan



On 12/10/06, Korbinian Bachl   mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: 


So i don't get your story about head/main/footer why are parts of a page
important for statelessness of the page?
 
thats the point i dont understand either - 
 
currently, i would understand if 1 component is statefull, then everything
gets a session, else it wouldnt - but currently in wicket2 it depends if the
component is before or after the session-initializing component to trigger
it... 
 
i mean, if you dig further you even could ask why we need a session if it
might be initialised for 1 component to be swapped out to other components
that dont rely on it
 
to make a example:
 
- page with 2 bookmarkablePageLinks (stateless here) and 1 form (stateful)
 
currently it behaves, that if you put the form in front (html code that
comes out) of the other 2 BookM. you get them with a session attached - if
you put them in front of the form, they have no session, and if you split
you get the behaviour I described before.
 
What i think a nice solution would be to have each component find out if
already a session exists and then look if its new or old and then decided to
use it or not - e.g:
 
a, you enter page /foo
- no need to issue a session, only for the components that need them like
form, link but not for others
(session is only used if it will be needed on the resulting page / action)
b, you enter page /foo;jsession=...
-a session is issued to all components as it has to be transported as it
might held necessary data
 
However, as i dont know how the session is issued by wicket im not sure if
this behaviour could be made.
 
Best Regards,
 
Korbinian
 
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Johan
Compagner
Gesendet: Sonntag, 10. Dezember 2006 14:49
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] PagingNavigator  (lazy) Session // BUG?



If you use links or forms that are not stateless (see StatelessLink and
StatelesForm) any where in the page
the whole page is ofcourse not stateless and a session will be created.

Bookmarkable Links are stateless so a page with only bookmarkable links will
be stateless. 
If that is not the case then this is a bug.

So i don't get your story about head/main/footer why are parts of a page
important for statelessness of the page?

johan



On 12/9/06, Korbinian Bachl [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 

Hi,
 
i posted this underlying text ago, and missed to write in it that i dont use
the default but a BookmarkablePages (with index-strategy) PagingNavigator. I
assuemed that sth. was wrong with this but could now track it down to a
strange wicket behaviour.
 
If you have a page that has following parts:
head
main
foot
 
and put there a bookmarkablepagelink in head and foot, no session is issued.

 
However if you put anything (!) in the middle that needs a session like a
form, usual link or so, then we have following result:
 
head : BookMarkablePageLink with no session issued
main: any Component with session issued
foot:  BookMarkablePageLink with session issued (!) 
 
now the behaviour for the last one seems wrong, as we need no session there
- or is this behaviour wanted that way? Because in that way you cant have
any session-lazy app while using a searchform or any other session using
component... or I'm wrong here?
 
Best Regards
 
Korbinian
 


  _  

Von: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Korbinian
Bachl
Gesendet: Freitag, 8. Dezember 2006 18:13
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user

[Wicket-user] PagingNavigator (lazy) Session

2006-12-08 Thread Korbinian Bachl
Hi,
 
im currently wondering why the PagingNavigator allways issue a session ? (im
on wicket 2.0)
 
I mean if i create a mainpage and link to 2 subpages all is fine and no
session used. If i embed a PagingNavigator into any page a session will be
created on the moment i access that page, however I didnt see any access to
session in the sourceode so far.
 
Why is this behaviour ?
 
Regards
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket Stuff / Wiki

2006-11-24 Thread Korbinian Bachl
Hi,
 
some days ago, Eelco and others had the idea to bring the wicket stuff page
to a wiki, so updates wold be easier. Hwoever, what wiki system should be
used? - I personally are quite new to thse and have only got a small
experience with JOOMLA and Typo3 (4.0) so far.
 
Anyone who knows some? Any good/bad reputations about these?
 
Best Regards
 
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Stuff / Wiki

2006-11-24 Thread Korbinian Bachl
As far as i understood, this is just for organisation, not for the Website
itself.
 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Upayavira
 Gesendet: Freitag, 24. November 2006 15:34
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Wicket Stuff / Wiki
 
 Korbinian Bachl wrote:
  Hi,
   
  some days ago, Eelco and others had the idea to bring the 
 wicket stuff 
  page to a wiki, so updates wold be easier. Hwoever, what 
 wiki system 
  should be used? - I personally are quite new to thse and 
 have only got 
  a small experience with JOOMLA and Typo3 (4.0) so far.
   
  Anyone who knows some? Any good/bad reputations about these?
 
 Erm, hasn't someone already installeg Moin on SourceForge.
 
 A little bit of URL guessing took me to:
 
 http://wicket-stuff.sourceforge.net/cgi-bin/moin.cgi
 
 (Don't know if SF allow rewrite rules in .htaccess files. 
 Would be nice to have one or two in front of this...)
 
 Regards, Upayavira
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys - and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] question about showing components or not

2006-11-24 Thread Korbinian Bachl
Well, if you use a wicket:id in the HTML, then you have to fill it - doing
nothing about it is invalid. So here you could either place an empty text
e.g:
 
if (product.getPhoto() != null) {
add(new Label(product-photo-date,
CommonUtil.getFormattedDate(product.getPhoto().getDateTime(;
add(new Label(product-photo-time,
CommonUtil.getFormattedTime(product.getPhoto().getDateTime(;
}
else
{
 add(new Label(product-photo-date, ));
add(new Label(product-photo-time, ));
}
 
or you make it a subelement of a parent that could be disabled... similar to
the method noted here:
http://cwiki.apache.org/WICKET/forms-with-dynamic-elements.html and here:
http://cwiki.apache.org/WICKET/create-dynamic-markup-hierarchies-using-panel
s.html
 
best Regards
 
 
 
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Francisco
Treacy
Gesendet: Freitag, 24. November 2006 15:30
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] question about showing components or not


Hi wicketers,

I would like to ask you what's the best way to perform the following:
Say I have Products. There are Products that have a Photo and there are
Products that don't.

// Set data to the page
add(new Label(product-description, product.getDescription()));
   
if (product.getPhoto() != null) {
add(new Label(product-photo-date,
CommonUtil.getFormattedDate(product.getPhoto().getDateTime(;
add(new Label(product-photo-time,
CommonUtil.getFormattedTime(product.getPhoto().getDateTime(;
}

In my html i have 

span wicket:id=product-description[product-description]/span
(eventually add something here)
span wicket:id=product-photo-date[product-photo-date]/span
span wicket:id=product-photo-time[product-photo-time]/span
(eventually add something here)

And Wicket will complain if product.getPhoto() is null, of course, cause
product-photo-date and product-photo-time were never added to the page
component.

I really don't see how to avoid this check, or how to solve this elegantly.
Perhaps missing something obvious, hope not :)

And afaik the useComponentUseCheck setting at application level checks the
other way round (if elements declared in java Page are marked-up in html
code). Anyway, I have it set to false.

Thanks in advance, and thanks as well for such a nice web framework,

Francisco


  _  

Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes
sur Yahoo!  http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com
Questions/Réponses.

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


Re: [Wicket-user] SortableDataProvider, size() iterator(int first, int count), Correct execution order?

2006-11-24 Thread Korbinian Bachl
Remember that these things are from the Extensions Framework, meaning they
suite some needs, but not all. The thing they ask the size() first and then
the iterator is, that in a big DB the iterator will already pull the data
while the size() usually would only do a count over it. So you doing this
for speed. If in your special case this doenst work then you have to
implement a own solution, but may use the sources as help. Also remember
that its always a question how you access data (plain JDBC, JDO, JPA etc.)
to have a good solution.

Best Regards


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Frank Silbermann
 Gesendet: Freitag, 24. November 2006 15:25
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] SortableDataProvider, size()  
 iterator(int first,int count), Correct execution order?
 
 About DataTable and SortableDataProvider, I believe the 
 designer's assumptions are that in typical use:
 
 (1) the DataProvider will not cache any data,
 
 (2) each call to iterate() will do a select from the database,
 
 (3) each call to size() will do a select from the database, and
 
 (4) the number of elements in the database will not change 
 between calls (or if the data does change, we don't care that 
 the screen might show inconsistent results as the user pages 
 back and forth).
 
 
 What if we want the pages to show a consistent view, even 
 though the data might change as the user is paging through 
 it?  If the data volume is not too huge, I suppose one could 
 page through a snapshot of the data.  To me, that suggests 
 putting all the data in the webpage and using JavaScript to 
 page through it without resubmitting.  However, 
 Wicket-Extensions provides no widget with this sort of 
 client-side functionality.  Even if we had such a widget, its 
 use would be impractical if the dataset were too huge for a 
 single page download.
 
 What one can do with the current DataTable -- at least if the 
 number of concurrent users is small and the size of the 
 result set is reasonable
 -- is to have the SortableDataProvide retrieve all the data 
 at once and cache it in session storage between pages.  Since 
 we don't know whether
 size() or iterate() will be called first, each will have to 
 check whether the data has already been obtained, and if not 
 then to obtain the data for both methods to use. 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Manuel Barzi
 Sent: Thursday, November 23, 2006 6:25 AM
 To: wicket-user@lists.sourceforge.net
 Subject: [Wicket-user] SortableDataProvider, size()  
 iterator(int first,int count), Correct execution order?
 
 Hi, there,
 
 I have the following composition:
 
 WebPage ...
 
 ... DataView  CustomProvider extends SortableDataProvider
 
 ... PagingNavigator  DataView
 
 The ERROR? I found is this:
 
 When clicking on any of the navigation buttons 
 (PagingNavigator), my CustomProvider implementation is 
 managed by Wicket FW calling its implemented (abstract in 
 SortableDataProvider) in the following order:
 
 1 size()
 2 iterator(int first, int count)
 
 That causes wrong results, because it calls first the size() 
 to check the results obtained when I havent called the 
 iterator(...) yet, and inside my implementation of 
 iterator(int first, int count) I obviously do the call to the 
 API that accesses to my persistent layer obtaining the 
 results according to the specified (first, count) pair...
 
 So, what happens in practice... that when navigating the 
 size() method retrieves the before obtained iterator.size(), 
 and not the new one that will be obtained immediatly after 
 it, when calling to iterator(...).
 
 So, if the order was this:
 
 1 iterator(...)
 2 size()
 
 The problem would be solved...
 
 Please, would you mind explaining my how to resolve this issue?
 
 Thank you!
 
 M
 
 --
 --
 -
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys - and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDE
 V
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys - and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 



Re: [Wicket-user] Tapestry 5 instantaneous reloads

2006-11-22 Thread Korbinian Bachl

Again and again.
What would do if you open the start.html page in two browsers windows?  

thats the wrong question! - the question would be: what behaviour would the
enduser expect when he uses 2 browserwindows/tabs for 1 website?

I found out that most enduser just do this, to keep a site as a way to note
or remind things - if they do this and e.g. put sth. in a cart they expect
to have both carts (in the browsers) identical... meaning the bahavior the
big ones (amazon  co) have.

Ragards


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


Re: [Wicket-user] Tapestry 5 instantaneous reloads

2006-11-22 Thread Korbinian Bachl
 But if you have a tabbed panel in a page, you want to have 
 one tab opened in one window and another tab opened in second 
 window. That's what users require. At least my users do 
 require that. And that's also what I expect from a web application.

this is the point i mean - ive never seen people using 2 browserwindows/
tabs at same time... they just open and forgot it or come back later to
it...  

 If you want to have singleton pages, go ahead, nothing 
 prevents you from that. Just do your own PageFactory class 
 that pools pages (session
 relative) and then always redirect to bookmarkable/mounted 
 URL. You'll get the same behavior tapestry seems to have.

oh, im satisfied wiht the wicket mode in 95% :) I mean it usually doenst
depend on the developer but on the customer what the behavior will be...

Regards


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Matej Knopp
 Gesendet: Mittwoch, 22. November 2006 16:36
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Tapestry 5 instantaneous reloads
 
 But this is something completely different. Cart is shared 
 between pages, usually stored in session. Cart is not 
 specific for every pages.
 
 But if you have a tabbed panel in a page, you want to have 
 one tab opened in one window and another tab opened in second 
 window. That's what users require. At least my users do 
 require that. And that's also what I expect from a web application.
 
 If you want to have singleton pages, go ahead, nothing 
 prevents you from that. Just do your own PageFactory class 
 that pools pages (session
 relative) and then always redirect to bookmarkable/mounted 
 URL. You'll get the same behavior tapestry seems to have.
 
 -Matej
 
 Korbinian Bachl wrote:
  Again and again.
  What would do if you open the start.html page in two 
 browsers windows?  
  
  thats the wrong question! - the question would be: what behaviour 
  would the enduser expect when he uses 2 browserwindows/tabs 
 for 1 website?
  
  I found out that most enduser just do this, to keep a site 
 as a way to 
  note or remind things - if they do this and e.g. put sth. in a cart 
  they expect to have both carts (in the browsers) 
 identical... meaning 
  the bahavior the big ones (amazon  co) have.
  
  Ragards
  
  
  
 --
  --- Take Surveys. Earn Cash. Influence the Future of IT Join 
  SourceForge.net's Techsay panel and you'll get the chance to share 
  your opinions on IT  business topics through brief surveys 
 - and earn 
  cash 
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEV
  DEV ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys - and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Tapestry 5 instantaneous reloads

2006-11-22 Thread Korbinian Bachl
emm - thats what i wrote... you dont use them equally, but use one and come
back then... the current way allows to change the browser windows or even
use them equally - but thats nothing a human does, as he usually uses it as
a bokmark, note, info or sth. like that
 
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Igor
Vaynberg
Gesendet: Mittwoch, 22. November 2006 17:22
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Tapestry 5 instantaneous reloads


i do it all the time. i am at some point in a webapp, i rightclick on a link
do open in a new window and work in the new window. then when im done i
close the new window and continue working in the new one.

so for me opening a new tab is like keeping a bookmark in the app. 

-igor



On 11/22/06, Korbinian Bachl [EMAIL PROTECTED] wrote: 

 But if you have a tabbed panel in a page, you want to have
 one tab opened in one window and another tab opened in second
 window. That's what users require. At least my users do
 require that. And that's also what I expect from a web application. 

this is the point i mean - ive never seen people using 2 browserwindows/
tabs at same time... they just open and forgot it or come back later to
it...

 If you want to have singleton pages, go ahead, nothing 
 prevents you from that. Just do your own PageFactory class
 that pools pages (session
 relative) and then always redirect to bookmarkable/mounted
 URL. You'll get the same behavior tapestry seems to have. 

oh, im satisfied wiht the wicket mode in 95% :) I mean it usually doenst
depend on the developer but on the customer what the behavior will be...

Regards


 -Ursprüngliche Nachricht- 
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ] Im Auftrag
 von Matej Knopp
 Gesendet: Mittwoch, 22. November 2006 16:36
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Tapestry 5 instantaneous reloads 

 But this is something completely different. Cart is shared
 between pages, usually stored in session. Cart is not
 specific for every pages.

 But if you have a tabbed panel in a page, you want to have 
 one tab opened in one window and another tab opened in second
 window. That's what users require. At least my users do
 require that. And that's also what I expect from a web application.

 If you want to have singleton pages, go ahead, nothing
 prevents you from that. Just do your own PageFactory class
 that pools pages (session
 relative) and then always redirect to bookmarkable/mounted 
 URL. You'll get the same behavior tapestry seems to have.

 -Matej

 Korbinian Bachl wrote:
  Again and again.
  What would do if you open the start.html page in two 
 browsers windows?
 
  thats the wrong question! - the question would be: what behaviour
  would the enduser expect when he uses 2 browserwindows/tabs
 for 1 website?
  
  I found out that most enduser just do this, to keep a site
 as a way to
  note or remind things - if they do this and e.g. put sth. in a cart
  they expect to have both carts (in the browsers) 
 identical... meaning
  the bahavior the big ones (amazon  co) have.
 
  Ragards
 
 
 
 -- 
  --- Take Surveys. Earn Cash. Influence the Future of IT Join
  SourceForge.net's Techsay panel and you'll get the chance to share
  your opinions on IT  business topics through brief surveys 
 - and earn
  cash
 
 http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEV
p=sourceforgeCID=DEV 
  DEV ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
p=sourceforgeCID=DEVDEV 
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net

Re: [Wicket-user] Wicket-Stuff WicketStuffToDo page created

2006-11-22 Thread Korbinian Bachl
I havent been lazy, too.
 
I just fixed the mailing-list page on
http://wicket-stuff.sourceforge.net/mail-lists.html - it wasnt there before,
i created it from that, what was in the OLD dir - hope this is now ok.
 
Best regards
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von James
McLaughlin
Gesendet: Mittwoch, 22. November 2006 17:32
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] Wicket-Stuff WicketStuffToDo page created


I've created a Todo wiki page

http://wicket-stuff.sourceforge.net/cgi-bin/moin.cgi/WicketStuffToDo

Please add general wicket-stuff todo stuff here (not project specific).
Also, if someone wants to take a task, maybe they can put their name next to
it. 

I have a couple of questions, too.

Is wicket hosting or going to host its own maven repository? If so, could we
add the wicket-stuff projects to it?

Should wicket-stuff projects match the version numbering of the wicket
releases they depend on? 

Is it alright to restrict write access to the wiki to project maintainers
and admins?


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


Re: [Wicket-user] Wicket-Stuff WicketStuffToDo page created

2006-11-22 Thread Korbinian Bachl
hmm - no it wont, as the page didnt exist before :) but was linked to...


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Martijn Dashorst
 Gesendet: Mittwoch, 22. November 2006 17:43
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Wicket-Stuff WicketStuffToDo page created
 
 Which is not a wise thing to do. The site is generated from 
 the wicket-stuff main project using maven. So your change 
 will be overwritten the next time it is generated.
 
 Martijn
 
 On 11/22/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
 
 
  I havent been lazy, too.
 
  I just fixed the mailing-list page on
  http://wicket-stuff.sourceforge.net/mail-lists.html - it 
 wasnt there 
  before, i created it from that, what was in the OLD dir - 
 hope this is 
  now ok.
 
  Best regards
 
 
 
   
   Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Im Auftrag von 
  James McLaughlin
  Gesendet: Mittwoch, 22. November 2006 17:32
  An: wicket-user@lists.sourceforge.net
  Betreff: [Wicket-user] Wicket-Stuff WicketStuffToDo page created
 
 
  I've created a Todo wiki page
 
  http://wicket-stuff.sourceforge.net/cgi-bin/moin.cgi/WicketStuffToDo
 
  Please add general wicket-stuff todo stuff here (not 
 project specific).
  Also, if someone wants to take a task, maybe they can put 
 their name 
  next to it.
 
  I have a couple of questions, too.
 
  Is wicket hosting or going to host its own maven repository? If so, 
  could we add the wicket-stuff projects to it?
 
  Should wicket-stuff projects match the version numbering of 
 the wicket 
  releases they depend on?
 
  Is it alright to restrict write access to the wiki to project 
  maintainers and admins?
 
  
 --
  --- Take Surveys. Earn Cash. Influence the Future of IT Join 
  SourceForge.net's Techsay panel and you'll get the chance to share 
  your opinions on IT  business topics through brief surveys 
 - and earn 
  cash 
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEV
  DEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 
 --
 a 
 href=http://www.thebeststuffintheworld.com/vote_for/wicket;Vote/a
 for a 
 href=http://www.thebeststuffintheworld.com/stuff/wicket;Wicket/a
 at the a href=http://www.thebeststuffintheworld.com/;Best 
 Stuff in the World!/a
 
 --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to 
 share your opinions on IT  business topics through brief 
 surveys - and earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforge
CID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] who wants to be in charge ofdoingwicket-stuffreleases

2006-11-21 Thread Korbinian Bachl
im in GMT + 1 - and really need sleep now :)
 
@maciej: when i look at your email, youre from germany, too? aren't you?
 
as long as i now have we are 4:
James McLaughlin (jim)
? Maciej 
Filippo Diotalevi 
and me
 
seems a good base :)
 
best Regards 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von James
McLaughlin
Gesendet: Dienstag, 21. November 2006 18:56
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] who wants to be in charge
ofdoingwicket-stuffreleases


Great. Eelco, my sf id is jimmclaughlin. Korbinian, i'm in GMT-6, which I am
guessing is about 7 - 8 hours behind you. Should we keep this conversation
on the list, or take it off.

jim


On 11/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 

My sourceforge id is printx. Would it te possible to join this project as
small
scale contributor ?

Maciej

 -Ursprüngliche Nachricht-
 Von: wicket-user@lists.sourceforge.net
 Gesendet: 21.11.06 18:30:30
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] who wants to be in charge of
doingwicket-stuffreleases 


 If you give me the sourceforge ids you want to use for this, I'll be
 happy to add you guys.

 Eelco


 On 11/21/06, Korbinian Bachl   mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 
 
  Hi Jim,
 
  sounds good - what time zone you are in?
 
  Regards
 
 
    
   Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ] Im
  Auftrag von James McLaughlin
  Gesendet: Dienstag, 21. November 2006 01:14
  An: wicket-user@lists.sourceforge.net
  Betreff: Re: [Wicket-user] who wants to be in charge of 
  doingwicket-stuffreleases
 
 
  Hi Korbinian,
  I'm a bit time constrained also, but if you take the lead I will help
you
  out.
 
  jim 
 
 
  On 11/20/06, Martijn Dashorst  [EMAIL PROTECTED] wrote:
   Just a reminder, the wicket-contrib-datepicker project has a maven 2 
   pom, site and assembly descriptor which can be used as an example for
   rolling your own releases.
  
   Martijn
  
   On 11/20/06, Korbinian Bachl  [EMAIL PROTECTED]  wrote:
I can help you if you like. However, as my time is also limited i
would
appreciate it if a 2nd person would join me on that. 
   
Best regards,
   
Korbinian
   
   
 -Ursprüngliche Nachricht- 
 Von: [EMAIL PROTECTED]
 [mailto: [EMAIL PROTECTED]
  Im Auftrag
 von Eelco Hillenius
 Gesendet: Sonntag, 19. November 2006 20:41
 An: Wicket User List 
 Betreff: [Wicket-user] who wants to be in charge of doing
 wicket-stuffreleases

 Is there anyone who likes to volunteer for doing releases of 
 some of the wicket-stuff projects? We (the core team) just
 can't find enough time for it, and furthermore, we want to
 keep focussed on the core project instead. 

 The projects do not need a lot of releasing, though most
 projects in there could use a release right now. The release
 manager for wicket-stuff would basically ensure that version 
 numbers are upped when projects are changed and that - if
 they are changed - a release is made every once in a while.
 He/ she can of course delegate creating the actual release to 
 the 'owners' of particular projects. Another task of the
 release manager is to put out a notice (e.g. on this list
 and/ or on a blog) that a new release is done. And finally 
 he/ she might do some work on the wicket-stuff web site.

 Any takers?

 Eelco
 

  --
 ---
 Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to
 share your opinions on IT  business topics through brief
 surveys - and earn cash 

  http://www.techsay.com/default.php?page=join.php
http://www.techsay.com/default.php?page=join.phpp=sourceforge
p=sourceforge
CID=DEVDEV 
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net 

  https://lists.sourceforge.net/lists/listinfo/wicket-user


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

Re: [Wicket-user] Tapestry 5 instantaneous reloads

2006-11-21 Thread Korbinian Bachl
well, you should ask howard lewis-ship about the first one,

the 2nd one lies in the way it works - tapestry manages everything while
wicket doesnt

the downside is more work to make a component compared to wicket, the upside
are goodies like easier URLs... 

and even in tapestry a real-nice URL is some work to do - not as hasrd as to
implement your own URL strategy in wicket but its not for free either...

regards
 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von cowwoc
 Gesendet: Dienstag, 21. November 2006 22:59
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] Tapestry 5 instantaneous reloads
 
 
   Two questions about:
 http://howardlewisship.com/blog/2006/10/tapestry-5-screencast-2.html
 
 1) How did they get instantaneous page reloads working?
 2) How did they get their URLs to remain nice even though 
 the underlying state is changing?
 
   and what is the implications for Wicket? I suspect you 
 guys have seen this before. Can you please comment on why 
 Wicket does not do something similar? Is it something to do 
 with the amount of client-side state they use?
 
 Thanks,
 Gili
 
 


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


Re: [Wicket-user] Posting Data from a Non wicket Form to Wicket

2006-11-17 Thread Korbinian Bachl
if you trap them like that ?param1=value1param2=value2 ... you can get them
by using PageParameter in your constructor
 
e.g:
class foo{
 
foo(PageParameters param){
 
String value1 = param.getString(param1);

 
}
 
}
 
regards
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Ayodeji
Aladejebi
Gesendet: Freitag, 17. November 2006 21:22
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] Posting Data from a Non wicket Form to Wicket



What will be the nicest way to do this in wicket if youhave to recieve from
an external form
 
Well i tried using the a mounted Wicket Link as form target but am still
misplacd as to how to trap parameters in the form
param1=value1param2=value2
 
Any tip
 

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


Re: [Wicket-user] Wizard StaticContentStep and CompoundPropertyModel

2006-11-10 Thread Korbinian Bachl
You need to create a Label in the constructor of the given part that passes
the information to it.

e.g:
add(new Label(userModel.userName, userModel.getUserName));

BTW: you can change the Labelname to whatever you want as its not associated
with the content behind it.
e.g:
add(new Label(username, userModel.getUserName));
span wicket:id=username[userName]/span

please also note that youre current solution is not (!) for use with more
than 1 user since you need to use a session for that or make sure you repass
the user-model each time, wich is not a good solution either...  


Regards

Korbinian

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von [EMAIL PROTECTED]
 Gesendet: Freitag, 10. November 2006 11:13
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] Wizard StaticContentStep and 
 CompoundPropertyModel
 
 Hello all !
 
 I would like to add a CompoundPropertyModel as wizard static 
 page. I have done so far:
 
 public class StepX extends StaticContentStep {
   
   /**
* Constructor.
* 
* @param userModel
*/
   public StepX(UserModel userModel)
   {
   super(true);
   
   IModel model = new Model(userModel);
   setTitleModel(new ResourceModel(confirmation.title));
   setSummaryModel(new 
 StringResourceModel(confirmation.summary, this, model));
   
   setContentModel(new CompoundPropertyModel(userModel));
   
   }
 }
 
 My UserModel look like this:
 
 public class UserModel implements Serializable {
 
 private String userName;
 
   public final String getUserName() {
   return this.userName;
   }
 
   public final void setUserName(String userName) {
   this.userName = userName;
   }
 
 }
 
 
 How can I simply output the username property collected in a 
 previous step? I tried the following code:
 
   wicket:panel
   table
   tr
   td
   span 
 wicket:id=userModel.userName[userName]/span
   /td
   /tr
   /table
   /wicket:panel
 
 
 ... but wicket gives me the following error message:
 
 unable to find component with id 'userModel.userName'. This 
 means that you declared wicket:id=userModel.userName in your 
 markup, but that you either did not add the component to your 
 page at all, or that the hierarchy does not match. 
 
 Has anyone a solution for this? 
 
 Thank you very much,
 
 Maciej
 
 --
 ---
 Using Tomcat but need to do more? Need to support web 
 services, security?
 Get stuff done quickly with pre-integrated technology to make 
 your job easier Download IBM WebSphere Application Server 
 v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Problem in generation of the html code of the page

2006-11-10 Thread Korbinian Bachl
What version of Wicket do you use?

Regards

Korbinian
 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Alberto Bueno
 Gesendet: Freitag, 10. November 2006 10:35
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] Problem in generation of the html code 
 of the page
 
 When I create a page, and this page generate this html code:
 
 script type=text/javascript 
 !--/*--![CDATA[/*!--*/ if (window.name=='') { 
 window.location=/quickstart/app?wicket:interface=:1::INewBrow
serWindowListener; } /*--]]*//script
 
 
 Now, I add a button in the page (a very simple page):
 
 public class Index extends QuickStartPage {
 public Index(final PageParameters parameters)
 {
 
 Form form = new Form(this, form);
 new Button(form, button){
 
 @Override
 public void onSubmit()
 {
 // TODO Auto-generated method stub
 String p = ;
 }

 };
 }
 }
 
 And when I click the button, in the generation of the page I 
 have the code duplicated:
 
 script type=text/javascript 
 !--/*--![CDATA[/*!--*/ if (window.name=='') { 
 window.location=/quickstart/app?wicket:interface=:1::INewBrow
serWindowListener; } /*--]]*//script
 
 
 script type=text/javascript 
 !--/*--![CDATA[/*!--*/ if (window.name=='') { 
 window.location=/quickstart/app?wicket:interface=:1::INewBrow
serWindowListener; } /*--]]*//script
 
 
 And if I continue clicking the button, the page continue 
 duplicating the code...
 
 If problem of my application?
 
 --
 ---
 Using Tomcat but need to do more? Need to support web 
 services, security?
 Get stuff done quickly with pre-integrated technology to make 
 your job easier Download IBM WebSphere Application Server 
 v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Problem in generation of the html code of the page

2006-11-10 Thread Korbinian Bachl
2.0 ?
or
1.x ?
(sorry, dont know whats in Trunk at the moment you got it)

you might want to use wicket 1.2.3 as this hasnt the behaviour so far... 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Alberto Bueno
 Gesendet: Freitag, 10. November 2006 11:55
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Problem in generation of the html 
 code of the page
 
 The trunk
 
  What version of Wicket do you use?
 
  Regards
 
  Korbinian
   
 

  -Ursprüngliche Nachricht-
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Im Auftrag von 
  Alberto Bueno
  Gesendet: Freitag, 10. November 2006 10:35
  An: wicket-user@lists.sourceforge.net
  Betreff: [Wicket-user] Problem in generation of the html 
 code of the 
  page
 
  When I create a page, and this page generate this html code:
 
  script type=text/javascript 
  
  !--/*--![CDATA[/*!--*/ if (window.name=='') {

  window.location=/quickstart/app?wicket:interface=:1::INewBrow
  
  serWindowListener; } /*--]]*//script

  Now, I add a button in the page (a very simple page):
 
  public class Index extends QuickStartPage {
  public Index(final PageParameters parameters)
  {
 
  Form form = new Form(this, form);
  new Button(form, button){
 
  @Override
  public void onSubmit()
  {
  // TODO Auto-generated method stub
  String p = ;
  }
 
  };
  }
  }
 
  And when I click the button, in the generation of the page 
 I have the 
  code duplicated:
 
  script type=text/javascript 
  
  !--/*--![CDATA[/*!--*/ if (window.name=='') {

  window.location=/quickstart/app?wicket:interface=:1::INewBrow
  
  serWindowListener; } /*--]]*//script

  script type=text/javascript 
  
  !--/*--![CDATA[/*!--*/ if (window.name=='') {

  window.location=/quickstart/app?wicket:interface=:1::INewBrow
  
  serWindowListener; } /*--]]*//script

  And if I continue clicking the button, the page continue 
 duplicating 
  the code...
 
  If problem of my application?
 
  --
  ---
  Using Tomcat but need to do more? Need to support web services, 
  security?
  Get stuff done quickly with pre-integrated technology to make your 
  job easier Download IBM WebSphere Application Server
  v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
  
  dat=121642

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

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


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


Re: [Wicket-user] Problem in generation of the html code of the page

2006-11-10 Thread Korbinian Bachl



I cant notice this behaviour with wicket 1.2.3 so far - 
under 1.2.2 i have cases where the JS part misses, not so more under 
1.2.3...


  
  
  Von: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von Igor 
  VaynbergGesendet: Freitag, 10. November 2006 17:57An: 
  wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] Problem 
  in generation of the html code of the page
  add a bug into jira with your quickstart-igor
  On 11/10/06, Korbinian 
  Bachl [EMAIL PROTECTED]  
  wrote:
  2.0 
?or1.x ?(sorry, dont know whats in Trunk at the moment you got 
it) you might want to use wicket 1.2.3 as this hasnt the behaviour 
so far... -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] 
Im Auftrag von Alberto Bueno Gesendet: Freitag, 10. November 
2006 11:55 An: wicket-user@lists.sourceforge.net 
Betreff: Re: [Wicket-user] Problem in generation of the html code of 
the page The trunk  What version of 
Wicket do you use?Regards  
 Korbinian 
-Ursprüngliche Nachricht-  Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] 
Im Auftrag von  Alberto Bueno   Gesendet: 
Freitag, 10. November 2006 10:35  An: wicket-user@lists.sourceforge.net 
 Betreff: [Wicket-user] Problem in generation of the html  
code of the  page   When I 
create a page, and this page generate this html code: 
  script 
type="text/_javascript_"   
!--/*--![CDATA[/*!--*/ if (window.name=='') { 
  
window.location="/quickstart/app?wicket:interface=:1::INewBrow 
   serWindowListener"; } 
/*--]]*//script   Now, I add a 
button in the page (a very simple page):   
public class Index extends QuickStartPage {  
 public Index(final PageParameters 
parameters)  { 
  
Form form = new Form(this, "form"); 
 new Button(form, 
"button"){   
 
@Override 
 
public void onSubmit() 
 
{ 
 
// TODO Auto-generated method stub 
 
String p = "";  
 
}  
 }; 
 }  } 
  And when I click the button, in the generation of 
the page I have the   code duplicated: 
  script 
type="text/_javascript_"   
!--/*--![CDATA[/*!--*/ if (window.name=='') { 
  
window.location="/quickstart/app?wicket:interface=:1::INewBrow 
  serWindowListener"; } 
/*--]]*//script  
 script type="text/_javascript_"  
  !--/*--![CDATA[/*!--*/ if 
(window.name=='') {   
window.location="/quickstart/app?wicket:interface=:1::INewBrow 
   serWindowListener"; } 
/*--]]*//script   And if I 
continue clicking the button, the page continue duplicating 
 the code...If problem of my 
application?   
-- 
 ---  Using Tomcat but need to do more? Need 
to support web services,   security?  Get 
stuff done quickly with pre-integrated technology to make your 
 job easier Download IBM WebSphere Application Server 
 v.1.0.1 based on Apache Geronimo   http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057 
  dat=121642
___  Wicket-user 
mailing list  Wicket-user@lists.sourceforge.net 
  https://lists.sourceforge.net/lists/listinfo/wicket-user 
  
-- 
 --- Using Tomcat but need to do more? Need to support web 
services,  security?  Get stuff done quickly with 
pre-integrated technology to  make your job  easier 
Download IBM WebSphere Application Server v.1.0.1 based on  
Apache Geronimo  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=1216 
 42 ___  
Wicket-user mailing list  Wicket-user@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/wicket-user 
 
--  
--- Using Tomcat but need to do more? Need to support 
web services, security? Get stuff done quickly with 
pre-integrated technology to make your job easier Download IBM 
WebSphere Application Server  v.1.0.1 based on Apache 
Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 
 ___ Wicket-user 
mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user-Using 
Tomcat but need to do more? Need to support web services, security? Get 
stuff done quickly with pre-integrated technology to make your job 
easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimohttp://sel.as-us.falkag.net/sel?

Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Korbinian Bachl
Bad idea - some ISPs and proxys would be locked out... cachapta would be
solution of choice here.

Regards

Korbinian

 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Johannes Fahrenkrug
 Gesendet: Montag, 6. November 2006 14:01
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] Prevent Brute Force and the like
 
 Hi!
 
 I'd like to prevent brute force attacks on the login page of 
 my wicket application. What would be the best approach? This 
 is what I'm thinking about doing: Record when the last 
 request for the loginpage from a certain IP came in and only 
 handle the request when at least a second or two have passed.
 This would have to be done application wide because when an 
 attacker uses a tool like cURL a new session is created with 
 each request.
 
 So what would you guys suggest?
 
 - Johannes
 
 --
 ---
 Using Tomcat but need to do more? Need to support web 
 services, security?
 Get stuff done quickly with pre-integrated technology to make 
 your job easier Download IBM WebSphere Application Server 
 v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Korbinian Bachl
emm.. yes i meant captcha - look here for a working wicket example as well
as source-code:

http://www.steinhoefel.de/spots.htm 

as this is a base point of security, it should be maintained by the
webapp...

Regards


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Pierre-Yves Saumont
 Gesendet: Montag, 6. November 2006 15:56
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Prevent Brute Force and the like
 
   Could you please explain cachapta / provide a link to an article?
 
 I suppose he means captcha. You should find this one on google ;-)
 
 Pierre-Yves
 
 Johannes Fahrenkrug a écrit :
  Korbinian,
  
  I'm sorry if I wasn't clear: I didn't plan on blocking anymore 
  permanently, just add one second delays if some IP was 
 flooding me 
  to render brute force attacks useless and impractical.
  
  Could you please explain cachapta / provide a link to an article?
  
  Regards,
  
  Johannes
  
  Korbinian Bachl wrote:
  
  Bad idea - some ISPs and proxys would be locked out... 
 cachapta would 
  be solution of choice here.
 
  Regards
 
  Korbinian
 
 
 
   
 
  -Ursprüngliche Nachricht-
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Im Auftrag von 
  Johannes Fahrenkrug
  Gesendet: Montag, 6. November 2006 14:01
  An: wicket-user@lists.sourceforge.net
  Betreff: [Wicket-user] Prevent Brute Force and the like
 
  Hi!
 
  I'd like to prevent brute force attacks on the login page of my 
  wicket application. What would be the best approach? This is what 
  I'm thinking about doing: Record when the last request for the 
  loginpage from a certain IP came in and only handle the 
 request when 
  at least a second or two have passed.
  This would have to be done application wide because when 
 an attacker 
  uses a tool like cURL a new session is created with each request.
 
  So what would you guys suggest?
 
  - Johannes
 
  --
  ---
  Using Tomcat but need to do more? Need to support web services, 
  security?
  Get stuff done quickly with pre-integrated technology to 
 make your 
  job easier Download IBM WebSphere Application Server
  v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
 
 
  dat=121642
   
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
  
 -
   Using Tomcat but need to do more? Need to support web 
 services, 
  security?
  Get stuff done quickly with pre-integrated technology to make your 
  job easier Download IBM WebSphere Application Server 
 v.1.0.1 based on 
  Apache Geronimo
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121
  642 ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
   
 
  
  
  
 --
  --- Using Tomcat but need to do more? Need to support web services, 
  security?
  Get stuff done quickly with pre-integrated technology to 
 make your job 
  easier Download IBM WebSphere Application Server v.1.0.1 based on 
  Apache Geronimo
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=1216
  42 ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 
 --
 ---
 Using Tomcat but need to do more? Need to support web 
 services, security?
 Get stuff done quickly with pre-integrated technology to make 
 your job easier Download IBM WebSphere Application Server 
 v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Prevent Brute Force and the like

2006-11-06 Thread Korbinian Bachl
heck - wrong link from another posting... sorry:
http://www.wicket-library.com/wicket-examples/captcha

(the other one is of a story here:
http://www.heise.de/newsticker/meldung/80580 - in german only)

Regards
 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Korbinian Bachl
 Gesendet: Montag, 6. November 2006 16:20
 An: [EMAIL PROTECTED]; wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Prevent Brute Force and the like
 
 emm.. yes i meant captcha - look here for a working wicket 
 example as well as source-code:
 
 http://www.steinhoefel.de/spots.htm 
 
 as this is a base point of security, it should be maintained 
 by the webapp...
 
 Regards
 
 
  -Ursprüngliche Nachricht-
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Im Auftrag von 
  Pierre-Yves Saumont
  Gesendet: Montag, 6. November 2006 15:56
  An: wicket-user@lists.sourceforge.net
  Betreff: Re: [Wicket-user] Prevent Brute Force and the like
  
Could you please explain cachapta / provide a link to 
 an article?
  
  I suppose he means captcha. You should find this one on google ;-)
  
  Pierre-Yves
  
  Johannes Fahrenkrug a écrit :
   Korbinian,
   
   I'm sorry if I wasn't clear: I didn't plan on blocking anymore 
   permanently, just add one second delays if some IP was
  flooding me
   to render brute force attacks useless and impractical.
   
   Could you please explain cachapta / provide a link to 
 an article?
   
   Regards,
   
   Johannes
   
   Korbinian Bachl wrote:
   
   Bad idea - some ISPs and proxys would be locked out... 
  cachapta would
   be solution of choice here.
  
   Regards
  
   Korbinian
  
  
  

  
   -Ursprüngliche Nachricht-
   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Im 
 Auftrag von 
   Johannes Fahrenkrug
   Gesendet: Montag, 6. November 2006 14:01
   An: wicket-user@lists.sourceforge.net
   Betreff: [Wicket-user] Prevent Brute Force and the like
  
   Hi!
  
   I'd like to prevent brute force attacks on the login page of my 
   wicket application. What would be the best approach? 
 This is what 
   I'm thinking about doing: Record when the last request for the 
   loginpage from a certain IP came in and only handle the
  request when
   at least a second or two have passed.
   This would have to be done application wide because when
  an attacker
   uses a tool like cURL a new session is created with 
 each request.
  
   So what would you guys suggest?
  
   - Johannes
  
   --
   ---
   Using Tomcat but need to do more? Need to support web services, 
   security?
   Get stuff done quickly with pre-integrated technology to
  make your
   job easier Download IBM WebSphere Application Server
   v.1.0.1 based on Apache Geronimo
   http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
  
  
   dat=121642

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

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

[Wicket-user] Global, Thread specific Property

2006-11-03 Thread Korbinian Bachl
Hi,
 
i've got a problem and i dont know how to solve it. I work with
PageParameters and the thing that i allways have to pull them around makes
me sad. Is there a way how i can have a global object holding the current
PageParameters that can be accessed without passing in the PageParameters
into a constructor?
 
e.g: not matter where i want to access
GlobalThreadSpecificObject.getParam(foo) - i can call it on any component
or in any page... ?
 
The reason is that i use IndexedPageParams and have panels that are
dependent on a specific param value and also need a flexible way to change
the number, the params are hanging on as the number of preceeding
PageParameters can change later on 

Best Regards,

Korbinian



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


Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Korbinian Bachl
Hi Roland,

well, yes I could do that. The trick that i want to do is not to have any
session involved, as with wicket 2.0 lazy session behaviour exists, and i
dont want to create a session.

I fact this would be a create once per pageRequest object that can be dumped
when the page is rendered - 

a friend suggested me that i could use WebApplication sublass with the
property + corresponding getter/setter - but i dont know if this leads to
concurrency issues? e.g: 2 visitors accessing same time it might be
problematic?

Igor, do you know if this would work ? 

Best Regards,

Korbinian


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Roland Kaercher
 Gesendet: Freitag, 3. November 2006 14:42
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Global, Thread specific Property
 
 Hi Korbinian,
 
 if I understand your Problem correctly then you could use a 
 custom subclass of WebSession for that purpose.
 
 roland
 
 On 11/3/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
  Hi,
 
  i've got a problem and i dont know how to solve it. I work with 
  PageParameters and the thing that i allways have to pull 
 them around 
  makes me sad. Is there a way how i can have a global object holding 
  the current PageParameters that can be accessed without 
 passing in the 
  PageParameters into a constructor?
 
  e.g: not matter where i want to access
  GlobalThreadSpecificObject.getParam(foo) - i can call it on any 
  component or in any page... ?
 
  The reason is that i use IndexedPageParams and have panels that are 
  dependent on a specific param value and also need a flexible way to 
  change the number, the params are hanging on as the number of 
  preceeding PageParameters can change later on
 
  Best Regards,
 
  Korbinian
 
 
 
  
 --
  --- Using Tomcat but need to do more? Need to support web services, 
  security?
  Get stuff done quickly with pre-integrated technology to 
 make your job 
  easier Download IBM WebSphere Application Server v.1.0.1 based on 
  Apache Geronimo
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=1216
  42 ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 --
 ---
 Using Tomcat but need to do more? Need to support web 
 services, security?
 Get stuff done quickly with pre-integrated technology to make 
 your job easier Download IBM WebSphere Application Server 
 v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Korbinian Bachl



Hi Johan,

thank you. The idea behind this is to have a 100% 
configurable URL paradigm. I know i can get it via the request cycle, but my 
idea is following:

i globally want to configure a URL paradigm like 
that:

/preParam1/.../preParamN/PageName/PageParam1/.../PageParamN

where preParams are Mandatory, Sitewide needed values and 
PageName is a targetResolving value and Params are the coresponding params that 
are used only for the page...

so you could use it for a 2 language site e.g: /en/Page and 
/fr/Page but also if you need to store N different params configuring the page 
e.g: /en/US/Page - and then allow the page to have non-mandatory params also 
- e.g: /en/Page/Content/20 

I hope this makes it clear what i have in mind - 


Best regards,

Korbinian




  
  
  Von: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von Johan 
  CompagnerGesendet: Freitag, 3. November 2006 17:44An: 
  wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] Global, 
  Thread specific Property
  First of all why are you using so many pageparams?Is it that 
  you have to push state to the browser 
  constantly?RequestCycle.get().getRequest().getRequestParameters().getParameters()johan
  On 11/3/06, Korbinian 
  Bachl [EMAIL PROTECTED] 
  wrote:
  Hi,i've 
got a problem and i dont know how to solve it. I work withPageParameters 
and the thing that i allways have to pull them around makesme sad. Is 
there a way how i can have a global object holding the current 
PageParameters that can be accessed without passing in the 
PageParametersinto a constructor?e.g: not matter where i want to 
accessGlobalThreadSpecificObject.getParam("foo") - i can call it on any 
component or in any page... ?The reason is that i use 
IndexedPageParams and have panels that aredependent on a specific param 
value and also need a flexible way to changethe number, the params are 
hanging on as the number of preceeding PageParameters can change later 
onBest 
Regards,Korbinian-Using 
Tomcat but need to do more? Need to support web services, security? Get 
stuff done quickly with pre-integrated technology to make your job 
easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user 
mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Global, Thread specific Property

2006-11-03 Thread Korbinian Bachl
Hi Eelco,

this might work! But how can i provide a custom request cycle? I found no
info so far, and wiki also tells nothing.

Best Regards,

Korbinian

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Eelco Hillenius
 Gesendet: Freitag, 3. November 2006 18:19
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Global, Thread specific Property
 
 Such things typically are best done in RequestCycle. You can 
 provide a custom request cycle, and then override 
 onBeginRequest to set your thread scoped variable, and 
 onEndRequest to clean it up again. You can access the request 
 cycle by doing RequestCycle.get(), though you might also 
 decide to store your variable in some other thread local with 
 static access.
 
 Eelco
 
 
 On 11/3/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
  Hi,
 
  i've got a problem and i dont know how to solve it. I work with 
  PageParameters and the thing that i allways have to pull 
 them around 
  makes me sad. Is there a way how i can have a global object holding 
  the current PageParameters that can be accessed without 
 passing in the 
  PageParameters into a constructor?
 
  e.g: not matter where i want to access
  GlobalThreadSpecificObject.getParam(foo) - i can call it on any 
  component or in any page... ?
 
  The reason is that i use IndexedPageParams and have panels that are 
  dependent on a specific param value and also need a flexible way to 
  change the number, the params are hanging on as the number of 
  preceeding PageParameters can change later on
 
  Best Regards,
 
  Korbinian
 
 
 
  
 --
  --- Using Tomcat but need to do more? Need to support web services, 
  security?
  Get stuff done quickly with pre-integrated technology to 
 make your job 
  easier Download IBM WebSphere Application Server v.1.0.1 based on 
  Apache Geronimo
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=1216
  42 ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 --
 ---
 Using Tomcat but need to do more? Need to support web 
 services, security?
 Get stuff done quickly with pre-integrated technology to make 
 your job easier Download IBM WebSphere Application Server 
 v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] Problem of using border

2006-11-01 Thread Korbinian Bachl
Hi,

i dont know what you want to press - however, if you want to get a list
containing users with name, email and a link to edit you need first to
iterate over the wicket:id=users tag using a ListView - example can be
found here: http://wicket.sourceforge.net/ExampleGuestBook.html (there the
comments are iterated over and over)

Best Regards,

Korbinian

PS: your HTML code is invalid, as uppercase letters in tags are not allowed!
(going on from XHTML 1.0, they were also deprecated in HTML from 3.01 on)

 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Carfield Yim
 Gesendet: Mittwoch, 1. November 2006 08:11
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] Problem of using border
 
 Say I have a page that using a border component like this:
 
 div wicket:id = main_border
   table
   THEAD
 TR
   TH/TH
   THName/TH
   THEmail/TH
 /TR
   /THEAD
   TBODY
   span wicket:id = users
 TR
   TDa href=# wicket:id=user_idEdit User/a/TD
   TDspan wicket:id=user_name/span/TD
   TDspan wicket:id=user_email/span/TD
 /TR
   /span
   /TBODY
   /table
 /div
 
 How can I press span wicket:id = users to the border? In 
 fact this may be more than one component I like to press... 
 Can I just press the rendered result to HTML to the border?
 
 --
 ---
 Using Tomcat but need to do more? Need to support web 
 services, security?
 Get stuff done quickly with pre-integrated technology to make 
 your job easier Download IBM WebSphere Application Server 
 v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] wicket tracking/ controlling

2006-10-29 Thread Korbinian Bachl



Hi,

can you please explain and tell more about this WSS 
(especially what WSS is) ? as it sounds very promising so 
far...

Korbinian


  
  
  Von: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von Aaron 
  HinikerGesendet: Sonntag, 29. Oktober 2006 04:04An: 
  wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] wicket 
   tracking/ controlling
  I'd guess that you would implement your own IRequestFactory and 
  manually write the access log from there. You have access to the servlet 
  and if you wanted to turn wicket requests into meaningful, trackable 
  information (I know exactly what you are talking about), you'd have to 
  manually write out an access log that matches something your tracking software 
  can read (like standard Apache log format). Once you have the http 
  servlet, you have the HTTP method, IP address, and all the other 
  headers. As far as the actual request URL you could write anything based 
  on the Page/Resource that the WebRequest is processing. You could, for 
  example, rewrite all requests to com.mysite.MyPage as http://mysite.com/com/mysite/MyPage?param1=value1.. 
  with the params generated from the PageParameters. One a side 
  note, I am more used to using WSS, where you just change the tag information 
  in the js code and WSS tracks the requests into different categories that you 
  specify. URLs are not important because it's the JS tag that determines 
  where the request is categorized. Would be very easy to do with a custom 
  component.AaronKorbinian Bachl wrote: 
  What example do you mean ? - i only found the javadoc
http://wicket.sourceforge.net/apidocs/wicket/protocol/http/RequestLogger.htm
l so far...

what i mean is following: imagine you have a page that sells/ adverts
something  - now you want to know how many visitors you have, on what pages
(what params) they are, how many are doing certain actions or giving up and
on what stage... in classical way, the webserver creates a log where he puts
the URLs, time, IP etc. in which then can be examined by trackingsoftware
like e.g: NetTracker, Webstat etc. - but they wont work with wicket as we
have no classical URLs

hope you now understand what i mean

  
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]] Im Auftrag 
von Juergen Donnerstag
Gesendet: Samstag, 28. Oktober 2006 11:13
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] wicket  tracking/ controlling

When you go to the example, there is this little red (i) in 
the top left corner. It'll open a page with all the 
information maintained by RequestLogger.

IResponseFilter and it is implementations might be an 
option/starting point for you as well.

While re-reading your mail, I'm not sure it is what you ask 
for. What information do you get from other web apps in the 
webservers log which you don't get for Wicket apps? Your 
example given, the visitors, can be retrieved, no difference. 
Time to respond, who, when etc, no difference. What you  
won't get is the Page and wicket specific information of course.

I'm not aware of any wiki entry or so, but I might not be 
up-to-date on that.

A base page, as you suggested, might be a good starting 
point, as many relevant information are available. Though 
events (submit, etc.) must be logged differently.

Juergen

On 10/28/06, Korbinian Bachl [EMAIL PROTECTED] wrote:

  you cant point me to any article about that ? - i looked at the 
java-docs for 1.2 branch but didnt understand how this 
  leads to a hook for tracking.

  
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] Im Auftrag von 
Juergen Donnerstag
Gesendet: Samstag, 28. Oktober 2006 10:33
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] wicket  tracking/ controlling

It is not better and not worse with Wicket, each web app 
framework 

  
has the same issue here. Just the details are different.

Have a look at RequestLogger.java

Juergen

On 10/28/06, Korbinian Bachl [EMAIL PROTECTED] wrote:

  Hi,

im not sure how to adress this thing with wicket: if you make a 
website you want to see where your visitor goes, what he does - 
usually by examining the webservers logfile by looking at
  the URLs -

  however this wont work in wicket.

How could this be solved ? - how can we track  trace our
  visitors ?

  Does anyone know a existing solution (maybe open-source) that 
integrates very easy with wicket ? (perhaps so easy 
  that putting 

  

  it onto a "BasePage" is nearly enough ?)

Best Regards,

Korbinian

PS: i would be happy if this could be done without using the 
session



  

  
--

  --- Using Tomcat but need to do more? Need to support web 
services

[Wicket-user] wicket tracking/ controlling

2006-10-28 Thread Korbinian Bachl
Hi,
 
im not sure how to adress this thing with wicket: if you make a website you
want to see where your visitor goes, what he does - usually by examining the
webservers logfile by looking at the URLs - however this wont work in
wicket.
 
How could this be solved ? - how can we track  trace our visitors ? Does
anyone know a existing solution (maybe open-source) that integrates very
easy with wicket ? (perhaps so easy that putting it onto a BasePage is
nearly enough ?)
 
Best Regards,
 
Korbinian

PS: i would be happy if this could be done without using the session


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


Re: [Wicket-user] wicket tracking/ controlling

2006-10-28 Thread Korbinian Bachl
you cant point me to any article about that ? - i looked at the java-docs
for 1.2 branch but didnt understand how this leads to a hook for tracking. 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Juergen Donnerstag
 Gesendet: Samstag, 28. Oktober 2006 10:33
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] wicket  tracking/ controlling
 
 It is not better and not worse with Wicket, each web app 
 framework has the same issue here. Just the details are different.
 
 Have a look at RequestLogger.java
 
 Juergen
 
 On 10/28/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
  Hi,
 
  im not sure how to adress this thing with wicket: if you make a 
  website you want to see where your visitor goes, what he does - 
  usually by examining the webservers logfile by looking at 
 the URLs - 
  however this wont work in wicket.
 
  How could this be solved ? - how can we track  trace our 
 visitors ? 
  Does anyone know a existing solution (maybe open-source) that 
  integrates very easy with wicket ? (perhaps so easy that putting it 
  onto a BasePage is nearly enough ?)
 
  Best Regards,
 
  Korbinian
 
  PS: i would be happy if this could be done without using the session
 
 
  
 --
  --- Using Tomcat but need to do more? Need to support web services, 
  security?
  Get stuff done quickly with pre-integrated technology to 
 make your job 
  easier Download IBM WebSphere Application Server v.1.0.1 based on 
  Apache Geronimo
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=1216
  42 ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 --
 ---
 Using Tomcat but need to do more? Need to support web 
 services, security?
 Get stuff done quickly with pre-integrated technology to make 
 your job easier Download IBM WebSphere Application Server 
 v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] wicket tracking/ controlling

2006-10-28 Thread Korbinian Bachl
What example do you mean ? - i only found the javadoc
http://wicket.sourceforge.net/apidocs/wicket/protocol/http/RequestLogger.htm
l so far...

what i mean is following: imagine you have a page that sells/ adverts
something  - now you want to know how many visitors you have, on what pages
(what params) they are, how many are doing certain actions or giving up and
on what stage... in classical way, the webserver creates a log where he puts
the URLs, time, IP etc. in which then can be examined by trackingsoftware
like e.g: NetTracker, Webstat etc. - but they wont work with wicket as we
have no classical URLs

hope you now understand what i mean

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Juergen Donnerstag
 Gesendet: Samstag, 28. Oktober 2006 11:13
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] wicket  tracking/ controlling
 
 When you go to the example, there is this little red (i) in 
 the top left corner. It'll open a page with all the 
 information maintained by RequestLogger.
 
 IResponseFilter and it is implementations might be an 
 option/starting point for you as well.
 
 While re-reading your mail, I'm not sure it is what you ask 
 for. What information do you get from other web apps in the 
 webservers log which you don't get for Wicket apps? Your 
 example given, the visitors, can be retrieved, no difference. 
 Time to respond, who, when etc, no difference. What you  
 won't get is the Page and wicket specific information of course.
 
 I'm not aware of any wiki entry or so, but I might not be 
 up-to-date on that.
 
 A base page, as you suggested, might be a good starting 
 point, as many relevant information are available. Though 
 events (submit, etc.) must be logged differently.
 
 Juergen
 
 On 10/28/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
  you cant point me to any article about that ? - i looked at the 
  java-docs for 1.2 branch but didnt understand how this 
 leads to a hook for tracking.
 
   -Ursprüngliche Nachricht-
   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Im Auftrag von 
   Juergen Donnerstag
   Gesendet: Samstag, 28. Oktober 2006 10:33
   An: wicket-user@lists.sourceforge.net
   Betreff: Re: [Wicket-user] wicket  tracking/ controlling
  
   It is not better and not worse with Wicket, each web app 
 framework 
   has the same issue here. Just the details are different.
  
   Have a look at RequestLogger.java
  
   Juergen
  
   On 10/28/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
Hi,
   
im not sure how to adress this thing with wicket: if you make a 
website you want to see where your visitor goes, what he does - 
usually by examining the webservers logfile by looking at
   the URLs -
however this wont work in wicket.
   
How could this be solved ? - how can we track  trace our
   visitors ?
Does anyone know a existing solution (maybe open-source) that 
integrates very easy with wicket ? (perhaps so easy 
 that putting 
it onto a BasePage is nearly enough ?)
   
Best Regards,
   
Korbinian
   
PS: i would be happy if this could be done without using the 
session
   
   
   
   
 
   --
--- Using Tomcat but need to do more? Need to support web 
services, security?
Get stuff done quickly with pre-integrated technology to
   make your job
easier Download IBM WebSphere Application Server 
 v.1.0.1 based on 
Apache Geronimo
   
   
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=12
   16
42 ___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
   --
   ---
   Using Tomcat but need to do more? Need to support web services, 
   security?
   Get stuff done quickly with pre-integrated technology to 
 make your 
   job easier Download IBM WebSphere Application Server
   v.1.0.1 based on Apache Geronimo
   http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
  dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
  
 --
  --- Using Tomcat but need to do more? Need to support web services, 
  security?
  Get stuff done quickly with pre-integrated technology to 
 make your job 
  easier Download IBM WebSphere Application Server v.1.0.1 based on 
  Apache Geronimo
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=1216
  42 ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user

[Wicket-user] getting pageParameters in a panel

2006-10-27 Thread Korbinian Bachl



Hi,

ive got a small 
problem, in wich im not sure how to solve it:

Ive got a own 
IRequestStrategy that uses requestParameters and have a form-panel in the 
masterlayout that uses this submit:

@Override public void 
onSubmit()  
{ String 
suchFeld = 
getSuchfeld(); 
if(suchFeld.length()0) 
{ 
PageParameters params = new 
PageParameters(); 
params.add("finde",suchFeld); 
setResponsePage(Suche.class,params); 
} 
else 
{ 
 
 
setResponsePage(getPage().getClass(), new 
PageParameters(getPage().getRequest().getRequestParameters().getParameters())); 
}

i now try in case 
nothing is specified to return the same page as before with same URL, however, 
how can i get all the RequestParameters from the page itself ? new 
PageParameters(getPage().getRequest().getRequestParameters().getParameters()) 
doenst work and
getPage().getRequest().getRequestParameters() is also not helpful - 
what i need would be a  
getPage().getRequest().getPageRequestParameters();

how can i solve this 
?

Best 
Regards,

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


Re: [Wicket-user] getting pageParameters in a panel

2006-10-27 Thread Korbinian Bachl



Thank you very much igor,

you saved my day ! :) 


  
  
  Von: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von Igor 
  VaynbergGesendet: Freitag, 27. Oktober 2006 18:50An: 
  wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] getting 
  pageParameters in a panel
  String 
  querystring=((WebRequest)getRequest()).getHttpServletRequest().getQueryString();PageParameters 
  p=new PageParameters(querystring,"");try 
  that-igor
  On 10/27/06, Korbinian 
  Bachl [EMAIL PROTECTED] 
  wrote:
  

Hi,

ive got a small problem, in wich im not 
sure how to solve it:

Ive got a own IRequestStrategy that uses 
requestParameters and have a form-panel in the masterlayout that uses this 
submit:

@Override public void 
onSubmit()  
{ 
String suchFeld = 
getSuchfeld(); 
if(suchFeld.length()0) 
{ 
PageParameters params = new 
PageParameters(); 
params.add("finde",suchFeld); 
setResponsePage(Suche.class,params); 
} 
else 
{ 
 
 
setResponsePage(getPage().getClass(), new 
PageParameters(getPage().getRequest().getRequestParameters().getParameters())); 
}

i now try in case nothing is specified to 
return the same page as before with same URL, however, how can i get all the 
RequestParameters from the page itself ? new 
PageParameters(getPage().getRequest().getRequestParameters().getParameters()) 
doenst work and
getPage().getRequest().getRequestParameters() is also not 
helpful - what i need would be a 
getPage().getRequest().getPageRequestParameters();

how can i solve this 
?

Best Regards,

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

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


Re: [Wicket-user] Nice Url

2006-10-19 Thread Korbinian Bachl
Hi,
 
yes it is possible, look here for detailed:
http://www.javalobby.org/java/forums/t68753.html
 
you can then provide parameters via the PageParameter param - if this doesnt
satisfy you (e.g: some special needs for URL) then you may also use a own
implementation of IRequestTargetURLCodingStrategy  - a good beginnning there
is examining the WOOGLE project and look at its URL Strategy
(/q/queryword/page) - 
 
best Regards,
 
Korbinian
 




Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Dipu
Gesendet: Donnerstag, 19. Oktober 2006 14:37
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] Nice Url


HI all, 
 
Is there anyway to make the non bookmarkable page urls look nicer.
I am using the wicket version 1.2.1
 
I need to display the urls like
   
/x
/x/searching
/x/searchresults
/x/payment
/x/confirmation
 
Kind Regards
Dipu



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


Re: [Wicket-user] newbie: wicket + dojo LayoutContainer

2006-10-13 Thread Korbinian Bachl
Hi,

dont refer to the navomatic example, as this is a special contruction.

If you need a usualy a href= link to a wicket page then use instead
following:

HMTL Markup:
a wicket:id=myLink href=#Link desc/a

and in Java-Page use:
Link myLink = new Link(myLink) {
public void onClick() {
setResponsePage(Target.class);
}
};
add(myLink);

where Target.class is the class of the page to be called

Regards,

Korbinian


 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von [EMAIL PROTECTED]
 Gesendet: Freitag, 13. Oktober 2006 16:21
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] newbie: wicket + dojo LayoutContainer
 
 Hi,
 
 I'm trying to integrate Wicket with dojo for a web 
 application. I have looked at the 
 wicket-contrib-dojo-examples, but i believe it does not cover 
 what I'm looking for at the moment, so here
 goes:
 
 I'm trying to use dojo's LayoutContainer with multiple nested 
 dojo ContentPanes as (dojo attribs not relevant to this post 
 are removed):
 
 
 div dojo:type=LayoutContainer
  div dojo:type=ContentPane
 href=HEAD_PAGE_URL/div
  div dojo:type=ContentPane
 href=BODY_PAGE_URL/div
 /div
 
 
 
 What I would like to know is how to link the values for 
 HEAD_PAGE_URL and BODY_PAGE_URL which would point to standard 
 wicket pages. I have looked at the linkomatic examples and 
 all of those require an anchor tag to generate the link. In 
 my case I only want the href that will point to the wicket 
 Page class.
 
 Or is there some other way to achieve this?
 
 Thanks,
 ~ amol
 
 
 
 
 
 
 --
 ---
 Using Tomcat but need to do more? Need to support web 
 services, security?
 Get stuff done quickly with pre-integrated technology to make 
 your job easier Download IBM WebSphere Application Server 
 v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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


Re: [Wicket-user] OT: Dandelion Warriors

2006-10-12 Thread Korbinian Bachl



Just to be sure we should also add:

Klingons
Romulans
Storm Troopers
Orks
Mages
Knights
[your favorite warparty here]

...


  
  
  Von: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von Ted 
  RoeloffzenGesendet: Donnerstag, 12. Oktober 2006 
  10:52An: wicket-user@lists.sourceforge.netBetreff: Re: 
  [Wicket-user] OT: Dandelion Warriors
  Common Eelco, Ewoks rule, the help win the battle for the good guys 
  and there so cute and fuzzy. LOL
  On 10/12/06, Eelco 
  Hillenius  
  [EMAIL PROTECTED] wrote:
  Haha. 
I'm not sure what kind of trademarking mess that would get us in. Hmmm, 
Ewoks. Before they got introduced, watching Star Wars wasdefendable. But 
with those furry creatures running around, there wasjust no denying we 
were actually watching kids' movies. I guess havingsuch a mascot is good 
to attract the younger crowd ;)EelcoOn 10/12/06, Joe Toth 
[EMAIL PROTECTED] 
wrote: Did you know Wicket can be used to get rid of pesky 
dandelions?  http://starwars.wikia.com/wiki/Wicket_and_the_Dandelion_Warriors:_An_Ewok_Adventure 
Can he be Wicket's mascot, like Duke is to Java?=) 
 
- 
Using Tomcat but need to do more? Need to support web services, 
security? Get stuff done quickly with pre-integrated technology to 
make your job  easier Download IBM WebSphere Application 
Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 
 ___ 
Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user-Using 
Tomcat but need to do more? Need to support web services, security? Get 
stuff done quickly with pre-integrated technology to make your job 
easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user 
mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] NiceURL and PagingNavigator

2006-10-12 Thread Korbinian Bachl



Thank you for that link!

Best Regards

  
  
  Von: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von Frank 
  BilleGesendet: Mittwoch, 11. Oktober 2006 13:36An: 
  wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] NiceURL 
  and PagingNavigator
  Try taking a look at Woogle and how the url looks when changing 
  page in the result.I have done this with Bookmarkable pages and did the 
  pagination myself. http://woogle.billen.dk/ (At that 
  website there is also a link to the svn repository)Frank
  On 10/11/06, Korbinian 
  Bachl  
  [EMAIL PROTECTED] wrote:
  Hi 
Martijn,the problem is that urls like these http://127.0.0.1:8080/anyApp/app?wicket:interface=:2:pagination:navigation:1:pageLink::ILinkListenerwill 
kill any spider coming the way - and so the products would never been 
followed to, as the list itself wouldnt be browsed.The products 
example itself is clear - the problem is that if i want to havea part 
where this mustnt happen i cant use any of wickets components as ihavent 
found one yet that supports nice URLs. Regards 
-Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] 
[mailto: 
[EMAIL PROTECTED]] Im Auftrag von 
Martijn Dashorst Gesendet: Mittwoch, 11. Oktober 2006 12:46 
An: wicket-user@lists.sourceforge.net 
 Betreff: Re: [Wicket-user] NiceURL and 
PagingNavigator I wouldn't worry about the paging navigator 
and the linksit generates... It navigates through your 
product catalog, but doesn't affect the products itself: each page 
will contain  different products next time you add a new product to 
the list. You're after how can to make the product items in 
my datatable/listview generate bookrmarkable urls. 
So you would do:  populateItem(Item item) 
{ .. creat 
parameters Link link = new 
BookmarkablePageLink("link", ProductPage.class, 
parameters); link.add(new Label("name", ... 
);  item.add(link); 
} That is what you're after IMO. 
Martijn On 10/10/06, Eelco Hillenius [EMAIL PROTECTED]  
wrote:  Furthermore, any page you want to have indexable and 
bookmarkable  should be bookmarkable pages anyway. 
  Using bookmarkable pages like that makes that you have a 
much less   nice programming paradigm. It's almost like model 2 
then. But without  the XML files :)  
 Eelco On 10/10/06, 
Matej Knopp  [EMAIL PROTECTED] 
wrote:   Paging navigator is useful in situations, when you 
don't care that   much about url (e.g. intranet 
applications with complex  user interface).  
   For internet applications, where you do care (at 
least for certain   parts) about URLs, you have to make an 
effort to achieve the urls you need. 
 The problem with bookmarkable urls is that every time you click 
on   one, new page instance is created. So if you have e.g. 
a member   variable in old page, the variable value won't be 
 available in new page instance. 
Therefore paging navigator doesn't use bookmarkable urls.  
   It should not be difficult to modify PagingNavigator 
to usebookmarkable urls.    
 -Matej Korbinian Bachl 
wrote:Hi Matej, 
 Well, for browsing products i wouldn't 
use PagingNavigator in afirst 
place.   ok, what else would you 
use? - i mean a PagingNavigator and a DataView seems 
to me as its made for beeing a product-category
browser (as you have e.g. 30 toycars and want only 16 max items  
  per page)Of 
course it is prossible to have such product browser in 
wicket,even with nice urls.   
class ProductsPage extends WebPage { 
   public 
ProductsPage(PageParameters parameters)   
{   
// 
this is just an example, you'd probably   
// 
need something bit more sophisticated :)
int 
currentPage = parameters.getInt("page");   
add(new 
BookmarkablePageLink("prev", new
PageParameters("page=" + (currentPage-1)));
add(new 
BookmarkablePageLink("next", new
PageParameters("page=" + (currentPage+1)));   
   } 
   }   
so if you mount products page to 
"/products", you can get urlslike 
/products/page/1, products/page/2 ...  
  ok, so if I understand this right, it would be enough to 
modifythe PagingNavigator to use 
BookmarkablePageLink with theparameters ? If this is 
so, why doesnt the  PagingNavigator provide
this functionality by itself? or might this run into other 
problems?   Any help is really 
    appreciated,    Regards 
  Korbinian   
-Matej
   Korbinian Bachl wrote: Hi 
Matej,   this is 
a big problem. I can live with not beeing able to
have TabbedPanels but imag

Re: [Wicket-user] NiceURL and PagingNavigator

2006-10-12 Thread Korbinian Bachl



Em Frank,

i cant download the Subversion Repo ! - the command doesnt 
work, neither using NB5.5. or the SVN command direct - can u please tell methe 
password for nobody to check it out?? 

C:\JEE5\nb55projects\wooglesvn 
checkout --username nobody http://sf.billen.dk/svn/repos/woogleAnmeldebereich: 
http://sf.billen.dk:80 
Authorization RealmPasswort für 'nobody':Anmeldebereich: http://sf.billen.dk:80 Authorization 
RealmBenutzername: nobodyPasswort für 'nobody':Anmeldebereich: 
http://sf.billen.dk:80 
Authorization RealmBenutzername:Passwort für '': ^C
best 
Regards

Korbinian


  
  
  Von: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von 
  Korbinian BachlGesendet: Donnerstag, 12. Oktober 2006 
  14:41An: wicket-user@lists.sourceforge.netBetreff: Re: 
  [Wicket-user] NiceURL and PagingNavigator
  
  Thank you for that link!
  
  Best Regards
  


Von: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Im Auftrag von 
Frank BilleGesendet: Mittwoch, 11. Oktober 2006 
13:36An: wicket-user@lists.sourceforge.netBetreff: Re: 
[Wicket-user] NiceURL and PagingNavigator
Try taking a look at Woogle and how the url looks when changing 
page in the result.I have done this with Bookmarkable pages and did the 
pagination myself. http://woogle.billen.dk/ (At 
that website there is also a link to the svn 
repository)Frank
On 10/11/06, Korbinian Bachl  [EMAIL PROTECTED] 
wrote: 
Hi 
  Martijn,the problem is that urls like these http://127.0.0.1:8080/anyApp/app?wicket:interface=:2:pagination:navigation:1:pageLink::ILinkListenerwill 
  kill any spider coming the way - and so the products would never been 
  followed to, as the list itself wouldnt be browsed.The 
  products example itself is clear - the problem is that if i want to 
  havea part where this mustnt happen i cant use any of wickets 
  components as ihavent found one yet that supports nice URLs. 
  Regards -Ursprüngliche 
  Nachricht- Von: [EMAIL PROTECTED] 
  [mailto: 
  [EMAIL PROTECTED]] Im Auftrag von 
  Martijn Dashorst Gesendet: Mittwoch, 11. Oktober 2006 
  12:46 An: wicket-user@lists.sourceforge.net 
   Betreff: Re: [Wicket-user] NiceURL and 
  PagingNavigator I wouldn't worry about the paging 
  navigator and the linksit generates... It navigates 
  through your product catalog, but doesn't affect the products 
  itself: each page will contain  different products next time you 
  add a new product to the list. You're after how can to 
  make the product items in my datatable/listview generate 
  bookrmarkable urls. So you would do:  
  populateItem(Item item) { .. creat 
  parameters Link link = new 
  BookmarkablePageLink("link", ProductPage.class, 
  parameters); link.add(new Label("name", 
  ... );  item.add(link); 
  } That is what you're after IMO. 
  Martijn On 10/10/06, Eelco Hillenius [EMAIL PROTECTED]  
  wrote:  Furthermore, any page you want to have indexable and 
  bookmarkable  should be bookmarkable pages anyway. 
Using bookmarkable pages like that makes that you have a 
  much less   nice programming paradigm. It's almost like model 
  2 then. But without  the XML files :) 
Eelco
   On 10/10/06, Matej Knopp  [EMAIL PROTECTED] wrote:  
   Paging navigator is useful in situations, when you don't care 
  that   much about url (e.g. intranet applications with 
  complex  user interface). For 
  internet applications, where you do care (at least for certain 
parts) about URLs, you have to make an effort to achieve 
  the urls you need.  The problem with 
  bookmarkable urls is that every time you click on  
   one, new page instance is created. So if you have e.g. a 
  member   variable in old page, the variable value won't be 
   available in new page instance.
   Therefore paging navigator doesn't use bookmarkable urls. 
  It should not be difficult to modify 
  PagingNavigator to usebookmarkable urls.  
     -Matej     
  Korbinian Bachl wrote:Hi Matej,   
 Well, for browsing 
  products i wouldn't use PagingNavigator in a   
   first place.   ok, 
  what else would you use? - i mean a PagingNavigator and a   
DataView seems to me as its made for beeing a 
  product-categorybrowser (as you have e.g. 30 
  toycars and want only 16 max itemsper 
  page)Of course it is 
  prossible to have such product browser in wicket,  
even with nice urls. 
class ProductsPage extends WebPage {
  public 
  ProductsPage(PageParameters parameters)   
  {   
  // 
  this is just an example, you'd probably   
  // 
  need something bit more sophisticated :)
  int 
  currentPage = par

Re: [Wicket-user] NiceURL and PagingNavigator

2006-10-11 Thread Korbinian Bachl
Hi Martijn,

the problem is that urls like these
http://127.0.0.1:8080/anyApp/app?wicket:interface=:2:pagination:navigation:1
:pageLink::ILinkListener 
will kill any spider coming the way - and so the products would never been
followed to, as the list itself wouldnt be browsed.

The products example itself is clear - the problem is that if i want to have
a part where this mustnt happen i cant use any of wickets components as i
havent found one yet that supports nice URLs.

Regards



 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Martijn Dashorst
 Gesendet: Mittwoch, 11. Oktober 2006 12:46
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] NiceURL and PagingNavigator
 
 I wouldn't worry about the paging navigator and the links  it 
 generates... It navigates through your product catalog, but 
 doesn't affect the products itself: each page will contain 
 different products next time you add a new product to the list.
 
 You're after how can to make the product items in my 
 datatable/listview generate bookrmarkable urls.
 
 So you would do:
 
 populateItem(Item item) {
 .. creat parameters
 Link link = new BookmarkablePageLink(link, 
 ProductPage.class, parameters);
 link.add(new Label(name, ... );
 item.add(link);
 }
 
 That is what you're after IMO.
 
 Martijn
 
 
 On 10/10/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
  Furthermore, any page you want to have indexable and bookmarkable 
  should be bookmarkable pages anyway.
 
  Using bookmarkable pages like that makes that you have a much less 
  nice programming paradigm. It's almost like model 2 then. 
 But without 
  the XML files :)
 
  Eelco
 
 
 
  On 10/10/06, Matej Knopp [EMAIL PROTECTED] wrote:
   Paging navigator is useful in situations, when you don't 
 care that 
   much about url (e.g. intranet applications with complex 
 user interface).
  
   For internet applications, where you do care (at least for certain
   parts) about URLs, you have to make an effort to achieve 
 the urls you need.
  
   The problem with bookmarkable urls is that every time you 
 click on 
   one, new page instance is created. So if you have e.g. a member 
   variable in old page, the variable value won't be 
 available in new page instance.
  
   Therefore paging navigator doesn't use bookmarkable urls.
  
   It should not be difficult to modify PagingNavigator to use 
   bookmarkable urls.
  
   -Matej
  
   Korbinian Bachl wrote:
Hi Matej,
   
   
Well, for browsing products i wouldn't use 
 PagingNavigator in a 
first place.
   
ok, what else would you use? - i mean a PagingNavigator and a 
DataView seems to me as its made for beeing a product-category 
browser (as you have e.g. 30 toycars and want only 16 max items 
per page)
   
Of course it is prossible to have such product browser 
 in wicket, 
even with nice urls.
   
class ProductsPage extends WebPage {
 public ProductsPage(PageParameters parameters)
 {
 // this is just an example, you'd probably
 // need something bit more sophisticated :)
 int currentPage = parameters.getInt(page);
 add(new BookmarkablePageLink(prev, new 
PageParameters(page= + (currentPage-1)));
 add(new BookmarkablePageLink(next, new 
PageParameters(page= + (currentPage+1)));
   
 }
   
}
   
so if you mount products page to /products, you can get urls 
like /products/page/1, products/page/2 ...
   
ok, so if I understand this right, it would be enough to modify 
the PagingNavigator to use BookmarkablePageLink with the 
parameters ? If this is so, why doesnt the 
 PagingNavigator provide 
this functionality by itself? or might this run into 
 other problems?
   
Any help is really appreciated,
   
Regards
   
Korbinian
   
-Matej
   
Korbinian Bachl wrote:
Hi Matej,
   
this is a big problem. I can live with not beeing able to
have Tabbed
Panels but imagine a onlinestore where you can browse the
products but
the url is not bookmarkable. That just wouldnt work for the
users as
well as all search engines !
   
Ajax is also not a solution as google  co dont care 
 about that!
   
Dont you know any (even theorethical) possibility to 
 have URLs 
like
/products/page/2 for pagination ? i mean that 
 component must use 
a parameter to call it and this one just has to be 
 passed... is 
this behaviour going to change in Wicket 2 ??? or are 
 nice URLs
there a half-done-feature, too ?
Regards
   
   
   
   
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
 Im Auftrag 
von Matej Knopp
Gesendet: Dienstag, 10. Oktober 2006 13:49
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] NiceURL and PagingNavigator

[Wicket-user] NiceURL and PagingNavigator

2006-10-10 Thread Korbinian Bachl



Hi,

i have a page, call 
it products, and i implement a Paging Navigator there, as its not good to have 
mor than e.g. 10 products on page at same time.

I then mount the 
products via  mountBookmarkablePage("/products", 
Product.class);

by executing it all 
works at first, but when using a link from the paging navigation the URL changes 
to 
?wicket:interface=:2:pagination:navigation:1:pageLink:1:ILinkListener 

instead of showing a 
nice /products/page/2 or sth like that.

How can i achive 
this behavior?

Regards,

Korbinian

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


  1   2   >