Re: [Wicket-user] AJAX degrade and Hot deployment scanning with jetty

2006-09-09 Thread Frank Bille
Ok, ok. What WAS I thinking? :)FrankOn 9/8/06, Johan Compagner [EMAIL PROTECTED] wrote:
Frank frank!this is bad advice!don't call the configure method yourself. That shouldn't be done.
Because configure m ethod is always already calledWhat you should do is set in through the web.xml in deployment mode (or developerment if you always want to be in development mode)
But if you have it in deployment configured. And you want to debug through it now.Configure tomcat or jetty launcher that it sets a system property-Dwicket.configuration=DEVELOPMENTThen by default if you deploy it is in deployment. (no files touched) and in the developer you still have development mode.
johanOn 9/8/06, Frank Bille 
[EMAIL PROTECTED] wrote:
What I do to hot deploy in Eclipse is setting configure to DEVELOPMENT in init:...class MyApplication extends WebApplication {... init() {... configure(DEVELOPMENT);... }

...}This gives you hot update of resources (HTML). For java code run the jetty launcher as debug. Debug gives you hot deploy.If you find something smarter please let me know.Frank


On 9/8/06, Chan Man Kam 

[EMAIL PROTECTED] wrote:

Are there any method to degrade the all the wicket AJAXcomponent to a normal request? It may be useful for debugging.I am using jetty http server 5.0, wicket 1.2.2 and jetty launcherto develop and test my project, but after I changed my java
source code, the server cannot updated until I restart the server.The server can only update the html file I modified.If I changed to use jetty 6.0 and run the project withmaven (I use datebinder 0.7 to set up my workspace),
the server can update the changes of my java classes, butit cannot update the changes of the html files. Although Isetup the scanTargetsscanTargetsscanTargetsrc/main/java/scanTarget
/scanTargetsmaven can detect the changes of my html files, but Icannot update the html files until I restart theserver.I already tried these method:getResourceSettings().setResourcePollFrequency(
Duration.ONE_SECOND);IResourceFinder resfinder = this.getResourceSettings().getResourceFinder();resfinder.find(C:\\Documents and Settings\\workspace\\project\\);this.getResourceSettings().setResourceFinder(resfinder);
But the above problem still exists.Thanks in advance,Man Kam-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.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.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] Ajax request 'hangs' on Safari (Wicket 2.0)

2006-09-09 Thread Adam Smyczek
Hi All,

I have an ajax problem on Safari browser. When I update a component  
using AbstractDefaultAjaxBehavior the ajax log
looks like following:

-- begin --
INFO:
INFO: Initiating Ajax GET request on /quickstart/app? 
wicket:interface=: 
1:tooltip2Trigger:tooltip2Border::IBehaviorListenerwicket:behaviorId=0 
random=0.4174859744578069
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (686 characters)
INFO:
?xml version=1.0 encoding=UTF-8?ajax-responsecomponent  
id=tooltip2Trigger_tooltip2Border  encoding=wicket1 ![CDATA 
[span style=display:none; id=tooltip2Trigger_tooltip2Border  
wicket:id=tooltip2Border class=tooltipwicket:borderwicket:body
 This is a static tooltip loaded on first  
mouseover event!
 /wicket:body/wicket:border/spanscript  
type=text/javascript !--/*--![CDATA[/*!--*/
tooltipManager.registerTrigger('tooltip2Trigger',  
'tooltip2Trigger_tooltip2Border', false, '/quickstart/app? 
wicket:interface=: 
1:tooltip2Trigger:tooltip2Border::IBehaviorListenerwicket:behaviorId=0' 
);

/*--]^]^*//script

]]/component/ajax-response
INFO: Response parsed. Now invoking steps...
-- end --

It looks like the response cannot be processed correctly and  
javascript 'hangs' because on every following request I get the  
'Chanel busy - postponing...' message.

On Firefox everything works fine. To compare following is the ajax log:

