[Wicket-user] Tree

2006-07-29 Thread henk laracker

Hello,
I use the wicket tree component, is it possible to disable the style sheet?
Because we want to use our own.
Thank you,

Henk LarackerLead ArchitectDevelopmentPlanon B.V.Wijchenseweg 86537 TL NijmegenP.O
. Box 380746503 AB NijmegenThe NetherlandsT: +31 (0) 24 641 3135F: +31 (0) 24 642 2942E: [EMAIL PROTECTED]W: 
www.planon-fm.com
Deze email en alle bijlagen zijn slechts voor gebruik door de beoogde ontvanger. De email kan intellectueel eigendom en/of vertrouwelijke informatie bevatten. Het mag niet worden gekopieerd, openbaar gemaakt, bewaard of gebruikt worden door anderen dan waarvoor deze bestemd is. Bent u niet de beoogde ontvanger,verwijdert u dan deze email met alle bijlagen en kopieën onmiddellijk en informeer de afzender.

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.




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


Re: [Wicket-user] apache wicket?

2006-07-29 Thread Igor Vaynberg
On 7/27/06, Steven Mak [EMAIL PROTECTED] wrote:
Hi,I have some queries on this:- What's the benefits of joining ASF then?the benefits that we see are outlined in the proposal - there is a link in my original email
- How to determine if Wicket is ready to graduate?
here is a quote from irc on the subject from one of our ASF mentors:Upayavira pchapman: see http://incubator.apache.org/incubation/Incubation_Policy.html#Exiting+the+Incubator
Upayavira pchapman: There are concretes, but there is also the more subtle stuff - do people feel you've integrated into ASF. That's the more vague stuff. 
- How do ASF decides who is joining them? They already have Struts, Tapestry, and some others related frameworks. Do they have any criteria to choose? or would they take it as any kind of conflicts due to similar nature with existing projects?
im not 100% sure. like i stated in the orig email, we put the proposal in and if we get 3 +1 and 0 -1 we are in as far as the incubation goes.i will cc our ASF mentors, they might have more to say since they are more knowledgable in the ways of the ASF. the wicket team, i think i speak for all of us, is not very much into the beurocratic stuff so this is as much a learning experience for us as it is for you. we are coders :)
-Igor
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] IBATIS (and Spring)

2006-07-29 Thread Gwyn Evans
While there's nothing too Wicket-specific needed to use iBATIS with
Wicket, I've nevertheless created a page on the Wiki that may be of
interest if anyone's considering it's use.

It also shows an example of Spring configuration and covers Oracle
paging, but they're peripheral to the main point - See
http://www.wicket-wiki.org.uk/wiki/index.php/IBATIS for more info.

/Gwyn

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


Re: [Wicket-user] AjaxSubmitLink and history

2006-07-29 Thread Matej Knopp
Igor Vaynberg wrote:
 this happens because ajax requests turn off versioning, otherwise there 
 would be all kinds of problems with page expiration - take selfupdating 
 ajax stuff - 10 updates and all other pages are out of the pagemap so if 
 you click the back button and a link on the prev page you get page 
 expired error. im not really sure what the best solution here is. maybe 
 you can manually call page/component.setversioned(true) and turn the 
 versioning on before you update the model, but then be aware of the page 
 expiration i described above.
 
 i know matej has been working on hybrid urls that /might/ ease the pain 
 somewhat, but i dont know where he is on that.
