[Wicket-user] Editable tree table in 2.0?

2006-09-04 Thread Per Ejeklint
I looked at the live examples and found that the Editable Tree Table would be very useful for me. But it seems that this is not in 2.0 extensions yet. Any words on when it will be?/Per  		Per Ejeklint: Consultant at Heimore Group AB, Kungsg. 33 11th floor, SE-111 56 Stockholm, Sweden 		Contact: [EMAIL PROTECTED]; mobile +4670-5090052  -
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: Wicket.Ajax.AutoComplete is not a constructor

2006-09-04 Thread Stefan Lindner
A little supplement: The other javascript resources are present:
 script type=text/javascript 
src=/Visiomedic/app/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug-drag.js/script
 script type=text/javascript 
src=/Visiomedic/app/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js/script
and the Ajax debugger can be activated. If I add the missing resource by hand, 
firefox reports an error in the wicket-autocompletion.js file in the line 
 
 Wicket.Ajax.AutoComplete=function(elementId,callbackUrl){
 
 Wicket is not defined
 
Stefan
winmail.dat-
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] Editable tree table in 2.0?

2006-09-04 Thread Per Ejeklint
Aha, it has righteously been elevated to divine status! Nice!

And thanks for the excellent work on this stuff. Very well done, very  
neat and very useable. Have you considered adding possibility to add/ 
remove rows to the table, using these + / - signs in a table footer?  
Or is that done already somewhere?


/Per


4 sep 2006 kl. 09.32 skrev Matej Knopp:

 It's not in 2.0 extensions and probably it never will be.
 It's in 2.0 core :-)

 -Matej

 Per Ejeklint wrote:
 I looked at the live examples and found that the Editable Tree Table
 would be very useful for me. But it seems that this is not in 2.0
 extensions yet. Any words on when it will be?

 /Per


-
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] Maintaining CheckBox Statewhile traversingpageable listview

2006-09-04 Thread Dipu



Igor, many thanks for the reply, i will do a wiki 
page on this.

Dipu

  - Original Message - 
  From: 
  Igor 
  Vaynberg 
  To: wicket-user@lists.sourceforge.net 
  
  Sent: Friday, September 01, 2006 5:01 
  PM
  Subject: Re: [Wicket-user] Maintaining 
  CheckBox Statewhile traversingpageable listview
  
  
  



1. Is there any way to maintain thestate 
of a checkbox in a listview.

For exampleif i have a pageable 
listview containing a checkbox in every row.
If the user checks check boxes in the 
firstlistview page and traverse to the subsequent pages.
Iwant the check box to retain the state 
when the user comes back the the initial 
page.
  there are two options1. use ajaxified checkbox2. use 
  a paging navigator subclass that creates SubmitLinks instead of regular Links 
  - that way on every page change the form is submitted and checkbox values are 
  saved when you get it working mind making a wiki page? its a common 
  enough question i think.
  



2. With the pageable listview is there any way 
i can display something like 
 75 to 
100ofx 
  results
  you have to write your own label, see source of NavigatorLabel for 
  details-Igor
  



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

  
  

  -Using 
  Tomcat but need to do more? Need to support web services, security?Get 
  stuff done quickly with pre-integrated technology to make your job 
  easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache 
  Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  
  

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


[Wicket-user] source-repository.html not updated

2006-09-04 Thread David Leangen

Hello!

I noticed that the source-repository.html page on the website has not
yet been updated.

If somebody can tell me where the source is, I could send in a patch.


Cheer,
David




-
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] source-repository.html not updated

2006-09-04 Thread Martijn Dashorst
It is generated by maven, so with a new deploy of the site (and
modified pom.xml) it will be fixed.

Martijn

On 9/4/06, David Leangen [EMAIL PROTECTED] wrote:

 Hello!

 I noticed that the source-repository.html page on the website has not
 yet been updated.

 If somebody can tell me where the source is, I could send in a patch.


 Cheer,
 David




 -
 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



-- 
Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow
-- http://wicketframework.org

-
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] source-repository.html not updated

2006-09-04 Thread David Leangen

Do you mean that it's already been fixed, and just needs to be
redeployed?

In any case, I wasn't able to find the source file. Is it not in
wicket-parent?


Cheers,
Dave



On Mon, 2006-09-04 at 10:29 +0200, Martijn Dashorst wrote:
 It is generated by maven, so with a new deploy of the site (and
 modified pom.xml) it will be fixed.
 
 Martijn
 
 On 9/4/06, David Leangen [EMAIL PROTECTED] wrote:
 
  Hello!
 
  I noticed that the source-repository.html page on the website has not
  yet been updated.
 
  If somebody can tell me where the source is, I could send in a patch.
 
 
  Cheer,
  David
 
 
 
 
  -
  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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Fully modular web ui

