Wicket version: 6.7.0
I need to get the url parameters even if there is a #, because I have an
AngularJS app running inside my Wicket page, which requires it. E.g.:
mysite.com/myapp/#/john. "John" is shown by Wicket and AngularJS.
However if there is a # in the url, the PageParemeters object comes
Sorry, I forgot to mention that there are no Java classes inside that
project, so is it even possible to reference those assets?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/css-and-js-files-in-subproject-tp4664775p4664799.html
Sent from the Users forum mailing list
hi,
I got a Wicket application set up with Maven. It has a sub project (jar
type) with all the assets. How can I load them in my application?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/css-and-js-files-in-subproject-tp4664775.html
Sent from the Users forum mailing
has anyone been able to get around the flicker issue when getting the client
timezone from WebSession#getClientInfo in a painless way?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/client-timezone-and-flickering-tp4661284.html
Sent from the Users forum mailing list
I've got a listener that does the error handling in Wicket 6.6.0 and I want
to keep the current url instead of replacing it with the url of the error
page. Anyone
Help is appreciated.
Carlos.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-preserve-current-u
I added an ajax behavior to maintain the session alive. However in certain
cases the page can still expire and the session can still be lost, so I'm
showing an error modal using #getFailureScript(). But I'm facing a problem,
which is, for example, when the user refreshes the page the failure script
ok, that was already implemented:
*
public void renderHead(IHeaderResponse response){
super.renderHead(response);
WebRequest request = (WebRequest)
RequestCycle.get().getRequest();
if (!stopped && (!headRendered || !request.isAjax())) {
I created a very similar class to AbstractAjaxTimerBehavior, with the
difference that I'm using setInterval instead of setTimeOut in
#getJsTimeoutCall and I'm assigning a variable name to it, so that I can use
the clearInterval in #getFailureScript , the problem I got is that in the
response envelo
I have a panel that's too heavy so I'm using an an AjaxLazyLoadPanel to lazy
load it. That panel is being reloaded on every Ajax call that rerenders the
containing panel , but now I want to use lazy loading just once the page is
loaded, and when rerendering the containing panel I want to use a regu
So, we are in 2012 now. Anyone has any diagram accurate enough to show in a
meeting? I'm looking for Wicket 1.4, but any other version can be useful
too.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-architecture-diagram-tp1884376p4631021.html
Sent from the Us
I think I've done it.
I created a MaskedUrlCodingStrategyDecorator that extends from
BookmarkablePageRequestTargetUrlCodingStrategy, placed it in the same
package, and overrode CharSequence encode(IRequestTarget requestTarget), and
used a regular BookmarkablePageLink
--
View this message in contex
The problem is that we have a brand new Wicket app, but we have a bunch of
legacy urls that point to different sub domains that the business wants to
preserve. So when the web server sees one of those urls there is a
redirection to the app and that url is preserved, but in the app we have our
own m
So, no risk of a poor user experience?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/getting-client-s-TimeZone-and-performace-tp4590597p4591533.html
Sent from the Users forum mailing list archive at Nabble.com.
---
when setting getRequestCycleSettings().setGatherExtendedBrowserInfo(true),
"it lets Wicket do a sneaky redirect to BrowserInfoPage (and back again)" to
get the extended browser info including the timezone from the client.
I wanted to know if that occurs on every request or just once per session
'
I can't use that TextTemplateResourceReference 'cause the style and locale
are set to null by default in the constructors and the filename passed to
PackagedTextTemplate is exactly the one passed in the constructor.
See:
public TextTemplateResourceReference(final Class scope, final String
fileName,
Hi Martin,
for more context what I need is "full" localization support for js
templates, similar to the support provided for components:
1- by allowing to have localized js template files per page. E.g.: my.js,
my_es.js, my_fr.js
2- by automatically solving messages in the template (without passing
Oh no.
What I need is to be able to support something like the following, but for
TEMPLATES, 'cause I want to localize them:
public void renderHead(IHeaderResponse response) {
response.renderJavascriptReference(new ResourceReference(
MyPage.class, "my.js", getLocale(), getStyle())
There is already localization and styles support for resource references, but
I haven't seen that type of support for in text templates. Any ideas on how
it can be implemented??
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/support-for-L10N-in-templates-tp4479741p447
I'm creating a js template for each page in my app and added some l18n
support.
Here is an example:
var someData = {
'msg'='${message:hello}';
'a'='${message:min}';
'b'='${message:max}';
}
I've considered localizing each template instead, but since the js changes
very often, I still wan
I have the exact same issue.. What did you decide for your problem?
I'm trying to decide now what the best approach is. Two of my options were
exactly the ones you describe to improve your design, but the one that I
currently have is a template, which looks like this:
var someData= {
'msg'='${m
modal windows won't open when the session has expired. So if this occurs, I
was thinking of somehow refreshing the page and try opening the modal
automatically.
I want to explore solutions before going stateless. Any idea how this can be
accomplished?
--
View this message in context:
http://apach
Actually the Apache rules are already set, but my issue is a bit different: I
need the bookmarkable links to show the required urls now.. These urls may
be even point to a different domain, but I don't want to be too invasive by
replacing my BookmarkablePageLinks with ExternalLinks.
I was thinking
After migrating part of a website, which is in multiple platforms, the
business requires the urls to be preserved, which are different from the new
ones...
E.g.:
New url: http:/www.example:8080/app/customer/john
Required url: http:/www.example/john
Basically the web server routes the urls to the n
I decided to remove the link component from the Paginator and attach it to a
container and then add the container to the Paginator... Maybe the least
worst option.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PagingNavigator-container-instead-of-link-for-previous-an
That won't work... That's why I took the time to explain that the class name
has to be applied to to "li" and not to the actual link.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PagingNavigator-container-instead-of-link-for-previous-and-next-tp4192293p4194721.html
I extended Pagingavigator and the markup for the previous (and next) button
looks like this:
Enabled state (current page > 0)
# Prev
Disabled state (current page == 0)
# Prev
PagingNavigator creates a link
What type of path expression can be used to get a component which is inside a
repeater?
So is there an expression like "somPanel.listView[0].label" that can be
used? I mean, something like:
MarkupContainer.get("somPanel.listView[0].label") ?
--
View this message in context:
http://apache-wicket
I have created AjaxPagingNavigation which is supposed to update a
DataView The problem is that when clicking on a page number link to go
to another page, the data view does not get updated.
When the page is loaded for the first time there are no problems.. but when
clicking on the page number
I've got staleless paging navigation that stores stuff in the page
parameters. Now I need to create its AJAX version...
When creating the AjaxPagingNavigation.newPagingNavigationLink I realized it
returns a Link instance instead of an AjaxLink or AbstractLink
(PagingNavition returns an AbstractLi
I cannot replace it at this point of the development... I just need to able
to get accurate date from its model object. Also I really want to learn how
to accomplish this.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Models-in-a-FormComponentPanel-tp4090377p4091990
I've created a FormComponentPanel to represent the current time which
consists of 3 drop downs for hour and minute and meridiem.
The model object of the FormComponentPanel is a Date object and the model of
the drop down represents the selected option, but I need to change the model
object in my com
I've got simple wizard implemented as a JS slider. In some steps there is a
skip button and in the last step you can save the data. So this is actually
just a form with controls in every slide, and the data in the steps that
were skipped must not be saved when submitting the form.
What I wanna do i
Hi,
I have wicket TextField. The input is read only and its text is changed by a
Javascript component...
So my question is: how can I set the model object to its new value set by
JS?
The problem as you know is that when trying to submit I get an error because
the object is null:
java.lang.Illegal
33 matches
Mail list logo