Re: replace panels with fade effect

2007-07-28 Thread Igor Vaynberg
here is what i do... i use the animator.js lib ajaxlink.onclick(target) { SuccessFlash flash=new SuccessFlash(); c1.add(flash); c2.add(flash); target.addcomponent(c1); target.addcomponent(c2); } see code below -igor public class AbstractAnimation extends AnimatorResources { private

Re: Behaviour adding to Component body

2007-07-30 Thread Igor Vaynberg
On 7/30/07, Jan Kriesten [EMAIL PROTECTED] wrote: Hi Igor, i really dont think oncomponenttagbody() belongs in behaviors. this should be done without a behavior by subclassing the component and overriding oncomponenttagbody() there. that said you can still hack it by using

Re: 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: Is this even possible...?

2007-08-03 Thread Igor Vaynberg
this is pretty simple, but there are a few things to consider a) the obvious: create a form and put the pageable listview into it. instead of adding labels add textfields for each row. b) call setreuseitems(true) on the pageable listview c) override links in the navigator with submit links i

Re: Caching components

2007-08-05 Thread Igor Vaynberg
usually component render is cheap - it is the retrieval of model data that drives the render that is expensive. so you should cache this data rather then the component output. -igor On 8/5/07, Dariusz Wojtas [EMAIL PROTECTED] wrote: Hi, Is it possible to cache some component output?

Re: Adding New Images to Tree Nodes

2007-08-06 Thread Igor Vaynberg
if you need additional icons you need to create your own fragment and put that into the node instead of the tree's default text-only fragment. -igor On 8/6/07, Sridhar.N [EMAIL PROTECTED] wrote: Hi, I am trying to add few icons/Images to an Tree Node, I tried using addNewIcon() from

Re: Callbacks triggered by keyboard...

2007-08-06 Thread Igor Vaynberg
why would you want a serverside callback for this? you just need a javascript handler. -igor On 8/6/07, Patrick Angeles [EMAIL PROTECTED] wrote: Is this possible in Wicket, say for example, as a way to scroll down a listing, or go left and right on a menu? Thanks in advance... -- View

Re: WicketTester vs Component.error()

2007-08-07 Thread Igor Vaynberg
in 1.2 you cannot call error/info/etc from component's constructor because you havent added that component to the page yet. in 1.3 it just works. -igor On 8/7/07, Gabor Szokoli [EMAIL PROTECTED] wrote: Hi, I'm using wicket 1.2, and use the WicketTester startPage(...) method in a unit test.

Re: [Newbie] Add a yui calendar without a datetextfield

