Re: Wicket behind proxy (AJP)

2009-07-03 Thread Marc Ende

Hello Sergey,

I had the same problems  but I solved them using the 
virtual-host-feature of tomcat.


After that the ProxyPass looks very easy:

...
ProxyPass / ajp://localhost/
...


yours

marc

Sergey Podatelev schrieb:

Hello,

I know this question had already been asked here, but I still couldn't
get it working on my side.
What I'm trying to achieve, is a configuration of Wicket running as
filter on Tomcat with an Apache host as a frontend. Particular problem
is with the context path.

Here's my configuration:
Tomcat's "server.xml":

...

...

Apache's "sites-enabled/mysite":

...

  ServerName "mysite"
  
ProxyRequests Off

  Order deny,allow
  Deny from all
  Allow from localhost


ProxyPass/ http://localhost:8084/Mysite/
ProxyPassReverse / http://localhost:8084/Mysite/

# this doesn't work
#ProxyPass/ ajp://localhost:8099/Mysite/
#ProxyPassReverse / ajp://localhost:8099/Mysite/

# this doesn't work either
#ProxyPass/ ajp://localhost:8099/Mysite/
#ProxyPassReverse / http://localhost:8084/Mysite/

ProxyPassReverseCookiePath /Mysite /
  

...

The only way I got it working with (almost) no issues is the first
one, where both ProxyPass and ProxyPassReverse directives use HTTP
protocol.
If I try AJP for both, or, as was stated somewhere in the mailing list
here, HTTP for ProxyPassReverse and AJP for ProxyPass.

The specific problem is when I access http://mysite/, some Wicket
requests work fine, some, however, are pointing to
http://mysite/Mysite/ (this, for instance, happens when I do
setResponsePage(Page.class, pageParameters). At first, this doesn't
seem to affect anything, but I have "Infinite Redirect Loop" error on
404 page, which is mounted the way it's described on Wicket's wiki.

I'm not sure, whose problem is this, Wicket's or AJP's.
I'm sure someone had similar issues and got them solved, I'd really
appreciate any comments.

  



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: rpc question

2009-09-18 Thread Marc Ende
Hi Petr,

I think you should use a LoadableDetachableModel. Within the method
load() you can execute your call to the webservice or other
remote-service. 

http://cwiki.apache.org/WICKET/working-with-wicket-models.html#WorkingwithWicketmodels-DetachableModels

yours
marc

Am Fri, 18 Sep 2009 14:20:27 +
schrieb Petr Kobalíček :

> Hi list,
> 
> is there a simple tutorial about making RPC services in wicket? I mean
> all integrated with wicket RequestCycle and Sessions, ideally that I
> can expose web services through some Wicket page like class. I'm
> porting one application and we have admin interface in qooxdoo toolkit
> (it communicates through json requests).
> 
> I'd like to hear about "wicket" solution to this problem.
> 
> Thanks for possibilities
> - Petr
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


signature.asc
Description: PGP signature


Re: rpc question

2009-09-18 Thread Marc Ende
Hi Petr,

sorry, I've misunderstood your mail... :)

you've meant the other way round. May be you should try to
build a restful webservice. It's also possible with wicket if you
decide xml as a resultpage. 

For example:
http://java.dzone.com/news/wicket-creating-restful-urls

Am Fri, 18 Sep 2009 17:48:01 +0200
schrieb Marc Ende :

> Hi Petr,
> 
> I think you should use a LoadableDetachableModel. Within the method
> load() you can execute your call to the webservice or other
> remote-service. 
> 
> http://cwiki.apache.org/WICKET/working-with-wicket-models.html#WorkingwithWicketmodels-DetachableModels
> 
> yours
> marc
> 
> Am Fri, 18 Sep 2009 14:20:27 +
> schrieb Petr Kobalíček :
> 
> > Hi list,
> > 
> > is there a simple tutorial about making RPC services in wicket? I
> > mean all integrated with wicket RequestCycle and Sessions, ideally
> > that I can expose web services through some Wicket page like class.
> > I'm porting one application and we have admin interface in qooxdoo
> > toolkit (it communicates through json requests).
> > 
> > I'd like to hear about "wicket" solution to this problem.
> > 
> > Thanks for possibilities
> > - Petr
> > 
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> > 



signature.asc
Description: PGP signature


end tag not found in panel-div

