Re: Remove underline in OrderByBorder link

2008-08-07 Thread Erik van Oosten
I think his problem is how to set add the class attribute. In addition, he probably want another class for each sort direction. Erik. [EMAIL PROTECTED] wrote: td.mycss a { text-decoration: none;} -Igor On 8/6/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Erik: Thx, I

Re: Comparing JSF and Wicket

2008-08-07 Thread nlif
Thanks Scott. Nice experiment. In my experience, not many organizations would be willing to commit resources for such a research. But the result is hard to dismiss: after all, when everything is said and done, the most important factor in most companies is - how fast can you deliver this?

Re: Comparing JSF and Wicket

2008-08-07 Thread nlif
Peter, Actually, when I said I googled a bit and found some material, I was in fact referring to your blog post and the slides :) This is very useful information, and your comparison was done, IMHO, very fairly and skillfully. However, as I said, this is from 2006, and I figured things may have

Re: Facebook Wicket Integration

2008-08-07 Thread Benny Weingarten
Thanks Cao, but I don't see how this helps me. Let me further explain my situation. 1) I need to display links to the users of my facebook application. These links are DYNAMIC, so I can't put them in the markup. I have to use some sort of wicket Link component. 2) In your example, the URLs are

Re: Comparing JSF and Wicket

2008-08-07 Thread nlif
Thanks Igor, While it is very good to know that it's relatively easy to develop Wicket components, bear in mind that management (at least mine) is more easily convinced when presented with a wide selection of 3rd party component libraries, since that provides an alternative to allocating time

Re: Comparing JSF and Wicket

2008-08-07 Thread Eelco Hillenius
Actually, when I said I googled a bit and found some material, I was in fact referring to your blog post and the slides :) This is very useful information, and your comparison was done, IMHO, very fairly and skillfully. However, as I said, this is from 2006, and I figured things may have

Re: why does ExternalLink generate span instead of a simple a

2008-08-07 Thread Ladislav Thon
I see, but in this case I didn't provide any markup. ExternalLink is being added in a PropertyColumn.populateItem method to a (cell) Item of PropertyColumn of a DataTable. So see the markup of DataTable -- you are gonna see those spans there :-) As Igor said, the easiest way is to use a

Re: why does ExternalLink generate span instead of a simple a

2008-08-07 Thread dukehoops
igor.vaynberg wrote: you can add the link to a fragment, and then add the fragment to the column. I did the above and it worked like a charm. Thanks and -again - nice job on the framework! - Nikita Tovstoles vside.com -- View this message in

Re: Comparing JSF and Wicket

2008-08-07 Thread Eelco Hillenius
While it is very good to know that it's relatively easy to develop Wicket components, bear in mind that management (at least mine) is more easily convinced when presented with a wide selection of 3rd party component libraries, since that provides an alternative to allocating time and

Re: Comparing JSF and Wicket

2008-08-07 Thread Igor Vaynberg
On Thu, Aug 7, 2008 at 12:12 AM, nlif [EMAIL PROTECTED] wrote: Thanks Igor, While it is very good to know that it's relatively easy to develop Wicket components, bear in mind that management (at least mine) is more easily convinced when presented with a wide selection of 3rd party component

Re: Can You Use A Taglib In Wicket?

2008-08-07 Thread Lee Theobald
Cheers for the link - Just what I needed to see :) Jon Stockdill wrote: I suppose you could include the jsp. http://herebebeasties.com/2007-03-01/jsp-and-wicket-sitting-in-a-tree/ -- View this message in context: http://www.nabble.com/Can-You-Use-A-Taglib-In-Wicket--tp18854034p18865852.html

Re: ListView in Forms

2008-08-07 Thread Markus Haspl
no, there aren't any errors. but i don't understand why i have to use propertiesName.getModelObject(); in the onSubmit() method. Because there may be hundrets of propertiesName in the ListView/Form. Would it be better to make a Forms in a ListView? But then i need for every Form a submit-button.

Re: Questions about wicket features

2008-08-07 Thread Arthur Ahiceh
4. Yes. See mailing list for earlier answers. There are more hardening options such as encrypting urls. Even encrypting the urls Wicket is vulnerable to CSRF because the key used to encrypt is shared by all users of application. Wicket is an extensible framework where you to add some new

