I solved the problem by downloading the tinymce source from the svn
repository together with the javascript lib from tinymce.moxiecode.com
and repacking it. The latest version of the scripts handles the readonly
option correct.
//Swanthe
tubin gen wrote:
I am trying to make teaxarea with
We have a very strange behavior in palette and IE7.
We use Wicket 1.3.4 .
The situation is:
when pressing the UP button, the selected element goes up in each click.
That's OK.
The problem occurs when this element is in the second row.
When pressing UP, it won't go to the first (upper) row. Only wh
Today we have Terracotta, OSGi, Google app engine and other cloud services.
Reading this thread and
http://www.javaworld.com/javaworld/javaqa/2003-06/02-qa-0627-mythser.html?page=3
Into the mist of serialization myths at:
<>
I think the decision to not set (and manage) serialVersionUID should b
Hi,
I use a javascript function to move it and then a
target.appendJavascript() to call it. This is for an iframe but should
work for you. Every now and then I notice a very tiny delay in the
appearance of the ModalWindow and the movement of it to its final
location. if you can fix that l
Hello,
I have a page which makes quite a heavy use of an
AbstractAjaxTimerBehavior for retrieving the content of some Panels
(and stops itself after the content is ready, like a sort of
"polling") and I am getting a very strange exception which only seems
to appear randomly:
-
2009-
I fixed the annoying thing by overriding the html panel of the palette
(which I did previously for other purposes) and adding an element (1484 is
our bugzilla issue number):
Also:
/**
* Renders header contributions
*
* @param response
*/
@Override
public void rend
As usual I found the problem creating a quickstart. It was a file name problem.
I'm used to woking in linux but for this project I work in windows. It
seems jetty/glassfish classloaders are not case-sensitive but the
jboss one is. That's why one of my markup files was not found on
jboss. (Logpanel
Hehe, that usually happens for me too, when im 100% sure that theres
an error I then go ahead to create the quickstart and 90% of the time
I see what the error are in the creation of the quickstart :)
2009/4/22 Francis De Brabandere :
> As usual I found the problem creating a quickstart. It was a
Hey,
I have a panel that consists of two parts:
the first lists groups names.
the second lists the contacts of a group, which gets
populated upon clicking on the group name (via Ajax).
Group Name
I think we are also expericning this problem same as yours
If you will allow, can I have a copy of your fix for this one?
what files did you modify?
Thanks
Carlo
2009/4/22 Eyal Golan
> I fixed the annoying thing by overriding the html panel of the palette
> (which I did previously for other pur
I have a problem with LinkTree in Wicket, namely :
I have a LinkTree where NodeComponent a TreeLinkIconPanel is.
TreeLinkIconPanel is a subclass of LinkIconPanel.
public TreeLinkIconPanel(String id, IModel model, BaseTree tree) {
super(id, model, tree);
}
Where a content as a label and i
I think you should detach the model of the contacts and then add the
contacts to the target.
Linda.
HHB wrote:
Hey,
I have a panel that consists of two parts:
the first lists groups names.
the second lists the contacts of a group, which gets
populated upon clicking on the group name (via Ajax
Hi,
Is there a component that handles user registration, email verification
(account activation) and login stuff?
I currently use the classes
org.apache.wicket.authentication.AuthenticatedWebApplication;
org.apache.wicket.authentication.AuthenticatedWebSession;
org.apache.wicket.authentication.
With pleasure.
1. I overridden Palette.java and Palette.html
In Palette.html I added the line below (with the span).
In Palette.java all we did is override renderHead (see below)
2. We created a new palette.js and added the script file as below.
Hope that helps.
Eyal Golan
egola...@gmail.com
Vi
Hello,
sorry I've taken so long to write again.
The solution suggested by Janos Cserep using the line "
target.appendJavaScript("pageTracker._trackPageview('" + panel trackCode +
"');");
"
worked!
Thanks to all for you ideas :)
On Sun, Apr 19, 2009 at 7:42 AM, James Carman
wrote:
> I think th
Tinymce text is formatted with html and when I add text to label i see the
text with html , please tell me how can I tell wicket that model also has
html tags and browser should interpet them and not display ? If I set
model of a
label as html text I am expecting to seehtml parsed
Daan,
Yes, this definitely looks like the direction I should go for most of
my form components. Thanks for sharing it!
However, I also need to make a PasswordStrengthMeter, which will show
different values (and css styling) based on the strength of a password
entered into a password field. Some
I have the same problem but with a different tree use case. I'm implementing
a facet search which needs to update the tree after a user selects a tree
node (facet). If I recreate the tree model like you were doing it doesn't
persistent the selection, obviously.
I'm not experienced with Swings t
I suggest that you display the text in a read only tinymce text area.
TinyMCESettings mceSettings = new TinyMCESettings(Theme.advanced);
mceSettings.addCustomSetting("readonly:true");
This only works if you update the tinymce javascripts as in
http://www.nabble.com/Re%3A-making-tinymce-textare
why dont you set a breakpoint for classcastexception and see what it
is trying to cast to what.
-igor
On Wed, Apr 22, 2009 at 3:52 AM, Daniel Fernandez wrote:
> Hello,
>
> I have a page which makes quite a heavy use of an
> AbstractAjaxTimerBehavior for retrieving the content of some Panels
> (a
I have text area with tinynmce behaviour, so any text saved from this
textarea will contain html tags to retain format of the text.Now in other
pages I want to display this text as read-only , for which i get the string
comment text from database and set it to as model to my label , the
prob
On your label: setEscapeModelStrings(false)
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Apr 22, 2009 at 11:24 AM, tubin gen wrote:
> I have text area with tinynmce behaviour, so any text saved from this
> textarea will contain html tags to retain format of the text.Now in oth
the right thing to do would be to provide a patch back to the community...
-igor
On Wed, Apr 22, 2009 at 7:52 AM, Eyal Golan wrote:
> With pleasure.
>
> 1. I overridden Palette.java and Palette.html
> In Palette.html I added the line below (with the span).
> In Palette.java all we did is overrid
Hi, I did it a different way. I have no problem adding checkboxes with this
technique. See
http://javathoughts.capesugarbird.com/2009/03/jquery-tree-table-for-wicket.html.
--
View this message in context:
http://www.nabble.com/Wicket-Tree-with-Swing-DefaultMutableTreeNode-tp18486972p23175575.htm
add tree.updateTree(target) before adding the tree to the target.
hth,
jim
>
> tree.addTreeListener(new TreeListener() {
>
>@Override
>public void onActivityClicked(String nameOfNode,AjaxRequestTarget
>target){
>
Igor, Jeremy,
Just want to say thanks for your constant support on the mailing list!
This is a huge part of why I've become a wicket enthusiast. Keep up the
great work!
Cheers, Jason
Igor Vaynberg wrote:
no need, just attach it to a wicket:container
[wicket:container][h3]..[/h3][div]..
I'm working on a project management application that lists all of a
project's tasks. Each task is displayed as a DIV. I want the user to be
able to select a specific task by clicking on its DIV, which would then
highlight that DIV by adding a CSS class and display some information
about the task in
Thanks for your answer, Igor.
Now I know what is happening more in detail. It is not easy to
explain, sorry for the long text:
I have:
- DataPanel: a panel with data I want to show.
- LoadingPanel: a panel which just shows a "loading..." image.
- PanelLoader: a Panel with an inner panel
Try something like this in the onClick(AjaxRequestTarget):
this.add(new SimpleAttributeModifier("class", "foobar"));
target.add(this);
previouslyClicked.add(new SimpleAttributeModifier("class", "otherclass"));
target.add(previouslyClicked);
previouslyClicked = this;
--
Jeremy Thomerson
http://w
You can add an AttributeModifier to the wicket component representing
your div, which picks the correct attribute based on the model, and
add the divs to the target in your AjaxFallbackLink.onClick().
-Clint
On Wed, Apr 22, 2009 at 12:52 PM, Dane Laverty
wrote:
> I'm working on a project managem
You should not recreate the TreeModel and for most cases DefaultTreeModel is
what you want. If you are adding a node, add it with:
http://java.sun.com/javase/6/docs/api/javax/swing/tree/DefaultTreeModel.html#insertNodeInto(javax.swing.tree.MutableTreeNode,%20javax.swing.tree.MutableTreeNode,%20int
Fabulous. Thank you for the quick response!
-Original Message-
From: Jeremy Thomerson [mailto:jer...@wickettraining.com]
Sent: Wednesday, April 22, 2009 10:58 AM
To: users@wicket.apache.org
Subject: Re: Clickably Selectable DIVs
Try something like this in the onClick(AjaxRequestTarget):
browsers are asynchronous, so you might have a race codition. eg
browser requests the data url and you press the refresh button, so now
there are two urls in the queue: the data and the page. if page is
processed first then the data url will fail because when the page is
first constructed you have
you cant keep adding attribute modifiers on every click, much better to simply:
class mylink extends link {
private string clazz;
oncomponenttag(tag) {
super.oncomponenttag(tag);
tag.put("class",clazz);
}
public void setclazz(string c) { clazz=c; }
}
-igor
On Wed, Apr 22, 2009 at 1
I am trying to use some components from wicket-stuff that I need to build from
the 1.3.5 tag, and to do this, I need to build wicket from the 1.3.5. That's 2
projects that I need to build from source so I can use some components.
I am considering migrating to 1.4 so I can use the distributed ar
no reason except that 1.4 will still have minor api breaks as we move
toward the final release.
wicket 1.3.5 should be available in maven repositories, no need to
build from scratch.
-igor
On Wed, Apr 22, 2009 at 11:21 AM, Phillip Rhodes
wrote:
> I am trying to use some components from wicket-s
Hi all,I wanted to check with you if my reasoning is ok.
I have my model object, bound to some controls displayed in the page using
PropertyModel.
I also have one ajax event (using a simple AjaxLink).
When the user clicks this ajax link, some components in the page are added
to the ajax target in
Why do you want an alternate way? Is there some advantage you see?
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Apr 22, 2009 at 2:10 PM, Juan G. Arias wrote:
> Hi all,I wanted to check with you if my reasoning is ok.
>
> I have my model object, bound to some controls displayed i
I would love doing so.
Is there a special way / place?
(where to put? what to put?)
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 Wed, Apr 22, 20
http://issues.apache.org/jira/browse/WICKET
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Apr 22, 2009 at 2:53 PM, Eyal Golan wrote:
> I would love doing so.
> Is there a special way / place?
> (where to put? what to put?)
>
>
> Eyal Golan
> egola...@gmail.com
>
> Visit: http://jv
The html and the object component hierarchy would be simplier.My question is
why stay attached to the HTML standard (use forms to submit), if AJAX
doesn't need to.
I need this inside a form, and only for one or maybe two text fields.
If I can link the component to the model without a form, I think
Not really - I'd liken that to reinventing the wheel. Wicket provides
easy support for linking the component and the model through an ajax
event - form submission. But, you could probably write your own JS
that takes advantage of the wicket-ajax stuff and manually sends the
form values as paramet
The following like is for Apache Solr, but most of it applies to any
Apache project:
http://wiki.apache.org/solr/HowToContribute
In particular, check:
http://wiki.apache.org/solr/HowToContribute#head-23efb2d0bdccabdfb1de743a6dea519e9194
On Apr 22, 2009, at 3:55 PM, Jeremy Thomerson wrote:
Hi,
I have page with several child components, and several of the
children update themselves using Ajax. Is it possible for the page to
register an Ajax listener that is called on the Ajax events of the
children?
Regards,
Liam Clarke
Thanks John, that page was very useful. :)
On Wed, Apr 22, 2009 at 2:57 AM, John Krasnay wrote:
> Hi Liam,
>
> Check out this page:
>
> http://cwiki.apache.org/WICKET/conditional-validation.html
>
> It has a bunch of recipes for interactions between components, e.g.
> requiring a text field only
Hi,
I'm new here to wicket.
I'm trying to add a javascrip code to the response after processing a form.
public void onSubmit() {
//do something
//add javascript code in the response to be processed by the
browse?
}
What the best aproach to achieve this?
I've been playing around with URL rewriting a bit and have run across some
promising techniques. While testing these techniques, I've been slowly
loading up my pages with a number of different kinds of actions and links.
Everything was working pretty smoothly until I got put my first AjaxLink on
th
Do you mean while loading a page that has an ajax link you are
redirected to another? Please provide example (URLs and code).
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Apr 22, 2009 at 9:25 PM, Matthew Welch wrote:
> I've been playing around with URL rewriting a bit and have r
Hi,
After trying a lot I finally was able to show and work (more or less).
A warning: Never call your appl/portlet-name with the same name
as the url-mapping, if not it won't work that was the main problem.
My new problem I'm using DatePicker from wicket-extensions/wicket-date
in a form, the dat
What do you mean by processing? Form processing? Normal rendering?
On Thu, Apr 23, 2009 at 2:25 PM, Matthew Welch wrote:
> I've been playing around with URL rewriting a bit and have run across some
> promising techniques. While testing these techniques, I've been slowly
> loading up my pages with
Hmmm perhaps it was a byproduct of the URL rewriting. As it turns out,
even with normal PageLinks this redirect occurs. BookmarkablePageLinks do
not cause the redirect. What's odd is that the redirect doesn't actually
change anything.
With the URL rewriting disabled, there are no redirects.
Bummer - if you didn't throw in the towel, I'd be interested in seeing
the result. All session-relative wicket links are going to have a
very distinct pattern that should be fairly easy [sic] to get in the
pattern and not rewrite.
Mind posting your rewrite code and maybe somebody can help with th
Hi Liam,
what is it that you'd like to achieve?
On the server side, when executing protected abstract void
respond(AjaxRequestTarget target);
any component can be added to the target.
mf
Am 23.04.2009 um 00:43 schrieb Liam Clarke-Hutchinson:
Hi,
I have page with several child components
Hi,
I think you have to be sure that you do not send an unencrypted
password across the wire...
That said, I think you can post back the value to the server and
update the PasswordStrengthMeter with that.
Or you could use Javascript to make it all client-side.
It all depends on implementati
55 matches
Mail list logo