Wicket tree

2009-01-12 Thread PSkarthic
Hi I have constructed my tree but i cant get the clicked node. The nodeLinkClicked() function is not working. I used the nodeLinkClicked method in two ways 1. exetending Tree class 2. while creating the object new(){ nodeLinkClicked() }; In both i just put standard output statement but

Help,How to download all files in one folder ?

2009-01-12 Thread wch2001
-- View this message in context: http://www.nabble.com/Help%2CHow-to-download-all-files-in-one-folder---tp21411338p21411338.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Help,How to download all files in one folder ?

2009-01-12 Thread wch2001
Deal all, I need to download all files in one folder(for example: c:/dw/adsmart), How can I do ? Thanks a lot, Wu -- View this message in context: http://www.nabble.com/Help%2CHow-to-download-all-files-in-one-folder---tp21411355p21411355.html Sent from the Wicket - User mailing list archive

Re: Help,How to download all files in one folder ?

2009-01-12 Thread PSkarthic
I am also a newbie but i will try could u be please more specific or elabrate -- View this message in context: http://www.nabble.com/Help%2CHow-to-download-all-files-in-one-folder---tp21411355p21411712.html Sent from the Wicket - User mailing list archive at Nabble.com.

Select model object when clicking on a row in a DataView

2009-01-12 Thread Gohan
Hi, I have a DataView using a custom Item that I create when the newItem method is called. My question is, how do I add an onclick event handler to this Item that allows me to select the model object for a particular row? Or perhaps I can achieve this in some other way? Thanks Johan -- View

Re: Help,How to download all files in one folder ?

2009-01-12 Thread wch2001
in the folder: c:/cw/adsmart, there are 3 files: aa.txt, bb.txt, cc.txt, how can i download it ? if it possible that when clicking button/link and so on to download those 3 files? thanks PSkarthic wrote: I am also a newbie but i will try could u be please more specific or elabrate

Re: Help,How to download all files in one folder ?

2009-01-12 Thread Piller Sébastien
Zip them on the fly, then download the zip. wch2001 a écrit : in the folder: c:/cw/adsmart, there are 3 files: aa.txt, bb.txt, cc.txt, how can i download it ? if it possible that when clicking button/link and so on to download those 3 files? thanks PSkarthic wrote: I am also a newbie

Re: Help,How to download all files in one folder ?

2009-01-12 Thread Vit Rozkovec
I would try to pack all the files to one archive and then download the archive. Vitek wch2001 wrote: Deal all, I need to download all files in one folder(for example: c:/dw/adsmart), How can I do ? Thanks a lot, Wu -

Re: Help,How to download all files in one folder ?

2009-01-12 Thread wch2001
thanks , Pills. How can I zip it ? thanks Pills wrote: Zip them on the fly, then download the zip. wch2001 a écrit : in the folder: c:/cw/adsmart, there are 3 files: aa.txt, bb.txt, cc.txt, how can i download it ? if it possible that when clicking button/link and so on to

Re: Help,How to download all files in one folder ?

2009-01-12 Thread Vit Rozkovec
Sorry, but: http://letmegooglethatforyou.com/?q=java+zip+files Vitek wch2001 wrote: thanks , Pills. How can I zip it ? thanks Pills wrote: Zip them on the fly, then download the zip. wch2001 a écrit : in the folder: c:/cw/adsmart, there are 3 files: aa.txt, bb.txt, cc.txt,

Re: Help,How to download all files in one folder ?

2009-01-12 Thread Piller Sébastien
Look at ZipOutputStream + google, you'll find lotz of sources. wch2001 a écrit : thanks , Pills. How can I zip it ? thanks Pills wrote: Zip them on the fly, then download the zip. wch2001 a écrit : in the folder: c:/cw/adsmart, there are 3 files: aa.txt, bb.txt, cc.txt, how

Re: Help,How to download all files in one folder ?

2009-01-12 Thread Michael Sparer
http://www.google.com/search?q=java+zip ;-) wch2001 wrote: thanks , Pills. How can I zip it ? thanks Pills wrote: Zip them on the fly, then download the zip. wch2001 a écrit : in the folder: c:/cw/adsmart, there are 3 files: aa.txt, bb.txt, cc.txt, how can i

Re: Help,How to download all files in one folder ?