-- begin--
INFO:
INFO: Initiating Ajax GET request on /quickstart/app? 
wicket:interface=: 
2:tooltip2Trigger:tooltip2Border::IBehaviorListenerwicket:behaviorId=0 
random=0.9799105785595497
INFO: Invoking pre-call handler(s)...
INFO: Received ajax response (686 characters)
INFO:
?xml version=1.0 encoding=UTF-8?ajax-responsecomponent  
id=tooltip2Trigger_tooltip2Border  encoding=wicket1 ![CDATA 
[span style=display:none; id=tooltip2Trigger_tooltip2Border  
wicket:id=tooltip2Border class=tooltipwicket:borderwicket:body
 This is a static tooltip loaded on first  
mouseover event!
 /wicket:body/wicket:border/spanscript  
type=text/javascript !--/*--![CDATA[/*!--*/
tooltipManager.registerTrigger('tooltip2Trigger',  
'tooltip2Trigger_tooltip2Border', false, '/quickstart/app? 
wicket:interface=: 
2:tooltip2Trigger:tooltip2Border::IBehaviorListenerwicket:behaviorId=0' 
);

/*--]^]^*//script

]]/component/ajax-response
INFO: Response parsed. Now invoking steps...
INFO: Response processed successfully.
INFO: Invoking post-call handler(s)...
-- end --

Any idea what could be wrong with this response?

Regards,
Adam






-
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] Matej's Tree Overflow problems

2006-09-09 Thread Karl M. Davis



Hey 
there,

I'm having a problem 
with Matej's tree. The way it's set up, if any of the rows' text is too 
wide for the 20em space allocated to the tree, the row "disappears". I can 
make the tree wider, but this becomes a problem for arbitrarily-large 
trees.
I'm hoping this is 
something I can fix by just overriding the default tree's stylesheet but so far 
I've been unable to do that. Can anyone provide some 
guidance?

Thanks,
Karl
-
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] Missing Resource Error with SignInPanel

2006-09-09 Thread Ayodeji Aladejebi
What could be the cause of a MissingResourceException.I have a SignInPanel as used in the Wicket Example...When i check the RememberMe, it throws the error, when i uncheck it, It works well. Any tips?
WicketMessage: Method onFormSubmitted of interface wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = signInForm, page = com.dabarobjects.smslook.login.SignIn, path = 21:signInBody:signInPanel:
signInForm.MemberSignInPanel$SignInForm, isVisible = true, isVersioned = true]] threw an exceptionRoot cause:java.util.MissingResourceException: Unable to find resource: ConversionError for component: signInBody:signInPanel:signInForm:rememberMeRow:rememberMe
 at wicket.Localizer.getString(Localizer.java:262) at wicket.Localizer.getString(Localizer.java:121) at wicket.markup.html.form.FormComponent.error(FormComponent.java:1177) at wicket.markup.html.form.FormComponent.convert
(FormComponent.java:651) at wicket.markup.html.form.Form$14.validate(Form.java:983) at wicket.markup.html.form.Form$ValidationVisitor.formComponent(Form.java:144) at wicket.markup.html.form.Form$4.component
(Form.java:459) at wicket.MarkupContainer.visitChildren(MarkupContainer.java:744) at wicket.MarkupContainer.visitChildren(MarkupContainer.java:759) at wicket.markup.html.form.Form.visitFormComponents
(Form.java:455) at wicket.markup.html.form.Form.validateConversion(Form.java:979) at wicket.markup.html.form.Form.validate(Form.java:953) at wicket.markup.html.form.Form.process(Form.java:867)

-
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] back button problem...

2006-09-09 Thread Erik Brakkee
Hi,


I have a  form with a compound property model and want to have full
support for the back button. To this I am already calling
modelChanging() and modelChanged() on the form before and after the
change, and debugging through the code I see that indeed the framework
is creating a copy of my model.  In an early version I stored the model
(java bean) that I constructed the CompoundPropertyModel with in the
form, but then versioning does not work, since the bean stored as a
private instance variable in the Form is not versioned.

Therefore, I am no longer storing the bean in the page but now I am
having trouble getting the bean from the compound property model.
In particular:

   getModel().getObject(this); 

throws an exception:
Caused by: wicket.WicketRuntimeException: No get method defined for
class: class nl.mycompany.app.dataobjects.EvenementData expression:
evenementForm
at
wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:324)
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:132)
at
wicket.model.AbstractDetachableModel.getObject(AbstractDetachableModel.java:104)
... 47 more


How do I solve this problem?

Cheers
  Erik

-
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] Bread crumbs based on pages, not panels?

2006-09-09 Thread aaime74

Hi,
would it be possible (and advisable) to have bread crumbs that work on pages
rather than panels?

My UI is basically a big tree of configuration pages (such as the ones for
an IDE)
and I'd like to make them bookmarkable and with nice urls... with
BreadcrumbBar
and BreadcrumbPanel this does not seem to be possible, ain't it?

