Re: [Wicket-user] ListView.setVisible(false) doesn't work at AjaxFallbackLink

2006-05-18 Thread Alvar Lumberg

Bruno, your problem is more of an issue with code beauty and design? I
agree that it's a bit misleading to have an setVisible method that
does nothing... As adding a fairly synthetic AjaxComponent subclass to
Component for using as a parent for every ajax-enabled component
doesn't seem justified, what if ListView (and other possible
repeaters) would throw UnsupportedOperationException or something like
that?

Of course, that would mean making Component.setVisible not final...

Alvar

On 5/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote:

i disagree,
wicket's primary usecase is not ajax, but regular rendering. ajax is a very
nice bonus and does not always work as smoothly as we would like.

now the ajax solution for the listview is quiet easy, put it into a
webmarkupcontainer and update that container instead of the listview via
ajax

WebMarkupContainer listviewcontainer=new
WebMarkupContainer(listviewcontainer);
ListView listview=new ListView(listview, .

listviewContainer.add(listview);

span wicket:id=listviewcontainerulli
wicket:id=listviewblah/li/ul/span

... target.addComponent(listviewcontainer);

this has the added advantage of hiding the listview's container, be that a
ul or a table

-Igor



On 5/17/06, Bruno Borges [EMAIL PROTECTED] wrote:


  one thing we might try is to add an isvisible check to
internalOnAttach() so that lsitview does not create children if it is not
visible. johan what do you think?
 


 Igor, the problem is that we need to make possible the call for
setVisible(false), just like any other component... _after_ the component
was printed out (for example, hidding a list view within an AjaxLink).

 If this can't be done, ListView must be of other type except Component.







 On 5/17/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 
 
 
 
  
   Sure, I know about that, but the way we code for other things like
Label or TextField, it works, right? So, for ListView it should work too.
It's a component just like other.
 
 
 
  listview is very much different from ordinary components like label and
textfield. listview is a repeater. repeaters have no markup of their own and
they produce no markup.
 
  the markup you assign to the listview using wicket:id the listview
delegates to its children. the markup you see in the output generated by
listview does not come from the listview itself, but from its children that
render themselves.
 
  one thing we might try is to add an isvisible check to
internalOnAttach() so that lsitview does not create children if it is not
visible. johan what do you think?
 
  -Igor
 
 




 --
 Bruno Borges
 Summa Technologies





---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Re: How to write model for immutable compound value object?

2006-05-18 Thread Ittay Dror

i guess i should have kept my mouth shut ;-) (or my fingers away from the 
keyboard)

ok, i'll try to kick start it. what code base to use? HEAD? do you have some 
kind of design phase (documents)?

Igor Vaynberg wrote:

 
  It sounds interesting. If someone wants to create a poc for this... I
  like to discuss with actual code ;)

i'd be interested, but i probably don't know enough about the code,
or design rational. i also can't commit on the time i can spend on this.


its your idea and from this discussion it is clear you are the only one 
with the understanding of what is required. so who better to write the 
initial code?


-Igor




--
===
Ittay Dror, 
Chief architect, openQRM TL, 
RD, Qlusters Inc.

[EMAIL PROTECTED]
+972-3-6081994 Fax: +972-3-6081841

http://www.openQRM.org
- Keeps your Data-Center Up and Running


---
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] Google Web Toolkit integration ?

2006-05-18 Thread Eelco Hillenius

The only thing to take care of is not to allow IE6 to work in
standard-compliance mode. So far, I had no problems with this setup. I'm
doing quite complicated layouts using just css (no tables) and
everything works fine. I just hope that IE7 won't screw everything up.


Judging from the posts on the GWT list, IE7 screws up a lot, including
that framework :) Surprise, surpise, it's MS!

Eelco


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


[Wicket-user] info log messages

2006-05-18 Thread ali

i myself setup wicket-examples in IDEA , and all things work well

INFO  - WicketServlet  - WicketServlet loaded application  
ComponentReferenceApplication via  
wicket.protocol.http.ContextParamWebApplicationFactory factory

INFO  - Application- You are in DEVELOPMENT mode

but jetty log many info messages like this :

INFO  - UrlResourceStream  - cannot convert url:  
jar:file:/C:/java/wicket-1.2-beta1/wicket-examples-1.2-beta1/src/webapp/WEB-INF/lib/wicket-extensions-1.2-beta1.jar!/wicket/extensions/markup/html/datepicker/style/aqua/active-bg.gif  
to file (URI is not hierarchical), falling back to the inputstream for  
polling


again same message but for diff resuorces are logined

plase help.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Google Web Toolkit integration ?

2006-05-18 Thread Matej Knopp

Eelco Hillenius wrote:

The only thing to take care of is not to allow IE6 to work in
standard-compliance mode. So far, I had no problems with this setup. I'm
doing quite complicated layouts using just css (no tables) and
everything works fine. I just hope that IE7 won't screw everything up.


Judging from the posts on the GWT list, IE7 screws up a lot, including
that framework :) Surprise, surpise, it's MS!

Yeah, i'm not that surprised, really ;)

The only thing to figure out is how to keep IE7 in compatibility mode 
while sending the xhtml docttpe.


xml... parsing bug does it for IE6 now, hope someone will find such 
thing for IE7 too.


-Matej



Eelco


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job 
easier

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=kkid0709bid3057dat1642
___
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] can'nt read wiki

2006-05-18 Thread Timo Stamm

ali schrieb:
please help , i would use offline explorer to track changes and auto 
update downloaded

wiki pages but wiki reponse me this :

Precondition Failed
We're sorry, but we could not fulfill your request for  =

/wiki/index.php/FAQs on this server.



Read the rest of the page. It gives you an explanation and possible 
solutions.



Timo


---
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] Link to Anchor

2006-05-18 Thread Eelco Hillenius

Yeah, I like that. I'll try to give it a look today.

Eelco


On 5/18/06, nato [EMAIL PROTECTED] wrote:

So, would the named anchor be supported in the next version of Wicket?


BTW, I vote for Link.setAnchor() so that I could set the anchor dynamically.
I also vote for the proposed a href=#anAnchor wicket:id=anchoredLinkan
href with # followed by a word is automatically an anchor/a is IMO
benificial too.






---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] ListView.setVisible(false) doesn't work at AjaxFallbackLink

2006-05-18 Thread Johan Compagner
setVisible doesn't work?It should work fine listview will not get rendered when you set it to none visible.And yes (talking to igor) i think it is a bit stupid that we do generate the items when the listview is not visible..
johanOn 5/18/06, Alvar Lumberg [EMAIL PROTECTED] wrote:
Bruno, your problem is more of an issue with code beauty and design? Iagree that it's a bit misleading to have an setVisible method thatdoes nothing... As adding a fairly synthetic AjaxComponent subclass toComponent for using as a parent for every ajax-enabled component
doesn't seem justified, what if ListView (and other possiblerepeaters) would throw UnsupportedOperationException or something likethat?Of course, that would mean making Component.setVisible not final...
AlvarOn 5/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i disagree, wicket's primary usecase is not ajax, but regular rendering. ajax is a very
 nice bonus and does not always work as smoothly as we would like. now the ajax solution for the listview is quiet easy, put it into a webmarkupcontainer and update that container instead of the listview via
 ajax WebMarkupContainer listviewcontainer=new WebMarkupContainer(listviewcontainer); ListView listview=new ListView(listview, . listviewContainer.add
(listview); span wicket:id=listviewcontainerulli wicket:id=listviewblah/li/ul/span ... target.addComponent(listviewcontainer);
 this has the added advantage of hiding the listview's container, be that a ul or a table -Igor On 5/17/06, Bruno Borges 
[EMAIL PROTECTED] wrote: one thing we might try is to add an isvisible check to internalOnAttach() so that lsitview does not create children if it is not
 visible. johan what do you think?  Igor, the problem is that we need to make possible the call for setVisible(false), just like any other component... _after_ the component
 was printed out (for example, hidding a list view within an AjaxLink).   If this can't be done, ListView must be of other type except Component.
 On 5/17/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
   Sure, I know about that, but the way we code for other things like Label or TextField, it works, right? So, for ListView it should work too. It's a component just like other.
 listview is very much different from ordinary components like label and textfield. listview is a repeater. repeaters have no markup of their own and
 they produce no markup. the markup you assign to the listview using wicket:id the listview delegates to its children. the markup you see in the output generated by listview does not come from the listview itself, but from its children that
 render themselves. one thing we might try is to add an isvisible check to internalOnAttach() so that lsitview does not create children if it is not visible. johan what do you think?
 -Igor  --  Bruno Borges  Summa Technologies
---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?cmdlnkkid0709bid3057dat1642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] can'nt read wiki

2006-05-18 Thread Gwyn Evans

Hi,
 I'm not sure of the exact issue there, but on the other hand, as
it'll cost if we exceed the bandwidth, I'm not really sure that I want
to encourage the practice of periodically auto-downloading the Wiki...

 It might be that this product uses HEAD requests to check if the
download's needed but even so, spiders/robots aren't particularly web
suited to wiki's, as there are too many links that they'll follow that
are not relevent.  I looked at the product's web site, but the focus
is (as expected) on downloading the site's quickly rather than on
minimising the bandwidth used, so can't tell exactly what it does...

 Anyway, the best way to see the changes is the Recent Changes,
which is available either as a HTML page
(http://www.wicket-wiki.org.uk/wiki/index.php/Special:Recentchanges)
or as Rss  Atom feeds
(http://www.wicket-wiki.org.uk/wiki/index.php?title=Special:Recentchangesfeed=rss
and 
http://www.wicket-wiki.org.uk/wiki/index.php?title=Special:Recentchangesfeed=atom).

/Gwyn

On 18/05/06, ali [EMAIL PROTECTED] wrote:

please help , i would use offline explorer to track changes and auto
update downloaded
wiki pages but wiki reponse me this :

Precondition Failed
We're sorry, but we could not fulfill your request for  =

/wiki/index.php/FAQs on this server.
.



---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Google Web Toolkit integration ?

2006-05-18 Thread Johan Compagner
So you are saying that it is possible to support many browser to get border-box?hmm that would solve so many problems we have...So you let IE stay in quircks mode and have for firefox that -moz-box-sizing: border-box;
and for other browsers (maybe IE7) the CSS3? standard: box-sizing: border-box;What is your doctype?johanOn 5/18/06, Matej Knopp
 [EMAIL PROTECTED] wrote:Igor Vaynberg wrote:
 allow myself to quote...myself || imho, html is the best layout manager out there for browser apps. add css to the mix and you have a great skin manager as well. i never said css was great for layout manager :) and yes the box model
 is broken.The box model really is broken. Therefore I always stick with IE box model* {box-sizing: border-box;-moz-box-sizing: border-box;
}The only thing to take care of is not to allow IE6 to work instandard-compliance mode. So far, I had no problems with this setup. I'mdoing quite complicated layouts using just css (no tables) and
everything works fine. I just hope that IE7 won't screw everything up.-Matej -Igor On 5/17/06, *Johan Compagner* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote: ha! and css is easier then layout manager in java... hmm that is not how i see it. CSS is just plain horrible stupid box thing..
 And what is a layout manager in css? There isn't one everything is sort of absoluut positioned and then you can do in swing also (not recommended ofcourse) johan
 On 5/17/06, *Igor Vaynberg*  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote: imho, html is the best layout manager out there for browser apps. add css to the mix and you have a great skin manager as well. the one thing you always hear swing developers bitching about is
 how they have to fight the layout managers to get the results they want. gridbaglayout is poweful but its a huge pain to work with. matisse+grouplayout are the holy grail for swing devels, its
 nice and easy to create layouts. but it still requires a gui to do this, while i can do html easily by hand. also browser screen space doesnt translate easily to the desktop space. in desktop
 space you are pixel aware, you are also pixel aware of your fonts and the south east corner of the window. in html you have none of these things. look at wingS framework examples, they use layout managers. look
 how rectangular their examples look. -Igor On 5/17/06, *Frank Silbermann * [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote: I, personally, don't care for HTML, and perhaps I might enjoy programming in Echo2 better.
 But suppose an employer maintained an HTML fragment with links to their entire portfolio of web applications, and wanted this fragment to appear
 on every page of each web application.Since someone else is maintaining that scrap and keeping it up-to-date, I would not want to translate it into Echo 2 and maintain my own copy.
 Would it not likely be easier to incorporate such an HTML scrap into a Wicket application, versus one written in a framework such as Echo 2
 that abstracted away the HTML completely? -Original Message- From: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]] On Behalf Of Eelco
 Hillenius Sent: Wednesday, May 17, 2006 10:58 AM To: wicket-user@lists.sourceforge.net mailto:
wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Google Web Toolkit integration ? It's certainly an intriguing idea (have a look at 
haxe.org http://haxe.org if you find it interesting), ... ... Yeah. I see some advantages of using layout managers -
 basically the same promise as Swing has - but currently I would still prefer using HTML for layout. If I would like the GWT way of developing
 applications, I would have choosen Echo 2 a long time ago. GWT looks like a next gen Echo to me, though with a very big name behind it, and
 some cool innovations. ... Eelco --- Using Tomcat but need to do more? Need to support web
 services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642
 http://sel.as-us.falkag.net/sel?cmdlnkkid%120709bid3057dat%121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
---Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] ListView.setVisible(false) doesn't work at AjaxFallbackLink

2006-05-18 Thread Alvar Lumberg

yea, my bad. I was thinking about ajax side of things, sorry.

On 5/18/06, Johan Compagner [EMAIL PROTECTED] wrote:

setVisible doesn't work?
It should work fine listview will not get rendered when you set it to none
visible.

And yes (talking to igor) i think it is a bit stupid that we do generate the
items when the listview is not visible..

johan



On 5/18/06, Alvar Lumberg [EMAIL PROTECTED] wrote:

 Bruno, your problem is more of an issue with code beauty and design? I
agree that it's a bit misleading to have an setVisible method that
does nothing... As adding a fairly synthetic AjaxComponent subclass to
Component for using as a parent for every ajax-enabled component
doesn't seem justified, what if ListView (and other possible
repeaters) would throw UnsupportedOperationException or something like
that?

Of course, that would mean making Component.setVisible not final...

Alvar

On 5/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i disagree,
 wicket's primary usecase is not ajax, but regular rendering. ajax is a
very
 nice bonus and does not always work as smoothly as we would like.

 now the ajax solution for the listview is quiet easy, put it into a
 webmarkupcontainer and update that container instead of the listview via
 ajax

 WebMarkupContainer listviewcontainer=new
 WebMarkupContainer(listviewcontainer);
 ListView listview=new ListView(listview, .

 listviewContainer.add (listview);

 span wicket:id=listviewcontainerulli
 wicket:id=listviewblah/li/ul/span

 ... target.addComponent(listviewcontainer);

 this has the added advantage of hiding the listview's container, be that a
 ul or a table

 -Igor



 On 5/17/06, Bruno Borges  [EMAIL PROTECTED] wrote:
 
 
   one thing we might try is to add an isvisible check to
 internalOnAttach() so that lsitview does not create children if it is not
  visible. johan what do you think?
  
 
 
  Igor, the problem is that we need to make possible the call for
 setVisible(false), just like any other component... _after_ the component
 was printed out (for example, hidding a list view within an AjaxLink).
 
  If this can't be done, ListView must be of other type except Component.
 
 
 
 
 
 
 
  On 5/17/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
  
  
  
  
   
Sure, I know about that, but the way we code for other things like
 Label or TextField, it works, right? So, for ListView it should work too.
 It's a component just like other.
  
  
  
   listview is very much different from ordinary components like label
and
 textfield. listview is a repeater. repeaters have no markup of their own
and
 they produce no markup.
  
   the markup you assign to the listview using wicket:id the listview
 delegates to its children. the markup you see in the output generated by
 listview does not come from the listview itself, but from its children
that
 render themselves.
  
   one thing we might try is to add an isvisible check to
 internalOnAttach() so that lsitview does not create children if it is not
 visible. johan what do you think?
  
   -Igor
  
  
 
 
 
 
  --
  Bruno Borges
  Summa Technologies




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

___
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] HTTPS switching

2006-05-18 Thread Johan Compagner
that would be the way yes.On 5/18/06, Vincent Jenks [EMAIL PROTECTED] wrote:
Because it's a shopping cart and either way a form has to besubmitted...so I'd rather do it when the form is submitted and nothave the extra step.I got around it by redirecting externally like the wiki shows, only I
used a url like this:https://localhost:8443/MyApp/products?wicket:bookmarkablePage=:com.myapp.ui.UserAccount
Is that a bad idea or is there not a better way?The cart is stateful so it seems to work fine.On 5/17/06, Johan Compagner [EMAIL PROTECTED] wrote:
 so your form is first in none https but the submit must go to https? Why would you do that? Why not first move to https then submit the form? Looks safer to me. But if you want you have to control the urlFor of the Form component.
 Override this to append the https and server part. johan On 5/17/06, Vincent Jenks [EMAIL PROTECTED]  wrote:
  OK, this discussion has been had before but IRC, it was determinedthat we could use ExternalLink to switch (which would work for me if it weren't a form.)However, what if I'm using a Button?Could an
 ExternalButton be rigged up that would somehow submit a form as well? Could I maybe redirect to an external link instead?I know this can be done w/ non-wicket pages but would this be a problem when
 redirecting to a wicket page? I'm a little unsure how to proceed w/ this. Thanks! --- Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user---
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



Re: [Wicket-user] Re: How to write model for immutable compound value object?

2006-05-18 Thread Johan Compagner
Isn't youre controller just the Parent formcomponent that can have childs (form components)Then you can attach validators to the childs to make sure that input is right. (the partial input)And you can attach validators to the parent formcomponent and that parent component has the connection
with the real model. (the childs have there inbetween model from the parent formcomponent to get the data they want to display)Then with that parent formcomponent you override getInputAsArray and convertValue()
And youre are done.When the value is converted youre parent validators run over that converted value and if that work that value is stored in the real model.johan
On 5/18/06, Ittay Dror [EMAIL PROTECTED] wrote:
i guess i should have kept my mouth shut ;-) (or my fingers away from the keyboard)ok, i'll try to kick start it. what code base to use? HEAD? do you have some kind of design phase (documents)?Igor Vaynberg wrote:
 It sounds interesting. If someone wants to create a poc for this... I like to discuss with actual code ;) i'd be interested, but i probably don't know enough about the code,
 or design rational. i also can't commit on the time i can spend on this. its your idea and from this discussion it is clear you are the only one with the understanding of what is required. so who better to write the
 initial code? -Igor--===Ittay Dror,Chief architect, openQRM TL,RD, Qlusters Inc.[EMAIL PROTECTED]
+972-3-6081994 Fax: +972-3-6081841http://www.openQRM.org- Keeps your Data-Center Up and Running---
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



Re: [Wicket-user] Google Web Toolkit integration ?

2006-05-18 Thread Matej Knopp
The doctype is xhtml transitional. But there's an additional comment 
(!-- --) before doctype to trick IE and make it work in quirks mode. 
(Because in standard compliance mode IE uses the W3C box model, which 
sucks).
This should work with strict too. Also ?xml header would do this, but 
wicket is kind of reluctant to print it, so i just put comment there).


So far, this setup works (tested) for Firefox, Opera, Konqueror, IE5.0+.
Only thing i'm not sure with is IE7. If it won't be fooled by comment 
before doctype and won't allow to set box-sizing in standard compliance 
mode there will be a problem. I hope MS engineers are sane enough to 
implement box-sizing css property, which is currently supported by any 
decend browser (except for IE of course).


-Matej


Johan Compagner wrote:
So you are saying that it is possible to support many browser to get 
border-box?


hmm that would solve so many problems we have...

So you let IE stay in quircks mode and have for firefox that  
-moz-box-sizing: border-box;
and for other browsers (maybe IE7) the CSS3? standard: box-sizing: 
border-box;


What is your doctype?

johan


On 5/18/06, *Matej Knopp* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

Igor Vaynberg wrote:
  allow myself to quote...myself
 
  || imho, html is the best layout manager out there for browser
apps. add
  css to the mix and you have a great skin manager as well.
 
  i never said css was great for layout manager :) and yes the box
model
  is broken.
The box model really is broken. Therefore I always stick with IE box
model

* {
box-sizing: border-box;
-moz-box-sizing: border-box;
}

The only thing to take care of is not to allow IE6 to work in
standard-compliance mode. So far, I had no problems with this setup. I'm
doing quite complicated layouts using just css (no tables) and
everything works fine. I just hope that IE7 won't screw everything up.

-Matej

 
  -Igor
 
 
  On 5/17/06, *Johan Compagner* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
  ha! and css is easier then layout manager in java...
  hmm that is not how i see it.
  CSS is just plain horrible stupid box thing..
 
  And what is a layout manager in css? There isn't one
everything is
  sort of absoluut positioned and then you can do in swing also
  (not recommended ofcourse)
 
  johan
 
 
  On 5/17/06, *Igor Vaynberg*  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:
 
  imho, html is the best layout manager out there for browser
  apps. add css to the mix and you have a great skin
manager as well.
 
  the one thing you always hear swing developers bitching
about is
  how they have to fight the layout managers to get the results
  they want. gridbaglayout is poweful but its a huge pain
to work
  with.
 
  matisse+grouplayout are the holy grail for swing devels, its
  nice and easy to create layouts. but it still requires a
gui to
  do this, while i can do html easily by hand. also browser
screen
  space doesnt translate easily to the desktop space. in
desktop
  space you are pixel aware, you are also pixel aware of your
  fonts and the south east corner of the window. in html
you have
  none of these things.
 
  look at wingS framework examples, they use layout
managers. look
  how rectangular their examples look.
 
  -Igor
 
 
 
 
  On 5/17/06, *Frank Silbermann *
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
 
  I, personally, don't care for HTML, and perhaps I
might enjoy
  programming in Echo2 better.
 
  But suppose an employer maintained an HTML fragment with
  links to their
  entire portfolio of web applications, and wanted this
  fragment to appear
  on every page of each web application.  Since someone
else is
  maintaining that scrap and keeping it up-to-date, I would
  not want to
  translate it into Echo 2 and maintain my own copy.
 
  Would it not likely be easier to incorporate such an HTML
  scrap into a
  Wicket application, versus one written in a framework
such
  as Echo 2

RE: [Wicket-user] popup button

2006-05-18 Thread Nino Wael
Hi Eelco

It did. Thanks :)


-regards Nino

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius
Sent: 17. maj 2006 12:41
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] popup button

Simpler than that. I just added this example to wicket-examples/link-o-matic:

Java:

PopupSettings popupSettings = new
PopupSettings(PageMap.forName(popuppagemap)).setHeight(500).setWidth(500);

add(new BookmarkablePageLink(popupButtonLink,
Popup.class).setPopupSettings(popupSettings));

HTML:

input type=submit wicket:id = popupButtonLink value=Click this
button for a popup /

The link actually attaches to the input tag. Like I said, it could
attach to anything really, including buttons, table rows, etc.

Hope this helps,

Eelco


On 5/17/06, Nino Wael [EMAIL PROTECTED] wrote:
 Ok, I think I need an example. I'll describe how I belive it works below 
 please correct me if im wrong:

 html

 input type=submit value=This is my popup wicket:id=btnpop /
 a href=# wicket:id=poplinkpop?/link

 /html

 java

   PopupSettings popupSettings = new PopupSettings(PageMap
 .forName(popuppagemap), PopupSettings.MENU_BAR
 | PopupSettings.TOOL_BAR).setHeight(500).setWidth(500);
   BookmarkablePageLink mylink;
   mylink = new BookmarkablePageLink(popuplink, PopupInfo.class);
   mylink.setPopupSettings(popupSettings);
   mylink.setParameter(title, popTitle_omraade);
   mylink.setParameter(infotext, popText_omraade);

   Button openword = new Button(openword) {
protected void onSubmit() { overide code}
 }

 openword.add(mylink);
 add(openword);



 /java

 -Oprindelig meddelelse-
 Fra: [EMAIL PROTECTED] på vegne af Eelco Hillenius
 Sendt: on 17-05-2006 12:05
 Til: wicket-user@lists.sourceforge.net
 Cc:
 Emne: Re: [Wicket-user] popup button



 Hi,

 You can use a Link with a PopupSpecification. And you can (or should
 be able to) actually attach a link to any tag, including a button tag.

 Eelco


 On 5/17/06, Nino Wael [EMAIL PROTECTED] wrote:
 
 
 
 
  Hi
 
 
 
  Was wondering if any body has an example on howto create a popup 
 button?
  I've looked at the triggerbutton from the datepicker extension but 
 that
  seems to be too complex for such a simple thing?
 
 
 
  I want it to run the onsubmit method on the popupbutton and after 
 that it
  should make a popup, I tried using a normal button and a
  BookmarkablePageLink and calling the onClick event on the latter 
 but as it
  is now the onClick event does notting(its also written in the 
 documentation
  that it only implements onclick to satisfy interfaces).
 
 
 
  Regards Nino
 
 
 
 


 ---
 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=kkid0709bid3057dat1642
 ___
 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=kkid0709bid3057dat1642
___
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Re: How to write model for immutable compound value object?

2006-05-18 Thread Ittay Dror

this is what the CompositeComponent i posted a while ago does.

what i don't like so much about it is that it is not a real component, in the 
sense it renders nothing. it is just a mediator between the actual model and 
other components.

anyways, 


Johan Compagner wrote:
Isn't youre controller just the Parent formcomponent that can have 
childs (form components)


Then you can attach validators to the childs to make sure that input is 
right. (the partial input)


And you can attach validators to the parent formcomponent and that 
parent component has the connection
with the real model.  (the childs have there inbetween model from 
the parent formcomponent to get the data they want to display)


Then with that parent formcomponent you override getInputAsArray and 
convertValue()

And youre are done.
When the value is converted youre parent validators run over that 
converted value and if that work that value is stored in the real model.


johan



On 5/18/06, *Ittay Dror* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


i guess i should have kept my mouth shut ;-) (or my fingers away
from the keyboard)

ok, i'll try to kick start it. what code base to use? HEAD? do you
have some kind of design phase (documents)?

Igor Vaynberg wrote:
   
It sounds interesting. If someone wants to create a poc
for this... I
like to discuss with actual code ;)
 
  i'd be interested, but i probably don't know enough about the
