Re: [Wicket-user] [Question] wicket.markup.html.form.Radio

2007-08-13 Thread Igor Vaynberg
because browsers suck :) -igor On 8/13/07, jq58 [EMAIL PROTECTED] wrote: Yep, that did it. Still a little confused as to why the onchange did not work. Thanks to everyone for their suggestions. Alex Objelean wrote: You mean that in IE you have to click twice? Use onclick event

Re: [Wicket-user] Custom ISessionStore

2007-08-09 Thread Igor Vaynberg
DiskPageStore , SecondLevelCacheSessionStore in core -igor On 8/9/07, Seldon, Richard [EMAIL PROTECTED] wrote: Hello. Does anyone have any working example implementations of a custom ISessionStore. Perhaps writing to disk / database etc. Hoping to get up to speed v.quickly. Best regards,

Re: [Wicket-user] Replace non-wicket attributed sections of a html document

2007-08-08 Thread Igor Vaynberg
it is a global thing, so it will be applied to all request. getRequestCycleSettings().getResponseFilters().add(new MyFIlter()); -igor On 8/8/07, Tremelune [EMAIL PROTECTED] wrote: Hm, still a good question. How do you get the IResponseFilter in there? There doesn't seem to be a way to do

Re: [Wicket-user] wicketstuff-hibernate-behavior

2007-08-08 Thread Igor Vaynberg
some projects have small scope, and once that scope is covered there is simply nothing more to do. have you checked it out - does something not work for you? -igor On 8/8/07, Craig Lenzen [EMAIL PROTECTED] wrote: Does anyone know if this project is active or not? IE, is someone actively

Re: [Wicket-user] Replace non-wicket attributed sections of a html document

2007-08-08 Thread Igor Vaynberg
you couldve used a freemarkerpanel i suppose. depends on the usecase. -igor On 8/8/07, Andrew Moore [EMAIL PROTECTED] wrote: Hi, I didn't find a solution, I ended up just using freemarker and servlets for pages where I needed to do this which isn't too bad for me as I've two main

Re: [Wicket-user] How to display different input type in one column

2007-08-07 Thread Igor Vaynberg
you need to create two fragments - one with markup for a textfield, and one with markup for a dropdown. then add the appropriate fragment. -igor On 8/7/07, rtow [EMAIL PROTECTED] wrote: I have a column that needs to display either dropDownChoice or text. dataViewPanel.html tr

Re: [Wicket-user] Model for form with variable number of fields

