Hello,
I have started using Wicket few weeks ago and I am still unable to find
simple solutions to simple problems ! The problem I am facing now (after
many others !) is to link to a resource at run time. For example, to link to
a css, I am using :
link wicket:id=menucss type=text/css
in the
Hey
On Sun, 2006-07-23 at 08:38 -0700, Peewhy wrote:
add(new StyleSheetReference(menucss, getClass(), menu.css));
is getClass() returning the correct class which is in the same package
as menu.css? To be sure you could instead use
MyPageWhichIsInTheSamePackage.class or something like that.
Hi,Wicket's native portlet support is still a work in progress, but so far it works fine. So far I have only done some testing with it (see wicket-portlet-examples subproject), but I'm expecting to start a real world application based on it in a month or two. So far I have tested running the
Hello,
I have started using Wicket few weeks ago and I am still unable to find
simple solutions to simple problems ! The problem I am facing now (after
many others !) is to link to a resource at run time. For example, to link to
a css, I am using :
link wicket:id=menucss type=text/css
add(new StyleSheetReference(menucss, new ResourceReference(menu.css)));
This looks for menu.css in the same package as your MyApplication. Use
the format above instead.
Ah, yeah. That too :)
Eelco
-
Take Surveys. Earn
Thank you very much !
It is not yet fully working, but I have no more exception. I used
add(new StyleSheetReference(menucss, getClass(),
stylesheets/menu/menu.css));
as Frank said and put the menu.css file where it belongs (the above
directory structure starting whe the page class is).
Among the remaining problems, is the fact that references to image files
inside the css don't work
Probably all the same problem of not having them pre-registered.
Please could you try using the version in svn (WICKET_1_2 branch), or
download the intermediate version at
class MyImage extends WebComponent { private int width; private int height; private string url; private string text; public myimage(string id, string url, string text, int width, int height) {
super(id); this.url=""> ... } void oncomponenttag(tag tag) { checkcomponenttag(tag, img);
Action speaks louder than words...
Eelco :)
On 7/23/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
class MyImage extends WebComponent {
private int width;
private int height;
private string url;
private string text;
public myimage(string id, string url, string text, int width,
Thanks Igor ! It looks really smart and works perfectly. I have now to
read Eelco's explanations to understand how all this is working, and try
1.2.1.
Igor Vaynberg a écrit :
class MyImage extends WebComponent {
private int width;
private int height;
private string url;
private
VljAGRA from 3 , 33 $
http://www.beparofte.com
,
,
,
,
The Commanders line of sight. The thing must have then climbed the
back of my chair because Aidas voice whispered in my ear.
I have done a voice analysis of a recording I made during
I know this is a pretty newbie question, but how can i package an image
with my wicket app, and reference it within a static css file?
I've been searching through the wicket wiki, with no luck. is
there a wicket-stuff app or someplace i can dig through for an example?
Just to be clear, here's
Hi All - I am sort of new to Wicket and just trying to get my hands dirty now... ;-)I have a input text field on a page and a link to open a popup page. Once the popup is opened, I would like to make some selections from a pallete and set those selections to the parent input field as text (comma
i guess it is not something that we support right now, but something that is cleary needed. we need to build a resource that can load a css file, parse for images, replace them, and then serve the altered content.i know almaw has been working on something like this but i dont know how far he got.
you have to do this using _javascript_.call setoutputmarkupid(true) on the textfield and pass this id into the popup page, then have the popup page output this _javascript_ when you want to set the value:window.opener.document.getElementById
(id).value='foo';-IgorOn 7/23/06, Srinivas Sunkara
Could you give me more detailed information on what methods in Tree
I should override?
There may be other/better ways, but what I did was this:
class MyTree extends Tree
{
private TreeModelProvider m_provider;
...
@Override
protected void junctionLinkClicked(
Hi all,
I have a radio choice add to form:
FormComponentfc = new RadioChoice(types, types),
new IChoiceRenderer() {
//some code
});
fc.setEnabled(false);
add(fc);
I wanted to disabled all choices so I call fc.setEnabled(false).
However, in the
please file a bug-IgorOn 7/23/06, Nili Adoram [EMAIL PROTECTED] wrote:
Hi all,I have a radio choice add to form:FormComponentfc = new RadioChoice(types, types),new IChoiceRenderer() {//some code});fc.setEnabled
(false);add(fc);I wanted to disabled all choices so I call
18 matches
Mail list logo