Yes:
wicket:link
link rel='stylesheet' type='text/css' href='../../../../style.css'/
/wicket:link
WicketMessage: Exception in rendering component: [MarkupContainer
[Component id = _link2]]
Root cause:
java.lang.IllegalArgumentException: Invalid path ../../../../style.css
The path is valid
My tests are running fine from eclipse but I get this when they are kicked off
in hudson..
testLoadPanel_AddNewPerson(com.conducive.wicketTester.PersonAddOrEditTest_Wicket)
Time elapsed: 0.001 sec ERROR!
org.apache.wicket.WicketRuntimeException: There is no application attached to
current
Someone seems to change this, but i dodn't found an example how to solve
it correctly until now.
Kim had the problem some days ago to. Seems that yoiu have to add
ComponentInstListener to TestApplication to.
Why this was working before and not anymore - i don't know.
Here is what he wrote
Thanks for the response. Attached is the markup and the java classes for the
panel. It's slightly modified since normally a DataView is used, but the
behaviour is the same with the ListView. This is only the panel class and not
a complete quickstart.
Here is the markup
html xmlns:wicket
head
I'm not using spring. Would I still use that injector?
I'm using guice..
D/
On May 18, 2010, at 1:46 AM, Per Newgro wrote:
Someone seems to change this, but i dodn't found an example how to solve
it correctly until now.
Kim had the problem some days ago to. Seems that yoiu have to add
To mine opinion this Best practise is confusing. It is just a matter of do not
share Wicket components between pages because Wicket will not detect while
serializing pages that components are already serialized.
The case of sharing anonymous IModel implementations is a special case because
I just did this:
tester.getApplication().addComponentInstantiationListener(new
GuiceComponentInjector(tester.getApplication()));
On May 18, 2010, at 2:01 AM, Douglas Ferguson wrote:
I'm not using spring. Would I still use that injector?
I'm using guice..
D/
On May 18, 2010, at
Finally I made it working after finding this WIKI entry:
https://cwiki.apache.org/WICKET/dynamically-generate-a-css-stylesheet.html
Just used it the same way for Javascript file.
Igor: This very useful class should be integrated into Wicket core!
(under org.apache.wicket.markup.html.resources)
Upps, sorry. Didn't recognized guice.
I would try to add it appropriatly to this way
public class MyApplicationextends WebApplication{
protected void init() {
addComponentInstantiationListener(
new GuiceComponentInjector(this, getModule())
);
}
Is it the working solution?
Cheers
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
No.. I realized that the tests are running in parallel on hudson but from
eclipse.
Since the application is bound to a thread local, then it fails.
D/
On May 18, 2010, at 2:18 AM, Per Newgro wrote:
Is it the working solution?
Cheers
Per
Sorry but more i can't do. Im not an hudson user.
Cheers
Per
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
The problem is not a hudson problem.
The problem is that wicket tester tests do not want to be run in parallel.
D/
On May 18, 2010, at 2:38 AM, Per Newgro wrote:
Sorry but more i can't do. Im not an hudson user.
Cheers
Per
In fact it was a lot simpler than I thought, this works like a charm.
private Link pageLink(final String id, final Class clazz) {
final BookmarkablePageLink link = new BookmarkablePageLink(id,
clazz);
link.add(new AttributeModifier(id, true, new
I've solved this problem with a dirty trick by changing the default onclick
string that generted by Link class.
class ChangeTarget extends Link
{
EditpageLink(String id, String TargetId)
{
super(id);
this._TargetId = TargetId;
}
@Override
public void
It's just a matter of understanding how anonymous inner classes (or
named inner classes) work. It's not a Wicket thing. It's a Java
thing. So, if it's confusing, take it up with Oracle.
On Tue, May 18, 2010 at 3:05 AM, Rik van der Kleij rikvdkl...@gmail.com wrote:
To mine opinion this Best
No, that is not what I mention. The point is that the Best practise has to be:
Do not share Wicket components between pages.
Regards,
Rik
On 18 mei 2010, at 12:37, James Carman wrote:
It's just a matter of understanding how anonymous inner classes (or
named inner classes) work. It's not a
Well, I think that's quite obvious when you consider that each page is
the root of a tree (not directed, acyclic graph) of components.
Each component can have at most one parent.
On Tue, May 18, 2010 at 6:54 AM, Rik van der Kleij rikvdkl...@gmail.com wrote:
No, that is not what I mention. The
Well, I think that's quite obvious when you consider that each page is
the root of a tree (not directed, acyclic graph) of components.
Each component can have at most one parent.
But you can pass a component to a different page/component without adding it;
like in the example of having a back
wicket:enclosure is the best option
On Mon, May 17, 2010 at 7:15 PM, Jeremy Thomerson jer...@wickettraining.com
wrote:
You can not do it directly in HTML - it breaks the separation of concerns.
But, you can create a WebMarkupContainer, set the visibility on it, and
nest your HTML within it.
I need a hand with facebook connect and wicket in some weeks. Could you
share your wicket facebook code? I imagine it is pretty easy.
thanks in advance
On Mon, May 17, 2010 at 10:31 PM, Richard Nichols r...@visural.com wrote:
Hey all,
Just thought fellow Wicketeers might be interested to
I'd suggest modifying the class rather than the ID in case you end up doing
something with ajax later.
Jeremy Thomerson
http://www.wickettraining.com
-- sent from a wireless device
-Original Message-
From: Ioannis Mavroukakis imavrouka...@gameaccount.com
Sent: Tuesday, May 18, 2010
Perhaps during development mode there should be a warning message if
Wicket sees any fields on any components that are of type Page (or a
subclass thereof)? Or, even if the actual object is a page (the
variable type could be some interface), it should spit out a warning
telling you to use
good job.
On Tue, May 18, 2010 at 4:49 AM, Jeremy Thomerson jer...@wickettraining.com
wrote:
I concur - very nice.
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, May 17, 2010 at 8:43 PM, Cristi Manole cristiman...@gmail.com
wrote:
cool site! I like it! congrats.
On
It's definitely happening on machines that don't have firebug.
D/
On May 18, 2010, at 12:21 AM, Douglas Ferguson wrote:
I think firebug is installed but not running.
D/
On May 17, 2010, at 10:35 PM, Martin Makundi wrote:
Are you using firebug?
2010/5/18 Douglas Ferguson
I am doing the following to get the URL for my bookmarked page.
PageParameters params = new PageParameters();
params.put(properties, URLEncoder.encode(jproperties.toString(),
UTF-8));
CharSequence url = urlFor(MyPage.class, params);
I have changed the code to the following:
String uri = inSessionReport/ + URLEncoder.encode(jproperties.toString(),
UTF-8);
String url = RequestUtils.toAbsolutePath(uri);
PD4ML pd4ml = new PD4ML();
pd4ml.setHtmlWidth(1024);
pd4ml.render(new URL(url), os);
But I am still seeing to Page
https://localhost:8080/test
-igor
On Mon, May 17, 2010 at 10:54 PM, v...@wav@gmail.com vela@gmail.com wrote:
Hello,
I have implemented the HttpsRequestCycleProcessor in the application class
and added @RequiredHttps in the Login Page.
But i haven't used https in any of the application
Hi...
I am facing a new problem with the TinyMCE upload image, i hope someone can
assist me on.
I can see that the ImageUpload tinymce example uses a temporary path to
store the images...
If i want to store them on a static folder, like the folder: c:\images
How would i achive that ?
If can
Hi all,
just to announce another wicket project I am working on. we
just launched the beta version
http://www.nelexnigeria.com
--
Aladejebi Ayodeji A.,
DabarObjects Solutions
Phone: +234 9 875 1763
Mobile: +234 803 589 1780
Email: d...@dabarobjects.com
Web: www.dabarobjects.com
jira issue or this request never happened :)
-igor
On Tue, May 18, 2010 at 12:07 AM, Ralf Eichinger
ralf.eichin...@pixotec.de wrote:
Finally I made it working after finding this WIKI entry:
https://cwiki.apache.org/WICKET/dynamically-generate-a-css-stylesheet.html
Just used it the same way
if you want the tests to run in parallel you have to create a wicket
tester inside every test method instead of just once per class. that
way the threadlocal is set into every thread.
-igor
On Tue, May 18, 2010 at 1:49 AM, Douglas Ferguson
doug...@douglasferguson.us wrote:
The problem is not a
It might even be interesting to have warnings like this as pluggable runtime
libraries that users could download from wicket-stuff. The idea is if a
developer downloads and installs some of the libraries on their instance, they
would get additional debugging output, and because they are in
Is it broken? URL http://www.onmydoorstep.com.au/ does not open any page for
me
Žilvinas Vilutis
Mobile: (+370) 652 38353
E-mail: cika...@gmail.com
On Tue, May 18, 2010 at 6:59 AM, Ajayi Yinka iamstyaj...@googlemail.comwrote:
good job.
On Tue, May 18, 2010 at 4:49 AM, Jeremy Thomerson
figured it out.
It wasn't wicket but PD4ML.
Not sure why but I had to remove
meta http-equiv=Content-type content=text/html;charset=utf-8
from my HTML page.
When it was in there, it gave a message that it was retrying with utf-8.
--
View this message in context:
Thank you very much guys
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Small-doubt-about-wicket-and-Html-tp2220418p2221787.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To
what i can do in onbeforerender to make the component 1's bind get called (in
my case, the behavior contributes js and css to head)?
components, not behaviors, have onbeforerender, correct?
Thanks!
--- On Mon, 5/17/10, Igor Vaynberg igor.vaynb...@gmail.com wrote:
From: Igor Vaynberg
Hello guys; as I told you in previous post, I´m a new wicket developer, I
like it, but some times like everybody I find some dificulties, like this
stupid thing.
I´m trying to validate and IBAN number (Bank account number) it is too bing
to store it like an integer value so I have stored
if you are just contributing to head then the proper way is to let
your behavior implement IHeaderContributor
-igor
On Tue, May 18, 2010 at 1:08 PM, David Chang david_q_zh...@yahoo.com wrote:
what i can do in onbeforerender to make the component 1's bind get called (in
my case, the behavior
you should use HTML/CSS for desing and java for GUI logic, like make
something invisible or visible.
On Tue, May 18, 2010 at 4:36 PM, Victor_Trapiello vic...@trapiello.netwrote:
Thank you very much guys
--
View this message in context:
I've got a couple of pages which display data that changes often and I want
to be sure that when a user hits refresh they get a fresh new copy of that
page. Unfortunately, if I've used setResponsePage(new MyPage(params); to
get to these pages, then a refresh does not update the data, while
I have a web Page with a panel. When I click a ajax button, the panel is
replace. In the new panel the javaScripts functions doesn't work. Why that
happened? What am I missing?
Here is the code
the webpage html
head
script language=JavaScript1.2 src=views/js/accordion.js/script
/head
body
div
Where do you initialize the js?
**
Martin
2010/5/18 Ivoneta ietaraz...@gmail.com:
I have a web Page with a panel. When I click a ajax button, the panel is
replace. In the new panel the javaScripts functions doesn't work. Why that
happened? What am I missing?
Here is the code
the webpage
Hmm.. iban is not only numbers.
**
Martin
2010/5/18 Victor_Trapiello vic...@trapiello.net:
Hello guys; as I told you in previous post, I´m a new wicket developer, I
like it, but some times like everybody I find some dificulties, like this
stupid thing.
I´m trying to validate and IBAN
In the web Page head. Is the only place where I initialize the js.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/replace-panel-problems-tp2221878p2221908.html
Sent from the Wicket - User mailing list archive at Nabble.com.
So it must be initialized every time you replace... probably. Attach
something like this onto your replace component:
public class GenericDomReadyTailJavaScriptBehavior extends AbstractBehavior {
private final String javaScript;
/**
* @param javaScript
*/
public
True my friend,
IBAN example: CY1700200128001200527600
but still I have the same doubt imagen it has only numbers, should I do a
custom validation saying that in this string I do not want find A or B or
C. WHAT A WASTE OF TIME ISN´T IT¿?
Thank you very much for your cooperation;
Why do I inicialize the js every time?
I don't understand that!
it's so complicated! :(
Is there another way to do it?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/replace-panel-problems-tp2221878p2221923.html
Sent from the Wicket - User mailing list archive at
use patternvalidator that can check based on a regex
-igor
On Tue, May 18, 2010 at 2:14 PM, Victor_Trapiello vic...@trapiello.net wrote:
True my friend,
IBAN example: CY1700200128001200527600
but still I have the same doubt imagen it has only numbers, should I do a
custom validation
Depends on your js what it does.
You can do simpler things ,]
**
Martin
2010/5/19 Ivoneta ietaraz...@gmail.com:
Why do I inicialize the js every time?
I don't understand that!
it's so complicated! :(
Is there another way to do it?
--
View this message in context:
Why not use accurate iban validator?
http://www.google.fi/search?q=iban+validation+formula
**
Martin
2010/5/19 Victor_Trapiello vic...@trapiello.net:
True my friend,
IBAN example: CY1700200128001200527600
but still I have the same doubt imagen it has only numbers, should I do a
custom
thank you very much igor
I´m a little bit confuse about the regular expresion that I need to put:
I have found this:
mobile.add(new PatternValidator(^[1-9]([0-9]{8,14})));
where can I get more information about htis¿? I.e patter for 32 digits...
Thank you for your collaboration!
--
View
I pretty much used the code from
https://cwiki.apache.org/WICKET/adding-facebook-connect.html
You need to set up the /xd_reciever.htm for it to work correctly (take
a look at the facebook connect api docs), either using a Wicket mapped
resource, or using a servlet filter to return it.
The other
I think there was a network connectivity issue at Linode last night
(where I am hosting the site). The server has been up for 2 months but
I even stopped getting Linode admin console graphs for 2 hrs last
night - weird!
Seems to be stable now though.
Has anyone else using Linode had something
I work with JQuery.
I read in another post that the dom ready event isn't fired.
it is right?
I suspect I should do the js initializes every time!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/replace-panel-problems-tp2221878p2221952.html
Sent from the Wicket -
Hi all,
I am using Wicket 1.4.8 with Guice 1.0 and Warp Persist/Hibernate.
When injecting DAOs directly into Wicket components, it works fine (I inject
the DAO Interface). However, I would like to inject them, next to other
objects, also in classes that do some business logic. Those classes
either use the wicket-guice module to inject into wicket pages, or
something like salve.googlecode.com to do the injection for you.
-igor
On Tue, May 18, 2010 at 2:40 PM, Christoph Grün chris...@gmx.at wrote:
Hi all,
I am using Wicket 1.4.8 with Guice 1.0 and Warp Persist/Hibernate.
When
GB 29 NWBK601613 31926819
Country code (2a) Check Digit (2n)
Bank Name Code (4a)
Bank Branch code (6n) Account No (8n)
we have all the ingredients, but what is the shape of our regular
expresion¿? any help¿?
Thank you very much!
--
View
Am 18.05.2010 23:40, schrieb Christoph Grün:
I am using Wicket 1.4.8 with Guice 1.0 and Warp Persist/Hibernate.
When injecting DAOs directly into Wicket components, it works fine (I inject
the DAO Interface). However, I would like to inject them, next to other
objects, also in classes that do
I notice this:
After 3 minutes the Pagemap null is still locked by:
Thread[http-8084-2,5,main], giving up trying to get the page for path:
2:topAdverts:advertListCont
What happened was that I called ((WebRequestCycle)
WebRequestCycle.get()).getWebRequest().getQueryString() within
onBeginRequest
Actually you CAN test it locally, just you need to configure that you need
this feature in your FB app in FB itself.
Žilvinas Vilutis
Mobile: (+370) 652 38353
E-mail: cika...@gmail.com
On Tue, May 18, 2010 at 2:29 PM, Richard Nichols r...@visural.com wrote:
I pretty much used the code
Has anyone successfully used google website optimizer (multivariate
tests) with Wicket?
Believe it or not, GWO requires you to modify your html with an
unbalanced HTML tag. Conditional content that is altered during
multivariate testing is terminated with a
/noscript tag (presumably GWO
you can always output the /noscript tag dynamically using a label.
-igor
On Tue, May 18, 2010 at 5:11 PM, Don Ferguson don.fergu...@gmail.com wrote:
Has anyone successfully used google website optimizer (multivariate tests)
with Wicket?
Believe it or not, GWO requires you to modify your html
Ah Ha!
I knew about setEscapeModelStrings(false), but didn't know about
setRenderBodyOnly(true).
On May 18, 2010, at 5:26 PM, Igor Vaynberg wrote:
you can always output the /noscript tag dynamically using a label.
-igor
On Tue, May 18, 2010 at 5:11 PM, Don Ferguson
alternatively use wicket:container
wicket:id=foofoo/wicket:container, it does the same as
setrenderbodyonly(true)
-igor
On Tue, May 18, 2010 at 5:57 PM, Don Ferguson don.fergu...@gmail.com wrote:
Ah Ha!
I knew about setEscapeModelStrings(false), but didn't know about
setRenderBodyOnly(true).
Has anyone been able to use a component resolver to provide a component
inside an enclosure in wicket 1.4.2 or later?
It worked fine in wicket 1.4.1 but no version after that seems to work,
giving the error:
WicketMessage: Tag expected
The markup section looks like this:
wicket:enclosure
Hi,
It looks like Wicket may have the flexibility to replace elements of
the chain of IMarkupFilters without changing Wicket itself.
How can I replace RelativePathPrefixHandler with my own variant?
I have found
getPageSettings().getComponentResolvers();
But I am definitely missing the
Wicket seems to handle automatically its own domready event so that it
works both in ajax and non-ajax situations.
2010/5/19 Ivoneta ietaraz...@gmail.com:
I work with JQuery.
I read in another post that the dom ready event isn't fired.
it is right?
I suspect I should do the js initializes
DOM ready will only be fired when the dom is ready - which is as the page is
loading / rendering. When you do an AJAX replace, the DOM is not completely
reinitialized - only part of it is replaced. You would not want a dom ready
event to fire again because it would reinitialize everything in the
Jeremy, I know this is true with real domready event, but in my
experience wicket domready is somehow more intelligent that it knows
how to behave in ajax requests. At least in my experience using jquery
domready $(document).ready will not work in ajax requests but
wicket.event-based domready
Hi
i have a large number of components in a page that i have to add the same
behaviour
should i use the same instance for all or instansiate one for every
component(that's what i am currently doing);
thanks
Joe
Can you create a quickstart for this and attach it to a JIRA?
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, May 18, 2010 at 9:38 PM, Chris Colman
chr...@stepaheadsoftware.comwrote:
Has anyone been able to use a component resolver to provide a component
inside an enclosure in
Suggest a solid approach to fix it and document on JIRA.
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, May 18, 2010 at 1:05 AM, b...@actrix.gen.nz wrote:
Yes:
wicket:link
link rel='stylesheet' type='text/css' href='../../../../style.css'/
/wicket:link
WicketMessage:
That's a ton of code - which is really hard to debug on a mailing list post.
If you'd like someone to look at your specific issue, it'd be helpful to
create a quickstart. Alternatively, explain your question a little more and
post a snippet of the resulting HTML.
PS - have you tried making your
74 matches
Mail list logo