Re: FormComponentPanel and list edit

2010-08-04 Thread Joseph Pachod
Igor Vaynberg wrote: visit all the children, check if they are a FormComponent and call convertinput() followed by getconvertedinput() -igor hi thanks igor we thought of that, but the issue is that we need to handle the getconvertedinput For example, if I've a ContactListEdit, with

Re: FormComponentPanel and list edit

2010-08-04 Thread Igor Vaynberg
why not? convertinput() will cascade down to all components that need them. -igor On Wed, Aug 4, 2010 at 12:03 AM, Joseph Pachod j...@thomas-daily.de wrote: Igor Vaynberg wrote: visit all the children, check if they are a FormComponent and call convertinput() followed by getconvertedinput()

Re: wiQuery grid row expander

2010-08-04 Thread Ernesto Reinaldo Barreiro
Hi John, Thanks for your interest in contributing! Regrading your question. It all depends on if it is a small plugin or a big one. For smaller plugins I'm just placing them on [1]. If the plugin is big them maybe it would be better to create a new sub-project under wiquery-plugins. What is this

Re: FormComponentPanel and list edit

2010-08-04 Thread Joseph Pachod
Igor Vaynberg wrote: why not? convertinput() will cascade down to all components that need them. -igor I feel like the issue is not with the components in the list item, but with the wrapper around the list item. For example (pseudo code): public class ContactListEdit extends

Re: Model Is Not being Refreshed

2010-08-04 Thread Nivedan Nadaraj
After a long battle..i have progressed an inch forward! The StudyModel that implements IModel seemed to have the problem. I did not set the object in setObject...after modifying it in the following way..the Refresh button works. public Object getObject() { return this; }

Re: Model Is Not being Refreshed

2010-08-04 Thread avrahamr
I think attachments are not good in the list, so we didn't get your code. I'm not following the way you are mixing Model with the Object and I recommend reading: https://cwiki.apache.org/WICKET/working-with-wicket-models.html The StudyModel should be something like this: public class StudyModel

Wicket adds jsessionid to redirect onto external page

2010-08-04 Thread Martin Makundi
Hi! I am doing something wrong? I am using: getResponse().redirect(getParameterFromRequest(RETURN_PAGE)); But the URL contains jsessionid. I think this is wrong because the target server does not understand the jsessiond and it returns 404 page not found. ** Martin

.properties in conjunction with ListView

2010-08-04 Thread Michael Strecker
Hello list, I'm currently working on a page which contains a ListView of several items from a database. Naturally, the hierarchy of the DOM is form.1.item, form.2.item, and so on. I'd also like to use .properties, so I can use il8n and have customized messages. The question is, how can I make

Re: Model Is Not being Refreshed

2010-08-04 Thread Nivedan Nadaraj
Hi I did read the link and from which i went about modifying the Model. I have limited usage of generics in the code. Would be great to utilise it the way it is supposed to be. I am using 1.4.x version of wicket. Did u want me to send you the code to your email id if the attachment are not good?

Re: Model Is Not being Refreshed

2010-08-04 Thread Nivedan Nadaraj
Hi, Re-attached the file as a .txt file. My apologies. I will read up again on the link for Models and re-visit it. . Thanks for the time Niv On Wed, Aug 4, 2010 at 5:43 PM, Nivedan Nadaraj shravann...@gmail.comwrote: Hi I did read the link and from which i went about modifying the Model.

.properties in conjunction with ListView

2010-08-04 Thread Michael Strecker
Hello list, I'm currently working on a page which contains a ListView of several items from a database. Naturally, the hierarchy of the DOM is form.1.item, form.2.item, and so on. I'd also like to use .properties, so I can use il8n and have customized messages. The question is, how can I make

Roles.clone

2010-08-04 Thread Josef
Hello. Quite new to the wicket world, and reading through code on some projects. So , excuse me for some beginners question farther on. One thing i can't find is why would anyone do a clone like: @Override public Roles getRoles() { return (Roles) roles.clone();

Re: Roles.clone