code,
  or design rational. i also can't commit on the time i can
spend on this.
 
 
  its your idea and from this discussion it is clear you are the
only one
  with the understanding of what is required. so who better to
write the
  initial code?
 
  -Igor
 


--
===
Ittay Dror,
Chief architect, openQRM TL,
RD, Qlusters Inc.
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
+972-3-6081994 Fax: +972-3-6081841

http://www.openQRM.org
- Keeps your Data-Center Up and Running


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





--
===
Ittay Dror, 
Chief architect, openQRM TL, 
RD, Qlusters Inc.

[EMAIL PROTECTED]
+972-3-6081994 Fax: +972-3-6081841

http://www.openQRM.org
- Keeps your Data-Center Up and Running


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


[Wicket-user] Error on compref live examples

2006-05-18 Thread Nino Wael








Hi im getting and error when trying to look at this
link:

http://www.wicket-library.com/wicket-examples/compref



regards Nino








Re: [Wicket-user] popup button

2006-05-18 Thread Eelco Hillenius

Don't override the onclick method.

Eelco


On 5/18/06, Nino Wael [EMAIL PROTECTED] wrote:






Im now using the Pagelink which has the nice onClick event, when the new page 
pops up its just a copy of the current page. And not the class I specified.





Code:



PageLink myReport = new PageLink(openword, PopupReport.class)

{

  public void onClick()

{

 // TODO Auto-generated method stub

  }

   };





Above code brings up a copy of the current page in the popup, but that's not 
what I've specified.






















-Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael
 Sent: 18. maj 2006 10:35
 To: wicket-user@lists.sourceforge.net

 Subject: RE: [Wicket-user] popup button







Hi Eelco



It did. Thanks :)





-regards Nino



-Original Message-

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius

Sent: 17. maj 2006 12:41

To: wicket-user@lists.sourceforge.net

Subject: Re: [Wicket-user] popup button



Simpler than that. I just added this example to wicket-examples/link-o-matic:



Java:



PopupSettings popupSettings = new

PopupSettings(PageMap.forName(popuppagemap)).setHeight(500).setWidth(500);



add(new BookmarkablePageLink(popupButtonLink,

Popup.class).setPopupSettings(popupSettings));



HTML:



input type=submit wicket:id = popupButtonLink value=Click this

button for a popup /



The link actually attaches to the input tag. Like I said, it could

attach to anything really, including buttons, table rows, etc.



Hope this helps,



Eelco





On 5/17/06, Nino Wael [EMAIL PROTECTED] wrote:

 Ok, I think I need an example. I'll describe how I belive it works below 
please correct me if im wrong:



 html



 input type=submit value=This is my popup wicket:id=btnpop /

 a href=# wicket:id=poplinkpop?/link



 /html



 java



   PopupSettings popupSettings = new PopupSettings(PageMap

 .forName(popuppagemap), PopupSettings.MENU_BAR

 | PopupSettings.TOOL_BAR).setHeight(500).setWidth(500);

   BookmarkablePageLink mylink;

   mylink = new BookmarkablePageLink(popuplink, PopupInfo.class);

   mylink.setPopupSettings(popupSettings);

   mylink.setParameter(title, popTitle_omraade);

   mylink.setParameter(infotext, popText_omraade);



   Button openword = new Button(openword) {

protected void onSubmit() { overide code}

 }



 openword.add(mylink);

 add(openword);







 /java



 -Oprindelig meddelelse-

 Fra: [EMAIL PROTECTED] på vegne af Eelco Hillenius

 Sendt: on 17-05-2006 12:05

 Til: wicket-user@lists.sourceforge.net

 Cc:

 Emne: Re: [Wicket-user] popup button







 Hi,



 You can use a Link with a PopupSpecification. And you can (or should

 be able to) actually attach a link to any tag, including a button tag.



 Eelco





 On 5/17/06, Nino Wael [EMAIL PROTECTED] wrote:

 

 

 

 

  Hi

 

 

 

  Was wondering if any body has an example on howto create a popup 
button?

  I've looked at the triggerbutton from the datepicker extension but 
that

  seems to be too complex for such a simple thing?

 

 

 

  I want it to run the onsubmit method on the popupbutton and after 
that it

  should make a popup, I tried using a normal button and a

  BookmarkablePageLink and calling the onClick event on the latter 
but as it

  is now the onClick event does notting(its also written in the 
documentation

  that it only implements onclick to satisfy interfaces).

 

 

 

  Regards Nino

 

 

 

 





 ---

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

 ___

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

___

Wicket-user mailing list

Wicket-user@lists.sourceforge.net


RE: [Wicket-user] popup button

2006-05-18 Thread Nino Wael
But I need to do something when it is clicked.. Is there any other component I 
could use instead?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius
Sent: 18. maj 2006 11:04
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] popup button

Don't override the onclick method.

Eelco


On 5/18/06, Nino Wael [EMAIL PROTECTED] wrote:





 Im now using the Pagelink which has the nice onClick event, when the new page 
 pops up its just a copy of the current page. And not the class I specified.





 Code:



 PageLink myReport = new PageLink(openword, PopupReport.class)

 {

   public void onClick()

 {

  // TODO Auto-generated method stub

   }

};





 Above code brings up a copy of the current page in the popup, but that's not 
 what I've specified.






















 -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael
  Sent: 18. maj 2006 10:35
  To: wicket-user@lists.sourceforge.net

  Subject: RE: [Wicket-user] popup button







 Hi Eelco



 It did. Thanks :)





 -regards Nino



 -Original Message-

 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius

 Sent: 17. maj 2006 12:41

 To: wicket-user@lists.sourceforge.net

 Subject: Re: [Wicket-user] popup button



 Simpler than that. I just added this example to wicket-examples/link-o-matic:



 Java:



 PopupSettings popupSettings = new

 PopupSettings(PageMap.forName(popuppagemap)).setHeight(500).setWidth(500);



 add(new BookmarkablePageLink(popupButtonLink,

 Popup.class).setPopupSettings(popupSettings));



 HTML:



 input type=submit wicket:id = popupButtonLink value=Click this

 button for a popup /



 The link actually attaches to the input tag. Like I said, it could

 attach to anything really, including buttons, table rows, etc.



 Hope this helps,



 Eelco





 On 5/17/06, Nino Wael [EMAIL PROTECTED] wrote:

  Ok, I think I need an example. I'll describe how I belive it works below 
  please correct me if im wrong:

 

  html

 

  input type=submit value=This is my popup wicket:id=btnpop /

  a href=# wicket:id=poplinkpop?/link

 

  /html

 

  java

 

PopupSettings popupSettings = new PopupSettings(PageMap

  .forName(popuppagemap), PopupSettings.MENU_BAR

  | PopupSettings.TOOL_BAR).setHeight(500).setWidth(500);

BookmarkablePageLink mylink;

mylink = new BookmarkablePageLink(popuplink, PopupInfo.class);

mylink.setPopupSettings(popupSettings);

mylink.setParameter(title, popTitle_omraade);

mylink.setParameter(infotext, popText_omraade);

 

Button openword = new Button(openword) {

 protected void onSubmit() { overide code}

  }

 

  openword.add(mylink);

  add(openword);

 

 

 

  /java

 

  -Oprindelig meddelelse-

  Fra: [EMAIL PROTECTED] på vegne af Eelco Hillenius

  Sendt: on 17-05-2006 12:05

  Til: wicket-user@lists.sourceforge.net

  Cc:

  Emne: Re: [Wicket-user] popup button

 

 

 

  Hi,

 

  You can use a Link with a PopupSpecification. And you can (or should

  be able to) actually attach a link to any tag, including a button 
  tag.

 

  Eelco

 

 

  On 5/17/06, Nino Wael [EMAIL PROTECTED] wrote:

  

  

  

  

   Hi

  

  

  

   Was wondering if any body has an example on howto create a popup 
  button?

   I've looked at the triggerbutton from the datepicker extension 
  but that

   seems to be too complex for such a simple thing?

  

  

  

   I want it to run the onsubmit method on the popupbutton and after 
  that it

   should make a popup, I tried using a normal button and a

   BookmarkablePageLink and calling the onClick event on the latter 
  but as it

   is now the onClick event does notting(its also written in the 
  documentation

   that it only implements onclick to satisfy interfaces).

  

  

  

   Regards Nino

  

  

  

  

 

 

  ---

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

  ___

  Wicket-user mailing list

  Wicket-user@lists.sourceforge.net

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

 

 

 





 

Re: [Wicket-user] Google Web Toolkit integration ?

2006-05-18 Thread Dorel Vaida

Igor Vaynberg wrote:
imho, html is the best layout manager out there for browser apps. add 
css to the mix and you have a great skin manager as well.


the one thing you always hear swing developers bitching about is how 
they have to fight the layout managers to get the results they want. 
gridbaglayout is poweful but its a huge pain to work with.


matisse+grouplayout are the holy grail for swing devels, its nice and 
easy to create layouts. but it still requires a gui to do this, while 
i can do html easily by hand. 
Well, next time also look into the FormLayout of the JGoodies (Forms) 
fame. It's easy to do by hand, even easier if you use the factories and 
builders it provides. Excellent library JGoodies, it's my choice as a 
layout manager for the desktop.
also browser screen space doesnt translate easily to the desktop 
space. in desktop space you are pixel aware, you are also pixel aware 
of your fonts and the south east corner of the window. in html you 
have none of these things.


look at wingS framework examples, they use layout managers. look how 
rectangular their examples look.


-Igor




On 5/17/06, *Frank Silbermann * [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


I, personally, don't care for HTML, and perhaps I might enjoy
programming in Echo2 better.

But suppose an employer maintained an HTML fragment with links to
their
entire portfolio of web applications, and wanted this fragment to
appear
on every page of each web application.  Since someone else is
maintaining that scrap and keeping it up-to-date, I would not want to
translate it into Echo 2 and maintain my own copy.

Would it not likely be easier to incorporate such an HTML scrap
into a
Wicket application, versus one written in a framework such as Echo 2
that abstracted away the HTML completely?


-Original Message-
From: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]] On Behalf Of Eelco
Hillenius
Sent: Wednesday, May 17, 2006 10:58 AM
To: wicket-user@lists.sourceforge.net
mailto:wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Google Web Toolkit integration ?

 It's certainly an intriguing idea (have a look at haxe.org
http://haxe.org if you find
 it interesting), ...
...
Yeah. I see some advantages of using layout managers - basically the
same promise as Swing has - but currently I would still prefer using
HTML for layout. If I would like the GWT way of developing
applications, I would have choosen Echo 2 a long time ago. GWT looks
like a next gen Echo to me, though with a very big name behind it, and
some cool innovations. ... Eelco



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






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


Re: [Wicket-user] Re: How to write model for immutable compound value object?

2006-05-18 Thread Johan Compagner
but there are more components like that ListView for example.and what does it matter what it renders?? A Component is a component when it is in java a component.And you could render a span or div tag so that it has a marker in the html (so that ajax also works on it..)
johanOn 5/18/06, Ittay Dror [EMAIL PROTECTED] wrote:
this is what the CompositeComponent i posted a while ago does.what i don't like so much about it is that it is not a real component, in the sense it renders nothing. it is just a mediator between the actual model and other components.
anyways,Johan Compagner wrote: Isn't youre controller just the Parent formcomponent that can have childs (form components) Then you can attach validators to the childs to make sure that input is
 right. (the partial input) And you can attach validators to the parent formcomponent and that parent component has the connection with the real model.(the childs have there inbetween model from
 the parent formcomponent to get the data they want to display) Then with that parent formcomponent you override getInputAsArray and convertValue() And youre are done. When the value is converted youre parent validators run over that
 converted value and if that work that value is stored in the real model. johan On 5/18/06, *Ittay Dror* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote: i guess i should have kept my mouth shut ;-) (or my fingers away from the keyboard)
 ok, i'll try to kick start it. what code base to use? HEAD? do you have some kind of design phase (documents)? Igor Vaynberg wrote: It sounds interesting. If someone wants to create a poc
 for this... I like to discuss with actual code ;) i'd be interested, but i probably don't know enough about the code, or design rational. i also can't commit on the time i can
 spend on this. its your idea and from this discussion it is clear you are the only one with the understanding of what is required. so who better to
 write the initial code? -Igor -- === Ittay Dror,
 Chief architect, openQRM TL, RD, Qlusters Inc. [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 +972-3-6081994 Fax: +972-3-6081841 http://www.openQRM.org - Keeps your Data-Center Up and Running ---
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___
 Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user 
https://lists.sourceforge.net/lists/listinfo/wicket-user--===Ittay Dror,Chief architect, openQRM TL,RD, Qlusters Inc.
[EMAIL PROTECTED]+972-3-6081994 Fax: +972-3-6081841http://www.openQRM.org- Keeps your Data-Center Up and Running---
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



Re: [Wicket-user] popup button

2006-05-18 Thread Johan Compagner
super.onClick()On 5/18/06, Nino Wael [EMAIL PROTECTED] wrote:
But I need to do something when it is clicked.. Is there any other component I could use instead?-Original Message-From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Eelco HilleniusSent: 18. maj 2006 11:04To: 
wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] popup buttonDon't override the onclick method.EelcoOn 5/18/06, Nino Wael [EMAIL PROTECTED]
 wrote: Im now using the Pagelink which has the nice onClick event, when the new page pops up its just a copy of the current page. And not the class I specified.
 Code: PageLink myReport = new PageLink(openword, PopupReport.class) { public void onClick()
 {// TODO Auto-generated method stub }}; Above code brings up a copy of the current page in the popup, but that's not what I've specified.
 -Original Message-From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Nino Wael
Sent: 18. maj 2006 10:35To: wicket-user@lists.sourceforge.netSubject: RE: [Wicket-user] popup button
 Hi Eelco It did. Thanks :) -regards Nino -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
] On Behalf Of Eelco Hillenius Sent: 17. maj 2006 12:41 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] popup button
 Simpler than that. I just added this example to wicket-examples/link-o-matic: Java: PopupSettings popupSettings = new
 PopupSettings(PageMap.forName(popuppagemap)).setHeight(500).setWidth(500); add(new BookmarkablePageLink(popupButtonLink, Popup.class).setPopupSettings(popupSettings));
 HTML: input type=submit wicket:id = popupButtonLink value=Click this button for a popup /
 The link actually attaches to the input tag. Like I said, it could attach to anything really, including buttons, table rows, etc. Hope this helps,
 Eelco On 5/17/06, Nino Wael [EMAIL PROTECTED] wrote:  Ok, I think I need an example. I'll describe how I belive it works below please correct me if im wrong:
   html   input type=submit value=This is my popup wicket:id=btnpop /  a href="" wicket:id=poplinkpop?/link
   /html   java   PopupSettings popupSettings = new PopupSettings(PageMap  .forName(popuppagemap), 
PopupSettings.MENU_BAR  | PopupSettings.TOOL_BAR).setHeight(500).setWidth(500);  BookmarkablePageLink mylink;  mylink = new BookmarkablePageLink(popuplink, 
PopupInfo.class);  mylink.setPopupSettings(popupSettings);  mylink.setParameter(title, popTitle_omraade);  mylink.setParameter(infotext, popText_omraade);
   Button openword = new Button(openword) { protected void onSubmit() { overide code}  }   