Cheers
Andrea Aime
-- 
View this message in context: 
http://www.nabble.com/Bread-crumbs-based-on-pages%2C-not-panels--tf2244730.html#a6225855
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] Missing Resource Error with SignInPanel

2006-09-09 Thread Igor Vaynberg
you need to declare a resource with key ConversionError, obviously there is a conversion error somewhere in your code and wicket is looking for an error message with that key but cannot find one.-Igor
On 9/9/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
What could be the cause of a MissingResourceException.I have a SignInPanel as used in the Wicket Example...When i check the RememberMe, it throws the error, when i uncheck it, It works well. Any tips?

WicketMessage: Method onFormSubmitted of interface wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = signInForm, page = com.dabarobjects.smslook.login.SignIn, path = 21:signInBody:signInPanel:
signInForm.MemberSignInPanel$SignInForm, isVisible = true, isVersioned = true]] threw an exceptionRoot cause:java.util.MissingResourceException: Unable to find resource: ConversionError for component: signInBody:signInPanel:signInForm:rememberMeRow:rememberMe
 at wicket.Localizer.getString(Localizer.java:262) at wicket.Localizer.getString(Localizer.java:121) at wicket.markup.html.form.FormComponent.error(FormComponent.java:1177) at wicket.markup.html.form.FormComponent.convert

(FormComponent.java:651) at wicket.markup.html.form.Form$14.validate(Form.java:983) at wicket.markup.html.form.Form$ValidationVisitor.formComponent(Form.java:144) at wicket.markup.html.form.Form$4.component

(Form.java:459) at wicket.MarkupContainer.visitChildren(MarkupContainer.java:744) at wicket.MarkupContainer.visitChildren(MarkupContainer.java:759) at wicket.markup.html.form.Form.visitFormComponents

(Form.java:455) at wicket.markup.html.form.Form.validateConversion(Form.java:979) at wicket.markup.html.form.Form.validate(Form.java:953) at wicket.markup.html.form.Form.process(Form.java:867)



-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.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] back button problem...

2006-09-09 Thread Igor Vaynberg
well...this is all unique to the compound model because it uses the component's id to resolve the property. so when you passed in this it tried to use the form's id which obviously did not work.this will all be clearer in 
2.0 where imodel looks like thisIModelT { T getObject(); void setObject(T);..}-IgorOn 9/9/06, Erik Brakkee
 [EMAIL PROTECTED] wrote:Oops, solved it myself. I should have used getModel().getObject(null).
I found this out while stepping through the wicket code.In my opinion, the documentation for IModel.getObject should beextended. Right now it says:/** * Gets the model object. *
 * @param component *The component which wants to get a model Object * * @return The model object */Object getObject(final Component component);I think it should be something like:
Gets the model object. If the component passed in is null, the modelobject passed at construction of themodel is passed back. For compound models, the component must be anested component of the model.
Passing in the component to which the model was attached is illegal.Also, what about the return value. When does it return null and whendoes it result in an exception. This isalso not clear from the documentation.
CheersErikErik Brakkee wrote: Hi, I have aform with a compound property model and want to have full support for the back button. To this I am already calling
 modelChanging() and modelChanged() on the form before and after the change, and debugging through the code I see that indeed the framework is creating a copy of my model.In an early version I stored the model
 (java bean) that I constructed the CompoundPropertyModel with in the form, but then versioning does not work, since the bean stored as a private instance variable in the Form is not versioned.
 Therefore, I am no longer storing the bean in the page but now I am having trouble getting the bean from the compound property model. In particular:getModel().getObject(this);
 throws an exception: Caused by: wicket.WicketRuntimeException: No get method defined for class: class nl.mycompany.app.dataobjects.EvenementData _expression_: evenementForm at
 wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:324) 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:132) at wicket.model.AbstractDetachableModel.getObject(AbstractDetachableModel.java
:104) ... 47 more How do I solve this problem? Cheers Erik - Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user-
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?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] Bread crumbs based on pages, not panels?