2009-10-24 Thread Marc Ende
Hi,

I had worked on several projects with 1.3 and now I have changed to
1.4.2 (and now to 1.4.3).
After that I have a strange error when I'm using panels:

WicketMessage: close tag not found for tag: . Component: [MarkupContainer [Component id =
headerLogo]]

This happens within a panel which looks like this:

  

  
services
http://xxx.yyy.zzz/";>projectmanagement
  
  

  Home
  Item 1
  Item 1
  Item 2
  Contact

  

  

If I comment the contents of the div's (which have wicket:id)
everything works fine.

  

  

  
  

  

  

I'm not sure but I thought that the content of the div's (with
wicket:id) will be replaced with the contents of the panel. So I would
expect that this should work. (And I thought that I had used it this
way on wicket 1.3).

Does anybody have an idea?

Marc


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: end tag not found in panel-div

2009-10-24 Thread Marc Ende
Hi Igor,

ah, you're completly right. I have forgotten to remove the
wicket:message-tags from the panels after
seperating them.

Thanks for the hint!

Have a nice saturday.

Marc

Igor Vaynberg schrieb:
> so headerLogo is a Panel?
>
> you cannot do that, you cannot have markup with wicket:ids inside a
> tag that you want to be replaced with a panel.
>
> -igor
>
> On Sat, Oct 24, 2009 at 12:16 AM, Marc Ende  wrote:
>   
>> Hi,
>>
>> I had worked on several projects with 1.3 and now I have changed to
>> 1.4.2 (and now to 1.4.3).
>> After that I have a strange error when I'm using panels:
>>
>> WicketMessage: close tag not found for tag: > wicket:id="headerLogo">. Component: [MarkupContainer [Component id =
>> headerLogo]]
>>
>> This happens within a panel which looks like this:
>>
>>  
>>
>>  
>>> key="services">services
>>http://xxx.yyy.zzz/";>> key="projectmanagement">projectmanagement
>>  
>>  
>>
>>  Home
>>  Item 1
>>  Item 1
>>  Item 2
>>  Contact
>>
>>  
>>
>>  
>>
>> If I comment the contents of the div's (which have wicket:id)
>> everything works fine.
>>
>>  
>>
>>  
>>
>>  
>>  
>>
>>  
>>
>>  
>>
>> I'm not sure but I thought that the content of the div's (with
>> wicket:id) will be replaced with the contents of the panel. So I would
>> expect that this should work. (And I thought that I had used it this
>> way on wicket 1.3).
>>
>> Does anybody have an idea?
>>
>> Marc
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>> 
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>   


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



i18n and resource bundles (wicket wiki)

2009-10-24 Thread Marc Ende
Hi,

on the wicket-wiki
(http://cwiki.apache.org/WICKET/i18n-and-resource-bundles.html) I've
found a point that won't work.

Below the point "Load resources dynamically for a component" there is
the first alternative using ...PackageResource.get(MyComponent.class,
"Mycomponent.properties")...

I've tried that to load properties but it doesn't work. The reason is
that the PackageResource calls their accept method internally. This
loads a PackageResourceGuard from the Application. But this
PackageResourceGuard has a list
of blocked extensions: java, class and properties. If you make this
call above it'll result in a "PackageResourceBlockedException".

marc


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket-auth-roles + EJB 3 (Authentication and Authorization)

2009-03-22 Thread Marc Ende

Hi Barry,

I've running three webapps using wicket (1.3) wicket-security 
(SWARM/WASP) together with JAAS.

It's working great. Ok, the logout isn't very nice but it's doing it's job.
At first I had the same impression that's a hack and complicated but 
now, using it several times. It looks easy and it makes sense to me.


Thinks I had to do:
- Create a "CustomPrincipal"
   Just let it implement 
"org.apache.wicket.security.hive.authorization.Principal"
  
- Create a "CustomSubject"

   Extends "org.apache.wicket.security.hive.authentication.DefaultSubject"

- Create a "CustomLoginContext"
   Extends "org.apache.wicket.security.hive.authentication.LoginContext"
   implement the JAAS Login in the login() method of the CustomLoginContext
   and take care that the subject is filled with the username and the 
gorups (of jaas)

   are filled in as principals in the subject.

- Modify your WebApplication to extend Swam
   Extend "org.apache.wicket.security.swarm.SwarmWebApplication"
   implement setUpHive and getLoginPage

- create your hive-file.

You wanted to use w1.4, so I think that you'll have to patch swarm/wasp 
a little bit to work with 1.4


M.
  


Barry van Someren schrieb:

Hi all,

I've been busy on a project of mine that uses Wicket 1.4 RC 2 as a
frontend to a collection of EJB3 beans containing my business logic.
As users of this application will be able to use webservices as well
to use the application I'd also like to use authentication and more
importantly authorization on the side of the EJB's

I'm fairly familiar with EJB security but not very familiar with
Wicket security and I'm wondering what is the best course of action to
authenticate a user inside the Wicket application AND to put these
credentials inside the EJBContext?
I'm looking at 
http://cwiki.apache.org/WICKET/servlet-container-authentication.html
and seeing if I can somehow integrate the two, but it sounds a bit
like a hack.

Any other suggestions worth looking at?
Google is not returning much unfortunately.

Many thanks!

  



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



wicket, slf4j and logback

2009-04-08 Thread Marc Ende
Hi,

I've changed from logging using log4j to logback but there is a little
drawback I haven't figured out in this combination.

I've got this logback.xml:

  
${jboss.server.log.dir}/wz.log

  
  %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} -