Hybrid urls (at least those that could allow ajax request to update 
urls) are not possible. When I was initially thinking about it I didn't 
realize that the hash (part of url after #) is not part of http request 
url, so there's no way to read it on server (which sucks).

-Matej
 
 -Igor
 
 
 On 7/27/06, * Eelco Hillenius* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 Keep in mind that those model changing methods clone you model and
 roll back to those old models when the back button is pushed. In my
 experience this is rarely what you want, certainly not if you use a
 database etc (in which case you would typically get the fresh data
 from the database on each call).
 
 I can't really think of what else it might be... Are you absolutely
 sure the models are updated with those ajax request? Does the input
 validate?
 
 Eelco
 
 
 On 7/26/06, Alexei Sokolov  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
   Hello,
  
   I have small problem with ajaxsubmitlink.
  
   I have a page with a form which can be submitted by either a
 regular button
   or an ajaxsubmitlink. In onSubmit method of ajaxsubmitlink I
 update the
   form's model and display updated fields using
   AjaxRequestTarget.addComponent(). Regular button takes the user
 to another
   page.
   Everything works great, except the following scenario: i click
   ajaxsubmitlink (which updates the form's model) and then click
 regular
   submit button. From the page displayed I click 'back' button in
 the browser.
   Now, my form has values which were on it BEFORE I clicked
 ajaxsubmitlink. I
   decorated model updates with modelChanging/modelChanged calls,
 what else is
   missing for proper back button functioning?
  
   Thank you,
   Alex
  
  
 -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
 share your
   opinions on IT  business topics through brief surveys -- and
 earn cash
  
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
 share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


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

Re: [Wicket-user] Testing Wicket 1.2 on Glassfish b48

2006-07-29 Thread Eelco Hillenius
See http://www.nabble.com/New-pom-structure-tf1870006.html

I think Martijn tweaked it a bit after that, but he'd better explain
that himself :)

Btw, Frank made a nice search service for Wicket messages etc:
http://woogle.billen.dk . Might make it easier to find stuff like
this.


Eelco


On 7/26/06, Vincent Jenks [EMAIL PROTECTED] wrote:
 Also, I'm not able to build Wicket 1.2.1 w/ maven like I did w/ 1.2.

 In the top-level 'wicket' folder doing mvn install
 -Dmaven.test.skip=true gives me this:

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


[Wicket-user] How to check checkBoxes ?

2006-07-29 Thread Alban Duval
Hi all,

I'd like to know how to programatically check the check boxes in 
CheckGroup ?

Thanks,
AD.

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


Re: [Wicket-user] apache wicket?

2006-07-29 Thread Scott Sauyet
Igor Vaynberg wrote:
 the core wicket team has decided to join the ASF and make wicket a top 
 level apache project (wicket.apache.org http://wicket.apache.org)

That's very exciting!  Good luck with the process.

I think this can only help.  I'm embarking on a fairly large web-app in 
JSF.  I argued for Wicket, but the client was leery of something without 
the brand name behind it.  I think becoming part of the ASF might help 
swing the next one.

I look forward to seeing this proceed.

   -- Scott


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


[Wicket-user] Tree

2006-07-29 Thread Henk Laracker
Title: Tree






Hello,

I use the wicket tree component, is it possible to disable the style sheet?

Because we want to use our own.

Thank you,



Henk Laracker
Lead Architect
Development


Planon B.V.
Wijchenseweg 8
6537 TL Nijmegen
P.O. Box 38074
6503 AB Nijmegen
The Netherlands
T: +31 (0) 24 641 3135
F: +31 (0) 24 642 2942
E: [EMAIL PROTECTED]
W: www.planon-fm.com


Deze email en alle bijlagen zijn slechts voor gebruik door de beoogde ontvanger. De email kan intellectueel eigendom en/of vertrouwelijke informatie bevatten. Het mag niet worden gekopieerd, openbaar gemaakt, bewaard of gebruikt worden door anderen dan waarvoor deze bestemd is. Bent u niet de beoogde ontvanger,verwijdert u dan deze email met alle bijlagen en kopieën onmiddellijk en informeer de afzender.

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.








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


Re: [Wicket-user] Apache Wicket!

2006-07-29 Thread Jean-Baptiste Quenot
* Igor Vaynberg:

 the core wicket team has decided to join the ASF and make wicket
 a top level apache project (wicket.apache.org)

Wow, that's great news!  I find it very exciting that Wicket joins
Apache.

* Steven Mak:

 I have some queries on this:

 snip/ - How  do ASF decides who is  joining them? They already
 have Struts,  Tapestry, and  some others  related frameworks. Do
 they  have any  criteria to  choose? or  would they  take it  as
 any  kind of  conflicts due  to similar  nature with  existing
 projects?

One thing  I can tell you  is that some Apache  people are already
using Wicket,  highly appreciated  because it is  lightweight, not
intrusive, and gives power back to the programmer.  Thus this move
is more than welcome.

Concerning the other web application frameworks at Apache, I would
talk about « competition » rather  than « conflicts ».  This shows
that Wicket is not « just another framework », but that it is high
quality software  standing in  good place  next to  the well-known
others (you didn't mention Cocoon BTW).

And about  moving from  SourceForge to  Apache, don't  forget that
SourceForge  is an  OSS  *repository*, whereas  Apache  is an  OSS
*community*, i.e. a group of people knowing each other.

Long life to Apache Wicket ;-)
-- 
 Jean-Baptiste Quenot
aka  John Banana Qwerty
http://caraldi.com/jbq/

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


[Wicket-user] link to other frame

2006-07-29 Thread Арву Оетук
Hi All!


How can I reload frame in other frame without reload main page (page with 
framesets)?
I create link like 
a href=# wicket:id=tmp target=objViewddd/a
and in code
  add(new BookmarkablePageLink(tmp,HomePage.class));

but this code open new Window.

If I create link as discribed in example then new Window with Framesets opend 
(open only once - if i click this link in new window third window not appear).

Dmitry.

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


Re: [Wicket-user] apache wicket?

2006-07-29 Thread Upayavira
Igor Vaynberg wrote:
 On 7/27/06, *Steven Mak* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
 Hi,
 
 I have some queries on this:
 
 - What's the benefits of joining ASF then?
 
 
 the benefits that we see are outlined in the proposal - there is a link
 in my original email
 
 - How to determine if Wicket is ready to graduate?
 
 
 here is a quote from irc on the subject from one of our ASF mentors:
 Upayavira pchapman: see
 http://incubator.apache.org/incubation/Incubation_Policy.html#Exiting+the+Incubator
 http://incubator.apache.org/incubation/Incubation_Policy.html#Exiting+the+Incubator
 Upayavira pchapman: There are concretes, but there is also the more
 subtle stuff - do people feel you've integrated into ASF. That's the
 more vague stuff.
 
 - How do ASF decides who is joining them? They already have Struts,
 Tapestry, and some others related frameworks. Do they have any
 criteria to choose? or would they take it as any kind of conflicts
 due to similar nature with existing projects? 

Competition isn't a problem at Apache. Competition is only a problem
when you have a scarcity of resource.

 im not 100% sure. like i stated in the orig email, we put the proposal
 in and if we get 3 +1 and 0 -1 we are in as far as the incubation goes.

Yes. Really, in the end it comes down to what ASF members want to have
in the ASF. If they feel a project fits the ASF way, and the project is
interested, then welcome.

 i will cc our ASF mentors, they might have more to say since they are
 more knowledgable in the ways of the ASF. the wicket team, i think i
 speak for all of us, is not very much into the beurocratic stuff so this
 is as much a learning experience for us as it is for you. we are coders :)

As are pretty much all Apache folks too. I think it'll be a good fit.

There will be beaurocracy to handle, but I've seen it all done before,
and will do my best to make it a smooth ride for all Wicket folks.

I'm now on this list, so feel free to ask any further questions (subject
to SF servers actually delivering mail)

Regards, Upayavira


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


Re: [Wicket-user] How can I use markup containers in head?

2006-07-29 Thread jan_bar
Never mind, it works fine. Jan

jan_bar [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi,

 how can I handle this problem:

 head
 wicket:head
 meta wicket:id=description name=description content=[SEO page
 description] /
 /wicket:head
 /head

 

 public class Title extends Panel {
 public Title(String id) {
 super(id);

 WebMarkupContainer description = new
WebMarkupContainer(description);
 description.add(new AttributeModifier(content, true, new Model(me
 description)));
 add(description);
 }
 }

 Thanks for your support, Jan




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




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


[Wicket-user] Wicketesque on .Net

2006-07-29 Thread Julian Klappenbach



I currenly looking for a framework sharing a similar 
strategy to Wicket but on the .Net stack. Has anyone come accross anything 
that would fit the bill?

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


Re: [Wicket-user] wicket.markup.html.tree.Tree is not suitable for very big tree

2006-07-29 Thread Igor Vaynberg
it is already in 1.2 branch if you want to play with it thanks to eelco's valiant efforts-IgorOn 7/27/06, michal petras 
[EMAIL PROTECTED] wrote:That's great. Do you know when wiil it be ported to 
1.2.1? It could reallyhelp me.--View this message in context: http://www.nabble.com/wicket.markup.html.tree.Tree-is-not-suitable-for-very-big-tree-tf1978583.html#a5520367
Sent from the Wicket - User forum at Nabble.com.-Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] ExternalLink with img