2006-09-09 Thread Igor Vaynberg
it is definetenly possible and shouldnt be too hard. maybe the current implementation of the breadcrumbs doesnt support it as the usecase was panels, but it doesnt mean you cant roll your own.-Igor
On 9/9/06, aaime74 [EMAIL PROTECTED] wrote:
Hi,would it be possible (and advisable) to have bread crumbs that work on pagesrather than panels?My UI is basically a big tree of configuration pages (such as the ones foran IDE)and I'd like to make them bookmarkable and with nice urls... with
BreadcrumbBarand BreadcrumbPanel this does not seem to be possible, ain't it?CheersAndrea Aime--View this message in context: 
http://www.nabble.com/Bread-crumbs-based-on-pages%2C-not-panels--tf2244730.html#a6225855Sent 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] shades manual -- incomplete draft

2006-09-09 Thread Igor Vaynberg
i was going to leave comments on your blog, but i dont feel like signing up for blogger.com, maybe you should allow anon comments :)here are a couple of notes after scanning the manual for the first time
setParam(FROM) and setPram(TO) for paging - do those actually get injected directly into sql? or are they some internal vars you set?ORMapping should probably support a dialect system like hibernate. it really sucks that it is part of the hierarchy now, because i like to develop on a different database then the one in prod, and it should be simple to swap. seems shades doesnt abstract as much of the db layer as hibernate/ejb3/whatever - i need to code to shades not to my underlying db imho.
the dictionary can be improved by providing builders. new OneToManyBuilder(some params) that will build the string. less chances of typos.there needs to be a tool that will validate the dictionary against the current schema - prob by retrieving jdbc metadata. because a lot of things in the dict are defined by strings it would be great to know you didnt fat finger something on application startup rather then at some distant runtime.
this definetely gives me the feeling of being much closer to the bare metal, which i think is nice if you want more control - and my favorite part is that you have to explicitly call update() to have your changes persisted :)
on some high high level this reminds me of ibatis, but much more code centric.i really wish i had a project i could use this on right now to give you more valuable feedback, but i dont :(-Igor
On 9/9/06, Geoff hendrey [EMAIL PROTECTED] wrote:
yo yo yo,attached is the PDF of an incmplete draft of theShades manual. If anyone has feedback, please let meknow. Also, I am going to try to bundle theLibrary-on-Shades Wicket example with the Shades
download from sourceforgehttp://sourceforge.net/projects/shadesdb but I mightnot have time this weekend.As always, comments are welcome on the shades blog
http://notskateboarding.blogspot.com/-geoff-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] Bread crumbs based on pages, not panels?

2006-09-09 Thread Eelco Hillenius
Yeah, although the breadcrumbs core implementation (package
wicket.extensions.breadcrumb)  does not make the assumption you have
to work with panels, the only default implementation
(wicket.extensions.breadcrumb.panel) does so. It's possible to adopt
this model to a page based one, but as I never actually tried it, I'm
not sure how easy or difficult this will be.

It's probably easier to roll something of your own, maybe reusing some
of the ideas of the bread crumb panel we have.

I know that Martijn created a page-based bread crumb component for one
of his projects... maybe he's got some ideas to share?

Eelco


On 9/9/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 it is definetenly possible and shouldnt be too hard. maybe the current
 implementation of the breadcrumbs doesnt support it as the usecase was
 panels, but it doesnt mean you cant roll your own.

 -Igor



  On 9/9/06, aaime74 [EMAIL PROTECTED] wrote:
 
  Hi,
  would it be possible (and advisable) to have bread crumbs that work on
 pages
  rather than panels?
 
  My UI is basically a big tree of configuration pages (such as the ones for
  an IDE)
  and I'd like to make them bookmarkable and with nice urls... with
  BreadcrumbBar
  and BreadcrumbPanel this does not seem to be possible, ain't it?
 
  Cheers
  Andrea Aime
  --
  View this message in context:
 http://www.nabble.com/Bread-crumbs-based-on-pages%2C-not-panels--tf2244730.html#a6225855
  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
 


 -
 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] Bread crumbs based on pages, not panels?