2007-08-04 Thread Igor Vaynberg
dont use a compound model, that is just a shortcut for common cases. create a model that keeps an index and a ref to the list model, and pulls things in and out like that. class indexedmodel implements imodel { private final imodel list; private final int index; getobject() { return

Re: [Wicket-user] DownloadLink for an external URL

2007-08-02 Thread Igor Vaynberg
whatever streams that external file has to set a content-disposition:attachment header so the browser pops up that box. -igor On 8/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I see that DownloadLink can be used to stream a File. What I want to do is use DownLoadLink to redirect to an

Re: [Wicket-user] Showing an alert

2007-08-02 Thread Igor Vaynberg
class alert extends abstractbehavior { boolean istemporary() { return false; } void renderhead(iheaderresponse r) { renderonloadjavascript(alert('error!');); } } form searchform=new form(...) { onerror() { add(new alert(); } } -igor On 8/2/07, Federico Fanton [EMAIL PROTECTED] wrote: Hi

Re: [Wicket-user] Updates within Panels in datatable

2007-08-01 Thread Igor Vaynberg
On 8/1/07, salmas [EMAIL PROTECTED] wrote: Hi Igor: I cannot use the AjaxSubmitButton because I need to change the button's model dynamically and this functionality is broken in Wicket 1.2 and I can't use the 1.3 beta because my company doesn't want to use beta software for a production

Re: [Wicket-user] How to set a date on backing model obj from contents of drop down lists?

2007-07-31 Thread Igor Vaynberg
if you really want something that binds to the Date then create 3 models, each adjusting the specific portion of the date, for example: class YearModel implements IModel { private final IModel date; Object getObject() {return date.getObject().getYear();} void setObject(Object o) {

Re: [Wicket-user] QWicket

2007-07-31 Thread Igor Vaynberg
the author of qwicket is allergic to maven, so you will have to configure the project yourself -igor On 7/31/07, winlaw [EMAIL PROTECTED] wrote: HI I a new to Wicket and have downloaded the QWicket quickstart but it has no pom file so will not allow to run mvn idea:idea to generate the

Re: [Wicket-user] Updates within Panels in datatable

2007-07-31 Thread Igor Vaynberg
On 7/31/07, salmas [EMAIL PROTECTED] wrote: - Even though I do nothing in onSubmit (which I know does get called) the table is reloaded (button.getRequest() shows the request for the page to reload). I'd like to stop the auto redraw and do an AJAX update from within onSubmit instead, I am

Re: [Wicket-user] onBeforeRender on every Request?

2007-07-30 Thread Igor Vaynberg
onbeforerender() works recusively lets look at your code protected final void onBeforeRender() { super.onBeforeRender(); org.apache.wicket.markup.html.WebMarkupContainer tabPartRepeater = ( org.apache.wicket.markup.html.WebMarkupContainer)this

Re: [Wicket-user] OnChangeAjaxBehavior and Repeater issue on FireFox

2007-07-30 Thread Igor Vaynberg
try changing span id=repeaterContainer3 to div id=.. you shouldnt nest block elements (table/div) in inline elements. -igor On 7/30/07, Flavius [EMAIL PROTECTED] wrote: Greetings. I have a page that uses the new OnChangeAjaxBehavior. When values are typed into the text field, it

Re: [Wicket-user] onBeforeRender on every Request?

2007-07-29 Thread Igor Vaynberg
yes it should on every request. during ajax only components being rendered (subtrees added to target) have their onbeforerender() called. -igor On 7/29/07, davor-x [EMAIL PROTECTED] wrote: Hi. Is Component.onBeforeRender supposed to execute on every request, ajax or not? Because, I have

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread Igor Vaynberg
what url causes the page expired page? -igor On 7/28/07, lubosp [EMAIL PROTECTED] wrote: Hi guys, my first wicket mailing list post. I just started using Wicket couple gays ago (after using Tapestry and ZK), and I have to say, I am impressed. Congratulation to great framework! I have

Re: [Wicket-user] Page Expired after logout and re-login

2007-07-28 Thread Igor Vaynberg
hrm, i dont see how /MyApp/app can ever cause a page expired error because it is a bookmarkable url and so a new instance of page is always created. i would debug the request cycle and see why it cannot find the page, seems very strange to me -igor On 7/28/07, lubosp [EMAIL PROTECTED] wrote:

Re: [Wicket-user] Strange FeedbackPanel behaviour

2007-07-27 Thread Igor Vaynberg
are you running it on a cluster of live servers? or just one? -igor On 7/27/07, Mike Cripps [EMAIL PROTECTED] wrote: Hi all, On my development box, the following code works fine (I'm using a Wizard): productCodeField.add(new AbstractValidator() { @Override protected

Re: [Wicket-user] Image with AjaxSelfUpdatingTimerBehavior

2007-07-27 Thread Igor Vaynberg
the url never changes, so the browser uses its cache use NonCachingImage -igor On 7/27/07, Gohan [EMAIL PROTECTED] wrote: I wonder how I rerender an Image using the AjaxSelfUpdatingTimerBehavior? I've created an image like: Image image = new Image(imgId, new DynamicImageResource() {

Re: [Wicket-user] Is it possible to update a single row in a table?

2007-07-27 Thread Igor Vaynberg
On 7/27/07, salmas [EMAIL PROTECTED] wrote: I have to mimic an application which was written using javascript/XSLT in which changes in a table affecting single rows are managed by updating only the affected row(s). I believe that this is done by surrounding the row in a span. Is this

Re: [Wicket-user] Is it possible to update a single row in a table?

2007-07-27 Thread Igor Vaynberg
On 7/27/07, salmas [EMAIL PROTECTED] wrote: igor.vaynberg wrote: On 7/27/07, salmas [EMAIL PROTECTED] wrote: Thanks Igor, How could I do this? thats easy, you start by searching this list for datatable ajax row which will find this:

Re: [Wicket-user] Is it possible to update a single row in a table?

2007-07-27 Thread Igor Vaynberg
you need 1.3beta2 of both -igor On 7/27/07, salmas [EMAIL PROTECTED] wrote: Igor, do I need the latest code for both wicket and extensions or just extensions? igor.vaynberg wrote: On 7/27/07, salmas [EMAIL PROTECTED] wrote: igor.vaynberg wrote: On 7/27/07, salmas [EMAIL

Re: [Wicket-user] RequestCycle goes null after using WicketTester within Wicket page

2007-07-26 Thread Igor Vaynberg
because of all the threadlocals you should probably run wickettester in a separate thread: onclick() { final String[] output=new String[1]; Runnable gen=new Runnable() { run() { WicketTester tester=new WicketTester(); tester.startPage(new MailPage());

Re: [Wicket-user] Wicket 1.3, use of getElementById and Wicket.$() and the preservation of ids

2007-07-26 Thread Igor Vaynberg
the general problem here is that hardcoding ids into wicket markup is mostly dangerous because things are so reusable. if you put an id into a repeater then it will be repeated all the time - causing multiple elements with the same id - which will lead to invalid html. hardcoding an id inside a

Re: [Wicket-user] Wicket 1.3, use of getElementById and Wicket.$() and the preservation of ids

2007-07-26 Thread Igor Vaynberg
On 7/26/07, Kirk Israel [EMAIL PROTECTED] wrote: (I started moving myself to the other list but am not quite there yet) Empirically, it looks like there might have been a change in behavior from 1.2, but I couldn't verify that on http://cwiki.apache.org/WICKET/migrate-13.html -- if you're

Re: [Wicket-user] FormComponentPanel with setRequired

2007-07-26 Thread Igor Vaynberg
i just made formcomponent.checkrequired() none final. i think most implementations of formcomponentpanel will want to override it and always return true. that way required validation will be performed on formcomponentpanel's convertedinput rather then raw http post input. makes sense? -igor On

Re: [Wicket-user] To Form or not to Form

2007-07-26 Thread Igor Vaynberg
always add a form around it, wicket supports nested forms. -igor On 7/26/07, David Leangen [EMAIL PROTECTED] wrote: I have a Panel that I'd like to be able to either render as a FormComponent in the context of a known Form (by passing the parent Form in this component's constructor) or, if

Re: [Wicket-user] question about pretty URLs

2007-07-25 Thread Igor Vaynberg
ah, i thought we had that in beta2 :| -igor On 7/25/07, Al Maw [EMAIL PROTECTED] wrote: Igor Vaynberg wrote: mount your homepage with indexedurlcodingstrategy Unfortunately, I don't think that works at the moment - you can't mount things on / as it's all reserved. There's an outstanding

Re: [Wicket-user] Removing Markup Component (From HTML) using Java

2007-07-25 Thread Igor Vaynberg
simply gridform.setvisible(false); -igor On 7/25/07, Durai007 [EMAIL PROTECTED] wrote: i have 2 forms, 1.grid-form 2. upload form. both forms have mentioned in html But initially i want to load upload-form only. So that initially how to remove grid-form. after submitting upload-form,

Re: [Wicket-user] Wicket customizability

2007-07-25 Thread Igor Vaynberg
sounds to me like what you need is indirection something like IComponentFactory { Component newComponent(String id, IModel model); } then you can configure these in whatever context (in your case spring) and inject those into pages/panels/etc and let them create children. this is essentially

Re: [Wicket-user] @EJB injection...

2007-07-25 Thread Igor Vaynberg
it might not have had a release http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-javaee -igor On 7/25/07, Patrick Angeles [EMAIL PROTECTED] wrote: I believe someone contributed code to allow for @EJB injection into Wicket pages, and this wound up in Wicket Stuff... Is

Re: [Wicket-user] Custom session not working...

2007-07-24 Thread Igor Vaynberg
On 7/24/07, spencer.c [EMAIL PROTECTED] wrote: Thanks Eelco, that did the trick. Couple of follow up questions/comments that anyone can field: 1) I understand why you would want a stateless application, however I don't understand why you would ever want your session to be regenerated on

Re: [Wicket-user] question about pretty URLs

2007-07-24 Thread Igor Vaynberg
mount your homepage with indexedurlcodingstrategy -igor On 7/24/07, verbal evasion [EMAIL PROTECTED] wrote: i am trying to do something and i dont know if its possible in wicket. in a framework like django (djangoproject.com), i can do stuff like have http://www.mysite.com/username where

Re: [Wicket-user] Regarding folder selection in Wicket

2007-07-23 Thread Igor Vaynberg
you cannot. input type=file can only upload files. -igor On 7/23/07, Durai007 [EMAIL PROTECTED] wrote: Hi, In html, input type=file name=browser I can select the file path. But How can I select folder path? Please explain in html and with wicket also Thanking You Regards Durai

Re: [Wicket-user] Repaint single cell of DataTable, where cell is a Fragment

2007-07-23 Thread Igor Vaynberg
i believe the cause of both problems was the same -igor On 7/23/07, ChuckDeal [EMAIL PROTECTED] wrote: igor.vaynberg wrote: svn update and your quickstart will work -igor On 7/20/07, ChuckDeal [EMAIL PROTECTED] wrote: I am attempting to work around the problem I

Re: [Wicket-user] .setVisble not working for webmarkupcontainer

2007-07-23 Thread Igor Vaynberg
On 7/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 7/23/07, Christian Alejandro Marquez Grabia [EMAIL PROTECTED] wrote: The problem is that you have hidden the container in which the components were placed, and later when wicket attempts to add the components, it can't find the

Re: [Wicket-user] NPE in Session.cleanupFeedbackMessages in wicket 1.2.2

2007-07-22 Thread Igor Vaynberg
no one probably uses 1.2.2 still - like you said its ancient. -igor On 7/22/07, Nili Adoram [EMAIL PROTECTED] wrote: anyone ? Nili Adoram wrote: Hi all, The following error has occurred to a member of our QA team. He could not reproduce the scenario. If you look at the source files

Re: [Wicket-user] Modal Window and Page Expired - SOLVED

2007-07-20 Thread Igor Vaynberg
On 7/19/07, Laurent Brucher [EMAIL PROTECTED] wrote: Ok, my bad... Cutting out the details, the page that included a ref to the modal window had a piece of javascript, which generated an IMG tag with a src attribute starting with a '#' (this is some code ported from a JSF version of the

Re: [Wicket-user] AttributeModifier on DropDownChoice option element

2007-07-20 Thread Igor Vaynberg
on selectoption, not directly on select -igor On 7/20/07, Huy Do [EMAIL PROTECTED] wrote: Hi, Is it possible to use an AttributeModifier on the DropDownChoice or Select option element ? i.e option class=myclass Thanks, Huy

Re: [Wicket-user] Getting hold of the servlet request in a wicket WebPage

2007-07-20 Thread Igor Vaynberg
((webrequest)getrequest()).gethttpservletrequest() -igor On 7/20/07, Robert Young [EMAIL PROTECTED] wrote: Hi, I have a servlet filter which analyses the servlet request and then sets a variable to it, I need access to this inside a wicket web page. How can I get hold of the

Re: [Wicket-user] Repaint single cell of DataTable, where cell is a Fragment

2007-07-20 Thread Igor Vaynberg
svn update and your quickstart will work -igor On 7/20/07, ChuckDeal [EMAIL PROTECTED] wrote: I am attempting to work around the problem I described here: http://www.nabble.com/Repaint-single-row-of-a-DataTable-tf4111859.html As a result, now instead of adding the row to the target, I add

Re: [Wicket-user] .properties encoding

2007-07-19 Thread Igor Vaynberg
he problem here is specifying the charset, properties factory is global so you might encode your files one way but a jar you use with components might have them encoded in another charset - so we cannot really have a global charset specified. i think the proper thing to do is use xml properties

Re: [Wicket-user] Download / View Attacment (like gmail)

2007-07-19 Thread Igor Vaynberg
On 7/19/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Hello. Any way of doing this? see downloadlink and popupsettings -igor -- Forwarded message -- From: Francisco Diaz Trepat - gmail [EMAIL PROTECTED] Date: Jul 18, 2007 4:15 PM Subject: Download / View

Re: [Wicket-user] Question regarding dropdownchoice

2007-07-19 Thread Igor Vaynberg
On 7/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello to all! I'm beginning to learn how to use wicket and I have a question regarding DropDownChoice: I have a POJO that is serving me as the model for my page, so my form is bind to the properties. My problem with the Dropdownchoice

Re: [Wicket-user] Repaint single row of a DataTable

2007-07-19 Thread Igor Vaynberg
this is tricky because datatable encapsulates a lot of this stuff so it will probably need something exposed for this usecase. if you create a quickstart that has a datatable, some bogus data, and some links in columns that should trigger a refresh i can play around with it and see what needs to

Re: [Wicket-user] Adding markup dynamically to a container?

2007-07-19 Thread Igor Vaynberg
class applet extends webcomponent { oncomponenttagbody(tag) { strinbuilder b=new stringbuilder(); b.append(param name=foo value=bar/); ... replacecomponenttagbody(tag, b.tostring()); } } -igor On 7/19/07, mperham [EMAIL PROTECTED] wrote: I'd like to build a dynamic charting

Re: [Wicket-user] Wicket URLs in javascript

2007-07-19 Thread Igor Vaynberg
RequestCycle.urlFor(Page) will do what you want -igor On 7/19/07, Joel Hill [EMAIL PROTECTED] wrote: My app's home page is nothing more than a blank page which has an onload script which opens a new browser window and loads my app's main page into it. I'm having trouble figuring out how to

Re: [Wicket-user] Download / View Attacment (like gmail)

2007-07-19 Thread Igor Vaynberg
attach it to a jira issue, preferrably as a patch. thanks, -igor On 7/19/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: great thanks ps: i have a first version of the extensible choice auto-complete. should i send you the code? On 7/19/07, Igor Vaynberg [EMAIL PROTECTED

Re: [Wicket-user] java.util.ConcurrentModificationException with RefreshingView (AGAIN!?!?!!)

2007-07-18 Thread Igor Vaynberg
On 7/18/07, Ballist1c [EMAIL PROTECTED] wrote: Yep, I made some adjustments to code, to allow for any number of users to join a chatSession, rather then just 2. What I am doing is , the vector that I am using is within a particular class and the Iterators for that vector are actually

Re: [Wicket-user] Row index in datatable

2007-07-18 Thread Igor Vaynberg
-- Forwarded message -- From: Pierre Coquentin [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Date: Wed, 18 Jul 2007 09:36:44 +0200 Subject: Row index in datatable hello all, I need to obtain row index in datatable when populating cell item. column = new

Re: [Wicket-user] Random ModalWindow exception

2007-07-18 Thread Igor Vaynberg
On 7/18/07, Alex Objelean [EMAIL PROTECTED] wrote: I am using wicket-1.2.6. Here is a short background description of the problem: I have a page, which contains an AjaxTabbedPanel. The panel contains div wicket:id=modalWindow/div markup to hold the ModalWindow component. I think that the

Re: [Wicket-user] feature suggestion component instantiation

2007-07-18 Thread Igor Vaynberg
what does your strategy do? it redirects right? you do that with throw new RestartResponseException - you can do the same from your constructor once you check your model. it isnt that much later that you would fail - only the init of super hierarchy. -igor On 7/18/07, Maurice Marrink [EMAIL

Re: [Wicket-user] feature suggestion component instantiation

2007-07-18 Thread Igor Vaynberg
i am -1 on this first of all there are already too many exception to this: it wont work if its a wrap model, it wont work if its icomponentassignedmodel, blah blah blah. if i construct my component with new Component(id, foo) and foo is not null then it is very clumsy that sometimes in the auth

Re: [Wicket-user] Nesting AjaxTabbedPanels when using AjaxLink

2007-07-18 Thread Igor Vaynberg
On 7/18/07, Jeff Pierce [EMAIL PROTECTED] wrote: I am new to Wicket and just getting my feet wet and looking for some advice. I have an app I am building that contains a main row of Ajax tabs across the top. Each tab's panel will have the following layout. A set of menu's on the left and

Re: [Wicket-user] feature suggestion component instantiation

2007-07-18 Thread Igor Vaynberg
On 7/18/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Sounds to me like you have alternative ways to implement this, for instance, construct what's on your page according to what can be displayed, throw an auth exception in the page itself (doesn't sound like you were doing this generically

Re: [Wicket-user] Overriding ID attributes

2007-07-18 Thread Igor Vaynberg
On 7/18/07, mperham [EMAIL PROTECTED] wrote: We are migrating our existing application from UI framework XXX to Wicket and we have a boatload of UI automated tests which depend on the ID attribute of our form inputs to drive the tests. I'm trying to figure out how to get Wicket to use the

Re: [Wicket-user] Overriding ID attributes

2007-07-18 Thread Igor Vaynberg
i dont remember how similar the markup id handling code is between the two versions, but all i did was add this: /** * Sets this component's markup id to a user defined value. It is up to the * user to ensure this value is unique. * p * The recommended way is to let wicket

Re: [Wicket-user] java.util.ConcurrentModificationException with RefreshingView (AGAIN!?!?!!)

2007-07-18 Thread Igor Vaynberg
the view doesnt keep the iterator, it just iterates over it once when it renders. iterators arent meant to be kept, they are throwaway objects. -igor On 7/18/07, Ballist1c [EMAIL PROTECTED] wrote: It IS very possible I am going about this from the completely wrong angle... The gist of it

Re: [Wicket-user] Setting up project - images and stylesheets

2007-07-18 Thread Igor Vaynberg
simply do this have your images be relative img src=images/logo.png/ in runtime wicket will rewrite them to be relative to context root in devel time put this into head wicket:remove base href=../../../path/to/your/webapp/folder/ /wicket:remove so at devel time your images will also be

Re: [Wicket-user] wicket-picocontainer?

2007-07-18 Thread Igor Vaynberg
putting one together should be trivial. you can pretty much copy wicket-spring and replace all the spring bits (of which there are only few) with pico's -igor On 7/18/07, David Rosenstrauch [EMAIL PROTECTED] wrote: Eelco Hillenius wrote: On 7/18/07, David Rosenstrauch [EMAIL PROTECTED]

Re: [Wicket-user] Disabling Validation, but keeping updateFormComponentModels()

2007-07-17 Thread Igor Vaynberg
On 7/17/07, Fisher, Brice A [EMAIL PROTECTED] wrote: An additional question. Trying to do things the brute force way, I implemented the following in my form: @Override protected void validate() { Button b = findSubmittingButton(); if (b == updateButton) {

Re: [Wicket-user] Wicket examples question

2007-07-17 Thread Igor Vaynberg
On 7/17/07, Kirk Is [EMAIL PROTECTED] wrote: So, at wicket-library.com/wicket-examples I see signin and signin2. Signin2 is the rememberme functionality I'm trying to emulate. When I click on view source, it seems like the functionality I want, the stuff the separates signin2 from signin,

Re: [Wicket-user] setVesible for the component after onEvent

2007-07-17 Thread Igor Vaynberg
On 7/17/07, kenixwong [EMAIL PROTECTED] wrote: sorry,igor... i cant get what u mean ... can u explain more? or show me some example? thanks you gotta learn how to use the internets http://www.nabble.com/forum/Search.jtp?forum=13974local=yquery=visible+ajax+container try the first result

Re: [Wicket-user] Retrieve selected value from DropDown

2007-07-17 Thread Igor Vaynberg
On 7/17/07, Toscano [EMAIL PROTECTED] wrote: Hello, I have a huge form with a lot of dropdowns, and I'm using a CompoundPropertyModel. The form can also be changed between more than six languages, so everytime the user changes one value in one Dropdown, all the form is refreshed showing

Re: [Wicket-user] AjaxRequestTarget.addComponent for a child of ListItem

2007-07-17 Thread Igor Vaynberg
On 7/17/07, Mike03 [EMAIL PROTECTED] wrote: Hello, I've seen the posting that refers to this wiki page http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html How to repaint a ListView with Ajax but my problem is a little different and I'm hoping there's a solution. I'm

Re: [Wicket-user] setVesible for the component after onEvent

2007-07-17 Thread Igor Vaynberg
On 7/17/07, kenixwong [EMAIL PROTECTED] wrote: :( sorry , igor... everytime when i faced the problem, i sure will search from net. Just i not sure what u going to write as above matter... first search result is this http://www.nabble.com/Changing-visibility-via-ajax-tf1974532.html#a5418508

Re: [Wicket-user] Retrieve selected value from DropDown

2007-07-17 Thread Igor Vaynberg
On 7/17/07, Toscano [EMAIL PROTECTED] wrote: Thank you for your fast answer! It makes sense. I made the following changes: CompoundPropertyModel: private Language defaultSystemLanguage; (with the correct gets/sets) Submit: System.out.println (LANGUAGE BY DEFAULT: +

Re: [Wicket-user] Retrieve selected value from DropDown

2007-07-17 Thread Igor Vaynberg
On 7/17/07, Toscano [EMAIL PROTECTED] wrote: Thank you again. But I'm not very sure of what you are talking about... I declared the DropDowns that way so they are able to change the content for every language with every localization change. But as part of a Form with assigned

Re: [Wicket-user] wicket-dojo StylingWebMarkupContainer / StyleAttribute

2007-07-17 Thread Igor Vaynberg
On 7/17/07, NateBot2000 [EMAIL PROTECTED] wrote: Alrighty, I figured it out. Clean and very simple (let me know if there's a better way to do this): package com.***.web.dashboard; http://bash.org/?244321 -igor import org.wicketstuff.dojo.markup.html.floatingpane.DojoFloatingPane;

Re: [Wicket-user] initial Seam support in SVN

2007-07-16 Thread Igor Vaynberg
On 7/15/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 7/15/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Really ?! this is cool! but on which Seam version this integration is based on ? On their current trunk (so 2.2 beta 2 in progress I believe). Btw, at this time, only @In

Re: [Wicket-user] setVesible for the component after onEvent

2007-07-16 Thread Igor Vaynberg
On 7/16/07, kenixwong [EMAIL PROTECTED] wrote: It work, but oaly the first time. Mean after i clicked on the radio few times, it nothing happen. try calling setoutputmarkupplaceholdertag(true) on all components you are planning to call setvisible(false) when you create them -igor

Re: [Wicket-user] stateless wicket?

2007-07-16 Thread Igor Vaynberg
On 7/16/07, Johan Compagner [EMAIL PROTECTED] wrote: not directly as a session attribute but hold on to through the pagemap. right, so it should be replicated...we do call set on the pagemap if its dirty right? -igor johan On 7/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote: hrm, i

Re: [Wicket-user] confusion about Wicket models and serialization

2007-07-16 Thread Igor Vaynberg
On 7/16/07, David Rosenstrauch [EMAIL PROTECTED] wrote: My over-arching question at this point is: Is it a requirement that a model's target object be Serializable? no 1) I tried to use a LoadableDetachableModel, partly as a way to avoid making my data object Serializable. But I'm

Re: [Wicket-user] Efficient DynamicResource Handling

2007-07-16 Thread Igor Vaynberg
On 7/16/07, spencer.c [EMAIL PROTECTED] wrote: I have a DynamicWebResource which is going to pull data out of a database. Some of the downloads will end up being quite large (possibly a couple of hundred MB). I have successfully implemented the functionality using DynamicWebResource and

Re: [Wicket-user] setVesible for the component after onEvent

2007-07-16 Thread Igor Vaynberg
in that case you have to call setvisible, but add the parent of the component to the ajaxrequesttarget instead -igor On 7/16/07, kenixwong [EMAIL PROTECTED] wrote: i m using wicket 1.2.4, setoutputmarkupplaceholdertag(true) is came from wicket 1.3.0? igor.vaynberg wrote: On 7/16/07,

Re: [Wicket-user] using images in wicket

2007-07-13 Thread Igor Vaynberg
On 7/12/07, Igor Vaynberg [EMAIL PROTECTED] wrote: then use ContextImage component -igor On 7/12/07, verbal [EMAIL PROTECTED] wrote: I want to do it dynamically though. As in based on some logic, display 1 of n files. Thanks, verbal On Jul 12, 2007, at 7:13 PM, Igor

Re: [Wicket-user] Regarding onchange DropDown

2007-07-13 Thread Igor Vaynberg
On 7/12/07, Edi [EMAIL PROTECTED] wrote: Hi! I have one drop down like selectoptiontextbox/optionoptiontextarea/option/select in the above case, I have 2 items, 1.textbox 2.textarea. If I select textbox, text box should be displayed below the combo box. If I select textarea, textarea

Re: [Wicket-user] Regarding onchange DropDown

2007-07-13 Thread Igor Vaynberg
On 7/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote: On 7/13/07, Edi [EMAIL PROTECTED] wrote: Could you please explain in detail manner? whats there to explain? in form.onsubmit or onchange event copy values from your textarea/textfield to the appropriate hiddenfield element via javascript

Re: [Wicket-user] Regarding onchange DropDown

2007-07-13 Thread Igor Vaynberg
On 7/13/07, Edi [EMAIL PROTECTED] wrote: Could you please explain in detail manner? whats there to explain? in form.onsubmit or onchange event copy values from your textarea/textfield to the appropriate hiddenfield element via javascript. then when your form submits you can read the value

Re: [Wicket-user] stateless ajax behavior

2007-07-13 Thread Igor Vaynberg
On 7/13/07, Andrew Klochkov [EMAIL PROTECTED] wrote: Recently we've done some performance tests and obviously we have to make most of our pages stateless to support large number of active user sessions. could you publish your test results please, because it is not so obvious to me. -igor

Re: [Wicket-user] Please anyone, a hint?

2007-07-13 Thread Igor Vaynberg
why dont you create a quickstart so we can run it real quick and see -igor On 7/13/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Hi all, I wanted to see if I could add an autocomplete that displays a little table (3 columns). It is a simple locations table that shows a ZIPCODE

Re: [Wicket-user] stateless wicket?

2007-07-13 Thread Igor Vaynberg
On 7/13/07, Patrick Angeles [EMAIL PROTECTED] wrote: Hi, I have a question regarding this... I understand that in 1.3, previous page states are serialized to the file system and only the current page state stays in HttpSession. How would this work in a clustered web container that synchronizes

Re: [Wicket-user] Please anyone, a hint?

2007-07-13 Thread Igor Vaynberg
it into eclipse with a command and have a running project. i dont want to spend my time setting up a project manually. -igor thanks, f(t) On 7/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote: why dont you create a quickstart so we can run it real quick and see -igor On 7/13/07, Francisco Diaz

Re: [Wicket-user] RepeatingView Class API

2007-07-13 Thread Igor Vaynberg
fixed -igor On 7/12/07, Ballist1c [EMAIL PROTECTED] wrote: Hey guys, Ive been reading the apidoc for RepeatingView, and there is one thing that is completely throwing me off. As taken from the API

Re: [Wicket-user] stateless wicket?

2007-07-13 Thread Igor Vaynberg
hrm, i thought the current page is stored in session? -igor On 7/13/07, Eelco Hillenius [EMAIL PROTECTED] wrote: I have a question regarding this... I understand that in 1.3, previous page states are serialized to the file system and only the current page state stays in HttpSession. How

Re: [Wicket-user] Wicket 1.3.0-beta2 OutOfMemoryError

2007-07-13 Thread Igor Vaynberg
how about NonPageCachingDummyWebApplication? -igor On 7/13/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 7/13/07, Scott Swank [EMAIL PROTECTED] wrote: That sounds like a lovely inner class for WicketTester. tester = new WicketTester(new WicketTester.NonCachingWebApplication()); Done. I

Re: [Wicket-user] Navigator customization

2007-07-12 Thread Igor Vaynberg
On 7/11/07, nazeem [EMAIL PROTECTED] wrote: I have the same case where I wanted to customize the navigation toolbar to add few action menu items as well. So I have written my own version of AjaxFallbackCustomDataTable by just copying the AjaxFallbackDefaultDataTable code in to my package and

Re: [Wicket-user] Can I show and hide a form using javascript still do form processing on the server ?

2007-07-12 Thread Igor Vaynberg
On 7/12/07, atul singh [EMAIL PROTECTED] wrote: Hi, I want to show and hide forms using javascript, but this will not have components on the server.How do I process the form on the server. What is the reccomended way to do this?? Do I have to make a server call for this?(Based on my experience

Re: [Wicket-user] TabbedPanel tabs instanciation

2007-07-12 Thread Igor Vaynberg
On 7/12/07, Xavier Hanin [EMAIL PROTECTED] wrote: Hi, When debugging my application which uses a TabbedPanel, I realized that one tab was unnecessarily instanciated. After some investigation the reason is simply because I call setSelectedTab based on the parameters of my page, but since the

Re: [Wicket-user] Is it possible to test Wicket templates out-of-container?

2007-07-12 Thread Igor Vaynberg
On 7/12/07, mraible [EMAIL PROTECTED] wrote: Is it possible to use Tapestry's parser in tests to verify that template syntax is correct? probably yes, wicket also has a pullparser implementation you can use, or any other html parser. our tests compare string buffer of httpservletrequest to

Re: [Wicket-user] using images in wicket

2007-07-12 Thread Igor Vaynberg
On 7/12/07, verbal evasion [EMAIL PROTECTED] wrote: actually, doing url.getContent() doesnt seem to work. can someone please help me out? in your markup just do img src=img/foo.gif/ wicket will rewrite that url to be context-relative so /mycotnext/img/foo.gif which will map to

Re: [Wicket-user] Is it possible to test Wicket templates out-of-container?

2007-07-12 Thread Igor Vaynberg
On 7/12/07, mraible [EMAIL PROTECTED] wrote: Is it possible to expire the page cache with JMX? Or even better, expire individual pages from the cache with JMX? i dont think so, but i also dont think it will be very difficult to implement. we already have a jmx bean here [1], so all thats

Re: [Wicket-user] using images in wicket

2007-07-12 Thread Igor Vaynberg
then use ContextImage component -igor On 7/12/07, verbal [EMAIL PROTECTED] wrote: I want to do it dynamically though. As in based on some logic, display 1 of n files. Thanks, verbal On Jul 12, 2007, at 7:13 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: On 7/12/07, verbal evasion [EMAIL

Re: [Wicket-user] ListViews dynamic Forms

2007-07-11 Thread Igor Vaynberg
if you enable listview.reuseitems(true) your values should stick. make addbutton.defaultformprocessing(false). the idea here is that reuseitems will cause the comeponentpath of textfields not change - which will cause their name attribute not to change also - which will cause them to pick up the

Re: [Wicket-user] How to read HTTP headers in WebPage

2007-07-11 Thread Igor Vaynberg
((webrequest)getrequest()).gethttpservletrequest() -igor On 7/11/07, Goran Novak [EMAIL PROTECTED] wrote: Hi. How can I read http header from a subclass of WebPage? In javax.servlet.http.HttpServlet I could get http header from javax.servlet.http.HttpServletRequest.getHeader(headerName)

Re: [Wicket-user] Dead? addComponentInstantiationListener(new SpringComponentInjector(this));

2007-07-11 Thread Igor Vaynberg
On 7/11/07, Tremelune [EMAIL PROTECTED] wrote: Bingo, thanks. I'll add that to my mavenization...That threw me for a loop! you dont need to reference it directly in your pom, its transient from wicket-spring - just need to rebuild your project with mvn eclipse:eclipse -igor This might

Re: [Wicket-user] Click a tree node link to load a local file

2007-07-10 Thread Igor Vaynberg
see source code of DownloadLink -igor On 7/9/07, kenixwong [EMAIL PROTECTED] wrote: Hi, is there anybody have the idea how to load a local file once click on the tree node link. Below is the part of the ResourceLink . ResourceLink exportAsPdf = new ResourceLink(exportAsPdf, new

Re: [Wicket-user] Linking CSS

2007-07-10 Thread Igor Vaynberg
On 7/10/07, Juan Asensio Sánchez [EMAIL PROTECTED] wrote: Hi everybody I am trying to link a CSS file to my template using this code: wicket:head wicket:link link rel=Stylesheet type=text/css href=css/main.css media=screen / wicket:link /wicket:head Also tried with: wicket:head link

Re: [Wicket-user] Linking CSS

2007-07-10 Thread Igor Vaynberg
you subclass, better do BaseWebPage.class instead -igor 2007/7/10, Igor Vaynberg [EMAIL PROTECTED]: On 7/10/07, Juan Asensio Sánchez [EMAIL PROTECTED] wrote: Hi everybody I am trying to link a CSS file to my template using this code: wicket:head wicket:link link rel=Stylesheet

  1   2   3   4   5   6   7   8   9   10   >