2007-08-08 Thread Igor Vaynberg
i used to use the code below, but now i see eelco has removed AbstractCalendar :( so maybe he can tell us how we can accomplish it now package com.tbs.webapp.component; import java.util.Date; import java.util.Map; import org.apache.wicket.extensions.yui.calendar.AbstractCalendar; import

Re: [Newbie] Add a yui calendar without a datetextfield

2007-08-08 Thread Igor Vaynberg
can you not factor out the common thing into an abstract behavior and have abstractcalendar add that abstract behavior to itself and bridge config methods through itself? -igor On 8/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 8/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i used

Re: wicketstuff-dojo questions and answers

2007-08-08 Thread Igor Vaynberg
On 8/8/07, Kirk Israel [EMAIL PROTECTED] wrote: I'm getting the feeling this list doesn't have a ton of patience for questions it considers dumb. (or related to a library rather than core wicket) So with the idea that I might have asked a few dumb things, and to show that I'm trying to

Re: wicketstuff-dojo questions and answers

2007-08-08 Thread Igor Vaynberg
know nothing about it and cant help you. -igor On 8/8/07, Kirk Israel [EMAIL PROTECTED] wrote: On 8/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote: On 8/8/07, Kirk Israel [EMAIL PROTECTED] wrote: not the case. what you have to understand is that dojo stuff is a wicket-stuff project. created

Re: mountBookmarkablePage and missing parameters - exception thrown

2007-08-08 Thread Igor Vaynberg
On 8/8/07, Dariusz Wojtas [EMAIL PROTECTED] wrote: I want to use it in cases where the user may be given feeling that he is browsing some structure. well, my point was that structure is probably better represented by indexed coding strategy, which is forgiving. for example

Re: Motivation for having setRequired()

2007-08-08 Thread Igor Vaynberg
the whole refactor started because validators were doing a lot of repeitive stuff. for example lets say you have a textfield for a purchase quantity. you add three validators to it, requred, min1) and checkinventory. min(1) = { if (input==null) return; int i=typeconvertinput(); if (i1) error();

Re: How to put a form on each row within a DataView?

2007-08-08 Thread Igor Vaynberg
if you get duplicate id exception you are probably doing this populate(Item item) { Form f=new Form(f); add(form); } instead of the correct way: populate(Item item) { Form f=new Form(f); item.add(f); } -igor On 8/8/07, Mark van Leeuwen [EMAIL PROTECTED] wrote: Hi I have a table

Re: Custom RequiredValidation message

2007-08-08 Thread Igor Vaynberg
afaik they .properties can be attached to any container with associated markup: so page/panel/border should work furthermore you can move them up to the application.properties which is a global file. -igor On 8/8/07, David Leangen [EMAIL PROTECTED] wrote: if you want total control you can

Re: Feedbacks contaminated

2007-08-09 Thread Igor Vaynberg
yes it is normal. feedback panels show any feedback available. if you want to filter by a container see ContainerFeedbackMessageFilter -igor On 8/9/07, David Leangen [EMAIL PROTECTED] wrote: I have a few forms on one page, and more than one form has a feedback. When a user submits one form

Re: Authentication in Webapp and Wicket documentation...

2007-08-09 Thread Igor Vaynberg
On 8/8/07, Alexander Schatten [EMAIL PROTECTED] wrote: Greetings to all Wicket experts I try to get Wicket running for some rather simple web-application. First (no offense, but have to say that), Wicket has the worst documentation of an apparently good open source project I have seen in a

Re: Reacting to DateField change

2007-08-09 Thread Igor Vaynberg
On 8/9/07, Dipu Seminlal [EMAIL PROTECTED] wrote: yes i am almost certain, we need to have the event in the markup. if you add an onchange behaviour then you must add onchange in the markup. no, you do not -igor On 8/9/07, Federico Fanton [EMAIL PROTECTED] wrote: On Thu, 9 Aug 2007

Re: Authentication in Webapp and Wicket documentation...

2007-08-09 Thread Igor Vaynberg
so how do you propose we consolidate it? instead of javadoc have links to the wiki? /** * see wicket.apache.org/wiki/authstrat */ public interface IAuthorizationStrategy {...} that would really really suck. -igor On 8/9/07, Alexander Schatten [EMAIL PROTECTED] wrote: Martijn Dashorst

Re: I Need SubmitLink Help

2007-08-09 Thread Igor Vaynberg
this is for 1.3, but it might work for 1.2.x also package com.tbs.webapp.util; import org.apache.wicket.Component; import org.apache.wicket.behavior.AbstractBehavior; import org.apache.wicket.markup.ComponentTag; import org.apache.wicket.model.IComponentAssignedModel; import

Re: How Can I Implement a Dynamic Table?

2007-08-10 Thread Igor Vaynberg
see DataTable -igor On 8/10/07, Pantaleoni, Andrea (KCTU) [EMAIL PROTECTED] wrote: Hello, I have to implement a dynamic table: depending on user choices or values of fields in database, the number of columns could change. e.g. In same case I can have 3 columns containing Labels or in

Re: Problem with uploading files

2007-08-10 Thread Igor Vaynberg
looks like fileInputStream is a field on your page, but it isnt serializable. so dont store it as a field -igor On 8/10/07, legol [EMAIL PROTECTED] wrote: Iam doing something like this: FileUpload upload = uploadField.getFileUpload(); if(upload!=null) {

Re: remove all behaviors of a certain type

2007-08-10 Thread Igor Vaynberg
you have getbehaviors() and removebehavior(), the rest belongs in some WicketUtil class you write. -igor On 8/10/07, Sean Sullivan [EMAIL PROTECTED] wrote: The Component class provides a method for removing a single IBehavior object: public Component remove(final IBehavior behavior)

Re: Paging Navigator

2007-08-11 Thread Igor Vaynberg
i think this is the only place we put markup into code. and it is because this is a global setting, so what markup template would it go to? and because the html fragment itself is tiny - usually just a single tag. -igor On 8/11/07, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Thank you for

Re: Paging Navigator

2007-08-11 Thread Igor Vaynberg
you can always extend it to do what you want. those components are pretty old, been untouched since probably before 1.0because they seem to work for the vast majority of users. if you want to improve it you can always attach a patch to jira. -igor On 8/11/07, Mathias P.W Nilsson [EMAIL

Re: HTML template

2007-08-12 Thread Igor Vaynberg
seeing as that is the entire point of wicket - pragmatic markup manipulation - the answer is no, not with wicket. you can however use text manipulation libs like velocity, etc. -igor On 8/12/07, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Is there any way of changing the HTML template

Re: HTML template

2007-08-12 Thread Igor Vaynberg
not sure what you mean -igor On 8/12/07, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Ok thanks! Havn't read much of freemarkers and velocity. What do you think is the most common use. Plain html seems as a good idé. -- View this message in context:

Re: Phone book example

2007-08-13 Thread Igor Vaynberg
that is not the svn url for wicket-stuff repo, see sf.net project site -igor On 8/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi I am new to Wicket and java and am trying to get the phone book example to at https://svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-phonebook/

Re: Ajax submit form with empty file input

2007-08-13 Thread Igor Vaynberg
no, ajax submits do not support multipart forms. -igor On 8/13/07, Carlos Pita [EMAIL PROTECTED] wrote: Hi all, is it possible to ajax submit a form that has a file input between its fields, even if this input is always empty at the time of submission? For example, the following example

Re: sharing a context menu across components

2007-08-13 Thread Igor Vaynberg
/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote: see component.getpath() -igor On 8/13/07, Kirk Israel [EMAIL PROTECTED] wrote: Where can I retrieve that path? Each row is generating a unique behavior object instance, but in the onClick for one of the menu items, code like

Re: AjaxTabbedPanel Problem

2007-08-13 Thread Igor Vaynberg
you probably have the span/div problem. make sure you do not nest any block level elements like div inside spans -igor On 8/13/07, Tauren Mills [EMAIL PROTECTED] wrote: Eric, Will you test in IE? The form content shows in IE6, but not in FF2 on WinXP. Tauren On 8/13/07, Tauren Mills

Re: Dynamic AJAX Tabs

2007-08-13 Thread Igor Vaynberg
hmm, its still pretty difficult to tell what is going on. how about a quickstart that reproduces the problem. you want to have an ajax tabbed panel where the number of tabs is variable, so when you recalculate the number of tabs why not simply replace the tabbedpanel with a new instance and add

Re: how to indicate a model changed when item has been removed?

2007-08-15 Thread Igor Vaynberg
sounds like you are caching the list inside model returned by new PropertyModel( getModel(), thermometers) getModel() there. -igor On 8/14/07, Leszek Gawron [EMAIL PROTECTED] wrote: Leszek Gawron wrote: Hello, let me outline a problem I have. If you won't get much from my ramblings I'll

Re: Caching the context path

2007-08-15 Thread Igor Vaynberg
so what exactly are you doing? obviously you cant really share an app across actual contexts because they are supposed to be isolated. so what do you do? you have a single application object, but you map two filters with two different paths and share the single instance of application object via

Re: Order-Items master detail page

2007-08-15 Thread Igor Vaynberg
you create a new instance of itemsDataProvider but your listview never gets that new instance, so its using the old one. instead you should change the data that instance returns: IDataProvider itemsDataProvider = new idataprovider() { count() { if (selected==null) return 0; else return

Re: wicket:child in a WebMarkupContainer

2007-08-15 Thread Igor Vaynberg
fixed, thanks -igor On 8/15/07, Gerolf Seitz [EMAIL PROTECTED] wrote: @ core-devs: The solution that first came to mind was to override add(Component) in SuperComponent so that it would add the added component to myContainer instead of 'this'. Unforunately, the add method is final

Re: Updates within Panels in datatable

2007-08-15 Thread Igor Vaynberg
set up a quickstart so there is something to play with and then someone might be able to help you. as it is right now there simply isnt enough information. -igor On 8/15/07, salmas [EMAIL PROTECTED] wrote: I hadn't but I just tried it and no difference. The issue is that when I type into

Re: How to get HTML source code from a wicket page (was on old list)

2007-08-15 Thread Igor Vaynberg
did you see the tip about running wickettester in a separate thread? -igor On 8/15/07, oliver.henlich [EMAIL PROTECTED] wrote: Hi, Still trying to get the HTML source from a wicket page. However, the discussion was on the old user group and i don't think anyone is looking there anymore

Re: Wicket vs. ZK

2007-08-15 Thread Igor Vaynberg
On 8/15/07, juliez [EMAIL PROTECTED] wrote: 2. AJAX components (Wicket vs. ZK) From the demo websites, it seems ZK provided more AJAX components than Wicket. (As I haven't worked deeply with Wicket, it could be Wicket either provided more components or easy to write those components.) But I

Re: How to get the html combo value in wicket?

2007-08-15 Thread Igor Vaynberg
the final value is put into the model -igor On 8/15/07, Edi [EMAIL PROTECTED] wrote: any reply.. Edi wrote: Hi, I have ordinary html combo, select name=comboTxt option value=oneOne/option option value=twoTwo/option /select How can I get the html combo value

Re: Wicket vs. ZK

2007-08-15 Thread Igor Vaynberg
On 8/15/07, juliez [EMAIL PROTECTED] wrote: First, thanks for the reply! 2. AJAX components (Wicket vs. ZK) you do not implement features like drag and drop or datepicker in wicket, instead you wrap javascript libraries that implement those features with wicket components. I am actually

Re: Wicket-1.3-beta2 validation (conversion) bug?

2007-08-16 Thread Igor Vaynberg
it is obscure but it still should be possible. anyway, you can discuss it here if you like. for example you can list some pros and cons that you think the current approach has. -igor On 8/15/07, Alex Objelean [EMAIL PROTECTED] wrote: If you believe that the usecase is obscure, shouldn't this

Re: strang bug in wicket-1.3.0-beta2 when submitting a form

2007-08-16 Thread Igor Vaynberg
unfortunately formcomponent:565 doesnt point to anything useful. mind trying again with the trunk build? it looks like formcomponent is trying to find its form, do you have it inside a form? -igor On 8/16/07, Alex Objelean [EMAIL PROTECTED] wrote: I've got the following exception when submit

Re: Request Cycle TimeOut

2007-08-16 Thread Igor Vaynberg
please file a bug. also understand that if you set timeout to one hour that means the user will not be able to access any other page within that session until the original request goes through. -igor On 8/16/07, Gustavo Yoshizaki [EMAIL PROTECTED] wrote: Hi, I have some problems with the

Re: Request Cycle TimeOut

2007-08-16 Thread Igor Vaynberg
https://issues.apache.org/jira/ -igor On 8/16/07, Gustavo Yoshizaki [EMAIL PROTECTED] wrote: Okey, Thanks for the answer. How do I report this bug? Gustavo On 8/16/07, Igor Vaynberg [EMAIL PROTECTED] wrote: please file a bug. also understand that if you set timeout to one hour

Re: Is there something like ValidationDelegates in Wicket?

2007-08-16 Thread Igor Vaynberg
yep, i have a border implementation that does just this. it searches its hierarchy for a formcomponent(s) and adds labels, then if there are any errors it renders them after the component. so it is definetely possible, you still have to add a border/component but the chances are you are adding a

Re: Ajax refresh of DefaultDataTable in wicket-phonebook

2007-08-16 Thread Igor Vaynberg
developed this thing and probably have much better ideas. Thanks, Tauren On 8/15/07, Igor Vaynberg [EMAIL PROTECTED] wrote: yes, i believe it is caused by invalid markup, maybe the form should be factored out and put around the entire table. -igor On 8/14/07, Tauren Mills [EMAIL

Re: url mapping and wizards

2007-08-16 Thread Igor Vaynberg
this is not how wicket works. bookmarkable urls are entry points, but once you change the state of the page you have to keep track of that instance somehow - that is what :12: is in that url - a wicket page id. so once you change the state of any page it is no longer bookmarkable and thus cannot

Re: Localizing title of ModalWindow

2007-08-16 Thread Igor Vaynberg
setTitle(getString(editTitle)); but that method really should take an imodel, please add an rfe -igor On 8/16/07, Tauren Mills [EMAIL PROTECTED] wrote: I'm using a panel based ModalWindow and want to localize the window title. Without localization, I'd do this: modalWindow.setTitle(Edit

Re: Is there something like ValidationDelegates in Wicket?

2007-08-17 Thread Igor Vaynberg
my border handles multiple formcomponetns if they are meant to be grouped. for example you can add 3 textfields and it will create labels like: city/state/zip [text1][text2][text3] errors for text1/text2/text3 i have a utility method in my Form subclass addWithBorder(String borderid,

Re: Multiple JS-libraray inclusions

2007-08-17 Thread Igor Vaynberg
i just downloaded dojo 0.9beta it runs in at 16mb if all i want is to build a modal dialog using dojo i do not want to distribute a 16mb jar. given that is uncompressed and can probably shrink down to less then a third, still it is gigantic. so if i can strip out all i do not use and shrink my

Re: Multiple JS-libraray inclusions

2007-08-17 Thread Igor Vaynberg
On 8/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote: there are just too many holes in this idea for us to implement it properly where it Hust Works. we can implement it half way and spend a lot of time answering questions as to why something doesnt work sometimes based on what

Re: Multiple JS-libraray inclusions

2007-08-17 Thread Igor Vaynberg
On 8/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote: you know damn well thats not what i meant! jackass. the current global id idea is simply not enough to fix much of anything. :) I was merely seeing it as a starting point for thinking about a solution. I think it would be possible,

Re: password encryption

2007-08-17 Thread Igor Vaynberg
i have recently disabled encryption because the idea was flawed. it would need to be encrypted on clientside in order to work properly. -igor On 8/17/07, John Carlson [EMAIL PROTECTED] wrote: I'm looking for some clarification on the wiki about Validating PasswordTextfield:

Re: Can we do straight print in a java web application?

2007-08-18 Thread Igor Vaynberg
i think its a little out of scope of wicket :) prob what you would need is a browser plugin -igor On 8/18/07, Eko S.W. [EMAIL PROTECTED] wrote: Dear all, I would like to found out about something : can we do straight print in a java web application? That is, we do not rely on

Re: Two questions: Roadmap and Editable Grids

2007-08-18 Thread Igor Vaynberg
On 8/18/07, dtoffe [EMAIL PROTECTED] wrote: I wonder if is it possible to create a custom component that behaves like an editable grid. For example, I want a flexible grid like those in Visual Basic or Delphi, in which I can set some cells as editable, some fixed, some in other colour, is

Re: Can I HTTP Post from static html page to a Wicket page?

2007-08-18 Thread Igor Vaynberg
sure, set the form's action to point to the bookmarkable page. mount the bookmarkable page with querystringurlcodingstrat give it a (PageParameters params) constructor and you are good to go, you can pull out the submitted values out of params. -igor On 8/18/07, Chris Lintz [EMAIL PROTECTED]

Re: Custom StringHeaderContributor

2007-08-18 Thread Igor Vaynberg
there should already be a png fix for ie in extensions. -igor On 8/18/07, Tauren Mills [EMAIL PROTECTED] wrote: Maybe its just late and I'm not thinking straight, but I can't figure out the best way to create a custom StringHeaderContributor. All I want it to is encapsulate some javascript

Re: generic validator questions

2007-08-18 Thread Igor Vaynberg
right now you have a few choices: you can load that .properties file yourself from inside your validator you can put these properties into application-scoped .properties file. you can also add an rfe into our jira to allow validators to have their own .properties bundles. -igor On 8/18/07,

Re: generic validator questions

2007-08-18 Thread Igor Vaynberg
On 8/18/07, Stojce Dimski [EMAIL PROTECTED] wrote: Hi Igor The error message says: Could not locate error message for error: [org.apache.wicket.validation.ValidationError message=[null], keys=[notFound, ClassValidator], variables=[]] the problem looks like is that its looking for a

Re: Custom StringHeaderContributor

2007-08-18 Thread Igor Vaynberg
, ModalWindow uses transparent pngs and doesn't seem to have an issue. But I didn't see any code to handle it in modal.js. Could you point me to where its at? If one doesn't exist, I'd be happy to contribute this. Tauren On 8/18/07, Igor Vaynberg [EMAIL PROTECTED] wrote: there should

Re: Slider Component

2007-08-18 Thread Igor Vaynberg
any javascript slider can be easily integrated into wicket, in fact most javascript libs can be. see wicket-stuff for inspiration, there are integrations for animator.js, mootools, yui, scriptaculous, etc. -igor On 8/18/07, Samanth Bapu [EMAIL PROTECTED] wrote: All, I am relatively new to

Re: generic validator questions

2007-08-18 Thread Igor Vaynberg
im not sure exactly what your usecase is. we have something that is kind of similar, namely new TextField(number, Integer.class); which would type convert the entered string into an Integer and error out if the conversion could not be performed. but i dont think this is the exact match to

Re: Loading global resources in test?

2007-08-20 Thread Igor Vaynberg
it should probably be MyApplication.properties unless you have myApplication.java -igor On 8/20/07, Erik Underbjerg [EMAIL PROTECTED] wrote: Hello, I have just moved some localized string resources to a myApplication.properties file, because they need to accessed by different panels

Re: back button processing doesn't work in Opera

2007-08-20 Thread Igor Vaynberg
please file a jira issue. this was supposed to work. -igor On 8/20/07, Andrew Klochkov [EMAIL PROTECTED] wrote: Use case: 1) user loads page A 2) he goes to page B 3) he hits back button 4) he clicks an ajax link on the page A, but wicket thinks that page B is current page because

Re: Bookmarkable link to a page in another WebApplication

2007-08-20 Thread Igor Vaynberg
not across contexts, contexts in webapps are isolated. so you have to construct the url manually, which is easy since you know the mount point. so construct a url and give it to externallink component. -igor On 8/20/07, Dariusz Wojtas [EMAIL PROTECTED] wrote: Hi, What is the best way to

Re: Loading global resources in test?

2007-08-21 Thread Igor Vaynberg
tests? I'm using wicket 1.2.6. Thanks in advance. /Erik On 20/08/2007, at 22.55, Igor Vaynberg wrote: it should probably be MyApplication.properties unless you have myApplication.java -igor On 8/20/07, Erik Underbjerg [EMAIL PROTECTED] wrote: Hello, I have just

Re: DownloadLink hanging

2007-08-21 Thread Igor Vaynberg
to search http://cwiki.apache.org/WICKET/ without luck. Alternatively, is it possible to complete shut off the serialization (which seems to cause this and maybe even other blocking problems)? -- Best regards Thomas Singer _ SyntEvo GmbH Brunnfeld 11 83404 Ainring Germany Igor

Re: Loading global resources in test?

2007-08-21 Thread Igor Vaynberg
, at 15.51, Igor Vaynberg wrote: wicket tester uses a mock web application - not yours - so it cannot load those properties. i think in 1.3 we refactored it to support custom application subclasses. i think as far as you can make it work in 1.2.6 is to change resource settings not to throw

Re: Wicketstuff-minis Veil

2007-08-21 Thread Igor Vaynberg
why dont you just drop it into your project and see -igor On 8/21/07, Federico Fanton [EMAIL PROTECTED] wrote: Hi everyone! I'm sorry, is there a screenshot of what the veil behavior looks like, somewhere? Many thanks!

Re: IndicatingAjaxSubmitButton and download after form submission problem

2007-08-21 Thread Igor Vaynberg
you cannot stream back from ajax request directly, instead try doing something like window.location=somedownloadurl for ajax requests; -igor On 8/21/07, Martin Bednář [EMAIL PROTECTED] wrote: Hi, I have problem when I use IndicatingAjaxSubmitButton for dowload after form submission. I

Re: DownloadLink hanging

2007-08-22 Thread Igor Vaynberg
www.syntevo.com Igor Vaynberg wrote: On 8/21/07, Thomas Singer [EMAIL PROTECTED] wrote: Hi Igor, yep, DownloadLinks will block because requests to the same page are serialized. Sorry, I don't understand, why links to downloadable resources should be blocking or serialized. Usually

Re: unknown Exception how to solve

2007-08-22 Thread Igor Vaynberg
looks like you are adding a component to the target that doesnt have a page? you have to add the component first to the page hierarchy in the proper place, and then also to the ajax target. ajax target is just a list of components that need to be repainted. -igor On 8/22/07, [EMAIL PROTECTED]

Re: Wicket generates invalid HTML/CSS with ListView

2007-08-22 Thread Igor Vaynberg
already fixed in beta3 -igor On 8/22/07, Edvin Syse [EMAIL PROTECTED] wrote: Hi, I use Wicket 1.3-beta2. When I construct a ListView and setOutputMarkupId(true) on the listItem itself, the constructed id in the HTML-code is only a number. This breaks the CSS 2 standard, that says that

Re: Component Factory and code against interface

2007-08-22 Thread Igor Vaynberg
i dont see why it wouldnt work for you. i know some people who use osgi with wicket did this a while ago and no problems. -igor On 8/22/07, Sam Hough [EMAIL PROTECTED] wrote: Would it make sense in Wicket to have a factory, for at least common components like Button etc, that use interfaces

Re: Does anyone develop Wicket app using IRAD and Websphere

2007-08-22 Thread Igor Vaynberg
search the list, this has been discussed a few times already. -igor On 8/22/07, juliez [EMAIL PROTECTED] wrote: Hi Martijn, Thanks for the clue! I tried to use WicketServlet instead of WicketFilter in web.xml and it does fix the problem. I don't really know the issue of the WicketFilter

Re: Page and compoenent level feedback are mixing together

2007-08-22 Thread Igor Vaynberg
you have to create your own custom feedback filter. this is simply how wicket feedback works. it is stored per page, and if you want to filter it you have to do it inside the panel. -igor On 8/22/07, Watter [EMAIL PROTECTED] wrote: I've searched for and read a number of threads on using

Re: Question regarding old post (ResultSet and DataTable)

2007-08-22 Thread Igor Vaynberg
actually idataprovider is more generic then resultset :) -igor On 8/22/07, dtoffe [EMAIL PROTECTED] wrote: Hi !! I've found this old thread: http://www.nabble.com/RE%3A-DataView-%28extensions%29-tf1287013.html#a3423281 I hope this link works OK, just in case I quote here the

Re: Page and compoenent level feedback are mixing together

2007-08-22 Thread Igor Vaynberg
On 8/22/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Improving upon the current situation could work roughly like this: updateFeedback is done post order, and the implementations should mark feedbackmessages as accepted or something (IFeedbackMessageFilter would best be converted to an

Re: Question regarding old post (ResultSet and DataTable)

2007-08-23 Thread Igor Vaynberg
perhaps you can email frank and ask him, it is unfortunate he did not post his code on a wiki page somewhere. http://www.nabble.com/displaying-java.sql.Timestamp-tf1333211.html#a3561689 -igor On 8/22/07, dtoffe [EMAIL PROTECTED] wrote: Uhh, well... yes, you are right. Excuse

Re: DownloadLink hanging

2007-08-23 Thread Igor Vaynberg
new MyFileResourceStream(file); } -- Best regards, Thomas Singer _ SyntEvo GmbH Brunnfeld 11 83404 Ainring Germany www.syntevo.com Igor Vaynberg wrote: you can register a shared resource and build a url for it. inside shared resource you can simply call Session.get

Re: POJO Adapter in Wicket

2007-08-23 Thread Igor Vaynberg
i would use the pojos directly and put the presentation stuff into the model -igor On 8/23/07, Vincenzo Vitale [EMAIL PROTECTED] wrote: Hi All, I'm using Wicket (1.3.0 beta2), Hibernate and Spring. In my Wicket project for each POJO of my business model I created an Adapter maintaining

Re: Component Factory and code against interface

2007-08-23 Thread Igor Vaynberg
not really sure what you mean when you say marking components as dirty... have you seen ajaxfallback* components? those will use ajax when its there, and fallback on regular requests when its not. so you dont even need a factory necessarily. -igor On 8/23/07, Sam Hough [EMAIL PROTECTED] wrote:

Re: PageStore listener...

2007-08-23 Thread Igor Vaynberg
On 8/23/07, Jan Kriesten [EMAIL PROTECTED] wrote: hi matej, hi johan, Why can't you just implement read/writeObject on your page/component? that would be an effort... here a listview, there a link and over there another image... that way i loose all the benefits of using injection - i

Re: No get method defined for expression recorder when using Palette and CompoundPropertyModel

2007-08-23 Thread Igor Vaynberg
-0700 Igor Vaynberg [EMAIL PROTECTED] wrote: Thanks for the tip but I absolutly need a compoundPropertyModel. https://issues.apache.org/jira/browse/WICKET-723 I had the same issue, thanks! Now I'm using beta3.. Another question though: I see that Recorder.initIds() assumes that getPalette

Re: Layout Panel

2007-08-23 Thread Igor Vaynberg
only pages/panels/borders have associated markup files by default. -igor On 8/23/07, andrea pantaleoni [EMAIL PROTECTED] wrote: the reason is that I need to consider the panel as a single component which is used inside a listview Anyway you could be right I saw that in wicket you can

Re: Component Factory and code against interface

2007-08-23 Thread Igor Vaynberg
On 8/23/07, Sam Hough [EMAIL PROTECTED] wrote: Say my onSubmit handler changes three components, as I understand it, I have to hand code feeding those three components to the AjaxRequestTarget. This seems cumbersome and slightly error prone. I think for our application, if the components

Re: DownloadLink hanging

2007-08-23 Thread Igor Vaynberg
yep -igor On 8/23/07, Thomas Singer [EMAIL PROTECTED] wrote: Should I report a bug in JIRA? -- Best regards, Thomas Singer _ SyntEvo GmbH Brunnfeld 11 83404 Ainring Germany www.syntevo.com Igor Vaynberg wrote: hm, this looks like an old bug. johan didnt we fix

Re: Can Panel replace itself ?

2007-08-23 Thread Igor Vaynberg
c.replacewith(a) is the same as c.getparent().replace(a) -igor On 8/23/07, Artur W. [EMAIL PROTECTED] wrote: Eelco Hillenius wrote: do: TestPanel newOne = new TestPanel(TestPanel.this.getId(), another param); TestPanel.this.replaceWith(newOne);

Re: PageStore listener...

2007-08-23 Thread Igor Vaynberg
are you using wicket-guice? or just the guice' raw injection? -igor On 8/23/07, Jan Kriesten [EMAIL PROTECTED] wrote: hi igor, public mypanel extends panel { @SpringBean private Service service; actually, if i use guice-injection @Inject private ContentManager cm; where

Re: PageStore listener...

2007-08-23 Thread Igor Vaynberg
well, that is pretty interesting. set a break point after the injection has finished and see what really is assigned to that field. i didnt write the guice injector, but from what i can see it always injects wicket's lazy lookup proxy. you should see something like: [EMAIL PROTECTED] one peculiar

Re: [newb] sorting, paging table

2007-08-23 Thread Igor Vaynberg
On 8/23/07, somethingRandom [EMAIL PROTECTED] wrote: I am trying out wicket, coming from the action-based world, so please bear with me. I made a simple report (we have a backend using spring and hibernate in place). It was very easy to take the ArrayList that hibernate returns to me and

Re: Can Panel replace itself ?

2007-08-23 Thread Igor Vaynberg
does it do that in all browsers? also call view.setreuseitems(true); -igor On 8/23/07, Artur W. [EMAIL PROTECTED] wrote: igor.vaynberg wrote: c.replacewith(a) is the same as c.getparent().replace(a) I want to extend this example and replace the panel but inside the ListView. But

Re: RadioGroup and posted Values

2007-08-23 Thread Igor Vaynberg
hmm, dont know why you would do this inside a converter of another component but you can get to it like this: rg.convert(); rg.getconvertervalue(); -igor On 8/23/07, Jan Kriesten [EMAIL PROTECTED] wrote: hi, I'm trying to get the posted value of a RadioGroup (within a converter of a

Re: Constructor of Component not DRY?

2007-08-23 Thread Igor Vaynberg
just add a private component init(String, IModel) which can assume null arguments do the null checks in the constructor and forward to that method -igor On 8/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote: hmmm... that would go against my taste of chaining from the constructor with the

Re: conditional markup change

2007-08-24 Thread Igor Vaynberg
there are a few ways to do this one is to add both and override isvisible() on them to conditionally hide one or the other another way would be for that link to replace one with the other -igor On 8/23/07, Konstantin Ignatyev [EMAIL PROTECTED] wrote: I need to change presentation

Re: Add a choice to a DropDownChoice

2007-08-24 Thread Igor Vaynberg
class mypanel extends panel { private List options; mypanel () { add(new dropdownchoice(id,model, new PropertyModel(this, options),...);} now that it is using a property model to retrieve its choices just add/remove items from the options list -igor On 8/24/07, andrea pantaleoni [EMAIL

Re: Can Panel replace itself ?

2007-08-24 Thread Igor Vaynberg
its happening because you are creating invalid html you cannot have a span between a tr and td, so you just need to adjust how you are outputting the markup. change testpage.html to use the following and it will work: body table style=border-collapse: collapse; empty-cells: show;

Re: Wicket and Spring MVC compared.

2007-08-24 Thread Igor Vaynberg
who cares, he says he has a database in there so the tests should be pretty even. for all we know wicket might be five times slower then spring mvc! and it may very well be because spring mvc is so simple in comparison. but who cares? a five fold improvement of something that is only five percent

  1   2   3   4   5   6   7   8   9   10   >