yes make it a wicket component.
On 12/18/06, Carfield Yim [EMAIL PROTECTED] wrote:
Also, is it possible to make img tag work for image at classpath
On 12/18/06, Carfield Yim [EMAIL PROTECTED] wrote:
For the directory I am now putting CSS, there is also a HTML that I
use to use
look like there is strangle browser cache for ajax component
(modalwindow is the one I get this problem) . Even if I setup HTTP to
no-cache:
response.setHeader(Pragma, no-cache);
response.setHeader(Cache-Control, no-cache);
//response.setHeader(Cache-Control, private);
Why should be the css not cached?
Where do you put the code you are mentioning? Because request that
fetches css (and other resources) is different than request for a page /
ajax request and wicket treats it differently.
What's the reason of not caching css?
-Matej
Carfield Yim wrote:
look
I am now put the CSS to classpath, after the CSS the browser don't get
the new one. And this only happen in ModalWindows, normal webpage will
fetch the CSS after it change
On 12/18/06, Matej Knopp [EMAIL PROTECTED] wrote:
Why should be the css not cached?
Where do you put the code you are
There is indeed a good case for not caching css in development mode. It
is a mortal sin in deployment mode.
Erik.
Carfield Yim wrote:
I am now put the CSS to classpath, after the CSS the browser don't get
the new one. And this only happen in ModalWindows, normal webpage will
fetch the
why do I still get this exception:
SEVERE: cannot update component that does not have setOutputMarkupId
property set to true. Component: [MarkupContainer [Component id = title,
page = openknowledge.EditPage, path = 5:editForm:title.RequiredTextField,
isVisible = true, isVersioned = false]]
I know this isn't a core wicket issue, but is anyone else having issues
with the wicket-stuff svn on sourceforge?
I'm getting:
405 Method Not Allowed (https://svn.sourceforge.net)
-
Take Surveys. Earn Cash. Influence the
I guess you missed Martijn's e-mail:
http://www.nabble.com/Wicket-Stuff-SVN-repository-change-tf2760948.html#a7697553
Regards,
Erik.
Ryan Sonnek schreef:
I know this isn't a core wicket issue, but is anyone else having
issues with the wicket-stuff svn on sourceforge?
I'm getting:
405
It gets there fine, its this line:
if (submit.getForm() == Form.this
that is the problem. submit (which is the button) does not belong to a
Form, it is supposed to contain a reference to a Form instead. SInce it
can't find a Form object for the button it throws an exception
throw new
I mean root of the app. i don't want to harcode the button image in html
I know we can use packageResource.get(scope,path) for ImageButton class,
i.e. new ImageButton(sbutton, packageResource.get(A.class,a.gif) )
this needs images to be put into java class package and i want it in
web app root
Yep, I randomly have the same problem - page expired after closing
modal window. And if I recreate the page which shows the modal - it
doesn't solve the problem. But if I recreate http session - everything
is OK and after that I can't repeat the error. I just realized that the
modal window
try now
-igor
On 12/18/06, Otan [EMAIL PROTECTED] wrote:
why do I still get this exception:
SEVERE: cannot update component that does not have setOutputMarkupId
property set to true. Component: [MarkupContainer [Component id = title,
page = openknowledge.EditPage, path =
class staticimage extends webcomponent {
public staticimage(string id, imodel model) {
super(id, model);
}
protected void oncomponenttag(tag) {
checkcomponenttag(tag, img);
tag.put(src, getModelObjectAsString());
}
}
-igor
On 12/18/06,
What happened to Bean Edit Panel?
i once saw a component in wicket extensions called bean edit where one can
pass a bean reference to a panel and edit it...why was it removed and where
to..cuz i found myself needing it
du i just go ahead and write what i need or no need to re invent the
I'm resending this in its own thread as it is a separate question:
I'm currently using Wicket 1.2.2. I know the current version is
1.2.3, and there is a 2.0 in the works. My project is scheduled for
launch around April of next year, and we have used Quickstart as a
starting point. Should we be
On 12/18/06, Ian Clarke [EMAIL PROTECTED] wrote:
I'm resending this in its own thread as it is a separate question:
I'm currently using Wicket 1.2.2. I know the current version is
1.2.3, and there is a 2.0 in the works. My project is scheduled for
launch around April of next year, and we
On 12/18/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
On 12/18/06, Ian Clarke [EMAIL PROTECTED] wrote:
if you are using jdk 1.5 you can upgrade to 2.x, but you have to keep in
mind 2.x is still very much a moving target. what that means is that
sometimes things break, sometimes even important
indeed. pro wicket covers 1.2.x, and has a small appendix on 2.0
wicket in action will cover 2.x but wont be out for some time
if you want to use something that is stable and has more bells and whistles
than 1.2.x then i would go with 1.x
1.3 should be coming soon and will be our first
It works fine now. Thanks
On 19/12/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
try now
-igor
On 12/18/06, Otan [EMAIL PROTECTED] wrote:
why do I still get this exception:
SEVERE: cannot update component that does not have setOutputMarkupId
property set to true. Component:
Where do you put the code you are mentioning? Because request that
Forget to mention about this, I put this block of code at
onBeginRequest() of my custom IRequestCycleFactory.newRequestCycle() .
Which, I suppose the CSS put at class will change the HTTP response
header when somebody request it.
On 12/18/06, Erik van Oosten [EMAIL PROTECTED] wrote:
There is indeed a good case for not caching css in development mode. It
is a mortal sin in deployment mode.
Exactly, but look like it is hard to not cache CSS for AJAX request,
and I just double confirmed that for normal webpage, it work
This is much more complicate than what I thought, I try to add some
code to isPageAuthorized() method when the user login as also change
the onBeginRequest() method, but it does work and it is hard to figure
out what going wrong.
Is there already any support of URL mapping that say map
Are you talking about page mounting? Take a look at
mountBookmarkablePage(...) in the Application class.
On 12/18/06, Carfield Yim [EMAIL PROTECTED] wrote:
This is much more complicate than what I thought, I try to add some
code to isPageAuthorized() method when the user login as also change
On 12/19/06, Nick Heudecker [EMAIL PROTECTED] wrote:
Are you talking about page mounting? Take a look at
mountBookmarkablePage(...) in the Application class.
I don't know why but I cannot get it to work,
After I add the map, say
mountBookmarkablePage(/signup, Registration.class);
If
Perhaps you made Registration protected with some kind of authorization
scheme?
Erik.
Carfield Yim schreef:
I don't know why but I cannot get it to work,
After I add the map, say
mountBookmarkablePage(/signup, Registration.class);
If I go to URL:
25 matches
Mail list logo