2006-07-29 Thread Igor Vaynberg
instead of externallink use a webmarkup container and add an attribute modified to it that set the href attr to the right value, then you can put whatever you want insde.-Igor
On 7/27/06, Nili Adoram [EMAIL PROTECTED] wrote:
Hi all,How can render an ExternalLink with an image AND a label?onComponentTagBody of ExternalLink overrides all markup apart from thelabel.So, if I have a link a wicket:id=myLink href=""
src="">the rendered output will be: a wicket:id=myLink href="">ThanksNili-
Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to check checkBoxes ?

2006-07-29 Thread Igor Vaynberg
did you see CheckGroupSelector ?-IgorOn 7/28/06, Alban Duval [EMAIL PROTECTED] wrote:
Hi all,I'd like to know how to programatically check the check boxes inCheckGroup ?
Thanks,AD.-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Example of using VelocityPanel

2006-07-29 Thread [EMAIL PROTECTED] Imam
Hi,I'm new to using velocity.I searched through the wicket-stuff site but didnt manage to find any example using VelocityPanel.Could someone please help me by providing an example of how to use this 
VelocityPanel component through wicket.ThanxShams
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How can I use markup containers in head?

2006-07-29 Thread Juergen Donnerstag
head components are not treated differently than other components.
Thie public class Title extends Panel is not implying that you
create a Panel just for the meta tag, do you? Just add the
description to your Panel/Page which contains the remaining html
tags not shown in your html snippet.

Juergen

On 7/28/06, jan_bar [EMAIL PROTECTED] wrote:
 Hi,

 how can I handle this problem:

 head
 wicket:head
 meta wicket:id=description name=description content=[SEO page
 description] /
 /wicket:head
 /head

 

 public class Title extends Panel {
 public Title(String id) {
 super(id);

 WebMarkupContainer description = new WebMarkupContainer(description);
 description.add(new AttributeModifier(content, true, new Model(me
 description)));
 add(description);
 }
 }

 Thanks for your support, Jan




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


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


Re: [Wicket-user] apache wicket?

2006-07-29 Thread Gwyn Evans
On 28/07/06, cowwoc [EMAIL PROTECTED] wrote:

 I have similar questions. I generally perceive Apache as the place
 open-source projects go to die :)

What, like the Http Server, Ant, Maven, Tapestry  Tomcat? Ex-parrots,
all of them! :-)

 Apache might be the right way to go, but I'd definitely like to hear
 more about the impacts it'll have on the future of the project. What new
 rules and regulations will Apache enforce on the Wicket release
 schedule, license, etc?

 In practice, I don't think it'll be any different from the way we've
traditionally worked, other than the edge-cases where we'll need to
ensure there's only ASF-licenced code in the project.  Wicket-stuff
will continue on SF and will probably serve as the home for any
non-ASF code.

/Gwyn

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


Re: [Wicket-user] ExternalLink with img

2006-07-29 Thread Juergen Donnerstag
I'm not aware we have such a component in wicket core, but it is realy
easy to create one yourself.. Try it. Use ExternalLink or any of the
other components as example and extend it the way that it is
re-usable. Should be simple. If you have problems with it, we are more
than happy to help

Juergen

On 7/27/06, Nili Adoram [EMAIL PROTECTED] wrote:
 Hi all,
 How can render an ExternalLink with an image AND a label?
 onComponentTagBody of ExternalLink overrides all markup apart from the
 label.
 So, if I have a link a wicket:id=myLink href=img
 src=mygif/MyLabel/a
 the rendered output will be: a wicket:id=myLink href=RenderedLabel/a

 Thanks
 Nili

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


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


Re: [Wicket-user] Problem handling Double values

2006-07-29 Thread Juergen Donnerstag
The problem is not with code you've shown. It must be something else.
The value in the database is correct. When you read the data from the
database is it stored in a Double as well?

Juergen

On 7/26/06, Md. Kamruzzaman [EMAIL PROTECTED] wrote:


  Hi,
  I'm having great problem with handling Double values in the text box. When
 I am entering a double value in a text box with more than 3 precisions like
 1.99 or 1., it is being saved in the database accurately,  but the
 post back value showing in the text box is rounded to next Integer (in case
 of 1.99 or 1. it is showing 2).

 My sample code is given below:

 add(new RequiredTextField(amount, Double.class));


 Looking forward to have a good solution from you.


 --Md. Kamruzzaman



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

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




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


Re: [Wicket-user] How to check checkBoxes ?

2006-07-29 Thread Gwyn Evans
The normal way is to let Wicket handle the check boxes and to just
check the model.  See the WicketExamples/ComponentReference antd/or
http://www.wicket-wiki.org.uk/wiki/index.php/Listview_with_checkboxes_in_a_form
for examples.

/Gwyn

On 28/07/06, Alban Duval [EMAIL PROTECTED] wrote:
 Hi all,

 I'd like to know how to programatically check the check boxes in
 CheckGroup ?

 Thanks,
 AD.

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


Re: [Wicket-user] AjaxSubmitLink and history

2006-07-29 Thread Eelco Hillenius
So how do frameworks like Dojo and GWT do it? Do have back button
support for Ajax...

Eelco

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


Re: [Wicket-user] Discussing Wicket

2006-07-29 Thread Eelco Hillenius
On 7/29/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 we do evangelize the OO wherever we can, but it mostly falls on deaf ears.
 have you ever seen a struts app? in most struts apps the notion of a class
 is used mostly as a namespace to group some functions together. its hard to
 explain something when most people dont understand what you are talking
 about. at least this has been my frustrating experience. like that blog from
 the tapestry guy (
 http://greggbolinger.blogspot.com/2006/01/i-say-tapestry-you-say-wicket.html
 and discussion we had here on the list ) saying listview is too complex to
 understand because it has an abstract callback method you have to implement
 and because it is an anoymous class.