Re: Questions about wicket features

2008-08-07 Thread Erik van Oosten
Arthur Ahiceh wrote: 4. Yes. See mailing list for earlier answers. There are more hardening options such as encrypting urls. Even encrypting the urls Wicket is vulnerable to CSRF because the key used to encrypt is shared by all users of application. Wicket is an extensible

7th August London Wicket Event

2008-08-07 Thread Yiannis Mavroukakis
Hi everyone, Just wanted to say a quick thank you to Cemal, Al et al for organizing this event, last night was very informative, especially the Terracotta presentation. The only gripe I've got (besides warm beer :-P ) is the frequency of the event..I think bi-monthly is far too far apart for

Re: Questions about wicket features

2008-08-07 Thread Arthur Ahiceh
ok! you have not used the word easily but only saying There are more hardening options such as encrypting urls it only seems that encrypting urls the problem is solved and it is not the case! The user has to implement a custom security factory, one different than provided by Wicket

Re: Questions about wicket features

2008-08-07 Thread Martijn Dashorst
This assumes that the hacker correctly guesses the application key (which you of course changed from the default setting), or has access to your application to harvest URLs. Making the SunJceCrypt user specific is as simple as: new SunJceCrypt() { @Override public String getKey() {

PageParameters

2008-08-07 Thread Uwe Schäfer
hi coming from 1.3.x i stumbled upon public PageParameters(final MapString, Object parameterMap). shouldn´t this be: public PageParameters(final MapString, ? extends Object parameterMap) or public PageParameters(final MapString, ? parameterMap) sorry, if this was discussed alreadys, but i

Re: 7th August London Wicket Event

2008-08-07 Thread Chris Miller
I'd also like to pass on my thanks, I enjoyed meeting and chatting to you all and I learnt a lot in the course of the evening both through the presentations and just chatting informally. It's great to see such friendly and talented people involved in this project. If anyone reading this happens

Re: Questions about wicket features

2008-08-07 Thread Erik van Oosten
Arthur Ahiceh wrote: ok! you have not used the word easily but only saying There are more hardening options such as encrypting urls it only seems that encrypting urls the problem is solved and it is not the case! The user has to implement a custom security factory, one different than provided

Re: Questions about wicket features

2008-08-07 Thread Johan Compagner
CSRF uses urls to do something on another side right? for example img src= http://bank.example/withdraw?account=bobamount=100for=mallory; How would that work in a default wicket application? Is it really so stupid developed that these kind of things uses client side state? So this cant be

Re: How to protect against Session Fixation attacks?

2008-08-07 Thread RUMikeP
Hi Still busy looking into it, but using the suggested fix posted by Enes Fazli I notice two strange behaviours: If I use the default FileSessionStore, the URLs are as per normal, e.g. wicket:2 but if I change to HttpSessionStore then I get an additional -0 appended, e.g. wicket-0:2 In

Javascript in onBeforeRender

2008-08-07 Thread Sarkast
Hello everyone, I have a small problem. I have a wicket component and the idea is that the programmer can add numerous messages to it and whenever the component is rendered some javascript is executed to iterate over the messages and displays them. I thought that I could simply override

Re: How to protect against Session Fixation attacks?

2008-08-07 Thread Johan Compagner
no what you see is that by default the http session store has a new window browser detection (new pagemap) It needs that because of the way pages are stored and rollbacked. The DiskPageStore doesnt need that it can get all the pages back that it wants so for that the new window detection is by

Re: Questions about wicket features

2008-08-07 Thread Marcelo Morales
Thank you all Marcelo Morales On Thu, Aug 7, 2008 at 2:44 AM, Erik van Oosten [EMAIL PROTECTED] wrote: Hello Marcelo, 1. No. The flip side of having full control of the HTML is that you need to write it yourself. 2. In Wicket it is trivial to keep state (read the conversation state) on

Re: Javascript in onBeforeRender

2008-08-07 Thread Michael Sparer
Let your component implement IHeaderContributor and add the line of javascript in the renderHeader method regards Michael Sarkast wrote: Hello everyone, I have a small problem. I have a wicket component and the idea is that the programmer can add numerous messages to it and whenever the

Re: How to protect against Session Fixation attacks?

2008-08-07 Thread RUMikeP
Many thanks for the quick response. The pre-login session files in the temp filestore directory are not removed, even after the session timeout. All the new sessions are removed as they expire, but the ones that are invalidated using the patch below remain indefinitely. no what you see

Re: How to protect against Session Fixation attacks?

2008-08-07 Thread Johan Compagner
please make a jira issue for this On Thu, Aug 7, 2008 at 2:52 PM, RUMikeP [EMAIL PROTECTED] wrote: Many thanks for the quick response. The pre-login session files in the temp filestore directory are not removed, even after the session timeout. All the new sessions are removed as they

Re: Questions about wicket features

2008-08-07 Thread Arthur Ahiceh
Erik, if you did not mean that I feel it, I understood that. ;-) Arthur Erik van Oosten wrote: Arthur Ahiceh wrote: ok! you have not used the word easily but only saying There are more hardening options such as encrypting urls it only seems that encrypting urls the problem is solved

Re: Questions about wicket features

2008-08-07 Thread Arthur Ahiceh
Martijn, this solution is correct but I tell that I said in post [1]... Wicket is a framework where you can implement an easy solution but I prefer that these types of solutions were distributed by default! [1] http://www.nabble.com/Security-Features-offered-by-Wicket-to15738864.html#a15738864

Re: Questions about wicket features

2008-08-07 Thread Erik van Oosten
Arthur Ahiceh write: Erik, if you did not mean that I feel it, I understood that. ;-) Arthur Okay, thanks. (I didn't.) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Questions about wicket features

2008-08-07 Thread Erik van Oosten
Johan Compagner wrote: ...Which is pretty random. Only if all users would go over the same path always to the same page then the id could be guessed. Actually, I do not think that is completely far fetched. In my banking applications I mostly follow the same path. In some applications there

Re: Questions about wicket features

2008-08-07 Thread Martijn Dashorst
but all actions on bookmarkable pages have session relative urls, which makes guessing the correct URL still problematic. Martijn On Thu, Aug 7, 2008 at 3:16 PM, Erik van Oosten [EMAIL PROTECTED] wrote: Johan Compagner wrote: ...Which is pretty random. Only if all users would go over the same

Re: MathML in wicket

2008-08-07 Thread mdossing
Update - After some reading i realised that wicket was overwriting my utf-8 header. I managed to get it to work by changing getResponse().setContentType(text/html); to getResponse().setContentType(utf-8); There are now a number of display errors, but certainly nothing unfixable. Regards, Martin

Re: Questions about wicket features

2008-08-07 Thread Erik van Oosten
I was talking about the case where you are silly enough to code an action in the constructor of a bookmarkable page. (Really, I have seen it happen.) Regards, Erik. Martijn Dashorst wrote: but all actions on bookmarkable pages have session relative urls, which makes guessing the correct

Re: Javascript in onBeforeRender

2008-08-07 Thread Sarkast
Wow, that's simple. Wish I would have stumbled over this earlier, might have a couple more brain cells now. -- View this message in context: http://www.nabble.com/Javascript-in-onBeforeRender-tp18868357p18872322.html Sent from the Wicket - User mailing list archive at Nabble.com.

How to include some parameters in template? Custom tag? Component?

2008-08-07 Thread kan
I have some page template which I want to include some blocks which look same but some minor differences. Something like this ... body Please try our my:productInfo category=foodmy:idapple/my:id/my:productInfo and play on our cool my:productInfo category=hardwaremy:idapple/my:id/my:productInfo

How to Embed PDF in a Web Page

2008-08-07 Thread shetc
Hello All, I'm looking for some advice on how to embed a PDF into a web page using Wicket. Any help would be most appreciated. Thanks, Steve -- View this message in context: http://www.nabble.com/How-to-Embed-PDF-in-a-Web-Page-tp18872998p18872998.html Sent from the Wicket - User mailing list

problems wicket and images, css

2008-08-07 Thread oriana
I want to put an image like background of a table and I could not it. Neither the aplication catch me the leaf of style. -- View this message in context: http://www.nabble.com/problems-wicket-and-images%2C-css-tp18873143p18873143.html Sent from the Wicket - User mailing list archive at

Re: Comparing JSF and Wicket

2008-08-07 Thread Timm Helbig
Sorry, not really. *) JSF doesn't consume less Memory over Wicket. But this is not really an Argument since Hardware isn't that expensive today. *) Maybe the availability of Millions of extension Libraries for JSF. *) EL Tags are quite useful, but IMHO just another way to do the same thing.

