Another solution, since we have to ignore the enter key within some
FormComponents:
form.visitChildren(FormComponent.class, new IVisitor()
{
@Override
public Object component(Component component)
{
if (!(component instanceof Button))
Hi [EMAIL PROTECTED],
I am trying to get the same thing working here and was just wondering if you
were able to get it to work. if you did can you provide some help on you did
it. Also when I try to write the newNodeComponent() method just as you have
used below I get an exception that the method
I'm using John Krasnay's approach to defining display values for a
DropDownChoice, like so:
new DropDownChoice("period",
new PropertyModel(myObject, "period"),
periods,
new ChoiceRenderer() {
public String getDisplayValue(Object object) {
int period = ((Integer) object).intValue()
I am sorry that I have been really bothering you here but I just need to get
this working asap.
so from your reply are you suggesting that I should have a tree structure
like this:
Panel1
--Panel2
--Panel3
with an HTML markup like:
I am sorry that I have been really bothering you here but I just need to get
this working asap.
so from your reply are you suggesting that I should have a tree structure
like this:
Panel1
--Panel2
--Panel3
with an HTML markup like:
You need to use panels. Every panel can have different markup. So you
will have a panel for every node type.
-Matej
On Fri, Aug 1, 2008 at 11:03 PM, vishy_sb <[EMAIL PROTECTED]> wrote:
>
> Any ideas about how to get this working
>
>
>
> vishy_sb wrote:
>>
>> Thanks for the quick reply Mat
Well you need to put the component (say component) which you want to make
invisible into target and then set
component.setOutputMarkupPlaceholderTag(true).
Let me know if that works.
vishy
rit wrote:
>
> I have strange situation while handling Ajax on check box.
>
> I have a scenario , On
Any ideas about how to get this working
vishy_sb wrote:
>
> Thanks for the quick reply Matej.
>
> Well in my implementation I am using a CheckBoxTree example discussed in
> the forum already
> (http://www.nabble.com/Checkbox-tree-component-td13433102.html#a13439520).
> and I am addin
I have strange situation while handling Ajax on check box.
I have a scenario , On click of check box i need to hide one component and
on uncheck i need to show the component back . when i select the check box
my Ajax fires and component hide , but when i unselect the check box , my
ajax doesn't f
Greetings, Wicket Wizards,
Lots of modal window questions lately in this list. I searched but none
seems to address my particular problem, so I apologize in advance for adding
to the stack.
I have been displaying a table with PagingNavigator in a Panel that was
added to a regular Wicket page an
Here's what I did : I used an AjaxLink and instead of a caption, I put the
image of the button in it to preserve the look and feel of my page
Thanks to everybody who replied !
a_godin wrote:
>
> Or could I make it so that by clicking the button, it calls the onClick
> method of an AjaxLink (th
While validating some of my pages, I found out that some pages do not
validate due to & in attributes, e.g.
W3 validator complains with: "character "&" is the first character of a
delimiter but occurred as data."
I'm doing the following in code:
class Image { String path; String alt; }
// f
An issue has been created:
https://issues.apache.org/jira/browse/WICKET-1765
Regards
2008/7/31 Igor Vaynberg <[EMAIL PROTECTED]>
> yeah, we should fix it. please file a jira issue.
>
> -igor
>
> On Thu, Jul 31, 2008 at 4:22 PM, Daniel Freitas
> <[EMAIL PROTECTED]> wrote:
> > I typo got me to a
I'm tried many times but nothing!
I can't customize message error. :,(
--
View this message in context:
http://www.nabble.com/How-can-force-always-the-same-error-message--tp18772519p18778125.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
Is there a way that a form component can be conditionally bound?
Use Case:
1) Item in a view uses CompoundPropertyModel
2) Two TextFields/per item (one with CompoundPropertyModel#bind the
other with just a Model)
3) One model object/per two TextFields
4) Interaction from client determines which o
Or could I make it so that by clicking the button, it calls the onClick
method of an AjaxLink (that's not visible in my form) which calls for the
showing of my modal window ?
Thanks for the suggestion !
steviezz wrote:
>
> You could use an AjaxLink, but style the link with CSS to make it look
or attach ajaxlink to button tag :)
-Igor
On 8/1/08, steviezz <[EMAIL PROTECTED]> wrote:
>
> You could use an AjaxLink, but style the link with CSS to make it look like
> an HTML button.
>
> Steve
>
>
>
>
>
> a_godin wrote:
>>
>> I won't post the whole thing but here's the parts related to the mo
Thanks.
In this case is the easiest solution. :)
For more complex situations which system I can use to achieve the same
result?
Are there
NumberValidator.range(...,...) instead
Martijn
--
View this message in context:
http://www.nabble.com/How-can-force-always-the-same-error-message--tp18
Congrats on the 0.4 release! This list is perfectly ok for such
announcements, you might even want to consider CC-ing
[EMAIL PROTECTED] as it is a community announcement.
WIth regards to the TinyMCE editor, why didn't you maintain it on the
wicketstuff repo? That is the place where people expect t
Hello,
I've got a newbie question.
Is there any way to automatically display a modal window when a form on a
panel is submitted, and the outcome of the modal window is used to change
which page is displayed after the submit completes?
My first attempt as follows does not display the modal window
I have just released a new version of Wicket RAD -an open source suite of
Wicket Components and utilities aimed at rapid application development that
heavily leverages Wicket and Wicket Extensions.
Most notable in this release is the inclusion of a sample application and
code, and improved javado
You mean to say that inside a modal window I should be using a Page instead
of a panel
Also can you point me an example or a thread where that is being discussed.
Thanks,
vishy
Martijn Dashorst wrote:
>
> iirc using a page instead of a panel works better and has less
> bugs/quirks.
>
I think we're talking about two different things: I was talking about
trying to access the model of a parent component, it sounds like
you're talking about trying to access the model of a superclass.
In the case I'm talking about, you can't access the inherited model in
your constructor be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am Fri, 01 Aug 2008 07:23:42 -0500
schrieb Paul Logasa Bogen II <[EMAIL PROTECTED]>:
> I user FFX3 with
> WebDeveloper Toolbar to debug
> CSS and Venkman to debug js (although if someone knows of a better js
> debugger please tell me).
I am using F
Ah, sorry about that I saw the YUI stuff when I was debugging something
and assumed that it was a wrapper :-P
plb
Matej Knopp wrote:
On Fri, Aug 1, 2008 at 2:23 PM, Paul Logasa Bogen II <[EMAIL PROTECTED]> wrote:
I develop in Eclipse with SVN for source control. I user FFX3 with
WebDevelope
Forgot to mention Artifactory! We really like it (and it's a Wicket app).
On Fri, Aug 1, 2008 at 6:36 AM, James Carman <[EMAIL PROTECTED]> wrote:
> On Fri, Aug 1, 2008 at 4:51 AM, Kent Larsson <[EMAIL PROTECTED]> wrote:
>> Hi, I thought it could be interesting if we (I'll contribute a little late
I tried declaring the filter to invoke the request dispatcher but
still got the same exception. I tested to see if the session exists in
the Struts code and it doesn't; which is extremely fustrating! Anyone
shed any more light?
Cheers for all you help,
James.
On Wed, Jul 30, 2008 at 5:38 PM, Za
On Fri, Aug 1, 2008 at 2:23 PM, Paul Logasa Bogen II <[EMAIL PROTECTED]> wrote:
> I develop in Eclipse with SVN for source control. I user FFX3 with
> WebDeveloper Toolbar to debug
> CSS and Venkman to debug js (although if someone knows of a better js
> debugger please tell me).
>
> My project use
iirc using a page instead of a panel works better and has less bugs/quirks.
Martijn
On Fri, Aug 1, 2008 at 10:22 AM, steviezz <[EMAIL PROTECTED]> wrote:
>
> As you can see from some of my own topics, I'm no Wicket expert.
>
> I did have the same problem, and solved it by simply setting the conten
I develop in Eclipse with SVN for source control. I user FFX3 with
WebDeveloper Toolbar to debug
CSS and Venkman to debug js (although if someone knows of a better js
debugger please tell me).
My project uses MySQL for the backend, does data preprocessing with Mallet,
password encryption using
wicket (1.3), hibernate, spring, cxf, axis2, tomcat, jetty, eclipse,
svn, mantis, mediawiki, mailman, linux (centos), jasperreports,
jquery, protoype, scriptaculous, yui, junit, jdave, artifactory,
wicket bench, maven, teamcity (but are thinking about hudson for the
plugins, just don't like Hudson
> what i now want to add is to pass additional state
You can not do this with a BookmarkablePageLink. The trick is to create
a Link with in the onClick something like:
// note the variant that accepts a Class argument does not work:
setResponsePage(new Page(), pageParameters)
// the redirect will
Hello,
thats interesting. I am using Wicket with Ejb3.
For development I use IDEA, SVN and Glassfish.
Kent Larsson-3 wrote:
>
> Hi, I thought it could be interesting if we (I'll contribute a little
> later,
> as I'm just learning Wicket) could list the frameworks and tools we
> "always"
> us
NumberValidator.range(...,...) instead
Martijn
On Fri, Aug 1, 2008 at 1:30 PM, alex2008 <[EMAIL PROTECTED]> wrote:
>
> I have just read
> http://cwiki.apache.org/WICKET/form-validation-messages.html Form validation
> messages
>
> Form form = new Form("f");
>
> final TextField percentage = ne
I have just read
http://cwiki.apache.org/WICKET/form-validation-messages.html Form validation
messages
Form form = new Form("f");
final TextField percentage = new TextField("percentage", percentageModel,
Integer.class);
percentage.add(new NumberValidator.MinimumValidator(1));
https://issues.apache.org/jira/browse/WICKET-1766
2008/8/1 James Carman <[EMAIL PROTECTED]>
> It would be helpful to include a link to your JIRA issue so that if
> folks are searching the archives or nabble they can learn what to do
> to fix it.
>
> On Fri, Aug 1, 2008 at 1:52 AM, Rik van der Kle
On Fri, Aug 1, 2008 at 4:51 AM, Kent Larsson <[EMAIL PROTECTED]> wrote:
> Hi, I thought it could be interesting if we (I'll contribute a little later,
> as I'm just learning Wicket) could list the frameworks and tools we "always"
> use with Wicket. Maybe Hibernate, Eclipse, NetBeans, jQuery, YUI, J
It would be helpful to include a link to your JIRA issue so that if
folks are searching the archives or nabble they can learn what to do
to fix it.
On Fri, Aug 1, 2008 at 1:52 AM, Rik van der Kleij <[EMAIL PROTECTED]> wrote:
> Hi,
>
> For this issue I created a Jira issue.
>
> Regards,
> Rik
>
> 2
Hi Peter,
What was so bad?
Wicket or JSF?
Regards,
Serge
2008/6/12 Peter Eriksson <[EMAIL PROTECTED]>
> Hello,
>
> It would be very interesting to know the status for me as well. I have
> recently done a portlet application in JSF for WebSphere Portal and that
> was
> not a nice experience. It
Matej Knopp schrieb:
PageLink should create links like that if you put there existing page
instance (the one you want to return tu). If it doesn't it's a bug.
for the record, here´s the solution:
public class HybridPageLink extends Link
{
private static final long serialVersionUID = 1L;
PageLink should create links like that if you put there existing page
instance (the one you want to return tu). If it doesn't it's a bug.
-Matej
On Fri, Aug 1, 2008 at 11:00 AM, Uwe Schäfer <[EMAIL PROTECTED]> wrote:
> Martijn Dashorst schrieb:
>
>> you have to encode the necessary state yourself
Martijn Dashorst schrieb:
you have to encode the necessary state yourself into the page
parameters. There is no way for Wicket to be able how to serialize the
state in the URL in some magic way.
kind of misunderstanding here. i dont want or need the additional state
bookmarkable.
all i want
Page remembers the original page parameters with which it has been
created. So when you use PageLink (with an existing page instance) the
parameters will be there.
If you want to change the parameters you can try Page#getPageParameters().
-Matej
On Fri, Aug 1, 2008 at 10:46 AM, Martijn Dashorst
Hi, I thought it could be interesting if we (I'll contribute a little later,
as I'm just learning Wicket) could list the frameworks and tools we "always"
use with Wicket. Maybe Hibernate, Eclipse, NetBeans, jQuery, YUI, JUnit,
HtmlUnit, Spring, UMLGraph will pop up. In other terms, any and all
fram
You could use an AjaxLink, but style the link with CSS to make it look like
an HTML button.
Steve
a_godin wrote:
>
> I won't post the whole thing but here's the parts related to the modal
> window
>
> In my java class :
> public class Edit extends Panel
> {
>
> private Modal
you have to encode the necessary state yourself into the page
parameters. There is no way for Wicket to be able how to serialize the
state in the URL in some magic way.
Martijn
On Fri, Aug 1, 2008 at 9:41 AM, Uwe Schäfer <[EMAIL PROTECTED]> wrote:
> Matej Knopp schrieb:
>
> hi matej
>
>> mount th
As you can see from some of my own topics, I'm no Wicket expert.
I did have the same problem, and solved it by simply setting the content for
the ModalWindow panel inside the onClick of the AjaxLink that triggers it.
So, each time you invoke the ModalWindow, it has new content.
Something like:
We've invested some more research on this topic because session.invalidate
didn't work and came up with a solution. We've created a JIRA-Ticket
regarding this topic to document our solution.
https://issues.apache.org/jira/browse/WICKET-1767
Regards
Enes F.
On Wed, Jul 30, 2008 at 5:59 PM, Igor V
Matej Knopp schrieb:
hi matej
mount the page using HybridUrlCodingStrategy.
i already did.
The url for page instance (you can use PageLink for that) will than look
like /foo/document/21.5 (where .5 denotes page instance). Note that
such url *is* bookmarkable, the page instance number doesn'
49 matches
Mail list logo