2006-09-09 Thread Johan Compagner
it should be very simple. Just store the breadcrumb in the session object.There is only one big problem.. That is the back button. How are you going to rollback the session data?Wicket currenty doesn't have support for that only for page versions not session versions...
johanOn 9/9/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Yeah, although the breadcrumbs core implementation (packagewicket.extensions.breadcrumb)does not make the assumption you haveto work with panels, the only default implementation(wicket.extensions.breadcrumb.panel
) does so. It's possible to adoptthis model to a page based one, but as I never actually tried it, I'mnot sure how easy or difficult this will be.It's probably easier to roll something of your own, maybe reusing some
of the ideas of the bread crumb panel we have.I know that Martijn created a page-based bread crumb component for oneof his projects... maybe he's got some ideas to share?EelcoOn 9/9/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote: it is definetenly possible and shouldnt be too hard. maybe the current implementation of the breadcrumbs doesnt support it as the usecase was
 panels, but it doesnt mean you cant roll your own. -IgorOn 9/9/06, aaime74 [EMAIL PROTECTED] wrote:
   Hi,  would it be possible (and advisable) to have bread crumbs that work on pages  rather than panels?   My UI is basically a big tree of configuration pages (such as the ones for
  an IDE)  and I'd like to make them bookmarkable and with nice urls... with  BreadcrumbBar  and BreadcrumbPanel this does not seem to be possible, ain't it? 
  Cheers  Andrea Aime  --  View this message in context: http://www.nabble.com/Bread-crumbs-based-on-pages%2C-not-panels--tf2244730.html#a6225855
  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  - Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user-
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?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] Bread crumbs based on pages, not panels?

2006-09-09 Thread Igor Vaynberg
i have an implementation but it is unique to this app. basically each page takes a back page in the constructor and then i iterate over the chain and create the breadcrumbs. this might be overkill for you if you are only interested in bookmarkable urls - not saving the actual state of previous pages.
but same idea might apply, you can pass the breadcrumbs object into the page constructor - that will avoid the session problem Johan mentioned.-IgorOn 9/9/06, 
Johan Compagner [EMAIL PROTECTED] wrote:
it should be very simple. Just store the breadcrumb in the session object.There is only one big problem.. That is the back button. How are you going to rollback the session data?Wicket currenty doesn't have support for that only for page versions not session versions...
johanOn 9/9/06, Eelco Hillenius 
[EMAIL PROTECTED] wrote:
Yeah, although the breadcrumbs core implementation (packagewicket.extensions.breadcrumb)does not make the assumption you haveto work with panels, the only default implementation(wicket.extensions.breadcrumb.panel

) does so. It's possible to adoptthis model to a page based one, but as I never actually tried it, I'mnot sure how easy or difficult this will be.It's probably easier to roll something of your own, maybe reusing some
of the ideas of the bread crumb panel we have.I know that Martijn created a page-based bread crumb component for oneof his projects... maybe he's got some ideas to share?EelcoOn 9/9/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote: it is definetenly possible and shouldnt be too hard. maybe the current
 implementation of the breadcrumbs doesnt support it as the usecase was
 panels, but it doesnt mean you cant roll your own. -IgorOn 9/9/06, aaime74 
[EMAIL PROTECTED] wrote:
   Hi,  would it be possible (and advisable) to have bread crumbs that work on pages  rather than panels?   My UI is basically a big tree of configuration pages (such as the ones for
  an IDE)  and I'd like to make them bookmarkable and with nice urls... with  BreadcrumbBar  and BreadcrumbPanel this does not seem to be possible, ain't it? 

  Cheers  Andrea Aime  --  View this message in context: 
http://www.nabble.com/Bread-crumbs-based-on-pages%2C-not-panels--tf2244730.html#a6225855
  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  - Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list 

Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing listWicket-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.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] Bread crumbs based on pages, not panels?

2006-09-09 Thread Eelco Hillenius
Another thing is that you don't always want to create a (or just one)
breadcrumb for every action. The bread crumbs component in
wicket-extensions has a seperate model etc to allow more flexibility
in designating what exactly the path is. But if you need just the
simple exact path of navigation, you don't need this complexity.

Eelco


On 9/9/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 i have an implementation but it is unique to this app. basically each page
 takes a back page in the constructor and then i iterate over the chain and
 create the breadcrumbs. this might be overkill for you if you are only
 interested in bookmarkable urls - not saving the actual state of previous
 pages.

 but same idea might apply, you can pass the breadcrumbs object into the page
 constructor - that will avoid the session problem Johan mentioned.

 -Igor



 On 9/9/06, Johan Compagner [EMAIL PROTECTED] wrote:
 
  it should be very simple. Just store the breadcrumb in the session object.
  There is only one big problem.. That is the back button. How are you going
 to rollback the session data?
  Wicket currenty doesn't have support for that only for page versions not
 session versions...
 
 
  johan
 
 
 
 
  On 9/9/06, Eelco Hillenius  [EMAIL PROTECTED] wrote:
   Yeah, although the breadcrumbs core implementation (package
   wicket.extensions.breadcrumb)  does not make the assumption you have
   to work with panels, the only default implementation
   (wicket.extensions.breadcrumb.panel ) does so. It's
 possible to adopt
   this model to a page based one, but as I never actually tried it, I'm
   not sure how easy or difficult this will be.
  
   It's probably easier to roll something of your own, maybe reusing some
   of the ideas of the bread crumb panel we have.
  
   I know that Martijn created a page-based bread crumb component for one
   of his projects... maybe he's got some ideas to share?
  
   Eelco
  
  
   On 9/9/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