%msg%n

  
  
  
  

  


Everything works great. After changing the Pattern the layout also
changes. But whenever I call a site I got the whole debug even if I've
changed the logger for "org" or "org.apache.wicket" to INFO.
These settings are okay as long as the thread is "ScannerThread" (might
be something of jboss). If it's a thread in the normal usage the
patterns are applied correctly but the loggers are ignored completely.

I've used logback in another web project where it's doing it's job.

Does anybody has also this combination?

Thanks for your help!!!

marc



signature.asc
Description: OpenPGP digital signature


Re: wicket, slf4j and logback

2009-04-09 Thread Marc Ende

Hi,

solution found: old libs and a wrong configuration...

Sorry for disturbing...

marc

Marc Ende schrieb:

Hi,

I've changed from logging using log4j to logback but there is a little
drawback I haven't figured out in this combination.

I've got this logback.xml:

  
${jboss.server.log.dir}/wz.log

  
  %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} -
%msg%n

  
  
  
  

  


Everything works great. After changing the Pattern the layout also
changes. But whenever I call a site I got the whole debug even if I've
changed the logger for "org" or "org.apache.wicket" to INFO.
These settings are okay as long as the thread is "ScannerThread" (might
be something of jboss). If it's a thread in the normal usage the
patterns are applied correctly but the loggers are ignored completely.

I've used logback in another web project where it's doing it's job.

Does anybody has also this combination?

Thanks for your help!!!

marc

  



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket-Guice: Inject into Session

2009-04-28 Thread Marc Ende

Hi Jan,

the Session (org.apache.wicket.Session) implements Serializable. So I 
think that wicket is also serializing the session object as other 
webapps do. In this case you've got to serialize the connection. I don't 
think that's easy/possible to seralize a database connection.
I would go another approach which uses the session only as a 
information-container and get those needed information from the
database in the page-lifecycle. That keeps the session-object small 
(which is also an aspect).


just my 5 cent... :)

Marc

Jan Torben Heuer schrieb:

Hi,

I'm a Wicket and Guice beginner. I successfully managed Guice to Inject my 
dependency into a WebPage. Can Guice also inject the dependency into an 
AuthenticatedWebSession? I'd need a reference to my database in the 
#authenticate(String, String) method.


Jan



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

  



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket-Guice: Inject into Session

2009-04-28 Thread Marc Ende
Hmm... I'm not sure why it's done this way in the
AuthenticatedWebSession but
nevertheless it's the only task of a session object to keep informations
between
two requests. From this point of view a authenticate(String,String)
doesnt' really
make sense in the Class. May be there is someone here who can explain this
point. I wouldn't say that this is wrong, but unusual... :)

May be you can get the database connection from inside the method for
authentication purposes,
Then you haven't got any private or public members which should be
serialized and contains a database connection.

m.


Jan Torben Heuer schrieb:
> Marc Ende wrote:
>
>   
>> webapps do. In this case you've got to serialize the connection. I don't
>> think that's easy/possible to seralize a database connection.
>> I would go another approach which uses the session only as a
>> information-container and get those needed information from the
>> database in the page-lifecycle. That keeps the session-object small
>> (which is also an aspect).
>> 
>
> Hmm, following your argumentation, would you say that the 
> AuthenticatedWebSession is implemented wrong because it contains a 
> #authenticate method (which clearly needs a reference to some kind of 
> database)?
>
> Or would marking the field as "transient" be fine?
>
>
> Cheers,
>
> Jan
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>   


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



