FWIW, this is happening because version/ is omitted in generated pom.xml
plugin/ tag. To fix:
change
plugin
groupIdorg.mortbay.jetty/groupId
artifactIdmaven-jetty-plugin/artifactId
I have a component whose parent does this:
class Parent extends Panel
private Component child;
onBeforeRender()
{
child.setVisibilityAllowed(false);
super.onBeforeRender();
}
I would expect child's onBeforeRender() to not be executed but it is,
because Component.internalBeforeRender calls
JIRA filed: https://issues.apache.org/jira/browse/WICKET-1954
Apologies, but I am not setup to create a quick-start. Hopefully,
description is precise enough.
-
Nikita Tovstoles
vside.com
--
View this message in context:
Our production servers running tomcat6, JVM 1.6 and Wicket 1.3.4 are running
out of PermGen space after a couple of hours an a few thousands requests,
eventually resulting in cannot detach Request from Session exceptions
followed by PermGen OOM. We are NOT reloading app contexts - appservers are
Is there a list of all possible message bundle resource keys that wicket
1.3.4 recognizes?
I thought it's: name of class implementing IValidator sans trailing
Validator but then there are Required and LengthValidator keys so I
guess not...
thanks!
-nikita
-
Nikita
Is it whatever AbstractValidator.resourceKey() returns?
dukehoops wrote:
Is there a list of all possible message bundle resource keys that wicket
1.3.4 recognizes?
I thought it's: name of class implementing IValidator sans trailing
Validator but then there are Required
Does anyone have a copy of this (or any other) Ajax file upload example?
The attachment mentioned below does not open.
thanks
-nikita
Carlos Pita-4 wrote:
Hi all,
here is a hopefully functional example showing how to use an iframe to
upload a file and afterwards call a behavior on a
Hi,
I created a component MyRadioGroup that extends RadioGroup (has two Radios
inside). I cannot figure out what to put in MyRadioGroup.html. The following
does not work because it expects MyRadioGroup to be a Panel:
wicket:panel
input wicket:id=radio1 type=radio/
input wicket:id=radio2
The following code works (have unit tests) but I would appreciate a code
review from someone.
Legend
MyPojo - bean backing up form
MyProperty - another POJO that is property of MyPojo (MyPojo has field
'myProperty' of type MyProperty)
MyFormComponent - custom form component that
I thought that as well, but turns out in that case
MyFormComponent.getModelObject() returns MyPojo, and NOT MyProperty. That
presents two problems:
-MyFormComponent does not really need to know of MyPojo to begin with (what
if MyProperty is obtained some other way)
-in
I made my component a subclass of FormComponentPanel and overrode
convertInput(). However when form containing this formComponentPanel is
submitted, panel's convertInput method is never called.
As result panel displays correctly, but changes are lost on submission. Any
ideas?
-
Sure, here it is below. Test selects a non-default value from
'publicLocationChoices' drop down. Problems are:
-on form submit, LocationSelectionPanel.convertInput() is not called (have
breakpoint there)
-in debugger, I can see dropDown's rawInput changing on form submit, but
model's object
It is not easy for me to check whether this component functions outside of
test harness at the moment (dependency issues) but I will do so tomorrow.
In the mean time, debugging the unit test further I can tell that:
radioGroup and DropDownChoices are the only components that get called by
I'd like to create a component that consists of:
-radio
-dropdown choice
The component would be part of a RadioGroup, drop down should only be
enabled when radio is selected. The component, radio, and dropdown's
getModelObject() would return same MyBean pojo (Dropdown's is displaying a
list of
You mean check the convertedinput() of radiogroup not radio, correct?
igor.vaynberg wrote:
the easiest way to do this would be to make your component a
formcomponentpanel
then you have
formcomponentpanel
-radiogroup
--radio1
--radio2
-dropdown
and in your fcp's convertinput()
igor.vaynberg wrote:
you can add the link to a fragment, and then add the fragment to the
column.
I did the above and it worked like a charm. Thanks and -again - nice job on
the framework!
-
Nikita Tovstoles
vside.com
--
View this message in
The problem may be same as here:
http://jira.springframework.org/browse/SPR-4480
Unfortunately, Spring's fix created seems to be JSF-specific, so I guess it
is not possible to have a Wicket error page that accesses Spring context and
is forwarded to using ERROR dispatcher because:
-
This code:
ExternalLink profileLink = new ExternalLink(componentId,
profileURL, dto.getUserName());
profileLink.setPopupSettings(new PopupSettings());
Produces this markup:
NOTE: ',' replaced with '[,]'
[span onclick=var w =
I see, but in this case I didn't provide any markup. ExternalLink is being
added in a PropertyColumn.populateItem method to a (cell) Item of
PropertyColumn of a DataTable. The markup is solely this:
[table wicket:id=filter-data cellspacing=0
cellpadding=2 class=grid
I have a ChoiceFilteredPropertyColumn displaying enum values (as part of
AjaxFallbackDefaultDataTable). Column itself renders same enum as bean
property. On dropdown update form submits, and - via debugger - I can see
that filter state gets updated to new enum selection. However rows with
Excellent point! Perhaps (assuming that code review for non-serializable
state is not possible in the near term) we should replace DiskPageStore with
InMemoryPageStore (that we'd write). Do you know where DiskPageStore
actually stores this data - I'd like to check out that file size in our
Hi,
My webapp's session-timeout is set to 30 minutes but some ajax requests
result in PageExpiredExceptions if AjaxSubmitLinks are clicked after about 5
minutes of inactivity.
Is there a timeout value for ajax requests (or page expiration timeout
values) that is distinct from HttpSession's
Hi,
We're developing our (social networking ;- ) site using wicket talking to
our Spring-managed services layer. We're going to need to provide content
management features for our internal users (admins, moderators, marketers)
and I'm exploring possible solutions.
I realize we can build our
Implemented a SimplePageAuthorizationStrategy; works but there is a gotcha:
Say the home page has a (non-ajax) login form:
1. unauthenticated users navigates to home page and is authorized
2. user submits valid login info.
3. At this point I'd assumed Home page would be re-requested (does wicket
profile
page
-nikita
Eelco Hillenius wrote:
If it is intercepting what you're after (like you'd do when enforcing
authorization), look at IComponentInstantiationListener. What is your
use case?
Eelco
On 10/16/07, dukehoops [EMAIL PROTECTED] wrote:
Hi,
I'd like to redirect requests
I'm seeing the same problem.
My markup:
wicket:container id=loginInfoContainer
[userName]
!--Hello,
#
[userName]
/a--
/wicket:container
Code:
//in
Duh, my markup was wrong! should have been wicket:container wicket:id
dukehoops wrote:
I'm seeing the same problem.
My markup:
wicket:container id=loginInfoContainer
__span wicket:id=userNameLabel[userName]/__span
once I fixed my markup typo everything worked fine - so nothing to fix here.
-nikita
igor.vaynberg wrote:
submit a quickstart and make sure you are trying against trunk
-igor
On 10/5/07, dukehoops [EMAIL PROTECTED] wrote:
Duh, my markup was wrong! should have been wicket:container
Hi,
I'm evaluating Wicket as a potential replacement for JSF and have a question
(tried searching, read wiki):
What is the lifespan of a WebPage / Panel subclass instance? In JSF,
page-backing beans can be request/session/app scoped. I read that Wicket is
an unmanaged framework. Does that mean
I'm a complete newbie to wicket (coming from JSF, Swing world) and am in
process of building small examples as part of framework eval.
I'm looking for a framework that'd make it easy to integrate arbitrary JS ui
components. Let's say Y!UI or Script.aculo.us develops a new
super-accordion (or
On 10/3/07, dukehoops [EMAIL PROTECTED] wrote:
Hi,
I'm evaluating Wicket as a potential replacement for JSF and have a
question
(tried searching, read wiki):
What is the lifespan of a WebPage / Panel subclass instance? In JSF,
page-backing beans can be request/session/app scoped. I read
31 matches
Mail list logo