it is definetenly possible and shouldnt be too hard. maybe the current
implementation of the breadcrumbs doesnt support it as the usecase was
panels, but it doesnt mean you cant roll your own.
   
-Igor
   
   
   
 On 9/9/06, aaime74  [EMAIL PROTECTED] wrote:

 Hi,
 would it be possible (and advisable) to have bread crumbs that work
 on
pages
 rather than panels?

 My UI is basically a big tree of configuration pages (such as the
 ones for
 an IDE)
 and I'd like to make them bookmarkable and with nice urls... with
 BreadcrumbBar
 and BreadcrumbPanel this does not seem to be possible, ain't it?

 Cheers
 Andrea Aime
 --
 View this message in context:
   
 http://www.nabble.com/Bread-crumbs-based-on-pages%2C-not-panels--tf2244730.html#a6225855
 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

   
   
   
 -
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
 
 

[Wicket-user] How to use Javascript Alert

2006-09-09 Thread Pierre-Yves Saumont
Hello,

What is the best way to call a Wicket url from Javascript? Is it 
possible to have Wicket embed a link in a script? Or should I use a 
normal link, make it invisible an programmatically click on it from the 
script?

Thanks

Pierre-Yves


-
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] checkboxes in dataview...

2006-09-09 Thread Erik Brakkee
Hi,

I was just wondering how to do the following:
1. display a number of items together with a checkbox in a table using
DataView.
2. in the submission of a form check which items are checked.

The data is coming from a database so a DataView would seem a good choice.
How do I go about something like this with wicket?

Cheers
  Erik

-
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] checkboxes in dataview...

2006-09-09 Thread Erik Brakkee
Erik Brakkee wrote:
 Hi,

 I was just wondering how to do the following:
 1. display a number of items together with a checkbox in a table using
 DataView.
 2. in the submission of a form check which items are checked.

 The data is coming from a database so a DataView would seem a good choice.
 How do I go about something like this with wicket?
   
Let me rephrase: It is easy to implement a IDataProvider and put all
kinds of content on it like e.g. checkboxes.
The main problem is in an onSubmit() of a form to tell which items are
actually shown on the current page.
How do I do that?

 Cheers
   Erik

 -
 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] CSS problems with DataTable in an AjaxTabbedPanel

2006-09-09 Thread Per Ejeklint
I have a page with a few AjaxTabbedPanels. Two contains TreeTables and renders just fine. One contains a DataTable with a HeadersToolbar for sorting. This panel renders fine when first entered, but when I click on a header to sort, the CSS styling for the enclosing tab-row breaks. It's styling falls back to regular links in an "ul". I don't know where to start, so can anyone give me tips on where to put my bug-finding loupe at first?/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] checkboxes in dataview...

2006-09-09 Thread Martijn Dashorst
Does your Java object that is in your list have a boolean property?

The checkboxes will set that value.

Martijn


On 9/9/06, Erik Brakkee [EMAIL PROTECTED] wrote:
 Erik Brakkee wrote:
  Hi,
 
  I was just wondering how to do the following:
  1. display a number of items together with a checkbox in a table using
  DataView.
  2. in the submission of a form check which items are checked.
 
  The data is coming from a database so a DataView would seem a good choice.
  How do I go about something like this with wicket?
 
 Let me rephrase: It is easy to implement a IDataProvider and put all
 kinds of content on it like e.g. checkboxes.
 The main problem is in an onSubmit() of a form to tell which items are
 actually shown on the current page.
 How do I do that?

  Cheers
Erik
 
  -
  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



-- 
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] checkboxes in dataview...

2006-09-09 Thread Martijn Dashorst
Just like you think you should, just with one extra provision: call
setReuseItems(true) on the dataview.