FileUploadField updating model

2009-06-09 Thread Marc Ende
Hi there,

I'm planning to use a FileUploadField within a Form which I already use
for insert and edit operations. Now there should be a FileUploadField
within this form.
It might be a completely stupid question. What happens if I have a model
with a filled property which is the part which uses the FileUploadField
and I didn't provide a new file in this field. Will it set to null and
loose the existing information or is it kept because there is no new
content?

Thanks

marc



signature.asc
Description: OpenPGP digital signature


wicket 1.3.4/wicket-contrib-javaee compilation error

2008-10-01 Thread Marc Ende

Hi,

I wanted to use the wicket-contrib-javaee extension to use annotations 
for my beans.

Following the steps in the doc I have added
   addComponentInstantiationListener(new JavaEEComponentInjector(this));
to my applications init() method.

The application-class is an extended AuthenticatedWebApplication because 
I need

jaas authentication in the application.

When I tried to compile the application I received the following error:

[INFO] 


[ERROR] BUILD FAILURE
[INFO] 


[INFO] Compilation failure
D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36] 
cannot access org.apache.wicket.injection.ComponentInjector

class file for org.apache.wicket.injection.ComponentInjector not found
   addComponentInstantiationListener(new 
JavaEEComponentInjector(this));




D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36] 
cannot access org.apache.wicket.injection.ComponentInjector

class file for org.apache.wicket.injection.ComponentInjector not found
   addComponentInstantiationListener(new 
JavaEEComponentInjector(this));


Does anybody have an Idea? I'm using Wicket 1.3.4, Wicket-Auth-Roles 
1.3.4 and Wicket-contrib-javaee 1.1 (latest downloadable)


Yours

Marc

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: wicket 1.3.4/wicket-contrib-javaee compilation error

2008-10-01 Thread Marc Ende
a) Thanks for the help, I'll try that tomorrow.
b) I _have_ used maven but there is NO repository
which contains this wicket-contrib-javaee lib.
Can you point me to a repository containing this project?

m.

Igor Vaynberg schrieb:
> you are missing wicket-ioc jar, you should really use maven to manage
> your dependencies if you dont know how to do that yourself.
> 
> -igor
> 
> On Wed, Oct 1, 2008 at 3:00 AM, Marc Ende <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I wanted to use the wicket-contrib-javaee extension to use annotations for
>> my beans.
>> Following the steps in the doc I have added
>>   addComponentInstantiationListener(new JavaEEComponentInjector(this));
>> to my applications init() method.
>>
>> The application-class is an extended AuthenticatedWebApplication because I
>> need
>> jaas authentication in the application.
>>
>> When I tried to compile the application I received the following error:
>>
>> [INFO]
>> 
>> [ERROR] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Compilation failure
>> D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36]
>> cannot access org.apache.wicket.injection.ComponentInjector
>> class file for org.apache.wicket.injection.ComponentInjector not found
>>   addComponentInstantiationListener(new
>> JavaEEComponentInjector(this));
>>
>>
>>
>> D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36]
>> cannot access org.apache.wicket.injection.ComponentInjector
>> class file for org.apache.wicket.injection.ComponentInjector not found
>>   addComponentInstantiationListener(new
>> JavaEEComponentInjector(this));
>>
>> Does anybody have an Idea? I'm using Wicket 1.3.4, Wicket-Auth-Roles 1.3.4
>> and Wicket-contrib-javaee 1.1 (latest downloadable)
>>
>> Yours
>>
>> Marc
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 




signature.asc
Description: OpenPGP digital signature


Re: wicket 1.3.4/wicket-contrib-javaee compilation error

2008-10-01 Thread Marc Ende
Yes of course I tried to download the sources from repository. But the
connection (to the svn-repo) was so slow that my client timed out.
So no way to get it...

Anyway, It's good to know that's only a dependency missing.

By the way: I think that it would be a good idea to give a hint
regarding this dependency on the website when offering a jar-download.

m.



