Re: Parallel execution of AjaxLazyLoadPanel

2008-02-26 Thread Nuno Fernandes
Johan, Thank you for commenting! Nuno Johan Compagner wrote: Thats currently not possible, if you want something like that you can go around it by using shared resources for it those are not synched. There are talks about lifting that up (by choice like a multithreadedpage) but that is in my

Is there any consistent way to create a custom component which acts as a normal form component with validation capabilities.

2008-02-26 Thread Vitaly Tsaplin
Hi everyone! I am trying to create a custom component which should be a composite consisting of 3 text fields. It will be basically a date picker with day, month and year fields. I have created a panel and dropped instances of the DropDownChoice class on it. I have also created a subclass

[Newbie question] How to avoid empty boxes?

2008-02-26 Thread Kaspar Fischer
I have just started looking at Wicket and have a basic question. My page displays an article with meta-data from the database. I display the meta-data in a box (a div.../div). If no meta-information is present, I don't want the box (the div) to appear at all. Is there a generic,

AW: [Newbie question] How to avoid empty boxes?

2008-02-26 Thread Bernd Mrohs
Dear Kaspar, Just check in your Java code if the meta data is empty before adding the box (I guess, a Panel) to your page. If it is empty, add an EmptyPanel, or a WebMarkupContainer instead, and call .setRenderBodyOnly(true) on the EmptyPanel/WebMarkupContainer. This disables the printing of

Re: [Newbie question] How to avoid empty boxes?

2008-02-26 Thread Gerolf Seitz
hi, if no ajax is involved, i suggest reading [0] about wicket:enclosure. this should do the trick. cheers, gerolf [0] http://www.systemmobile.com/?page_id=253 On Tue, Feb 26, 2008 at 10:47 AM, Kaspar Fischer [EMAIL PROTECTED] wrote: I have just started looking at Wicket and have a basic

Re: CompoundModel based on proxies

2008-02-26 Thread Sebastiaan van Erk
Matej Knopp wrote: model.getFirstName() can't really return IModel, if Customer.getFirstName() returns string. Anyway, I like the idea, but I don't like the syntax. instead of one line [add(new TextField(id, model).setRequred(true)) ] you have now three separate lines. So I was thinking of

Re: CompoundModel based on proxies

2008-02-26 Thread Matej Knopp
model.getFirstName() can't really return IModel, if Customer.getFirstName() returns string. Anyway, I like the idea, but I don't like the syntax. instead of one line [add(new TextField(id, model).setRequred(true)) ] you have now three separate lines. So I was thinking of something more like

Re: Wicket-FBML Released

2008-02-26 Thread Nino Saturnino Martinez Vazquez Wael
Hi Dan Could you provide some information about the project, im thinking of howto use it is there a maven repo etc? Dan Kaplan wrote: Wicket-FBML (facebook markup language) 0.1 has been released on sourceforge. It doesn't have much, but I'd like to think it'll help. -- Nino

Re: [Newbie question] How to avoid empty boxes?

2008-02-26 Thread Nino Saturnino Martinez Vazquez Wael
hmm why do it complicated, just create a panel, and if your rules decide it then call setvisible(false)... then no markup will be visible from that component... Kaspar Fischer wrote: I have just started looking at Wicket and have a basic question. My page displays an article with meta-data

Re: CompoundModel based on proxies

