Chaps,
We have a requirement to customize certain pages depending on the
installation. My approach is to subclass the pages needing customization
and put the difference in the subclass. Then a bit of installation
specific config overrides the normal destination page and returns a
different one.
T
the most authorative might be the javadoc in the code:
http://fisheye6.atlassian.com/browse/wicket/trunk/wicket/src/main/java/org/apache/wicket/settings/IPageSettings.java?r=768578#l53
mf
Am 05.05.2009 um 00:25 schrieb Eyal Golan:
In short,
what does it mean exactly "Multi Window Support" ?
On 05/05/2009, at 1:28 AM, Alan Garfield wrote:
The hack I have with maven
at the moment properly constructs the war by copying all the .html
files
into the classes folder for Wicket to find...
What 'hack' do you need for Maven to include the HTML in the classes
directory? Presumably,
Hello,
I have downloaded the yui-examples-1.4-20090427.160726-141.war file.
The sliders cannot be moved with the mouse and rather behave static.
Moreover, the javascript error yahoo.widget.slider is null is reported.
It seems that some js files are missing.
Is there a workaround/u
Hey,
I have a ModalWindow with an Ajaxified form.
Upon a successful submitting, a data table in the original
panel that caused the modalwindow to be appeared is getting updated.
The problem is the close button of the ModalWindow is not working,
I mean the window isn't getting shut down.
editCont
> Separates the code from the templates so the designers don't have to
> checkout the whole project, also keeps all the content in one directory.
> Even though they are dynamic template files for wicket there is a
> certain amount of static stuff that would be nice to be in one place.
>
If you sim
Hi. Im having some problems with IE 7 and the UploadProgressBar in a
Wizard. It seems to have some limits in my special case.
Inside my WizardStep constuctor I have this code:
public class MyWizardStep(SomeValues){
super(SomeValues);
setOutputMarkupId(true);
Form uploadForm = new F
I've got the following exception:
Caused by: java.text.ParseException: Same attribute found twice: url
at
org.apache.wicket.markup.parser.XmlPullParser.parseTagText(XmlPullParser.java:636)
when the markup contains an object tag with a JSON encoded into param tag:
On Tue, 2009-05-05 at 08:32 +0100, Steve Swinsburg wrote:
>
> On 05/05/2009, at 1:28 AM, Alan Garfield wrote:
>
> >
> > The hack I have with maven
> > at the moment properly constructs the war by copying all the .html
> > files
> > into the classes folder for Wicket to find...
>
> What 'hack'
On Tue, 2009-05-05 at 03:03 -0500, Luther Baker wrote:
> > Separates the code from the templates so the designers don't have to
> > checkout the whole project, also keeps all the content in one directory.
> > Even though they are dynamic template files for wicket there is a
> > certain amount of st
check this
http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html
El lun, 04-05-2009 a las 22:54 -0700, Douglas Ferguson escribió:
> I just figured out that the deal is that SWFObject doesn't like to be set
> visible false on page load then visible true via Ajax.
>
> Any thoughts on how
I think the exception "org.apache.wicket.WicketRuntimeException: No
get method defined for class: class java.lang.String expression: id"
means that Wicket is looking for the getId() method from String, not
from your own SelectOption.
Br,
Juha
On Tue, May 5, 2009 at 4:48 AM, Phillip Rhodes wrote:
Hi all,
I want to display the choices in a CheckBoxMultipleChoice component in
two columns, like in a GridView. Currently the CheckBoxMultipleChoice
generates an element (checkbox), a element for the
checkbox and a element (I'm using wicket 1.3.4). I want it to
generate the choices in a tab
Try adding a selectoption in you 'backingbean'. The Dropdown choice want to
'bind' it self to the same type of property in the model as in the List that
you fill it with. If you use the generics on the dropdown it will be much
clearer.
Jens Alenius
Juha Palomäki wrote:
>
> I think the excepti
Seems like you are using the wrong approach to this, did you see the
examples on how it's working?
2009/5/5 HHB :
> Hey,
> I have a ModalWindow with an Ajaxified form.
> Upon a successful submitting, a data table in the original
> panel that caused the modalwindow to be appeared is getting updated
So, you want the codes to be the values? Why not use a map-based
renderer as opposed to creating a whole new class?
On Mon, May 4, 2009 at 9:48 PM, Phillip Rhodes wrote:
> It's of type String
>
> Thanks
>
> On May 4, 2009, at 3:23 PM, James Carman wrote:
>
>> The "handicapAccess" property is of
Make a custom resource locator?
http://www.mkyong.com/wicket/how-do-change-the-html-file-location-wicket/
2009/5/3 Anantha Kumaran :
> hi
>
> I am using netbeans and dreamweaver to develop my wicket app
>
> The problem is dreamweaver expects the stylesheets and the html in the same
> folder . Bu
I like these kind of monologs, I often do them myself also known as
parrot talks :) We both need to remember not to do them too often, if
too often then we end up in a room with soft walls :)
regards Nino
2009/5/4 Kaspar Fischer :
> I intended to post the following questions but found the answer
Ok, if you really want to do this and you don't want to use
src/main/resources, have you checked out:
http://wicketstuff.org/wicket13/customresourceloading/
That has some code examples on how to load html templates from the
document root. That might help you.
On Mon, May 4, 2009 at 9:31 PM, Al
Alan,
The fragment of XML from the pom that I posted IS in the Wicket
Quickstart generated via "mvn archetype:generate". It's also in the
pom when you use the helper code available here: http://wicket.apache.org/quickstart.html
Hence why it's not a hack, it's standard Maven stuff. You don't
On Tue, 2009-05-05 at 07:23 -0400, James Carman wrote:
> Ok, if you really want to do this and you don't want to use
> src/main/resources, have you checked out:
>
> http://wicketstuff.org/wicket13/customresourceloading/
>
> That has some code examples on how to load html templates from the
> docu
To make Luther's point more explicit:
Wicket allows you to bundle everything a Wicket component needs (Java code,
HTML, CSS, images, etc.) into a single JAR and drop that JAR into the
WEB-INF/lib directory of any WAR, thereby making the JAR essentially
self-contained and reusable. The benefit this
On Tue, 2009-05-05 at 12:33 +0100, Steve Swinsburg wrote:
> Alan,
>
> The fragment of XML from the pom that I posted IS in the Wicket
> Quickstart generated via "mvn archetype:generate". It's also in the
> pom when you use the helper code available here:
> http://wicket.apache.org/quickstart.
On Tue, 2009-05-05 at 08:26 -0400, Richard Allen wrote:
> To make Luther's point more explicit:
>
> Wicket allows you to bundle everything a Wicket component needs (Java code,
> HTML, CSS, images, etc.) into a single JAR and drop that JAR into the
> WEB-INF/lib directory of any WAR, thereby making
Hey,
The last cell in a data table is a link (that is contained in a form) that will
delete the row.
How to append JavaScript code that will display a confirmation dialog?
Thanks for help and time.
-
To unsubscribe, e-mail: users
Ok glad you got it sorted.
For reference, you can adjust the excludes/includes in the build
section of the POM to exclude the HTML files from being added. Then
use the maven-war-plugin to take control of what goes where.
cheers,
Steve
On 5 May 2009, at 13:52, Alan Garfield wrote:
On
I would not use javascript direct. Use wickets Ajax components instead.
I would use a AjaxLink and a wicket Modal Window. The modal window would
then contain the message
and Ok and Cancel button.
Jens
HHB wrote:
>
> Hey,
> The last cell in a data table is a link (that is contained in a
deleteButton.add(new SimpleAttributeModifier("onclick", "return
confirm('Are you sure?');"));
HHB wrote:
Hey,
The last cell in a data table is a link (that is contained in a form) that will
delete the row.
How to append JavaScript code that will display a confirmation dialog?
Thanks for help an
I want to display "Yes" to the user in the dropdown. If the user selects
"Yes", I want address.handicapAccess string property to be set to "Y"
Do you still think a map-based rendererer is the way to go?
Thank you.
-Original Message-
From: "James Carman"
Sent: Tuesday, May 5, 2009 7:05a
I often talk to myself - sometimes it's the most intelligent conversation I
can find (really? so do I!)
On Tue, May 5, 2009 at 7:23 AM, nino martinez wael <
nino.martinez.w...@gmail.com> wrote:
> I like these kind of monologs, I often do them myself also known as
> parrot talks :) We both need
I'm using the wicket distribution for java 1.4 on a OC4J 10.1.3.3,
When using a form, I'm having some encoding problems similar to the ones in
the link below
http://markmail.org/search/?q=wicket+encoding#query:wicket%20encoding+page:1+mid:ebuxlgb2vvu7x6oo+state:results
Problem is, that for me ch
Why dont you let handicapaccess be of the type SelectOption.
It will contain the getId and getName. So you can get the Y or Yes if you
want to.
You could ever rename selectoption to HandicapAccessBean to make it clearer.
I have created a dropdownchoice that maps to an UUID in the Model instead
setResponsePage(MyApplicaton.getCustomizedPageXClass(), .., ..)
-igor
On Tue, May 5, 2009 at 12:15 AM, Steve Flasby wrote:
> Chaps,
> We have a requirement to customize certain pages depending on the
> installation. My approach is to subclass the pages needing customization
> and put the differe
that isnt really valid html...
param value="config={"playerId"
you should either have value in single quotes and use double quotes
inside, or the other way around, or escape the double quotes inside.
-igor
On Tue, May 5, 2009 at 2:00 AM, Objelean Alex wrote:
> I've got the following exception:
use checkgroup and check components.
-igor
On Tue, May 5, 2009 at 3:00 AM, Serkan Camurcuoglu
wrote:
> Hi all,
> I want to display the choices in a CheckBoxMultipleChoice component in two
> columns, like in a GridView. Currently the CheckBoxMultipleChoice generates
> an element (checkbox), a e
JulianS wrote:
I ran into similar problems, and decided to take a different approach. See
http://javathoughts.capesugarbird.com/2009/03/jquery-tree-table-for-wicket.html.
Julian
Thank you so much. It worked really great!
thanks Martin.
Eyal Golan
egola...@gmail.com
Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74
P Save a tree. Please don't print this e-mail unless it's really necessary
On Tue, May 5, 2009 at 10:28 AM, Martin Funk wrote:
> the most authorative might be the
Hello,
We use Wicket 1.3.5 and I found something annoying with the DateTextField.
In the constructor of that class, the converter is created internally.
If I want to use my own converter, I need to inherit DateTextField, add a
converter as a member, and return it in the getConverter method.
Why no
but I think checkgroup is for single selection only, am I wrong?
Igor Vaynberg wrote:
use checkgroup and check components.
-igor
On Tue, May 5, 2009 at 3:00 AM, Serkan Camurcuoglu
wrote:
Hi all,
I want to display the choices in a CheckBoxMultipleChoice component in two
columns, like in
On Tue, May 5, 2009 at 10:50 AM, jensiator wrote:
>
> Why dont you let handicapaccess be of the type SelectOption.
> It will contain the getId and getName. So you can get the Y or Yes if you
> want to.
That would be muddying up your domain model to get the view to work.
-
On Tue, May 5, 2009 at 9:37 AM, Phillip Rhodes
wrote:
> I want to display "Yes" to the user in the dropdown. If the user selects
> "Yes", I want address.handicapAccess string property to be set to "Y"
>
> Do you still think a map-based rendererer is the way to go?
Yes, I would do it that way.
http://www.jroller.com/karthikg/entry/modelling_client_side_form_modifications
http://www.jroller.com/karthikg/entry/modelling_client_side_form_modifications
might be what you're looking for. It works well, but it works best when the
behaviour is attached to the onbeforeunload event, which you c
Hello,
I want to use FormComponentPanels in forms to deal with more complex
model-objects. I think it should be possible to chain the Model of every
FormComponentPanel to the Model of the Form. So every FormComponent has
automatically the right data in its Model when it changes. But somehow I
you are wrong.
-igor
On Tue, May 5, 2009 at 9:52 AM, Serkan Camurcuoglu
wrote:
> but I think checkgroup is for single selection only, am I wrong?
>
>
>
> Igor Vaynberg wrote:
>>
>> use checkgroup and check components.
>>
>> -igor
>>
>> On Tue, May 5, 2009 at 3:00 AM, Serkan Camurcuoglu
>> wrote
show us your code.
-igor
On Tue, May 5, 2009 at 10:04 AM, Marc Hauptmann wrote:
> Hello,
>
> I want to use FormComponentPanels in forms to deal with more complex
> model-objects. I think it should be possible to chain the Model of every
> FormComponentPanel to the Model of the Form. So every For
sorry, I should have tried it before asking.. thanks a lot..
Igor Vaynberg wrote:
you are wrong.
-igor
On Tue, May 5, 2009 at 9:52 AM, Serkan Camurcuoglu
wrote:
but I think checkgroup is for single selection only, am I wrong?
Igor Vaynberg wrote:
use checkgroup and check compon
Hello all.
Previous answers did not helped me much. Though thanks authors for their
replies.
I am going to provide more detailed question:
My App extends AuthenticatedWebApplication {
And I want to implement auto-login/remember me feature.
More precisely - when user submits to browser URL f
All you need to do is evaluate the cookie here:
if (!AuthenticatedWebSession.get().isSignedIn())
Meaning that this should return TRUE if cookie is found.
**
Martin
2009/5/5 Khlystov Alexandr :
> Hello all.
>
> Previous answers did not helped me much. Though thanks authors for their
> replies.
>
igor.vaynberg wrote:
>
> show us your code.
>
Ok, I have a class 'Person' with an'Address-Property. My Form-object has a
simple Model wrapping a Person-object. The constructor creating the Panel
with the form contains these lines:
form = new Form("form", new Model());
personFormComponent = ne
a) you are not chaining the postcode and city models, so those values
will never make it into anything
b) so person.address is null? are you sure the person object you are
giving to the form has a non-null address bean? if so i would set a
modification breakpoint on the field and see where it is be
I solved this problem turning off the browser's cache for this page. So I
added the following override method and now it works just fine:
@Override
protected void configureResponse() {
super.configureResponse();
final WebResponse response = getWebRequestCycle().getWebRespo
AddressFormComponent should extend Panel, not FormComponentPanel.
FormComponentPanel is used for special cases where you have several
FormComponents that work together to edit a model value, such as a date
editor that has dropdowns for month and day.
On a FormComponentPanel, you have to implement
I have a page that is built on a 3rd. party Flash movie, which reads a very
ugly, remote XML file. It doesn't work correctly unless the URL I point to
in the tag is absolute. This makes testing it locally a complete
PITA. I'd like to put something in the page that tests the URL and
redirects if
((webrequest)requestcycle.get().getrequest).gethttpservletrequest()
-igor
On Tue, May 5, 2009 at 12:54 PM, VGJ wrote:
> I have a page that is built on a 3rd. party Flash movie, which reads a very
> ugly, remote XML file. It doesn't work correctly unless the URL I point to
> in the tag is absol
unsubscribe
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
John Krasnay wrote:
>
> AddressFormComponent should extend Panel, not FormComponentPanel.
>
Thank you for yout help! Now AddressFormComponent extends from Panel and
fixed the wrong chainigs. I also asserted that the address is NOT null right
before I submit the form in my test-case. But after
create a quickstart and attach it to a jira issue
-igor
On Tue, May 5, 2009 at 1:47 PM, FlyingMustang wrote:
>
>
> John Krasnay wrote:
>>
>> AddressFormComponent should extend Panel, not FormComponentPanel.
>>
>
> Thank you for yout help! Now AddressFormComponent extends from Panel and
> fixed t
Oh, the shame. My only excuse is that the drugs for a sickness were
stronger than expected, and I shouldn't have been typing then (or now,
likely.) My apologies nonetheless.
-Clint
On Tue, May 5, 2009 at 3:08 PM, Clint Popetz wrote:
> unsubscribe
>
> --
I believe the docs say that fileupload won't work in an ajax environment.
Wizards are ajax-based, right?
On May 5, 2009 4:35 AM, "Jens Alenius" wrote:
Hi. Im having some problems with IE 7 and the UploadProgressBar in a Wizard.
It seems to have some limits in my special case.
Inside my WizardSte
Thanks for reply, Martin.
AuthenticatedWebSession#isSignedIn() is final too :). And according to
design I think it is not the proper place to do the auto-login logic.
http://people.apache.org/~tobrien/wicket/apidocs/org/apache/wicket/authentication/AuthenticatedWebSession.html#isSignedIn()
>
Thanks for reply, Martin.
AuthenticatedWebSession#isSignedIn() is final too :). And according to
design I think it is not the proper place to do the auto-login logic.
http://people.apache.org/~tobrien/wicket/apidocs/org/apache/wicket/authentication/AuthenticatedWebSession.html#isSignedIn
Well.. darn ... then do not call and check the cookie :)
if (!AuthenticatedWebSession.get().isSignedIn() && (!myOwnCookieCheck())) {
:...
}
**
Martin
2009/5/6 Khlystov Alexandr :
>
>
>
>
> Thanks for reply, Martin.
>
>
> AuthenticatedWebSession#isSignedIn() is final too :). And according to
>
Hi Igor, thanks.
Yeah, there is no other choice given the final methods. A bit of a shame
really, as having this work uniformly will depend on us all remembering
to do this instead of simply calling setResponse() directly.
Just out of interest, does anyone know why this method is final?
Cheers
it is final because we like to keep internals locked up so we can
easily change them even during minor version upgrades. if we make the
method overridable we are defining a certain contract which we do not
want to support.
to you it may seem like a shame, but people who read your code will
probabl
64 matches
Mail list logo