openword.add(mylink);  add(openword); /java   -Oprindelig meddelelse-
  Fra: [EMAIL PROTECTED] på vegne af Eelco Hillenius  Sendt: on 17-05-2006 12:05
  Til: wicket-user@lists.sourceforge.net  Cc:  Emne: Re: [Wicket-user] popup button
 Hi,   You can use a Link with a PopupSpecification. And you can (or should
  be able to) actually attach a link to any tag, including a button tag.   EelcoOn 5/17/06, Nino Wael 
[EMAIL PROTECTED] wrote:
   Hi Was wondering if any body has an example on howto create a popup button?
   I've looked at the triggerbutton from the datepicker extension but that   seems to be too complex for such a simple thing?  
   I want it to run the onsubmit method on the popupbutton and after that it   should make a popup, I tried using a normal button and a
   BookmarkablePageLink and calling the onClick event on the latter but as it   is now the onClick event does notting(its also written in the documentation
   that it only implements onclick to satisfy interfaces). Regards Nino
---
  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=kkid0709bid3057dat1642
  ___  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=kkid0709bid3057dat1642
 ___ 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 

RE: [Wicket-user] popup button

2006-05-18 Thread Nino Wael
Doh, im a little slow today.

When overriding I just call the super.onclick :)

This works fine:)

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael
Sent: 18. maj 2006 11:55
To: wicket-user@lists.sourceforge.net
Subject: RE: [Wicket-user] popup button

But I need to do something when it is clicked.. Is there any other component I 
could use instead?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius
Sent: 18. maj 2006 11:04
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] popup button

Don't override the onclick method.

Eelco


On 5/18/06, Nino Wael [EMAIL PROTECTED] wrote:





 Im now using the Pagelink which has the nice onClick event, when the new page 
 pops up its just a copy of the current page. And not the class I specified.





 Code:



 PageLink myReport = new PageLink(openword, PopupReport.class)

 {

   public void onClick()

 {

  // TODO Auto-generated method stub

   }

};





 Above code brings up a copy of the current page in the popup, but that's not 
 what I've specified.






















 -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael
  Sent: 18. maj 2006 10:35
  To: wicket-user@lists.sourceforge.net

  Subject: RE: [Wicket-user] popup button







 Hi Eelco



 It did. Thanks :)





 -regards Nino



 -Original Message-

 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius

 Sent: 17. maj 2006 12:41

 To: wicket-user@lists.sourceforge.net

 Subject: Re: [Wicket-user] popup button



 Simpler than that. I just added this example to wicket-examples/link-o-matic:



 Java:



 PopupSettings popupSettings = new

 PopupSettings(PageMap.forName(popuppagemap)).setHeight(500).setWidth(500);



 add(new BookmarkablePageLink(popupButtonLink,

 Popup.class).setPopupSettings(popupSettings));



 HTML:



 input type=submit wicket:id = popupButtonLink value=Click this

 button for a popup /



 The link actually attaches to the input tag. Like I said, it could

 attach to anything really, including buttons, table rows, etc.



 Hope this helps,



 Eelco





 On 5/17/06, Nino Wael [EMAIL PROTECTED] wrote:

  Ok, I think I need an example. I'll describe how I belive it works below 
  please correct me if im wrong:

 

  html

 

  input type=submit value=This is my popup wicket:id=btnpop /

  a href=# wicket:id=poplinkpop?/link

 

  /html

 

  java

 

PopupSettings popupSettings = new PopupSettings(PageMap

  .forName(popuppagemap), PopupSettings.MENU_BAR

  | PopupSettings.TOOL_BAR).setHeight(500).setWidth(500);

BookmarkablePageLink mylink;

mylink = new BookmarkablePageLink(popuplink, PopupInfo.class);

mylink.setPopupSettings(popupSettings);

mylink.setParameter(title, popTitle_omraade);

mylink.setParameter(infotext, popText_omraade);

 

Button openword = new Button(openword) {

 protected void onSubmit() { overide code}

  }

 

  openword.add(mylink);

  add(openword);

 

 

 

  /java

 

  -Oprindelig meddelelse-

  Fra: [EMAIL PROTECTED] på vegne af Eelco Hillenius

  Sendt: on 17-05-2006 12:05

  Til: wicket-user@lists.sourceforge.net

  Cc:

  Emne: Re: [Wicket-user] popup button

 

 

 

  Hi,

 

  You can use a Link with a PopupSpecification. And you can (or should

  be able to) actually attach a link to any tag, including a button 
  tag.

 

  Eelco

 

 

  On 5/17/06, Nino Wael [EMAIL PROTECTED] wrote:

  

  

  

  

   Hi

  

  

  

   Was wondering if any body has an example on howto create a popup 
  button?

   I've looked at the triggerbutton from the datepicker extension 
  but that

   seems to be too complex for such a simple thing?

  

  

  

   I want it to run the onsubmit method on the popupbutton and after 
  that it

   should make a popup, I tried using a normal button and a

   BookmarkablePageLink and calling the onClick event on the latter 
  but as it

   is now the onClick event does notting(its also written in the 
  documentation

   that it only implements onclick to satisfy interfaces).

  

  

  

   Regards Nino

  

  

  

  

 

 

  ---

  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

  

Re: [Wicket-user] popup button

2006-05-18 Thread Martijn Dashorst
2 words: hot coffee :-)(I feel your pain, having stared at an input screen where the input fields were empty instead of filled with values from the database. Wrapping my loadable model in a compoundpropertymodel solved that one, but it took about half an hour)
MartijnOn 5/18/06, Nino Wael [EMAIL PROTECTED] wrote:
Doh, im a little slow today.When overriding I just call the super.onclick :)This works fine:)-Original Message-From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of Nino WaelSent: 18. maj 2006 11:55To: 
wicket-user@lists.sourceforge.netSubject: RE: [Wicket-user] popup buttonBut I need to do something when it is clicked.. Is there any other component I could use instead?-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Eelco Hillenius
Sent: 18. maj 2006 11:04To: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] popup buttonDon't override the onclick method.Eelco
On 5/18/06, Nino Wael [EMAIL PROTECTED] wrote: Im now using the Pagelink which has the nice onClick event, when the new page pops up its just a copy of the current page. And not the class I specified.
 Code: PageLink myReport = new PageLink(openword, PopupReport.class) { public void onClick()
 {// TODO Auto-generated method stub }}; Above code brings up a copy of the current page in the popup, but that's not what I've specified.
 -Original Message-From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Nino Wael
Sent: 18. maj 2006 10:35To: wicket-user@lists.sourceforge.netSubject: RE: [Wicket-user] popup button
 Hi Eelco It did. Thanks :) -regards Nino -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
] On Behalf Of Eelco Hillenius Sent: 17. maj 2006 12:41 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] popup button
 Simpler than that. I just added this example to wicket-examples/link-o-matic: Java: PopupSettings popupSettings = new
 PopupSettings(PageMap.forName(popuppagemap)).setHeight(500).setWidth(500); add(new BookmarkablePageLink(popupButtonLink, Popup.class).setPopupSettings(popupSettings));
 HTML: input type=submit wicket:id = popupButtonLink value=Click this button for a popup /
 The link actually attaches to the input tag. Like I said, it could attach to anything really, including buttons, table rows, etc. Hope this helps,
 Eelco On 5/17/06, Nino Wael [EMAIL PROTECTED] wrote:  Ok, I think I need an example. I'll describe how I belive it works below please correct me if im wrong:
   html   input type=submit value=This is my popup wicket:id=btnpop /  a href="" wicket:id=poplinkpop?/link
   /html   java   PopupSettings popupSettings = new PopupSettings(PageMap  .forName(popuppagemap), 
PopupSettings.MENU_BAR  | PopupSettings.TOOL_BAR).setHeight(500).setWidth(500);  BookmarkablePageLink mylink;  mylink = new BookmarkablePageLink(popuplink, 
PopupInfo.class);  mylink.setPopupSettings(popupSettings);  mylink.setParameter(title, popTitle_omraade);  mylink.setParameter(infotext, popText_omraade);
   Button openword = new Button(openword) { protected void onSubmit() { overide code}  }   
openword.add(mylink);  add(openword); /java   -Oprindelig meddelelse-
  Fra: [EMAIL PROTECTED] på vegne af Eelco Hillenius  Sendt: on 17-05-2006 12:05
  Til: wicket-user@lists.sourceforge.net  Cc:  Emne: Re: [Wicket-user] popup button
 Hi,   You can use a Link with a PopupSpecification. And you can (or should
  be able to) actually attach a link to any tag, including a button tag.   EelcoOn 5/17/06, Nino Wael 
[EMAIL PROTECTED] wrote:
   Hi Was wondering if any body has an example on howto create a popup button?
   I've looked at the triggerbutton from the datepicker extension but that   seems to be too complex for such a simple thing?  
   I want it to run the onsubmit method on the popupbutton and after that it   should make a popup, I tried using a normal button and a
   BookmarkablePageLink and calling the onClick event on the latter but as it   is now the onClick event does notting(its also written in the documentation
   that it only implements onclick to satisfy interfaces). Regards Nino
---
  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=kkid0709bid3057dat1642
  ___  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 

Re: [Wicket-user] popup button

2006-05-18 Thread Eelco Hillenius

You  can also use any link you want with the popup specification
including something like

Link(link) {
 onClick() {
   setRepsonsePage(new YourPage());
 }
}


Eelco


On 5/18/06, Nino Wael [EMAIL PROTECTED] wrote:

But I need to do something when it is clicked.. Is there any other component I 
could use instead?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius
Sent: 18. maj 2006 11:04
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] popup button

Don't override the onclick method.

Eelco


On 5/18/06, Nino Wael [EMAIL PROTECTED] wrote:





 Im now using the Pagelink which has the nice onClick event, when the new page 
pops up its just a copy of the current page. And not the class I specified.





 Code:



 PageLink myReport = new PageLink(openword, PopupReport.class)

 {

   public void onClick()

 {

  // TODO Auto-generated method stub

   }

};





 Above code brings up a copy of the current page in the popup, but that's not 
what I've specified.






















 -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael
  Sent: 18. maj 2006 10:35
  To: wicket-user@lists.sourceforge.net

  Subject: RE: [Wicket-user] popup button







 Hi Eelco



 It did. Thanks :)





 -regards Nino



 -Original Message-

 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius

 Sent: 17. maj 2006 12:41

 To: wicket-user@lists.sourceforge.net

 Subject: Re: [Wicket-user] popup button



 Simpler than that. I just added this example to wicket-examples/link-o-matic:



 Java:



 PopupSettings popupSettings = new

 PopupSettings(PageMap.forName(popuppagemap)).setHeight(500).setWidth(500);



 add(new BookmarkablePageLink(popupButtonLink,

 Popup.class).setPopupSettings(popupSettings));



 HTML:



 input type=submit wicket:id = popupButtonLink value=Click this

 button for a popup /



 The link actually attaches to the input tag. Like I said, it could

 attach to anything really, including buttons, table rows, etc.



 Hope this helps,



 Eelco





 On 5/17/06, Nino Wael [EMAIL PROTECTED] wrote:

  Ok, I think I need an example. I'll describe how I belive it works below 