Re: How to Embed PDF in a Web Page

2008-08-07 Thread igor . vaynberg
What does wicket have to do with this? -igor On 8/7/08, shetc [EMAIL PROTECTED] wrote: Hello All, I'm looking for some advice on how to embed a PDF into a web page using Wicket. Any help would be most appreciated. Thanks, Steve -- View this message in context:

Re: Comparing JSF and Wicket

2008-08-07 Thread Peter Ertl
I don't need nearly as much extensions for wicket because it's such a no-brainer to write my own custom components... I think JSF is a big joke with nobody laughing :) my 2 % Cheers Peter Am 07.08.2008 um 17:59 schrieb Timm Helbig: Sorry, not really. *) JSF doesn't consume less Memory

Re: Comparing JSF and Wicket

2008-08-07 Thread Scott Swank
If you can find JSF components that do exactly what you want then JSF is more compact. If, however, you find JSF components that do nearly what you want, but you have to add a bit of functionality, well then you're into the lovely world of phase listeners and the request/response life cycle.

NPE

2008-08-07 Thread Uwe Schäfer
Hi the current (1.4-m3) impl of ComponentStringResourceLoader.loadStringResource(Class,String,Locale,String) throws an NPE, that i am not sure of. I´d suggest: public String loadStringResource(Class clazz, final String key, final Locale locale, final String style)