2006-09-04 Thread aaime74

Interesting indeed, but in my case I need exactly the opposite. Geoserver is
an open source WFS server that has recently been restructured as a set
of modules, and I want each module to be totally pluggable, that is, build
the module and drop it in the web application, done.

This works beautifully for services thanks to Spring, and for configuration
web
pages built as Wicket pages (and located thru extension points declared in
the
Spring context), but sometimes we do have demo modules that are mostly
(but not completely) made of static pages where javascript talks to server
side services offered by other modules (openlayers and mapbuilder are
examples
of this approach).  I just wanted to make sure I can pacakge those in the
same
way as the other modules, so that when the user does not want them anymore
he only has a jar to remove from its jetty/tomcat deploy.

We are trying to offer an easy to work with server for the user, at the
expense
of some more complications on the programmer side, and yes, we are aware
serving with Apache would be faster, but we leave it to people willing to 
do a high perf deploy, at the moment we are more worried to give a smooth
experience to people who are just trying it out.

Cheers
Andrea Aime


igor.vaynberg wrote:
 
 sometimes its nice to have static stuff served via apache or what not,
 css,
 images, js files, blah blah.
 
 what we do is have a static dir for these files and under that we have a
 dir
 named after the modules class name. we have an applicationsettings bean in
 spring context that other beans import that contains the web path to this
 static dir so with a simple attribute modifier you can build a
 link/img/whatever tag to point to the location of the static resource.
 
 -Igor
 
 
 On 9/1/06, Matej Knopp [EMAIL PROTECTED] wrote:

 Hi,

 sure, this is possible. With wicket you don't have to put a single thing
 in your web directory or WEB-INF (except of course declaring one wicket
 servlet (or filter in wicket 2) in web.xml).

 All resources can be stored in classpath. Markup files (html) for
 components and pages are stored in classpath next to the component /
 pages classes.

 Resources such as javascripts and css can be stored in classpath too you
 can use (Compressed)PackageResourceReference and HeaderContributor.

 Take a look at wicket-examples to see how to use those.

 -Matej

 aaime74 wrote:
  Hi,
  I'm trying to develop an app that sports fully modular web ui, that
  is, one that allows the developer/user to simply drop jars in the
 classpath
  to get new functionality.
 
  The idea is to have the ui split into maven modules, and keep
 everything
  in the classpath. Extension points can be provided by each module by
  looking in a spring context for implementors of certain interfaces
 (these
  could be factories, or simply WebPage subclasses declared as
 prototype
  beans).
 
  Now, I'm wondering how one could handle modules that are mostly
  static, that is, made of static pages, javascripts, images and the
 like,
  given the fact that I don't want to put stuff in WEB-INF.
 
  Is there an easy way to work with these? I know I can refer to
 in-classpath
  resources from Components, but what about a network of static html
  pages that do refer css, images and so on, for example javascript apps
 like
  openlayers (http://openlayers.org/). Can i stick them into the
 classpath
 as
  well?
 
  Best regards
  Andrea Aime
 
  PS: I do want to keep everything among the sources because I don't
  want to rely on a build time file copy just to gather up the required
  files from the various WEB-INFs that I could locate in each module.
  Just have the web module depend on what you think you need and
  run it, done :-)


 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/Fully-modular-web-ui-tf2204611.html#a6131981
Sent from the Wicket - User forum at Nabble.com.



Re: [Wicket-user] source-repository.html not updated

2006-09-04 Thread Martijn Dashorst
On 9/4/06, David Leangen [EMAIL PROTECTED] wrote:
 Do you mean that it's already been fixed, and just needs to be
 redeployed?
 In any case, I wasn't able to find the source file. Is it not in
 wicket-parent?

Yes and pom.xml in
branches/wicket-1.x/wicket-parent/pom.xml

Cheers,

Martijn


Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow
-- http://wicketframework.org

-
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] source-repository.html not updated

2006-09-04 Thread Martijn Dashorst
Deploying as we speak...

Martijn

On 9/4/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
 On 9/4/06, David Leangen [EMAIL PROTECTED] wrote:
  Do you mean that it's already been fixed, and just needs to be
  redeployed?
  In any case, I wasn't able to find the source file. Is it not in
  wicket-parent?

 Yes and pom.xml in
 branches/wicket-1.x/wicket-parent/pom.xml

 Cheers,

 Martijn

 
 Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and 
 ModalWindow
 -- http://wicketframework.org



-- 
Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow
-- http://wicketframework.org

-
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] Editable tree table in 2.0?

2006-09-04 Thread Matej Knopp
Per Ejeklint wrote:
 Aha, it has righteously been elevated to divine status! Nice!
Thanks.
 
 And thanks for the excellent work on this stuff. Very well done, very  
 neat and very useable. Have you considered adding possibility to add/ 
 remove rows to the table, using these + / - signs in a table footer?  
 Or is that done already somewhere?