2010-08-04 Thread Peter Ertl
getRoles() is considered to access the roles read-only so the caller only gets a non-critical copy of the internal roles collection. Am 04.08.2010 um 13:39 schrieb Josef: Hello. Quite new to the wicket world, and reading through code on some projects. So , excuse me for some beginners

Localization

2010-08-04 Thread Laurentiu Trica
Hello, I followed the https://cwiki.apache.org/confluence/display/WICKET/Wicket+and+localized+URLstutorial. I have a problem with an url like this: www.example.com/a?t=token When I access that link, the url becomes: www.example.com/en/a and the link is not accessible. If I force the URL to

RE: Form model update with ajax using AutoCompleteTextField

2010-08-04 Thread armandoxxx
Hey I use this auto-complete field as a searcher to fill my list view I used the same class but I have a little problem with it ... I don't understand where to call method findChoice() so I added behavior to this search field like this: this.autocompleteSearchField.add(

Re: wiQuery grid row expander

2010-08-04 Thread John Armstrong
Sounds good. I am building small plugins right now so I'll go through the plugins project. Just joined the group. Tx! John- On Wed, Aug 4, 2010 at 12:23 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi John, Thanks for your interest in contributing! Regrading your question. It all

Re: Welcome Martin Grigorov as a core team member

2010-08-04 Thread Istvan Jozsa
Congrats Martin !

Re: Wicket adds jsessionid to redirect onto external page

2010-08-04 Thread Don Ferguson
Hi Martin,Yes, I've encountered this. I think it's a bug in WebResponse. The culprit is the line: url = httpServletResponse.encodeRedirectURL(url);The url should only be encoded when redirecting to the originating site, but the code doesn't check.One workaround (short of fixing the bug) is to

wicket super-components

2010-08-04 Thread Alex Rass
Hi. Are there any resources on finding larger components? Wicket is SUCH a fantastic architecture for plugin functionality, I am wondering if there is a place to find components like IMAP Email Access Components. Or an FTP Client component etc. Or would that be Wicket-Stuff? (and if it's not

Re: Wicket adds jsessionid to redirect onto external page

2010-08-04 Thread Martin Makundi
Hi! I worked around like this: ((org.mortbay.jetty.Request) ((WebRequest) RequestCycle.get().getRequest()).getHttpServletRequest()).setSessionManager(null); ** Martin 2010/8/4 Don Ferguson don.fergu...@gmail.com: Hi Martin, Yes, I've encountered this.  I think it's a bug in WebResponse.

Re: Wicket adds jsessionid to redirect onto external page

2010-08-04 Thread Don Ferguson
Ah, much better than my approach. On Aug 4, 2010, at 8:25 AM, Martin Makundi wrote: Hi! I worked around like this: ((org.mortbay.jetty.Request) ((WebRequest) RequestCycle.get().getRequest()).getHttpServletRequest()).setSessionManager(null); ** Martin 2010/8/4 Don Ferguson

Re: FormComponentPanel and list edit

2010-08-04 Thread Igor Vaynberg
On Wed, Aug 4, 2010 at 1:00 AM, Joseph Pachod j...@thomas-daily.de wrote: Igor Vaynberg wrote: why not? convertinput() will cascade down to all components that need them. -igor I feel like the issue is not with the components in the list item, but with the wrapper around the list item.

Re: .properties in conjunction with ListView

2010-08-04 Thread Igor Vaynberg
are those validator messages? -igor On Wed, Aug 4, 2010 at 2:25 AM, Michael Strecker michael.strec...@travelviva.de wrote: Hello list, I'm currently working on a page which contains a ListView of several items from a database. Naturally, the hierarchy of the DOM is form.1.item, form.2.item,

Re: How to send a Java object to the ModalWindow

2010-08-04 Thread zoran
Thanks Martin, modalwindowcontent.setpropervalue(xx); That's what I have tried first, but for some reason it didn't worked than so I started to work on some other more complex solution. Now I turned again to this simple idea and it works. Zoran -- View this message in context:

Ajax - response

2010-08-04 Thread Gurpreet.Singh
Hi all, I am getting strange kind of problem and need some expert advice to solve this problem. Below response/code works perfectly fine in Firefox but in IE I am getting ajax-response element not found. Log from Ajax wicket log window: focus set on btnAddb0 INFO: Using ActiveX transport

Re: Wicket adds jsessionid to redirect onto external page

2010-08-04 Thread Martin Makundi
Like a sledgehammer ;) But yes, so it's a bug in wicket framework design. ** Martin 2010/8/4 Don Ferguson don.fergu...@gmail.com: Ah, much better than my approach. On Aug 4, 2010, at 8:25 AM, Martin Makundi wrote: Hi! I worked around like this:    ((org.mortbay.jetty.Request)