Igor Vaynberg schrieb:
> whether or not there is a repository has nothing to do with it
> 
> after you download and mvn install the project it will be in your local repo
> when you add it as a dependency to your project wicket-ioc will be
> brought in via transitive dependency because it is declared in
> javaee's pom.
> 
> -igor
> 
> On Wed, Oct 1, 2008 at 9:02 AM, Marc Ende <[EMAIL PROTECTED]> wrote:
>> a) Thanks for the help, I'll try that tomorrow.
>> b) I _have_ used maven but there is NO repository
>> which contains this wicket-contrib-javaee lib.
>> Can you point me to a repository containing this project?
>>
>> m.
>>
>> Igor Vaynberg schrieb:
>>> you are missing wicket-ioc jar, you should really use maven to manage
>>> your dependencies if you dont know how to do that yourself.
>>>
>>> -igor
>>>
>>> On Wed, Oct 1, 2008 at 3:00 AM, Marc Ende <[EMAIL PROTECTED]> wrote:
>>>> Hi,
>>>>
>>>> I wanted to use the wicket-contrib-javaee extension to use annotations for
>>>> my beans.
>>>> Following the steps in the doc I have added
>>>>   addComponentInstantiationListener(new JavaEEComponentInjector(this));
>>>> to my applications init() method.
>>>>
>>>> The application-class is an extended AuthenticatedWebApplication because I
>>>> need
>>>> jaas authentication in the application.
>>>>
>>>> When I tried to compile the application I received the following error:
>>>>
>>>> [INFO]
>>>> 
>>>> [ERROR] BUILD FAILURE
>>>> [INFO]
>>>> 
>>>> [INFO] Compilation failure
>>>> D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36]
>>>> cannot access org.apache.wicket.injection.ComponentInjector
>>>> class file for org.apache.wicket.injection.ComponentInjector not found
>>>>   addComponentInstantiationListener(new
>>>> JavaEEComponentInjector(this));
>>>>
>>>>
>>>>
>>>> D:\java\workspace\itf.as\itf.web\src\main\java\itf\web\ItfWebApplication.java:[36,36]
>>>> cannot access org.apache.wicket.injection.ComponentInjector
>>>> class file for org.apache.wicket.injection.ComponentInjector not found
>>>>   addComponentInstantiationListener(new
>>>> JavaEEComponentInjector(this));
>>>>
>>>> Does anybody have an Idea? I'm using Wicket 1.3.4, Wicket-Auth-Roles 1.3.4
>>>> and Wicket-contrib-javaee 1.1 (latest downloadable)
>>>>
>>>> Yours
>>>>
>>>> Marc
>>>>
>>>> -
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>
>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 




signature.asc
Description: OpenPGP digital signature


Wicket Security

2008-10-06 Thread Marc Ende
Hi,

I'd like to integrate security in my wicket application. I've seen a
tutorial regarding jaas, ldap etc.
(http://blog.xebia.com/2008/05/08/wicket-jboss-jaas-ldap/) and I've
found swarm. In the repositories I had found wicket-security. While
reading the tutorial I've found that the wicket-security and the
tutorial relates to each other. After reading swarm I had the impression
that this will be another approach OR I had missed some things.

What I'd like to do is:

I have a webapp which has some parts in public areas which should only
be shown to authorized people. On the other hand there should be pages
which are completely only for these authorized peoples. As a backend I
have to use JAAS. The business-logic is encapsulated in ejb's which also
have declarative security (which annotations).

Now I have some questions:

- Are both projects (wicket-security and swarm) diffrent project or do
I have a completly wrong understanding of these both projects?
- I've found that the Tutorial is working great and I know how to
protect a whole page. But when I'd like to set parts invisible if there
is no authenticated people seeing the page. How can I get access to the
roles when I'm using a page where only parts should be set visible or
invisible regarding the authorization.
- Following this tutorial can I use the LoginContext from Jaas to
authenticate against the ejb's or is it lost after login?
- When the login context is available: Can I also use wicket-javaee with
this context?

Sorry for this stupid questions. I had used other frameworks before and
now I'm a complete beginner on wicket (and JAAS was used by me a long
time ago...)
Anyway: The few steps I had done with wicket and I really like it. It's
a great framework! You've done a really good job!!!

marc



signature.asc
Description: OpenPGP digital signature


Re: overLIB Integration...

2008-11-17 Thread Marc Ende
Hi,

imho this would be a nice feature.