Martijn

On 9/9/06, Erik Brakkee [EMAIL PROTECTED] wrote:
 Hi,

 I was just wondering how to do the following:
 1. display a number of items together with a checkbox in a table using
 DataView.
 2. in the submission of a form check which items are checked.

 The data is coming from a database so a DataView would seem a good choice.
 How do I go about something like this with wicket?

 Cheers
   Erik

 -
 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] checkboxes in dataview...

2006-09-09 Thread Igor Vaynberg
that is an inelegant approach imho, this is how i would do itclass MyPage extends WebPage { private Set selected=new HashSet(); public MyPage() { add(new DataView(...) { populateItem(item) {
 MyObject o=(MyObject)item.getModel(); item.add(new CheckBox(cb, new CheckedModel(o.getId()); ... } }); } private class CheckedModel extends AbstractCheckBoxModel {
 private final long id; public SelectedPersonModel(long id) { this.id=id; } public void setSelected(Component c, boolean sel) { if (sel) { selected.add(id); } else { selected.remove
(id); } } public void isSelected(Component c) { return selected.contains(id); }} }then after the form submit read the selected set for selected ids. if you have paging you need to write your own navigator that uses submitlink instead of linkor use an ajax checkbox
-IgorOn 9/9/06, Martijn Dashorst [EMAIL PROTECTED] wrote:
Does your Java object that is in your list have a boolean property?The checkboxes will set that value.MartijnOn 9/9/06, Erik Brakkee [EMAIL PROTECTED] wrote:
 Erik Brakkee wrote:  Hi,   I was just wondering how to do the following:  1. display a number of items together with a checkbox in a table using  DataView.
  2. in the submission of a form check which items are checked.   The data is coming from a database so a DataView would seem a good choice.  How do I go about something like this with wicket?
  Let me rephrase: It is easy to implement a IDataProvider and put all kinds of content on it like e.g. checkboxes. The main problem is in an onSubmit() of a form to tell which items are
 actually shown on the current page. How do I do that?  Cheers  Erik   -
  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--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 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] checkboxes in dataview...

2006-09-09 Thread Igor Vaynberg
dataview doesnt have reuseitems(true) it has IItemReuseStrategies - not really necessary in this case because checkboxes wont fail any validation-IgorOn 9/9/06, 
Martijn Dashorst [EMAIL PROTECTED] wrote:
Just like you think you should, just with one extra provision: callsetReuseItems(true) on the dataview.MartijnOn 9/9/06, Erik Brakkee [EMAIL PROTECTED] wrote:
 Hi, I was just wondering how to do the following: 1. display a number of items together with a checkbox in a table using DataView. 2. in the submission of a form check which items are checked.
 The data is coming from a database so a DataView would seem a good choice. How do I go about something like this with wicket? Cheers Erik -
 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 Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
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] CSS problems with DataTable in an AjaxTabbedPanel

2006-09-09 Thread Per Ejeklint
Yes, I have those in place, so something else is going on...9 sep 2006 kl. 23.30 skrev Igor Vaynberg:make sure you have all the necessary styles for the link implementednamely th.wicket_orderDown/Up/None-IgorOn 9/9/06, Per Ejeklint  [EMAIL PROTECTED] wrote:I have a page with a few AjaxTabbedPanels. Two contains TreeTables and renders just fine. One contains a DataTable with a HeadersToolbar for sorting. This panel renders fine when first entered, but when I click on a header to sort, the CSS styling for the enclosing tab-row breaks. It's styling falls back to regular links in an "ul". I don't know where to start, so can anyone give me tips on where to put my bug-finding loupe at first? /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] How to use Javascript Alert

