Re: Re: RE: Rich Text Editors and Wicket

2010-06-01 Thread ralf . eichinger
have a look at the powerful xinha editor (http://www.xinha.org/). A Wicket integration can be found here: http://svn.hippocms.org/repos/hippo/hippo-ecm/trunk/addon/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: [announce] Wicket Security 1.4 released!

2010-06-01 Thread Martijn Dashorst
http://wicketstuff.org/confluence/display/STUFFWIKI/Getting+started+with+Swarm http://wicketstuff.org/wicketsecurity/ https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-security-examples On Tue, Jun 1, 2010 at 8:24 AM, Paul Szulc wrote: > true, some  kind of quick start c

How to get PageClass form mounted bookmarkable page

2010-06-01 Thread Stefan Lindner
I have some pages mounted with moutBookmarkablePage("/somePath", MyPage.class) in Application.init. Now I have the path "/somePath" from webRequest. How can I retriev the matching MyPage.class for the path "/somePath"? Stefan

Re: Selection of disabled DropDownChoice lost

2010-06-01 Thread Baschir Jaghoori
Does anyone have an idea? Is this 1. Not a bug but a feature 2. Wrong usage of the API 3. A bug? thanks! Baschir Am 27.05.2010 12:05, schrieb Baschir Jaghoori: Hi all, I have a problem with a Wizard like structure with a form and two panels, displayed one after another (using addOrReplace).

Can't use form inside fragment

2010-06-01 Thread Todd Nine
Hi all, I'm new to Wicket, so if I've done something obviously wrong, please point it out. I have 2 ways the user could log in to our site. One if via the full page login form, the other is via quick login in the header. Since I'll need to gather the same form data in multiple places, I've cr

Process background

2010-06-01 Thread Ivan Arcos
I have the following problem. I want you when you click on a link I load a modal window with an image of loading. Meanwhile I want to run a background process. I've tried OnAfterRender but my process is running before, I tried to thread but I must be doing something wrong that always gives me an er

Re: Right-Click on LinkTree

2010-06-01 Thread AleXeL
I finally figured it out by overriding newNodeComponent and redefinying the structure of each link. Each link is now a BookmarkablePageLink and has the correct URL... This could be helpful: http://apache-wicket.1842946.n4.nabble.com/LinkTree-with-BookmarkablePageLinks-td1878004.html#a1878004 Link

wicket clustering wicket-security

2010-06-01 Thread David Meulemans
I want to have multiple wicket applications to be clustered. Because I'm using ehcache it is necessary to merge the applications into one .war file because ehcache needs to be initiated in the same scope as the other applications.Now the session is shared among all applications. Is there a way to a

Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-01 Thread Joseph Pachod
hi In a form, I'm injecting a factory through guice. The factory's interface doesn't extend Serializable, as well as the implementation. Then the SerializableChecker throws org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: Unable to serialize class: com.softcultur

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-01 Thread nino martinez wael
did you mark it transient? 2010/6/1 Joseph Pachod : > hi > > In a form, I'm injecting a factory through guice. The factory's interface > doesn't extend Serializable, as well as the implementation. > > Then the SerializableChecker throws > org.apache.wicket.util.io.SerializableChecker$WicketNotSeri

how to get the selected tabbedpanel

2010-06-01 Thread Antonio Mauriello
Hi All, I have the following issue: A wicket page where I'm working on has a Form plus an AjaxTabbedPannel. The form has only buttons that change the status of some values in the page. In each onSubmit() I set the response page to reload the same page but it goes the default tab and not to the

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-01 Thread Martijn Dashorst
You need to use the Wicket injector for guice. That will create a serializable proxy for the service. Guice itself doesn't know about Wicket, so you can't expect it to magically work. Martijn On Tue, Jun 1, 2010 at 12:05 PM, Joseph Pachod wrote: > hi > > In a form, I'm injecting a factory throug

Show/hide form components best practice

2010-06-01 Thread Iain Reddick
Say I have a form with a check box that, when checked, shows some other field (i.e. it controls the visibility of other form components). What is the best approach to handling this? From what I understand, you have 3 options: 1. Add ajax behaviour to the check box (re-render relevant component

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-01 Thread Joseph Pachod
nino martinez wael wrote: did you mark it transient? I didn't expect it to be necessary since the wicket guice proxy is still serializable (in the way that it handles serialization of its own) but could be done yes best joseph --

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-01 Thread Joseph Pachod
Martijn Dashorst wrote: You need to use the Wicket injector for guice. That will create a serializable proxy for the service. Guice itself doesn't know about Wicket, so you can't expect it to magically work. Martijn sorry, I didn't provide enough context: I'm using wicket-guice (on 1.4.9). So i

Re: Show/hide form components best practice

2010-06-01 Thread Pedro Santos
2 or 3 since there is no relevant state on the server side you want to consider to implement the component visibility rule. On Tue, Jun 1, 2010 at 7:37 AM, Iain Reddick wrote: > Say I have a form with a check box that, when checked, shows some other > field (i.e. it controls the visibility of oth

populateItem() not invoked on my custom list

2010-06-01 Thread Romain Pelisse
Hi, I got a rather dumb issue. As I've been using Wicket only for 2 weeks, I'm pretty sure that my issue is just a misuse more than a bug. I implemented a Custom list by inheriting PropertyViewList. This custom list is then placed into a Panel, which it is itself added to the Page.        // The

Re: Can't use form inside fragment

2010-06-01 Thread Jeremy Thomerson
what version of wicket? On Tue, Jun 1, 2010 at 3:37 AM, Todd Nine wrote: > Hi all, > I'm new to Wicket, so if I've done something obviously wrong, please point > it out. I have 2 ways the user could log in to our site. One if via the > full page login form, the other is via quick login in th

Re: Show/hide form components best practice

2010-06-01 Thread Iain Reddick
With (2) and (3), what is the best way of handling validation? With (1), the server-side state for the form is correct, and the hidden component won't be validated on form submit. With (2) and (3), the "visible" state of the toggled component is purely client side. This means that on form sub

Re: Show/hide form components best practice

2010-06-01 Thread Xavier López
I'd say what's reccomended to do in that case is to use a FormValidator in order to check the conditions that make the toggling component validatable or not. Check those conditions on the other component's input (getInput(), getConvertedInput()), because model objects won't be updated until validat

Re: How to get PageClass form mounted bookmarkable page

2010-06-01 Thread Igor Vaynberg
same way wicket does, run it through webrequestcodingstrategy and you will get back an bookmarkablepagerequesttarget, use methods on that to get the page class. -igor On Tue, Jun 1, 2010 at 12:45 AM, Stefan Lindner wrote: > I have some pages mounted  with > > > >                moutBookmarkableP

Re: populateItem() not invoked on my custom list

2010-06-01 Thread Sven Meier
You're not passing the entries to the super implementation - how should the PropertListView know what objects to iterate over? public Entries(String id, List entries) { super(id, entries); } protected void populateItem(ListItem item) { MyEntry entry = item.getModelObject(); item.a

Re: Process background

2010-06-01 Thread Igor Vaynberg
why does your background code need access to application? -igor On Tue, Jun 1, 2010 at 1:59 AM, Ivan Arcos wrote: > I have the following problem. I want you when you click on a link I > load a modal window with an image of loading. Meanwhile I want to run > a background process. I've tried OnAft

Re: wicket clustering wicket-security

2010-06-01 Thread Igor Vaynberg
each webapp has a single http session, however wicket's Session objects will not be shared. -igor On Tue, Jun 1, 2010 at 2:38 AM, David Meulemans wrote: > I want to have multiple wicket applications to be clustered. Because I'm > using ehcache it is necessary to merge the applications into one .

Re: how to get the selected tabbedpanel

2010-06-01 Thread Igor Vaynberg
TabbedPanel#getSelectedTab() -igor On Tue, Jun 1, 2010 at 3:11 AM, Antonio Mauriello wrote: > Hi All, > > I have the following issue: > > A wicket page where I'm working on has a Form plus an AjaxTabbedPannel. > > The form has only buttons that change the status of some values in the page. > > I

Re: Can't use form inside fragment

2010-06-01 Thread Todd Nine
Sorry, forgot that. 1.4.9 On 2 June 2010 03:03, Jeremy Thomerson wrote: > what version of wicket? > > On Tue, Jun 1, 2010 at 3:37 AM, Todd Nine wrote: > > > Hi all, > > I'm new to Wicket, so if I've done something obviously wrong, please > point > > it out. I have 2 ways the user could log in

How to make visible all child of WebMarkupContainer

2010-06-01 Thread Gurpreet.Singh
Hi All, I am getting strange problem. Setting WebMarkupContainer.setVisible(true) is not making all its child visible via Ajax Link. My Html code looks like this Show All Show Recent I need to show one of those links at a time. But somehow setting setVisible(true) is not working , but setVi

Re: How to make visible all child of WebMarkupContainer

2010-06-01 Thread Jeremy Thomerson
On Tue, Jun 1, 2010 at 12:25 PM, wrote: > Hi All, > > > I am getting strange problem. Setting WebMarkupContainer.setVisible(true) > is not making all its child visible via Ajax Link. > > My Html code looks like this > > Show All > Show > Recent > > I need to show one of those links at a time. Bu

Re: Show/hide form components best practice

2010-06-01 Thread Jeremy Thomerson
return true from wantOnSelectionChangedNotifications and put your visibility changing code in onSelectionChanged http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/h

RE: How to make visible all child of WebMarkupContainer

2010-06-01 Thread Gurpreet.Singh
Thanks for replying and sorry about typos. Here is the real code See All View Most Recent seeAll and seeRecent links visibility is set to default , which I assume is true. Initialy seeRecentWrapper visibility is set to false and seeAllWrapper visibility is set to true. On click on s

Guicey Wicket and JUnit4

2010-06-01 Thread yaniv kessler
Wicket, Guice, Junit4 - putting it all together: http://headtoscreencollision.blogspot.com/2010/06/writing-unit-tests-for-guicey-wicket.html?x=wicket Enjoy :-) Yaniv Kessler

Re: Panel not refreshed from ModalWindow via Ajax Button

2010-06-01 Thread jammyjohn
Could any one help me in solving this issue Jamuna. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Panel-not-refreshed-from-ModalWindow-via-Ajax-Button-tp2235354p2238945.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: How to make visible all child of WebMarkupContainer

2010-06-01 Thread Jeremy Thomerson
On Tue, Jun 1, 2010 at 12:45 PM, wrote: > Thanks for replying and sorry about typos. Here is the real code > > src="images/al_faqarrow1_gen.gif" style="vertical-align:middle" > border="0"/>See All > src="images/al_faqarrow1_gen.gif" style="vertical-align:middle" border="0"/> > View Most Re

RE: How to make visible all child of WebMarkupContainer

2010-06-01 Thread Gurpreet.Singh
Yeap I am adding both wrappers to AjaxRequesttarget like this target.addComponent(seeRecentWrapper..setVisible(true)); target.addComponent(seeAllWrapper..setVisible(false)); From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, June 01, 2010 10:59 AM To: Singh, Gurpreet Cc

Re: Panel not refreshed from ModalWindow via Ajax Button

2010-06-01 Thread Jeremy Thomerson
instead of all that replacing the entire contact panel, just trying changing the model object that the panel is pulling the data from. remove all the replace stuff. i think your bug might be somewhere in there, although i haven't looked in enough detail to find it yet. On Tue, Jun 1, 2010 at 12:

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-01 Thread yaniv kessler
Joseph, I believe what Martijn meant was that you need to use GuiceComponentInjector. This class will handle the serialization stuff in components for you. You can find more details in these place (and in org.ap

Re: How to make visible all child of WebMarkupContainer

2010-06-01 Thread Jeremy Thomerson
On Tue, Jun 1, 2010 at 1:02 PM, wrote: > Yeap I am adding both wrappers to AjaxRequesttarget like this > > > > target.addComponent(seeRecentWrapper..setVisible(true)); > > target.addComponent(seeAllWrapper..setVisible(false)); > > I'm not sure why you have the wrappers at all - they don't s

Re: Can't use form inside fragment

2010-06-01 Thread Todd Nine
Ok, I solved the initial problem. I didn't specify a container for the fragment, I missed that in the examples. I changes my template to contain this extra div. Then I specify my panels with if(session.isSignedIn()){ add(new LogoutFragment("session", "logout", this)); }else{ add(new LoginFra

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-06-01 Thread danisevsky
Hello, I checkout wicket-stuff core, install and run tinymce-examples, every examples works fine except image upload. Firebug do not show any javascript error. Could you please tell me what is wrong. What I get is on the attachment picture. -

Re: wicket clustering wicket-security

2010-06-01 Thread david_
If I call getSession().getId() in each webapp (for example at the indexpage) I get the same sessionId's in all applications. Another thing is, if two users are logged in in two different applications and one of the two logs out the other one is also logged out. 2010/6/1 Igor Vaynberg-2 [via Ap

Please read before using JIRA

2010-06-01 Thread Jeremy Thomerson
If you use our JIRA for tickets, please note the following couple of reminders: - Do not clone an issue that was closed as "wont't fix", etc. Just reopen and comment if you have a new use case that should be submitted. This way we keep all history together in the same issue. - Do NOT

Re: Can't use form inside fragment

2010-06-01 Thread Igor Vaynberg
headerPanel:session:session:loginForm:email this textfield? has a null model, so wicket cannot push the submitted value. -igor On Tue, Jun 1, 2010 at 11:04 AM, Todd Nine wrote: > Ok, I solved the initial problem.  I didn't specify a container for the > fragment, I missed that in the examples.  

Re: wicket clustering wicket-security

2010-06-01 Thread Igor Vaynberg
On Tue, Jun 1, 2010 at 11:17 AM, david_ wrote: > > If I call getSession().getId() in each webapp (for example at the indexpage) > I get the same sessionId's in all applications. yep, that returns the id of the underlying http session which would be the same for both wicket sessions > Another thi

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-01 Thread Martijn Dashorst
Then we could use a longer trace from the serialization exception... Plus some code to go with it. The best way would be to create a minimal setup using a quickstart exhibiting the problem. Martijn On Tue, Jun 1, 2010 at 12:47 PM, Joseph Pachod wrote: > Martijn Dashorst wrote: >> >> You need to

Re: Why does SerializableChecker throw WicketNotSerializableException on guice injected non Serializable class ?

2010-06-01 Thread yaniv kessler
I just went to check 1.4.9 change list and I didn't see anything related to the way IOC works (at least from 1.4.8 which is what I'm using right now), or did I miss something in this thread or there in the release notes ? :) On Tue, Jun 1, 2010 at 9:43 PM, Martijn Dashorst wrote: > Then we could

Turning of the labels in the Panel when reused

2010-06-01 Thread jammyjohn
Hi, I am having a panel with labels and textfields. I am reusing this panel twice next to each other on the form. Is there a way to turn off the rendering of labels only, while displaying the panel for the second time in order to avoid repetition of labels on the form. Please suggest. Jamuna -

Re: wicket clustering wicket-security

2010-06-01 Thread david_
How can I logoff an individual instance without affecting the other ones? I use the org.apache.wicket.security.WaspSession.logoff() method which results in a normal invalidateNow(). 2010/6/1 Igor Vaynberg-2 [via Apache Wicket] < ml-node+2239009-1783456523-232...@n4.nabble.com > > On Tue, Jun 1,

Re: Can't use form inside fragment

2010-06-01 Thread Todd Nine
Man, I changed way too much code far too late last night. I missed assigning my model as the form in my test fields. TextField userIdField = new TextField("email", new PropertyModel(this, "email")); On 2 June 2010 06:33, Igor Vaynberg wrote: > headerPanel:session:session:loginForm:email > >

Re: Turning of the labels in the Panel when reused

2010-06-01 Thread Igor Vaynberg
make that a feature of your panel -igor On Tue, Jun 1, 2010 at 11:55 AM, jammyjohn wrote: > > Hi, > > I am having a panel with labels and textfields. I am reusing this panel > twice next to each other on the form. > Is there a way to turn off  the rendering of labels only, while displaying > the

Re: wicket clustering wicket-security

2010-06-01 Thread Igor Vaynberg
not sure how to do it with wicket-security, but a way to do it generically is to simply set the userid field you keep in your session to null instead of invalidating the entire session -igor On Tue, Jun 1, 2010 at 11:56 AM, david_ wrote: > > How can I logoff an individual instance without affect

Wicket acl and spring security

2010-06-01 Thread Todd Nine
Hi all, I have wicket acl and spring security working well together. However, there's one glitch I haven't solved. With springs http interception, I can create a "remember-me" cookie that allows the user to automatically log in. Is it possible to use the ACL to create this functionality? Tha

Re: OnChangeAjaxBehavior and other form components

2010-06-01 Thread Steven Haines
Hi Everyone, I have a followup question to this thread from last month... The following Ajax call decorator that I added to my zipcode field (stopping the ajax call until the user enters 5 digits) works in Firefox, but not in Chrome or Safari (webkit): @Override protect

Re: wicket clustering wicket-security

2010-06-01 Thread david_
The WaspSession is responsible for authorization of secured pages and components. For some reason if a user logs in on webapp-A and another user tries to access a bookmarkable url in webapp-B he is granted access. 2010/6/1 Igor Vaynberg-2 [via Apache Wicket] < ml-node+2239092-140489179-232...@n4.

Re: Panel not refreshed from ModalWindow via Ajax Button

2010-06-01 Thread jammyjohn
Thanks for your reply. I first went in the direction of changing the model object which did not work. Then I started using replacewith which is still a issue. Jamuna. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Panel-not-refreshed-from-ModalWindow-via-Ajax-Butt

Re: Panel not refreshed from ModalWindow via Ajax Button

2010-06-01 Thread Jeremy Thomerson
On Tue, Jun 1, 2010 at 3:57 PM, jammyjohn wrote: > > Thanks for your reply. I first went in the direction of changing the model > object which did not work. Then I started using replacewith which is still > a issue. > > Jamuna. > -- > View this message in context: > http://apache-wicket.1842946.

OT: Job Posting - Contractor in the Bay Area

2010-06-01 Thread Nick Heudecker
A profitable start-up in the cable advertising space is looking to expand its development team to include another well-rounded developer. The position is contract to start and may become full-time. I've detailed some of what we're looking for below and if you think you're a good fit, you're welc

Re: Why does SerializableChecker throw WicketNotS erializableException on guice injected non Seria lizable class ?

2010-06-01 Thread Joseph Pachod
I just went to check 1.4.9 change list and I didn't see anything related to the way IOC works (at least from 1.4.8 which is what I'm using right now), or did I miss something in this thread or there in the release notes ? :)I don't think it has changed: I tested again 1.4.3, 1.4.7 and 1.4.9, w