Yeah. It seems to be a sad reality that many frameworks have it as
their holy grail to save their users from writing any code. And many
programmers seem to agree that's what they want. That's how you get
those famous 'framework coders'.

Eelco

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


Re: [Wicket-user] Discussing Wicket

2006-07-29 Thread Eelco Hillenius
I agree with you Frank. I guess when we started out 'easy' and 'less
xml' etc were the things that attracted people. I was always attracted
in this just OO code from the start, but I obviously missed the fact
that this is what most people are into Wicket like best about the
framework. We're trying hard to get that point across for Wicket In
Action, and the replies I gave on TSS threads etc were more in that
fashion.

Cheers,

Eelco

On 7/26/06, Frank Silbermann [EMAIL PROTECTED] wrote:


 It seems to me that most descriptions of Wicket that I've seen on the web
 focus on two properties:  the absence of configuration files and the radical
 separation of HTML from Java code.  (Then readers debate whether the absence
 of configuration files limit flexibility and whether the use of standard
 tool-friendly HTML is all that important.)

 It seems to me that Wicket evangelists should put more effort on Wicket's
 object orientation.  The key questions we should ask when comparing Wicket
 to another component-oriented framework (e.g. Tapestry or JSF) are the
 following:

 (1) If the user wishes to create a panel that assembles visual components or
 sub-panels that react to each others events, and which provide/handle events
 to be hooked to other arbitrary components on the page, what facility does
 your framework provide to package such an assembly in a re-usable format?

 (2) If I have a complex, feature-rich component that I want to use on many
 web-pages, and some of the configuration choices will be set the same way
 for all of them, what facility does your framework give me for creating a
 facade around this component that will set these defaults for me -- so I
 don't have to repeat myself on page after page?

 (3) If some of the pages which use this component need it to provide extra
 enhanced or specialized behavior, how does your framework make it easy for
 me to create a new component that extends the properties and behavior of the
 base component?

 We should identify a few simple examples of such uses to contrast Wicket's
 power with other frameworks' shortcomings.  After the big-deal
 object-orientation revolution of the late-1980s/early-1990s, it astounds me
 that so many programmers can ignore the importance of object-orientation for
 coding presentation logic.
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

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




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


Re: [Wicket-user] apache wicket?

2006-07-29 Thread Johan Compagner
On 7/28/06, cowwoc [EMAIL PROTECTED] wrote:
I have similar questions. I generally perceive Apache as the placeopen-source projects go to die :) That is the idea with struts... but it is a hard thing to kill even under apache it still is not dead yet!
johan
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket.markup.html.tree.Tree is not suitable for very big tree

2006-07-29 Thread Eelco Hillenius
On 7/29/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 it is already in 1.2 branch if you want to play with it thanks to eelco's
 valiant efforts


And Matej's efforts to fix it all up again :) It's in
wicket-extensions for 1.2, and in 2.0 it replaces the core tree. I
made a note in that in the package javadoc document.

Eelco

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


Re: [Wicket-user] AjaxSubmitLink and history

2006-07-29 Thread Janne Hietamäki
On 29.7.2006, at 11.51, Eelco Hillenius wrote:So how do frameworks like Dojo and GWT do it? Do have back buttonsupport for Ajax...EelcoSome articles..http://dev2dev.bea.com/pub/a/2006/01/ajax-back-button.htmlhttp://www.onjava.com/pub/a/onjava/2005/10/26/ajax-handling-bookmarks-and-back-button.htmlhttp://www.contentwithstyle.co.uk/Articles/38/fixing-the-back-button-and-enabling-bookmarking-for-ajax-apps Janne HietamäkiCemron Ltdhttp://www.cemron.com/ -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] apache wicket?

2006-07-29 Thread Eelco Hillenius
For me Apache is where it all started! Apache introduced me to open
source. And mature projects that are in maintenance mode are not the
same as projects that died.

Eelco

On 7/29/06, Gwyn Evans [EMAIL PROTECTED] wrote:
 On 28/07/06, cowwoc [EMAIL PROTECTED] wrote:
 
  I have similar questions. I generally perceive Apache as the place
  open-source projects go to die :)

 What, like the Http Server, Ant, Maven, Tapestry  Tomcat? Ex-parrots,
 all of them! :-)

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


Re: [Wicket-user] apache wicket?

2006-07-29 Thread Johan Compagner
ohhh wicket in maintenance mode.. What a relaxing life would that be ;)On 7/29/06, Eelco Hillenius [EMAIL PROTECTED]
 wrote:For me Apache is where it all started! Apache introduced me to open
source. And mature projects that are in maintenance mode are not thesame as projects that died.EelcoOn 7/29/06, Gwyn Evans [EMAIL PROTECTED] wrote:
 On 28/07/06, cowwoc [EMAIL PROTECTED] wrote:   I have similar questions. I generally perceive Apache as the place  open-source projects go to die :)
 What, like the Http Server, Ant, Maven, Tapestry  Tomcat? Ex-parrots, all of them! :-)-Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] IBATIS (and Spring)

2006-07-29 Thread Ali Zaid
Hi;

Once I read that there was going to be a port of the pet store to
wicket using Ibatis, I wonder if this is still comming?

Great wiki! thanks!

On 7/28/06, Gwyn Evans [EMAIL PROTECTED] wrote:
 While there's nothing too Wicket-specific needed to use iBATIS with
 Wicket, I've nevertheless created a page on the Wiki that may be of
 interest if anyone's considering it's use.

 It also shows an example of Spring configuration and covers Oracle
 paging, but they're peripheral to the main point - See
 http://www.wicket-wiki.org.uk/wiki/index.php/IBATIS for more info.

 /Gwyn

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



-- 
Regards, Ali

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


Re: [Wicket-user] IBATIS (and Spring)

2006-07-29 Thread Eelco Hillenius
Cheers Gwyn.

Eelco


On 7/28/06, Gwyn Evans [EMAIL PROTECTED] wrote:
 While there's nothing too Wicket-specific needed to use iBATIS with
 Wicket, I've nevertheless created a page on the Wiki that may be of
 interest if anyone's considering it's use.

 It also shows an example of Spring configuration and covers Oracle
 paging, but they're peripheral to the main point - See
 http://www.wicket-wiki.org.uk/wiki/index.php/IBATIS for more info.

 /Gwyn

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


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