2006-09-09 Thread Eelco Hillenius
If you can use Ajax, you could even implement it more transparently.
In that case, make a panel for the normal display of the row, and a
panel that has the buttons. When the row is clicked, you do an ajax
roundtrip, and replace the display component with the buttons
component. And attached to these buttons are yet two other ajax round
trips, one for canceling that would redisplay the normal row, and the
other would delete the row and let the whole list component render
itself (be careful: don't re-render a lists with ajax directly, but
instead re-render the parent of the list.

Eelco


On 9/9/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
 Hi Eelco, thanks for you help.

 I tried the second solution, and it works fine for a simple confirm
 message before action is taken.

 However, my use case is a bit different since I wanted to use a
 confirmation process that is already implemented and implies rountriping
 between the client and the server. Basically, when the button is clicked
 on a row in a listview, the corresponding record is marked to be
 deleted and the component is redisplayed, this time with an additionnal
 div with two buttons (confirm - cancel). If the user click confirm, the
 record is deleted only if the delay was not more than a preconfigured value.

 What I wanted to do is replace the HTML div containing the two buttons
 with a simple confirm dialog (which allow for much easier modal behavior).

 I eventually found the following solution: I replaced the two buttons
 with two invisible links and I call there onClick even that way:

 script type=text/javascript
function confirmDelete(message) {
  if (confirm(message)) {

 document.getElementById(rightColumn_pagePanel_dialogBoxReponses_tabs_panel_dialogBoxContent_confirmLink).onclick();
  }
  else {

 document.getElementById(rightColumn_pagePanel_dialogBoxReponses_tabs_panel_dialogBoxContent_cancelLink).onclick();
  };
}
 /script

 Pierre-Yves

 Eelco Hillenius a écrit :
  On 9/9/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
  Hello,
 
  What is the best way to call a Wicket url from Javascript? Is it
  possible to have Wicket embed a link in a script? Or should I use a
  normal link, make it invisible an programmatically click on it from the
  script?
 
  Use an attribute modifier for normal links (Wicket 2.0 code btw):
 
   final Link removeLink = new Link(item, remove) {
 public void onClick() {
   ...
 }
   };
   removeLink.add(new SimpleAttributeModifier(onclick,
   if(!confirm('remove discount for 
   + discount.getCheese().getName()
   +  ?')) return false;));
 
  Or if you use ajax links, use a call decorator:
 
 private class RemoveLink extends AjaxLink {
   private final Discount discount;
 
   private RemoveLink(ListItemDiscount item, String id) {
 super(item, id);
 this.discount = item.getModelObject();
   }
 
   @Override
   public void onClick(AjaxRequestTarget target) {
 ...
   }
 
   @Override
   protected IAjaxCallDecorator getAjaxCallDecorator() {
 return new AjaxCallDecorator() {
   @Override
   public CharSequence decorateScript(CharSequence script) {
 return if(!confirm('remove discount for 
 + discount.getCheese().getName()
 +  ?')) return false; + script;
   }
 };
   }
 }
 
 
  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] DatePicker enabled

2006-09-09 Thread Nili Adoram
I faced the same issue not long ago and solved it by adding a disabled 
date picker image and toggling between the enabled and disabled date 
pickers by modifying the disabled attribute.

Igor Vaynberg wrote:
 yes. datepicker doesnt support the disabled attribute yet. if you 
 would like you can create a patch and send it in. the core team will 
 be concentrating on replacing it because of license issues with what 
 is now in wicket-contrib-datepicker (about 20% there). help is always 
 welcome.

 -Igor


 On 9/8/06, *Charles A Deal* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 wrote:


 I am using the DatePicker
 (wicket.extensions.markup.html.datepicker) Panel on one of my
 forms.  I want it to start out disabled so I called
 setEnabled(false) on the object.  However, I can still click on
 the DatePicker icon.  

 Admittedly, I am still very new to this, but after looking at the
 code, it looks like the TriggerButton is not picking up the
 settings from the Parent.  So, the TriggerButton doesn't know that
 it is supposed to be disabled.  Is this a correct statement?

 Charles Deal

 -
 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] checkboxes in dataview...

2006-09-09 Thread Erik Brakkee




Martijn Dashorst wrote:

  Does your Java object that is in your list have a boolean property?

The checkboxes will set that value.
  

Yes it has a boolean value, but since I am using an IDataProvider, I
really have no idea in my form which objects have been created by the
data provider and are shown on the page. 


  
Martijn


On 9/9/06, Erik Brakkee [EMAIL PROTECTED] wrote:
  
  
Erik Brakkee wrote:


  Hi,

I was just wondering how to do the following:
1. display a number of items together with a checkbox in a table using
DataView.
2. in the submission of a form check which items are checked.

The data is coming from a database so a DataView would seem a good choice.
How do I go about something like this with wicket?

  

Let me rephrase: It is easy to implement a IDataProvider and put all
kinds of content on it like e.g. checkboxes.
The main problem is in an onSubmit() of a form to tell which items are
actually shown on the current page.
How do I do that?



  Cheers
  Erik

-
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