New Behaviours

2010-06-01 Thread Rodolfo Hansen
We've published a couple of new simple behaviors under the Apache License: You can find the info at: http://code.google.com/p/koodaripalvelut-wicket/ And a demo for the behaviors at: http://tustor-webtest.appspot.com/ At the moment there are two behaviors: - A SearchBox for DropDownChoice:

Re: Re: Re: RE: Rich Text Editors and Wicket

2010-06-01 Thread wicketyan
thanks eichinger,Is this integration contains image uploading? 2010-06-02 wicketyan 发件人: ralf.eichinger 发送时间: 2010-06-01 15:40:27 收件人: users 抄送: 主题: Re: Re: RE: Rich Text Editors and Wicket have a look at the powerful xinha editor (http://www.xinha.org/). A Wicket integration can

Re: WebMarkupContainer as string for use in jqgrid cell

2010-06-01 Thread Ernesto Reinaldo Barreiro
Hi Sam, Yesterday I commited some changes to [1] that add the possibility to render Wicket cells as components. You can find an example on [2]. There are some limitations to the kind of cells you can show (they cannot add "JavaScript" to the page) but at least you can add cells containing links an

Re: Re: Re: RE: Rich Text Editors and Wicket

2010-06-01 Thread ralf . eichinger
I did not use it (yet), but found this improvement requirement from the year 2007: [CMS-794] - Inline image-upload in editor should have a configurable maxFileSize So I assume the answer is: yes. Quoting wicketyan : thanks eichinger,Is this integration contains image uploading? 2010-06-