Re: [Wicket-user] Example of using VelocityPanel

2006-07-29 Thread Eelco Hillenius
And example is in wicket-contrib-examples, which is also located in
the wicket-stuff repository.

Eelco


On 7/29/06, [EMAIL PROTECTED] Imam [EMAIL PROTECTED] wrote:
 Hi,

 I'm new to using velocity.

 I searched through the wicket-stuff site but didnt manage
 to find any example using VelocityPanel.

 Could someone please help me by providing an example of how to use this
 VelocityPanel component through wicket.

 Thanx

 Shams

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

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




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


Re: [Wicket-user] link to other frame

2006-07-29 Thread Eelco Hillenius
Check out wicket.examples.frames please and see if that helps you.

Eelco


On 7/27/06, Арву Оетук [EMAIL PROTECTED] wrote:
 Hi All!


 How can I reload frame in other frame without reload main page (page with 
 framesets)?
 I create link like
 a href=# wicket:id=tmp target=objViewddd/a
 and in code
   add(new BookmarkablePageLink(tmp,HomePage.class));

 but this code open new Window.

 If I create link as discribed in example then new Window with Framesets opend 
 (open only once - if i click this link in new window third window not appear).

 Dmitry.

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

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


Re: [Wicket-user] How change character encoding

2006-07-29 Thread Pierre-Yves Saumont
Hi,

I am new in using Wicket, but I had this problem with all the Frameworks 
I used before.

In Wicket, it was absolutely no problem since I just added :

meta http-equiv=Content-Type content=text/html; charset=iso-8859-1

in the HTML template to make it work. It seems Wicket managed this 
transparently.

Please correct me if I am wrong.

Pierre-Yves

PS: I am however still having a problem with one character that is 
fréquently used in french and does not exist in iso-8859-1 (the oe 
ligature). Can anybody tell me what is the best place in Wicket to 
implement a filter that would replace this character with the html 
entity oelig; ?

JK a écrit :
 Hello again, Problem was with
 setResponsePage(ThankYou.class,parameter);
 and parameter (PageParameters) encoding.
 
 Code for setting default encoding (ok?):
 -- WebApplication
 
 protected void init()
 {
   getMarkupSettings().setDefaultMarkupEncoding(iso-8859-1);
 }
 
 2006/7/27, JK [EMAIL PROTECTED]:
 Hi,

 How do you change character encoding from utf-8 to iso-8859-1? If I define
 --
 protected void configureResponse() {
   super.configureResponse();

   final WebResponse response = getWebRequestCycle().getWebResponse();
   response.setHeader(Content-Type, text/html; charset=iso-8859-1);
 }
 --
 for WebPage subclass, component MultiLineLabel still has wrong encoding 
 (utf-8).

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


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


Re: [Wicket-user] How change character encoding

2006-07-29 Thread Johan Compagner
I would use UTF8 throughout everytingthe html templates, the database and the output to the browser.johanOn 7/29/06, Pierre-Yves Saumont
 [EMAIL PROTECTED] wrote:Hi,I am new in using Wicket, but I had this problem with all the Frameworks
I used before.In Wicket, it was absolutely no problem since I just added :meta http-equiv=Content-Type content=text/html; charset=iso-8859-1in the HTML template to make it work. It seems Wicket managed this
transparently.Please correct me if I am wrong.Pierre-YvesPS: I am however still having a problem with one character that isfréquently used in french and does not exist in iso-8859-1 (the oe
ligature). Can anybody tell me what is the best place in Wicket toimplement a filter that would replace this character with the htmlentity oelig; ?JK a écrit : Hello again, Problem was with
 setResponsePage(ThankYou.class,parameter); and parameter (PageParameters) encoding. Code for setting default encoding (ok?): -- WebApplication protected void init()
 { getMarkupSettings().setDefaultMarkupEncoding(iso-8859-1); } 2006/7/27, JK [EMAIL PROTECTED]: Hi,
 How do you change character encoding from utf-8 to iso-8859-1? If I define -- protected void configureResponse() { super.configureResponse();
 final WebResponse response = getWebRequestCycle().getWebResponse(); response.setHeader(Content-Type, text/html; charset=iso-8859-1); } --
 for WebPage subclass, component MultiLineLabel still has wrong encoding (utf-8). - Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT  business topics through brief surveys -- and earn cash 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user-
Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Problem handling Double values

2006-07-29 Thread Md. Kamruzzaman


Hi,
Thank you for your reply.
Actually I'm not reading data from database. I just giving input in the text
box and when I press Save button, the corresponding text field data is being
saved in the database. 
But since wicket retains the page state using model, the textbox is being
filled with the rounded value I entered previously. Suppose I've entered 1.
and then pressed Save button, it shows 2 in the textbox.

Thank you.
Md. kamruzzaman

On 7/29/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:
The problem is not with code you've shown. It must be something else.The value in the database is correct. When you read the data from thedatabase is it stored in a Double as well?JuergenOn 7/26/06, Md. Kamruzzaman 
[EMAIL PROTECTED] wrote:Hi,I'm having great problem with handling Double values in the text box. When I am entering a double value in a text box with more than 3 precisions like
 1.99 or 1., it is being saved in the database accurately,but the post back value showing in the text box is rounded to next Integer (in case of 1.99 or 1. it is showing 2).
 My sample code is given below: add(new RequiredTextField(amount, Double.class)); Looking forward to have a good solution from you. --Md. Kamruzzaman
 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user-Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Form submission and model updating

2006-07-29 Thread Tymur Porkuyan
Thanks, the framework really works the most convenient way, even if it
is not always obvious :)

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


Re: [Wicket-user] Problem handling Double values

2006-07-29 Thread Johan Compagner
hmm thats odd i do see it now in our own FormInput example for the double field.will investigate that.johanOn 7/29/06, Md. Kamruzzaman
 [EMAIL PROTECTED] wrote:


Hi,
Thank you for your reply.
Actually I'm not reading data from database. I just giving input in the text
box and when I press Save button, the corresponding text field data is being
saved in the database. 
But since wicket retains the page state using model, the textbox is being
filled with the rounded value I entered previously. Suppose I've entered 1.
and then pressed Save button, it shows 2 in the textbox.