What about the mentioned constructor is it still
OverlibBehavior(String) or do you plan also
a OverlibBehavior(IModel)? It would be nice to
have such a constructor when the contents should
be loaded from a model.

Marc

James Carman schrieb:
> Would anyone be interested in a Wicket/overLIB integration library?
> I've written one for work and wouldn't mind sharing it with folks.  It
> makes it very easy to add overLIB stuff to components, using
> behaviors...
> 
> component.add(new OverlibBehavior("This is my tooltip
> text").sticky().forceClose().delay(250));
> 
> This would create a tooltip with the specified text that is "sticky"
> and has to be closed.  It wouldn't show up for 250 milliseconds.  If
> anyone's interested, I can put it in wicketstuff.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 




signature.asc
Description: OpenPGP digital signature


swarm & wicket 1.4

2008-11-17 Thread Marc Ende
Hi,

currently I'm using swarm securing some webpages build on wicket.
Now, that's wicket 1.4 is getting nearer, I would like to know if
there is something planned with swarm for wicket 1.4.

Do you know if it's compatible or is there a new release needed?

yours

Marc




signature.asc
Description: OpenPGP digital signature


Re: UTF-8 bug in wicket? Or in Tomcat?

2009-01-29 Thread Marc Ende

Hi Philipp,

are your texts are stored in a database? Then you've got two more points 
where you can search:

The encoding of the table and the encoding of the connection.
Do you've got the same issues with the templates?

Marc

Philipp Daumke schrieb:

Hi Mathias,

'äöü' is actually already converted to 'äöü' when I add a 
breakpoint at the onSubmit method of my form (so right when I get the 
input of the text field from my model).


My whole eclipse is in UTF-8, Wicket writes UTF-8 to each HTML-Page, 
my firefox says UTF-8. What I think is that Wicket or Tomcat treats my 
UTF8-String äöü as an ISO-8859-1 String and converts it from iso to 
utf8, so into 'äöü'. When I copy 'äöü' into a tmp.txt file in 
unix-shell which is in UTF-8 and do an "iconv -futf8 -tlatin1 tmp.txt" 
on it, the output is 'äöü' again.


Any idea what to do?
All the best
Philipp
Do you save it to a database and then display the text? How do you 
present

it?
  






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Handling 404 in wicket?

2009-02-06 Thread Marc Ende
Hi,

within a Project there is the need for a "customized" 404-Page.
Users with a misspelled url should get a standard 404-Page and
some "hints" which pages they possible wanted to show. The other
point is that I would like to reuse the templates, inheritance and so on
and not to create some "special" jsps for this.

I've some messages on this list in mind which are related to this
topic but I haven't found them anymore.
Ist there anything easy (like an "setErrorPage") to get all requests
which are directed to non existing Pages?


Thanks for your help

Marc



signature.asc
Description: OpenPGP digital signature


wicketstuff-repo

2010-06-15 Thread Marc Ende
Hi,

is there another wicketstuff-repo (a mirror for example)? Wicketstuff is now
down for some days and
I'll need some artifacts from the repo.

marc


Re: wicketstuff-repo

2010-06-15 Thread Marc Ende
Ah, I've found it:
http://repo1.maven.org/maven2/org/wicketstuff/

Thanks

marc

2010/6/15 nino martinez wael 

> someone mentioned sonatype..Search the list for sonatype..
>
> 2010/6/15 Marc Ende 
>
> > Hi,
> >
> > is there another wicketstuff-repo (a mirror for example)? Wicketstuff is
> > now
> > down for some days and
> > I'll need some artifacts from the repo.
> >
> > marc
> >
>


Re: visural-wicket 0.6.5 released!

2010-11-26 Thread Marc Ende
May be you should mention the need for visural-common in the basic-usage.
When using the InputHintBehavior I got an ClassNotFound exception.

anyway: a visural-wicket is a great collection of components. ;)

marc

2010/11/25 Richard Nichols 

> What error are you getting?
>
> It may be related to my separating the visural-common dependency from the
> main visural-wicket JAR.
>
> On Fri, Nov 26, 2010 at 8:56 AM, Paul Szulc  wrote:
>
> > maven repo is not working
> >
> > On Thu, Nov 25, 2010 at 9:19 PM, Richard Nichols  wrote:
> >
> > > Thanks for all the positive comments :)
> > >
> > > If anyone has any suggestions / ideas for the next release (0.7) then
> let
> > > me
> > > know.
> > >
> > > Currently the only things on the RoadMap, are Wicket 1.5 support and
> some
> > > refactoring on the DropDown control (which has become a bit of a
> > > maintenance
> > > time-sink).
> > >
> > > cheers,
> > > RIch
> > >
> > > On Fri, Nov 26, 2010 at 6:19 AM, Mark Doyle <
> > markjohndo...@googlemail.com
> > > >wrote:
> > >
> > > > Great library.  I always expected more of these since component
> > creation
> > > > and
> > > > reuse is one of Wickets a key strengths.
> > > >
> > > > What I like about this lib is it's clean and finished.  There is no
> > > feeling
> > > > of immaturity or of a project that has died off.
> > > >
> > > >
> > > > On Thu, Nov 25, 2010 at 2:02 PM, alex shubert <
> alex.shub...@gmail.com
> > > > >wrote:
> > > >
> > > > > I must ask it: why did you make such fat header at your page? Did
> you
> > > > > every try to take a look at this in 1600*900 notebook screen?
> > > > > All you writings begins in bottom second part of the screen. It is
> > not
> > > > > my busenees of course, but why dont you kill that nice picture and
> > > > > resize header to just contain "pragmatic" without strong empty
> white
> > > > > line?
> > > > >
> > > > > Ah, forget it. At least you did not add banner on the top of all of
> > > that
> > > > >  :)
> > > > >
> > > > > --
> > > > > Best regards
> > > > > Alex
> > > > >
> > > > >
> -
> > > > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > > > > For additional commands, e-mail: users-h...@wicket.apache.org
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Richard Nichols
> > > http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
> > >
> >
> >
> >
> > --
> > Best regards,
> > Paul Szulc
> >
> > http://www.paulszulc.com
> >
>
>
>
> --
> Richard Nichols
> http://www.richardnichols.net/ :: http://onmydoorstep.com.au/
>


