How can I elegantly put a feedback panel per form field
eg,
Email address is required
Email: [__]
This is not a valid phone number
Phone: [asfafadsfafa]
This seems like a common scenario, but it seems rather verbose to implement.
What should I extend to enable this? A form? A text
i suppose you can make a behavior that will print out the messages
just like feedbackpanel does now. that is probably the least verbose
way to do it:
add(new textfield(tf,model).add(new feedbackbehavior());
-igor
On Wed, Mar 19, 2008 at 11:04 PM, Ned Collyer [EMAIL PROTECTED] wrote:
How can
Hello wicketeers,
I have sectors which contains subsectors. subsectors contains the selected
as boolean and name of subsector. When a sector is selected, I need to
display the list of sub sectors and the check box checked/unchecked
according to it stored in database. I did this as the code
Create a new component as a subclass of the component in question
(Label). In the constructor you call setEscape...(false). From then on,
only use the new subclass.
But before you do so, read the other responses :)
Regards,
Erik.
Marco Aurélio Silva schreef:
Hi all
Is there a way to set
Try item.add(new CheckBox(checkbox, new
PropertyModel(item.getModel(),selected)));
Also data.setReuseItem(true) might help.
Maurice
On Thu, Mar 20, 2008 at 7:30 AM, tsuresh [EMAIL PROTECTED] wrote:
Hello wicketeers,
I have sectors which contains subsectors. subsectors contains the selected
Hello,
I've searched the web and I see there are a lot of hits for what I'm looking
for but I cannot quite pinpoint the perfect solution (easiest) for this
simple thing.
What I need is to be able to extend a base page and put into some places
some extra panels. I designed the places in the base
you can provide factory methods in your base page like
protected abstract Component newHeader(String id, IModel model);
in the constructor of base page do:
add(newHeader(header, someModelOrNull));
and just override/implement the factory method in your concrete page
classes.
hth,
Gerolf
On
This is planned for the next release (not the genrerics only release
if that will be the 1.4)
On 3/20/08, Cristi Manole [EMAIL PROTECTED] wrote:
Hello,
I've searched the web and I see there are a lot of hits for what I'm looking
for but I cannot quite pinpoint the perfect solution (easiest)
Gerolf Seitz wrote:
you can provide factory methods in your base page like
protected abstract Component newHeader(String id, IModel model);
in the constructor of base page do:
add(newHeader(header, someModelOrNull));
and just override/implement the factory method in your concrete page
i agree with you. i had to fight similar problems and came up with
similar (ugly) work arounds.
let's see how the post-1.4 solution works out ;)
Gerolf
On Thu, Mar 20, 2008 at 10:12 AM, Sebastiaan van Erk [EMAIL PROTECTED]
wrote:
Gerolf Seitz wrote:
you can provide factory methods in your
the workaround is quiet easy
class mypage extends webpage {
onbeforerender() {
if (get(panel1)==null) {
add(newPanel1(panel1));
}
super.onbeforerender();
}
}
-igor
On Thu, Mar 20, 2008 at 2:12 AM, Sebastiaan van Erk [EMAIL PROTECTED] wrote:
Gerolf Seitz wrote:
but is a bit against our coding styles by creating the page in the
constructor
But i agree that works for now.
But multiple childs support would be very nice to have if it is just a
simple add on to the current way of doing.
But first lets i guess bring out 1.4 generics... (if i counted the votes
Yes, Johan told me about that one. :-)
But I really think that's quite ugly too... :( I really don't want to
add hooks to do something that is just regular initialization of the
component hierarchy of the page... And whenever possible I think my
other work around is at least more intuitive...
Hi,
I have a bookmarkable page with a single param, something like
domain/item/id/1. Now, to edit the item, the user has to login or
register first. After doing so, either using the login form on the
same page or using the register form on a different page, the user
must land on exactly the same
Hello,
I have question about generated urls e.g. in examples on
http://wicketstuff.org/wicket13/niceurl/the/homepage/path we have
really nice urls, but they are realtive:
a href=../../my/mounted/package/Page4/
is there posiible to make them:
a href=/my/mounted/package/Page4/
without ../../ but
Thanks for the helpful link, Martijn. For the sake of completeness,
here's
what I have ended up with:
ListString PagerSizesList = Arrays.asList(25, 50, 100);
ValueMap parameters = // ...
parameters.put(search-page-size, PagerSizesList.get(0));
form.setModel(new
Hello,
I just upgraded to 1.3.2 from 1.3.1.
Also, i don't know if it makes a difference, spring from 2.0.6 to 2.5.2.
Now, when i try to display a modal window just like I used to, it fails.
All the code I modified is for the constructor of the authwebsess which got
depricated
public
problem with proposed solution is that the number of TR are dynamically created
in DataView (below selectionRows)
table
tr wicket:id=selectionRows
tdspan wicket:id=username[Username]/span/td
tdinput wicket:id=choice1 type=radio //td
tdinput wicket:id=choice2 type=radio//td
Hello everybody,
I'm trying to get selection change notifications with the palette
component (I need a notification each time a user click on an item in
the palette). I saw that I need to attach an ajax behavior to the
recorder component of the palette. But I tried several ways of doing
throw new RestartResponseAtInterceptPageException(LoginPage.class);
Martijn
On 3/20/08, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Hi,
I have a bookmarkable page with a single param, something like
domain/item/id/1. Now, to edit the item, the user has to login or
register first. After doing
Thank you all.
Works like a charm.
Regards,
Marko
--
View this message in context:
http://www.nabble.com/Insert-dynamic-external-HTML-string-in-a-page-tp16141336p16177878.html
Sent from the Wicket - User mailing list archive at Nabble.com.
Thanks Martijn. I gave that a try:
add(new Link(register) {
@Override public void onClick() {
throw new
RestartResponseAtInterceptPageException(Register.class);
}
@Override
public boolean isVisible() {
return
Try the following:
if (!continueToOriginalDestination()) {
setResponsePage(getApplication().getHomePage());
}
-Original Message-
From: Jörn Zaefferer [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 9:13 AM
To: users@wicket.apache.org
Subject: Re: Mounting and
onclick doesn't work either.
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 1:56 AM
To: users@wicket.apache.org
Subject: Re: Problem with using RadioGorup and AjaxEventBehavior in a
FormComponentPanel
also, for what its worth, onclick
I developed small wicket application. It is address book kind of application
and it has add new contact , edit, delete button. I deployed it in JBoss
4.0. It works good in FireFox but in IE when I click on any button it is not
able find the page. Please see the attached screen shot so you have
When throwing the Restart... exception,
continueToOriginalDestination() yields false.
On Thu, Mar 20, 2008 at 2:17 PM, Hoover, William [EMAIL PROTECTED] wrote:
Try the following:
if (!continueToOriginalDestination()) {
setResponsePage(getApplication().getHomePage());
}
Ok, I noticed when I use AjaxFormComponentUpdatingBehavior, no JavaScript gets
added to radio buttons.
-Original Message-
From: Zhubin Salehi [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 9:18 AM
To: users@wicket.apache.org
Subject: RE: Problem with using RadioGorup and
Hi everyone,
Is there any wicket markup reference? Is it documented?
Vitaly
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
There is a patch to RadioGroup in JIRA
(http://issues.apache.org/jira/browse/WICKET-1055) that allows for this
type of scenario to be handled.
It defines some methods to programatically define which Radio's are part
of a RadioGroup.
Alternately you could could try something like:
table
I suppose I need to learn more about how Spring support is implemented in
Wicket. My thinking was that the injected property would simply get set to
null. Then the getter for that injected property can perform a null check and
lazily initialize it with a default type if necessary:
Do you mean http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html?
Regards,
Erik.
Vitaly Tsaplin schreef:
Hi everyone,
Is there any wicket markup reference? Is it documented?
Vitaly
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
Wow! Exactly. Thanks Erik.
On Thu, Mar 20, 2008 at 2:56 PM, Erik van Oosten [EMAIL PROTECTED] wrote:
Do you mean http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html?
Regards,
Erik.
Vitaly Tsaplin schreef:
Hi everyone,
Is there any wicket markup reference? Is it
Spring support in Wicket works with proxies, so your services are not
Serialized by Wicket, but your Proxy is. With your suggestion your Service
will be Serialized and with it all its dependencies like DAO's etc. This
will most likely cause trouble when you are in a clustered environment and
use
Thanks for the explanation, that makes perfect sense.
From: lars vonk [mailto:[EMAIL PROTECTED]
Sent: Thu 3/20/2008 10:16 AM
To: users@wicket.apache.org
Subject: Re: Suggested Enhancement To Spring Support
Spring support in Wicket works with proxies, so your
Take a look at the Forms with Flair example at http://londonwicket.org/
-Craig
Ned Collyer wrote:
How can I elegantly put a feedback panel per form field
eg,
Email address is required
Email: [__]
This is not a valid phone number
Phone: [asfafadsfafa]
This seems like a
Could you provide the code for your SortableUserDataProvider, please?
Greg Dunn-3 wrote:
My debugging indicates my
SortableDataProvider is always getting a 0 for the 'first' parameter.
Any ideas why this would happen?
--
View this message in context:
Sorry, here it is:
NB: I'm using Spring and iBatis. iBatis *is* returning the expected
records based on what is getting passed to my DAO's (first 0, count 10).
public class SortableUserDataProvider extends SortableDataProvider {
List users;
Integer gwCmpnyId;
public
Thanks Craig,
Perfect.
Super perfect :)
mnwicket wrote:
Take a look at the Forms with Flair example at http://londonwicket.org/
-Craig
--
View this message in context:
http://www.nabble.com/How-do-I-elegantly-put-feedback-per-form-field--tp16172288p16181115.html
Sent from the
Has anyone noticed that there are many missing classes in
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/index.html
Or am I missing something?
--
Eyal Golan
[EMAIL PROTECTED]
Visit: http://jvdrums.sourceforge.net/
you are worried about what is in the source?
so you dont really need it for something else like in an email?
but wicket generates for itself relative urls
if you need a full for yourself you can use RequestUtils.toAbsolutePath
On Thu, Mar 20, 2008 at 11:36 AM, Java Programmer [EMAIL PROTECTED]
On 3/20/08, Ned Collyer [EMAIL PROTECTED] wrote:
Thanks Craig,
Perfect.
Super perfect :)
Yeah, that's really cool! I think I might borrow your ideas on our
project at work. Thanks!
-
To unsubscribe, e-mail: [EMAIL
It would help if you would specify which classes you miss.
Martijn
On 3/20/08, Eyal Golan [EMAIL PROTECTED] wrote:
Has anyone noticed that there are many missing classes in
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/index.html
Or am I missing something?
--
Eyal Golan
these are just the javadocs for the wicket core project.
you can find the classes for wicket-extensions here, in case you missed one
of
the classes in there:
http://wicket.apache.org/docs/wicket-1.3.2/wicket-extensions/apidocs/index.html
more projects (datetime, spring, ...) will follow soon.
I assume missing classes are all from wicket-extensions package.
There is (somewhat hidden) link to the missing part:
http://wicket.apache.org/docs/wicket-1.3.2/wicket-extensions/index.html
---
Sincerely,
Sergej Logiš
Software developer
Exigen Services
ICQ: 12510115
In the constructor that takes the company id in SortableUserDataProvider, you
are retrieving all users for the specified company id and assigning that to
the users class-level variable. But, in the iterator() method, you
retrieve another subset (page) of users and assign it to the same users
Hi everybody,
I'm a new french user of wicket, and i 'm apologizing in advance for english
and comprehension mistakes.
So, I want to display in a FeedbackPanel my own messages for especially
events. For example, in my suscribing panel, the user has to write twice his
password. So I want to
Wicket has a gadget for that since 1.2. In your form:
add(new EqualPasswordInputValidator(password, repeatPassword));
-Original Message-
From: Fabien D. [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 11:25 AM
To: users@wicket.apache.org
Subject: Display of own message in
You can use the EqualInputValidator to compare the password values.
Then you can override resourceKey() to tell Wicket to look for your
own error message in .properties.
On Thu, Mar 20, 2008 at 9:24 AM, Fabien D. [EMAIL PROTECTED] wrote:
Hi everybody,
I'm a new french user of wicket, and i
I wouldn't advise the EIV for password fields... the default message
will show the input values...
For password fields, we have: EqualPasswordInputValidator
Martijn
On 3/20/08, Scott Swank [EMAIL PROTECTED] wrote:
You can use the EqualInputValidator to compare the password values.
Then you
Thank you all for you responding speed :) Amazing
Okay i will check tomorrow for this issue.But if my condition is not take
care by Feedback
An other exemple, i want to check if the email of the user is already in my
database, and display a error message in my FeedbackPanel in this case.
How
it all depends on what url your security strategy intercepts - that is
the url continuetoorigdest will use. so if your strategy intercepts a
bookmarkable url you should be good, but if it intercepts a link url
like ?wicket:interface that is where you will go back to...
-igor
On Thu, Mar 20,
are you adding the bheavior to Radio or RadioGroup, it needs to go to
Radio components
-igor
On Thu, Mar 20, 2008 at 6:21 AM, Zhubin Salehi [EMAIL PROTECTED] wrote:
Ok, I noticed when I use AjaxFormComponentUpdatingBehavior, no JavaScript
gets added to radio buttons.
-Original
I'm adding AjaxFormComponentUpdatingBehavior to RadioGroup. If I add it to
Radio I get a runtime exception that says AjaxFormComponentUpdatingBehavior
can only be added to a FormComponent.
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008
there are two ways.
one: write a validator: email.add(new ivalidator() {
validate(ivalidatable v) { if (!validemail(v.getvalue()) v.add(new
validationerror().setresourcekey(my.error)); }
two: do it in onsubmit handler of the form
form.onsubmit() { if (!validemail(email)) {
Create your own validator, or do the check in onSubmit(), and create
the error message using error().
Martijn
On 3/20/08, Fabien D. [EMAIL PROTECTED] wrote:
Thank you all for you responding speed :) Amazing
Okay i will check tomorrow for this issue.But if my condition is not take
care by
right. see AjaxFormChoiceComponentUpdatingBehavior
-igor
On Thu, Mar 20, 2008 at 10:02 AM, Zhubin Salehi
[EMAIL PROTECTED] wrote:
I'm adding AjaxFormComponentUpdatingBehavior to RadioGroup. If I add it to
Radio I get a runtime exception that says AjaxFormComponentUpdatingBehavior
can only
I added the AjaxFormChoiceComponentUpdatingBehavior to Radio objects and I
got a runtime exception (can only be added to...), then I added it to the
RadioGroup and nothing happens when I change the selection!
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent:
Hi,
I am trying to deploy a small wicket application in JBoss. It works fine in
fire fox and does not work in IE.
I access my application at http://localhost/;
When I click on any button in my application it goes to http://localhost/./
http://localhost/./ and it display Directory Listing
Thanks, I'm keeping all my users, and the sorting and paging work now.
There is one glitch though, when I click a column header to resort, I'm
only resorting the items that are in view on the current page, not the
entire set. That doesn't seem right, can it be rectified?
-Original
Hi,
Is there a way to mark a component in markup as optional, so it renders it if
it's there, but leaves it out if not? Or, if I don't want a certain component
to appear (decided by logic at runtime), do I just have to insert a
placeholder component, such as an empty label?
Thanks
On 3/20/08, Andrew Broderick [EMAIL PROTECTED] wrote:
Hi,
Is there a way to mark a component in markup as optional, so it renders it
if it's there, but leaves it out if not? Or, if I don't want a certain
component to appear (decided by logic at runtime), do I just have to insert a
I would not perform an in-memory sort of the entire collection you are
attempting to page, as in your example. One benefit of paging is not having
to return the entire dataset from the backend. If your company has hundreds
or thousands of users, this will become a performance issue.
In the
some more information.
If I use sub context in jboss-web.xml then it works fine.
e.g.
jboss-web
context-root/wtp/context-root
/jboss-web
One thing I found out is,
If I click on button and the response page is not mounted, it does not work.
If I click on button and the response page is
OK, now I changed my code to this:
add(nanp = new RadioChoice(nanp, new PropertyModel(this,
phoneNumber.nanp), Arrays.asList(new String[] {
true, false })));
nanp.add(new AjaxFormComponentUpdatingBehavior(onclick) {
in onupdate you should be calling getmodelobject()
-igor
On Thu, Mar 20, 2008 at 10:55 AM, Zhubin Salehi
[EMAIL PROTECTED] wrote:
OK, now I changed my code to this:
add(nanp = new RadioChoice(nanp, new PropertyModel(this,
phoneNumber.nanp), Arrays.asList(new String[] {
there is also a bug report in jira for formchoice..behavior, see if
that affects you...
-igor
On Thu, Mar 20, 2008 at 11:08 AM, Igor Vaynberg [EMAIL PROTECTED] wrote:
in onupdate you should be calling getmodelobject()
-igor
On Thu, Mar 20, 2008 at 10:55 AM, Zhubin Salehi
[EMAIL
Hello.
I have a panel that contains a form, which contains a list view with two
items, a label and a button. I have tried a gajillion different
combinations, but I keep getting the unable to find component error.
Any hints that you can provide would be HUGELY appreciated.
The panel
Hi,
I am almost new to Wicket so I hope it's not a stupid question. I am
encountering an odd problem when adding two links to a single page in a
single DataView: for some reason clicking on the second link gets to the
onClick of the first one.
When I removed the first one from the page,
should be listItem.add(pn/rp)
also in the future it helps a lot if you paste the stacktrace
-igor
On Thu, Mar 20, 2008 at 11:33 AM, Bruce McGuire [EMAIL PROTECTED] wrote:
Hello.
I have a panel that contains a form, which contains a list view with two
items, a label and a button. I have
Hi,
Trying to build Wicket from svn trunk - tried mvn eclipse:eclipse and mvn
install - keep getting mojo descriptors not found error.
[INFO] Building Wicket Quickstart Archetype
[INFO]task-segment: [install]
[INFO]
non issue, it was a javascript on the page
guytom wrote:
Hi,
I am almost new to Wicket so I hope it's not a stupid question. I am
encountering an odd problem when adding two links to a single page in a
single DataView: for some reason clicking on the second link gets to the
onClick of
On Wed, Mar 19, 2008 at 10:54 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
yes. there is a phase of processing that goes through and collects the
feedback messages. you are reporting the error after that phase most
likely, so it will get picked up next request. i wonder if calling
if you are willing to work with us on it i think we might
be able to host it on wicket-stuff...
I'll glad to. Just let me know what to do.
On Wed, Mar 19, 2008 at 10:53 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
ah, i see. if you are willing to work with us on it i think we might
be able to
Hi,
This is the second time I've mentioned StartFound. I hope it's not
considered spam at this point. If so, this'll be my last update about it
but this update is very important. You can now submit/edit your own content
to http://www.startfound.com http://www.startfound.com/ So if anyone
On 3/20/08, Ritz123 [EMAIL PROTECTED] wrote:
Hi,
Trying to build Wicket from svn trunk - tried mvn eclipse:eclipse and mvn
install - keep getting mojo descriptors not found error.
[INFO] Building Wicket Quickstart Archetype
[INFO]task-segment: [install]
[INFO]
Don't know what happen to my last reply. Try again:
i wonder if calling
feedbackpanel.detach() will help before you add it to the ajax request
target...
No, this doesn't make the message show up either.
yes. there is a phase of processing that goes through and collects the
feedback messages.
I've got an inner subclass of Radio:
private class FooRadio extends Radio {
public FooRadio (String id, IModel model) {
super(id, model);
setOutputMarkupId(true);
add(new AjaxEventBehavior(new
On Thu, Mar 20, 2008 at 12:59 PM, Matthew Young [EMAIL PROTECTED] wrote:
Small wish: in GMail, when their Ajax submit fails (either user submit or
auto background submit), they don't go to a new page, they flash a message
System error, trying again. It would be great if Wicket can support
It depends on the kind of error. Sometimes when it's xmlhttprequest
error we get no notification of it.
-Matej
On Thu, Mar 20, 2008 at 9:21 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:
On Thu, Mar 20, 2008 at 12:59 PM, Matthew Young [EMAIL PROTECTED] wrote:
Small wish: in GMail, when their
This doesn't work because the model.getObject method is only called
when the value is pulled out of the model, which is on label render.
Even if you refresh it on ajax request, it might be too late because
the feedback panel retrieves the feedback messages in onBeforeRender
(before actual
Never mind - not sure what I was thinking needed to name the JS
event properly.
Michael
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 1:06 PM
To: users@wicket.apache.org
Subject: AjaxEventBehavior never being called
I've got an
As requested by Johan i created a jira issue
https://issues.apache.org/jira/browse/WICKET-1438 and attached an
application showing the original problem.
Maurice
On Thu, Mar 20, 2008 at 12:22 AM, Maurice Marrink [EMAIL PROTECTED] wrote:
My current patch involved this:
for (int i = 0; i
add an iajaxcalldecorator override failed script
Would that work if failure happen late in rendering? By that time, Wicket
would be on the onSuccess path, right?
For my Wicket education: I notice the IAjaxCallDecorator callbacks are only
called once. So are these for fixed static script only?
why would it be onsuccess path? this is something that runs clientside...
they are executed every time the component rendered, and no you
shouldnt touch ajaxreqesttarget from a call decorator, notice how it
is not passed in...
-igor
On Thu, Mar 20, 2008 at 2:38 PM, Matthew Young [EMAIL
Then what? In real app, the model is calling some flakey remote service that
can fail. Is there no way to show error message on the same page? That the
only thing is put up a different error page?
On Thu, Mar 20, 2008 at 1:29 PM, Matej Knopp [EMAIL PROTECTED] wrote:
This doesn't work because
they are executed every time the component rendered
That's true for non-Ajax, but if Ajax, it's not called again. It make sense
to me because the form is not rendered.
no you shouldnt touch ajaxreqesttarget from a call decorator
I don't mean in the decorator. I mean in the
I have been having trouble with this for a couple of months, it seems that
redirects in Wicket 1.3.x seem to be writing out the URL incorrectly in our
set up.
We are running JBoss 4.2 with embedded Tomcat 5.5 using Apache/2.2.4 with
mod_proxy.
The Tomcat URL for the application is
decorator generates scripts that execute on the client side. so
onfailure() is a handler that will be executed by clientside
javascript if ajax request fails, it has nothing to do with
button.onerror()
-igor
On Thu, Mar 20, 2008 at 2:54 PM, Matthew Young [EMAIL PROTECTED] wrote:
they are
I have a WMC that I added an AjaxEventBehavior(onclick) to. Inside I
want to set the focus to a particular textfield - how would I do that?
I have seen some techniques on how to do this on page load, but this is
AJAX so I need something dynamic.
Anyone solved this problem before?
Michael
Thanks for the quick response.
Just to complete the thread - for ppl like me who are not too familiar with
maven - the way to force plugin version - in our case plugin-plugin is the
plugin!! Add that to Wicket top level pom.xml file under build section
along with other plugins. Make sure in the
why cant you do this with javascript without ajax?? seems like a huge
waste to have a server callback just to set focus
-igor
On Thu, Mar 20, 2008 at 3:14 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
I have a WMC that I added an AjaxEventBehavior(onclick) to. Inside I
want to set the focus to
Slight correction:
With IRequestCycleSettings.ONE_PASS_RENDER most form submits seem to work
except in the case of continueToOriginalDestination... Everything else still
fails.
J
On Thu, Mar 20, 2008 at 6:09 PM, Jeremy Levy [EMAIL PROTECTED] wrote:
I have been having trouble with this for a
On 3/20/08, Ritz123 [EMAIL PROTECTED] wrote:
Thanks for the quick response.
Just to complete the thread - for ppl like me who are not too familiar with
maven - the way to force plugin version - in our case plugin-plugin is the
plugin!! Add that to Wicket top level pom.xml file under
Well, it doesn't necessarily have to happen in there. What I need to do
is to bind a Radio component to a TextField component. When the Radio
gets clicked I want the focus in it's TextField to be set.
Any ideas?
Michael
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
in a real app people will be invested in fixing the issue and not
having someone else do their homework for them :)
like i said, right now we consider errors in models unrecoverable - eg
you go to an error page. seemed to satisfy everyone for 3? years that
wicket has been out.
that said, you can
textfield.setoutputmarkupid(true);
radio.add(new behavior() { oncomponenttag(tag) { tag.put(onclick,
getelementbyid('+textfield.getmarkupid()+').focus();}));
-igor
On Thu, Mar 20, 2008 at 3:51 PM, Michael Mehrle [EMAIL PROTECTED] wrote:
Well, it doesn't necessarily have to happen in there.
I was actually trying something close with overriding
renderHead(IHeaderResponse iHeaderResponse). Didn't seem to stick
though...
Just for the record - would the above method be an alternative to making
this work?
Thanks a bunch - saved my day.
Cheers,
Michael
-Original Message-
From:
Wasn't working until I changed the event on the radio to onFocus - just
FYI :-)
Michael
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 3:56 PM
To: users@wicket.apache.org
Subject: Re: How to set focus to a textfield inside AJAX
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypassreverse
This directive lets Apache adjust the URL in the Location, Content-Location
and URI headers on HTTP redirect responses
ProxyPassReverse is the culprit here, not anything to do with Wicket.
Jeremy Levy-3 wrote:
I have
...and after reading your post a little closer, I flipped the directive
parameters in my head. I don't think there's anything wrong with your
ProxyPass directives. Sorry about that...
--
View this message in context:
1 - 100 of 112 matches
Mail list logo