Thank you.
Md. kamruzzaman

On 7/29/06, Juergen Donnerstag 
[EMAIL PROTECTED] wrote:
The problem is not with code you've shown. It must be something else.The value in the database is correct. When you read the data from thedatabase is it stored in a Double as well?JuergenOn 7/26/06, Md. Kamruzzaman 
[EMAIL PROTECTED] wrote:Hi,
I'm having great problem with handling Double values in the text box. When I am entering a double value in a text box with more than 3 precisions like
 1.99 or 1., it is being saved in the database accurately,but the post back value showing in the text box is rounded to next Integer (in case of 1.99 or 1. it is showing 2).
 My sample code is given below: add(new RequiredTextField(amount, Double.class)); Looking forward to have a good solution from you. --Md. Kamruzzaman
 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net 

https://lists.sourceforge.net/lists/listinfo/wicket-user-Take Surveys. Earn Cash. Influence the Future of IT

Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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

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


Re: [Wicket-user] Wicketesque on .Net

2006-07-29 Thread Potje rode kool
I think the only framework that is a bit comparable is atlas (it has some ajax stuff) http://atlas.asp.net/Default.aspx?tabid=47There is not much choice in the .Net world, at least that is my impression, then in the Java world.
2006/7/29, Julian Klappenbach [EMAIL PROTECTED]:





I currenly looking for a framework sharing a similar 
strategy to Wicket but on the .Net stack. Has anyone come accross anything 
that would fit the bill?

-jjk

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

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


[Wicket-user] Handling RuntimeException from AjaxRequest

2006-07-29 Thread p.jasson

Hello.
I would like to handle exceptions in my code automatically. So, I'm using
only RutimeExceptions and I also overided the
RequestCycle.onRuntimeException(Page page, RuntimeException e) method. It
works fine for normal request. But when the exception is thrown during the
AjaxRequest than it fails. It fails because requestCycle.setResponsePage()
in DefaultExceptionResponseStrategy.respond(RequestCycle requestCycle,
RuntimeException e) doesn't redirect hence it's an Ajax request. Is there an
elegant way how to solve this problem or do I have to take care about the
RuntimeException explicitly and redirecting to the error page by calling
taget.addJavaScript(window.location );

Thanks.

-- 
View this message in context: 
http://www.nabble.com/Handling-RuntimeException-from-AjaxRequest-tf2020124.html#a5554206
Sent from the Wicket - User forum at Nabble.com.


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


[Wicket-user] Wicket and Sun Java App Server

2006-07-29 Thread Ayodeji Aladejebi
please any anyone tried wicket on Sun Java Application Server, I am just evaluating this i met this error. Any ideas on how i can make this rightWicketMessage: Error attaching this container for rendering: [MarkupContainer [Component id = menuItem, page = 
net.cowblock.president.pages.StartPage, path = 0:pageLayout:menubar:menuLayout:menuBar:menuItem.HorizontalMenuBar$1, isVisible = true, isVersioned = false]]Root cause:java.security.AccessControlException: access denied (
java.lang.reflect.ReflectPermission suppressAccessChecks) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:321) at java.security.AccessController.checkPermission(AccessController.java
:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:107) at wicket.util.lang.PropertyResolver$MethodGetAndSet
.init(PropertyResolver.java:783) at wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:340) at wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:200)
 at wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:88) at wicket.model.AbstractPropertyModel.onGetObject(AbstractPropertyModel.java:126) at wicket.model.AbstractDetachableModel.getObject
(AbstractDetachableModel.java:100)-- It takes insanity to drive in sanity - MeAladejebi Ayodeji A., DabarObjects SolutionsEmail: 
[EMAIL PROTECTED]Mobile: +234 803 589 1780Web: www.dabarobjects.comCommunity:www.cowblock.net
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] apache wicket?

2006-07-29 Thread Igor Vaynberg
dont worry i will keep thinking up of new things for you to code :)-IgorOn 7/29/06, Johan Compagner 
[EMAIL PROTECTED] wrote:ohhh wicket in maintenance mode.. What a relaxing life would that be ;)
On 7/29/06, Eelco Hillenius 
[EMAIL PROTECTED]
 wrote:For me Apache is where it all started! Apache introduced me to open

source. And mature projects that are in maintenance mode are not thesame as projects that died.EelcoOn 7/29/06, Gwyn Evans 
[EMAIL PROTECTED] wrote:
 On 28/07/06, cowwoc [EMAIL PROTECTED] wrote:   I have similar questions. I generally perceive Apache as the place
  open-source projects go to die :)
 What, like the Http Server, Ant, Maven, Tapestry  Tomcat? Ex-parrots, all of them! :-)-Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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

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


Re: [Wicket-user] Wicket and Sun Java App Server

2006-07-29 Thread Johan Compagner
I don't know that Application Server but what is happening is that our PropertyResolver uses reflection to get to a propertyAnd that app servers seems to have that disabled by default in its permissions file. I don't know where exactly to change
that and if that is easy to do.But i guess many things should go wrong there. For example does hibernate completely work?johanOn 7/29/06, 
Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
please any anyone tried wicket on Sun Java Application Server, I am just evaluating this i met this error. Any ideas on how i can make this rightWicketMessage: Error attaching this container for rendering: [MarkupContainer [Component id = menuItem, page = 
net.cowblock.president.pages.StartPage, path = 0:pageLayout:menubar:menuLayout:menuBar:menuItem.HorizontalMenuBar$1, isVisible = true, isVersioned = false]]Root cause:java.security.AccessControlException: access denied (
java.lang.reflect.ReflectPermission suppressAccessChecks) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:321) at java.security.AccessController.checkPermission(AccessController.java

:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:107) at wicket.util.lang.PropertyResolver$MethodGetAndSet

.init(PropertyResolver.java:783) at wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:340) at wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:200)
 at wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:88) at wicket.model.AbstractPropertyModel.onGetObject(AbstractPropertyModel.java:126) at wicket.model.AbstractDetachableModel.getObject

(AbstractDetachableModel.java:100)-- It takes insanity to drive in sanity - MeAladejebi Ayodeji A., DabarObjects SolutionsEmail: 