Re: ListView in Forms

2008-08-07 Thread Igor Vaynberg
On Thu, Aug 7, 2008 at 1:36 AM, Markus Haspl [EMAIL PROTECTED] wrote: no, there aren't any errors. but i don't understand why i have to use propertiesName.getModelObject(); in the onSubmit() method. Because there may be hundrets of propertiesName in the ListView/Form. well, it is the way you

Re: NPE

2008-08-07 Thread Igor Vaynberg
whats the stacktrace for the npe? -igor 2008/8/7 Uwe Schäfer [EMAIL PROTECTED]: Hi the current (1.4-m3) impl of ComponentStringResourceLoader.loadStringResource(Class,String,Locale,String) throws an NPE, that i am not sure of. I´d suggest: public String loadStringResource(Class clazz,

modify an arbitrary dom element

2008-08-07 Thread Brill Pappin
I have a case where I want to modify the css class of the dom element that contains the component I'm working with. I found the wiki page: http://cwiki.apache.org/WICKET/how-to-modify-an-attribute-on-a-html-tag.html but that will allow me to modify the component only. Specifically what I'm

Re: modify an arbitrary dom element

2008-08-07 Thread Igor Vaynberg
you have to make it a component if you want to do it on serverside if you want to do it on clientside you would do something like document.getelementbyid(link).parentnode.style.foo=bar -igor On Thu, Aug 7, 2008 at 10:15 AM, Brill Pappin [EMAIL PROTECTED] wrote: I have a case where I want to

SecureMarkupContainer

2008-08-07 Thread Ryan O'Hara
I created a SecureMarkupContainer following Maurice's example (http:// www.nabble.com/Swarm%3A-Authorization--for-WebMarkupContainer- td17206272.html#a17219441), with the only difference being it's its own class (not subclass). For some reason, the component doesn't seem to be added to the

Re: How to Embed PDF in a Web Page

2008-08-07 Thread shetc
Hi Igor, Let me rephrase: I am working with an Acrobat Form, which is a PDF with extensions to add fields and buttons. These extensions include a button to submit an HTTP POST to an URL. This all takes place within the Adobe Reader browser plug-in. One of the features of an Acrobat Form is

Re: How to Embed PDF in a Web Page

2008-08-07 Thread Igor Vaynberg
see DownloadLink for how to stream stuff to the client -igor On Thu, Aug 7, 2008 at 10:45 AM, shetc [EMAIL PROTECTED] wrote: Hi Igor, Let me rephrase: I am working with an Acrobat Form, which is a PDF with extensions to add fields and buttons. These extensions include a button to submit

Re: modify an arbitrary dom element

2008-08-07 Thread sander v F
If you want to do in serverside (with wicked), you should add a wicket tag to the 'li'. li class=selectedItem wicket:id=listItema href=# wicket:id=homePageLinkHome/a/li the java/wicket code should look something like: WebMarkupContainer listItem=new WebMarkupContainer(listItem);

Re: How to Embed PDF in a Web Page

2008-08-07 Thread shetc
According to the DownloadLink JavaDoc: When clicked this link will prompt the save as dialog in the browser. Is there a way to stream a PDF so it is embedded in a page? -- View this message in context: http://www.nabble.com/How-to-Embed-PDF-in-a-Web-Page-tp18872998p18876162.html Sent from the

Re: How to Embed PDF in a Web Page

2008-08-07 Thread Igor Vaynberg
as far as i know, just dont set the attachment header -igor On Thu, Aug 7, 2008 at 10:54 AM, shetc [EMAIL PROTECTED] wrote: According to the DownloadLink JavaDoc: When clicked this link will prompt the save as dialog in the browser. Is there a way to stream a PDF so it is embedded in a

Re: wicket + spring + jpa reference example?

2008-08-07 Thread francisco treacy
wicket phonebook, yes. i had some trouble yesterday checking it out from the repo, so i used the download link. but that version (1.2 iirc) is outdated. anyway everything works now :) i just stumbled upon this: http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Iolite . haven't tried it,

