I could actually "hack" this feature by adding an AjaxButton onto the
page which has defaultFormProcessing=false and then hide that button
using css/style and always invoke that button when a checkbox is
clicked. But it would be betterto just make sure Wicket supports such
events for FormComponents
> Maybe a conversion error that prohibits updating the model?
I do not want to update the model. I want
"defaultFormProcessing=false" with the particular ajax event.
> In a way, yes, but sometimes purely client-side stuff can be
> easier purely on the client-side.
The functionality is already in
Have you made sure that you don't have any in your code?
This has been known to cause similar behavior.
On Thu, Feb 12, 2009 at 11:45 AM, Adriano dos Santos Fernandes <
adrian...@gmail.com> wrote:
> Thomas Mäder escreveu:
>
>> Why don't you put a breakpoint in the constructor and see let us know
Label label = new Label("label", "TEST");
Link yourLink = new Link("foo") { public void onClick() { /* do something */
} };
yourLink.setAnchor(label);
voila!
--
Jeremy Thomerson
http://www.wickettraining.com
On Fri, Feb 13, 2009 at 4:37 PM, novotny wrote:
>
> Hi,
>
> I have PageA and I want
I have a page and an IFrame is this page. I try to access in javascript, from
the parent page, a field from the Iframe page. But firefox gives me a
security exception. I understands that the URI of the IFrame and of the
parent page are not the same, and that is why I get this exception. The
paretn
http://lmgtfy.com/?q=ofbiz&l=1
On Fri, Feb 13, 2009 at 3:20 PM, Swapna Rachamalla
wrote:
> Hi
>
> Anyone have any idea on ofbiz framework
>
> Thanks
> Swapna
>
>
>
> On Fri, Feb 13, 2009 at 10:04 AM, Igor Vaynberg
> wrote:
>
>> in your form.onsubmit() you can check the value of the model - which
Hi
Anyone have any idea on ofbiz framework
Thanks
Swapna
On Fri, Feb 13, 2009 at 10:04 AM, Igor Vaynberg wrote:
> in your form.onsubmit() you can check the value of the model - which
> will give you the selected option.
>
> -igor
>
> On Fri, Feb 13, 2009 at 9:54 AM, Swapna Rachamalla
> wrote
I have a simmilar situation where I want to put a panel nested in a
panel nested in a page. The panel that is nested in the page stays the
same for many different pages, but the panel nested into the panel
changes. Would you do an anonymous panel class within an anonymous panel
class within the
Actually I also find that using getPage() on beforeRender() to get the page
is ok as long as do deal with any problems in case you cannot get the page.
Pieter
On Fri, Feb 13, 2009 at 6:34 PM, Igor Vaynberg wrote:
> make the panel an anonymous or inner class of the page and use MyPage.this.
>
> -
Hi,
I have PageA and I want to create a link that takes me to an anchor on page
B like so:
Any content
So the link should look like PageB#label. How can I do this with
BookmarkablePageLink (or any link)?
I can set page parameters but it doesn't seem like that does what I need.
Thanks, Jason
oh oh they are on to us!
-igor
On Fri, Feb 13, 2009 at 2:00 PM, Martin Voigt
wrote:
> This is the reason they *always* want a quickstart ;)
>
> 2009/2/13 Mathias P.W Nilsson :
>>
>> Hi again,
>>
>> I created a small project with wicket extension and here it worked fine,
>> even if I used setReus
This is the reason they *always* want a quickstart ;)
2009/2/13 Mathias P.W Nilsson :
>
> Hi again,
>
> I created a small project with wicket extension and here it worked fine,
> even if I used setReuseItems( false ).
>
> So the problem must be in my code somewere.
> --
> View this message in cont
Dear expert,
I extend the nested tree example in wicket.
In Tree class, I override onNodeLinkClicked() method to setResponsePage,
when I click on the tree node.
I works fine to get the response page for the current frame. but I also want
to update the frame outside the current frame, It will not
put the table into the radiogroup.
-igor
On Fri, Feb 13, 2009 at 1:21 PM, jchappelle wrote:
>
> Is it possible to have a RadioGroup in a DataTable. I am trying to display a
> list of items from the database and I want the user to only select one of
> these items. There could be a lot of items so
Is it possible to have a RadioGroup in a DataTable. I am trying to display a
list of items from the database and I want the user to only select one of
these items. There could be a lot of items so I am letting the user filter
the values by using a FilterForm and a DataTable.
Any ideas?
Thanks,
how will having wicket as a standard help this?
look at spring, it is no jsr but a lot of projects integrate with it,
and it in return integrates with other projects.
anyways, there is already a start of wicket seam support by the seam folks.
http://in.relation.to/Bloggers/SeamlessWicket
-igor
On Fri, 13 Feb 2009, Martin Makundi wrote:
> Yes, this is what I am trying to do, but disabling and enabling a
> textfield ends up clearing its value too if I use
> AjaxFormSumitBehavior. Don't know why.
Maybe a conversion error that prohibits updating the model?
Though in the case of validation o
> If you repaint the component from the server, and want to
> retain its input, you have to submit to the server and store
> it to the model (with a suitable *submittingbehavior) so
> that it will have the correct value on the repaint.
Yes, this is what I am trying to do, but disabling and enablin
Hmm...
some time ago (approx 1,5 year ) was attempts to marry JBoss Seam and
Wicket. Was it successful? May be this is an example, why wicket should to
be treated as a standard?
Oleg
On Fri, Feb 13, 2009 at 4:59 PM, Hoover, William wrote:
> First of all, thank you for entertaining this idea :o)
Timo Rantalaiho wrote:
>
>
> Sounds like a fair enough feature, could you please add a
> Jira issue?
>
> Meanwhile you can do
>
> formTester.setValue("checkBoxMultipleChoice", "");
>
> in between to get the values reset.
>
>
I have submitted a Jira issue
http://issues.apache.org/jira
I'm working on an intention that will insert that into the root markup
element.
On Fri, Feb 13, 2009 at 12:55 PM, Timo Rantalaiho wrote:
> On Fri, 13 Feb 2009, Andreas Petersson wrote:
> > i got the dtd, but where exactly in intellij can you associate the
> > wicket dtd with xhtml. setup external
On Fri, 13 Feb 2009, Andreas Petersson wrote:
> i got the dtd, but where exactly in intellij can you associate the
> wicket dtd with xhtml. setup external resource did not work.
I've done something like this in the HTML files
http://www.w3.org/1999/xhtml";
xmlns:wicket="http://w
On Fri, 13 Feb 2009, Christoph Grün wrote:
> How can I create a custom ComponentFeedbackPanel so that I the html markup
> is customized (without )?
KoolFeedbackPanel.java:
public class KoolFeedbackPanel extends ComponentFeedbackPanel {
public KoolFeedbackPanel(String id, Component filter) {
On Thu, 12 Feb 2009, Martin Makundi wrote:
> 1. I have a form
> 2. The form has checkboxes
> 3. The form has other fields
>
> The checkboxes are used to disable specific fields in the form.
> Whenever the user changes the checkbox state, I want to use
> AjaxEventBehavior or similar to update the f
On Wed, 11 Feb 2009, ray bon wrote:
> I am trying to test the case where a user is changing the set of checked
> options for a CheckBoxMultipleChoice. When using FormTester.selectMultiple
> the new values are added rather than replacing the existing values.
...
> How do I get FormTester to unselect
Never mind, I figured it out. Caching the TreeState didn't get me there
because it didn't contain the information I needed. I had to do my own
bookkeeping, but overriding LinkTree.newTreeState() was ultimately where
things got set aright.
--
View this message in context:
http://www.nabble.com/
A lot of folks say they want to avoid the "overhead" that maven
provides, but now that I'm used to maven I don't know what I would do
without it. I use it for ALL projects big and small.
On Fri, Feb 13, 2009 at 12:19 PM, Igor Vaynberg wrote:
> even if you do not use maven it is very easy to use
Hi again,
I created a small project with wicket extension and here it worked fine,
even if I used setReuseItems( false ).
So the problem must be in my code somewere.
--
View this message in context:
http://www.nabble.com/Model-on-Select-tp21973981p22002751.html
Sent from the Wicket - User mai
It would be a lot of split ups in the properties files and a lot of
wicket:message but I guess it is the best way when separation markup from
pure text.
This is always a problem. I'm dealing with the same concern when a user
want's to add html markup to a news that is saved in the database.
Th
use the quickstart maven2 archetype to generate a basic project. add
code to it that replicates your problem. zip it up and attach it to a
jira issue.
-igor
On Fri, Feb 13, 2009 at 10:05 AM, Mathias P.W Nilsson
wrote:
>
> OK,
>
> How does that work. Do I extract vital parts or do I make an small
I do think that pushing a JSR for Wicket will have a negative influence
on the spirit of Wicket and it's community due to the politics involved
with a JSR. Politics are so not the Wicket way. This is what I mean with
the "wrong way" and yes, that is mighty subjective.
I also expect there will
That settings just triggers some code that checks if the pagemap name
is equal to the window name if that isnt the case then it does a
redict to a new page so that every browser window has its own pagemap
Why do you have that setting enabled? With the disk store it is not
really needed anymore
On
I see that pushing for a Wicket standard is futile, but I will make one
last attempt to answer some of your questions... See comments below...
-Original Message-
From: Johan Compagner [mailto:jcompag...@gmail.com]
Sent: Friday, February 13, 2009 12:17 PM
To: users@wicket.apache.org
Subje
OK,
How does that work. Do I extract vital parts or do I make an small test
project?
--
View this message in context:
http://www.nabble.com/Model-on-Select-tp21973981p22001847.html
Sent from the Wicket - User mailing list archive at Nabble.com.
in your form.onsubmit() you can check the value of the model - which
will give you the selected option.
-igor
On Fri, Feb 13, 2009 at 9:54 AM, Swapna Rachamalla
wrote:
> Hi All
>
> I have a Radio button group For eg imagine
>
> Country:
>
> - USA
> - UK
> - etc
>
> If one of the country is
Thanks Igor,
I am already subclassing the wizard so that I can dynamically add
steps based on entities in the object. I also have overridden the
newButton(string) etc but the more subtle interactions are not clear
to me.
For example, I override newButtonBar(string). I get the basic table
markup w
Thanks anyway for your time, but I think I will stick to DropDownChoice for
now.
--
View this message in context:
http://www.nabble.com/Model-on-Select-tp21973981p22001718.html
Sent from the Wicket - User mailing list archive at Nabble.com.
then you are more then welcome to provide a quickstart attached to a jira issue.
-igor
On Fri, Feb 13, 2009 at 9:50 AM, Mathias P.W Nilsson
wrote:
>
> That may be the case but I have already tried that and it does not solve my
> problem.
> --
> View this message in context:
> http://www.nabble.
Hi All
I have a Radio button group For eg imagine
Country:
- USA
- UK
- etc
If one of the country is selected i want to write logic( if any one of the
option is selected.)
which method i have to override for this.( For eg if we have a link then we
override the method onClick() and if i
That may be the case but I have already tried that and it does not solve my
problem.
--
View this message in context:
http://www.nabble.com/Model-on-Select-tp21973981p22001539.html
Sent from the Wicket - User mailing list archive at Nabble.com.
i tried that before. did not work. no compile or runtime errors, but the
source did not show the change.
im thinking, since its an ajax link and because only the target panel
refreshes, the change to the link is not applied because the actual link is
not refreshed. only the other panel is. in
final ListItem item
-igor
On Fri, Feb 13, 2009 at 7:36 AM, moontz wrote:
>
> I would like to add an attribute to the ListItem element in the markup
> (basically change the class style) on click of the link. Below is my
> snippet. Any insight on how I can accomplish this? Thanks in advance!
>
make the panel an anonymous or inner class of the page and use MyPage.this.
-igor
On Fri, Feb 13, 2009 at 6:14 AM, pieter claassen wrote:
> Is there a simple answer for how to get a reference from a panel to the
> holding page that is available at compile time (something other than
> getPage() o
inside your first level tab that will contain other tabbed panel you
need for the inner panel to attach
to.
-igor
On Fri, Feb 13, 2009 at 4:18 AM, Daniel Ferreira Castro
wrote:
> I am trying to figure out what tag is beeing expected...
>
> This is my base page markup
>
> http://www.w3.org/TR/h
whenever a listview contains form components you have to call
setreuseitems(true).
its in the javadoc, it has been mentioned on this list a thousand times.
its probably on the wiki page somewhere.
-igor
On Thu, Feb 12, 2009 at 3:09 AM, Mathias P.W Nilsson
wrote:
>
> Hi,
>
> I'm using CompoundP
not to mention it doesnt make sense for a lot of usecases, eg
setoutputmarkupid() if you call it then the two rendered components
will have the same markup id - whoops. which means this will break
javascript, ajax, etc, etc.
-igor
On Fri, Feb 13, 2009 at 2:59 AM, Martijn Dashorst
wrote:
> 99.99%
swing like?
are there multiply implementations for swing?
Can i choose one from Sun and one from X?
or better said are there any desktop UI frameworks that do have multiply
implementations (for the same platform??)
not that i know of . There could be a reason for that
so your managers just wa
even if you do not use maven it is very easy to use it to discover all
the needed dependencies a maven project needs using mvn
dependency:tree
-igor
On Fri, Feb 13, 2009 at 1:55 AM, Martin Voigt
wrote:
> Hi,
>
> i think the manual page of sl4j http://www.slf4j.org/manual.html makes
> it very cle
if you add a private variable that is imodel you have to detach it
yourself, perhaps that is your problem. you do this by overriding
ondetach() { field.detach(); super.ondetach(); }
-igor
On Fri, Feb 13, 2009 at 1:36 AM, pieter claassen wrote:
> Ok, feedback on my own problem. It seems that if y
We use a combination of the following for that sort of l10n/i18n.
1.
2. A Label with a StringResourceModel, and setEscapeModelStrings(true)
3. Fragments
Scott
On Fri, Feb 13, 2009 at 8:16 AM, Warren Bell wrote:
> Create a panel with just the markup you need and switch them out with the
> isvi
Ideally the markup should stay in the markup file and the text in that
markup that needs to be localized would be localized via wicket:message and
a properties file. In cases like below, you would break the text into
properties-localized hunks and into panels with multiple markup localization
fil
Create a panel with just the markup you need and switch them out with
the isvisible based on the current language needed? Similar to the post
for "Re: Adding/Replacing links in Panels" by Michael Sparer below. I
use WebMarkupContainer, but I only have two states. 14 may get a little
messy
War
simply subclass wizard and provide your own markup.
-igor
On Thu, Feb 12, 2009 at 11:57 PM, John Armstrong wrote:
> Hi WicketFolk,
> Can anyone point me to a relatively complete example of an Wizard
> implementation with custom layout? I'm fairly new to the framework and
> this would help me ou
First of all, thank you for entertaining this idea :o)
See comments below...
-Original Message-
From: Johan Compagner [mailto:jcompag...@gmail.com]
Sent: Friday, February 13, 2009 9:38 AM
To: users@wicket.apache.org
Subject: Re: Wicket at ApacheCon EU'09 in Amsterdam
>
> From a develope
I would like to add an attribute to the ListItem element in the markup
(basically change the class style) on click of the link. Below is my
snippet. Any insight on how I can accomplish this? Thanks in advance!
ListView lv = new ListView("tabListView", tabList) {
protected void
target.appendJavascript(String.format("document.getElementById(%s).value =
''", tagsTextfield.getMarkupId()));does not clear the text field.
Any idea how to do this?
Hbiloo
On Thu, Feb 12, 2009 at 10:15 PM, Azzeddine Daddah wrote:
> This is what I've till now. Clearing the text field does not w
Unfortunately, those 'idiotic managers' (and I'm not disagreeing with you)
hold the purse strings. The move to Apache was a big step towards acceptance
by the business types. If you try to sell a new technology with a weird name
to your manager, it's not helping that there are "just some guys from
I agree that we need to change the views of corporate managers in the
"right way" by illustrating the cost savings achieved though a reduction
in development time. At the same time, I don't believe that this will
change the Wicket community in the "wrong way" (which is a highly
subjective statement
Hi,
I can't really think of any specification which would make sense to build -
there is just no need for that IMHO.
If managers need something like that - there's JSF. And knowledge is growing
that JSF isn't the ultimate answer. There are other open source projects
embraced by managers as well
>
> From a developers point-of-view standardization can often be a thorn in our
> side, but for management it can offer a
> vendor-independent/implementation-independent solution.
> Maintaining/upgrading infrastructure is difficult, expensive and time
> consuming. From the point-of-view of manageme
this has nothing to do with being open-minded.
i'm pretty sure that most non-trivial projects out there using jpa
with hibernate implementation can go through a big pain if they ever
decide to "change jpa vendor".
now that you talk about jpa, this is an example of how backward a
spec can be: jpa
Andreas Petersson wrote:
Also make sure you have the Wicket DTD loaded in Intellij.
i got the dtd, but where exactly in intellij can you associate the
wicket dtd with xhtml. setup external resource did not work.
Sorry, I can't look it up at home.
Erik.
--
Erik van Oosten
http://www.day-t
I am not sure what you would like to standardize. Given your JPA
example, I would guess that you want to push a JSR for a web framework
or something. But there is already something like that: JSF. Just let
Wicket be Wicket and instead of changing Wicket (and it's community) in
the wrong way, le
Is there a simple answer for how to get a reference from a panel to the
holding page that is available at compile time (something other than
getPage() on beforeRender())?
Thanks,
Pieter
I have a LinkTree where each node contains links to pages, and each of these
pages derives from the same base class, so they all contain that LinkTree.
When a user drills down into the tree on one page and then clicks a link for
another page, I'd like the new page we go to to open the tree to its
I hear the arguments and I completely agree with the notion that innovation
usually happens "elsewhere" and a JSR/JCP would slow that process down. I just
want to objectively view the other side of the spectrum :o)
>From a developers point-of-view standardization can often be a thorn in our
>si
Mathias P.W Nilsson wrote:
>
> The first time my web container is loaded and I access the page all
> dropdowns and Select are set according to the values that my class has(
> new CompoundPropertyModel( new Model( myClass ) ) ). When returning to
> this page a second time the Select is not set.
Hi,
Just wondering how this should be handled without DRY.
In many scenarios we have multiple languages that should have the same
markup but different text. This could be handled by using variation and put
every language in an own html file like myWicketPage_style_en.html.
However, this is not
Thanks Mathias. That was it. :) The links render properly now.
--
View this message in context:
http://www.nabble.com/Adding-Replacing-links-in-Panels-tp21989041p21995675.html
Sent from the Wicket - User mailing list archive at Nabble.com.
--
Yes, but in my case, I dont need separate panels (the only variable being the
link, and everything else remains constant). I might then as well include
the markup in each of the files.
Michael Sparer wrote:
>
> personally I'm no fan of conditional adding components with the same id.
> e.g.
> if
totally against pushing wicket as a standard / jsr.
it has already been stated by some of you, but i'd like to highlight
the fact that bureaucracy goes against flexibility.
instead of having wicket to change to please management, why don't we
push to have more managers that think out-of-the-box a
personally I'm no fan of conditional adding components with the same id.
e.g.
if (user.isSignedIn() {
add(new SignedInPanel("foo"));
else {
add(new SignedOutPanel("foo"));
}
I rather add all panels and make them invisible or visible
add(new SignedInPanel("foo").setVisible(user.isSignedIn()); //
I am trying to figure out what tag is beeing expected...
This is my base page markup
http://www.w3.org/TR/html4/loose.dtd";>
[tabbed panel will be here]
This is my basepage implementation
public class BasePage extends WebPage {
private final Listtabs = new ArrayList();
The problem is.
My case is that I have a Base Page from where all other page inherit a
common layout.
This base page have an AjaxTab. This ajax tab component have its tabs.
Each of these tabs have a getPanel method and the returned panel have
another Ajax Tab.
Should I have a markup html for eac
Hi,
I guess there could be other ways to do this better. Try using break after
each case.
switch( comp ){
case ROLE:
break;
}
If you don't use break the link will be added twice
--
View this message in context:
http://www.nabble.com/Adding-Replacing-links-in-Panels-tp21989041p21994847.
After switching from Select and SelectOption to DropDownChoice it works.
Maybe there is a problem with my Select code or there is a wicket bug.
// Mathias
--
View this message in context:
http://www.nabble.com/Model-on-Select-tp21973981p21994805.html
Sent from the Wicket - User mailing list arc
Johan Compagner escreveu:
if that happens then the newWindowBrowser detection is enabled and executed.
This makes sure that a new tab or browser window (but same session) will
have there own pagemap
I have "getPageSettings().setAutomaticMultiWindowSupport(true)". But why
AbstractAjaxTimerBehavio
99.99% of the time this is an error: a component is referenced
multiple times in markup. Therefore we don't allow one component to be
rendering in multiple places. For that 0.01% of useful cases, it is
not too difficult to just add the label component twice.
Martijn
On Thu, Feb 12, 2009 at 8:54
if that happens then the newWindowBrowser detection is enabled and executed.
This makes sure that a new tab or browser window (but same session) will
have there own pagemap
On Thu, Feb 12, 2009 at 18:45, Adriano dos Santos Fernandes <
adrian...@gmail.com> wrote:
> Thomas Mäder escreveu:
>
>> Why
It looks like your missing the slf4j-api.jar.
slf4j-log4j12-1.5.6.jar is just the glue to make slf4j use log4j.
Martin
2009/2/12 M Goodell :
> Hello,
>
>
>
> I am in the process of evaluating Wicket for an upcoming project and in the
> process of writing some proof of concept code. Or trying to
Hi,
i think the manual page of sl4j http://www.slf4j.org/manual.html makes
it very clear, just read the small red part.
As for the wicket homepage, this would fit into the wiki if it's not
already there. But since wicket uses maven and most projects that use
wicket also use it, missing jars are a
Hi all
I'm new to this list (and Wicket), and was interested in this
discussion.
On 12/02/2009, at 11:32 PM, Hoover, William wrote:
Just out of curiosity... Are there any plans to push a JSR that Wicket
could follow. I think there would be a lot more acceptance of Wicket
if
this was to h
Ok, feedback on my own problem. It seems that if you create a private
variable and assign an IModel to it, then access it from within the
onClick() method in a listview, that it doesn't always work. You have to
explicitly add the model to the Link constructor for this to work.
It seems that the ap
Thanks for making this example. I've tried it and it fails as expected.
Let's see if it serves to find the bug.
-Félix
Sergio García wrote:
>
>
>
> igor.vaynberg wrote:
>>
>> create a quickstart and attach it to a jira issue so we can take a look.
>>
>> -igor
>>
>>
>>
>
> I've created
and what would a wicket "standard" give you?
Except that those idiotic managers then say "its standardized.. now you can
use it" why is that is a standard for ever? dont think so everything dies.
But would it run on more platforms?
Would we have multiply implementations? Because thats most of the t
Bill Joy from Sun once said: innovation happens elsewhere. I think
that the where elsewhere isn't, it is the JCP. Standardization is just
antithetical to innovation. Once something is fixed in brick/mortar
how can you innovate? Wicket is very comfortably located elsewhere.
Martijn
On Thu, Feb 12,
i got the dtd, but where exactly in intellij can you associate the
wicket dtd with xhtml. setup external resource did not work.
to be more precise, i get autocompletion only for 3 attributes, not for
tags..
-
To unsubscrib
Also make sure you have the Wicket DTD loaded in Intellij.
Regards,
Erik.
i got the dtd, but where exactly in intellij can you associate the
wicket dtd with xhtml. setup external resource did not work.
-
To unsubscribe,
Hi,
>> If interest is there I could present something based on my 'Real World Scala
>> and
>> Wicket' I held last week in London.
> Yes please! I hope there will be enough registrations to our
> session so we can make it.
I added a 'Practical Scala + Wicket' presentation. I'm looking forward to
Hi,
I changed the order - the comment should now be rendered on the bottom
of page and hopefully not break IE.
-Matej
On Fri, Feb 13, 2009 at 8:51 AM, jensiator wrote:
>
> Of course! Thanks!
>
> --
> View this message in context:
> http://www.nabble.com/Latest-snapshot-and-CSSPackageResource.g
90 matches
Mail list logo