please correct me if im wrong:

 

  html

 

  input type=submit value=This is my popup wicket:id=btnpop /

  a href=# wicket:id=poplinkpop?/link

 

  /html

 

  java

 

PopupSettings popupSettings = new PopupSettings(PageMap

  .forName(popuppagemap), PopupSettings.MENU_BAR

  | PopupSettings.TOOL_BAR).setHeight(500).setWidth(500);

BookmarkablePageLink mylink;

mylink = new BookmarkablePageLink(popuplink, PopupInfo.class);

mylink.setPopupSettings(popupSettings);

mylink.setParameter(title, popTitle_omraade);

mylink.setParameter(infotext, popText_omraade);

 

Button openword = new Button(openword) {

 protected void onSubmit() { overide code}

  }

 

  openword.add(mylink);

  add(openword);

 

 

 

  /java

 

  -Oprindelig meddelelse-

  Fra: [EMAIL PROTECTED] på vegne af Eelco Hillenius

  Sendt: on 17-05-2006 12:05

  Til: wicket-user@lists.sourceforge.net

  Cc:

  Emne: Re: [Wicket-user] popup button

 

 

 

  Hi,

 

  You can use a Link with a PopupSpecification. And you can (or should

  be able to) actually attach a link to any tag, including a button 
tag.

 

  Eelco

 

 

  On 5/17/06, Nino Wael [EMAIL PROTECTED] wrote:

  

  

  

  

   Hi

  

  

  

   Was wondering if any body has an example on howto create a popup 
button?

   I've looked at the triggerbutton from the datepicker extension 
but that

   seems to be too complex for such a simple thing?

  

  

  

   I want it to run the onsubmit method on the popupbutton and after 
that it

   should make a popup, I tried using a normal button and a

   BookmarkablePageLink and calling the onClick event on the latter 
but as it

   is now the onClick event does notting(its also written in the 
documentation

   that it only implements onclick to satisfy interfaces).

  

  

  

   Regards Nino

  

  

  

  

 

 

  ---

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

  ___

   

[Wicket-user] Indeces based access with PropertyModel

2006-05-18 Thread Anders Peterson

Hi all,

With Wicket 1.1 (ognl) I could do this:

