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 unsubscr
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
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
wrote:
> 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.
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"
To: users@wicket.apache.org
Sent: Wednesday, 4 August, 2010 9:19:46 PM
Subject: Model object str
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.
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.
-
Cool ;)
2010/8/4 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 th
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
Maybe we ned yet another overrideable encodeURLAccordingToServletSpec method.
**
Martin
2010/8/4 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 We
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
wrote:
> Like a sledgehammer ;)
>
> But yes, so it's a bug in wicket "framework des
Like a sledgehammer ;)
But yes, so it's a bug in wicket "framework design".
**
Martin
2010/8/4 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)
>>
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
element not found.
Log from Ajax wicket log window:
focus set on btnAddb0
INFO: Using ActiveX transport
INFO:
INFO: Ini
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:
http://apache
are those validator messages?
-igor
On Wed, Aug 4, 2010 at 2:25 AM, Michael Strecker
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, and so on. I'd also like
On Wed, Aug 4, 2010 at 1:00 AM, Joseph Pachod 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.
>
> Fo
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
Hi!
I worked around like this:
((org.mortbay.jetty.Request) ((WebRequest)
RequestCycle.get().getRequest()).getHttpServletRequest()).setSessionManager(null);
**
Martin
2010/8/4 Don Ferguson :
> Hi Martin,
> Yes, I've encountered this. I think it's a bug in WebResponse. The culprit
> is th
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
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 dup
Congrats Martin !
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
wrote:
> Hi John,
>
> Thanks for your interest in contributing!
>
> Regrading your question. It all depends on if
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(
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 www.e
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 ques
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();
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 use
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 wrote:
> Hi
>
> I did read the link and from which i went about modifying the Model. I have
> limited us
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?
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 use
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
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
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;
}
pub
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 FormComponent
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
why not? convertinput() will cascade down to all components that need them.
-igor
On Wed, Aug 4, 2010 at 12:03 AM, Joseph Pachod wrote:
> Igor Vaynberg wrote:
>>
>> visit all the children, check if they are a FormComponent and call
>> convertinput() followed by getconvertedinput()
>>
>> -igor
>>
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 each
36 matches
Mail list logo