I don't think it's done. The examples is a very basic one, and there is 
not plan to enhance it. If you want to add / remove nodes in tree, it 
should not be difficult, just remember that TreeModel has to fire proper 
events, so that AbstractTree#update(AjaxRequestTarget target) can update 
the changed portions of tree.

-Matej

 
 
 /Per
 
 
 4 sep 2006 kl. 09.32 skrev Matej Knopp:
 
 It's not in 2.0 extensions and probably it never will be.
 It's in 2.0 core :-)

 -Matej

 Per Ejeklint wrote:
 I looked at the live examples and found that the Editable Tree Table
 would be very useful for me. But it seems that this is not in 2.0
 extensions yet. Any words on when it will be?

 /Per
 
 
 -
 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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Maven2 archetypes

2006-09-04 Thread Martin Funk
i havent seen the patch in the code yet.
let me know if there are problems wit it, that i could get rid of.

martin

Igor Vaynberg schrieb:

 i think this is a good thing to have, martijn will you encorporate the
 patch?

 -Igor


 On 8/29/06, *Martin Funk*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 If anyone is still interested in this subject, you can look at
 
 https://sourceforge.net/tracker/?func=detailatid=684978aid=1547784group_id=119783
 
 https://sourceforge.net/tracker/?func=detailatid=684978aid=1547784group_id=119783
 where I put a patch file to show how it could become part of wicket.

 After applying the patch

 wicket-parent mvn -Pjdk1.4 install
 plus
 wicket-parent mvn install
 ought to install the archetype, after which the archetype can be
 used like:

 mvn archetype:create -DarchetypeGroupId=wicket \
   -DarchetypeArtifactId=wicket-archetype-template \
   -DgroupId=de.mywicket.app -DartifactId=myfirstwicketapp


 Have fun,

 Martin

 Gwyn Evans schrieb:

 Hadn't thought about it - might be worth leaving it 'till it's on
 the
 Wicket repo at least?
 Maybe wait till Martijn's back to see what he says about ibiblio, but
 sounds good to me, at least.
 
 /Gwyn
 
 On 17/08/06, Martin Funk  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 
 Verry nice, thank you.
 
 Personally I wouldn't mind seeing a couple wicket-archetypes on
 ibiblio,
 that way a 'simple':
  - mvn archetype:create -DarchetypeGroupId=wicket
 -DarchetypeArtifactId=wicket-archetype-template
 -DgroupId=de.mywicket.app -DartifactId=myfirstwicketapp
 could get you started with developing your fist wicket application,
 right from scratch, provided that maven and the internet is
 present.
 
 Btw. are you going to, or should I, close the feature request?
 
 Have fun,
 
 Martin
 
 
 Gwyn Evans schrieb:
 
 
 
 Nice - Have added to wicket-stuff SVN  will have to have a look at
 adding to the Wicket repo!
 
 /Gwyn
 
 On 15/08/06, Martin Funk  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 
 
 
 Hi,
 
 I've been playing arround with maven archetypes as described in
 http://maven.apache.org/guides/mini/guide-creating-archetypes.html
 
 Things went faster as expected and at the end I came up with a
 maven
 archetype for wicket. The archetype creates a project that
 looks very
 much the same as a project createt using wicket-template from
 wicket-stuff.
 
 If anyone is interested you can check out the patch file I
 attached to a
 feature proposal for wicket-stuff.
 [ 1540913 ] wicket-archetypes Maven2 archetypes for wicket
 
 
 https://sourceforge.net/tracker/?func=detailatid=730671aid=1540913group_id=134391
 
 https://sourceforge.net/tracker/?func=detailatid=730671aid=1540913group_id=134391
 
 Usage should be pretty straight foreward.
 Once the patch is applied change into the subfolder of
 wicket-archetypes. So far only one archetype is present :-)
 
 - mvn install
 should install the archetype locally. After this it might be
 used like:
 
 - mvn archetype:create -DarchetypeGroupId=archetypeGroupId
 -DarchetypeArtifactId=archetypeArtifactId \
-DarchetypeVersion=archetypeVersion
 -DgroupId=groupId -DartifactId=artifactId
 e.g.:
 - mvn archetype:create -DarchetypeGroupId=wicket
 -DarchetypeArtifactId=wicket-archetype-template \
-DarchetypeVersion=1.0-SNAPSHOT
 -DgroupId=de.mywicket.app -DartifactId=wicket-template
 
 
 Have fun,
 
 Martin
 
 
 -
 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
 
 
 
 
 
 
 
 
 
 
 -
 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
 
 

[Wicket-user] Wicket coding style

2006-09-04 Thread Che Schneider
Hi all,

