We are developing an application with forms and currently using wicket
1.4.18.
There are primarily two issues that we are struggeling with when upgrading
to wicket 1.5.2.
Let's say we open Page A in two tabs, first Tab1 and then Tab2. If we fill
the form in Tab1 and submit it will be valid data
Hello Seb,
Thanks for answering back to my email quickly. I'm glad to hear support for
Chrome, but are you also supporting, at least trying to support IE7 and above?
Many thanks and regards,
Soheb
- Original Message -
From: "Sebastian"
To: users@wicket.apache.org
Sent: Wednesday, 26 Oc
On 26 Oct 2011, at 11:57, Wilhelmsen Tor Iver wrote:
>> It seems to me that Wicket should detach its models again after events have
>> triggered, in addition to after rendering has completed. That > would reset
>> the state of all models to what the developer expects it to be before
>> render
On 26 Oct 2011, at 12:14, Sven Meier wrote:
> Hi,
>
>>> Or use a separate LDM for each of your list items
>> I'm not sure I understand what you mean here. Could you illustrate?
>
> your LDM seems to return a list of items and you're iterating over them with
> a ListView. Note that ListView use
Hi,
I think Page.renderCount is what stops the storing of the values.
This flag indicates that the page the user uses is stale, i.e. there
is another render of the same page happened after.
The actual check is in PageProvider class.
I don't see any clean solution for now.
What should happen if t
I am trying to put a link inside an AjaxLazyLoadPanel using
BookmarkablePageLink and Label. However, I always run into a "close tag not
found" error.
Here's my Java code:
add(new AjaxLazyLoadPanel("itemcnt"){
@Override
public Component getLazyLoadComponent(String id){
int count
On Thu, Oct 27, 2011 at 10:25 AM, codix wrote:
> I am trying to put a link inside an AjaxLazyLoadPanel using
> BookmarkablePageLink and Label. However, I always run into a "close tag not
> found" error.
> Here's my Java code:
>
>
> add(new AjaxLazyLoadPanel("itemcnt"){
> @Override
> public C
I think you forgot to close the following
link.add(new Label(""+count)*)*;
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Bookmarkable-link-within-AjaxLazyLoadPanel-tp3943587p3943617.html
Sent from the Users forum mailing list archive at Nabble.com.
---
> Your HTML didn't make it.
> Better return a Panel/Fragment that contains the link+label.
it seems to be merged with the rich html mail. clicking on the link
below (nabble post), the html is perfectly visible. may it be
considered for next time ;-)
> > View this message in context:
> > http://a
Sorry about that.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Bookmarkable-link-within-AjaxLazyLoadPanel-tp3943587p3943642.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To u
On Thu, Oct 27, 2011 at 10:43 AM, manuelbarzi wrote:
>> Your HTML didn't make it.
>> Better return a Panel/Fragment that contains the link+label.
>
> it seems to be merged with the rich html mail. clicking on the link
> below (nabble post), the html is perfectly visible. may it be
> considered for
I would actually like to accept the data from both tabs as long as they are
valid.
The same effect should be available on back-button and changing values.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Multi-tabs-and-back-button-support-1-5-2-tp3943445p3943856.html
The only option is see is to make the check for stale page
configurable via IPageSettings for example.
On Thu, Oct 27, 2011 at 12:16 PM, Charlie Midtlyng
wrote:
> I would actually like to accept the data from both tabs as long as they are
> valid.
> The same effect should be available on back-but
Hi i have a problem. I have a popup that triggers on a page. If it contains
pageparameter popup it should trigger. The problem is that i want it to
disapear on the defaultdatatable paging. Becouse now everytime i press
something in the paging the popup popsup. Is there a way to override the
paging
On Thu, Oct 27, 2011 at 1:00 PM, midikem wrote:
> Hi i have a problem. I have a popup that triggers on a page. If it contains
> pageparameter popup it should trigger. The problem is that i want it to
> disapear on the defaultdatatable paging. Becouse now everytime i press
> something in the paging
Hello all,
I would like to ask is it possible to add multiple authorize actions on one
class.
It would mean that in case the user has role (i.e.) "Admin" component is
enabled and rendered, for role "user" component is disabled and rendered,
and for role "guest" component is not rendered.
Kind of
On Thu, Oct 27, 2011 at 1:23 PM, nebojsa.nedic
wrote:
> Hello all,
>
> I would like to ask is it possible to add multiple authorize actions on one
> class.
>
> It would mean that in case the user has role (i.e.) "Admin" component is
> enabled and rendered, for role "user" component is disabled and
You can't have two of the same annotations on the same target. You would
need an @AuthorizeActions which would group them together. Or, check out
how we handled this in wicketopia (shameless plug). :-)
Sent from tablet device. Please excuse typos and brevity.
On Oct 27, 2011 7:23 AM, "nebojsa.
He had different actions
On Oct 27, 2011 7:32 AM, "Martin Grigorov" wrote:
> On Thu, Oct 27, 2011 at 1:23 PM, nebojsa.nedic
> wrote:
> > Hello all,
> >
> > I would like to ask is it possible to add multiple authorize actions on
> one
> > class.
> >
> > It would mean that in case the user has rol
This should work I guess?
http://wicket.apache.org/apidocs/1.5/org/apache/wicket/authroles/authorization/strategies/role/annotations/AuthorizeActions.html
Martijn
On Thu, Oct 27, 2011 at 2:41 PM, James Carman
wrote:
> He had different actions
> On Oct 27, 2011 7:32 AM, "Martin Grigorov" wrote:
That's what I said! :)
On Oct 27, 2011 8:44 AM, "Martijn Dashorst"
wrote:
> This should work I guess?
>
>
> http://wicket.apache.org/apidocs/1.5/org/apache/wicket/authroles/authorization/strategies/role/annotations/AuthorizeActions.html
>
> Martijn
>
> On Thu, Oct 27, 2011 at 2:41 PM, James Carm
I still got a problem. When i override onClick() and just try to logg
something out nothing happends.
@Override
protected PagingNavigationLink
newPagingNavigationLink(String id,
IPageable pageable, final int pageNumber) {
Hi,
We noticed this while running our application in an environment where firewall
blocks all connections to outside addresses.
Adding filterMappingUrlPattern parameter helped.
so for instance helloworld's web.xml
(http://wicket.apache.org/learn/examples/helloworld.html) would be something
lik
Hi,
i think have read (hopefully) all the posts about PageExpiredExceptions
(Serializable etc.).
I have a DropDownChoice, that updates a List of Links via Ajax (please see
code below).
After updating the List of Links or clicking on one of the links the *second
time* in IE8 i receive a different
I just read my email again and I sounded really rude when asking my question.
What I mean to ask was, out of curiousity, if you were trying to get the IE7
browser+ working?
I'm really sorry if I've offended you or anyone. I'm very embarrassed by that
tone in the email (it's not what I actually
On Thu, Oct 27, 2011 at 3:58 PM, Soheb Mahmood wrote:
> I just read my email again and I sounded really rude when asking my question.
> What I mean to ask was, out of curiousity, if you were trying to get the IE7
> browser+ working?
>
> I'm really sorry if I've offended you or anyone. I'm very e
hi Soheb,
no problem. I gave it a try this morning on IE9 and it also failed with
the current push version in trunk. I just committed a change that makes
it work in IE.
https://github.com/wicketstuff/core/commit/3e09edf3e21fdb039cdb844e88653ccfdd33a4c4
Regards,
Seb
On 27.10.2011 15:58, Soh
Thank you very much for your help.
Yes that helped - I did not know for this annotation.
This is the code how it looks like now:
@AuthorizeActions(actions = {
@AuthorizeAction(action = "ENABLE", roles = { "ROLE_ADMIN"
}),
@AuthorizeAction(action = "RENDER", roles
I am not sure about your example, but this is working and it might help.
Maybe there are better ways to do it as well.
String dateFormat = "dd.MM.";
DateTextField dateField = new DateTextField("date", new
PropertyModel(...), dateFormat);
startDateField.add(DateValidator.range(calMin.getT
On Thu, Oct 27, 2011 at 12:29 AM, Maarten Billemont wrote:
>
> On 26 Oct 2011, at 12:14, Sven Meier wrote:
>
>> Hi,
>>
Or use a separate LDM for each of your list items
>>> I'm not sure I understand what you mean here. Could you illustrate?
>>
>> your LDM seems to return a list of items and
hrm. i dont think the rendercount should prevent me from using the
page. if i write my application as a single page then our back button
support is completely hosed. i should be able to back button and
re-submit the form.
-igor
On Thu, Oct 27, 2011 at 3:20 AM, Martin Grigorov wrote:
> The only o
On Thu, Oct 27, 2011 at 5:48 PM, Igor Vaynberg wrote:
> hrm. i dont think the rendercount should prevent me from using the
> page. if i write my application as a single page then our back button
> support is completely hosed. i should be able to back button and
> re-submit the form.
As single pag
no, not necessarily ajax. simple links that instead of navigating to a
different page do panel replacement.
-igor
On Thu, Oct 27, 2011 at 8:51 AM, Martin Grigorov wrote:
> On Thu, Oct 27, 2011 at 5:48 PM, Igor Vaynberg
> wrote:
>> hrm. i dont think the rendercount should prevent me from using
On Thu, Oct 27, 2011 at 5:53 PM, Igor Vaynberg wrote:
> no, not necessarily ajax. simple links that instead of navigating to a
> different page do panel replacement.
ok
I think back button should not be harmed by the stale check.
@Charlie: can you create a quickstart, attach it to a ticket and
Wicket 1.5.1
I have a DropDownChoice with an
AjaxFormComponentUpdatingBehavior("onchange") behavior attached to it, when
a value is chosen in the dropdown the selected value is used to lookup data
via a service call and then update other textfields in the form. This works
great until you use the
> To be honest, I don't think the comparison matrix is that bad. I would
> consider a framework like Vaadin over Wicket if all I wanted a typical
> desktop style only (menu bar, content frames + layout manager, fancy
> widgets) only type of application, what they call "application
> oriented", espe
Ugh, I mean 'just do that in JavaScript'
On Thu, Oct 27, 2011 at 7:07 PM, Eelco Hillenius
wrote:
>> To be honest, I don't think the comparison matrix is that bad. I would
>> consider a framework like Vaadin over Wicket if all I wanted a typical
>> desktop style only (menu bar, content frames + la
On 27 Oct 2011, at 17:18, Igor Vaynberg wrote:
> On Thu, Oct 27, 2011 at 12:29 AM, Maarten Billemont
> wrote:
>>
>> On 26 Oct 2011, at 12:14, Sven Meier wrote:
>>
>>> Hi,
>>>
> Or use a separate LDM for each of your list items
I'm not sure I understand what you mean here. Could you
Here is the code:
http://pastebin.com/uQnU464W http://pastebin.com/uQnU464W
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Bookmarkable-link-within-AjaxLazyLoadPanel-tp3943587p3946743.html
Sent from the Users forum mailing list archive at Nabble.com.
--
Hi,
did you already try a call to form.modelChanged() in onUpdate?
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxFormComponentUpdatingBehavior-broken-after-invalid-submit-tp3945964p3946955.html
Sent from the Users f
On Fri, Oct 28, 2011 at 7:22 AM, Hans Lesmeister 2
wrote:
> Hi,
>
> did you already try a call to form.modelChanged() in onUpdate?
form.modelChanging() is even more important because it marks the page
as dirty and thus saves the new state of it at the end of the request
>
> -
> --
> Regards,
41 matches
Mail list logo