I have to traverse from the "parent" of my Tabs through all components in all
tabs.
As i use now "visitChildren" i only found the components which are visible
on the active tab. Its clear why, cause the other tabs are not loaded with
ajax.
But are there any way to traverese through ALL Tabs to f
the combination of class, key, locale, style must be unique, so if I
have the same keys ( while locale and style is not changing ) - the
classname must be unique. So I cannot use this in anonymous classes,
as it does not resolve, e.g. page class name
Žilvinas Vilutis
Mobile: (+370) 652 38353
E
are you using the sysdeo tomcat plugin for eclipse.
We had the same issue y'day and doing this fixed the issue
- compile the files in the DevLoader.zip and jar it in place it in
tomcat/common lib folder.
dipu
On Wed, Apr 21, 2010 at 1:19 PM, Objelean Alex wrote:
> Hi!
> My application uses wick
use setResponsePage() to go to the next page when everything is a-ok.
Wicket will instruct the browser to redirect to the new page (iirc).
Martijn
On Wed, Apr 21, 2010 at 11:58 PM, Brian Laframboise
wrote:
> Thanks Edward. I was hoping for some means of doing this in a
> redirect-after-post kind
sorry, ignore my previous message ,problem seems to be some thing else
On Thu, Apr 22, 2010 at 8:38 AM, Dipu wrote:
> are you using the sysdeo tomcat plugin for eclipse.
> We had the same issue y'day and doing this fixed the issue
> - compile the files in the DevLoader.zip and jar it in place i
Martijn Dashorst wrote:
striken through means:
1) already happened
2) already happened elsewhere
3) never gonna happen
Most items fall in categories 1 and 2
thanks
I updated the wiki accordingly
best
joseph
-
To unsubscri
Hellos,
I am using wicketuff-push in a project,i found it nice and used it a lot in
a project i am currently working with..
my problem is it's not working when i am using jetty as standalone
ie. usual java -jar start.jar
i also have port forwarding enabled ..
i don't see any long polling in logs
Ah, right... we got around that by not using the class (partly so we could
use the same resource strings across different classes). The only other
thing I can suggest is to use more unique keys for anonymous classes, though
that is clearly not ideal. Maybe someone else knows a better solution.
O
absolutely.
I have tried two things and they both work the same way.
first using a wicket id
add(new StyleSheetReference("stylesheet", CustomerPanel.class,
"jquery.tooltip.css"));
and
straight html
What I have found through looking at the code is that the WebMarkupContainer
is not being show
ok I just added a label outside of the webmarkupcontainer and added the
tooltip stuff to it and it works perfectly.
So the problem is the webmarkupcontainer. Everytime it is refreshed through
ajax instead of refreshing the entire page, I lose the connection between
the css and the html inside the
Why don't you use something like
add(CSSPackageResource.getHeaderContribution(CSS);
on the constructor of the panel you are using. Here CSS is
CSS = new ResourceReference(...).
Wicket will take care of the rest.
By the way the only reference I could find to class
StyleSheetReference on core an
you dont see those components because they are not added to the
hierarchy. the tabbed panel only adds the current tab. if you want to
traverse them you will have to first create them and then call visit
on each tab. a much better solution is to use a javascript-only tab
panel so your entire form is
I am using wicket 1.3.7 currently so I can not use the CSSPackageResource.
Is there a way to just use PackageResource? I know that I need to upgrade
but right now that is not possible.
Also why can't I just add the CSS file to my html with a link and be done
with it like this:
Why does the mar
Hi,
Check the logs and see what the cometd servlet is requiring,
This is more of a jetty issue than a problem wicketstuff-push..
You should find something in the jetty mailing lists regarding the
requirements for the comet servlet.
On Thu, Apr 22, 2010 at 9:24 AM, vineet semwal
wrote:
> Hellos
I have figured out issue #2. My form had a method='get' on it and I
have a very large grid with checkboxes in it, so I suspect that I was
overflowing the request size. Stupid mistake, but the behavior in no
way pointed me towards this. On the observation I made that it seemed
to work when I remo
Hi all,
I am trying to integrate some dojo widgetry using the declarative method of
associating DOM elements with dojo components, so I end up declaring markup
like:
and the markup parser always converts the 'dojoType' attribute to lowercase,
and so dojo won't "activate" it like it should. I've
wicket will filter duplicate contributions for you and even though
they are rendered they are not executed. if you are writing out
javascript directly you can set a string id which uniquely identifies
the contribution and wicket will also filter by that.
-igor
On Wed, Apr 21, 2010 at 8:40 PM, App
in wicket you would not override the textfield and make it render as a
label, thats what the label component does. you would create a
component that would either add a textfield or a label based on some
condition.
-igor
On Thu, Apr 22, 2010 at 9:42 AM, Brian Mulholland
wrote:
> I have figured ou
Thanks for the response. I have two thoughts.
1) So you would say that expected Wicket best practice would be what?
My control is effectively a TextField. Would I extend
AbstractTextComponent (which I see has almost every property TextField
has) and then add() a TextField and a Label to it, and
i have written a lot of listviews and repeaters and never had to
override onrender to render html, this is now how wicket is intended
to work. in wicket you attach components to html elements, and the
only contract is that certain components expect to be attached to
certain elements. for example a
Hi,
When I add an AjaxFormComponentUpdatingBehavior to a component (a
TextField in particular though I don't think that matters),
Wicket assigns an HTML "id" attribute to the component by taking the
"wicket:id" value I specified and appending a character.
So, if my original HTML had: type="t
Hi!
You can call component.setMarkupId(component.getId());
**
Martin
2010/4/22 Alexandros Karypidis :
> Hi,
>
> When I add an AjaxFormComponentUpdatingBehavior to a component (a
> TextField in particular though I don't think that matters), Wicket
> assigns an HTML "id" attribute to the component
Hi,
I have an issue with a simple app working fine when run in the app
server, but where the test (using WicketTester) that simulates the
performed behaviour fails.
Here are the details:
I have a custom RequestCycleProcessor with a custom
WebRequestCodingStrategy that mounts a page (for e.g. a s
Ok, I get it, thank you.
On 22/4/2010 21:55, Martin Makundi wrote:
Hi!
You can call component.setMarkupId(component.getId());
**
Martin
2010/4/22 Alexandros Karypidis:
Hi,
When I add an AjaxFormComponentUpdatingBehavior to a component (a
TextField in particular though I don't think tha
Hello,
I can see two options but there are probably others aswell:
1. emit the id value of the input tag so your javascript will be able to
find it.
2. change your CSS to style on the class of the tag vs the id.
For 1, I would :
add a behviour like this to your TextField:
new AbstractBeha
Hi!
Is there any particular reason why Application class wouldn't be stored in
InheritableThreadLocal instead of ThreadLocal? The problem is that I need to
be able to access Application class from a thread created when a button is
pressed. Using InheritableThreadLocal instead of ThreadLocal would s
I have several images and other static assets that are specified in my
markup. The images are in an assets folder. Wicket is handling the URL
change from relative to absolute. The issue is that there are no cache
related headers on the images, so the browser never caches them. Is
there a way to add
But this isn't suggested. See past threads (there's been a couple just in
the last two weeks).
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Apr 22, 2010 at 1:55 PM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:
> Hi!
>
> You can call component.setMarkupId(component.
Hi Igor,
It is not that duplicates items are getting rendered. What I want is that
the Js should be rendered ONLY when rendering in non-Ajax mode. In Ajax mode
the Js code should be stripped out. As these Js codes are not executed when
in Ajax response so it doesn't make sense to render them there
Hi Igor,
It is not that duplicates items are getting rendered. What I want is that
the Js should be rendered ONLY when rendering in non-Ajax mode. In Ajax mode
the Js code should be stripped out. As these Js codes are not executed when
in Ajax response so it doesn't make sense to render them there
amd this bloating has caused a noticeable slowdown in your site's
response times? how much latency is it adding to the response?
that said, you can always output it using iheaderresponsecontributor
and add an check if you are inside ajax or not using request.isajax()
-igor
On Thu, Apr 22, 2010 a
In terms of hosting it is measurable. Each byte of request for a million
hit site is 10Mbit of line cost.
That being said most latency is about connections and not amount of data.
At least in terms of speed up I would look first at reducing things like
frames, then resources, then size.
Inline
@Igor
I have a very tight budget so the resources are pretty limited, so I need to
save the bandwidth wherever possible. BTW I didn't find any class -
iheaderresponsecontributor.
Regards,
Apple Grew
my blog @ http://blog.applegrew.com/
On Fri, Apr 23, 2010 at 8:37 AM, Igor Vaynberg wrote:
> am
if you have a million hit site you can probably afford the hosting :)
-igor
On Thu, Apr 22, 2010 at 8:16 PM, Tim L Casey wrote:
>
>
> In terms of hosting it is measurable. Each byte of request for a million
> hit site is 10Mbit of line cost.
>
> That being said most latency is about connections
org.apache.wicket.markup.html.IHeaderContributor
-igor
On Thu, Apr 22, 2010 at 8:35 PM, Apple Grew wrote:
> @Igor
>
> I have a very tight budget so the resources are pretty limited, so I need to
> save the bandwidth wherever possible. BTW I didn't find any class -
> iheaderresponsecontributor.
>
That's a good point. :)
BTW if i implement my own IHeaderContributor how will take advantage of
wicket's js code stripper and compressor provided by
JavascriptPackageResource?
Regards,
Apple Grew
my blog @ http://blog.applegrew.com/
On Fri, Apr 23, 2010 at 9:46 AM, Igor Vaynberg wrote:
> if yo
you use iheadercontributor to write out the url to the resourse, which
i think will point to the javascriptpackageresource.
-igor
On Thu, Apr 22, 2010 at 9:29 PM, Apple Grew wrote:
> That's a good point. :)
>
> BTW if i implement my own IHeaderContributor how will take advantage of
> wicket's js
ohk... will check.
Regards,
Apple Grew
my blog @ http://blog.applegrew.com/
On Fri, Apr 23, 2010 at 10:08 AM, Igor Vaynberg wrote:
> you use iheadercontributor to write out the url to the resourse, which
> i think will point to the javascriptpackageresource.
>
> -igor
>
> On Thu, Apr 22, 2010 a
Hello, everyone!
I've got a page with a repeater with cells - every single cell has a link in
it. However, when you go to another page and afterwards press the Back button
and click one of the links, the following exc is thrown:
WicketMessage: org.apache.wicket.WicketRuntimeException: component
hi,
thanks for direction,atleast now i am sure it's jetty issue..
actually i don't see any error in logs so can't say what is missing..
i am also searching jetty mailing list .
thanks again,
On Thu, Apr 22, 2010 at 9:16 PM, Rodolfo Hansen wrote:
> Hi,
>
> Check the logs and see what the comet
40 matches
Mail list logo