Is there a decent resource somewhere on how to do things 'properly' (aka
nice and clean :) in wicket?
I can always think of quite a few ways to solve a problem but since I am
totally new to wicket I am not sure which way is the right one..

Example:
In a custom panel I want to create a link to another page. Since I want
to reuse my panel, that link should be dynamic.
Is it better to have a constructor argument for the class to link to? Or
should I better have the panel only accept a custom model that has a
getter for the class? 
Or is there an even better way? :)

Thanks a lot in advance,
Che


__
DISCLAIMER: This e-mail message is intended for the addressee(s) or authorized 
recipient only. If you are not the addressee, or an authorized recipient, you 
are specifically advised that any use, distribution, publication, copying or 
repetition of this information is prohibited. If you have received this 
information in error, please notify us immediately (+31 (0)20 50 25 800) and 
destroy this message.

-
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] image l10n and path and submit tracking

2006-09-04 Thread Jaime De La Jara
I've been investigating the issue of localized images and their location in the application folders and I haven't found a simple way to handle it. I've taken a look at SubmitLink but when I add an image using :add(new Image("cancelButtonImage", new ResourceModel("button.cancel"))where button.cancel is defined in a property file as : CANCEL.gifbut to the image file name is added the page package and I prefer to keep the images in a separate directory. So, How could I deal with localized images and their location? I'm using a set up where the pages are in the same folder as the page classes.For the second problem I need to track everytime a submit occurs or a link is clicked, how could I do that? I checked the javadocs and found onEndRequest but noticed that is deprecated, also I tried onDetach but it's also called when the button is displayed. I thought of adding a superclass that on its onSubmit() would log some information and then sublasses
 would have to call super.onSubmit() but it doesn't look a good solution.Thanks in advance,Jaime. 
		Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
-
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] Change the dataprovider of a dataview

2006-09-04 Thread Peter Neubauer
Hi folks,
I would like to change the data detail tabel view for a master table
view. How do I do that?

Do I have to change the whole Dataview component on the page or just
the DataProvider for it or the Model object of the DataProvider?

If I isntancieate a new Dataview component on a page, how to I get the
rendering hierarchy to be updated in order to pick up the changes?

Thanks for any hints. I suspect it's just that I do not understand how
to do nested/linked Dataviews.

/peter

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


Re: [Wicket-user] Wicket 2.0: Wicket.Ajax.AutoComplete is not a constructor

2006-09-04 Thread Igor Vaynberg
this is a known header contribution bug in 1.2.2 we are working on right now. you can either roll back to 1.2.1 or wait for 1.2.3 which should be coming in a week or so.-Igor
On 9/4/06, Stefan Lindner [EMAIL PROTECTED] wrote:
A little supplement: The other _javascript_ resources are present: script type=text/_javascript_ src=""
 script type=text/_javascript_ src="">and the Ajax debugger can be activated. If I add the missing resource by hand, firefox reports an error in the 
wicket-autocompletion.js file in the line Wicket.Ajax.AutoComplete=function(elementId,callbackUrl){ Wicket is not definedStefan-
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

-
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] Fully modular web ui

2006-09-04 Thread Igor Vaynberg
if you package static files in a jar something needs to be able to access them because the web server obviolsy cant.maybe you build some wicketized bridge to static files that are in a jar.-Igor
On 9/4/06, aaime74 [EMAIL PROTECTED] wrote:
Interesting indeed, but in my case I need exactly the opposite. Geoserver isan open source WFS server that has recently been restructured as a setof modules, and I want each module to be totally pluggable, that is, build
the module and drop it in the web application, done.This works beautifully for services thanks to Spring, and for configurationwebpages built as Wicket pages (and located thru extension points declared in
theSpring context), but sometimes we do have demo modules that are mostly(but not completely) made of static pages where _javascript_ talks to serverside services offered by other modules (openlayers and mapbuilder are
examplesof this approach).I just wanted to make sure I can pacakge those in thesameway as the other modules, so that when the user does not want them anymorehe only has a jar to remove from its jetty/tomcat deploy.
We are trying to offer an easy to work with server for the user, at theexpenseof some more complications on the programmer side, and yes, we are awareserving with Apache would be faster, but we leave it to people willing to
do a high perf deploy, at the moment we are more worried to give a smoothexperience to people who are just trying it out.CheersAndrea Aimeigor.vaynberg wrote: sometimes its nice to have static stuff served via apache or what not,
 css, images, js files, blah blah. what we do is have a static dir for these files and under that we have a dir named after the modules class name. we have an applicationsettings bean in
 spring context that other beans import that contains the web path to this static dir so with a simple attribute modifier you can build a link/img/whatever tag to point to the location of the static resource.
 -Igor On 9/1/06, Matej Knopp [EMAIL PROTECTED] wrote: Hi, sure, this is possible. With wicket you don't have to put a single thing
 in your web directory or WEB-INF (except of course declaring one wicket servlet (or filter in wicket 2) in web.xml). All resources can be stored in classpath. Markup files (html) for
 components and pages are stored in classpath next to the component / pages classes. Resources such as _javascript_s and css can be stored in classpath too you can use (Compressed)PackageResourceReference and HeaderContributor.
 Take a look at wicket-examples to see how to use those. -Matej aaime74 wrote:  Hi,  I'm trying to develop an app that sports fully modular web ui, that
  is, one that allows the developer/user to simply drop jars in the classpath  to get new functionality.   The idea is to have the ui split into maven modules, and keep
 everything  in the classpath. Extension points can be provided by each module by  looking in a spring context for implementors of certain interfaces (these  could be factories, or simply WebPage subclasses declared as
 prototype  beans).   Now, I'm wondering how one could handle modules that are mostly  static, that is, made of static pages, _javascript_s, images and the
 like,  given the fact that I don't want to put stuff in WEB-INF.   Is there an easy way to work with these? I know I can refer to in-classpath  resources from Components, but what about a network of static html
  pages that do refer css, images and so on, for example _javascript_ apps like  openlayers (http://openlayers.org/). Can i stick them into the
 classpath as  well?   Best regards  Andrea Aime   PS: I do want to keep everything among the sources because I don't
  want to rely on a build time file copy just to gather up the required  files from the various WEB-INFs that I could locate in each module.  Just have the web module depend on what you think you need and
  run it, done :-) - 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=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user--View this message in context: 