2008-02-26 Thread Matej Knopp
Hi, On Tue, Feb 26, 2008 at 11:13 AM, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Matej Knopp wrote: model.getFirstName() can't really return IModel, if Customer.getFirstName() returns string. Anyway, I like the idea, but I don't like the syntax. instead of one line [add(new

Re: CompoundModel based on proxies

2008-02-26 Thread Sebastiaan van Erk
Matej Knopp wrote: Hi, On Tue, Feb 26, 2008 at 11:13 AM, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Matej Knopp wrote: model.getFirstName() can't really return IModel, if Customer.getFirstName() returns string. Anyway, I like the idea, but I don't like the syntax. instead of one

DropDownChoice puzzle

2008-02-26 Thread Vitaly Tsaplin
Hi everyone! I have a question regarding the IChoiceRenderer interface. As I can guess a regular usage of the DropDownChoice is to bind it to some bean property (somehow probably by means of the PropertyModel). So lets take an example. I have a picker of something that is an integer by

Re: CompoundModel based on proxies

2008-02-26 Thread Matej Knopp
We've reworked the implementation a bit,it works like this: SafePropertyModelPerson p = new SafePropertyModelPerson(new Person()); TextField field = new TextField(name, p.bind(p.property().getFirstName())); It's attached to the JIRA issue: https://issues.apache.org/jira/browse/WICKET-1327

Re: Is there any consistent way to create a custom component which acts as a normal form component with validation capabilities.

2008-02-26 Thread Gerolf Seitz
there's DateField in the wicket-datetime core project. Gerolf On Tue, Feb 26, 2008 at 11:44 AM, Maurice Marrink [EMAIL PROTECTED] wrote: FormComponentPanel was created for these kind of situations. As for the example of its use, i am not sure where to find one but i think it is all pretty

Re: [Newbie question] How to avoid empty boxes?

2008-02-26 Thread Kaspar Fischer
Dear Bernd, Gerolf, Nino, Thanks a lot for your replies: in two minutes I learnt a lot! For my particular needs, wicket:enclosure is not the perfect solution: I have several children, wicket:enclosure child='child1' div wicket:id=child1/div div wicket:id=child2/div

Re: Is there any consistent way to create a custom component which acts as a normal form component with validation capabilities.

2008-02-26 Thread Maurice Marrink
FormComponentPanel was created for these kind of situations. As for the example of its use, i am not sure where to find one but i think it is all pretty self-explanatory Maurice On Tue, Feb 26, 2008 at 9:43 AM, Vitaly Tsaplin [EMAIL PROTECTED] wrote: Hi everyone! I am trying to create a

Outdated Javadoc referenced on wicket.apache.org

2008-02-26 Thread Jay Hogan
Any chance someone can updated the javadoc referenced on the Wicket homepage? It is currently showing a 1.3.0 snapshot. Cheers, Jay

Re: Dynamic form components and disabling them

2008-02-26 Thread Federico Fanton
On Mon, 25 Feb 2008 08:58:11 -0800 Igor Vaynberg [EMAIL PROTECTED] wrote: yeah, the components are recreated. you have to set an item reuse strategy for the gridview, see setItemReuseStrategy ... I'm sorry, while trying to figure out how reuse strategies work I stumbled upon

DatePicker creates lots of duplicate javascript

2008-02-26 Thread Harro Lissenberg
Hi, I have a page that can contain dozens of DateTextFieldS. If I add a new DatePicker (yui) to each of this fields a lot of duplicate javascript is generated since the datepicker JS code is hardcoded to the textfield. Is there a workaround for this? Thanks!

Re: Binding component visibility attribute to another form value

2008-02-26 Thread Sam Barnum
Thanks Timo, It didn't occur to me to override isVisible, I assumed I had to call setVisible(). I still have it ingrained into my head that subclassing is something that should be avoided. So obviously I run into these issues when using Wicket, where subclassing existing components is

Swing application and Wicket

2008-02-26 Thread Klearhos Klearhou
Hello, I want to have an external application (swing for example) that will update a DB. I want wicket to be the front end and basically present the informations form the DB. I am thinking the communication between the swing application and the server to take place with a web service. Do you

Re: Swing application and Wicket

2008-02-26 Thread Martin Makundi
Why you need both wicket and swing? 2008/2/26, Klearhos Klearhou [EMAIL PROTECTED]: Hello, I want to have an external application (swing for example) that will update a DB. I want wicket to be the front end and basically present the informations form the DB. I am thinking the

Re: Swing application and Wicket

2008-02-26 Thread Klearhos Klearhou
Hello, the reason lies into a projects specifics needs. I need to have access to local resources of the system. I will deploy my app with java web start and it communicate with web services. Is there any way to call web services from inside the wicket framework ?? Thank you again -

Re: Swing application and Wicket

2008-02-26 Thread Martin Makundi
Why you need wicket for? 2008/2/26, Klearhos Klearhou [EMAIL PROTECTED]: Hello, the reason lies into a projects specifics needs. I need to have access to local resources of the system. I will deploy my app with java web start and it communicate with web services. Is there any way to

Re: Swing application and Wicket

2008-02-26 Thread Sam Barnum
Wicket doesn't really include a web services component that I know of, but you can run web services in the same application server using xfire, xerces, or jaxws -Sam On Feb 26, 2008, at 5:46 AM, Martin Makundi wrote: Why you need wicket for? 2008/2/26, Klearhos Klearhou [EMAIL

Re: Swing application and Wicket

2008-02-26 Thread Klearhos Klearhou
In the future chagnes will take place through wicket as well. I like the framework and I think it is very good for the front end. as I have it right now it is like 2 projects in the Netbeans that are beign deployed at the same server. - Original Message From: Martin Makundi [EMAIL

Re: newbie Quick Start question

2008-02-26 Thread Kevin Murphy
James Carman wrote: Are you using the Start class? Are you sure you're running in Debug mode? Also, do you hit Ctrl-F9 (make)? It should pick up the changes if you do that. On 2/25/08, Kevin Murphy [EMAIL PROTECTED] wrote: What's the most automatic way to get Jetty to pick up changes to

Re: Swing application and Wicket

2008-02-26 Thread Martin Makundi
Well. If your frontend is in wicket, you can ofcourse utilize webservice client classes to access webservices. However, I do not understand how/why you would utilize wicket to serve webservices... 2008/2/26, Klearhos Klearhou [EMAIL PROTECTED]: In the future chagnes will take place through

Re: Swing application and Wicket

2008-02-26 Thread Klearhos Klearhou
The nice features that Netbeans provides like Web Services References does not seem to be provided with the Maven quickstart project. I think this is more related to Maven. - Original Message From: Sam Barnum [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Tuesday, 26 February,

Re: Swing application and Wicket

2008-02-26 Thread Martin Makundi
Duh.. maven is just a build and dependency management tool. It can also used to generate boilerplate projects. I am not familiar with Netbeans' Web Services References. Could you elaborate what you are looking for? 2008/2/26, Klearhos Klearhou [EMAIL PROTECTED]: The nice features that Netbeans

get ParentWebPage from PopupWindow?

2008-02-26 Thread Benjamin Ernst
Hi, I have got two questions concerning popupWindows: 1) I am opening a popupWindow from a WebPage and in this popupWindow I want to access the (parent-) WebPage. Is there any way to do this in wicket? 2) When the (parent-)WebPage is closed, i want to close the popupWindow as well. Is this

Newbie HTML/CSS and Java development questions

2008-02-26 Thread Elizabeth Hill
Would anyone be willing to share their experiences dealing with the html/CSS and Java development life-cycles? I am looking for folks willing to share their experiences with the design/html side of application development with Wicket. I am investigating how to create a toolbox of UI

Re: Newbie HTML/CSS and Java development questions

2008-02-26 Thread Martin Makundi
You mean you will be 1. developing the applications with Wicket but 2. prototyping them using something else? I would say that it is a whole another application development to create such a prototyping toolbox. Why? Because it is a lot of work. The wicket HTML templates are far from mock-up

Re: CompoundModel based on proxies

2008-02-26 Thread Scott Swank
I just added a relevant note about serialization (learned the hard way...) to the jira. - Scott On Tue, Feb 26, 2008 at 3:18 AM, Matej Knopp [EMAIL PROTECTED] wrote: We've reworked the implementation a bit,it works like this: SafePropertyModelPerson p = new SafePropertyModelPerson(new

Re: CompoundModel based on proxies

2008-02-26 Thread atul singh
I feel this approach does NOT solve a problem.Its just an alternative .. On Tue, Feb 26, 2008 at 4:48 PM, Matej Knopp [EMAIL PROTECTED] wrote: We've reworked the implementation a bit,it works like this: SafePropertyModelPerson p = new SafePropertyModelPerson(new Person()); TextField

RE: Newbie HTML/CSS and Java development questions

2008-02-26 Thread Elizabeth Hill
Martin, Thanks for the response and for helping me clarify my thinking a bit. Our shop has just decided to move to Wicket for our internal web application development. Previously, we have developed semi-working prototypes for our customers using HTML/JS/CSS. When the customer was satisfied

Re: Newbie HTML/CSS and Java development questions

2008-02-26 Thread Martin Makundi
For what it is worth, our middle road is just stripping plain-old mock-up HTML/JS/CSS into wicket templates as soon as possible. After you have laid out the foundation, throw away the static mock-ups. It is pretty fast to iterate designs implemented in wicket as soon as you have fixed most of the

Decorating Ajax(Fallback)Link

2008-02-26 Thread Martin Grigorov
Hi, I want to decorate AjaxLink with custom JavaScript: @Override protected IAjaxCallDecorator getAjaxCallDecorator() { return new AjaxCallDecorator() { @Override public CharSequence decorateScript(final

RE: Newbie HTML/CSS and Java development questions

2008-02-26 Thread Elizabeth Hill
Martin, Thanks for your help! Elizabeth -Original Message- From: Martin Makundi [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 12:55 PM To: users@wicket.apache.org Subject: Re: Newbie HTML/CSS and Java development questions For what it is worth, our middle road is just

Re: CompoundModel based on proxies

2008-02-26 Thread Sebastiaan van Erk
Well, there's a problem with normal PropertyModels (or CompoundPropertyModels). For example, if you have the following textfield: TextField tf = new TextField(name, new PropertyModel(customer, customerName)); Then a refactor of the customerName property (and the getCustomerName() method)

Re: Decorating Ajax(Fallback)Link

2008-02-26 Thread Igor Vaynberg
you can use an early exit instead if (!confirm('foo')) return; -igor On Tue, Feb 26, 2008 at 9:20 AM, Martin Grigorov [EMAIL PROTECTED] wrote: Hi, I want to decorate AjaxLink with custom JavaScript: @Override protected IAjaxCallDecorator getAjaxCallDecorator() {

Re: CompoundModel based on proxies

2008-02-26 Thread James Carman
Have you tried this out using load testing? You are creating a new class every time you create a model. Have you run out of permgen space? On 2/26/08, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Well, there's a problem with normal PropertyModels (or CompoundPropertyModels). For example,

Re: CompoundModel based on proxies

2008-02-26 Thread Igor Vaynberg
we can cache the created proxy class and simply give each instance a new handler... -igor On Tue, Feb 26, 2008 at 10:26 AM, James Carman [EMAIL PROTECTED] wrote: Have you tried this out using load testing? You are creating a new class every time you create a model. Have you run out of

Re: CompoundModel based on proxies

2008-02-26 Thread James Carman
So, you would cache the generated class (based on the type passed in) and then have it generate a new object each time. Then, cast that object to Factory and set its callbacks? On 2/26/08, Igor Vaynberg [EMAIL PROTECTED] wrote: we can cache the created proxy class and simply give each instance

Create a ResourceReference to an image

2008-02-26 Thread Juan Gabriel Arias
Hi all, I'm trying to create a ResourceReference to an image. But i dont need the scope, the name, the local neither the style. I just want my image. I can't put that image in my package. This is a wicket/java project, and the html, images, styles, javascript etc are in another project. I saw the

Re: CompoundModel based on proxies

2008-02-26 Thread Igor Vaynberg
not really sure. but this is how it would work. proxies in cglib take handlers. so you would do: String key=modelclass.getname(); Class proxy=cache.get(key); if (proxy==null) { proxy=cglib.createproxy(modelclass); cache.put(key,proxy); } proxyhandler handler=new proxyhandler(this); Object

Re: Create a ResourceReference to an image

2008-02-26 Thread Igor Vaynberg
dont use a resource reference? -igor On Tue, Feb 26, 2008 at 10:39 AM, Juan Gabriel Arias [EMAIL PROTECTED] wrote: Hi all, I'm trying to create a ResourceReference to an image. But i dont need the scope, the name, the local neither the style. I just want my image. I can't put that

RE: newbie Quick Start question

2008-02-26 Thread Tina A
You need to set the 'scanIntervalSeconds' parameter for the Jetty Maven plugin in the pom.xml. The QuickStart archetype generated pom.xml does not have this paremeter set so it is off by default. Look in http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin to learn all about Jetty-Mavin

Re: newbie Quick Start question

2008-02-26 Thread Igor Vaynberg
you can always add an rfe... -igor On Tue, Feb 26, 2008 at 10:46 AM, Tina A [EMAIL PROTECTED] wrote: You need to set the 'scanIntervalSeconds' parameter for the Jetty Maven plugin in the pom.xml. The QuickStart archetype generated pom.xml does not have this paremeter set so it is off by

Re: Create a ResourceReference to an image

2008-02-26 Thread Juan Gabriel Arias
Thats was my first attempt. But i'm using Label/Link IconPanel, in LinkTree. And these methods use ResourceRefence. protected ResourceReference getResourceFolderClosed(TreeNode node) {...} protected ResourceReference getResourceFolderOpen(TreeNode node) {...} protected ResourceReference

Re: CompoundModel based on proxies

2008-02-26 Thread James Carman
Well, if you wait a bit until I do another release of Commons Proxy, it'll have that feature built in. Also, you could use Javassist if you wanted to very easily. On 2/26/08, Igor Vaynberg [EMAIL PROTECTED] wrote: not really sure. but this is how it would work. proxies in cglib take

Re: CompoundModel based on proxies

2008-02-26 Thread Sam Barnum
IntelliJ does a good job of locating String usages of property names when you refactor a property name, which is nice. Not sure if Eclipse/Netbeans do this also. If you use CompoundPropertyModels then wouldn't refactoring your business objects will still silently break code? It seems

Re: How to create a RFE?

2008-02-26 Thread Robby O'Connor
post it here: http://issues.apache.org/jira/browse/ Tina A wrote: May I ask? _ Need to know the score, the latest news, or you need your HotmailĀ®-get your fix. http://www.msnmobilefix.com/Default.aspx

Re: Create a ResourceReference to an image

2008-02-26 Thread Igor Vaynberg
you will have to roll your own IconPanel that maybe just takes urls to these resources... -igor On Tue, Feb 26, 2008 at 10:52 AM, Juan Gabriel Arias [EMAIL PROTECTED] wrote: Thats was my first attempt. But i'm using Label/Link IconPanel, in LinkTree. And these methods use ResourceRefence.

Re: How to create a RFE?

2008-02-26 Thread Robby O'Connor
Either of the following: http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truemode=hidepid=12310561sorter/order=DESCsorter/field=priorityresolution=-1component=12311426 or

Re: Create a ResourceReference to an image

2008-02-26 Thread Juan Gabriel Arias
Thanks!

Re: CompoundModel based on proxies

2008-02-26 Thread James Carman
On 2/26/08, Igor Vaynberg [EMAIL PROTECTED] wrote: looking at commons-proxy we just need an invoker proxy. if you can do the caching behind the scenes for us that would be great. not sure what the code uses right now, cglib directly or something else. Commons Proxy allows you to swap out

Re: CompoundModel based on proxies

2008-02-26 Thread Igor Vaynberg
looking at commons-proxy we just need an invoker proxy. if you can do the caching behind the scenes for us that would be great. not sure what the code uses right now, cglib directly or something else. -igor On Tue, Feb 26, 2008 at 10:53 AM, James Carman [EMAIL PROTECTED] wrote: Well, if you

How to create a RFE?

2008-02-26 Thread Tina A
May I ask? _ Need to know the score, the latest news, or you need your HotmailĀ®-get your fix. http://www.msnmobilefix.com/Default.aspx

Re: CompoundModel based on proxies

2008-02-26 Thread Scott Swank
I'm working on a non-trivial app that uses this model (we submitted it), and I like it. :) On Tue, Feb 26, 2008 at 11:00 AM, Sam Barnum [EMAIL PROTECTED] wrote: IntelliJ does a good job of locating String usages of property names when you refactor a property name, which is nice. Not sure if

RE: Wicket-FBML Released

2008-02-26 Thread Dan Kaplan
There is no maven repo (I don't know how to use maven [yet]). This library is probably like step 3 of process to making a facebook app. To really get started, you should start here: http://wiki.developers.facebook.com/index.php/Creating_your_first_applicatio n From there, you may want to read

Re: Wicket-FBML Released

2008-02-26 Thread Robby O'Connor
Good job! Dan Kaplan wrote: There is no maven repo (I don't know how to use maven [yet]). This library is probably like step 3 of process to making a facebook app. To really get started, you should start here: http://wiki.developers.facebook.com/index.php/Creating_your_first_applicatio n

Re: Wicket-FBML Released

2008-02-26 Thread Robby O'Connor
For those of you who want a direct link: http://sourceforge.net/projects/wicket-fbml Dan Kaplan wrote: There is no maven repo (I don't know how to use maven [yet]). This library is probably like step 3 of process to making a facebook app. To really get started, you should start here:

Multiple wicket:message attributes?

2008-02-26 Thread Gustavo Hexsel
Hi all! in one of these let's check what's happening around I resolved to check back on Wicket and see what's going on. So I was playing around with the functionality I hadn't used before (as usual by translating a page or two of my current project, to try to convince management we should

Re: AutoCompleteTextField user selection

2008-02-26 Thread Bushby
I have a panel which is backed by an over all CompoundPropertyModel. It has an inner panel which is my search panel and Labels. Here is the search panel code. public class SearchPatientPanel extends Panel { private static final long serialVersionUID = 8413569236371190758L;

focusComponent

2008-02-26 Thread NateBot20002
Hi: I'm trying to use AjaxRequestTarget.focusComponent(Component) to set the focus in a form that is returned by Ajax. Like as in, I want the little blinking cursor to be set in the form field I indicate. Am I misunderstanding what focusComponent does? In Wicket Ajax debug I'm seeing what

get Form information after submit

2008-02-26 Thread taygolf
ok I know I am missing something simple but I do not know what. I have a form with a CompoundPropertyModel. I am creating several textfields using panels so it is all on the fly and can be created from a query. Anyway I now want to submit my form and get the values in the Post page but I am not

Re: Multiple wicket:message attributes?

2008-02-26 Thread Igor Vaynberg
i think the format is attr1:value1,attr2:value2 (separated by commas not spaces) -igor On Tue, Feb 26, 2008 at 11:45 AM, Gustavo Hexsel [EMAIL PROTECTED] wrote: Hi all! in one of these let's check what's happening around I resolved to check back on Wicket and see what's going on. So I

Re: get Form information after submit

2008-02-26 Thread Igor Vaynberg
when a form is posted all the values the user entered are pushed into the model. i suggest you read the models page on the wiki and look at forminput example. in wicket you do not have a post page, the form submits to itself... -igor On Tue, Feb 26, 2008 at 12:52 PM, taygolf [EMAIL PROTECTED]

Groovy Wicket Builder

2008-02-26 Thread Ned Collyer
I'm wondering if this thing has been abandoned. It looked very promising, and I love the trimmed down syntax of the builder. as shown here: http://wicketstuff.org/confluence/display/STUFFWIKI/WicketBuilder -- View this message in context:

Re: DatePicker creates lots of duplicate javascript

2008-02-26 Thread Gerolf Seitz
Hi Harro, the javascript is for 2 things. 1) dynamic loading of yui libraries. 2) configuration for the datepicker, because you can have datepickers with different configuration on one page. however, if you find a better way, please submit a patch to jira. cheers, Gerolf On Tue, Feb 26, 2008

OT: Java and Business Entrepreneur

2008-02-26 Thread Joe Toth
We are a start-up with an innovative advertising platform looking for a Java expert with great business sense and knowledge of Internet Advertising to round out the team. This person should have experience with large enterprise Java web applications and the ability to think creatively and

Re: Outdated Javadoc referenced on wicket.apache.org

2008-02-26 Thread Igor Vaynberg
please add a jira issue -igor On Tue, Feb 26, 2008 at 2:53 AM, Jay Hogan [EMAIL PROTECTED] wrote: Any chance someone can updated the javadoc referenced on the Wicket homepage? It is currently showing a 1.3.0 snapshot. Cheers, Jay

Re: Strange Exception

2008-02-26 Thread Igor Vaynberg
are you using class reloading filter? -igor On Sun, Feb 24, 2008 at 7:57 AM, Anders Peterson [EMAIL PROTECTED] wrote: Hi, I (sometimes) get a strange Exception. You can see the stacktrace in the attached file. The problem appears (sometimes) when I submit a form. Just displaying

Frames with Tree component

2008-02-26 Thread k1dev
Hi! I have a web application that required to use frames. It should display different frames depending on tree node clicks. To achieve this I took the Frames example from wicket examples and added a Tree component to the left frame of it and tried to change the right panel depending on clicked

AjaxFormValidatingBehavior on a form with a fileuploadfield crashes

2008-02-26 Thread Dan Kaplan
Hello, If I use: AjaxFormValidatingBehavior.addToAllFormComponents(form, onblur); On a form that has a fileuploadfield, it throws an exception when I blur another field. Is there a work around/solution to this (for now, I'd be happy to only validate the one field I want)? Here is the stack

datepicker and inmethod

2008-02-26 Thread madx
Error: lang.later is not a function Source File: http://localhost:8080/dsc/dsc/resources/org.apache.wicket.extensions.yui.YuiLib/yuiloader-beta.js Line: 1270 I am getting this error when i have a textfield with datepicker and sortable inmethod grid on the same page. I am not able to see the

Re: Outdated Javadoc referenced on wicket.apache.org

2008-02-26 Thread Kevin Murphy
Igor Vaynberg wrote: please add a jira issue It's already in there (WICKET-1333 https://issues.apache.org/jira/browse/WICKET-1333). It has been an unassigned issue in Jira from Feb 10, 2008. -Kevin Murphy -igor On Tue, Feb 26, 2008 at 2:53 AM, Jay Hogan [EMAIL PROTECTED] wrote:

Re: Frames with Tree component

2008-02-26 Thread Igor Vaynberg
easiest way is to probably use ajax links and in onclick do taget.appendjavascript(window.parent.rightframe.location=+urltobookmarkablepage); second easiest is to override newclick and replace it with a bookmarkable link, and append the target dir like you were doing. make sure the bookmarkable

Re: Outdated Javadoc referenced on wicket.apache.org

2008-02-26 Thread Igor Vaynberg
and now its assigned...most of the core team is away on holiday... -igor On Tue, Feb 26, 2008 at 5:33 PM, Kevin Murphy [EMAIL PROTECTED] wrote: Igor Vaynberg wrote: please add a jira issue It's already in there (WICKET-1333 https://issues.apache.org/jira/browse/WICKET-1333). It

Re: Outdated Javadoc referenced on wicket.apache.org

2008-02-26 Thread Kevin Murphy
Igor Vaynberg wrote: and now its assigned...most of the core team is away on holiday... On the same theme of Wicket web presence needs some work, I just created jira ticket 1375: wicket.sourceforge.net/wicket-quickstart is totally obsolete and too easily found in search engines. The

Re: Outdated Javadoc referenced on wicket.apache.org

2008-02-26 Thread Gerolf Seitz
can we remove the old website? or do we still need it for the 1.2.x releases? Gerolf On Wed, Feb 27, 2008 at 2:47 AM, Kevin Murphy [EMAIL PROTECTED] wrote: Igor Vaynberg wrote: and now its assigned...most of the core team is away on holiday... On the same theme of Wicket web presence

Re: Outdated Javadoc referenced on wicket.apache.org

2008-02-26 Thread Ryan Sonnek
+1 for complete removal... sf.net will always serve up the binaries, but no need leaving the rest of the entrails lying around. On Tue, Feb 26, 2008 at 7:55 PM, Gerolf Seitz [EMAIL PROTECTED] wrote: can we remove the old website? or do we still need it for the 1.2.x releases? Gerolf On

Re: Outdated Javadoc referenced on wicket.apache.org

2008-02-26 Thread Martijn Dashorst
These sites are there for archive reasons. -1000 for removing them Martijn On 2/27/08, Ryan Sonnek [EMAIL PROTECTED] wrote: +1 for complete removal... sf.net will always serve up the binaries, but no need leaving the rest of the entrails lying around. On Tue, Feb 26, 2008 at 7:55 PM,

Re: CompoundModel based on proxies

2008-02-26 Thread Johan Compagner
Yes i would like to have something like commons proxy because i dont want if possible a direct dependency on cglib. It would be coool that we have a default impl that is based on jdk itself (so only interface support). Then drop in cglib and you have support for also classes On 2/26/08, James

Re: CompoundModel based on proxies

2008-02-26 Thread Johan Compagner
We dont serialize the expression builder see detach On 2/26/08, Scott Swank [EMAIL PROTECTED] wrote: I just added a relevant note about serialization (learned the hard way...) to the jira. - Scott On Tue, Feb 26, 2008 at 3:18 AM, Matej Knopp [EMAIL PROTECTED] wrote: We've reworked the

Re: Update listView at onSubmit without using Ajax?

2008-02-26 Thread Igor Vaynberg
actually reloading of the listview and all other components on that page happens automatically if you do not call setresponsepage in onsubmit. your listview model is probably caching the old list, and thus when it redraws you dont see the new items. paste your code and we can help you more. -igor

Re: Outdated Javadoc referenced on wicket.apache.org

2008-02-26 Thread Igor Vaynberg
can we at least have a fat banner across the top that points to apache.wicket.org saying the project has moved? -igor On Tue, Feb 26, 2008 at 7:43 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: These sites are there for archive reasons. -1000 for removing them Martijn On 2/27/08,

Update listView at onSubmit without using Ajax?

2008-02-26 Thread Martin Makundi
Hi! Is it possible to refresh a listView during a form onSubmit event, without using ajax? Is there any way (apart from ajax) to do it than by explicitly reloading the page? If I reload the page I must store the feedback messages elsewhere (session-scope feedback messages) and re-initialize all

Re: Update listView at onSubmit without using Ajax?

2008-02-26 Thread Igor Vaynberg
try ListView l = new ListVIew(.., new propertymodel(this, listViewElements)); -igor On Tue, Feb 26, 2008 at 9:41 PM, Martin Makundi [EMAIL PROTECTED] wrote: your listview model is probably caching the old list, and thus when it redraws you dont see the new items. paste your code and

Re: Update listView at onSubmit without using Ajax?

2008-02-26 Thread Martin Makundi
your listview model is probably caching the old list, and thus when it redraws you dont see the new items. paste your code and we can help you more. This is exactly what is happening. The listView is populated at the Page constructor. If the page is reloaded after onSubmit, the constructor

Re: Update listView at onSubmit without using Ajax?

2008-02-26 Thread Martin Makundi
Ok. Please ignore the delete button for now. The problem is adding elements at the Form onSubmit event. This works only if the listView is not empty to begin with. If it is empty to begin with, the new elements will not appear. If it is populated with 1 item in the beginning, adding items will

Re: Update listView at onSubmit without using Ajax?

2008-02-26 Thread Martin Makundi
Funny. This works only if: a) the listView is embedded in a Form component. (I would think it can be independent) b) the listView is not empty to begin with. If it is empty to begin with, the new elements will not appear. If it is populated with 1 item in the beginning, adding items will work

Re: Update listView at onSubmit without using Ajax?

2008-02-26 Thread Igor Vaynberg
ListView l = new ListVIew(.., new PropertyModel(this, listViewElements)); listViewElements should be in quotes as per my earlier suggestion... -igor On Tue, Feb 26, 2008 at 10:19 PM, Martin Makundi [EMAIL PROTECTED] wrote: Funny. This works only if: a) the listView is embedded in a Form

Re: Update listView at onSubmit without using Ajax?

2008-02-26 Thread Martin Makundi
It pretty much takes just that copy pasted code and the populateItem below. Here is also the HTML: protected void populateItem(final ListItem item) { CustomElement custel = (CustomElement) item.getModelObject(); item.add(new Label(START_DATE, new Model(dummy)));

Re: Update listView at onSubmit without using Ajax?

2008-02-26 Thread Igor Vaynberg
create a quickstart and i can take a look -igor On Tue, Feb 26, 2008 at 10:19 PM, Martin Makundi [EMAIL PROTECTED] wrote: Funny. This works only if: a) the listView is embedded in a Form component. (I would think it can be independent) b) the listView is not empty to begin with. If it is

Re: Update listView at onSubmit without using Ajax?

2008-02-26 Thread Igor Vaynberg
since you are using a button the listview has to be inside a form also, Button bb = new Button(DEL) { public void onSubmit() { super.onSubmit(); // this is wrong, you should remove the item from the list and let the listview refresh rather then removing the wicket