I'm using Intellij myself and with that, in the Project overview I see a
list of dependencies projects are using. With that I can quickly see if I'm
using multiple versions of a certain dependency.
This same type of dependency list is present in Netbeans, only per project.
And with Netbeans you ca
The problem may also happen when you have wicket-xyz.jar in the web
container's shared folder and additionally in your .war#WEB-INF/lib
folder.
On Wed, Feb 29, 2012 at 10:00 AM, Marco Springer
wrote:
> I'm using Intellij myself and with that, in the Project overview I see a
> list of dependencies
Hi,
Page1 gets the click of the submit button and collects the search word. This
will be changed into a hash value and set as PageParameter (q=Hashvalue) to the
ResponsePage which is Page2.
Additionally, I store the hash value into a session HashMap which holds the
hash value as key and an own
Thanks.
I have: MyPanel.java (this class extends Panel), MyPanel.html and
MyPanel_test.html.
I try in MyPanel.java add method:
@Override
public String getVariation() {
return "test";
}
It is good, is not it? But it do not work.
Is not there in wicket 1.5.
On Wed, Feb 29, 2012 at 11:08 AM, Dan12321 wrote:
> Thanks.
>
> I have: MyPanel.java (this class extends Panel), MyPanel.html and
> MyPanel_test.html.
> I try in MyPanel.java add method:
>
> @Override
> public String getVariation() {
> return "test";
> }
>
> It
Thanks. But it still seems that getVariable do not work.
But getSession().setStyle("test"); in constructor works.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/wicket-more-html-templates-for-one-java-class-tp4430757p4431115.html
Sent from the Users forum mailing list
I changed my app from wicket 1.4.18 to 1.5.4
Now I get a MarkupNotFound Exception.
In 1.4. the app was running without warnings/errors
Does somebody have a hint?
I'm using a form within a page. The form has a fragment child.
*MarkupCode*:
/
...
/
*JavaCode:*
f/orm.add(new
Hi,
Make sure that is inside
On Wed, Feb 29, 2012 at 1:03 PM, rawe wrote:
> I changed my app from wicket 1.4.18 to 1.5.4
> Now I get a MarkupNotFound Exception.
> In 1.4. the app was running without warnings/errors
>
> Does somebody have a hint?
>
> I'm using a form within a page. The form ha
I have fixed my problem, thank you for your attention.
With my best regards.
Secil
-
Wicket-Java
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxFormValidatingBehavior-Submits-Form-When-I-Clicked-Submit-Button-second-Time-tp4410686p4431285.html
Sent from the U
Martin, do you mean something like ??
/
...
/
Doesn't work!
But normally I don't need a child tag due I don't include markup from a
subclass
My fragment class is extended from an AbstractFragment class which extends
Fragment
I' m using just one markup file.
Ralph
--
I mean that should be in ,
or if any of those is used.
Your pasted code is not easy to follow but I think you should pass the
"form" as parent container of the fragment instance.
On Wed, Feb 29, 2012 at 2:12 PM, rawe wrote:
> Martin, do you mean something like ??
>
> /
>
>
>
>
>
> ...
Use AjaxFormComponentUpdateBehavior("onchange") instead
2012/2/29 Seçil Aydın :
> Hi,
> I have two text fields next to each other. I want to change value of second
> textfield according to first textfield when first textfield loses focus.
>
> I am doing that with OnChangeAjaxBehavior but, I have s
Hi Martin,
I'm following the example
https://cwiki.apache.org/WICKET/calling-javascript-function-on-wicket-components-onclick.html
shown here . My code is literally that, added to the prototypical Wicket
Quickstart HomePage.java:
public class HomePage extends WebPage {
private static fin
On Wed, Feb 29, 2012 at 2:53 PM, armhold wrote:
> Hi Martin,
>
> I'm following the example
> https://cwiki.apache.org/WICKET/calling-javascript-function-on-wicket-components-onclick.html
> shown here . My code is literally that, added to the prototypical Wicket
> Quickstart HomePage.java:
>
> publ
Well that was simple, thank you. I'm pedantic enough to have added @Override
to the getAjaxCallDecorator(), but I missed decorateScript() in my initial
attempt.
The method is being called now, and I have updated the Wiki.
However the second example listed on the Wiki (AttributeAppender) also do
On Wed, Feb 29, 2012 at 3:28 PM, armhold wrote:
> Well that was simple, thank you. I'm pedantic enough to have added @Override
> to the getAjaxCallDecorator(), but I missed decorateScript() in my initial
> attempt.
>
> The method is being called now, and I have updated the Wiki.
>
> However the s
Thanks Martin,
I think it is the same think with OnChangeAjaxBehavior.Is not it?
-
Wicket-Java
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/TextField-update-According-to-Another-TextField-update-tp4431324p4431602.html
Sent from the Users forum mailing list archi
No, they are not.
Check the difference between 'input' and 'change' JavaScript events.
2012/2/29 Seçil Aydın :
> Thanks Martin,
> I think it is the same think with OnChangeAjaxBehavior.Is not it?
>
> -
> Wicket-Java
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble
Hello,
is there any way how to check if user is logged?
I can put into constructor of the class that have got "extends Page"
something like this:
if (new LogginControl().isUserLogged(user)) { ... }
But this code I have to put into methods, that are called by ajax.
So, is there any better way? H
Check ISecuritySettings, IAuthenticationStrategy and IAuthorizationStrategy
See wicket-authroles project for example how to use those
On Wed, Feb 29, 2012 at 5:27 PM, Dan12321 wrote:
> Hello,
> is there any way how to check if user is logged?
>
> I can put into constructor of the class that have
We have an exntensive web application thta was written in Wicket 1.3.14 which
we recently upgraded to Wicket 1.4.17 for fixing some ajax issues dealing
with Chrome and Safari. There was some changes that needed to be done to
the existing code in the migration, and there is two outstanding issues w
Hi,
i've been following this post in order to generate dynamic JS/CSS files (
https://cwiki.apache.org/WICKET/dynamically-generate-a-css-stylesheet.html
https://cwiki.apache.org/WICKET/dynamically-generate-a-css-stylesheet.html
).
Now I'm expiring white page "flickers" on page changes inside the
Your description is clear, thank you. I'm not certain that the background
thread's reference to the Session is valid outside of the servlet request.
I would verify your assumption by logging the session's object ID when the
value is read/written.
I have one other thought for you. I believe Wicket
Hi there,
I am not too sure what you mean about DownloadLink.
I am not using download link in any part of my code. To link to the provider
page i am just using a normal link.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/java-lang-IllegalStateException-Can-t-call-w
Sure. But Martin is just telling you to use this as a code example.
Regards,
Pierre
On Wed, Feb 29, 2012 at 8:33 PM, singh13 wrote:
> Hi there,
>
> I am not too sure what you mean about DownloadLink.
>
> I am not using download link in any part of my code. To link to the
> provider
> page i
Hi,
I could identify the cause of the problem, but still have no
solution.
I set some breakpoints and made some output messages to trace
the system. The following thinks happened:
(1)
I submit a search in Tab1. The search word will be passed as
Page Parameter to Page2 in Tab1. While Tab1 is sho
Just a quick note to folks that may be interested that I've created a Maven
archetype that ties together Wicket 1.5 and Spring 3.1, along with Hibernate
4.1/JPA 2 and logback. It is purely annotation driven, and has no XML
configuration files. Currently, users must clone the git repository [1]
Hi Zac, this sounds great - I would be very appreciative if you make this
code public, and I imagine it would be useful for many. I was just about to
take a look at the wicketstuff-client-and-server-validation project which
seems to be a similar idea, but it would be great to check out what you ha
I was reading the migration doc and I'm not sure how I would migrate this to
1.5:
WebRequest webRequest = (WebRequest)
RequestCycle.get().getRequest();
HttpServletRequest httpServletRequest =
(HttpServletRequest)webRequest.getContainerRequest();
S
Just found another one:
What did AbortException get replaced with?
Douglas
On Feb 29, 2012, at 10:44 PM, Douglas Ferguson wrote:
> I was reading the migration doc and I'm not sure how I would migrate this to
> 1.5:
>
> WebRequest webRequest = (WebRequest)
> RequestCycle.get().g
Douglas,
Regarding javascript references: instead of adding a header contributor,
have your component override renderHead(IHeaderResponse response) and use
response.renderJavaScriptReference().
Regarding AbortException: instead of grabbing the servlet response, writing
to it immediately, and thro
See below...
On Feb 29, 2012, at 11:49 PM, Dan Retzlaff wrote:
> Douglas,
>
> Regarding javascript references: instead of adding a header contributor,
> have your component override renderHead(IHeaderResponse response) and use
> response.renderJavaScriptReference().
Thanks!
>
> Regarding Abor
On Wed, Feb 29, 2012 at 8:10 PM, Dan Retzlaff wrote:
> Your description is clear, thank you. I'm not certain that the background
> thread's reference to the Session is valid outside of the servlet request.
> I would verify your assumption by logging the session's object ID when the
> value is read
2012/2/29 Andre Schütz :
> Hi,
>
> I could identify the cause of the problem, but still have no
> solution.
>
> I set some breakpoints and made some output messages to trace
> the system. The following thinks happened:
>
> (1)
> I submit a search in Tab1. The search word will be passed as
> Page Pa
On Wed, Feb 29, 2012 at 11:34 PM, Pierre Goupil wrote:
> Sure. But Martin is just telling you to use this as a code example.
Right. See how DownloadLink schedules a new IRequestHandler that cares
to deliver a file as a byte[].
>
> Regards,
>
> Pierre
>
>
>
> On Wed, Feb 29, 2012 at 8:33 PM, sing
I want to redirect to an error page when there is an Exception.
I see that there is a RedirectRequestHandler, but this only allows you to
redirect to url via string literal.
I want to redirect to a construction Page.
I was grasping at straws and tried this and no dice..
Hi,
Thanks for sharing it!
Here are some ideas:
https://github.com/limone/wicket-spring-boilerplate/blob/master/src/main/resources/archetype-resources/src/main/java/HomePage.java#L25
Better override #renderHead(IHeaderResponse response) and use
'response.renderXYZ()'
https://github.com/limone/w
On Thu, Mar 1, 2012 at 9:46 AM, Douglas Ferguson wrote:
> I want to redirect to an error page when there is an Exception.
>
> I see that there is a RedirectRequestHandler, but this only allows you to
> redirect to url via string literal.
> I want to redirect to a construction Page.
>
> I was gras
38 matches
Mail list logo