Re: [Wicket-user] Wicket 2.0: Wicket.Ajax.AutoComplete is not a constructor

2006-09-04 Thread Stefan Lindner
Dear Igor, it's a 2.0 error too. But thank you for your response! I hope it 
will be fixes in 2.0 soon.
 
Stefan
 
winmail.dat-
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] Utf-8 woes... (OT)

2006-09-04 Thread Per Ejeklint
This is slightly off-topic, but since I know there are several Mac and Eclipse users here that has funny chars in their mother languages I ask for hints. I can't get my Wicket app, developed on Eclipse on Mac to render Swedish vowels properly. You that knows how to tweak all encodings, could you enlighten me?  		Per Ejeklint: Consultant at Heimore Group AB, Kungsg. 33 11th floor, SE-111 56 Stockholm, Sweden 		Contact: [EMAIL PROTECTED]; mobile +4670-5090052  -
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] image l10n and path and submit tracking

2006-09-04 Thread Jaime De La Jara
The constructor comes from this : Image(java.lang.Stringid,   IModelmodel) and it works, however it requires the CANCEL.gif file be located in the same directory of the html page class (it prepends the package name to the image file). This is an example of a more general case of where one should put the html files and the images contained in them, so one can have images in different locales?For the submit and link tracking, the Javadocs say that is not recomended to override this method besides it would work for submits only. Here what I'm looking is some way of "intercepting" the click of a button or a link.Thanks a lot,Jaime.Igor Vaynberg
 [EMAIL PROTECTED] wrote: On 9/4/06, Jaime De La Jara [EMAIL PROTECTED] wrote: I've been investigating the issue of localized images and their location in the application folders and I haven't found a simple way to handle it. I've taken a look at SubmitLink but when I add an image using : add(new Image("cancelButtonImage", new ResourceModel("button.cancel"))where button.cancel is defined in a property file as : CANCEL.gifumm...i dont know who added that constructor...but i dont see it used anywhere as far as image resolution is required
 so i would file a bug you can also do new Image("id", new ResourceReference(Scope.class, getLocalizer().getString("button.cancel"))); For the second problem I need to track everytime a submit occurs or a link is clicked, how could I do that? I checked the javadocs and found onEndRequest but noticed that is deprecated, also I tried onDetach but it's also called when the button is displayed. I thought of adding a superclass that on its onSubmit() would log some information and then sublasses  would have to call super.onSubmit() but it doesn't look a good solution.i would subclass form and override form.process() and add a custom callback from there.-Igor  -Using Tomcat but need to do
 more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user 
		Do you Yahoo!? 
Get on board. You're invited to try the new Yahoo! 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=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Fully modular web ui

2006-09-04 Thread aaime74

Ha, that's the answer I was looking for. So there's no out of the box support
for it, althought I do think it would not be so difficult to build one given
that
you already have infrastructure for static resources. Nice to know.

Thank you
Best regards
Andrea Aime


igor.vaynberg wrote:
 
 if you package static files in a jar something needs to be able to access
 them because the web server obviolsy cant.
 
 maybe you build some wicketized bridge to static files that are in a jar.
 
 -Igor
 
 

-- 
View this message in context: 
http://www.nabble.com/Fully-modular-web-ui-tf2204611.html#a6140351
Sent from the Wicket - User forum at Nabble.com.


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


