I came across the GeneralTest in the security project, looks like a great
example starter for the security project.
Thanks
Craig
craigdd wrote:
>
> Does anyone know the time frame for the wicket security project to come
> out with an examples project or is there some early access code people c
Does anyone know the time frame for the wicket security project to come out
with an examples project or is there some early access code people can get
access to?
The project looks pretty nice, I look forward to doing some evaluation on it
and possibly using in on an upcoming project.
Thanks
Cra
I am using the AuthenticatedWebApplication package. I would like to do
component level authorization. The framework generates an exception for this
that I can't see how I can override. Basic behavior is to be redirected back
to Home Page. My reason for doing this at the component level is to make
Hi,
Unfortunately I'm using this functionality only in my test application
to check how does these all "spring things" work in Wicket. So probably
I can't help you much.
One thing about a prototype-scoped beans, which is interesting. I have a
very simple bean class to test injection:
package e
I'd like to be able to redirect from inside of a (File)ResourceStream to a
specific url or page instead of throwing an exception under certain
circumstances (ie, if data does not load, etc).
Is this possible? I haven't had much luck setting the responsePage via
RequestCycle.get().setResponsePage(
So i used this method ( check group and check) once then tried to use it
again and when and checks won't come up where the objects are already
present in the list. for example. you have a list of all colors and i have a
list of blue and green. when i look at the check box, blue and green should
be
> But one thing - the isEnabled() method
> does not exist in the AbstractBehavior class.
public boolean isEnabled(Component component) is defined in both the
IBehavior interface and implemented (default) in AbstractBehavior.
It's in 1.3 though.
> But I think the
> following will work:
>
>
On Friday 01 June 2007 1:42 pm, Matej Knopp escreveu:
> Look at what url is your stylesheet. The images withing stylesheet are
> always located relatively to the stylesheet itself.
so there's no way to make them relative to the context path/root?
I'm going ahead and moving them to
Cool, that looks sensical to me. I like how I don't have to actually
have the stars in my html file. But one thing - the isEnabled() method
does not exist in the AbstractBehavior class. But I think the
following will work:
label.add(new AbstractBehavior() {
@Override pub
Look at what url is your stylesheet. The images withing stylesheet are
always located relatively to the stylesheet itself.
-Matej
On 6/1/07, Thomas R. Corbin <[EMAIL PROTECTED]> wrote:
>
> I have a line like this in my css. the css is in the package
> com.samsix.wicket.style. But I expected, p
No, other controls work ok. Actually what I have found is that firefox does
this, IE7 doesnt.
I am using firfox 2.0.0.4. Try this if you have time.
1. use firefox, goto http://wicket.sourceforge.net/
2. click on Examples on the left
3. click on Live action (Examples in live action)
4. click on
Turns out the project needed a little touch up -- somehow it missed
the onAtach refactor and the pom was missing wicket-velocity. My
apologies to anyone who checked the project out only to be greeted by
some nice stack traces. It will work now.
jbq,
I put them up temporarily at
http://bones.homeli
I have a line like this in my css. the css is in the package
com.samsix.wicket.style. But I expected, presumably falsely that the gif
file would be found at the root of my application, not relative to that
package's path.
background:url("images/tabs/left.gif") no-repeat left top;
Yet it
Huergo Perez wrote:
>
> What attribute of the Link should I modify with an attribute modifier?
> I could not find any examples of this functionality.
>
> Also, I found the IAjaxCallDecorator interface. Could it be used to
> display an alert after receiving an AJAX response?
>
> Thanks!
> Huer
I was trying to show that in fact you where right, but what can I do?
Here is the code for the panel only, the page only has the code adding the
panel (I've bolded the ajax part):
package ch.logismata.wicket.panels.ajax;
import ch.logismata.serverwrapper.DossierSearch;
import ch.logismata.serv
Here is a pretty simple example.
Link myLink = new Link("myLink");
myLink.add(new AttributeModifier(
"onclick",
true,
new Model("javascript:callAlert()"));
-Craig
Huergo Perez wrote:
>
> What attribute of the Link should I modify with an attribute modifier?
> I could not find a
I don't see it here:
http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.compref.PalettePage
How do you populate your lists?
Martijn
On 6/1/07, Ken Leung <[EMAIL PROTECTED]> wrote:
> Does anyone know why there is a "XX" displayed initially in the "sele
Answers:
* No
* just don't use in the subclass markup
* add wicket.util.resource and the desired logging level in the log4j
configuration of jboss (read jboss documentation and log4j
documentation). Note that if you are using 1.3, the package name has
been altered to org.apache.wicket.util.resourc
What attribute of the Link should I modify with an attribute modifier?
I could not find any examples of this functionality.
Also, I found the IAjaxCallDecorator interface. Could it be used to
display an alert after receiving an AJAX response?
Thanks!
Huergo
Nino Saturnino Martinez Vazquez Wael
Hi, I want to hide a component, and sometimes making it visible using
javascript.
Is there something like that in wicket api or should I do it myself with
some javascript ?
Matthieu
-
This SF.net email is sponsored by DB2 Exp
Hello,
I can't say anything about request or session scoped beans.
But I am interested in how you use prototype-scoped beans. Do you use
them to store the state of your Wicket-components? I have some
problems with that (which I posted earlier)...
2007/6/1, Daniel Stoch <[EMAIL PROTECTED]>:
> Hi,
use a attribute modifier and a behavior for this..
Huergo Perez wrote:
> Hi All,
>
> I need to implement a functionality that in certain cases displays a
> JavaScript alert dialog after a click on a link.
>
> For example, a table of records may contain a [Delete] link against each
> record. When
Hi All,
I need to implement a functionality that in certain cases displays a
JavaScript alert dialog after a click on a link.
For example, a table of records may contain a [Delete] link against each
record. When a user clicks on the link, the onClick handler attempts to
delete the record, and
Hi,
I want to inject a spring bean with scope="session" into my page using
@SpringBean annotation. I have added into my web.xml declaration:
org.springframework.web.context.request.RequestContextListener
but it seems that
sound very wrong. Are you getting this displayed in the listboxes?
Ken Leung wrote:
> Does anyone know why there is a "XX" displayed initially in the
> "selected" or "available" pane if that pane happens to contain an
> empty list. The "XX" will disappear once
> you start to add/remove selectio
Right, forgot the Stacktraces:
The first when calling super():
at KitManagementBean.(KitManagementBean.java:34)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.j
Does anyone know why there is a "XX" displayed initially in the "selected"
or "available" pane if that pane happens to contain an empty list. The "XX"
will disappear once
you start to add/remove selections
You can see this if you just run the example...
Anyone knows how to get rid of it ?
thx
i haven't looked much at the wicket security solution there are now
i would say talk to the security master: Maurice :)
johan
On 6/1/07, Jan Kriesten <[EMAIL PROTECTED]> wrote:
hi johan,
> hmm then i have to stopp working on it right now...
> because i am already passed the hour again
goo
Hi,
Jean-Baptiste Quenot wrote:
> Have a look at Strings#escapeMarkup(String, boolean, boolean)
>
> The last argument is called convertToHtmlUnicodeEscapes and by
> reading the Javadoc I think it does what you want.
>
> But now, that doesn't mean you can use it from the Component or
> For
You need to use the css pseudo-elements "before" and "after":
http://www.w3schools.com/css/css_pseudo_elements.asp
http://www.w3schools.com/css/css_pseudo_elements.asp .
They're not supported by all browsers tho (in particular, not by IE I
think).
--
View this message in context:
http://www.n
I have a Page class that extends an abstrct class. Do I need a markup
for the abstract class too? And if so: ho can I manage to override the
markup of the abstract class by the markup of the page class?
And: How can I "Enable debug messages for wicket.util.resource" in
Jboss?
Stefan Lindner
-
31 matches
Mail list logo