Re: Wicket adds jsessionid to redirect onto external page

2010-08-04 Thread Igor Vaynberg
afair the servlet spec says all urls have to be passed through that method and thats what we do. if its not working the problem is with the servlet container. -igor On Wed, Aug 4, 2010 at 10:39 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Like a sledgehammer ;) But yes, so

Re: Wicket adds jsessionid to redirect onto external page

2010-08-04 Thread Martin Makundi
Maybe we ned yet another overrideable encodeURLAccordingToServletSpec method. ** Martin 2010/8/4 Igor Vaynberg igor.vaynb...@gmail.com: afair the servlet spec says all urls have to be passed through that method and thats what we do. if its not working the problem is with the servlet

Re: Wicket adds jsessionid to redirect onto external page

2010-08-04 Thread Don Ferguson
Right, it's really a jetty bug, and looks like it was fixed recently: http://dev.eclipse.org/mhonarc/lists/jetty-commit/msg01598.html On Aug 4, 2010, at 10:46 AM, Igor Vaynberg wrote: afair the servlet spec says all urls have to be passed through that method and thats what we do. if its not

Re: Wicket adds jsessionid to redirect onto external page

2010-08-04 Thread Martin Makundi
Cool ;) 2010/8/4 Don Ferguson don.fergu...@gmail.com: Right, it's really a jetty bug, and looks like it was fixed recently: http://dev.eclipse.org/mhonarc/lists/jetty-commit/msg01598.html On Aug 4, 2010, at 10:46 AM, Igor Vaynberg wrote: afair the servlet spec says all urls have to be

Re: Roles.clone

2010-08-04 Thread northar
Aha, so thats why they do the .clone.Thanks for the answer -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Roles-clone-tp2313319p2313988.html Sent from the Wicket - User mailing list archive at Nabble.com.

Model object string manipulation

2010-08-04 Thread Iain Reddick
What's the cleanest way of doing string manipulation with a component that uses a String as a model (e.g. a Label). I'm thinking of mutations such as to uppercase and to lowercase, etc. An obvious place is to do it in the model, but I'm interested to hear what other developer's approaches are.

Re: Model object string manipulation

2010-08-04 Thread Iain Reddick
To elaborate a bit - I'm talking about one off situations and also re-usable solutions, such as the aforementioned to upper and to lower cases. - Original Message - From: Iain Reddick iain.redd...@beatsystems.com To: users@wicket.apache.org Sent: Wednesday, 4 August, 2010 9:19:46 PM

Re: Model object string manipulation

2010-08-04 Thread Igor Vaynberg
for reusable situations, or even one off, you can write a simple decorator model -igor On Wed, Aug 4, 2010 at 1:27 PM, Iain Reddick iain.redd...@beatsystems.com wrote: To elaborate a bit - I'm talking about one off situations and also re-usable solutions, such as the aforementioned to upper

Re: Model object string manipulation

2010-08-04 Thread Iain Reddick
Thanks Igor - that's the approach that I would automatically take. My question was really related to explaining to developers from an MVC background what the process is for getting data from somewhere to the view. Nested models as a data tranformation pipeline is the mental model I was going

Re: Form Component Border - on Submit

2010-08-04 Thread cresc
Thanks it worked.. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Form-Component-Border-on-Submit-tp2310342p2314362.html Sent from the Wicket - User mailing list archive at Nabble.com. - To