Loop tmpLoop = new Loop(instruments, Instrument.ALL.size()) {

protected void populateItem(LoopItem anItem) {

int tmpIter = anItem.getIteration();

anItem.add(new Label(name, 
Instrument.ALL.get(tmpIter).getName()));
anItem.add(new Label(market, new 
PropertyModel(tmpMod, marketWeights.toBigDecimal( + tmpIter + ,0;
anItem.add(new Label(raw, new PropertyModel(tmpMod, 
modifiedWeights.toBigDecimal( + tmpIter + ,0;
anItem.add(new Label(normalised, new 
PropertyModel(tmpMod, normalisedWeights.toBigDecimal( + tmpIter + 
,0;
anItem.add(new Label(optimised, new 
PropertyModel(tmpMod, optimisedWeights.toBigDecimal( + tmpIter + ,0;

}

};


Wicket 1.2 can't handle this:

...toBigDecimal( + tmpIter + ,0)

as a property.


Currently thinking about alternative solution. With my limited 
experience with Wicket I can only come up with rather messy solutions.


Any suggestions?

/Anders
--
http://ojalgo.org/

Mathematics, Linear Algebra and Optimisation with Java



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


Re: [Wicket-user] ListView.setVisible(false) doesn't work at AjaxFallbackLink

2006-05-18 Thread Bruno Borges
One thing at a time:1) setVisible works, when not doing through Ajax components like AjaxLink;2) ListView outputs one different id for each repeated line.3) when calling ListView.setVisible(false) from some onClick(AjaxRequestTarget), it does 
not works.So pay attention to 3': setVisible can be called from anywhere that ListView does not have to know about. And this problem I'm talking about, it's been called from an Ajax component. This let me conclude that this code 
should work:...final ListView listView = new ListView(list, items) { ... };
listView.setOutputMarkupId(true);add(listView);final Label label = new Label(foo, new Model(Foo));
AjaxFallbackLink link = new AjaxFallbackLink(ajaxLink) {
 public void onClick(AjaxRequestTarget target) {  listView.setVisible(false); label.setVisible
(false);  target.addComponent(label); // this one works  target.addComponent(list); // this does NOT works
 }};
add(link);...The way setVisible(false) is been called should not be important on how the component must behave. If it should, so in the javadoc would be needed to have some comment warning the user about that. 
Do not call setVisible(false) from Ajax components.That's what I think.On 5/18/06, Alvar Lumberg
 [EMAIL PROTECTED] wrote:yea, my bad. I was thinking about ajax side of things, sorry.
On 5/18/06, Johan Compagner [EMAIL PROTECTED] wrote: setVisible doesn't work? It should work fine listview will not get rendered when you set it to none
 visible. And yes (talking to igor) i think it is a bit stupid that we do generate the items when the listview is not visible.. johan On 5/18/06, Alvar Lumberg 
[EMAIL PROTECTED] wrote: Bruno, your problem is more of an issue with code beauty and design? I agree that it's a bit misleading to have an setVisible method that
 does nothing... As adding a fairly synthetic AjaxComponent subclass to Component for using as a parent for every ajax-enabled component doesn't seem justified, what if ListView (and other possible
 repeaters) would throw UnsupportedOperationException or something like that? Of course, that would mean making Component.setVisible not final... Alvar On 5/18/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote:  i disagree,  wicket's primary usecase is not ajax, but regular rendering. ajax is a very  nice bonus and does not always work as smoothly as we would like.
   now the ajax solution for the listview is quiet easy, put it into a  webmarkupcontainer and update that container instead of the listview via  ajax   WebMarkupContainer listviewcontainer=new
  WebMarkupContainer(listviewcontainer);  ListView listview=new ListView(listview, .   listviewContainer.add (listview);   span wicket:id=listviewcontainerulli
  wicket:id=listviewblah/li/ul/span   ... target.addComponent(listviewcontainer);   this has the added advantage of hiding the listview's container, be that a
  ul or a table   -Igor On 5/17/06, Bruno Borges  [EMAIL PROTECTED] wrote:
one thing we might try is to add an isvisible check to  internalOnAttach() so that lsitview does not create children if it is not visible. johan what do you think?
  Igor, the problem is that we need to make possible the call for  setVisible(false), just like any other component... _after_ the component
  was printed out (for example, hidding a list view within an AjaxLink). If this can't be done, ListView must be of other type except Component.
 On 5/17/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 Sure, I know about that, but the way we code for other things like  Label or TextField, it works, right? So, for ListView it should work too.
  It's a component just like other. listview is very much different from ordinary components like label and
  textfield. listview is a repeater. repeaters have no markup of their own and  they produce no markup.   the markup you assign to the listview using wicket:id the listview
  delegates to its children. the markup you see in the output generated by  listview does not come from the listview itself, but from its children that  render themselves.   
one thing we might try is to add an isvisible check to  internalOnAttach() so that lsitview does not create children if it is not  visible. johan what do you think?   
-Igor --   Bruno Borges   Summa Technologies
   --- 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?cmdlnkkid0709bid3057dat1642
 ___ 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 

Re: [Wicket-user] Reusing markup

2006-05-18 Thread Eelco Hillenius

There are more ways, but Borders, Panels and Fragments are the
preferred ones (and markup inheritancee of course). Is there anything
you can't do with them?

Eelco


On 5/18/06, Paulo Sérgio Medeiros [EMAIL PROTECTED] wrote:

Hi all,

im new to wicket and was wondering if 'reusable panels'
(http://www.javalobby.org/java/forums/t60926.html) is the
only way to reuse markup in wicket, and if there are another form of doing
this which is the best for which cases?

please, consider, when answering, 'static' markup reuse too, since im new
using xhtml i can be missing it also.

Thanks,
Paulo Sergio.




---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] ListView.setVisible(false) doesn't work at AjaxFallbackLink

2006-05-18 Thread Matej Knopp

Bruno Borges wrote:

One thing at a time:

1) setVisible works, when not doing through Ajax components like AjaxLink;

2) ListView outputs one different id for each repeated line.

3) when calling ListView.setVisible(false) from some 
onClick(AjaxRequestTarget), it does not works.


So pay attention to 3': setVisible can be called from anywhere that 
ListView does not have to know about. And this problem I'm talking 
about, it's been called from an Ajax component. This let me conclude 
that this code should work:


...
final ListView listView = new ListView(list, items) { ... };
listView.setOutputMarkupId(true);
add(listView);
final Label label = new Label(foo, new Model(Foo));

AjaxFallbackLink link = new AjaxFallbackLink(ajaxLink) {
public void onClick(AjaxRequestTarget target) {
listView.setVisible(false);
label.setVisible (false);
   
target.addComponent(label); // this one works

target.addComponent(list); // this does NOT works
}
};
add(link);
...

The way setVisible(false) is been called should not be important on how 
the component must behave. If it should, so in the javadoc would be 
needed to have some comment warning the user about that.  Do not call 
setVisible(false) from Ajax components.
But why? Of course setVisible works on listview, why wouldn't it? The 
problem is that you are adding the list view to target. You should add a 
component that contains the listview.


-Matej


That's what I think.

On 5/18/06, *Alvar Lumberg* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


yea, my bad. I was thinking about ajax side of things, sorry.

On 5/18/06, Johan Compagner [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
  setVisible doesn't work?
  It should work fine listview will not get rendered when you set
it to none
  visible.
 
  And yes (talking to igor) i think it is a bit stupid that we do
generate the
  items when the listview is not visible..
 
  johan
 
 
 
  On 5/18/06, Alvar Lumberg  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
  
   Bruno, your problem is more of an issue with code beauty and
design? I
  agree that it's a bit misleading to have an setVisible method that
  does nothing... As adding a fairly synthetic AjaxComponent
subclass to
  Component for using as a parent for every ajax-enabled component
  doesn't seem justified, what if ListView (and other possible
  repeaters) would throw UnsupportedOperationException or something
like
  that?
 
  Of course, that would mean making Component.setVisible not final...
 
  Alvar
 
  On 5/18/06, Igor Vaynberg  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
   i disagree,
   wicket's primary usecase is not ajax, but regular rendering.
ajax is a
  very
   nice bonus and does not always work as smoothly as we would like.
  
   now the ajax solution for the listview is quiet easy, put it into a
   webmarkupcontainer and update that container instead of the
listview via
   ajax
  
   WebMarkupContainer listviewcontainer=new
   WebMarkupContainer(listviewcontainer);
   ListView listview=new ListView(listview, .
  
   listviewContainer.add (listview);
  
   span wicket:id=listviewcontainerulli
   wicket:id=listviewblah/li/ul/span
  
   ... target.addComponent(listviewcontainer);
  
   this has the added advantage of hiding the listview's
container, be that a
   ul or a table
  
   -Igor
  
  
  
   On 5/17/06, Bruno Borges  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
   
   
 one thing we might try is to add an isvisible check to
   internalOnAttach() so that lsitview does not create children if
it is not
visible. johan what do you think?

   
   
Igor, the problem is that we need to make possible the call for
   setVisible(false), just like any other component... _after_ the
component
   was printed out (for example, hidding a list view within an
AjaxLink).
   
If this can't be done, ListView must be of other type except
Component.
   
   
   
   
   
   
   
On 5/17/06, Igor Vaynberg [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:




 
  Sure, I know about that, but the way we code for other
things like
   Label or TextField, it works, right? So, for ListView it should
work too.
   It's a component just like other.



 listview is very much different from ordinary components
like label
  and
   textfield. listview is a repeater. repeaters have no markup of
their own
  and
   they produce no markup.

 the markup you assign to the listview using 

Re: [Wicket-user] ListView.setVisible(false) doesn't work at AjaxFallbackLink

2006-05-18 Thread Bruno Borges
But why? Of course setVisible works on listview, why wouldn't it? Theproblem is that you are adding the list view to target. You should add a
component that contains the listview.Matej, ListView is a component conceptually equal to Label, TextField or whatever. The code I sent doesn't work. And yes I'm adding it to a target, the same way I do for a Label which works fine without adding it to a parent component.
On 5/18/06, Matej Knopp [EMAIL PROTECTED] wrote:
Bruno Borges wrote: One thing at a time: 1) setVisible works, when not doing through Ajax components like AjaxLink; 2) ListView outputs one different id for each repeated line.
 3) when calling ListView.setVisible(false) from some onClick(AjaxRequestTarget), it does not works. So pay attention to 3': setVisible can be called from anywhere that ListView does not have to know about. And this problem I'm talking
 about, it's been called from an Ajax component. This let me conclude that this code should work: ... final ListView listView = new ListView(list, items) { ... }; 
listView.setOutputMarkupId(true); add(listView); final Label label = new Label(foo, new Model(Foo)); AjaxFallbackLink link = new AjaxFallbackLink(ajaxLink) {
 public void onClick(AjaxRequestTarget target) { listView.setVisible(false); label.setVisible (false); target.addComponent(label); // this one works 
target.addComponent(list); // this does NOT works } }; add(link); ... The way setVisible(false) is been called should not be important on how the component must behave. If it should, so in the javadoc would be
 needed to have some comment warning the user about that.  Do not call setVisible(false) from Ajax components.But why? Of course setVisible works on listview, why wouldn't it? Theproblem is that you are adding the list view to target. You should add a
component that contains the listview.-Matej That's what I think. On 5/18/06, *Alvar Lumberg* [EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote: yea, my bad. I was thinking about ajax side of things, sorry. On 5/18/06, Johan Compagner 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: setVisible doesn't work? It should work fine listview will not get rendered when you set
 it to none visible. And yes (talking to igor) i think it is a bit stupid that we do generate the items when the listview is not visible..
 johan On 5/18/06, Alvar Lumberg  [EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote: Bruno, your problem is more of an issue with code beauty and design? I agree that it's a bit misleading to have an setVisible method that
 does nothing... As adding a fairly synthetic AjaxComponent subclass to Component for using as a parent for every ajax-enabled component doesn't seem justified, what if ListView (and other possible
 repeaters) would throw UnsupportedOperationException or something like that? Of course, that would mean making Component.setVisible not final...
 Alvar On 5/18/06, Igor Vaynberg  [EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote:  i disagree,  wicket's primary usecase is not ajax, but regular rendering. ajax is a very  nice bonus and does not always work as smoothly as we would like.
   now the ajax solution for the listview is quiet easy, put it into a  webmarkupcontainer and update that container instead of the listview via
  ajax   WebMarkupContainer listviewcontainer=new  WebMarkupContainer(listviewcontainer);  ListView listview=new ListView(listview, .
   listviewContainer.add (listview);   span wicket:id=listviewcontainerulli  wicket:id=listviewblah/li/ul/span
   ... target.addComponent(listviewcontainer);   this has the added advantage of hiding the listview's container, be that a
  ul or a table   -Igor On 5/17/06, Bruno Borges  
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:one thing we might try is to add an isvisible check to
  internalOnAttach() so that lsitview does not create children if it is not visible. johan what do you think? 
 Igor, the problem is that we need to make possible the call for  setVisible(false), just like any other component... _after_ the component
  was printed out (for example, hidding a list view within an AjaxLink). If this can't be done, ListView must be of other type except
 Component.  
   On 5/17/06, Igor Vaynberg [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 Sure, I know about that, but the way we code for other
 things like  Label or TextField, it works, right? So, for ListView it should work too.  It's a component just like other.   
  listview is very much different from ordinary components like label and  textfield. listview is a repeater. repeaters have no markup of
 their own and  they produce no markup.   the markup you assign to the listview using wicket:id the listview
  delegates to its children. the markup you see in the output generated by  listview does not come from the listview itself, but from its children that
  render themselves.   one thing we might try is to add an 

Re: [Wicket-user] ListView.setVisible(false) doesn't work at AjaxFallbackLink

2006-05-18 Thread Matej Knopp

Bruno Borges wrote:

But why? Of course setVisible works on listview, why wouldn't it? The
problem is that you are adding the list view to target. You should
add a
component that contains the listview.


Matej, ListView is a component conceptually equal to Label, TextField or 
whatever. The code I sent doesn't work. And yes I'm adding it to a 
target, the same way I do for a Label which works fine without adding it 
to a parent component.

ListView is an repeater. It works differently than label or TextField.

Btw. if you hide the label like this (you'll add the label to the target 
directly), you won't be able to show it untill you refresh the page. So 
you have to put it in a webmarkupcontainer anyway. (Wicket uses 
outerHtml to replace the component and if you want to show hidden label 
document.getElementById('labelId') will just return 'undefined').


-Matej



On 5/18/06, *Matej Knopp* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

Bruno Borges wrote:
  One thing at a time:
 
  1) setVisible works, when not doing through Ajax components like
AjaxLink;
 
  2) ListView outputs one different id for each repeated line.
 
  3) when calling ListView.setVisible(false) from some
  onClick(AjaxRequestTarget), it does not works.
 
  So pay attention to 3': setVisible can be called from anywhere that
  ListView does not have to know about. And this problem I'm talking
  about, it's been called from an Ajax component. This let me conclude
  that this code should work:
 
  ...
  final ListView listView = new ListView(list, items) { ... };
  listView.setOutputMarkupId(true);
  add(listView);
  final Label label = new Label(foo, new Model(Foo));
 
  AjaxFallbackLink link = new AjaxFallbackLink(ajaxLink) {
  public void onClick(AjaxRequestTarget target) {
  listView.setVisible(false);
  label.setVisible (false);
 
  target.addComponent(label); // this one works
  target.addComponent(list); // this does NOT works
  }
  };
  add(link);
  ...
 
  The way setVisible(false) is been called should not be important
on how
  the component must behave. If it should, so in the javadoc would be
  needed to have some comment warning the user about that.  Do not
call
  setVisible(false) from Ajax components.
But why? Of course setVisible works on listview, why wouldn't it? The
problem is that you are adding the list view to target. You should
add a
component that contains the listview.

-Matej
 
  That's what I think.
 
  On 5/18/06, *Alvar Lumberg* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
 
  yea, my bad. I was thinking about ajax side of things, sorry.
 
  On 5/18/06, Johan Compagner  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
wrote:
setVisible doesn't work?
It should work fine listview will not get rendered when
you set
  it to none
visible.
   
And yes (talking to igor) i think it is a bit stupid that
we do
  generate the
items when the listview is not visible..
   
johan
   
   
   
On 5/18/06, Alvar Lumberg  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:

 Bruno, your problem is more of an issue with code beauty and
  design? I
agree that it's a bit misleading to have an setVisible
method that
does nothing... As adding a fairly synthetic AjaxComponent
  subclass to
Component for using as a parent for every ajax-enabled
component
doesn't seem justified, what if ListView (and other possible
repeaters) would throw UnsupportedOperationException or
something
  like
that?
   
Of course, that would mean making Component.setVisible not
final...
   
Alvar
   
On 5/18/06, Igor Vaynberg  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
 i disagree,
 wicket's primary usecase is not ajax, but regular rendering.
  ajax is a
very
 nice bonus and does not always work as smoothly as we
would like.

 now the ajax solution for the listview is quiet easy,
put it into a
 webmarkupcontainer and update that container instead of the
  listview via
 ajax

 WebMarkupContainer listviewcontainer=new
 

[Wicket-user] LDAP Authentication

2006-05-18 Thread Michiel Trimpe








Has anyone already tried to implement LDAP-authentication
with Wicket?



If so, do you have some examples??



If not, could someone give me quick step-by-step pointers of
what is needed to implement it?



Kind regards,



Michiel Trimpe



P.S. Are 20Kb Page objects (as reported by the
inspector-bug) normal for Spring-Hibernate apps with fairly complex forms? 





Michiel Trimpe|Java Developer| TomTom | [EMAIL PROTECTED] | +31
(0)6 41482341mobile







This e-mail message contains information which is confidential and may be privileged. It is intended for use by the addressee only. If you are not the intended addressee, we request that you notify the sender immediately and delete or destroy this e-mail message and any attachment(s), without copying, saving, forwarding, disclosing or using its contents in any other way. TomTom N.V., TomTom International BV or any other company belonging to the TomTom group of companies will not be liable for damage relating to the communication by e-mail of data, documents or any other information.






[Wicket-user] tracking website usage

2006-05-18 Thread Frank Silbermann










If all the pages in my Wicket application
extend a common base page, what are some of the ways I could keep track of the
each pages popularity? Im
thinking of something I could put on the base page that, upon construction,
would identify the actual subclass being constructed and add it to that class
counter in persistent storage. 



Have any of you done something like this? If
so, how did you architect that capability?










Re: [Wicket-user] LDAP Authentication

2006-05-18 Thread Matej Knopp

Michiel Trimpe wrote:

Has anyone already tried to implement LDAP-authentication with Wicket?


Wicket has nothing to do with authentication. You might consider using
Acegi or JAAS for this.
Altough Acegi seems little over-complicated.
Hmm.. thinking of it, it would be nice to have a wicket implementation 
JAAS callback handler. Is anyone here using JAAS?
 


If so, do you have some examples??

 

If not, could someone give me quick step-by-step pointers of what is 
needed to implement it?

You may try to use the LDAP template
http://today.java.net/pub/a/today/2006/04/18/ldaptemplate-java-ldap-made-simple.html


 


Kind regards,

 


Michiel Trimpe

 

P.S. Are 20Kb Page objects (as reported by the inspector-bug) normal for 
Spring-Hibernate apps with fairly complex forms?

Seems quite normal to me.

-Matej


 

 

**Michiel Trimpe**| Java Developer| TomTom | [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] | +31 (0)6 41482341mobile


 



This e-mail message contains information which is confidential and may 
be privileged. It is intended for use by the addressee only. If you are 
not the intended addressee, we request that you notify the sender 
immediately and delete or destroy this e-mail message and any 
attachment(s), without copying, saving, forwarding, disclosing or using 
its contents in any other way. TomTom N.V., TomTom International BV or 
any other company belonging to the TomTom group of companies will not be 
liable for damage relating to the communication by e-mail of data, 
documents or any other information.






---
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] tracking website usage

2006-05-18 Thread Nick Heudecker
If you're using bookmarkable pages, you could just use a servlet filter. But that's really the same thing as processing your access logs. Another approach might be to wrap the various Link classes to log when pages are accessed. Cumbersome if you don't already have Link subclasses - which we do for access control. 
I'm not familiar enough with the Wicket internals. Maybe there's something easier.On 5/18/06, Frank Silbermann 
[EMAIL PROTECTED] wrote:


















If all the pages in my Wicket application
extend a common base page, what are some of the ways I could keep track of the
each page's popularity? I'm
thinking of something I could put on the base page that, upon construction,
would identify the actual subclass being constructed and add it to that class'
counter in persistent storage. 



Have any of you done something like this? If
so, how did you architect that capability?











Re: [Wicket-user] ListView.setVisible(false) doesn't work at AjaxFallbackLink

2006-05-18 Thread Igor Vaynberg
you have to understand how ajax works.ajax updates the regiout between the component's html tags and the tags themselves.take Labelin markup it is span wicket:id=labelsome text/span
if you update the text and add it to the target you get this html sent throughspan wicket:id=labelsome other text/spanand this region will then replace the old region and you see the update
now take listview - when it renders it has no html tags of its own, so what do we update on the client? its the same as rendering something with setRenderBodyOnly(true) - those components can then not be updated via ajax because they dont have the tags.
this is why putting these types of components into a webmarkup container works, that webmarkup container provides the tags and thereby a region of html that will be updated on the client.-Igor
On 5/18/06, Bruno Borges [EMAIL PROTECTED] wrote:
But why? Of course setVisible works on listview, why wouldn't it? The
problem is that you are adding the list view to target. You should add a
component that contains the listview.Matej, ListView is a component conceptually equal to Label, TextField or whatever. The code I sent doesn't work. And yes I'm adding it to a target, the same way I do for a Label which works fine without adding it to a parent component.
On 5/18/06, Matej Knopp 
[EMAIL PROTECTED] wrote:
Bruno Borges wrote: One thing at a time: 1) setVisible works, when not doing through Ajax components like AjaxLink; 2) ListView outputs one different id for each repeated line.

 3) when calling ListView.setVisible(false) from some onClick(AjaxRequestTarget), it does not works. So pay attention to 3': setVisible can be called from anywhere that ListView does not have to know about. And this problem I'm talking
 about, it's been called from an Ajax component. This let me conclude that this code should work: ... final ListView listView = new ListView(list, items) { ... }; 
listView.setOutputMarkupId(true); add(listView); final Label label = new Label(foo, new Model(Foo)); AjaxFallbackLink link = new AjaxFallbackLink(ajaxLink) {
 public void onClick(AjaxRequestTarget target) { listView.setVisible(false); label.setVisible (false); target.addComponent(label); // this one works
 
target.addComponent(list); // this does NOT works } }; add(link); ... The way setVisible(false) is been called should not be important on how the component must behave. If it should, so in the javadoc would be
 needed to have some comment warning the user about that.  Do not call setVisible(false) from Ajax components.But why? Of course setVisible works on listview, why wouldn't it? Theproblem is that you are adding the list view to target. You should add a
component that contains the listview.-Matej That's what I think. On 5/18/06, *Alvar Lumberg* 
[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote: yea, my bad. I was thinking about ajax side of things, sorry.
 On 5/18/06, Johan Compagner 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: setVisible doesn't work?
 It should work fine listview will not get rendered when you set
 it to none visible. And yes (talking to igor) i think it is a bit stupid that we do generate the items when the listview is not visible..
 johan On 5/18/06, Alvar Lumberg  
[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote: Bruno, your problem is more of an issue with code beauty and
 design? I agree that it's a bit misleading to have an setVisible method that
 does nothing... As adding a fairly synthetic AjaxComponent subclass to Component for using as a parent for every ajax-enabled component doesn't seem justified, what if ListView (and other possible
 repeaters) would throw UnsupportedOperationException or something like that? Of course, that would mean making Component.setVisible not final...
 Alvar On 5/18/06, Igor Vaynberg  
[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote:  i disagree,  wicket's primary usecase is not ajax, but regular rendering. ajax is a very  nice bonus and does not always work as smoothly as we would like.
   now the ajax solution for the listview is quiet easy, put it into a  webmarkupcontainer and update that container instead of the listview via
  ajax   WebMarkupContainer listviewcontainer=new  WebMarkupContainer(listviewcontainer);  ListView listview=new ListView(listview, .
   listviewContainer.add (listview);   span wicket:id=listviewcontainerulli  wicket:id=listviewblah/li/ul/span
   ... target.addComponent(listviewcontainer);   this has the added advantage of hiding the listview's container, be that a
  ul or a table   -Igor On 5/17/06, Bruno Borges  

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:  
  one thing we might try is to add an isvisible check to
  internalOnAttach() so that lsitview does not create children if it is not visible. johan what do you think? 
 Igor, the problem is that we need to make possible the call for  setVisible(false), just like any other component... _after_ the component
  was printed out (for example, hidding 

Re: [Wicket-user] tracking website usage

2006-05-18 Thread Igor Vaynberg
class BasePage {static MapClass,Integer counter=public BasePage() {int count=counter.get(getClass().getName());count++;counter.put(getClass().getName(), count);...}}
-IgorOn 5/18/06, Nick Heudecker [EMAIL PROTECTED] wrote:
If you're using bookmarkable pages, you could just use a servlet filter. But that's really the same thing as processing your access logs. Another approach might be to wrap the various Link classes to log when pages are accessed. Cumbersome if you don't already have Link subclasses - which we do for access control. 
I'm not familiar enough with the Wicket internals. Maybe there's something easier.On 5/18/06, 
Frank Silbermann 
[EMAIL PROTECTED] wrote:


















If all the pages in my Wicket application
extend a common base page, what are some of the ways I could keep track of the
each page's popularity? I'm
thinking of something I could put on the base page that, upon construction,
would identify the actual subclass being constructed and add it to that class'
counter in persistent storage. 



Have any of you done something like this? If
so, how did you architect that capability?













Re: [Wicket-user] LDAP Authentication

2006-05-18 Thread Timothy Bennett
On 5/18/06, Michiel Trimpe [EMAIL PROTECTED] wrote:















Has anyone already tried to implement LDAP-authentication
with Wicket?Yup, and in earnest. Check out what we are doing with Triplesec over at http://docs.safehaus.org/display/TRIPLESEC/Home
. Triplesec is a strong authentication identity management platform built on top of Apache Directory (http://directory.apache.org), and offers 2-factor authentication and authorization services using standards like LDAP, Kerberos, and HOTP.
We are using Wicket for the Triplesec server's web-based configuration wizard, admin application, account registration wizard, and demo apps, all of which require LDAP integration. In fact, if you are at JavaOne this week, you'll see the Triplesec-Wicket apps as part of the Triplesec presentation.
One of the cool things about Triplesec is that we also have some very nice API's for dealing with both authentication and authorization, and we've integrated these API's with Wicket. There is the Guardian API which is a read-only API for performing Kerberos (and LDAP) authentication and subsequent authorization by providing access to your application's security policy in the Triplesec LDAP store -- which gives you nice API's to access a user's security profile for your application accessing his roles, permissions, and denials. (
http://docs.safehaus.org/display/TRIPLESEC/Guardian+API+User%27s+Guide).There is also a read-write Admin API, which provides some nice APIs for managing users, password changes, application policies, security profiles, roles, and permissions.
Javadocs for the API's at http://triplesec.safehaus.org/maven/apidocs/index.html.At my day job... we are using Triplesec for Identity Management and my Wicket apps authenticate against Triplesec via Guardian. Integration with Wicket and Guardian's authorization API's provide my apps with role-based (and/or permission-based) access control at the deepest fine-grained component-level in Wicket.

If so, do you have some examples??Working on some docs at Safehaus now. When they are ready, I'll post here and update the Wicket wiki to point to them. I'm still putting the finishing touches on integration with Wicket's 
1.2 role-based authorization interfaces.
If not, could someone give me quick step-by-step pointers of
what is needed to implement it?Now that my shameless plug of Triplesec is over... if you can't use Triplesec for an Identity Management platform, or your application use case involves a vanilla LDAP integration, I might suggest you check out something like:
http://ldaptemplate.sourceforge.net/LdapTemplate is a project that seeks to provide a Spring Dao pattern for LDAP integration much like Spring's own JdbcTemplate and HibernateTemplate API's. It's on my TODO list, but I suspect you could take LdapTemplate and the Wicket-Spring integration extensions and have a nice Dao pattern for LDAP integration. But you'll have do all the work to set up your LDAP as a authN and authZ store
...which is what makes Triplesec and Guardian especially nice is that it is already setup as a specialized LDAP store for authN and authZ, including out-of-the-box support for optional one-time passwords generated by a midlet app you download to your cell phone instead of some keychain fob.
-- timothy


Re: [Wicket-user] LDAP Authentication

2006-05-18 Thread Eelco Hillenius

I think Topicus implemented that. Not sure... Martijn/ Johan?

Eelco


On 5/18/06, Matej Knopp [EMAIL PROTECTED] wrote:

Michiel Trimpe wrote:
 Has anyone already tried to implement LDAP-authentication with Wicket?

Wicket has nothing to do with authentication. You might consider using
Acegi or JAAS for this.
Altough Acegi seems little over-complicated.
Hmm.. thinking of it, it would be nice to have a wicket implementation
JAAS callback handler. Is anyone here using JAAS?


 If so, do you have some examples??



 If not, could someone give me quick step-by-step pointers of what is
 needed to implement it?
You may try to use the LDAP template
http://today.java.net/pub/a/today/2006/04/18/ldaptemplate-java-ldap-made-simple.html



 Kind regards,



 Michiel Trimpe



 P.S. Are 20Kb Page objects (as reported by the inspector-bug) normal for
 Spring-Hibernate apps with fairly complex forms?
Seems quite normal to me.

-Matej





 **Michiel Trimpe**| Java Developer| TomTom | [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] | +31 (0)6 41482341mobile



 
 This e-mail message contains information which is confidential and may
 be privileged. It is intended for use by the addressee only. If you are
 not the intended addressee, we request that you notify the sender
 immediately and delete or destroy this e-mail message and any
 attachment(s), without copying, saving, forwarding, disclosing or using
 its contents in any other way. TomTom N.V., TomTom International BV or
 any other company belonging to the TomTom group of companies will not be
 liable for damage relating to the communication by e-mail of data,
 documents or any other information.




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




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


Re: [Wicket-user] Indeces based access with PropertyModel

2006-05-18 Thread Johan Compagner
you could use ognl for that again by making a property model that uses ognl.But wicket property resolver will not support that syntax. It is just for properties on objects/maps and listsand simple method calls with no arguments.
but what you also can do is something like this:final int tmpIter = anItem.getIteration();Model model = new Model(normalisedWeights){ getObject(Compoent) { optimisedWeights = 
super.getObject(component); return optimisedWeights.toBigDecimal(tmpIter,0) }}On 5/18/06, Anders Peterson 
[EMAIL PROTECTED] wrote:Hi all,With Wicket 1.1 (ognl) I could do this:
 Loop tmpLoop = new Loop(instruments, Instrument.ALL.size()) { protected void populateItem(LoopItem anItem) { int tmpIter = anItem.getIteration();
 anItem.add(new Label(name,Instrument.ALL.get(tmpIter).getName())); anItem.add(new Label(market, newPropertyModel(tmpMod, marketWeights.toBigDecimal
( + tmpIter + ,0; anItem.add(new Label(raw, new PropertyModel(tmpMod,modifiedWeights.toBigDecimal( + tmpIter + ,0; 
anItem.add(new Label(normalised, newPropertyModel(tmpMod, normalisedWeights.toBigDecimal( + tmpIter +,0; anItem.add(new Label(optimised, new
PropertyModel(tmpMod, optimisedWeights.toBigDecimal( + tmpIter + ,0; } };Wicket 1.2 can't handle this:...toBigDecimal( + tmpIter + ,0)
as a property.Currently thinking about alternative solution. With my limitedexperience with Wicket I can only come up with rather messy solutions.Any suggestions?/Anders--
http://ojalgo.org/Mathematics, Linear Algebra and Optimisation with Java---Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


RE: [Wicket-user] tracking website usage

2006-05-18 Thread Frank Silbermann








Probably only in contruction. I want to know how often users are using
various pages, and not the number of operations they perform on each one. (In other words, the question is, How
important is this page to the users? rather than How much impact
does this page have on the performance of my website?) So I guess the page constructor is the right
place for it.



-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johan Compagner
Sent: Thursday, May 18, 2006 10:55
AM
To:
wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user]
tracking website usage



storing the getClass() and a counter looks to me like
the best thing to do.
Except is in construction only what you want or when the page is used
(rendered)

johan





On 5/18/06, Frank Silbermann [EMAIL PROTECTED]
wrote:









If all the pages in my Wicket application
extend a common base page, what are some of the ways I could keep track of the
each page's popularity? I'm thinking of something I could put on the base
page that, upon construction, would identify the actual subclass being
constructed and add it to that class' counter in persistent storage. 



Have any of you done
something like this? If so, how did you architect that capability?




















[Wicket-user] Collapsing Bar in Wicket

2006-05-18 Thread Ayodeji Aladejebi
This sliding effect collapsing side menu bar like the one in the Echo2 App Demo http://demo.nextapp.com/Demo/app i was tryin to do it with wicket but i was tempted to go the _javascript_ way again. Is there an wicket-extension package that can make this easy to build in wicket just like the TabbedPane?
thank yu


[Wicket-user] Error in Wicket Bench

2006-05-18 Thread Ayodeji Aladejebi
please is someone here using the wicket bench? i keep getting this error when attempting to run my applicationException in thread main java.lang.ArrayIndexOutOfBoundsException: 0 at wicketbench.runner.Main.main
(Main.java:10)I am using Eclipse 3.2M2any help..thanks


Re: [Wicket-user] Collapsing Bar in Wicket

2006-05-18 Thread Igor Vaynberg
i dont think there is a component like that right now, but feel free to contribute one :)-IgorOn 5/18/06, Ayodeji Aladejebi 
[EMAIL PROTECTED] wrote:This sliding effect collapsing side menu bar like the one in the Echo2 App Demo 
http://demo.nextapp.com/Demo/app i was tryin to do it with wicket but i was tempted to go the _javascript_ way again. Is there an wicket-extension package that can make this easy to build in wicket just like the TabbedPane?
thank yu




Re: [Wicket-user] Collapsing Bar in Wicket

2006-05-18 Thread Ayodeji Aladejebi
:D. okay pls who has links to any free cross browser _javascript_ library that can do this?thank yuOn 5/18/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote:i dont think there is a component like that right now, but feel free to contribute one :)
-IgorOn 5/18/06, Ayodeji Aladejebi 

[EMAIL PROTECTED] wrote:This sliding effect collapsing side menu bar like the one in the Echo2 App Demo 
http://demo.nextapp.com/Demo/app i was tryin to do it with wicket but i was tempted to go the _javascript_ way again. Is there an wicket-extension package that can make this easy to build in wicket just like the TabbedPane?
thank yu






Re: [Wicket-user] Collapsing Bar in Wicket

2006-05-18 Thread Martijn Dashorst
rico has one, and Dojo also.MartijnOn 5/18/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
:D. okay pls who has links to any free cross browser _javascript_ library that can do this?
thank yuOn 5/18/06, Igor Vaynberg 

[EMAIL PROTECTED] wrote:i dont think there is a component like that right now, but feel free to contribute one :)
-IgorOn 5/18/06, Ayodeji Aladejebi 


[EMAIL PROTECTED] wrote:This sliding effect collapsing side menu bar like the one in the Echo2 App Demo 
http://demo.nextapp.com/Demo/app i was tryin to do it with wicket but i was tempted to go the _javascript_ way again. Is there an wicket-extension package that can make this easy to build in wicket just like the TabbedPane?
thank yu





-- Wicket 1.2 is coming! Write Ajax applications without touching _javascript_!-- http://wicketframework.org


Re: [Wicket-user] Collapsing Bar in Wicket

2006-05-18 Thread Ayodeji Aladejebi
are we still someday soon expecting wicket-dojo-contrib...jeez i really loved what i was learning with the old wicket-dojo until Wicket 1.2 was no longer compatible.On 5/18/06, 
Martijn Dashorst [EMAIL PROTECTED] wrote:
rico has one, and Dojo also.MartijnOn 5/18/06, Ayodeji Aladejebi 
[EMAIL PROTECTED] wrote:
:D. okay pls who has links to any free cross browser _javascript_ library that can do this?
thank yuOn 5/18/06, Igor Vaynberg 


[EMAIL PROTECTED] wrote:i dont think there is a component like that right now, but feel free to contribute one :)
-IgorOn 5/18/06, Ayodeji Aladejebi 



[EMAIL PROTECTED] wrote:This sliding effect collapsing side menu bar like the one in the Echo2 App Demo 
http://demo.nextapp.com/Demo/app i was tryin to do it with wicket but i was tempted to go the _javascript_ way again. Is there an wicket-extension package that can make this easy to build in wicket just like the TabbedPane?
thank yu





-- Wicket 1.2 is coming! Write Ajax applications without touching _javascript_!-- 
http://wicketframework.org




Re: [Wicket-user] Collapsing Bar in Wicket

2006-05-18 Thread Igor Vaynberg
if someone wants to maintain it then go ahead, we can add you to wicket-stuff. i dont think the core team has the resources for it.also as far as collapsable pane goes, i would use something small like moo.fx
-IgorOn 5/18/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
are we still someday soon expecting wicket-dojo-contrib...jeez i really loved what i was learning with the old wicket-dojo until Wicket 1.2 was no longer compatible.
On 5/18/06, 
Martijn Dashorst [EMAIL PROTECTED] wrote:

rico has one, and Dojo also.MartijnOn 5/18/06, Ayodeji Aladejebi 

[EMAIL PROTECTED] wrote:
:D. okay pls who has links to any free cross browser _javascript_ library that can do this?
thank yuOn 5/18/06, Igor Vaynberg 



[EMAIL PROTECTED] wrote:i dont think there is a component like that right now, but feel free to contribute one :)
-IgorOn 5/18/06, Ayodeji Aladejebi 




[EMAIL PROTECTED] wrote:This sliding effect collapsing side menu bar like the one in the Echo2 App Demo 
http://demo.nextapp.com/Demo/app i was tryin to do it with wicket but i was tempted to go the _javascript_ way again. Is there an wicket-extension package that can make this easy to build in wicket just like the TabbedPane?
thank yu





-- Wicket 1.2 is coming! Write Ajax applications without touching _javascript_!-- 

http://wicketframework.org






Re: [Wicket-user] Collapsing Bar in Wicket

2006-05-18 Thread Martijn Dashorst
The dojo.js library is a product under very high construction. Our full time students had a really hard time of working with it. This makes is very hard to actually implement anything stable. The students have now joined our company, but we put a lot of work on their shoulders so that they can't contribute anymore.
I heard someone volunteering to pick the pieces up (don't remember who), so if anyone wants to get his/her hands dirty on supporting an open source project, now is your chance.The wicket stuff project has been created to allow anyone to contribute to wicket, and support those packages the core developers don't have time for. Dojo, scriptaculous and such are those packages.
MartijnOn 5/18/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
are we still someday soon expecting wicket-dojo-contrib...jeez i really loved what i was learning with the old wicket-dojo until Wicket 1.2 was no longer compatible.
On 5/18/06, 
Martijn Dashorst [EMAIL PROTECTED] wrote:

rico has one, and Dojo also.MartijnOn 5/18/06, Ayodeji Aladejebi 

[EMAIL PROTECTED] wrote:
:D. okay pls who has links to any free cross browser _javascript_ library that can do this?
thank yuOn 5/18/06, Igor Vaynberg 



[EMAIL PROTECTED] wrote:i dont think there is a component like that right now, but feel free to contribute one :)
-IgorOn 5/18/06, Ayodeji Aladejebi 




[EMAIL PROTECTED] wrote:This sliding effect collapsing side menu bar like the one in the Echo2 App Demo 
http://demo.nextapp.com/Demo/app i was tryin to do it with wicket but i was tempted to go the _javascript_ way again. Is there an wicket-extension package that can make this easy to build in wicket just like the TabbedPane?
thank yu





-- Wicket 1.2 is coming! Write Ajax applications without touching _javascript_!-- 

http://wicketframework.org



-- Wicket 1.2 is coming! Write Ajax applications without touching _javascript_!-- http://wicketframework.org


Re: [Wicket-user] Google Web Toolkit integration ?

2006-05-18 Thread Igor Vaynberg
Well, next time also look into the FormLayout of the JGoodies (Forms)fame. It's easy to do by hand, even easier if you use the factories and
builders it provides. Excellent library JGoodies, it's my choice as alayout manager for the desktop.sure, but html is about much much more then just form layout.-Igor


Re: [Wicket-user] tracking website usage

2006-05-18 Thread Eelco Hillenius

Many ways to do it. You might even consider throwing in some AOP.

Eelco


On 5/18/06, Frank Silbermann [EMAIL PROTECTED] wrote:





Probably only in contruction.  I want to know how often users are using
various pages, and not the number of operations they perform on each one.
(In other words, the question is, How important is this page to the users?
rather than How much impact does this page have on the performance of my
website?)  So I guess the page constructor is the right place for it.




-Original Message-
 From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Johan Compagner
 Sent: Thursday, May 18, 2006 10:55 AM
 To: wicket-user@lists.sourceforge.net
 Subject: Re: [Wicket-user] tracking website usage



storing the getClass() and a counter looks to me like the best thing to do.
 Except is in construction only what you want or when the page is used
(rendered)

 johan





On 5/18/06, Frank Silbermann [EMAIL PROTECTED] wrote:





If all the pages in my Wicket application extend a common base page, what
are some of the ways I could keep track of the each page's popularity?  I'm
thinking of something I could put on the base page that, upon construction,
would identify the actual subclass being constructed and add it to that
class' counter in persistent storage.



Have any of you done something like this?  If so, how did you architect that
capability?






---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] LDAP Authentication

2006-05-18 Thread Johan Compagner
i was waiting for Mr JAAS to respond... MAURICE! where are you!johanOn 5/18/06, Eelco Hillenius 
[EMAIL PROTECTED] wrote:I think Topicus implemented that. Not sure... Martijn/ Johan?
EelcoOn 5/18/06, Matej Knopp [EMAIL PROTECTED] wrote: Michiel Trimpe wrote:  Has anyone already tried to implement LDAP-authentication with Wicket?
  Wicket has nothing to do with authentication. You might consider using Acegi or JAAS for this. Altough Acegi seems little over-complicated. Hmm.. thinking of it, it would be nice to have a wicket implementation
 JAAS callback handler. Is anyone here using JAAS?If so, do you have some examples?? If not, could someone give me quick step-by-step pointers of what is
  needed to implement it? You may try to use the LDAP template http://today.java.net/pub/a/today/2006/04/18/ldaptemplate-java-ldap-made-simple.html
 Kind regards, Michiel Trimpe P.S. Are 20Kb Page objects (as reported by the inspector-bug) normal for
  Spring-Hibernate apps with fairly complex forms? Seems quite normal to me. -Matej   **Michiel Trimpe**| Java Developer| TomTom | 
[EMAIL PROTECTED]  mailto:[EMAIL PROTECTED] | +31 (0)6 41482341mobile  
     This e-mail message contains information which is confidential and may  be privileged. It is intended for use by the addressee only. If you are
  not the intended addressee, we request that you notify the sender  immediately and delete or destroy this e-mail message and any  attachment(s), without copying, saving, forwarding, disclosing or using
  its contents in any other way. TomTom N.V., TomTom International BV or  any other company belonging to the TomTom group of companies will not be  liable for damage relating to the communication by e-mail of data,
  documents or any other information.  --- Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user---
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



[Wicket-user] anyone at java one?

2006-05-18 Thread evan

Any wicket users/contributors at Java one?
If so, want to meet and go for a drink tonight?
 I will buy a few rounds as part of my company's contribution back to 
the community :)


Sorry for late notice.

-evan



---
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] LDAP Authentication

2006-05-18 Thread Timothy Bennett
On 5/18/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Timothy, you rock!Not me... These are the guys that rock... http://docs.safehaus.org/display/TRIPLESEC/TeamAnyway... While I'm not Mr. JAAS, I would like to point out that Guardian uses a subclass of the JAAS Krb5LoginModule to perform authentication and that it returns a SafehausPrincipal, which is a specialized subclass of the JAAS Principal. The SafehausPrincipal exposes the authenticated user's authorization Profile for the given application with which to apply RBAC.



Re: [Wicket-user] anyone at java one?

2006-05-18 Thread Akira Ueda

Hi,
I'm not at javaone while stay very close to moscone center...
Is is possible to join you for me?

-Akira

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

Unfortunately, none of the core comitters are. But Timothy, Geertjan,
Petr and maybe others are there. So if they read this in time...

Eelco


On 5/18/06, evan [EMAIL PROTECTED] wrote:
 Any wicket users/contributors at Java one?
 If so, want to meet and go for a drink tonight?
   I will buy a few rounds as part of my company's contribution back to
 the community :)

 Sorry for late notice.

 -evan



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



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


Re: [Wicket-user] Reusing markup

2006-05-18 Thread Paulo Sérgio Medeiros
I don't think so :-)Well, i took a look on them and i think i can now use it.But before i can use it i have one question ... im building a menu for my site and in that, the link for the current page uses a diferent css class, like in this example:
div id=sidebara href="">a class=active href=""
Other/a/divHow can i set the class=active for the current page if the menu markup is in, for example, a Panel? ps: if is there any better way to achieve this, im opened for sugestions :-)
Thanks for help,Paulo Sérgio.   On 5/18/06, Eelco Hillenius [EMAIL PROTECTED]
 wrote:There are more ways, but Borders, Panels and Fragments are thepreferred ones (and markup inheritancee of course). Is there anything
you can't do with them?EelcoOn 5/18/06, Paulo Sérgio Medeiros [EMAIL PROTECTED] wrote: Hi all, im new to wicket and was wondering if 'reusable panels'
 (http://www.javalobby.org/java/forums/t60926.html) is the only way to reuse markup in wicket, and if there are another form of doing this which is the best for which cases?
 please, consider, when answering, 'static' markup reuse too, since im new using xhtml i can be missing it also. Thanks, Paulo Sergio.---
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



Re: [Wicket-user] Reusing markup

2006-05-18 Thread Igor Vaynberg
there are a couple of things you can doby default if the link is disabled wicket will morph the tag, so instead of a href="">it will becomeemtext/emso you can use css selector sidebar em to style that text, but the text is not a link. you can also change the em globally in wicket settings to any markup you want
if you use PageLink then the link for the current page will automatically be disabled for you.if you do want the link for the current page to remain a link you can add an attribute modifier to it, something like this:
Link link=new Link(..link.add(new SimpleAttributeModifier(class, active) { boolean isEnabled() { return logic to figure out if this lin is active or not }
}hope this gets you started-IgorOn 5/18/06, Paulo Sérgio Medeiros [EMAIL PROTECTED]
 wrote:I don't think so :-)Well, i took a look on them and i think i can now use it.
But before i can use it i have one question ... im building a menu for my site and in that, the link for the current page uses a diferent css class, like in this example:
div id=sidebara href="">a class=active href=""

Other/a/divHow can i set the class=active for the current page if the menu markup is in, for example, a Panel? ps: if is there any better way to achieve this, im opened for sugestions :-)
Thanks for help,Paulo Sérgio.   On 5/18/06, 
Eelco Hillenius [EMAIL PROTECTED]
 wrote:There are more ways, but Borders, Panels and Fragments are thepreferred ones (and markup inheritancee of course). Is there anything
you can't do with them?EelcoOn 5/18/06, Paulo Sérgio Medeiros [EMAIL PROTECTED] wrote:
 Hi all, im new to wicket and was wondering if 'reusable panels'
 (http://www.javalobby.org/java/forums/t60926.html) is the only way to reuse markup in wicket, and if there are another form of doing
 this which is the best for which cases?
 please, consider, when answering, 'static' markup reuse too, since im new using xhtml i can be missing it also. Thanks, Paulo Sergio.---
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnkkid0709bid3057dat1642
___
Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





[Wicket-user] help, setModel

2006-05-18 Thread ketan gote
hello

friends ,
we are fetching some values from database and displaying in some TextField bu model,
on other part we have one image link on page on which on onClick method
we want to get all the form component value, which we are not able to
get

wating for reply

regards

ketan d.gote


[Wicket-user] help

2006-05-18 Thread ketan gote
hello
friends

we want to change the images on diffrent events 
eg:
suppose there is one image on its onMouseOver method we want to replace previous image is diaplyed on form
wating for reply

regards
ketan d.gote


Re: [Wicket-user] can'nt read wiki

2006-05-18 Thread ali

now i can not read any page of wiki

i no has a virus, firewall ,

i test opera, firefox, IE ,
=
On Thu, 18 May 2006 12:18:34 +0430, Gwyn Evans [EMAIL PROTECTED]  
wrote:



Hi,
  I'm not sure of the exact issue there, but on the other hand, as
it'll cost if we exceed the bandwidth, I'm not really sure that I want
to encourage the practice of periodically auto-downloading the Wiki...

  It might be that this product uses HEAD requests to check if the
download's needed but even so, spiders/robots aren't particularly web
suited to wiki's, as there are too many links that they'll follow that
are not relevent.  I looked at the product's web site, but the focus
is (as expected) on downloading the site's quickly rather than on
minimising the bandwidth used, so can't tell exactly what it does...

  Anyway, the best way to see the changes is the Recent Changes,
which is available either as a HTML page
(http://www.wicket-wiki.org.uk/wiki/index.php/Special:Recentchanges)
or as Rss  Atom feeds
(http://www.wicket-wiki.org.uk/wiki/index.php?title=Special:Recentchangesfeed=rss
and  
http://www.wicket-wiki.org.uk/wiki/index.php?title=Special:Recentchangesfeed=atom).


/Gwyn

On 18/05/06, ali [EMAIL PROTECTED] wrote:

please help , i would use offline explorer to track changes and auto
update downloaded
wiki pages but wiki reponse me this :

Precondition Failed
We're sorry, but we could not fulfill your request for  =

/wiki/index.php/FAQs on this server.
.



---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


---
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=lnkkid0709bid3057dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user