My best experiences have been when the designer has full reign to do
what they need on the CSS/HTML front on a blank canvas-- obviously after
doing wireframes with something like OmniGraffle, Balsamiq or Fireworks.
It helps if they add things like static error messages or a highlighted
Bingo!! I've been hitting this wall, and pulling my hair out-- in
fact I may ditch jQuery for this very reason since I can't find a
suitable workaround :-(
Martin Makundi wrote:
... and expect trouble with ajaxifying jquery plugins that skin html
components. They will not work properly
I am pretty sure, it is a bug. The reason why the urlFor(ResourceReference)
is not working properly is because you are using
BookmarkablePageRequestTargetUrlCodingStrategy for page mounting or a
similar strategy which encodes the params like this:
http://server/context/param1/value1/param2/value2
You could add a shared resource to your application, like this:
Application.get().getSharedResources().add(name, WebResource)... in the
WebResource implementation you can control the response headers by adding
expire headers or etag.. This is pretty clean approach.
Alex Objelean
Fernando
Hi,
I think I'm the minority here but I like how wicket's default behaviour
of placing html with the page.
I have a problem that I hope someone has encountered and solved before.
Basically, I current my source structure to be as follows
com/acme/web/HomePage.java
com/acme/web/HomePage.html
thanks, I did something similiar to this.
I used the wizard constructor with the false argument so that addDefaultCss
wouldnt be called, then in each wizard step I did
add(CSSPackageResource.getHeaderContribution(...
to add the appropiate css for the wizard step, basicly I just took the
original
Use normal BookmarkablePageLinks instead of wicket:link. The latter
is just convenience and only supports the most basic stuff.
Martijn
On Wed, Oct 28, 2009 at 7:55 AM, Lester Chua cicowic...@gmail.com wrote:
Hi,
I think I'm the minority here but I like how wicket's default behaviour of
Alex,
The problem went away. I had some pages mounted (I landed on a mounted page)
and others not so as soon as I removed all the mounted pages, the problem
went away).
Rgds,
Pieter
On Wed, Oct 28, 2009 at 7:31 AM, Alex Objelean alex_objel...@yahoo.comwrote:
I am pretty sure, it is a bug.
hi Johan
this should be fixed with my first commit yesterday:
snapshotRepository
idwicketstuff-org-maven/id
urlscpexe://wicketstuff.org/home/wicket/tomcat/webapps/maven/repository/url
uniqueVersionfalse/uniqueVersion ADDED
/snapshotRepository
Here is a little Perl magic
Thanks Martijn,
I think I stumbled on the solution just before I saw your hint =).
Please help me take a look and see if the way I approached the problem
is too cumbersome.
Basically my HTML, in my NavigationalPanel.html:
span wicket:id=links
a href=# wicket:id=linkspan
Hi all,
I developed a simple Wicket application containing just one page with some
tables. In development mode everything is working and looking fine. But when I
switch to deployment mode the presentation of the page changes dramatically.
For example borders of tables are not visible any
I'd rather use RepeatingView, together with a utility method for
adding the menu items. A ListView refreshes the menu on each render,
and your menu is rather static.
something like:
RepeatingView rv = new RepeatingView(menu);
addMenuItem(rv, Name of menuitem, PageThatIsLinkedTo.class);
private
Still, is this acceptable for you? Is my statement about mounting true? If it
is, could you create a jira issue for this?
Alex
pieter claassen-2 wrote:
Alex,
The problem went away. I had some pages mounted (I landed on a mounted
page)
and others not so as soon as I removed all the
Hi Jeffery,
I would be interested to know what put you off about wiquery, any feedback
is always welcome.
Anyway, for ajax communication, add an AbstractAajxBehaviour to your page /
component, and use the url this generates to pass to your jquery ajax
something like this:
String callbackurl =
Thanks!
I was just wondering how to cache it as the performance immediately took
quite a bad hit when I used ListView, RepeatingView is much much better
for my nav purposes.
Regards,
Lester
Martijn Dashorst wrote:
I'd rather use RepeatingView, together with a utility method for
adding the
Hi,
i dont have any profiler. the problem is, that the application is slow when
running on googles application engine. local, where i could profile aeverything
is fine.
where ist the best place in wicket to hoock performance measures? or are there
any debug-messages which i could activate?
Hello,
I like to have a RenderedDynamicImageResource with a transparent background.
I tried serveral things google came up with. But none worked so far.
Let me show you what I do:
public RenderedDynamicImageResource getCity(final Long cityId){
RenderedDynamicImageResource
Can you expand on this? The plan was to replace components via ajax [using
wicket's ajax support] and have the jquery+plugins skin the components.
For example:
Have a jQuery accordion that in each accordion step allows the user to click a
button or a link. The button or the link would
Richard,
You lost me a bit with the AbstractAjaxBehaviour stuff. Was this to get
wiquery to work or to not use wiquery. The problems I saw with wiquery
when I first looked [a few weeks back] at were: 1) seemed a bit of a
work-in-progress / proof of concept, 2) lack of samples + a good base of
Is there any textfield to format number to currency , I need a currency text
field is there any available ?
your css may depend on wicket tags, such as wicket:container,
wicket:extend, etc. these tags are stripped in deployment mode.
-igor
On Wed, Oct 28, 2009 at 2:13 AM, Pi Trash ptr...@web.de wrote:
Hi all,
I developed a simple Wicket application containing just one page with some
tables. In
Hi Reinhard,
You need to seperate your image generating logic from the wicket Image
Resource.
I'd create a test program or unit test to build verify that the image
you want is being built correctly and then bind it into wicket.
For example you can just use a BufferedDynamicImageResource
Hi Jeffrey,
AbstractAjaxBehaviour bit is nothing to do with wiquery, although it is the
method I use when I want to use jquery ajax when writing wiquery components.
Essentially, AbstractAjaxBehaviour is a behaviour that you add to the page
or component and you can call
Ok... Our page had a StatelessForm inside. We changed it to just Form.
When the form was submitted, we had a bookmarkable page as a response
page and now we changed the call to produce a non-bookmarkable page.
This is:
onSubmit() {
...
//setResponsePage(MyResponsePage.class); // - REMOVED
Look at
http://wicket.apache.org/docs/1.4/org/apache/wicket/util/convert/package
-summary.html.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
1) Why setting bookmarkable or not bookmarkable response page makes the
difference between expiring and not expiring the current page?
Basically, the page instances are versioned to framework be able to get them
back. The default versioning implementation encode page version information
at url. As
I use custom event binding quite a bit within jQuery... for instance:
$(document).bind('fooUpdated', function() {
// here I make a textfield within foo into an autocomplete textfield
});
Then, when I call to AJAX that replaces foo, I just do:
$(document).trigger('fooUpdated');
This works
1) So, what does the fact that it creates a new pagemap (or not) has to
do with the current page been expired or not? I mean, I understand the
URL encode for the page versioning stuff, but I don't get why the page
is not expired. Maybe because when I hit the back button, the URL points
to the
If you have a page,P1, with a form which has an onSubmit() that calls
setResponsePage(new P2()) and the constructor in P2 calls
setResponsePage(new P3()) the page that is rendered is P2.
However, P3 is rendered if the onSubmit calls setResponsePage(P2.class)
and the P2 constructor calls
Hi,
I've opened a bug in Jira (https://issues.apache.org/jira/browse/WICKET-2550)
regarding the DatePicker behavior (in Wicket 1.4.1 and above). The issue
includes a QuickStart in order to reproduce the bug.
It seems that the DatePicker introduces a bug when it's included in a
WebPage that can
Hi
I've opened a bug in Jira (https://issues.apache.org/jira/browse/WICKET-2551)
regarding a bug with the WicketTester (1.4.1 and above) when submiting
forms. The issue includes a QuickStart in order to reproduce the bug.
This bug is only present when using CryptedUrlWebRequestCodingStrategy. It
Throwing RestartResponseException works as expected, but I'm still not
sure if the setResponsePage behavior is correct...
On Wed, Oct 28, 2009 at 11:52:09AM -0600, Ryan exclaimed:
If you have a page,P1, with a form which has an onSubmit() that calls
setResponsePage(new P2()) and the constructor
Thank you for your time.
Now we know that all of our pages must be stateless AND we need it to
expire them anyway. Maybe Wicket is not prepared for this so we'll try
it manually.
Pedro Santos escribió:
1) The browser keep the page url on his history. If that url don't has
any historical
Hi All,
Are there any issues associated with using the @SpringBean annotation in a
class that
inherits from WebApplication or AuthenticatedWebApplication?
Thanks,
Steve
no
-igor
On Wed, Oct 28, 2009 at 1:22 PM, Steve Hiller sh...@bellsouth.net wrote:
Hi All,
Are there any issues associated with using the @SpringBean annotation in a
class that
inherits from WebApplication or AuthenticatedWebApplication?
Thanks,
Steve
Thanks Igor!
--
View this message in context:
http://www.nabble.com/Any-issues-using-%40SpringBean-in-WebApplication-tp26101512p26101590.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe,
Hmm,
I was always thinking that the @SpringBean annotation should be used in
Pages and/or components.
You should inject your dependencies in your Application directly in your
spring.xml.
your spring.xml should contain something like this:
bean class=foo.bar.MyApplication
property
ah, woops. i misread in as with
you will have to inject the application class manually. after you
install the spring component injector.
-igor
On Wed, Oct 28, 2009 at 1:29 PM, shetc sh...@bellsouth.net wrote:
Thanks Igor!
--
View this message in context:
You could use the @Autowired Spring annotation and the
autowire=byType attribute to the bean definition to support autowiring
to get the same effect as @SpringBean brings in Components.
e.g.
bean class=foo.bar.MyApplication autowire=byType /
Regards,
Mike
I was always thinking that
I am trying to replace a panel with another panel. The replacement
works the first time. The next time I click on the replacement link, I
get an exception.
java.lang.IllegalStateException: This method can only be called on a
component that has already been added to its parent.
You will
I am trying to replace a panel with another panel. The replacement
works the first time. The next time I click on the replacement link, I
get an exception.
java.lang.IllegalStateException: This method can only be called on a
component that has already been added to its parent.
My guess is
Hi Khadeer,
You have to copy your wicket.jar into WEB-INF\lib and deploy it.
khadeer wrote:
Hi,
i am resending this message .i thought question would be missed
since iam not subscribed to the list .since i sent the message for
subscription i hope the
I'm using the wicket tree, which works nice. However, when the tree
element is longer than the width of the tree, the line just continues
'invisible' behind it. I have been trying for hours now to get a scrollbar
to appear, but no luck so far.
Any ideas?
Hi, I just want to lear something here. I do not know how to solve
your problem, but can you tell me how can you add links to the tree
component?
Thanks.
On Thu, Oct 29, 2009 at 6:52 AM, bvrol...@cmbi.ru.nl wrote:
I'm using the wicket tree, which works nice. However, when the tree
element is
Hi there,
year ago when I started with wicket I had Netbeans 6.5 and after
installing Maven I had option to create Wicket Quickstart Archetype.
Yesterday I downloaded Netbean 6.7.1 which has built in Maven support
but I can't find the wicket archetype. When I tried to add new archetype
with
Netbeans has maven built in but it will use an external installation if you
tell it to. It sounds like you have it configured to use an external maven
installation but don't have maven installed.
In Netbeans go to ToolsOptionsMiscMaven and see if you have set it up to
use an external maven
Then
Thank you wery much,
pointing to external maven location worked flawlessly. Even the Wicket
Archtype came out.
tm
Ben Tilford wrote / napísal(a):
Netbeans has maven built in but it will use an external installation if you
tell it to. It sounds like you have it configured to use an external
Hi, I know how to add links. override newLink method. Thanks again.
On Thu, Oct 29, 2009 at 7:35 AM, Haulyn R. Jason saharab...@gmail.com wrote:
Hi, I just want to lear something here. I do not know how to solve
your problem, but can you tell me how can you add links to the tree
component?
Well, new P2() is executed _before_ it's result (a P2 instance) is passed to
setResponsePage(), so this behavior is perfectly normal: setResponsePage(
new P3() ) is executed before the resulting P2 instance is passed to
setResponsePage().
Timeline:
1. new P2() is executed
2. P2 constructor is
So how would I reference B rather than A on all subsequent calls after the
first. Is it as simple as checking to see if A does not have some property
set? Then just use an if/then/else statement to use the correct panel.
Thanks.
-Original Message-
From: Eelco Hillenius
On Wed, Oct 28, 2009 at 5:29 PM, Michael O'Cleirigh
michael.ocleir...@rivulet.ca wrote:
You could use the @Autowired Spring annotation and the autowire=byType
attribute to the bean definition to support autowiring to get the same
effect as @SpringBean brings in Components.
Not exactly,
class mycomponent {
component A;
void onclick() {
component B=new something(A.getId());
A.replaceWith(B);
A=B;
}
}
the A=B is what you are missing.
-igor
On Wed, Oct 28, 2009 at 7:06 PM, Jeffrey Schneller
jeffrey.schnel...@envisa.com wrote:
So how would I reference B
As of now i am getting below error
10/28/09 22:43:26:894 EDT] 001d WebApp E [Servlet Error]-[Filter
[WebApplication]: could not be initialized]: java.lang.LinkageError:
LinkageError while defining class: HelloWorldApplication
Could not be defined due to: (HelloWorldApplication)
Nicolas, yes my build automatically is checked.
Pedro, that fixed it! Thank you very much!
Pedro H. O. dos Santos wrote:
Debug Configuration your server configuration Source tab remove
older
source codes from it if there is one
On Tue, Oct 27, 2009 at 10:55 AM, Nicolas Melendez
54 matches
Mail list logo