Re: NPE

2008-08-07 Thread Uwe Schäfer
Igor Vaynberg schrieb: whats the stacktrace for the npe? java.lang.NullPointerException at org.apache.wicket.resource.loader.ComponentStringResourceLoader.loadStringResource(ComponentStringResourceLoader.java:129) so // Move to the next superclass clazz = clazz.getSuperclass();

Re: How to Embed PDF in a Web Page

2008-08-07 Thread shetc
Ah ha! Actually, Igor, I'm using your http://www.nabble.com/Stream-Excel-to-the-client-td5363673.html#a5364044 Stream-Excel-to-the-client example. Indeed, commenting out the attachment header now stops the save dialog from appearing, and the plug-in plus PDF fills the browser. This is all

Re: wicket + spring + jpa reference example?

2008-08-07 Thread shetc
Buy Wicket In Action from Manning Publishers -- it has a useful Wicket + Spring + Hibernate example. Replace Hibernate with the JPA equivalents. -- View this message in context: http://www.nabble.com/wicket-%2B-spring-%2B-jpa-reference-example--tp18859884p18876793.html Sent from the Wicket -

Re: How to Embed PDF in a Web Page

2008-08-07 Thread Igor Vaynberg
the only way to embed within another page is to put it into an iframe -igor On Thu, Aug 7, 2008 at 11:22 AM, shetc [EMAIL PROTECTED] wrote: Ah ha! Actually, Igor, I'm using your http://www.nabble.com/Stream-Excel-to-the-client-td5363673.html#a5364044 Stream-Excel-to-the-client example.

Re: wicket + spring + jpa reference example?

2008-08-07 Thread francisco treacy
i bought it last year :) and it's excellent, btw. i just wanted a quick no-brainer example and wicket-lolite could have been the perfect answer. thanks francisco On Thu, Aug 7, 2008 at 8:25 PM, shetc [EMAIL PROTECTED] wrote: Buy Wicket In Action from Manning Publishers -- it has a useful

Re: Comparing JSF and Wicket

2008-08-07 Thread Timm Helbig
LOL! Great saying! I was asked for something positive.. Regards, Timm Am Donnerstag, 7. August 2008 18:09:03 schrieb Peter Ertl: I don't need nearly as much extensions for wicket because it's such a no-brainer to write my own custom components... I think JSF is a big joke with nobody