[EMAIL PROTECTED]Mobile: +234 803 589 1780Web: www.dabarobjects.com
Community:www.cowblock.net

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

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


Re: [Wicket-user] Discussing Wicket

2006-07-29 Thread Igor Vaynberg
its not only that - most frameworks are not built around OO so the developer is not required to know it/use it. i think the skill is mostly lost in the webspace.-IgorOn 7/29/06, 
Eelco Hillenius [EMAIL PROTECTED] wrote:
On 7/29/06, Igor Vaynberg [EMAIL PROTECTED] wrote: we do evangelize the OO wherever we can, but it mostly falls on deaf ears. have you ever seen a struts app? in most struts apps the notion of a class
 is used mostly as a namespace to group some functions together. its hard to explain something when most people dont understand what you are talking about. at least this has been my frustrating experience. like that blog from
 the tapestry guy ( http://greggbolinger.blogspot.com/2006/01/i-say-tapestry-you-say-wicket.html and discussion we had here on the list ) saying listview is too complex to
 understand because it has an abstract callback method you have to implement and because it is an anoymous class.Yeah. It seems to be a sad reality that many frameworks have it astheir holy grail to save their users from writing any code. And many
programmers seem to agree that's what they want. That's how you getthose famous 'framework coders'.Eelco-Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AjaxSubmitLink and history

2006-07-29 Thread Igor Vaynberg
easy ... they dont keep state in the session - because that is where the problem really is with this.-IgorOn 7/29/06, Eelco Hillenius 
[EMAIL PROTECTED] wrote:So how do frameworks like Dojo and GWT do it? Do have back button
support for Ajax...Eelco-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Discussing Wicket

2006-07-29 Thread Igor Vaynberg
yeah you should say that learning wicket will actually make you a better developer :)-IgorOn 7/29/06, Eelco Hillenius 
[EMAIL PROTECTED] wrote:I agree with you Frank. I guess when we started out 'easy' and 'less
xml' etc were the things that attracted people. I was always attractedin this just OO code from the start, but I obviously missed the factthat this is what most people are into Wicket like best about theframework. We're trying hard to get that point across for Wicket In
Action, and the replies I gave on TSS threads etc were more in thatfashion.Cheers,EelcoOn 7/26/06, Frank Silbermann [EMAIL PROTECTED]
 wrote: It seems to me that most descriptions of Wicket that I've seen on the web focus on two properties:the absence of configuration files and the radical separation of HTML from Java code.(Then readers debate whether the absence
 of configuration files limit flexibility and whether the use of standard tool-friendly HTML is all that important.) It seems to me that Wicket evangelists should put more effort on Wicket's
 object orientation.The key questions we should ask when comparing Wicket to another component-oriented framework (e.g. Tapestry or JSF) are the following: (1) If the user wishes to create a panel that assembles visual components or
 sub-panels that react to each others events, and which provide/handle events to be hooked to other arbitrary components on the page, what facility does your framework provide to package such an assembly in a re-usable format?
 (2) If I have a complex, feature-rich component that I want to use on many web-pages, and some of the configuration choices will be set the same way for all of them, what facility does your framework give me for creating a
 facade around this component that will set these defaults for me -- so I don't have to repeat myself on page after page? (3) If some of the pages which use this component need it to provide extra
 enhanced or specialized behavior, how does your framework make it easy for me to create a new component that extends the properties and behavior of the base component? We should identify a few simple examples of such uses to contrast Wicket's
 power with other frameworks' shortcomings.After the big-deal object-orientation revolution of the late-1980s/early-1990s, it astounds me that so many programmers can ignore the importance of object-orientation for
 coding presentation logic. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user-Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Handling RuntimeException from AjaxRequest

2006-07-29 Thread Johan Compagner
don't know what the best way would be.Maybe we could do it in the wicket code when an AjaxRequest does trigger an runtimedo a redirect to the exception page.. Igor?johan
On 7/29/06, p.jasson [EMAIL PROTECTED] wrote:
Hello.I would like to handle exceptions in my code automatically. So, I'm usingonly RutimeExceptions and I also overided theRequestCycle.onRuntimeException(Page page, RuntimeException e) method. Itworks fine for normal request. But when the exception is thrown during the
AjaxRequest than it fails. It fails because requestCycle.setResponsePage()in DefaultExceptionResponseStrategy.respond(RequestCycle requestCycle,RuntimeException e) doesn't redirect hence it's an Ajax request. Is there an
elegant way how to solve this problem or do I have to take care about theRuntimeException explicitly and redirecting to the error page by callingtaget.addJavaScript(window.location );Thanks.
--View this message in context: http://www.nabble.com/Handling-RuntimeException-from-AjaxRequest-tf2020124.html#a5554206
Sent from the Wicket - User forum at Nabble.com.-Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Sun Java App Server

2006-07-29 Thread V. Jenks




I'm doing extensive development these days on SJAS 9.0 (Glassfish) and I've only had one issue w/ Wicket, which was resolved in 1.2.1. I found the logging to conflict w/ SJAS and this was *only* a problem w/ Stateful beans in EJB 3.0.

See here:

http://www.nabble.com/Testing-Wicket-1.2-on-Glassfish-b48-tf1895983.html


On Sat, 2006-07-29 at 06:56 -0700, Ayodeji Aladejebi wrote:

please any anyone tried wicket on Sun Java Application Server, I am just evaluating this i met this error. Any ideas on how i can make this right


WicketMessage: Error attaching this container for rendering: [MarkupContainer [Component id = menuItem, page = net.cowblock.president.pages.StartPage, path = 0:pageLayout:menubar:menuLayout:menuBar:menuItem.HorizontalMenuBar$1, isVisible = true, isVersioned = false]]

Root cause:

java.security.AccessControlException: access denied ( java.lang.reflect.ReflectPermission suppressAccessChecks)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:321)
at java.security.AccessController.checkPermission(AccessController.java :546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:107)
at wicket.util.lang.PropertyResolver$MethodGetAndSet .init(PropertyResolver.java:783)
at wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:340)
at wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:200) 
at wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:88)
at wicket.model.AbstractPropertyModel.onGetObject(AbstractPropertyModel.java:126)
at wicket.model.AbstractDetachableModel.getObject (AbstractDetachableModel.java:100)



