Disabling and enabling components using AjaxCheckBox

2008-12-09 Thread itayh
Hi, I have AjaxCheckBox. I want to be able to set other components to be disable or enable when the use check or unckeck the AjaxCheckBox. In my javacode: Several text fields in the next format: TextField externalXapUrlField = new TextField("externalXapUrl"); add(externalXapUrlField, new Propert

Add a feedBackPanel in form

2008-12-09 Thread miata
Hi, I have a problem with a form, I want to add a feedBackPanel for each fields added in my form. Is it possible??? In the normal case the feedback message appear in the same panel for all fields, for my new form I want a separate feedback which appear near to input fields... Thanks -- View thi

Re: Disabling and enabling components using AjaxCheckBox

2008-12-09 Thread Ernesto Reinaldo Barreiro
CheckBox externalUploadCheckBox = new AjaxCheckBox("external",new PropertyModel(this, "externalUpload")){ @Override protected void onUpdate(AjaxRequestTarget arg0) { } }; On Tue, Dec 9, 2008 at 10:31 AM, i

Re: Disabling and enabling components using AjaxCheckBox

2008-12-09 Thread Ernesto Reinaldo Barreiro
Sorry, sent to early... Maybe something like? CheckBox externalUploadCheckBox = new AjaxCheckBox("external",new PropertyModel(this, "externalUpload")){ @Override protected void onUpdate(AjaxRequestTarget arg0) { externalXapUrlField.set

[Announce] wicketstuff-push ported to use wicket 1.4 jetty 6.1.14

2008-12-09 Thread Rodolfo Hansen
Hi, a new version of wicketstuff-push was moved to the wicketstuff-core group of projects, as push-parent (as was specified in the wiki) A couple of new things were done: It is no longer compatible with java 1.4, is built for wicket 1.4 and requires jetty 6.1.14. The dependencies on dojo have bee

Re: Wicket integration with good charts api

2008-12-09 Thread Nino Saturnino Martinez Vazquez Wael
I think it's small enough for minis.. But it's Igors baby, try to ask him? Maarten Bosteels wrote: Hello Ryan, I have just added some more code to the wiki page, and a working quickstart project. http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html My OpenFlashChart implementation

[Announce] new stuff in wicketstuff openlayers..

2008-12-09 Thread Nino Saturnino Martinez Vazquez Wael
Hi Guys I've updated the wicketstuff openlayers and put in a few new things. You can read more about it in my blog : http://ninomartinez.wordpress.com/2008/12/09/new-stuff-in-wicketstuff-openlayers-integration/ And btw, please say if theres some feature you'd like in it. I might be able to p

Re: Add a feedBackPanel in form

2008-12-09 Thread Daan van Etten
Hi, This is possible, I recently wrote an article about it. It does not add a FeedbackPanel for every form component, but instead you can use the (custom) FeedbackLabel See http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket Regards, Daan Op 9 dec 2008, om 10:35 he

Re: Disabling and enabling components using AjaxCheckBox

2008-12-09 Thread Ernesto Reinaldo Barreiro
You are welcome... On Tue, Dec 9, 2008 at 1:35 PM, itayh <[EMAIL PROTECTED]> wrote: > > Thanks a lot Ernesto, It works > > reiern70 wrote: > > > > Sorry, sent to early... > > Maybe something like? > > CheckBox externalUploadCheckBox = new AjaxCheckBox("external",new > > PropertyModel(this, "exter

Re: Disabling and enabling components using AjaxCheckBox

2008-12-09 Thread itayh
Thanks a lot Ernesto, It works reiern70 wrote: > > Sorry, sent to early... > Maybe something like? > CheckBox externalUploadCheckBox = new AjaxCheckBox("external",new > PropertyModel(this, "externalUpload")){ >@Override >protected v

Hi!

2008-12-09 Thread Wadi Jalil Maluf
Hi All! I would like to know if the multiple wicket child is implemented. Thanks in advance, Regards, Wadi

Re: [Announce] wicketstuff-push ported to use wicket 1.4 jetty 6.1.14

2008-12-09 Thread Michael Sparer
Rodolfo, so you finally decided to stick with your initial idea ;-) did you at least have a look at the cometd stuff in the new wicketstuff-dojo-1.1. project? I'm still against the idea to split up wicketstuff-push completely from the dojo project, but we had the discussion before without resul

IFrame in Panel?

2008-12-09 Thread alexander.elsholz
Hi, i want to display a nother web-application (plain jsp) included in my webpage. actually i use iframes. but i have two problems with iframes: 1. how can i pass parameters to the subpages? RequestCycle.get().setResponsePage(new IFramePage(params)); 2. how can i display an ifram

Re: Hi!

2008-12-09 Thread Ernesto Reinaldo Barreiro
Hi Wadi, Sorry, but I do not understand your question... What do you mean by "multiple wicket child is implemented"? Regards Ernesto On Tue, Dec 9, 2008 at 2:51 PM, Wadi Jalil Maluf <[EMAIL PROTECTED]>wrote: > Hi All! I would like to know if the multiple wicket child is implemented. > > Thanks

Re: Hi!

2008-12-09 Thread Johan Compagner
no thats on the todo for 1.5 On Tue, Dec 9, 2008 at 14:51, Wadi Jalil Maluf <[EMAIL PROTECTED]> wrote: > Hi All! I would like to know if the multiple wicket child is implemented. > > Thanks in advance, > > Regards, > > Wadi > >

Re: Hi!

2008-12-09 Thread Ernesto Reinaldo Barreiro
do you mean? .. .. On Tue, Dec 9, 2008 at 3:04 PM, Ernesto Reinaldo Barreiro < [EMAIL PROTECTED]> wrote: > Hi Wadi, > > Sorry, but I do not understand your question... What do you mean by > "multiple wicket child is implemented"? > Regards > > Ernesto > > > On Tue, Dec 9, 2008 at

Re: Hi!

2008-12-09 Thread Johan Compagner
yes something like that more: On Tue, Dec 9, 2008 at 15:07, Ernesto Reinaldo Barreiro <[EMAIL PROTECTED]>wrote: > do you mean? > > .. > > .. > > > > > > > > On Tue, Dec 9, 2008 at 3:04 PM, Ernesto Reinaldo Barreiro < > [EMAIL PROTECTED]> wrote: > > > Hi Wadi, > > > > Sorry, but I do

Re: IMG SRC URL in iframe - part 2.

2008-12-09 Thread Graeme Knight
Ernesto - similar to what you did? Graeme Knight wrote: > > Hi. > > I recently had a question which I put to the forum here: > > http://www.nabble.com/IMG-SRC-URL-in-iframe.-td20805408.html Generating > IMG SRC to replace CIDs. > > I believe I have found the answer (thanks to Ernesto's hel

Re: IMG SRC URL in iframe - part 2.

2008-12-09 Thread Ernesto Reinaldo Barreiro
Hi Graeme, Yes more or less... As I said I do no longer have access to the code I wrote (it was for a project on my previous Job) but as far as I remember all I did was: 1-mount a resource for servicing files (I suppose I did the same way you are doing it;-) 2-"generate" HTML code asking for tho

BUG on wicket-ajax.js on Ajax behaviour in IE7 ??

2008-12-09 Thread pedro.boado
Hi, I have detected problems with my UTF-8 encoded application , Wicket > 1.3.2 ( also 1.4rc1) when trying to add AjaxBehaviours to an AutoCompleteTextField (from wicket.extensions) . These problems regards on Ajax Submitting of Strings with non-english chars ( 'España' , receiving 'España')

TextArea.onComponentTagBody not called

2008-12-09 Thread John Patterson
Hi, I am developing components similar to the EditableLable and noticed that when I replace in the code TextField with a TextArea but the markup remains no exception was thrown. TextArea has: @Override protected final void onComponentTagBody(final MarkupStream markupStream,

Re: TextArea.onComponentTagBody not called

2008-12-09 Thread John Patterson
The check is not made because the tag was an OpenClose tag. When I change the type of the tag to Open it is called. -- View this message in context: http://www.nabble.com/TextArea.onComponentTagBody-not-called-tp20916141p20916420.html Sent from the Wicket - User mailing list archive at Nabble.

Re: Hi!

2008-12-09 Thread Ernesto Reinaldo Barreiro
Thanks for the explanation! Ernesto On Tue, Dec 9, 2008 at 3:10 PM, Johan Compagner <[EMAIL PROTECTED]>wrote: > yes something like that > more: > > On Tue, Dec 9, 2008 at 15:07, Ernesto Reinaldo Barreiro > <[EMAIL PROTECTED]>wrote: > > > do you mean? > > > > .. > > > > .. > > > > > >

Re: Possible to retrieve previous page from PageMap

2008-12-09 Thread John Patterson
pixologe wrote: > > Ah - I see, SLCPM is private :( > Thanks for the link, this solution works fine :) > Are you altering the visibility of detach()? I have a somewhat more complicated solution which does not require modification to wicket. In my base page I store a reference to the page ev

Wicket yui menubar inside a grid

2008-12-09 Thread Sujit Arungundram
Hi, I have added a yui menubar component inside one of the inmethod grid columns. The menu with its submenu options display fine when the grid is rendered the first time on page load. But on any subsequent ajax refresh of the grid (ie.., through paging or row selection etc), the menubar is not g

RE: Hi!

2008-12-09 Thread Wadi Jalil Maluf
wicket child is > implemented. > >> > >> Thanks in advance, > >> > >> Regards, > >> > >> Wadi > >> > >> > > > __ Information from ESET NOD32 Antivirus, version of virus signature database 3674 (200812

Re: IMG SRC URL in iframe - part 2.

2008-12-09 Thread Graeme Knight
Hi Ernesto, Certainly the way you suggested makes a lot of sense to me. It is a nice resource that can just receive the requests and process based resolution of the SRC attribute - given that the content if the iframe is populated after the body has been rendered and really Wicket is not doing an

Page access/security - forwarding in constructor

2008-12-09 Thread Sean W
Greetings, I'm building an multiple-page wicket application. My Session class holds permission values dictating which pages the current user of the session can access. (These permission values are set when a user logs in) My question is: If the user tries to access a page to which they do not ha

Re: Wicket integration with good charts api

2008-12-09 Thread shetc
Maarten, Getting the following exception when running your sample with Wicket 1.3.5. Any ideas? Steve java.lang.UnsupportedClassVersionError: (ofc4j/model/elements/BarChart) bad major version at offset=6 at java.lang.ClassLoader.defineClassImpl(Native Method) at java.lang.Class

Re: Wicket integration with good charts api

2008-12-09 Thread Edward Zarecor
Looks like a difference between the version of your JVM and the compiler used to compile ofc4j. > java.lang.UnsupportedClassVersionError: (ofc4j/model/elements/BarChart) bad > major version at offset=6 Ed. - To unsubscribe, e-ma

Re: Wicket integration with good charts api

2008-12-09 Thread shetc
I agree -- I'm using 5.0 but I guess ofc4j was compiled with 6 but not sure. -- View this message in context: http://www.nabble.com/Wicket-integration-with-good-charts-api-tp20322515p20921216.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Page access/security - forwarding in constructor

2008-12-09 Thread Martijn Dashorst
See wicket-auth-roles for inspiration (or if you have wicket in action available, skip to chapter 11. Martijn On Tue, Dec 9, 2008 at 7:07 PM, Sean W <[EMAIL PROTECTED]> wrote: > > Greetings, > > I'm building an multiple-page wicket application. My Session class holds > permission values dictating

getting page expired

2008-12-09 Thread novotny
Hi, I'm creating a demo app where someone can select a prepacked identity from a drop down box and be logged in as that user. The login process checks to see if someone is already logged in, then logs them off and logs in as the new user before redirecting back to the logged in page. Problem is

authorization and wicket:link

2008-12-09 Thread miro
I am using ,can I tell wicket to authorize the user if he has permissions to that page in tag ? -- View this message in context: http://www.nabble.com/authorization-and-wicket%3Alink-tp20921748p20921748.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: authorization and wicket:link

2008-12-09 Thread Nino Saturnino Martinez Vazquez Wael
No.. I had the same question some weeks ago.. Just create some markup containers for it instead.. miro wrote: I am using ,can I tell wicket to authorize the user if he has permissions to that page in tag ? -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://

Newbie question

2008-12-09 Thread Mark Daniel
Hello all, I'm following the wicket in action book. I'm trying the cheese store in chapter 3. I was following along the code by reading a bit and coding a bit on my own. The code defining the ListView for the cheese cart is originally: add(new ListView("cart", new PropertyModel(this, "cart.cheese

RE: Newbie question

2008-12-09 Thread Bruno Cesar Borges
I think you are talking about the 'viewSize' property of ListView. This indicates how many "viewable" items will be displayed within a ListView. -Original Message- From: Mark Daniel [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2008 6:23 PM To: users@wicket.apache.org Subject: N

Re: Newbie question

2008-12-09 Thread Mark Daniel
Hi, Basically, getCart().getCheeses().size() != cartListView.size() On Wed, Dec 10, 2008 at 12:31 AM, Bruno Cesar Borges < [EMAIL PROTECTED]> wrote: > I think you are talking about the 'viewSize' property of ListView. > > This indicates how many "viewable" items will be displayed within a > Li

RE: Newbie question

2008-12-09 Thread Bruno Cesar Borges
Oh, yeah... size() is a method from MarkupContainer. /** * Get the number of children in this container. * * @return Number of children in this container */ public final int size() { return children_size(); } I d

Re: getting page expired

2008-12-09 Thread Mathias P.W Nilsson
What does userMap( userName ) returns? Make sure it is an object that implements serializable. -- View this message in context: http://www.nabble.com/getting-page-expired-tp20921513p20923466.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: getting page expired

2008-12-09 Thread novotny
userMap is just a normal HashMap private final Map userMap = new HashMap(); I wonder if his problem is caused by WASP security somehow? Mathias P.W Nilsson wrote: > > What does userMap( userName ) returns? Make sure it is an object that > implements serializable. > > -- View this message

Re: getting page expired

2008-12-09 Thread Mathias P.W Nilsson
Are there any loggers in the class? When using private Logger logger = Logger.getLogger(this.getClass()); this might cause pag expired. If it is contained in a wicket web page. At least I know some of my collegues has got this a while ago. I'm not familiar with WASP so there might be someone else

Re: Wicket integration with good charts api

2008-12-09 Thread Maarten Bosteels
Hi Steve, I only tried the code with wicket 1.4-x and java 6.x Have you tried building ofc4j yourself ? I did, because I wanted to install its javdoc and sources into my local maven repo. I downloaded the source and created this pom.xml to build it (I should ask the ofc4j devs if they would cons

Re: Newbie question

2008-12-09 Thread Igor Vaynberg
you gave listview a list instance, but its probably not the same instance of list you are adding items to. that is why the original code uses a model to give listview the list. read the models chapter... -igor On Tue, Dec 9, 2008 at 12:23 PM, Mark Daniel <[EMAIL PROTECTED]> wrote: > Hello all, >

Re: Newbie question

2008-12-09 Thread Mark Daniel
Hi Igor, I just changed one line the original source (in my original post), and built a war and deployed on tomcat, and got the behavior I mentioning. I think they both point to the same list. On Wed, Dec 10, 2008 at 1:12 AM, Igor Vaynberg <[EMAIL PROTECTED]>wrote: > you gave listview a list ins

Re: Newbie question

2008-12-09 Thread Mark Daniel
By original source, I meant I just tried it on the book source code download. On Wed, Dec 10, 2008 at 1:20 AM, Mark Daniel <[EMAIL PROTECTED]> wrote: > Hi Igor, > > I just changed one line the original source (in my original post), and > built a war and deployed on tomcat, and got the behavior I

Re: getting page expired

2008-12-09 Thread novotny
I checked and everything is serializable, I tried stepping thru the code but I don't see where in wicket is the behavior to choose the page expiration page Mathias P.W Nilsson wrote: > > Are there any loggers in the class? When using private Logger logger = > Logger.getLogger(this.getClass(

Re: TinyMCE init method rendering twice

2008-12-09 Thread jchappelle
I downloaded the latest snapshot from the wicket-stuff repository and did the setStatusbarLocation(null) and that fixed that problem. However, now I have three toolbars in the top instead of one. All of my buttons are on the top toolbar but underneath it is two others that only have separators in

Re: LoadableDetachableModel in Listview

2008-12-09 Thread Ned Collyer
jwcarman wrote: > > I like shadow much better. > He was an awesome hedgehog hey ;) -- View this message in context: http://www.nabble.com/LoadableDetachableModel-in-Listview-tp20894115p20926225.html Sent from the Wicket - User mailing list archive at Nabble.com. --

Re: LoadableDetachableModel in Listview

2008-12-09 Thread Ned Collyer
Well... as far as validators are concerned - there is some murky water. Depending on your design, the services/domain layer should include object validation - this allows you to expose services. The trick is getting these validators to be shared by the view layer AND the service layer. I'm not

Re: TinyMCE init method rendering twice

2008-12-09 Thread Pointbreak
Yes, it looks like TinyMceSettings does not have methods to remove the toolbars. I'll add those as soon as TeamCity deploys jars again... But you could work around that by adding a method overload for toJavaScript() to your custom MyTinyMceSettings, something like: public String toJavaScript(M

Re: Wicket integration with good charts api

2008-12-09 Thread shetc
Hi Maarten, The pom.xml worked great! Thanks very much. Had to grab some of my colleagues to show them your Open Flash Charts / Wicket implementation. As usual, they were all mumbling "Here comes the Wicket fanatic again" :-) Anyway, they were very impressed. Steve -- View this message in cont

Using Wicket Pages for an Internal Request

2008-12-09 Thread Mike Papper
Hi, very new to Wicket and this list... so I'm wondering if anyone can tell me if the following is possible and approx. how-to? Overview: we have a wicket page that generates some html+javascript etc. We want to render this page from within the application (into a String) and send it to some othe

Re: LoadableDetachableModel in Listview

2008-12-09 Thread James Carman
Indeed. He is a mean competitor on Mario & Sonic at the Olympic Games! :) On Tue, Dec 9, 2008 at 6:41 PM, Ned Collyer <[EMAIL PROTECTED]> wrote: > > > jwcarman wrote: >> >> I like shadow much better. >> > > He was an awesome hedgehog hey ;) > -- > View this message in context: > http://www.nab

Creating a table from a bean collection

2008-12-09 Thread Wadi Jalil Maluf
Hi all! I have a bean collection and I would like to show some of it propertys on a table. How can I do that?All examples with repeaters use a ISortDataProvider and such stuff, is there a simple way?Can't I just use the java swing DefaultTableModel for that? Thanks in advance, Wadi

Re: Using Wicket Pages for an Internal Request

2008-12-09 Thread Jeremy Thomerson
Search around in the mail archives - the typical solution involves using WicketTester. On Tue, Dec 9, 2008 at 8:06 PM, Mike Papper <[EMAIL PROTECTED]> wrote: > Hi, very new to Wicket and this list... > > so I'm wondering if anyone can tell me if the following is possible and > approx. how-to? > >

Re: Using Wicket Pages for an Internal Request

2008-12-09 Thread Mike Papper
Hi, thanks for that - I did search the archives and found nothing...is there a "name" for this that you know of - such that I could use it in the search? I think I was calling it "internal redirect". Mike On Dec 9, 2008, at 10:16 PM, Jeremy Thomerson wrote: Search around in the mail arch

jsessionid 1.4-m1 vs 1.4-rc1

2008-12-09 Thread Ryan McKinley
Have there been any changes to how jsessionid might be handled in rc1? I never seen this error before, but when I upgraded to rc1 I get it most of the time when starting a new session. I'm using the HybridUrlCodingStrategy when I hit something that should be mapped, I get directed to: ht

Switchable panel via & ajax

2008-12-09 Thread Александър Шопов
Hi guys, I was wondering of a good strategy of making a panel that is changed via ajax by a select field. I was aiming at easy maintainability of the code, and thought of the following. +-+-++---+ |typeOfPan|V|| | +-+-+| Panel