Help!! TextField in ListView = NULL

2008-08-07 Thread Alvin_my
Hi, I am very new with wicket and I have a problem with TextField within ListView , I try to getModelObject from the Textfield but return NULL ? I am trying my best to find the solution, unfortunately I am running out of time with my final project. Already spent 2 days dealing with this small

Browser Forward button issue

2008-08-07 Thread Ritesh Trivedi
Hi, Here is the scenario 1. User on page 1 - bookmarkable page which is https. lets say https://localhost:8443/signIn 2. Submits the form on page 1 - gets validation error. The url now changes to something like https://localhost:8443/?wicket:interface=:8:1::: 3. Hit the back button - user goes

Re: Help!! TextField in ListView = NULL

2008-08-07 Thread Martijn Dashorst
2 days without using google [1,2]? listview.setreuseitems(true); Martijn [1] http://www.google.com/search?q=wicket+form+component+listview [2] http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html#ListViewandotherrepeaters-Usingformcomponentsinarepeater On Thu, Aug 7, 2008 at 10:09

Re: NPE

2008-08-07 Thread Igor Vaynberg
i patched it in 1.3.x and trunk -igor On Thu, Aug 7, 2008 at 10:30 AM, Uwe Schäfer [EMAIL PROTECTED] wrote: Igor Vaynberg schrieb: whats the stacktrace for the npe? java.lang.NullPointerException at

Re: NPE

2008-08-07 Thread Uwe Schäfer
Igor Vaynberg schrieb: i patched it in 1.3.x and trunk thanks, igor! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Browser Forward button issue - SOLVED

2008-08-07 Thread Ritesh Trivedi
Solved. CSSMenuPanel had incorrect serialVersionUID value of 0L hence it was not serializing and hence the latest version of the page couldnt be constructed. Ritesh Trivedi wrote: Hi, Here is the scenario 1. User on page 1 - bookmarkable page which is https. lets say

Re: Help!! TextField in ListView = NULL

2008-08-07 Thread Alvin_my
I have add testsListView.setReuseItems(true), but still doesn't work. :confused: Hope anyone able to give me hints and guide me to the correct implementation... thanks Refer to HERE below: ListView testsListView = new ListView(tests, tests) { public void populateItem(final

Re: Comparing JSF and Wicket

2008-08-07 Thread Al Maw
2008/8/7 nlif [EMAIL PROTECTED]: While it is very good to know that it's relatively easy to develop Wicket components, bear in mind that management (at least mine) is more easily convinced when presented with a wide selection of 3rd party component libraries, since that provides an alternative

Re: 7th August London Wicket Event

2008-08-07 Thread Al Maw
Thanks for the kind words. I really liked Carl's Terracotta stuff - very cool. Wille's presentation on his WicketRAD framework was also great. It's really cool to see people getting inspired by and building on people's code from previous meet-ups! I can't begin to tell you how rewarding that is.

Re: AjaxButton does not work

2008-08-07 Thread Al Maw
This may be a client tag interpretation problem? Try using gt;gt; instead of . I don't think inside HTML attributes is valid HTML. Use firebug and/or the wicket ajax debug window (link bottom right on your page) to see what's going on. Alastair 2008/8/5 Daniel Freitas [EMAIL PROTECTED]: Do

Re: Help!! TextField in ListView = NULL

2008-08-07 Thread Al Maw
Have you done any web development before using Wicket? If so, you should be able to solve this problem by asking yourself the following questions: What happens if you click a link on a web page? Do you think the browser sends the data in a text field on the page to the server if you click a

RE: Questions about wicket features

2008-08-07 Thread Chris Colman
Hello I've browsed over the wicket documentation and examples. There are a couple of things I don't seem able to determine. So I would really appreciate your input on this questions. 1. Can I write a web application without coding any HTML whatsoever?... I mean, is there some kind of html

Re: 7th August London Wicket Event (6th August!)

2008-08-07 Thread jWeekend
Yiannis, Chris, This is good to hear, thanks. We've been getting plenty of positive feedback since we started this thing well over a year ago, albeit mostly verbally until now. Perhaps your reviews here will make others aware of how much our guests enjoy and look forward to these events. The