-- 
It takes insanity to drive in sanity - Me

Aladejebi Ayodeji A., 
DabarObjects Solutions
Email: [EMAIL PROTECTED]
Mobile: +234 803 589 1780
Web: www.dabarobjects.com

Community:
www.cowblock.net 

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




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


Re: [Wicket-user] Wicket and Sun Java App Server

2006-07-29 Thread Janne Hietamäki
something like this added into your app servers server.policy should help:grant codeBase "file:/x/webapps/appl/WEB-INF/lib/wicket-1.2.jar" {        permission java.lang.reflect.ReflectPermission "suppressAccessChecks";};Google for "server.policy" and "suppressAccessChecks"On 29.7.2006, at 16.56, Ayodeji Aladejebi wrote:please any anyone tried wicket on Sun Java Application Server, I am just evaluating this i met this error. Any ideas on how i can make this rightWicketMessage: Error attaching this container for rendering: [MarkupContainer [Component id = menuItem, page = net.cowblock.president.pages.StartPage, path = 0:pageLayout:menubar:menuLayout:menuBar:menuItem.HorizontalMenuBar$1, isVisible = true, isVersioned = false]]Root cause:java.security.AccessControlException: access denied ( java.lang.reflect.ReflectPermission suppressAccessChecks) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:321) at java.security.AccessController.checkPermission(AccessController.java :546) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:107) at wicket.util.lang.PropertyResolver$MethodGetAndSet .init(PropertyResolver.java:783) at wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:340) at wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:200)  at wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:88) at wicket.model.AbstractPropertyModel.onGetObject(AbstractPropertyModel.java:126) at wicket.model.AbstractDetachableModel.getObject (AbstractDetachableModel.java:100)-- "It takes insanity to drive in sanity" - MeAladejebi Ayodeji A., DabarObjects SolutionsEmail:  [EMAIL PROTECTED]Mobile: +234 803 589 1780Web: www.dabarobjects.comCommunity:www.cowblock.net-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user  Janne HietamäkiCemron Ltdhttp://www.cemron.fi -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket and Sun Java App Server

2006-07-29 Thread Gwyn Evans
Does this page 
(http://www.wicket-wiki.org.uk/wiki/index.php/Java_security_permissions)
on the Wiki help?

/Gwyn

On 29/07/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
 please any anyone tried wicket on Sun Java Application Server, I am just
 evaluating this i met this error. Any ideas on how i can make this right


 WicketMessage: Error attaching this container for rendering:
 [MarkupContainer [Component id = menuItem, page =
 net.cowblock.president.pages.StartPage, path =
 0:pageLayout:menubar:menuLayout:menuBar:menuItem.HorizontalMenuBar$1,
 isVisible = true, isVersioned = false]]

 Root cause:

 java.security.AccessControlException: access denied (
 java.lang.reflect.ReflectPermission suppressAccessChecks)
  at
 java.security.AccessControlContext.checkPermission(AccessControlContext.java:321)
  at
 java.security.AccessController.checkPermission(AccessController.java
 :546)
  at
 java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
  at
 java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:107)
  at wicket.util.lang.PropertyResolver$MethodGetAndSet
 .init(PropertyResolver.java:783)
  at
 wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:340)
  at
 wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:200)
  at
 wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:88)
  at
 wicket.model.AbstractPropertyModel.onGetObject(AbstractPropertyModel.java:126)
  at wicket.model.AbstractDetachableModel.getObject
 (AbstractDetachableModel.java:100)

 --
 It takes insanity to drive in sanity - Me

 Aladejebi Ayodeji A.,
 DabarObjects Solutions
 Email: [EMAIL PROTECTED]
 Mobile: +234 803 589 1780
 Web: www.dabarobjects.com

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

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




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


Re: [Wicket-user] Handling RuntimeException from AjaxRequest

2006-07-29 Thread Eelco Hillenius
I haven't tested it, but as we built in that support last week, I
think the normal exception strategy should work now. And if it doesn't
work yet, we should fix it.

Eelco


On 7/29/06, Johan Compagner [EMAIL PROTECTED] wrote:
 don't know what the best way would be.
 Maybe we could do it in the wicket code when an AjaxRequest does trigger an
 runtime
 do a redirect to the exception page.. Igor?

 johan



  On 7/29/06, p.jasson [EMAIL PROTECTED] wrote:
 
  Hello.
  I would like to handle exceptions in my code automatically. So, I'm using
  only RutimeExceptions and I also overided the
  RequestCycle.onRuntimeException(Page page, RuntimeException e) method. It
  works fine for normal request. But when the exception is thrown during the
  AjaxRequest than it fails. It fails because requestCycle.setResponsePage()
  in DefaultExceptionResponseStrategy.respond(RequestCycle
 requestCycle,
  RuntimeException e) doesn't redirect hence it's an Ajax request. Is there
 an
  elegant way how to solve this problem or do I have to take care about the
  RuntimeException explicitly and redirecting to the error page by calling
  taget.addJavaScript(window.location );
 
  Thanks.
 
  --
  View this message in context:
 http://www.nabble.com/Handling-RuntimeException-from-AjaxRequest-tf2020124.html#a5554206
  Sent from the Wicket - User forum at Nabble.com.
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys -- and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


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

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




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


Re: [Wicket-user] Handling RuntimeException from AjaxRequest

2006-07-29 Thread p.jasson

Yep. You're right. With the lastest snapshot it's working correctly.
-- 
View this message in context: 
http://www.nabble.com/Handling-RuntimeException-from-AjaxRequest-tf2020124.html#a5557307
Sent from the Wicket - User forum at Nabble.com.


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


Re: [Wicket-user] Handling RuntimeException from AjaxRequest

2006-07-29 Thread Eelco Hillenius
/me does a happy dance.

Eelco


On 7/29/06, p.jasson [EMAIL PROTECTED] wrote:

 Yep. You're right. With the lastest snapshot it's working correctly.
 --
 View this message in context: 
 http://www.nabble.com/Handling-RuntimeException-from-AjaxRequest-tf2020124.html#a5557307
 Sent from the Wicket - User forum at Nabble.com.


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


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