I'm sure he was just using WTF as a reference to his own reaction when
digging down into the deeper classes and not as a criticism. In fact I
think he has said this.
Using Google is fine but Google sometimes refers you forums and mailing
lists where experts can help.
Anyway, the wicket in actio
Yeah, the headRendered flag is still set to true so the JsTimeout call is
never rendered. I'm not sure why it's was removed in the first place,
perhaps it's something to do with the precondition?
CrocodileShoes wrote:
>
> Hi,
>
> No it's definitely not that
Hi,
No it's definitely not that. I tried your class to be sure and it still
doesn't work.
I've done some more debugging with Firefox's Firebug and discovered that
when I switch back to the tab with the updating behaviour it does not
contain the evaluate part.
I'll print this, it's easier:
Thi
Thanks Daniel,
I've just tried this and it's not worked. Obviously it's a slightly
different use case, that is, changing tabs and popping up a modal window but
I'd hoped it would work.
It turns out that the stopped flag is not actually set to true. That's why
your method doesn't work. When I
Well I was adding this behaviour in the constructor of the Panel, i.e.
this.add(new AjaxSelfUpdatingBehaviour(...));
which I assumed resulted in the same effect.
I have just changed it to the following (see below) and now get a null
pointer when the behaviour tries to update the panel after I
I found the problem. It seems the url must be encoded otherwise the OFC
cannot find the data file. I don't have an account on apache yet so I can't
update the wiki.
private String getUrlForJson() {
CharSequence dataPath =
RequestCycle.get().urlFor(OpenFlashChart.this,
IResourc
Hello,
I'm trying to get SWFObject and Open Flash Charts running in my web app.
I'm receiving the following error where the chart should be:
Open Flash Chart
JSON Parse Error [Syntax Error]
Error at character 0, line 1:
-2: undefined-1: undefined0: http://www.nabble.com/linking-to-a-text-Reso
Did you ever get anywhere with this? I have the same problem where I refresh
the tree from the source data each time getObject() is called, that is, when
a user selects a node. It just feels wrong but I can't get it to work any
other way.
I am persisting selected nodes by implementing my own IT
Name of your application: Knowledge management research project for ESA -
Name not yet decided!
Intranet or internet: [X] intranet [ ] internet
Public or private site: [ ] public [X] private [ ] both
Average number of concurrent users: Not sure yet - We are deploying for the
Rosetta mission so
I've finally got this working by extending DefaultTreeState and overriding
the isNodeSelected to calculate the selection based upon the wicket model
containing the data. This makes more sense since the tree's state is
representative of the actual data now!
--
View this message in context:
http:
rtNodeInto(javax.swing.tree.MutableTreeNode,%20javax.swing.tree.MutableTreeNode,%20int)
>
> which will notify all the listeners, such as the wicket tree
>
> On Wed, Apr 22, 2009 at 10:56 AM, CrocodileShoes
> wrote:
>
>>
>> I have the same problem but with a different tree use ca
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
Hi guys,
I've been fighting with trees for a week now and nearly have it doing what I
require. However there is one thing I can't figure out.
-My tree is build using data from an external source.
-When I click a checkbox in the tree my tree model is completely
restructured based upon data from
I know on mootips you can create a Moosettings object where you can specify
the css class. You can then add those settings to the mootip.
I did a quick experiment before and it seemed change the style to the new
class defined in my apps css file.
Surely Prototips has something similar?
--
View
Does anybody have any thoughts or preferences with regards to Mootips and
Prototips?
I've briefly glanced at both and Prototip seems to offer more settings, e.g.
sticky tips, close buttons etc
--
View this message in context:
http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p2
Wow, it really is that easy!
--
View this message in context:
http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22699043.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe,
I've basically followed the same route as you. I think i'll try mootips as
well.
Looks like there is a Maven repo here:
http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-minis/1.3.0-SNAPSHOT/
RoyBatty wrote:
>
> Right, thanks. I did find that one, but decided to try Dojo out
Ah Ok. After a quick search through the wiki I came up with this:
@Override
protected IAjaxCallDecorator getAjaxCallDecorator() {
return new AjaxCallDecorator() {
public CharSequence decorateScript(CharSequence script) {
// add Javascript to change id here
return "" + script;
Can I do this?
MarkupContainer facetNameLink = new AjaxLink("facetNameLink") {
@Override
public void onClick(AjaxRequestTarget target) {
// Get the dataprovider's query response
SolrQuery query = responseModel.getQuery();
// Set the query back to the beginning.
query.setStart(
Am I correct in thinking that there isn't a maven release for Dojo that is
compatible with Wicket 1.4?
>From my quick searches and the wicket-stuff wiki it looks like you have to
download the Dojo source and build it yourself in order to use it.
Unfortunately my work proxy prevents this so I tho
By the way is this safe to use in any Wicket component, for example, a Panel?
I can't think of any reason why not, but this is my first foray into web
development.
--
View this message in context:
http://www.nabble.com/How-can-I-inject-a-Springbean-into-a-custom-session.-tp22340379p22377028.htm
Thanks, Igor; this worked perfectly.
--
View this message in context:
http://www.nabble.com/How-can-I-injecting-a-Springbean-into-a-custom-session.-tp22340379p22350445.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
Apologies if this is more of a Spring question than a Wicket question, I'm
just not sure.
Anyway, the problem.
I have a custom session class which inherits form WebSession. I've
overridden the WebApplication's newSession() method in order to return a new
instance of my custom session. Howeve
I've figured it out. I don't think it's very elegant but i'm sure I can
develop it as I learn more about Wicket.
I simply created a new property model around a results variable and created
a ListView with that model. When the form is submitted it calls the service
to update the query.
--
Vi
Hello,
I've just started using Wicket and have managed to convince the management
that we should use it for our new project! However, it's proving more
difficult for me to wrap my head around some of the concepts...yep the
models are one of them!
I have an object that is able to query a data so
25 matches
Mail list logo