urce}s, not bookmarkable pages.
*
* NOTE: The code for [EMAIL PROTECTED] #appendParameters(AppendingStringBuffer, Map)} and
* [EMAIL PROTECTED] #decodeParameters(String, Map)} was copied verbatim from
* [EMAIL PROTECTED] IndexedParamUrlCodingStrategy}.
*
* @author Karl M. Davis
*/
pub
Hey there all,
I've got a DynamicWebResource that I'm mounting via
mountSharedResource(...) and creating a ResourceLink to. That Resource
requires parameters and I'd love for it to operate similar to how
IndexedParamUrlCodingStrategy works, where my parameters are numbered
and look like just
Hey there
all,
Sorry for being
slightly off-topic but I was hoping someone here might be able to point me in
the right direction. I'd like my wicket app to support plugins. What
I need is a way to dynamically discover what plugins are available to be
instantiated. A plugin in this case
Hello
all,
This is a minor
annoyance, but I figured I'd throw it out there anyways...
Is there a way to
have a ListChoice that has no option selected by default and does not insert a
default choice (e.g. "Choose One" or an empty entry if you set
setIsNullValid(true))? It's possible in
Matej,
Thanks-- that seems to have done it. At least, it's crashing respectably
now with a markup error that I'll look at later (my fault, I'm sure).
-- Karl
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karl M.
Davis
Sent: Monday, O
st doesn't work I'll certainly look at that.
-Matej
Karl M. Davis wrote:
> Hello all,
>
> I am having a problem in my first attempts to use ModalWindow. What
> I'm trying to do is have a ModalWindow that is part of a panel which
> is added during an Ajax upd
Hello
all,
I am having a
problem in my first attempts to use ModalWindow. What I'm trying to do is
have a ModalWindow that is part of a panel which is added during an Ajax
update. When I do this-- the Ajax for that page "hangs"
on:
<<
INFO:
Response parsed. Now invoking steps...
INFO:
I haven't checked, but since AbstractTab takes a Model for
the title, you could try just changing the value that model
returns.
e.g.
Model tabLabel = new Model("label1");
... new AbstractTab(tabLabel) {...
... onAjaxUpdate ...
tabLabel.setObject("label2");
...
From: [EMAIL PROTECTED]
On 10/17/06, Karl M.
Davis <[EMAIL PROTECTED]> wrote:
Wow,
that was idiotic of me. I somehow got it stuck in my head that the
page I was linking to was bookmarkable-- it's not.
Is there
a way to have _javascript_ open a popup to a page that is
p settings. if you have a
bookmarkable page - which looks like you do because you are using that urlfor
variant you must provide either the default constructonr () or since you are
using parameters a (PageParemeters params) constructor.
-igpr
On 10/17/06, Karl M.
Davis <[EMAIL PROTE
"
+ url + "'"); if(target !=
null) tag.put("ondblclick",
target.appendJavascript(popupSettings.getPopupJavaScript()); }}-igor
On 10/16/06, Karl M.
Davis <[EMAIL PROTECTED]>
wrote:
Hello all,
What I'm trying to do is have a Label that
I can doub
Hello
all,
What I'm trying to
do is have a Label that I can double click to open a popup window. I don't
really care if it's Ajax or static _javascript_, I just need it to work.
However, Ajax seemed easiest so I've added the following Ajax behavior to a
Label:
<<
private static class
Matej,
Doesn't it make more sense just to override onNodeLinkClicked(...)? That's
what I've been doing, anyways. That way you don't have to worry about how
the ndoes are created-- just what to do with them once one is clicked. If
you want to control how the nodes look, override renderNode(...)
y.
-Matej
Karl M. Davis wrote:
> Matej,
>
> Ended up with some extra free time today.
>
> I took a look at the existing unit tests and didn't see any that
> jumped out at me for testing the tree component. So instead of a unit
> test,
DefaultMutableTreeNode child = new
DefaultMutableTreeNode(new ModelBean(nodeText));
parent.add(child);
fireTreeNodesInserted(this, parent.getPath(), new
int[]{parent.getIndex(child)}, new Object[]{child});
return child;
Matej,
I'm getting an
ArrayIndexOutOfBounds when I go to select a tree node right after it has been
inserted into the tree when I call Tree.updateTree(target); (my tree
model is firing the correct events). If you'd like, I can get you a test
case for this in a day or two, but I just wante
llegal, it can be bug in tree.
Would you mind testing svn version first, it _might_ be already fixed.
Thanks,
-Matej
Karl M. Davis wrote:
> Matej,
>
> I'm getting an ArrayIndexOutOfBounds when I go to select a tree node
> right after it has been inserted into the tree when I
hat replacing tr in ajax doesn't work in ie (and
> opera), so
> > I had to use divs instead. However, I still think using nested
> divs for
> > tree table wouldn't work well.
> >
> > -Matej
> >
> > Karl M. Davi
Matej,
I've been wondering why you chose to implement the tree as
a set of floated divs rather than as a nested list? The list would be much
more semantic and fallback gracefully if the user has CSS turned off as
well. This is one of the better examples of this I've
seen:
http://www.silv
Hello
all,
I have a form I'd
like to submit via AJAX. The problem is, before the form can be submitted,
I need to run a _javascript_ command:
"tinyMCE.triggerSave(true, true);"
I've tried adding a
normal Button with it's getOnClickScript() overridden to return this. That
works fine--
To clarify: preferably the tree would be set to add scroll
bars if any of the rows overflow the width.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karl M.
DavisSent: Saturday, September 09, 2006 2:32 AMTo:
wicket-user@lists.sourceforge.netSubject: [Wicket-user] Matej's T
Hey
there,
I'm having a problem
with Matej's tree. The way it's set up, if any of the rows' text is too
wide for the 20em space allocated to the tree, the row "disappears". I can
make the tree wider, but this becomes a problem for arbitrarily-large
trees.
I'm hoping this is
something I
Hey
there,
Just wanted to
mention that the demo of Matej's "new" tree on the web page (http://wicketframework.org/wicket-extensions/index.html)
is down.
Does anyone know
where I can find some sample code and/or a working demo? I'd really love
to start using this and it's always easier
Hello
all,
What I would like to
have is a site where user-specific feature pages map to hierarchical
URLs. For example: * /site/user/karl/blog/2006/08/14 maps to
BlogViewer(bob, "2006", "08", "14") *
/site/user/karl/content/BestEssayEver maps to ContentViewer(fred,
"MyLifeStory") * /sit
PageHeader is output
as <h1>PageHeader</h1> in the page
source… not quite what I’m looking for.
How should I go about this?
Thanks,
Karl M. Davis
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/li
Hello again all,
Thanks very much for all of your advice. I think I'm
starting to grasp how models should be used now. Just a couple of follow
up questions:
Model for ListChoice selections:
I am now using a LoadableDetachableModel for pulling the list of snippets on each page loa
26 matches
Mail list logo