Re: [Wicket-user] Wicket 2.0: Wicket.Ajax.AutoComplete is not a constructor

2006-09-04 Thread Matej Knopp
How is this supposed to work in 1.2.1? I believe the header contribution 
code is the same. getImplementationId() is the one causing problems 
here. It should work ok in 2.0, as there is no getImplementationId() 
anymore.

-Matej

Igor Vaynberg wrote:
 this is a known header contribution bug in 1.2.2 we are working on right 
 now. you can either roll back to 1.2.1 or wait for 1.2.3 which should be 
 coming in a week or so.
 
 -Igor
 
 
 On 9/4/06, *Stefan Lindner* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 A little supplement: The other javascript resources are present:
  script type=text/javascript
 
 src=/Visiomedic/app/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug-drag.js/script
 
  script type=text/javascript
 
 src=/Visiomedic/app/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js/script
 and the Ajax debugger can be activated. If I add the missing
 resource by hand, firefox reports an error in the
 wicket-autocompletion.js file in the line
 
  Wicket.Ajax.AutoComplete=function(elementId,callbackUrl){
 
  Wicket is not defined
 
 Stefan
 
 -
 
 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
 
 
 
 
 
 
 -
 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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] image l10n and path and submit tracking

2006-09-04 Thread Igor Vaynberg
For the submit and link tracking, the Javadocs say that is not recomended to override this method besides it would work for submits only. Here what I'm looking is some way of intercepting the click of a button or a link.
it is not recommended, but it is also non-final :)MyForm.process() { boolean sup=super.process(); mySubmitHandler(); return sup;}-Igor
-
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] IFrames

2006-09-04 Thread Eelco Hillenius
Thanks. I changed it to InlineFrame. Replaced InternalFrame in Wicket
2.0 and deprecated InternalFrame and added InlineFrame for 1.2.

Eelco


On 9/3/06, Andrew Berman [EMAIL PROTECTED] wrote:
 All,

 Just a minor note that IFRAME stands for Inline Frame
 (http://www.w3.org/TR/REC-html40/present/frames.html#h-16.5),
 not Internal Frame as it is in the API using InternalFrame.  Maybe we should
 rename it in 2.0?

 --Andrew

 -
 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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Fully modular web ui

2006-09-04 Thread Igor Vaynberg
we dont try to be a kitchen sink of usecases :)if you build one and would like to share it with others we would be happy to let you have your own wicket-stuff module-Igor
On 9/4/06, aaime74 [EMAIL PROTECTED] wrote:
Ha, that's the answer I was looking for. So there's no out of the box supportfor it, althought I do think it would not be so difficult to build one giventhatyou already have infrastructure for static resources. Nice to know.
Thank youBest regardsAndrea Aimeigor.vaynberg wrote: if you package static files in a jar something needs to be able to access them because the web server obviolsy cant.
 maybe you build some wicketized bridge to static files that are in a jar. -Igor--View this message in context: 
http://www.nabble.com/Fully-modular-web-ui-tf2204611.html#a6140351Sent from the Wicket - User forum at Nabble.com.-
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job 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

-
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] image l10n and path and submit tracking

2006-09-04 Thread Eelco Hillenius
  For the submit and link tracking, the Javadocs say that is not recomended
 to override this method besides it would work for submits only. Here what
 I'm looking is some way of intercepting the click of a button or a link.

You should be able to use proper OAP (like AspectJ) with Wicket if you
wish. Or you can define a custom request targets or even a custom
request cycle processor like this (in your application class):

  @Override
  protected IRequestCycleProcessor newRequestCycleProcessor() {
final IRequestCycleProcessor wrapped = super
.newRequestCycleProcessor();
return new IRequestCycleProcessor() {

  public IRequestCodingStrategy getRequestCodingStrategy() {
return wrapped.getRequestCodingStrategy();
  }

  public void processEvents(RequestCycle requestCycle) {
IRequestTarget resolvedTarget = requestCycle
.getRequestTarget();
if (resolvedTarget instanceof IComponentRequestTarget) {
  // etc, etc.
}
wrapped.processEvents(requestCycle);
  }

  public IRequestTarget resolve(RequestCycle requestCycle,
  RequestParameters requestParameters) {
return wrapped.resolve(requestCycle, requestParameters);
  }

  public void respond(RequestCycle requestCycle) {
wrapped.respond(requestCycle);
  }

  public void respond(RuntimeException e,
  RequestCycle requestCycle) {
wrapped.respond(e, requestCycle);
  }
};
  }

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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] image l10n and path and submit tracking

2006-09-04 Thread Igor Vaynberg
also Page has before/afterCallComponet()we have enough hooks, maybe even too many, where you dont need aop-IgorOn 9/4/06, Eelco Hillenius
 [EMAIL PROTECTED] wrote:
  For the submit and link tracking, the Javadocs say that is not recomended to override this method besides it would work for submits only. Here what I'm looking is some way of intercepting the click of a button or a link.
