On Tue, October 07, 2008, Jeremy Thomerson wrote:
> Maybe supply some code as an example of what you're doing. I really didn't
> understand your scenario below.
See the code below. I use a button panel which allows me to setup form
buttons in different ways within a page class hierarchy, i.e. an
This is my sample code to to show jfreechart tooltip on the image.
The key is to override onComponentTagBody() and use
replaceComponentTagBody().
the parameter imageMapId used in ChartUtilities.getImageMap(imageMapId,
info); should also
markded in html file ,for example :imageMapId="tooltip",th
Hi-
we have a CMS generating a bunch of static html pages. Now I have to
add some dynamic content to each of these pages using wicket. The
pages have the basic HTML structure, navigation and some text blob,
wicket has to add the page title, whatever JavaScript it requires for
form proces
Hello,
> Again, serialization and writing to filesystem are two
> completely different things.
> Are you *really* sure that the writing (which is done in
> separate thread btw) is really the bottleneck? I have
No, I am not really sure. But, I suspect(ed...i am in doubt now :-) )
the writing mai
Hi all,
I tried extending the AjaxPagingNavigator class to provide some feedback
while loading the next page using IndicatingAjaxLink. The
(not-compiling) code I wrote is below. I couldn't make it work because
the protected methods in AjaxPagingNavigator return a Link, as AjaxLink
is a sibling of
jWeekend escreveu:
Adriano,
Create the AbstractAjaxBehaiour you want, call getCallbackUrk() on it and
use the returned URL as a parameter to wicketAjaxGet in the JavaScript
you're generating.
Thanks, Cemal. I'm now able to go further.
Adriano
Hi Sven,
thanks for the reply.
What I don't quite get is how I would be able to use the markup from
seerat static pages as template for a single wicket page.
Thanks again,
-markus
Zitat von "Sven Meier" <[EMAIL PROTECTED]>:
You can use a single Wicket page using the static html of your CM
Op woensdag 08-10-2008 om 02:56 uur [tijdzone -0700], schreef Michael
Sparer:
> why not just let your IndicatingPagingNavigator implement IAjaxIndicatorAware
> - then you got your feedback and also have it at one place (only one
> indicator) instead of multiple indicators as each ajaxlink would hav
hello list,
I am a new user of wicket and try to make a simple fileupload like the
example at http://www.wicket-library.com/wicket-examples/upload/
The examples work when I deploy to tomcat on win xp.
However when I use the war on linux ( e.g. Apache Tomcat/6.0.18 | suns
java 1.6.0_10-rc2-b32 | L
You can use a single Wicket page using the static html of your CMS as
its markup.
Sprinkle your templates or content (depending who's in charge) with
wicket ids:
With custom component resolving you can then inject the dynamic parts,
i.e. Wicket panels mainly.
We successfully used this te
Well, it's been a week since my original topic was hijacked for a discussion
on removing the wicket:id from XML output.
Returning to the original point, there has been no response to my idea of
organizing a meetup here in South Florida. Therefore, I declare myself to be
the Lone Wicketeer of SoFl
Hi Martin,
Programmatically generating the markup as you've done below is not
really "the Wicket way", which is probably why you're bumping up against
other Wicket design decisions. I've solved similar problems using a
RepeatingView as follows:
ButtonPanel.html
ButtonPanel.java
public c
alright, but that's more CSS fiddling than wicket related
have fun tweaking your styles ;-)
regards,
Michael
Reinout van Schouwen-4 wrote:
>
> Op woensdag 08-10-2008 om 02:56 uur [tijdzone -0700], schreef Michael
> Sparer:
>> why not just let your IndicatingPagingNavigator implement
>> IAjaxInd
Hehe, I would be happy to show up. I just need a sponsor for the flight
over the ocean & hotel :)
If I dont find anyone, i'll just shoot out some more wicket games:)
shetc wrote:
Well, it's been a week since my original topic was hijacked for a discussion
on removing the wicket:id from XML out
Hi,
I would like to consult on implementing a generic mechanism for checking
whether some data on a page modified before leaving that page.
The use case is:
- Page has some form fields or other controls
- User has entered some data to the form
- Before submitting the form user clicked on a link t
why not just let your IndicatingPagingNavigator implement IAjaxIndicatorAware
- then you got your feedback and also have it at one place (only one
indicator) instead of multiple indicators as each ajaxlink would have its
own ...
e.g.
public class IndicatingAjaxPagingNavigator extends AjaxPagingNa
Hi,
I am pretty new to Wicket, yet not new to development and the web (at all).
I want to hear your advise on the following functionality which I intend to
build using Wicket:
I want to make two components that work together through ajax.
1) The first is an upload component that instead of sen
Hi
I have built a new custom panel(custompanel.java) with 12 text fields. It
has a configuration file called custompanel.properties which has something
like
component1.required=true
component2.required=true
component1.maxlength=200
These properties can be overridden by page.properties. When I re
Hey man, I'm looking for something similar,
have you got it working?
AshleyAbraham wrote:
>
> Just to clarify: I have created three classes, the parent class is the
> AjaxWizardButton similar to Wicket's WizardButton and the two child
> classes are AjaxCancelButton and AjaxFinishButton similar
There it was!!!
If found it with your hint. I was holding in to the reference.
Thank you.
Jens Alenius
igor.vaynberg wrote:
>
> if wicket tries to serialize the object you are trying to hold on to a
> reference of it outside the ldm somewhere in your code. eg
>
> object o=ldm.getobject();
> a
And don't forget final scopes:
final Thing thing = component.getModelObject();
add(new Label("this", "that") {
@Override
public boolean isVisible() {
return thing.isGreen();
}
});
For the object "thing" to be accessible in the anonymous inner class
it had to be declared final. Because
Hi Markus,
mount a single page:
mount(new MixedParamUrlCodingStrategy("content", ContentPage.class, new String[]
{"contentId"}));
In the constructor you can get hold of the requested content's id:
public ContentPage(PageParameters params){
this.contentId = params.get("contentId");
}
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
Lets say I have two GLatLng Points, i.e. Chicago and Indianapolis. I would
like to have the map be centered between these points and bounded to show
these points.
What is the best way to do this?
--
View this message in context:
http://www.nabble.com/initial-GMap2-bounds-question-tp19883071p19
// My page
public Index() {
super();
add(getContent());
}
protected Component getContent(){
RicolaGroupbox ricolaGroupbox= new
RicolaGroupbox("csrHome","ESP");
ricolaGroupbox.add(ne
Seems to me like the hierarchy is ok.
What's missing from the code you provided is the id of the component you
defined as InboxMenuLabel(). Are you sure it was named "inboxMenu"?
Arie
public InboxMenuContainer() {
super("inbox");
super
Thanks!
Worked great :-)
Timo Rantalaiho wrote:
>
> On Tue, 07 Oct 2008, newbieabc wrote:
>> I have another related question...
>
> Often it's a good idea to start a new thread with a
> descriptive subject for new questions.
>
>> I want to change one of the Contact page form component's visi
yes..
Here is the code
private class InboxMenuLabel extends Label {
public InboxMenuLabel() {
super("inboxMenu","InboxMenu");
}
}
Arie Fishler wrote:
>
> Seems to me like the hierarchy is ok.
>
> What's missing from the
Hi,
I was wondering how smart WicketFilter is about picking up requests.
Ideally, I want it to only pick up HTTP GET/POST requests that take HTML
output and leave all other requests (against the same URL) to JAX-RS's
filter to pick up. This relates to the limitations listed at the bottom of
http:
Label should be in a tag...not ?
On Wed, Oct 8, 2008 at 7:55 PM, miro <[EMAIL PROTECTED]> wrote:
>
> yes..
> Here is the code
>
>private class InboxMenuLabel extends Label {
>public InboxMenuLabel() {
>super("inboxMenu","InboxMenu");
>
What does CSRRicolaContainer extend?
On Wed, Oct 8, 2008 at 1:34 PM, miro <[EMAIL PROTECTED]> wrote:
>
>
> // My page
> public Index() {
>super();
>add(getContent());
>}
>
>protected Component getContent(){
>RicolaGroupbox
Hello Doug,
I'm still looking forward to hear from you. I'm new in wicket and I have at
the moment time to investigate why a lot of wicket-contrib-yui components
can't be added in wicket components (wicket version 13 and 1.4).
I will be very happy if you can give me some advise where to start to
On Wed, Oct 8, 2008 at 2:06 PM, Arie Fishler <[EMAIL PROTECTED]> wrote:
> Label should be in a tag...not ?
Why?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It extends WebMarkupContainer .
jwcarman wrote:
>
> What does CSRRicolaContainer extend?
>
> On Wed, Oct 8, 2008 at 1:34 PM, miro <[EMAIL PROTECTED]> wrote:
>>
>>
>> // My page
>> public Index() {
>>super();
>>add(getContent());
>>}
>>
>>
Why are you calling super.add() as opposed to merely add()?
On Wed, Oct 8, 2008 at 3:06 PM, miro <[EMAIL PROTECTED]> wrote:
>
> It extends WebMarkupContainer .
>
> jwcarman wrote:
>>
>> What does CSRRicolaContainer extend?
>>
>> On Wed, Oct 8, 2008 at 1:34 PM, miro <[EMAIL PROTECTED]> wrote:
>>>
Altogether my problem is html for nested components I have a page to this
added component A (container) and to this added component B (Link)
page
A
B
now how would html look for this
just to make sure iam adding to container (CSRRicolaContainer ) and not to
the page
jwcarman wrote:
>
> Why are you calling super.add() as opposed to merely add()?
>
> On Wed, Oct 8, 2008 at 3:06 PM, miro <[EMAIL PROTECTED]> wrote:
>>
>> It extends WebMarkupContainer .
>>
>> jwcarman wrote
Regretfully there's no direct API call in GMap2 supporting your case.
Here's a description how to do it with Javascript only:
http://econym.googlepages.com/basic14.htm
We could make up a function that hides the details:
GMap2#fitMarkers(List)
Martin, what do you think?
Sven
Doug Leeper
I achieved what I was looking for. Here is what I did:
map.add(new HeaderContributor(new IHeaderContributor()
{
private static final long serialVersionUID = 1L;
public void renderHead(IHeaderResponse response)
Sven Meier wrote:
Regretfully there's no direct API call in GMap2 supporting your case.
Here's a description how to do it with Javascript only:
http://econym.googlepages.com/basic14.htm
We could make up a function that hides the details:
GMap2#fitMarkers(List)
Martin, what do you think?
My problem is html for nested components I have a page to this added
component A (container) and to this added component B (label)
page
A
B
now how would html look for this
is this right pl
according to your previous mail, in the markup you sent, there's a hierarchy
csrHome -> inbox -> inboxMenu but in the exception you get, it says that it
cannot find inboxMenu below path
0:csrHome.RicolaGroupbox which suggests that you actually have a component with
id RicolaGroupbox in the midd
moreover, if the markup that you sent is a real copy/paste, then in this line
the colon in the middle of wicket:id seems to be missing..
-Original Message-
From: Serkan Camurcuoglu [mailto:[EMAIL PROTECTED]
Sent: Thu 10/9/2008 12:43 AM
To: users@wicket.apache.org
Subject: RE: nested c
Yes, I did make it to work by creating those two Ajax buttons and putting
them in a class which extends WizardButtonBar class and overrided the
newButtonBar() in the Wizard class to pass that. Its been a while since I
did it, so I dont have the exact details on the tip of my finger.
Hope it helps
On Wed, 08 Oct 2008, miro wrote:
>
>
^
>
You're missing a colon (:) there in the wicket:id
declaration of inobx. That's why inboxMenu gets directly
under csrHome in the hierarchy.
Here's a good reason
On Wed, 08 Oct 2008, miro wrote:
> just to make sure iam adding to container (CSRRicolaContainer ) and not to
> the page
>
> jwcarman wrote:
> >
> > Why are you calling super.add() as opposed to merely add()?
It doesn't work like this, "super." doesn't change anything
there.
To add to the p
46 matches
Mail list logo