2009-01-12 Thread Peter Ertl
how is this wicket? Am 12.01.2009 um 11:36 schrieb Michael Sparer: http://www.google.com/search?q=java+zip ;-) wch2001 wrote: thanks , Pills. How can I zip it ? thanks Pills wrote: Zip them on the fly, then download the zip. wch2001 a écrit : in the folder: c:/cw/adsmart,

Re: Help,How to download all files in one folder ?

2009-01-12 Thread Piller Sébastien
Zipping data has absolutely nothing to do with wicket, this is a separate concern, and this looks absolutely normal that nothing exists in wicket for such a feature. Separation of concerns is very usual on today's days. Peter Ertl a écrit : how is this wicket? Am 12.01.2009 um 11:36

Re: Help,How to download all files in one folder ?

2009-01-12 Thread Michael Sparer
didn't know that one - thanks Vitek. now I know the answer to 90% of the questions I get asked everyday :-D Vit Rozkovec wrote: Sorry, but: http://letmegooglethatforyou.com/?q=java+zip+files Vitek wch2001 wrote: thanks , Pills. How can I zip it ? thanks Pills wrote: Zip

Why Named Wicket

2009-01-12 Thread PSkarthic
Hi to all Actually i am working with wicket for one month and suddenly a thought came why it is named wicket.:working: So anybody know the reason why wicket is named so. Thanks in advance Karthic -- View this message in context:

Re: Help,How to download all files in one folder ?

2009-01-12 Thread Thies Edeling
Now that's a funny and handy site ;) Vit Rozkovec wrote: Sorry, but: http://letmegooglethatforyou.com/?q=java+zip+files Vitek wch2001 wrote: thanks , Pills. How can I zip it ? thanks Pills wrote: Zip them on the fly, then download the zip. wch2001 a écrit : in the folder:

Re: Why Named Wicket

2009-01-12 Thread Michael Sparer
same questions, 3 months later ;-) have a look at: http://www.nabble.com/Why-is-Wicket-called-Wicket--to20106097.html#a20106097 or at http://letmegooglethatforyou.com/?q=why+is+wicket+called+wicket but I'd prefer the first link ;-) PSkarthic wrote: Hi to all Actually i am

Re: Why Named Wicket

2009-01-12 Thread Steve Flasby
Ah, and there was me hoping it was Hitchhikers Guide to the Galaxy related. Mmm, although the Wicket Gate was supposed to keep the bad guys in, if I remember correctly, Wicket for me is more like '42'. Steve Michael Sparer wrote: same questions, 3 months later ;-) have a look at:

Re: Help,How to download all files in one folder ?

2009-01-12 Thread Vit Rozkovec
You're welcome. Michael Sparer wrote: didn't know that one - thanks Vitek. now I know the answer to 90% of the questions I get asked everyday :-D Vit Rozkovec wrote: Sorry, but: http://letmegooglethatforyou.com/?q=java+zip+files Vitek wch2001 wrote: thanks , Pills. How can I zip

Accessing username from page problem

2009-01-12 Thread itayh
Hi, I have my custom session class that extends AuthenticatedWebSession and I implement the authenticate method. In order to get the user name from anywhere in the code I save the user name in the authenticate method to local member and then I can use it anywhere. The problem is if I restart my

Re: FileUpload broken in Firefox 3.0.5

2009-01-12 Thread Gohan
It seems like many Ajax features doesn't seem to work in Firefox 3.0.5 while they work in Internet Explorer for example. This is quite a big annoyance more me since I cannot use an Ajax features in my code. -- View this message in context:

Intercept AutoCompleteTextField choice...

2009-01-12 Thread Luca Provenzani
Hi to all! I've an AutoCompleteTextField and it's all ok. But how can i intercept the final choice of the user? I explain better. For example, the choices are Medium,Monster and Moon. The user types m and the AutoCompleteTextField print the three choices. The user clicks on Monster. How can i

sessionsize of requestlogger

