..
Cheers
Josh
On Sat, Jul 14, 2012 at 8:30 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
While working on my previous problem I found out that when I do a GET
to one of my bookmarkable pages, e.g. /lrm/ms/oid/123, I get a 302
redirect to /lrm/ms/oid/../../ms/oid/123.0;jsessionid=xxx
/wicketpraxis/web/thema/howto/servletfilter/DisabledJSessionIDinUrlFilter.java
Michael mosmann
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
Alec Swan alecs...@gmail.com schrieb:
Thanks Josh, I upgraded to Tomcat7 and was able to disable cookies as
you
/yourPage?0 (0 or other - wicket
page version)
Michael
Am Samstag, den 14.07.2012, 14:47 -0600 schrieb Alec Swan:
Thanks Michael. I read the first link before and the only thing that I
didn't do (and probable cannot do) is make my pages stateless.
As far as the second link
Is there a way in 1.4.x to avoid a 302 redirect to /lrm/ms/oid/123.0
when the user opens /lrm/ms/oid/123?
Thanks,
Alec
On Sat, Jul 14, 2012 at 5:09 PM, Alec Swan alecs...@gmail.com wrote:
Michael,
I integrated DisabledJSessionIDinUrlFilter code that you sent me and I
still get a 302
Anybody?
On Sat, Jul 14, 2012 at 5:24 PM, Alec Swan alecs...@gmail.com wrote:
Is there a way in 1.4.x to avoid a 302 redirect to /lrm/ms/oid/123.0
when the user opens /lrm/ms/oid/123?
Thanks,
Alec
On Sat, Jul 14, 2012 at 5:09 PM, Alec Swan alecs...@gmail.com wrote:
Michael,
I
How do you determine which next key is available? If two users open
the form at the same time will they see the same key? If so, then you
need to handle errors from concurrent form submissions with the same
key. Which means for one of these concurrent requests you will have to
issue a different
Try the following and let us know what happens when Page 2 is rendered
by Wicket.
Page1:
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
Hello,
I am using Wicket 1.4.17 and need to display a 3x3 table with all of
its cells, some of which may not have a model and hence blank. So, if
my DataProvider returns 0 elements than I want all 9 cells to be shown
as blank.
I started using GridView and overrode its populateEmptyItem() method
used the GridView directly so I can't help you with it
specifically. However, have you considered modifying your provider to always
return 9 records with some having an empty placeholder? It's definitely a
hack, but it may be worth a try.
Bertrand
On 08/08/2012 10:56 PM, Alec Swan wrote
Hello,
I have a FeedbackPanel on a page. The page can contain different kinds
of forms depending on the end-user preference. Some of those forms are
submitted via AJAX and may or may not add any components to
AjaxRequestTarget.
How can I add the page's FeedbackPanel to AjaxRequestTarget of the
-to-wicket-15.html#MigrationtoWicket1.5-Defaultajaxevent
I think it does what you need.
On 15/08/2012 3:59 PM, Alec Swan wrote:
Hello,
I have a FeedbackPanel on a page. The page can contain different kinds
of forms depending on the end-user preference. Some of those forms are
submitted
Hello,
Thank you for the link. I used your code to register an
ART.addListener(new AjaxFeedbackPanelUpdater()) when the page is
created, but it does not get called when the form is submitted and
hence it never adds the FeedbackPanel to ART of form submission.
Where should I add this listener?
functionality and basically
broke them all. Now I am thinking about adding an onclick behavior
which will add my component to ART to every AjaxSubmitLink child of
the page. But this seems to be pretty ugly.
Thoughts?
Thanks,
Ale
On Fri, Aug 17, 2012 at 4:22 PM, Alec Swan alecs...@gmail.com wrote:
Hello
Thoughts, anybody?
On Sun, Aug 19, 2012 at 1:07 PM, Alec Swan alecs...@gmail.com wrote:
The main problem I am facing is that in Wicket 1.4.x I can't figure
out how to access ART from the component that was not added to this
ART, e.g. during ajax form submission.
I tried to add
AjaxRequestTarget.get()
Tibor
On Mon, Aug 20, 2012 at 5:10 PM, Alec Swan alecs...@gmail.com wrote:
Thoughts, anybody?
On Sun, Aug 19, 2012 at 1:07 PM, Alec Swan alecs...@gmail.com wrote:
The main problem I am facing is that in Wicket 1.4.x I can't figure
out how to access ART from the component
getRequestCycleListeners() which
adds the feedback panel in onRequestHandlerResolved? In that method, check
if the handler type is an AjaxRequestTarget and add your feedback panel to
it.
On 20/08/2012 11:45 AM, Alec Swan wrote:
It seems that I cannot access ART from the component
#newAjaxRequestTarget() and add it for each
and every ART.
On Mon, Aug 20, 2012 at 11:56 PM, Alec Swan alecs...@gmail.com wrote:
IRequestCycleListener was added in 1.5.x. Is there anything else I can
do in 1.4.x?
On Mon, Aug 20, 2012 at 12:15 PM, Bertrand Guay-Paquet
ber...@step.polymtl.ca wrote
Hello,
I noticed a couple of Maven projects that can be used as templates for
creating Wicket/Spring/Hibernate webapps. I was surprised that I
wasn't able to find an Ant/Ivy project for this tech stack given that
Wicket, Ant and Ivy are all Apache projects.
Does anybody have an Ant/Ivy template
Hello,
We deploy our web app on different domains which means that JavaScript
Facebook integration needs to use different app_id values. I am
planning to store these values in a configuration file and wonder how
to expose them to JavaScript. I would also like to write a unit test
that verifies
August 2012 15:33, Alec Swan alecs...@gmail.com wrote:
Hello,
We deploy our web app on different domains which means that JavaScript
Facebook integration needs to use different app_id values. I am
planning to store these values in a configuration file and wonder how
to expose them
I found the following class which adds back button support to AJAX
components:
http://grepcode.com/file/repo1.maven.org/maven2/org.wicketstuff/jquery-examples/1.4.7/org/wicketstuff/jquery/ajaxbackbutton/Page4AjaxBackButton.java
Is this the recommended solution for 1.4.x? What are other
Hello,
I am using AjaxTabbedPanel to implement an ajax-swappable menu on the
Main page which is mounted with mountBookmarkablePage. For some reason
the Back button in the browser does not take the user to the
previously selected tab. It takes them out to the page which was shown
before user saw
/Page4AjaxBackButton.java
On Thu, Aug 30, 2012 at 12:36 PM, Sven Meier s...@meiers.net wrote:
Swapping components via Ajax will not change the browser's page history.
Thus the Back button works as expected - it takes you to the previous url.
Sven
On 08/30/2012 07:55 PM, Alec Swan wrote:
Hello,
I am using
/2012 08:45 PM, Alec Swan wrote:
What can I do to allow user to go back to the previously selected tab
with a Back button? I tried the following approach but it doesn't seem
to work:
http://grepcode.com/file/repo1.maven.org/maven2/org.wicketstuff/jquery-examples/1.4.7/org/wicketstuff/jquery
So, is there an easy way to support Back button with AjaxTabbedPanel?
On Thu, Aug 30, 2012 at 1:04 PM, Alec Swan alecs...@gmail.com wrote:
Well, I have other ajax interactions and I thought if I could fix Back
button for AjaxTabbedPanel I'd be able to fix it for other ajax
interactions
How do I know when the back button is pressed?
On Fri, Aug 31, 2012 at 6:48 PM, Paul Bors p...@bors.ws wrote:
Can't you just keep a reference to the backPage and then simply call
setResponsePage(backPage)?
~ Thank you,
Paul Bors
-Original Message-
From: Alec Swan [mailto:alecs
Hello,
I finally decided to bite the bullet and migrate to Wicket 1.5. It
turned out a lot harder than I expected. Here are some of the issues I
ran into:
* How to implement HybridUrlCodingStrategy in 1.5?
* I saw a ticket related to putClassAlias, but I couldn't figure out
how to port this one
://cwiki.apache.org/WICKET/migration-to-wicket-15.html
-Tom
On 04.09.2012, at 02:36, Alec Swan alecs...@gmail.com wrote:
Hello,
I finally decided to bite the bullet and migrate to Wicket 1.5. It
turned out a lot harder than I expected. Here are some of the issues I
ran into:
* How
of GlobalResourceScope.class
in the URLs. How do I do this in 1.5?
Thanks,
Alec
On Tue, Sep 4, 2012 at 9:07 AM, Thomas Götz t...@decoded.de wrote:
Please see my inline comments.
Cheers,
-Tom
On 04.09.2012, at 02:36, Alec Swan alecs...@gmail.com wrote:
* How to implement HybridUrlCodingStrategy
if you really want to go to this extreme, but feel free to do so if
you must.
~ Thank you,
Paul Bors
-Original Message-
From: Alec Swan [mailto:alecs...@gmail.com]
Sent: Saturday, September 01, 2012 12:05 PM
To: users@wicket.apache.org
Subject: Re: Back button doesn't work
/2011/07/wicket-1-5-mounting-resources/
Cheers,
-Tom
On 04.09.2012, at 17:33, Alec Swan alecs...@gmail.com wrote:
I saw the link explaining how to migrate
SharedResources#putClassAlias(GlobalResourceScope.class, global)
before but was found it confusing because global and images
aliases
Hello,
Now that most of my production code is migrated to 1.5 I started
migrating my tests. The first problem I ran into is with
BaseWicketTester#startPanel and
BaseWicketTester#getComponentFromLastRenderedPage.
In 1.4 I could use startPanel and then find components with
if there is a place for improvement it is too late now.
There are many apps in production with 1.5 at that time and this
change will break them.
You can extend WicketTester and override the problematic method to
behave as you need it.
On Tue, Sep 4, 2012 at 8:11 PM, Alec Swan alecs...@gmail.com wrote
. but, we use selenium to test ui
instead of wicket tester :)
-igor
On Tue, Sep 4, 2012 at 12:07 PM, Alec Swan alecs...@gmail.com wrote:
This makes me wonder how many big apps actually migrated from 1.4 to
1.5 (instead of starting from scratch) if this problem has never been
discovered. I also
.
In 1.4 it was simple with
putClassAlias(com.myco.app.res.GlobalResourceScope, global).
How can I do this with 1.5?
Thanks,
Alec
On Tue, Sep 4, 2012 at 10:59 AM, Alec Swan alecs...@gmail.com wrote:
Tom,
I have com.myco.app.res.GlobalResourceScope.class and events.js in the
same package. So
http://../global/js/common.js and http://../global/js/styles.css?
Thanks,
Alec
On Tue, Sep 4, 2012 at 5:10 PM, Martin Grigorov mgrigo...@apache.org wrote:
On Tue, Sep 4, 2012 at 11:17 PM, Alec Swan alecs...@gmail.com wrote:
Well, mountPackage did not work for me either.
Basically, what I want
its #getName() to read
the name from the request path/parameters
mountResource(/global, new MyPRR())
On Thu, Sep 6, 2012 at 7:57 PM, Alec Swan alecs...@gmail.com wrote:
In 1.4 I had the following classes in com.myco.app.res package:
GlobalJavascriptResourceReference extends
I just ran into another problem with type resolution. In fact, it
looks like a bug in org.apache.wicket.util.lang.Objects#convertValue.
The call convertValue(nonNullNonArrayValue, Object.class) will always
return null if nonNullNonArrayValue is a value that is not null and
not an array!
Is that a
in 1.5.9?
Alec
On Thu, Sep 6, 2012 at 2:41 PM, Alec Swan alecs...@gmail.com wrote:
I just ran into another problem with type resolution. In fact, it
looks like a bug in org.apache.wicket.util.lang.Objects#convertValue.
The call convertValue(nonNullNonArrayValue, Object.class) will always
return null
Besides calling #setType() do you actually use generics with your models and
components?
Sorry, don't quite understand the question. I am not calling setType()
hence the problems with type detection in Wicket. Why is it important
if I use generics if they are only compile-time syntactic sugar?
// Via generics
Paul, I am not seeing this comment in the actual code. I am assuming
that you added this comment to clarify something for me, but I am not
getting it.
Thus if you use generics your problem would most likely go away
Are you saying that Wicket has a different code path for models
Hello,
I decided to extract this issue into a separate thread.
I keep running into issues with default type converters in 1.5. I also
think I found a bug in
org.apache.wicket.util.lang.Objects#convertValue. A call to
convertValue(nonNullNonArrayValue, Object.class) will always return
null if
As you must have figured it out by now if you do not specify a type for the
form field then Wicket converts the input via
FormComponet#convertValue(getInputAsArray()) which is what your code hits
and the type passed to it is not Object.class but rather String[].
I just opened a new thread
An easy fix for this bug is to change the first line in
org.apache.wicket.util.lang.Objects#convertValue from
Object result = null;
to
Object result = value;
Thanks,
Alec
On Sat, Sep 8, 2012 at 1:02 PM, Alec Swan alecs...@gmail.com wrote:
I attached a quickstart with a test in TestHomePage
to it:
if (toType.isInstance(value))
{
result = toType.cast(value);
}
Please open an issue in Jira.
Sven
On 09/08/2012 09:11 PM, Alec Swan wrote:
An easy fix for this bug is to change the first line
for creating the issue.
Sven
On 09/09/2012 09:22 AM, Alec Swan wrote:
Here is a new JIRA https://issues.apache.org/jira/browse/WICKET-4755
I added the following code in my application class to implement what
you recommended as a fix. Maybe this will help other people who run
into this problem
I had pretty good luck with JRebel. In addition I use
RemoteSyncronizer IntelliJ plugin to automatically copy HTML/JS/CSS
files from my source tree to webapp deployment dir.
Alec
On Sun, Sep 9, 2012 at 11:36 AM, Michael Mosmann mich...@mosmann.de wrote:
I have used run-jetty-run as eclipse
Perfect, thanks for your help!
On Sun, Sep 9, 2012 at 3:13 PM, Sven Meier s...@meiers.net wrote:
Sorry, my statement was wrong:
If you register your converter for Object and Serializable, everything
should be fine.
Sven
On 09/09/2012 07:21 PM, Alec Swan wrote:
In which case can it cause
Any update on this? How can I mount CSS and JS resources under
/global/ without having to do a mountResource() for every such file?
Thanks,
Alec
On Thu, Sep 6, 2012 at 12:07 PM, Alec Swan alecs...@gmail.com wrote:
But I want JavaScript files to be compresses by
JavaScriptResourceReference
I take it by global you mean http://myServer:###/myWebApp/global?
Yes.
If so, why don't you just add the folder to the root of your war?
Good point, I could do that, but I'd rather keep my current folder structure.
So, does it mean that putClassAlias functionality is gone in 1.5?
Thanks,
either from scratch
or extending an existing one :)
http://wicket.apache.org/apidocs/1.5/org/apache/wicket/request/resource/IRes
ource.html
~ Thank you,
Paul Bors
-Original Message-
From: Alec Swan [mailto:alecs...@gmail.com]
Sent: Tuesday, September 11, 2012 11:42 AM
To: users
at 5:43 PM, Alec Swan alecs...@gmail.com wrote:
Paul, I looked at IResource and ResourceReference classes but still
can't figure out how to implement an alternative to putClassAlias.
In 1.4 you could do putClassAlias(GlobalResourceScope.class, global)
and after that all new ResourceReference
PackageResourceReference IS-A ResourceReference and neither has a no-arg
constructor.
My point exactly. That's why I can't just do mountResource(/global,
new MyRR()) as Martin suggested.
To see examples of how to implement your own PackageResourceReference take a
look at its children such as
...@christophleiter.com wrote:
On 12.09.2012 21:38, Alec Swan wrote:
PackageResourceReference IS-A ResourceReference and neither has a no-arg
constructor.
My point exactly. That's why I can't just do mountResource(/global,
new MyRR()) as Martin suggested.
My quick try:
public class
Maybe you could simply use
response.renderCSSReference(getRequest().getContextPath() +
/global/css/styles.css);
or is there a problem with it?
That didn't fix request.getUrl().toString() returning an empty string
when called from ResourceReference.getExtension()
Martin, I tried and came back :) Could you clarify how you suggest
response.renderCSSReference to pass parameters which are then
retrieved in ResourceReference#getName()
On Wed, Sep 12, 2012 at 4:26 PM, Alec Swan alecs...@gmail.com wrote:
Maybe you could simply use
response.renderCSSReference
) {
throw new
RestartResponseAtInterceptPageException(annotation.homePage());
}
}
}
return super.onException(cycle, ex);
}
}
Thanks,
Alec
On Fri, Jun 8, 2012 at 2:54 PM, Alec Swan alecs...@gmail.com wrote:
I also use this approach
to the default tab after he logs in on
HomePage.
Thoughts?
Thanks,
Alec
On Wed, Sep 26, 2012 at 12:52 AM, Martin Grigorov mgrigo...@apache.org wrote:
You have to return a IRequestHandler. See RenderPageRequestHandler
On Wed, Sep 26, 2012 at 1:45 AM, Alec Swan alecs...@gmail.com wrote:
I am
?
Thanks,
Ale
On Thu, Sep 27, 2012 at 1:18 AM, Martin Grigorov mgrigo...@apache.org wrote:
Make the TabbedPanel stateless by using BookmarkablePageLink.
P.S. Please start a new thread when you have new questions.
On Wed, Sep 26, 2012 at 10:56 PM, Alec Swan alecs...@gmail.com wrote:
Thanks
I'd like to clarify that we have a lot of pages mounted with
HybridUrlCodingStrategy, so I need to implement it in 1.5 without
knowing the names of parameters for each page.
Thanks
On Fri, Sep 28, 2012 at 4:47 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
What's the best way to implement
.
WebApplication#mountPage() uses it.
On Sat, Sep 29, 2012 at 1:51 AM, Alec Swan alecs...@gmail.com wrote:
I'd like to clarify that we have a lot of pages mounted with
HybridUrlCodingStrategy, so I need to implement it in 1.5 without
knowing the names of parameters for each page.
Thanks
On Fri, Sep
Thanks, but I mentioned above that we have a lot of pages mounted
which take different parameters. So I need to accomplish this without
specifying parameter names explicitly.
On Sat, Sep 29, 2012 at 10:44 AM, Carl-Eric Menzel
cmen...@wicketbuch.de wrote:
On Sat, 29 Sep 2012 09:54:27 -0600
Alec
:
It seems you actually used *Indexed*HybridUrlCodingStrategy.
To have this you need UrlPathPageParametersEncoder. See MountedMapper
constructors.
On Sat, Sep 29, 2012 at 7:51 PM, Alec Swan alecs...@gmail.com wrote:
Thanks, but I mentioned above that we have a lot of pages mounted
which take
I am wondering why default URL encoding strategy was changed from
indexed to query parameters? What was the reasoning behind this
decision?
Thanks,
Alec
On Sun, Sep 30, 2012 at 10:42 AM, Alec Swan alecs...@gmail.com wrote:
Perfect, thanks! Might be a good idea to put this on
https
was
/param1Name/param1Value/param2Name/param2Value. Was there a reason why
it was changed to encoding parameters in the URL query string?
Thanks,
Alec
On Mon, Oct 1, 2012 at 2:06 AM, Martin Grigorov mgrigo...@apache.org wrote:
Hi,
On Sun, Sep 30, 2012 at 7:42 PM, Alec Swan alecs...@gmail.com wrote
Hello,
This Wiki page explains how to add custom CSS styles to Feedback
messages in 1.4+:
https://cwiki.apache.org/WICKET/css-enabled-feedback-panel.html
Basically, it suggests that you override
FeedbackPanel#newMessageDisplayComponent(..) method and add the custom
CSS class to the component
Note that I need to set CSS styles on the label (span) and not the
list item (li) and hence cannot override getCSSClass() because it is
applied to both.
On Sat, Oct 20, 2012 at 2:58 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
This Wiki page explains how to add custom CSS styles to Feedback
Technically it should be getListItemCSS, not getListCSS. Or maybe have
all three getListCSS, getListItemCSS and getLabelCSS
On Mon, Oct 22, 2012 at 12:46 PM, Sebastien seb...@gmail.com wrote:
Done, https://issues.apache.org/jira/browse/WICKET-4831
Please let me know if your encounter any issue
list
but I don't remember who... So there is a credit for someone somewhere :)
On Tue, Oct 23, 2012 at 9:15 PM, Alec Swan alecs...@gmail.com wrote:
Technically it should be getListItemCSS, not getListCSS. Or maybe have
all three getListCSS, getListItemCSS and getLabelCSS
On Mon, Oct 22, 2012
I suggest that instead of overriding CSS class on the span you
APPEND it to existing CSS classes. This will allow the user to specify
their own span CSS class in newMessageDisplayComponent(..) AND will
support backward compatibility.
Sounds like a win-win to me. Thoughts?
Thanks,
Alec
On Wed,
So, the patch can be applied to 1.5.8 and will replace
label.add(levelModifier);
with
label.add(new AttributeAppender(class, replacementModel))
You may want to add AttributeAppender to li as well.
Alec
On Wed, Oct 31, 2012 at 4:33 PM, Alec Swan alecs...@gmail.com wrote:
I suggest that instead
(*) hazardous translation from French...
On Wed, Oct 31, 2012 at 11:37 PM, Alec Swan alecs...@gmail.com wrote:
So, the patch can be applied to 1.5.8 and will replace
label.add(levelModifier);
with
label.add(new AttributeAppender(class, replacementModel))
You may want to add AttributeAppender
...
Thanks in advance best regards,
Sebastien
(*) hazardous translation from French...
On Wed, Oct 31, 2012 at 11:37 PM, Alec Swan alecs...@gmail.com wrote:
So, the patch can be applied to 1.5.8 and will replace
label.add(levelModifier);
with
label.add(new AttributeAppender(class
equivalent as we spoke before, so that's fine for me. Well done!
Thanks again best regards,
Sebastien.
On Thu, Nov 1, 2012 at 11:57 PM, Alec Swan alecs...@gmail.com wrote:
@Sebastien The scenario you described it exactly the scenario I used
to start this thread. Please read my original post
Hello,
Our designer put together an HTML storyboard where navigation is
implemented with button onclick=window.location='NextPage.html'.
However, when we add a Wicket behavior to this button we start
receiving the following warning:
WARN [http-bio-8080-exec-10]
Is anybody merging this in 1.5.9?
On Fri, Nov 2, 2012 at 11:37 PM, miteshaegis mitesh.ae...@gmail.com wrote:
Hi,
You can use set of div class and set css on div class easily.
Thanks!
-
JBoss Developers || JBPM Workflow
--
View this message in context:
Hello,
I have a base page mounted at /app/root URL. This page loads and pops
up a modal dialog (DIV) which content is loaded from /app/root/dialog
URL. All links on the dialog are relative to the dialog URL and not
base page URL. However, the browser resolves relative links against
base page URL
()));
}
Please let me know if there is a problem with this approach.
Thanks,
Alec
On Mon, Nov 5, 2012 at 2:09 PM, Alec Swan alecs...@gmail.com wrote:
Hello,
I have a base page mounted at /app/root URL. This page loads and pops
up a modal dialog (DIV) which content is loaded from
Hello,
After we migrated from 1.4.x to 1.5.x my
CachingSunJceCryptFactory.newCrypt().decryptUrlSafe(encodedStr)
started returning null. In 1.4.x the same encodedStr parameter was
decrypted without problems. We did not change the Java version and are
still on 1.6.20.
I debugged into
, Alec Swan wrote:
Hello,
After we migrated from 1.4.x to 1.5.x my
CachingSunJceCryptFactory.newCrypt().decryptUrlSafe(encodedStr)
started returning null. In 1.4.x the same encodedStr parameter was
decrypted without problems. We did not change the Java version and are
still on 1.6.20.
I
what is the salt that you use?
because we use the session specific key, but that can also already be used
like that in 1.4 is it maybe a different default so that you now use a
session key as salt?
We did not change the encryptionKey in cryptFactory = new
It turned out that
RequestCycle.get().getUrlRenderer().renderFullUrl(..) always returns
URL starting with http://localhost:8080 even when I deploy my on the
DEV server.
Has anyone experienced this issue?
Thanks,
Alec
On Tue, Nov 6, 2012 at 9:31 AM, Alec Swan alecs...@gmail.com wrote:
To solve
12, 2012 at 8:46 AM, Alec Swan alecs...@gmail.com wrote:
It turned out that
RequestCycle.get().getUrlRenderer().renderFullUrl(..) always returns
URL starting with http://localhost:8080 even when I deploy my on the
DEV server.
Has anyone experienced this issue?
Thanks,
Alec
On Tue, Nov 6
at 8:51 AM, Martin Grigorov mgrigo...@apache.org wrote:
This is the reason why Wicket works with relative urls.
The absolute ones do not work well behind proxies.
On Mon, Nov 12, 2012 at 5:46 PM, Alec Swan alecs...@gmail.com wrote:
It turned out that
RequestCycle.get().getUrlRenderer
Does anybody have thoughts on this? Was this broken on 1.5?
On Sun, Nov 11, 2012 at 4:39 PM, Alec Swan alecs...@gmail.com wrote:
what is the salt that you use?
because we use the session specific key, but that can also already be used
like that in 1.4 is it maybe a different default so
I used this approach
https://cwiki.apache.org/WICKET/requestcycle-in-wicket-15.html to
retrieve the last page instance from request cycle.
1. Register handler in your Application:
getRequestCycleListeners().add(new PageRequestHandlerTracker());
2. Retrieve page as follows:
IPageRequestHandler
I had a similar problem and considered Martin's approach, but ended up
creating a div wicket:id=myVar class=myVarvar value/div on my
page and accessed it from JS file using $(div.myVar).text() or
something like that.
The advantage of div approach is that you can test it statically
without
Hello,
I have a bootstrap toggle button which the user can use to open and close
TinyMCE editor. When the page is rendered I would like the TinyMCE editor
to be closed and when user clicks on the toggle button - open.
Note that twitter bootstrap button needs to know
Andrea, thank you for a good pointer. The thing I am struggling with is
adding class=collapse to the xxx_wrapper_component which seems to be
created by TinyMCE JavaScript after my Wicket code can add
AttributeModifier or even invoke $('# + getAjaxRegionMarkupId() +
').css('class', 'collapse');.
I am on Wicket 1.5.9 using WicketStuff 1.5.9.1.
I ended up overriding TinyMceBehavior#beforeRender in order to inject
class=collapse on the TinyMCE wrapper DIV. Can you think of a cleaner
solution?
@Override
public void beforeRender(Component component)
{
I noticed that TinyMce plugin in WicketStuff 1.5.9.1 packages an old
version of TinyMce. Does anybody know what is the latest TinyMce Wicket
plugin release compatible with Wicket 1.5.9?
Thanks,
Alec
On Tue, Jul 23, 2013 at 2:13 PM, Alec Swan alecs...@gmail.com wrote:
I am on Wicket 1.5.9
201 - 291 of 291 matches
Mail list logo