Any idea?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/EmailAddressValidator-triggers-on-empty-input-field-tp3299464p3312795.html
Sent from the Users forum mailing list archive at Nabble.com.
-
Finally I got it.
If you add setType( String.class ) to your TextField the
EmailAddressValidator triggers on null/empty input. If you leave this
everything works fine...
I thought it would be useful to declare my inputfields as a certain type.
Obviously it's not needed but also the outcome of
No idea how to deal with multiple panels within a listView (because of the
name clash)?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-access-component-values-within-a-dynamic-table-tp3310939p3316929.html
Sent from the Users forum mailing list archive at
Sorry, but I just don't get this :(
I'm totally missing the forest through the trees...so I tried to reduce the
example to the very minimum. Maybe someone can provide me an idea how to
deal with my issue?!
This is the scenario:
I have a form with two rows. Within each row there is one label and
Hi Hans, this is working!!
Thanks you very much.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-access-component-values-within-a-dynamic-table-tp3310939p3319092.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi all,
I try to store data within my database using JDO but I get the following
exception: ...is managed by a different Object Manager. So I tried a view
constallations but I didn't find the solution yet.
First of all here are my POJOs
-
// KATALOG
Meanwhile I tested a bit more and you really can reduce the example of
eager/lazy-loading.
After using Google a while I tried to add
@Persistent( defaultFetchGroup=true )
private ArrayListQuestion fragen;
to my POJO.
But now I get the following (console) output: WARN [DataNucleus.MetaData]
-
Out of the frying pan into the fire :(
Given is a table with all KATALOG entities. Within each row there is a count
of the size of QUESTION, f.eg.:
Row 1: name of the KATALOG - katalog.getFragen().size() -
CREATE_EINTRAG-Link
Row 2: name of the KATALOG - katalog.getFragen().size() -
Hi,
I try to update a component (vorname within my example) once the user
click on a link within a table.
(In fact it doesn't matter if it is an ajax link or a normal one. My
example is using an ajax link.)
This im my JAVA code:
public class Test extends WebPage {
Thanks Ernesto for you quick reply. Unfortunatelly this is not working :(
But if I debug within the onClick method of my AjaxLink
item.getModelObject() returns null?
Any idea why this happens? Or is this just a problem with my debugging
configuration of eclipse?
I would expect I can access
Sorry @ all,
I just forgot to restart the server so the approach with the
AbstractReadOnlyModel is working!
Thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/update-label-using-Ajax-Link-tp3356575p3356773.html
Sent from the Users forum mailing list archive at
Hi,
how can I display navigation points and page content depending on the login
status?
I have a login box and only after a sucessfully authentication I want to
1.) extend the existing navigation
2.) make content visible on (already) public sites
Seems like I have to create my own Session
Meanwhile I already implemented the part if there is a visible link to a page
that requires authentication the user get's redirected to the login page.
But how can I make links invisible if a user is not logged in?
--
View this message in context:
Thanks...that was really an easy one :)
But while playing around with this topic I do have a few other questions:
Within the wicket signin example I have to provide a method called
newSession( Request request, Response response ) within my
TestApplication.java file. So if I call /test/* and this
Thanks Michael for the hint.
I already adapt that example and this is working - at least in parts.
Those are my two pain points at the moment:
1.) share one session
2.) seperate Login page
Regarding 1.):
I've implemented two Links. Both do need a authentication so both
xxxApplication.java
Hi all, any idea how do share sessions?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/dynamic-navigation-side-content-depending-on-login-status-tp3384641p3394125.html
Sent from the Users forum mailing list archive at Nabble.com.
Isammoc OFF wrote:
I don't really understand why you have two xxxApplication.java for only
two
links. In my mind, I would make only one xxxApplication.java for both
pages.
If both links would be on the same page - yes. But if you have several pages
you need a separate xxxApplication.java
Hi,
thanks for your feedback, Isammoc and Zilvinas.
But I don't get your point. In fact I would assume I already did everything
like the example you provided but still I get a login page even if the user
already authenticated successfully before.
@ Isammoc: You told me that I don't have to
Maybe I missed one interesting detail.
While searching the web for some examples/explanaitions for my problem I
found a few threads where the author of the thread had to explain why he
uses multiple xxxApplication files. For some reasons a lot of users are of
the opinion that you should only use
Ok, I modified my application so there is only one xxxApplication file. And
as already assumed now it is working.
Because I'm still playing around with this framework it's not really a pain
for me. I will refactor my application and that's it.
But there are still two open question I have in
Thanks shetc.
Meanwhile I did some additional research and beside add a WebMarkupContainer
which I can make (in-/)visible there is another option: wicket:enclosure.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/hide-empty-table-tp3409461p3409570.html
Sent from the
Hi,
is there a possibility to make a link invisible itself via onClick?
At the moment I get an error The local variable link may not have been
initialized.
code:
--
final Link link = new Link( test ) {
@Override
public void
this works like a charm - thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/make-link-itself-invisible-via-onclick-tp3411327p3411347.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi all,
let's assume there is a form with an input field an two buttons: submit and
reset.
Within the java code I add a new form component (extends Form) with an input
field and implement the onSubmit() method.
But: Is there a chance to implement some onReset() method so I can do some
more stuff
Meanwhile I tried to add another submit button and just labeling that as a
reset button.
This is almost working but after calling the onSubmit method of my reset
button the onSubmit method of my form get's triggered as well?!
This is my button:
-
Button
thanks - that's it.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/issue-with-input-type-reset-tp3411379p3411433.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe,
Hi all,
my web application is using the wicket authentication approach
(AuthenticatedWebSession) and all my secure java files are marked with
@AuthorizeInstantiation(ADMIN)
So once I added this annotation there is no chance to bypass the
authentication.
But what if there is the need to be
it's not about to bash the framework.
Because I'm still a beginner I just want to make sure that this approach is
not working for me. It seems like the demo implementation just allows two
options:
- need authentication
- don't need authentication
but there is no option to make it more flexible.
Hi all,
I did some research within the forum but I didn't find the answer yet :(
I tried to integrate Spring (using
https://cwiki.apache.org/WICKET/spring.html#Spring-ApplicationObjectApproach
Spring + WICKET ) but I still have an error.
I added the following lines to my web.xml:
wicket
Thanks for all the good hints ... let me check the links/advices.
Hopefully there is no need to ask any further questions :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/flexible-authentication-tp3415413p3416489.html
Sent from the Users forum mailing list archive
I added wicket-spring-annot to my project, removed all of the previous spring
code and just added getComponentInstantiationListeners().add(new
SpringComponentInjector(this)); to the init method of my xxxApplication
class.
But now I'm getting an error:
The type
No, I don't. So adding wicket-ioc.jar to my project solves this problem.
But because of the fact I don't have a default constructor I get an
exception.
My constructor looks like public Test( PageParameters params ){ ... }.
--
View this message in context:
Just to summarize my status:
I've added addComponentInstantiationListener( new
SpringComponentInjector(this) ); to the init method of my xxxApplication
file, I added to my applicationContext and withing my WebPage I have this
code:
public class Test extends WebPage {
@SpringBean
This works like a charm - thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/problems-with-spring-integration-tp3416484p3421269.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi all,
is there any chance to change an image once the user choose another
language?
With a text it's very easy because the only thing you have to provide are
the different language property files.
Let's assume there is a dropdown with different languages. I've added
DropDownChoices and
Thanks Igor.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/changing-image-on-locale-change-tp3421291p3421371.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe,
Hi all,
at the moment I have a modal window with a link in it.
If I click the link (it's a BookmarkablePageLink) the new page get's loaded
within the modal window. But what I want to achieve is that the modal window
get's closed and the parent page get's redirected to the new page.
How can I
I tried to add a AjaxLink but I didn't get it so far.
This is my code:
public class ModalPage extends WebPage{
public ModalPage( final ModalWindow modalwindow ){
add( new AjaxLink( link ) {
public void onClick( final AjaxRequestTarget target ) {
Ok, thanks. This is working.
But if a user clicks on the link within the modal page a confirmation dialog
pops up.
http://apache-wicket.1842946.n4.nabble.com/file/n3439885/dialog.jpg
(It's about a warning message for the user if he want's to leave the page
(because of the redirect)).
Would
Thanks for the hint but the behaviour is still present.
I added your code to both ModalPage and parent Webpage but the popup still
appears.
Any idea?
--
View this message in context:
It does!
I didn't expect that the modalwindow.close( target ); triggers the
WindowClosedCallback function.
Thanks!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/link-within-modal-window-should-reload-parent-page-tp3437508p3443067.html
Sent from the Users forum
ok - I just realised that the WindowCloseCallback method gets triggered if a
user clicks on the link but also if he wants to close the popup. That's not
that good :(
Is there a chance to differ whether the user uses the link or just click on
the x button to close the popup?
--
View this message
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/link-within-modal-window-should-reload-parent-page-tp3437508p3447299.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To
MZemeck wrote:
The only thing that comes to mind is storing a flag in session.
That is the approach I already implemented but with the same discomfiture
you mentioned before.
Meanwhile I tried to add the embedded javascript but without any success
yet.
I added the code both to my
44 matches
Mail list logo