2009-01-12 Thread carloc
Hi Everyone, RequestLogger - time=103,event=Interface[target:AjaxPagingNavigationLink(userListForm:userGroupContainer:userGroupCheckGroup:ajaxPagingNavigation:navigation:9:pageLink), page: com.ccti.base.web.usergroup.VedUserGroupPage(2), interface:

Re: FileUpload broken in Firefox 3.0.5

2009-01-12 Thread Steve Swinsburg
Interesting. I found my issue was related to attaching a Behaviour to an onblur event. It was clearing the FileUpload field for some reason. I've also noticed that FileUpload getContentType() doesn't always return properly when a file has been uploaded from IE (I've seen this issue with

Re: sessionsize of requestlogger

2009-01-12 Thread carloc
As an added observation, sessionsize of deployment mode is much lower than in development mode. Is there any reason to this? carloc wrote: Hi Everyone, RequestLogger -

Validation and eventhandlig order of form fields

2009-01-12 Thread Kai Doehler

Re: Validation and eventhandlig order of form fields

2009-01-12 Thread Kai Doehler

Re: sessionsize of requestlogger

2009-01-12 Thread carloc
Another observation that I noted is that components contain a reference to their raw markup. The markup which I used to code it. It is actually stored in the httpsession. Is This Correct? For example, I see this in my debugger. html body wicket:panel

Re: Intercept AutoCompleteTextField choice...

2009-01-12 Thread noon
I followed the example introduced in Wicket wiki and it solved exaclty my problem. http://cwiki.apache.org/WICKET/autocomplete-using-a-wicket-model.html Luca Provenzani wrote: Hi to all! I've an AutoCompleteTextField and it's all ok. But how can i intercept the final choice of the

PrototipBehaviour problems

2009-01-12 Thread Ryan O'Hara
I'm trying to use PrototipBehaviour. Below is my code: Link detailsLink = new Link(Sample, new Model(sample)); Label label = new Label(sampleid, sample); detailsLink.add(label); PrototipBehaviour pb = new PrototipBehaviour(hallelujah!!); label.add(pb); add(detailsLink); And below is the source

Re: PrototipBehaviour problems

2009-01-12 Thread Vit Rozkovec
You must include its javascript libraries: add(ScriptaculousAjaxBehavior.newJavascriptBindingBehavior()); you need to have a scriptaculous dependency in your project's pom.xml Vitek Ryan O'Hara wrote: I'm trying to use PrototipBehaviour. Below is my code: Link detailsLink = new Link(Sample,

Trying to update a tabbed panel

2009-01-12 Thread Dane Laverty
I have a tabbed panel that displays a person's information. Outside that panel are several links, which can be clicked to change the person whose information is being displayed in the tabbed panel. My problem is that it only works the first time the user clicks a link. Any subsequent clicks do

Re: Select model object when clicking on a row in a DataView

2009-01-12 Thread Igor Vaynberg
class myitem extends item implements IOnClickHandler { protected oncomponenttag(tag) { tag.put(onclick).urlfor(IOnClickHandler.INTERFACE); } public void onclick() { whatever(); } } -igor On Mon, Jan 12, 2009 at 2:18 AM, Gohan hal...@gmail.com wrote: Hi, I have a

Re: Newbie IMG tag pointing context root issue

2009-01-12 Thread Steve Viens
Interesting. Peter, I tried what you suggested below but was still having the same issue ... that darn ../ prefix in being added to the src value for my image. But I did figure it out ... Because I am in the process of moving a small JSP-based webapp to Wicket. I realized that while I

thanks ur help,withe the zipoutputstream,

2009-01-12 Thread wch2001
with http://letmegooglethatforyou.com/?q=java+zip+files, I can get the zipoutputstream, How can i export it ? Need to use the following AbstractResourceStreamWriter , right ? how can i override write method? Sorry to ask so stupid question, thanks for help.

Update number of login users in all user's page when new user login

2009-01-12 Thread Eunice
Hi, i wanted to have the number of login users to be shown on all user's screen. This means, once a new user login, the number of login users shows on other active user's screen will be updated. Let say there are 2 sessions is currently log in into my application. session.getSessionId() ==

Re: Wicket tree

2009-01-12 Thread PSkarthic
Is There any one to solve this Hi I have constructed my tree but i cant get the clicked node. The nodeLinkClicked() function is not working. I used the nodeLinkClicked method in two ways 1. exetending Tree class 2. while creating the object new(){ nodeLinkClicked() }; In both i just put

Re: Newbie IMG tag pointing context root issue

2009-01-12 Thread Igor Vaynberg
its a tomcat bug afaik. search this list for tomcat and index.jsp. -igor On Mon, Jan 12, 2009 at 6:28 PM, Steve Viens st...@viens.net wrote: Interesting. Peter, I tried what you suggested below but was still having the same issue ... that darn ../ prefix in being added to the src value for

Re: Update number of login users in all user's page when new user login

2009-01-12 Thread Igor Vaynberg
see HttpSessionListener -igor On Mon, Jan 12, 2009 at 6:41 PM, Eunice peiwen0...@gmail.com wrote: Hi, i wanted to have the number of login users to be shown on all user's screen. This means, once a new user login, the number of login users shows on other active user's screen will be

Re: sessionsize of requestlogger

2009-01-12 Thread Jeremy Thomerson
Session size really depends on the types of models you use. For instance, if you have a list of items in some sort of repeating view, perhaps your model that loads the list is loadable / detachable (good), but you might do something like new Model(rowItem) around each item in, for instance, your

Re: Update number of login users in all user's page when new user login

2009-01-12 Thread Eunice
Ok..Thanks for your reply.. igor.vaynberg wrote: see HttpSessionListener -igor On Mon, Jan 12, 2009 at 6:41 PM, Eunice peiwen0...@gmail.com wrote: Hi, i wanted to have the number of login users to be shown on all user's screen. This means, once a new user login, the number of

Re: Update number of login users in all user's page when new user login

2009-01-12 Thread Martin Makundi
How does this perform in a clustered environment? The specification says: A servlet container is not required to propagate HttpSessionEvents to different JVMs ** Martin 2009/1/13 Eunice peiwen0...@gmail.com: Ok..Thanks for your reply.. igor.vaynberg wrote: see HttpSessionListener

How to handle click event on tree

2009-01-12 Thread PSkarthic
I am currently using wicket tree, the tree is constructed and working well but i can't get the click event. For example i want to get the clicked node to display. I tried extending tree and overriding the nodeLinkClicked, but that is not fired when i clicked. What to do anyone knows about

Re: Select model object when clicking on a row in a DataView

2009-01-12 Thread Gohan
Thanks for your answer but I cannot seem to find the IOnClickHandler interface. I'm using Wicket 1.3.5. I've tried using: item.add(new AjaxEventBehavior(onclick) { private static final long serialVersionUID = 3710904016938478920L;

Re: Wicket tree

2009-01-12 Thread Per Newgro
Hi, a bit more code would help getting a good answer. You could overwrite the DefaultAbstractTree.onNodeLinkClicked(AjaxRequestTarget target, TreeNode node) method. Why this should not work - i only can hit the air. Another way is to call the

Re: How to handle click event on tree

2009-01-12 Thread Per Newgro
Hi Karthic, check the Wicket tree thread please. Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Wicket tree

2009-01-12 Thread PSkarthic
Thank you for your reply. So i have to extend the DefaultAbstractTree and override the onNodeLinkClicked is that right? I am trying that. Newgro wrote: Hi, a bit more code would help getting a good answer. You could overwrite the

Re: Wicket tree

2009-01-12 Thread Per Newgro
AFAIK you can use Tree. It's extending already the DefaultAbstractTree. Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: thanks ur help,withe the zipoutputstream,

2009-01-12 Thread Peter Ertl
just replace throw new UnsupportedOperationException(Not supported yet.); with your own code :-) Am 13.01.2009 um 03:32 schrieb wch2001: with http://letmegooglethatforyou.com/?q=java+zip+files, I can get the zipoutputstream, How can i export it ? Need to

Re: Why Named Wicket

2009-01-12 Thread nino martinez wael
2009/1/12 Michael Sparer michael.spa...@gmx.at same questions, 3 months later ;-) have a look at: http://www.nabble.com/Why-is-Wicket-called-Wicket--to20106097.html#a20106097 or at http://letmegooglethatforyou.com/?q=why+is+wicket+called+wicket ROTFL , did'nt know that site.. but

Re: thanks ur help,withe the zipoutputstream,

2009-01-12 Thread Piller Sébastien
Just write your data to the OutputStream you receive as parameter. But the zipping step (creating the ZipOutputStream, adding some crc checks, etc) is not related to wicket at all. Maybe you should ask on some other java list (this is part of java.util api) wch2001 a écrit : with