You should be able to use proper OAP (like AspectJ) with Wicket if youwish. Or you can define a custom request targets or even a customrequest cycle processor like this (in your application class):
@Overrideprotected IRequestCycleProcessor newRequestCycleProcessor() {final IRequestCycleProcessor wrapped = super.newRequestCycleProcessor();return new IRequestCycleProcessor() {
public IRequestCodingStrategy getRequestCodingStrategy() {return wrapped.getRequestCodingStrategy();}public void processEvents(RequestCycle requestCycle) {IRequestTarget resolvedTarget = requestCycle
.getRequestTarget();if (resolvedTarget instanceof IComponentRequestTarget) {// etc, etc.}wrapped.processEvents(requestCycle);}public IRequestTarget resolve(RequestCycle requestCycle,
RequestParameters requestParameters) {return wrapped.resolve(requestCycle, requestParameters);}public void respond(RequestCycle requestCycle) {wrapped.respond(requestCycle);
}public void respond(RuntimeException e,RequestCycle requestCycle) {wrapped.respond(e, requestCycle);}};}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 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

-
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] image l10n and path and submit tracking

2006-09-04 Thread Jaime De La Jara
Ok, thanks. I found the onEndRequest method that does something like what I'm looking for but it's been deprecated. The page hook could be of useful for a submit button but maybe not for a link. Perhaps, I'm not sure, but a generic callback mechanism could be added to the Component class, so pre and post processor could be added for the event listener methods (onSubmit(), onClick(), etc).Best Regards,Jaime.Igor Vaynberg [EMAIL PROTECTED] wrote: also Page has before/afterCallComponet()we have enough hooks, maybe even too many, where you dont need aop-IgorOn 9/4/06, Eelco Hillenius  [EMAIL PROTECTED] wrote:   For the submit and link tracking, the Javadocs say that is not recomended to override this method besides it would work for submits only. Here what I'm looking is some way of "intercepting" the click of a button or a link. You should be able to use proper OAP (like AspectJ) with Wicket if youwish. Or you can define a custom request targets or even a customrequest cycle processor like this (in your application class): @Overrideprotected IRequestCycleProcessor newRequestCycleProcessor() {final IRequestCycleProcessor wrapped = super.newRequestCycleProcessor();return new IRequestCycleProcessor() { public IRequestCodingStrategy getRequestCodingStrategy()
 {return wrapped.getRequestCodingStrategy();}public void processEvents(RequestCycle requestCycle) {IRequestTarget resolvedTarget = requestCycle .getRequestTarget();if (resolvedTarget instanceof IComponentRequestTarget) {// etc, etc.}wrapped.processEvents(requestCycle);}public IRequestTarget resolve(RequestCycle requestCycle, RequestParameters
 requestParameters) {return wrapped.resolve(requestCycle, requestParameters);}public void respond(RequestCycle requestCycle) {wrapped.respond(requestCycle); }public void respond(RuntimeException e,RequestCycle requestCycle) {wrapped.respond(e, requestCycle);}};}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
 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  -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user 
		Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
-
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] image l10n and path and submit tracking

2006-09-04 Thread Igor Vaynberg
The page hook could be of useful for a submit button but maybe not for a link. 
how do you figure?Perhaps, I'm not sure, but a generic callback mechanism could be added to the Component class, so pre and post processor could be added for the event listener methods (onSubmit(), onClick(), etc).
we already have them and they have all been listed in this thread. i dont think we need more, in fact i think we already have too many.-Igor
-
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] Utf-8 woes... (OT)

2006-09-04 Thread Nino Wael
Hi Per

Actually we've had a lot of problems here(denmark) first with eclipse encoding 
of files, eclipse on windows autmaticly encodes in ISO-8859-1. Worked than one 
through by specifing it via the shortcut for eclipse (vm args) we forced utf-8 
on it.

Then for a long period we had what we thought was a potential bug in wicket. 
Until one day I used our OWA(Outlook web access) it turned out to be a bug in 
IE 6. Somehow IE when caching throws away the correct encoding and defaults to
ISO-8859-1 which gave strange characters. This was fixed by setting html 
encoding to ISO-8859-1, since we do not expect any body but western styled 
keyboards/encoding to use our site.


regards Nino 


-Original Message-
From:   [EMAIL PROTECTED] on behalf of Per Ejeklint
Sent:   Mon 04-09-2006 20:51
To: wicket-user@lists.sourceforge.net
Cc: 
Subject:Re: [Wicket-user] Utf-8 woes... (OT)

Never mind, solved it. Had some relic xml-spec left in a common  
markup file...

