I have a LinkTree where the nodes represent systems, servers, or services
within a system. The nodes have specific images associated with their
semantics and their health, and the health is polled at intervals to see if
I need to change the resource, e.g., to represent if a server is down. I
I have a LinkTree with BookmarkablePageLinks, wherein the nodes correspond to
different types of objects. The models within the nodes tell me what kind
of page I need to instantiate, with what parameters. I had some troubles
implementing it, but I got it working. Since this kind of pattern is
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
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:
I have a control with a needle that moves. The needle's value is continually
changing, so on a timer I ask the server its value and set its position with
the left CSS attribute, as in:
.Needle
{
z-index: 1;
width: 2px;
...
left: 20%;
}
I do have a bean that returns a percentage
)?
.Needle {
z-index: 1;
width: 2px;
...
}
Seven Corners schrieb:
I have a control with a needle that moves. The needle's value is
continually
changing, so on a timer I ask the server its value and set its position
with
the left CSS attribute, as in:
.Needle
{
z-index: 1
I have to write a table that updates via AJAX on a timer that polls data from
the server (the data comes as collection, not as a database call).
My first question is what class I need to use; I've looked at a few of the
available classes and I think the AjaxFallbackDefaultDataTable is too
Thanks so much!
Seven Corners wrote:
I have some strings that I'd like to access from a common string table
that is not tied to any particular component. How can I do this?
--
View this message in context:
http://www.nabble.com/Shared-string-resources-tp22462537p22462644.html
Sent
I have some strings that I'd like to access from a common string table that
is not tied to any particular component. How can I do this?
--
View this message in context:
http://www.nabble.com/Shared-string-resources-tp22462537p22462537.html
Sent from the Wicket - User mailing list archive at
.
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Mar 11, 2009 at 2:20 PM, Seven Corners
shel...@blackwave.tv wrote:
I have some strings that I'd like to access from a common string
table that
is not tied to any particular component. How can I do this?
--
View this message
.
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Mar 11, 2009 at 2:20 PM, Seven Corners
shel...@blackwave.tv wrote:
I have some strings that I'd like to access from a common string
table that
is not tied to any particular component. How can I do this?
--
View this message
.
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Mar 12, 2009 at 12:30 PM, Seven Corners
shel...@blackwave.tvwrote:
Thank you for giving such an explicit answer, Steve. The thing is, I do
that
all the time, and this is the answer for when you have an associated
component
.
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Mar 12, 2009 at 12:30 PM, Seven Corners
shel...@blackwave.tvwrote:
Thank you for giving such an explicit answer, Steve. The thing is, I do
that
all the time, and this is the answer for when you have an associated
component
I have a page with a ListChoice of user names that is populated with a call
to our server (loadUserNames()). The page also contains a number of
TextFields corresponding to the user's other attributes. When you modify
those text fields so the user name doesn't correspond to anything in the
list,
4:42 PM
To: users@wicket.apache.org
Subject: Re: How to update ListChoice after form submission?
inside the onclick of your ajaxfallbackbutton you have to add the
listchoice to the target so wicket rerenders it
-igor
On Thu, Oct 2, 2008 at 12:49 PM, Seven Corners [EMAIL PROTECTED]
wrote
I have a form whose submission can possibly generate exceptions. I would
like to expose the exception text in the FeedbackPanel. How can I do this?
I've tried getting the FeedbackMessagesModel and doing a setObject() on that
but it's not accepting a String, a FeedbackMessages List, or a new
I have a form where one of my text fields intermittently doesn't update when
I change the model, even though I add the component to the AJAX target.
Most of the time it works. When you add a few fields to the ListChoice,
this is where things get dicey.
Here's the scenario: you have a
You can deploy with Tomcat but you can't use the standard Tomcat deployment
tree; that is, something like this won't work:
.../webapps
- mywebapp
- WEB-INF
- classes
- html
- images
- styles
- scripts
You have to put the html for a given class in
I'm generating a LinkTree that will sit in the left frame of a frameset. I
want the leaf nodes to contain links to pages that will open in the right
frame of the frameset. The LinkTree has a few link types but there is no
built-in support for setting the link's target.
Eelco has a nice example
Thank you, Serkan, for posting this solution. It's very slick. I have been
wrestling with trying to figure out how to slip a link into a panel when I
don't know until runtime what the link will be and you've just told me how
to slip in HTML at runtime. I love it!
Shelah
Serkan Camurcuoglu-3
I have figured out the considerable gyrations to subclass a LinkTree so its
leaves contain links that will change the page in another frame within a
frameset, and I'm doing this with regular Links (i.e., href and target
attributes, and setting the response page and the frame target's page class
);
String targetURL =
RequestUtils.toAbsolutePath(urlFor(YOUR_CLASS.class,params ).toString());
Use a link, such as ExternalLink, that takes a url.
Hope this helps.
On Fri, Oct 10, 2008 at 1:39 PM, Seven Corners [EMAIL PROTECTED]
wrote:
I have figured out the considerable gyrations
().urlFor(getPage().getPageMap(),
pageClass,
parameters);
}
}
Seven Corners wrote:
Well I was really grateful for that. I've tried both alternatives and
neither works but I think maybe I just have to fiddle with them a bit.
Just getting back to you before the end
I have a similar issue, but I don't know which radio should be checked until
runtime. So I can't hard-code it in the HTML; I have to determine it from
my DAO in the radiogroup's parent panel constructor. I'm using the model to
determine which radio to select, and it works fine once you click,
I have link that is not receiving an onclick event. It links to a page in my
application, and I do not want it bookmarkable. It's in a RefreshingView.
The browser renders the link with the correct style for a link, but if you
hover over the link, you don't get the URL to show up in the status
I have a form that contains a few checkboxes, and the form should fail
validation only if ALL of them are unchecked. How can I do this? I see how
to validate that a single control is required but not to check for coupled
controls.
--
View this message in context:
OK, good, thank you, Martin!
Shelah
--
View this message in context:
http://www.nabble.com/Form-validation-with-coupled-components-tp22741741p22742000.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
Thanks for getting back to me. I figured it out; I had a mismatched div tag
that Firefox forgave. It wasn't a Wicket issue at all.
--
View this message in context:
http://www.nabble.com/Link-not-getting-onclick-event-tp22725492p22781576.html
Sent from the Wicket - User mailing list archive at
I have a LinkTree wherein I need to disable the links on certain nodes. It
was easy to disable the contentLink but I haven't been able to figure out
how to disable the iconLink. My links are BookmarkablePageLinks, but
iconLink is not a proper link; rather it appears that it's a td element
with
29 matches
Mail list logo