Re: Application with name 'xxxx' already exists.

2011-07-02 Thread Marc Ende
Hmm... there is just one, no more. :(

Am 30.06.2011 10:23, schrieb Martin Grigorov:
> This can happen when you have two WicketFilter declarations in web.xml
> with the same name.
>
> On Thu, Jun 30, 2011 at 9:00 AM, me  wrote:
>> Hi,
>>
>> the last hours I wanted to give the 1.5-RC a try. But there is one
>> Exception which doesn't have
>> an effect but it's just irritating:
>> After deploying a Web-Application (The Hello-World-Example) on a GF 3.1.
>> I'll receive this error:
>>
>> SCHWERWIEGEND: WebModule[/X-web]PWC1270: Exception starting filter
>> xxx
>> java.lang.InstantiationException
>>at
>> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:124)
>>at
>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4625)
>>at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:5316)
>>at com.sun.enterprise.web.WebModule.start(WebModule.java:500)
>>at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
>>at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
>>at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:755)
>>at
>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1980)
>>at
>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1630)
>>at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100)
>>at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
>>at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
>>at
>> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:286)
>>at
>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
>>at
>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
>>at
>> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
>>at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
>>at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
>>at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
>>at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
>>at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
>>at
>> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
>>at
>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:465)
>>at
>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:222)
>>at
>> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
>>at
>> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
>>at
>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
>>at
>> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
>>at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
>>at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
>>at
>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
>>at
>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>>at
>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>>at
>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>>at
>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
>>at
>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>>at
>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>>at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
>>at
>> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>>at
>> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>>at java.lang.Thread.run(Thread.java:662)
>> Caused by: java.lang.IllegalStateException: Application with name
>> 'X' already exists.'
>>at org.apache.wicket.Application.setName(Application.java:847)
>>at
>> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:307)
>>at
>> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:284)
>>at
>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
>>at
>> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:120)
>>... 40 more
>>
>> It doesn't affect the functionality of the web-page. It's served as
>> usual. On the GF is nothing else
>> deployed (Ok. Just one Database Pool).
>>
>> Yours
>>
>> marc
>>
>> --

examples7x.wicket.apache.org not available

2016-06-08 Thread Marc Ende
Hi,

I've seen that the http://examples7x.wicket.apache.org/ is currently not
available. There is an proxy error.
It would be great if the examples would be available soon, they're a
great resource. ;)

Cheers
Marc

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org