The html is right next to the javacode. I understand that Link does not
normally have a panel, but i want to have one.
This code is actually copied from wicket-bootstrap.
https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/master/bootstrap-core/src/main/java/de/agilecoders/wicket/core/markup/html/
Hi Martin,
It does work with the following code:
/return $('#%s').closest('form').parsley( 'validate' );/
Thank you very much.
To find out whether the form is in a ModalWindow or not, I've used the
following code:
/@Override
public void renderHead(final IHeaderResponse varResponse) {
Even better, create a quick start for yourself and see what you're doing
wrong :)
~ Thank you,
Paul Bors
-Original Message-
From: Paul Bors [mailto:p...@bors.ws]
Sent: Monday, May 13, 2013 5:26 PM
To: users@wicket.apache.org
Subject: RE: Feedback within Form Weird Issue
setResponsePag
setResponsePage() would render either a page from the page map if you give
it an instance or build a new page if you give it the Class name.
Did you filter out the errors from the feedback and did you added the
feedback panel to the page?
Refer to section 10.2.2 "Displaying feedback messages and f
I just started only way I saw is to copy my basepage.html and replace wicket
child with jsf tags with ui:insert, did not test it yet, I am wondering
If I can use something like WicketJspResolver , is there anything ?
--
View this message in context:
http://apache-wicket.1842946.n4.n
Weird, it still does not show up.
I do have a function that gets the session and register the error to it.
Can the feedback be apart of the form? I have tried it outside the form with
no luck either.
I also changed my onSubmit to use session;
It doesn't need to call the error function before
hi martin,
that static block need not be copied to make it work,since it's a static
block, it will get executed when the Panel class gets loaded,
the Panel class will get loaded by PanelMarkupSourcingStrategy itself
since it's referring a constant of panel . yes but i agree not a very nice
code fl
Hi,
What did you try ?
On Mon, May 13, 2013 at 11:02 PM, fachhoch wrote:
> We want to include some of the primefaces pages in our wicket app. I need
> advice on integrating jsf into wicket application any suggestion please?
>
>
>
> --
> View this message in context:
> http://apache-wicket.184
see link#setbody(model) ,i think this is what you are trying to do :-)
else that should be PanelMarkupSourcingStrategy(*false*)
On Mon, May 13, 2013 at 11:33 PM, Andy Van Den Heuvel <
andy.vandenheu...@gmail.com> wrote:
> I get an exception and it's not very clear to me what I'm doing wrong.
>
Hi,
On Mon, May 13, 2013 at 10:02 PM, Paul Bors wrote:
> Get rid of your newMarkupSourcingStrategy() override and place the HTML
> right next to the Java source code and you'll be fine.
>
This will not work because usually Link component has no its own markup
file.
See Panel.java. It has:
st
Hi,
You need to use session.error() instead. Since you use setResponsePage(...)
the error associated with the Form component is never used.
On Mon, May 13, 2013 at 8:17 PM, dhongyt wrote:
> Hey guys,
>
> I had a feedback panel within a form and want to display an error onSubmit
> when there is
Hi,
When using 'beforeunload' event you need to use synchronous Ajax call.
Additionally you need to prevent the default behavior of the JavaScript
event to stop the leaving of the page.
Instead of doing your manual work in
AbstractDefaultAjaxBehavior#renderHead() you can just use
AjaxEventBehavio
I take it you're using Wicket 6.x since the feedback messages have been
moved all the way to the Component's metadata rather than the session.
Hence the same component should be part of the page if you want to see its
feedback message.
See:
https://cwiki.apache.org/WICKET/migration-to-wicket-60.ht
Get rid of your newMarkupSourcingStrategy() override and place the HTML
right next to the Java source code and you'll be fine.
If you do not like the default location of the HTML next to your Java
classes, then read Chapter 4 of the Wicket user guide you can get for free
from wicket's website at:
Have you tried:
provisionDefaultPeriod = new
DropDownChoice("provisionDefaultPeriod",
new PropertyModel(getTypedModel(),
"provisionDefaultPeriod"),
activeTimePeriods, renderer);
// drop down for choosing the service
commercialServiceInput.add(new AjaxFormComponentUpdatingB
Hi,
I have a form with several inputs one is a DropDownChoice with an
AjaxFormComponentUpdatingBehavior("onchange") / AFCUB("onchange") Behavior
added to it.
When the user changes the DropDownChoice, depending on the value a
previously non visible field is displayed via the AFCUB("onchange")
onU
Hey guys,
I had a feedback panel within a form and want to display an error onSubmit
when there is a authentication issue.
When I call error when they fail to log in the error does not display.
However if I comment out the onSubmit code and call error, it displays.
Why does it not display when
That did it! Thanks!
From: Andrea Del Bene
To: users@wicket.apache.org
Date: 05/13/2013 10:42 AM
Subject:Re: Detecting Page Re-Display
Do you disable/enable the button on server side (i.e. invoking
setEnabled)? You should use page's onConfigure to place your
configuration
I get an exception and it's not very clear to me what I'm doing wrong.
This is the exception:
Last cause: Unknown tag name with Wicket namespace: 'panel'. Might be you
haven't installed the appropriate resolver? '' (line 3,
column 2)
I'm trying to override the markupSourcingStrategy because i wan
I posted a question on StackOverflow on how I can receive a callback value
from a Java component using Ajax:
http://stackoverflow.com/questions/16527463/wicket-6-ajax-call-java-component-from-javascript-and-retreive-value
Any help on this would be very appreciated since I am stuck on this one!
Th
Today I encountered one famous deserialization problem :
InvalidClassException : no valid constructor
I googled and found some solution , but all are in-vain.
The solution says the first non-serializable super class should define a
no-arg constructor.
But I try to define a no-arg constructor to E
That's good news!
I'll have to see how it fits into our schedule but I would rather wait
another week than roll back and then update later involving our testing
team twice.
Thanks for the good work guys!
On Mon, May 13, 2013 at 3:12 AM, Martin Grigorov wrote:
> Hi,
>
> According to
>
> https:/
Do you disable/enable the button on server side (i.e. invoking
setEnabled)? You should use page's onConfigure to place your
configuration code (for example the code to disable the button).
How can I detect when a page is about to be re-displayed?
In my app, some pages have "OK" buttons that are
Hi,
Nope, didn't had much time today to look into it, probably i've to find out
what is the page id of those two pages [even though they are not added to
the URL], and some debugging.
I'll update this post if I find the issue/solution.
Regards,
Rakesh.A
--
View this message in context:
http:/
How can I detect when a page is about to be re-displayed?
In my app, some pages have "OK" buttons that are enabled once the user has
entered certain data. When the user then clicks OK, he taken to another
page where some actions are performed. When he then RETURNS from the
action page to the da
I solve this problem by introducing another spring's xml inside wicket's
repository, which I didn't want to do this at first.
(I was looking for a programmatic way , but it seems not so easy... )
2013/5/11 smallufo
>
>
>
> 2013/5/11 Marco Springer
>
>> Maybe this is too simple but:
>>
>> Did
Hi,
did you find the problem ?
On Fri, May 10, 2013 at 2:33 PM, iamrakesh wrote:
> Hi,
>
> I did, when the AjaxNewWindowNotifyingBehavior's contructor is called, a
> new
> value for 'window.name' is generated, but when I see the page source, the
> value written to the markup is same as the firs
Hi,
Mount the Wicket page at some path with:
application.mountPage("some/nice/url", MyPage.class)
and use this stable url from the JSP code. You have to provide the the
host:port/context/filter part if this is required, or calculate the
relative url to the JSP's url.
On Sat, May 11, 2013 at 1
Hi,
According to
https://issues.apache.org/jira/browse/WICKET#selectedTab=com.atlassian.jira.plugin.system.project%3Aroadmap-panel
the
scheduled date is May 17.
On Fri, May 10, 2013 at 5:39 PM, Paul Bors wrote:
> Do you guys know when is the next minor release for Wicket 6.8.0 scheduled
> to c
29 matches
Mail list logo