4 sep 2006 kl. 20.42 skrev Per Ejeklint:

 This is slightly off-topic, but since I know there are several Mac  
 and Eclipse users here that has funny chars in their mother  
 languages I ask for hints. I can't get my Wicket app, developed on  
 Eclipse on Mac to render Swedish vowels properly. You that knows  
 how to tweak all encodings, could you enlighten me?


-
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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Woogle is down

2006-09-04 Thread David Leangen

Just thought I'd point out (sorry if this is not the right place):

Tried using Woogle today and got a bad gateway error:

Bad Gateway
The proxy server received an invalid response from an upstream 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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] source-repository.html not updated

2006-09-04 Thread David Leangen

Thanks, Martijn!!



On Mon, 2006-09-04 at 10:57 +0200, Martijn Dashorst wrote:
 Deploying as we speak...
 
 Martijn
 
 On 9/4/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
  On 9/4/06, David Leangen [EMAIL PROTECTED] wrote:
   Do you mean that it's already been fixed, and just needs to be
   redeployed?
   In any case, I wasn't able to find the source file. Is it not in
   wicket-parent?
 
  Yes and pom.xml in
  branches/wicket-1.x/wicket-parent/pom.xml
 
  Cheers,
 
  Martijn
 
  
  Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and 
  ModalWindow
  -- http://wicketframework.org
 
 
 


-
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] Changing tag attributes

2006-09-04 Thread David Leangen

Could somebody please point me to an example or reference on how to
dynamically change tag attributes? I don't recall offhand.

I'm trying to do something like this:

If no error:
span class=noerrRighto!/span

Or if error:
span class=errSorry, try again!/span


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?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] Changing tag attributes

2006-09-04 Thread Igor Vaynberg
you can either override oncomponenttag(ComponentTag tag) { tag.getAttributes().get/put } or add a behavior to the component - namely an (Simple)AttributeModifier.-IgorOn 9/4/06, 
David Leangen [EMAIL PROTECTED] wrote:
Could somebody please point me to an example or reference on how todynamically change tag attributes? I don't recall offhand.I'm trying to do something like this:If no error:span class=noerrRighto!/span
Or if error:span class=errSorry, try again!/spanThanks!-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
-
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] Changing tag attributes

2006-09-04 Thread David Leangen

This is exactly what I need. Thanks!

Now, to make the code a bit cleaner in my repeater, I'd like to subclass
Label, overriding the onComponentTag(ComponentTag) method. I'm a big
confused again regarding models...

This is the mess I created, which does not work. The part that confuses
me the most is the use of the property model in the subclasses Label.


  public class TestLabel
extends Label
  {
private static final long serialVersionUID = 1L;
private PropertyModel m_isSuccessfulPropertyModel;

public TestLabel( final String id, final String label, final
PropertyModel propModel )
{
  super( id, label );
  m_isSuccessfulPropertyModel = propModel;
}

@Override
protected void onComponentTag( final ComponentTag tag )
{
  super.onComponentTag( tag );
  final ValueMap map = tag.getAttributes();
  final boolean isSuccessful =
(Boolean)m_isSuccessfulPropertyModel.getObject( this );
  map.put( class, getLabelTagClass( isSuccessful ) );
}
  }


And I populate my item in the repeater like this.

  add(
new DataView( testResults, new
TestResultDataProvider( testResults ) )
{
  private static final long serialVersionUID = 1L;
  private boolean m_isSuccessful = true;

  public void populateItem( final Item item )
  {
final TestResult testResult = (TestResult)item.getModelObject();
final boolean isSuccessful = testResult.isSuccessful();
setSuccessful( isSuccessful );
final PropertyModel isSuccessfulPropertyModel = new
PropertyModel( this, isSuccessful );
final Date lastTimeExecuted = new
Date( testResult.getLastTimeExecuted() );
final Long testDuration = testResult.getExecutionTime();
item.add( new TestLabel( test.name, testResult.getName(),
isSuccessfulPropertyModel ) );
  }

  public void setSuccessful( final boolean isSuccessful )
  {
m_isSuccessful = isSuccessful;
  }

  public boolean isSuccessful()
  {
return m_isSuccessful;
  }
}
  );


What am I missing here?




On Mon, 2006-09-04 at 19:17 -0700, Igor Vaynberg wrote:
 you can either override oncomponenttag(ComponentTag tag)
 { tag.getAttributes().get/put } or add a behavior to the component -
 namely an (Simple)AttributeModifier.
 
 -Igor
 
 
 On 9/4/06, David Leangen [EMAIL PROTECTED] wrote:
 
 Could somebody please point me to an example or reference on
 how to
 dynamically change tag attributes? I don't recall offhand.
 
 I'm trying to do something like this:
 
 If no error:
 span class=noerrRighto!/span 
 
 Or if error:
 span class=errSorry, try again!/span
 
 
 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?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=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=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user