Re: spring 3.1 wicket auth integration

2011-03-02 Thread Martin Grigorov
Hi,

There shouldn't be any big differences neither in Spring nor in Wicket.
Wicket 1.4 introduced JDK 1.5 (generics, varargs, ...) but otherwise the
code from 1.3 should still work.

On Wed, Mar 2, 2011 at 2:05 AM, Geoff Lancaster
wic...@geofflancaster.comwrote:

 I've seen that wiki but it's for spring 3.0 and wicket 1.3. I need a
 solution for spring 3.1 and wicket 1.4+

 -Original Message-
 From: moèz ben rhouma [mailto:benrhouma.m...@gmail.com]
 Sent: Tuesday, March 01, 2011 2:04 AM
 To: users@wicket.apache.org; wic...@geofflancaster.com
 Subject: Re: spring 3.1 wicket auth integration

 https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html

 2011/2/28 wic...@geofflancaster.com wic...@geofflancaster.com

  Can anyone point me to a tutorial or example on getting spring 3.x
  setup and working with wicket-auth-roles for an
 AuthenticatedWebApplication?
 
  Thanks in advance.
 
  
  mail2web.com – Enhanced email for the mobile individual based on
  Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail
 
 
 
  -
  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




[1.5.0-rc2] possible bug with danish characters

2011-03-02 Thread nino martinez wael
Hi

I just noticed that after upgrading to rc2, my some of my texts like
håndteret kald when getting saved/posted becomes this: hÃ¥ndteret kald..
I revert to rc1 to see if it's a problem there (I did not notice it
earlier).

-Regards Nino


Re: Perfomance of IDataProvider

2011-03-02 Thread Juansoft
Thanks a lot for your replies, guys!

If any time travels to  http://www.flickr.com/photos/juan_an/4495018982/
Toledo (Spain) contact me for invite you a one 
http://www.flickr.com/photos/formalfallacy/2342052637/ Spanish Omelette !



-
Another wicket newbie programmer

Wicket en Español - 

http://aprendiendowicket.wordpress.com 
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Perfomance-of-IDataProvider-tp3325777p3331250.html
Sent from the Users forum mailing list archive at Nabble.com.

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



RE: [1.5.0-rc2] possible bug with danish characters

2011-03-02 Thread Wilhelmsen Tor Iver
 I just noticed that after upgrading to rc2, my some of my texts like
 håndteret kald when getting saved/posted becomes this: hÃ¥ndteret kald..

Charset issue, they get posted as UTF-8; you probably  either need to test for 
charset or assume UTF-8 across the board.

- Tor Iver

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



Re: [1.5.0-rc2] possible bug with danish characters

2011-03-02 Thread nino martinez wael
The problem is not there with rc1, Im using Tomcat 7.04... So to explain
again, I have a text

2011/3/2 nino martinez wael nino.martinez.w...@gmail.com

 Hi

 I just noticed that after upgrading to rc2, my some of my texts like
 håndteret kald when getting saved/posted becomes this: hÃ¥ndteret
 kald.. I revert to rc1 to see if it's a problem there (I did not notice it
 earlier).

 -Regards Nino



Re: [1.5.0-rc2] possible bug with danish characters

2011-03-02 Thread nino martinez wael
Charset are UTF8... Anyhow there's no problem on rc1..

2011/3/2 Wilhelmsen Tor Iver toriv...@arrive.no

  I just noticed that after upgrading to rc2, my some of my texts like
  håndteret kald when getting saved/posted becomes this: hÃ¥ndteret
 kald..

 Charset issue, they get posted as UTF-8; you probably  either need to test
 for charset or assume UTF-8 across the board.

 - Tor Iver

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




German umlauts in Wicket-Message Tag

2011-03-02 Thread MattyDE
Hi,

We're developing Web-Applications for german customers so we also have to
use German umlauts (äöüß) in wicket-markup message-Tags. (UTF-8 enconding
for html and java-Files)

But if we try with ' a RuntimeException occurs:

WicketMessage: Tag '' (line 128, column 24) has a mismatched close tag at ''
(line 128, column 67)

Any Ideas how we could fix that? 


Thanks in Advance for any hint!

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/German-umlauts-in-Wicket-Message-Tag-tp3331297p3331297.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: German umlauts in Wicket-Message Tag

2011-03-02 Thread Weather
Did you try to escape it?


-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.



Re: German umlauts in Wicket-Message Tag

2011-03-02 Thread MattyDE
Thanks for your fast reply.

But we now realize that its not the umlauts which create problems. its the


We was using  but wicket interprets the first  inside the key-Attribute as
closing tag. This is a bug right?

We are using wicket Version 1.4.8



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/German-umlauts-in-Wicket-Message-Tag-tp3331297p3331325.html
Sent from the Users forum mailing list archive at Nabble.com.

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



AW: German umlauts in Wicket-Message Tag

2011-03-02 Thread Stefan Lindner
As I remember, Wicket/Java uses .properties files for this message texts. And 
by definition, a .properties file is always in ISO-88xxx

See http://download.oracle.com/javase/6/docs/api/java/util/Properties.html

If you don't want to excape all german umlauts, there is a way to use XML files 
for properties. In this XML file you can specify the encoding.

Stefan

-Ursprüngliche Nachricht-
Von: Weather [mailto:ng...@mac.com] 
Gesendet: Mittwoch, 2. März 2011 11:42
An: users@wicket.apache.org
Betreff: Re: German umlauts in Wicket-Message Tag

Did you try to escape it?


-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.


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



Getting an AjaxRequestTarget from within a Form.onSubmit

2011-03-02 Thread drf
Wicket extensions contains a ModalWindow object. In order to open it, you
call the show(AjaxRequestTarget) method.

We want to call this from within Form.onSubmit(), the problem is, how do we
get hold of a AjaxRequestTarget object? What can we add to the form that
will give us this capability?

Here is the use case: Wicket adds javascript to the page which calls a
function which calls an activeX object and places the return value from the
activeX call in a field. The function then does a form submit. From the
onSumit we can pick up the value in the field, therefore we know what the
actveX returned. Great. But under some circumstances we then want to open
the dialog. For that we need a AjaxRequestTarget.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Getting-an-AjaxRequestTarget-from-within-a-Form-onSubmit-tp3331336p3331336.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Getting an AjaxRequestTarget from within a Form.onSubmit

2011-03-02 Thread Ernesto Reinaldo Barreiro
If form was submitted via AJAX you can always access AjaxRequestTarget
via AjaxRequestTarget.get();

Ernesto

On Wed, Mar 2, 2011 at 11:59 AM, drf davidrfi...@gmail.com wrote:
 Wicket extensions contains a ModalWindow object. In order to open it, you
 call the show(AjaxRequestTarget) method.

 We want to call this from within Form.onSubmit(), the problem is, how do we
 get hold of a AjaxRequestTarget object? What can we add to the form that
 will give us this capability?

 Here is the use case: Wicket adds javascript to the page which calls a
 function which calls an activeX object and places the return value from the
 activeX call in a field. The function then does a form submit. From the
 onSumit we can pick up the value in the field, therefore we know what the
 actveX returned. Great. But under some circumstances we then want to open
 the dialog. For that we need a AjaxRequestTarget.

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Getting-an-AjaxRequestTarget-from-within-a-Form-onSubmit-tp3331336p3331336.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 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: Getting an AjaxRequestTarget from within a Form.onSubmit

2011-03-02 Thread drf
The form is being submitted by including this line in the javascript
function:

document.forms[0].submit()


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Getting-an-AjaxRequestTarget-from-within-a-Form-onSubmit-tp3331336p3331346.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Getting an AjaxRequestTarget from within a Form.onSubmit

2011-03-02 Thread Ernesto Reinaldo Barreiro
AFAIK then you can't use AjaxRequestTarget  to make modal window
visible (as there is no AJAX request). Some time ago I have posted a
message showing how to create a version of modal window that is open
on page onload. Make you can come up with a variation of it that can
be valid for your use-case.

Ernesto

On Wed, Mar 2, 2011 at 12:12 PM, drf davidrfi...@gmail.com wrote:
 The form is being submitted by including this line in the javascript
 function:

 document.forms[0].submit()


 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Getting-an-AjaxRequestTarget-from-within-a-Form-onSubmit-tp3331336p3331346.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 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: Getting an AjaxRequestTarget from within a Form.onSubmit

2011-03-02 Thread Ernesto Reinaldo Barreiro
See

1-http://apache-wicket.1842946.n4.nabble.com/opening-ModalWindow-on-page-load-tt3055618.html#a3056717

Maybe you can override

public void renderHead(IHeaderResponse response)
{
response.renderOnDomReadyJavascript(getWindowOpenJavascript());
}

and only do  response.renderOnDomReadyJavascript(getWindowOpenJavascript());
 under certain conditions...

Ernesto


On Wed, Mar 2, 2011 at 12:22 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
 AFAIK then you can't use AjaxRequestTarget  to make modal window
 visible (as there is no AJAX request). Some time ago I have posted a
 message showing how to create a version of modal window that is open
 on page onload. Make you can come up with a variation of it that can
 be valid for your use-case.

 Ernesto

 On Wed, Mar 2, 2011 at 12:12 PM, drf davidrfi...@gmail.com wrote:
 The form is being submitted by including this line in the javascript
 function:

 document.forms[0].submit()


 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Getting-an-AjaxRequestTarget-from-within-a-Form-onSubmit-tp3331336p3331346.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 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



Wicket 1.5 migration Issue

2011-03-02 Thread fstof
Hi all,
I decided to do the migration from 1.4.15 to 1.5rc2

Some background on how we do stuff:

In web.xml we have the WicketServlet configured with multiple servlet
mappings, eg


wicket.servlet
/skinwithlongname/*


wicket.servlet
/shortskin/*


Now these mappings are used to specify which style to set on the session
like this:
[Session Constructor]
...
String u = request.getUrl().toString();// should resolve to
/servletMapping/mountedPage/ according to wicket 1.4)
String skin = u.substring(0, u.indexOf(/));
setStyle(skin)
...

This no longer works
The issue comes in the request.getUrl().
I traced it all the way back to WicketFilter.init(). In there the filterPath
gets resolved, in my opinion this is not correct, as I havent even hit a
request. So init() only loads the first mapping in the web.xml
(/skinwithlongname).
Now when I enter a page thru the mapping /shortskin and the Session gets
created, request.getUrl() breaks (String index out of range)

I hope I'm making sence here. But essencially request.getUrl() is not
working correctly

Thanks
Frans 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-migration-Issue-tp3331365p3331365.html
Sent from the Users forum mailing list archive at Nabble.com.

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



IHeaderContributor problem - How to render the page css after all css styles from components

2011-03-02 Thread Poko Booth
Hi all,

I have created some custom components which implement the IHeaderContributor
interface in order to obtain their custom css when rendered.
I want to give user the opportunity to override these classes without making
them create specific new trees in their page's basic css.

To be more specific, I have created a custom textfield which renders an
Error class in its tag when not valid.
I have also created a css file which is being rendered in order to define
the Error class displaying the textfield with red borders [the component
implements the IHeaderContributor].
I want to give user the opportunity to define a new Error class in his
page's css in order to override this.
The problem is that the page's css is being rendered before the components
css reference thus doesn't override it.

Do you have any hint on how to proceed?

Best regards,
Poko


Re: German umlauts in Wicket-Message Tag

2011-03-02 Thread Hans Lesmeister 2

MattyDE wrote:
 
 But we now realize that its not the umlauts which create problems. its
 the 
 
 We was using  but wicket interprets the first  inside the key-Attribute
 as closing tag. This is a bug right?
 

Hi,

I think it is generally good practice to not use special characters like
Umlauts inside technical aspects.
Why not just  or something similar?


-
-- 
Regards, 
Hans 

http://cantaa.de 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/German-umlauts-in-Wicket-Message-Tag-tp3331297p3331395.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: IHeaderContributor problem - How to render the page css after all css styles from components

2011-03-02 Thread Ernesto Reinaldo Barreiro
Can't you just use !important at page CSS definition to override what
the component defines as default?

Ernesto

On Wed, Mar 2, 2011 at 1:24 PM, Poko Booth poko.bo...@gmail.com wrote:
 Hi all,

 I have created some custom components which implement the IHeaderContributor
 interface in order to obtain their custom css when rendered.
 I want to give user the opportunity to override these classes without making
 them create specific new trees in their page's basic css.

 To be more specific, I have created a custom textfield which renders an
 Error class in its tag when not valid.
 I have also created a css file which is being rendered in order to define
 the Error class displaying the textfield with red borders [the component
 implements the IHeaderContributor].
 I want to give user the opportunity to define a new Error class in his
 page's css in order to override this.
 The problem is that the page's css is being rendered before the components
 css reference thus doesn't override it.

 Do you have any hint on how to proceed?

 Best regards,
 Poko


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



Re: IHeaderContributor problem - How to render the page css after all css styles from components

2011-03-02 Thread Poko Booth
Thank you,

I had no idea about the important attribute. I just thought that it would
make more sense if the page's css was rendered after all components
contributions.

Regards,
Poko
On Wed, Mar 2, 2011 at 2:44 PM, Ernesto Reinaldo Barreiro 
reier...@gmail.com wrote:

 Can't you just use !important at page CSS definition to override what
 the component defines as default?

 Ernesto

 On Wed, Mar 2, 2011 at 1:24 PM, Poko Booth poko.bo...@gmail.com wrote:
  Hi all,
 
  I have created some custom components which implement the
 IHeaderContributor
  interface in order to obtain their custom css when rendered.
  I want to give user the opportunity to override these classes without
 making
  them create specific new trees in their page's basic css.
 
  To be more specific, I have created a custom textfield which renders an
  Error class in its tag when not valid.
  I have also created a css file which is being rendered in order to define
  the Error class displaying the textfield with red borders [the
 component
  implements the IHeaderContributor].
  I want to give user the opportunity to define a new Error class in his
  page's css in order to override this.
  The problem is that the page's css is being rendered before the
 components
  css reference thus doesn't override it.
 
  Do you have any hint on how to proceed?
 
  Best regards,
  Poko
 

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




Re: [1.5.0-rc2] possible bug with danish characters

2011-03-02 Thread nino martinez wael
anyone have an idea why changing from rc1 to rc2 would have an have an
impact on this..? There was no issue that looked related to me (in the
change log).

2011/3/2 nino martinez wael nino.martinez.w...@gmail.com

 Charset are UTF8... Anyhow there's no problem on rc1..

 2011/3/2 Wilhelmsen Tor Iver toriv...@arrive.no

  I just noticed that after upgrading to rc2, my some of my texts like
  håndteret kald when getting saved/posted becomes this: hÃ¥ndteret
 kald..

 Charset issue, they get posted as UTF-8; you probably  either need to test
 for charset or assume UTF-8 across the board.

 - Tor Iver

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





Re: IHeaderContributor problem - How to render the page css after all css styles from components

2011-03-02 Thread Hans Lesmeister 2

Poko Booth wrote:
 
 Can't you just use !important at page CSS definition to override what
 the component defines as default?
 

!important is not recognized by all browsers (IE6 for instance)


-
-- 
Regards, 
Hans 

http://cantaa.de 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/IHeaderContributor-problem-How-to-render-the-page-css-after-all-css-styles-from-components-tp3331401p3331534.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: IHeaderContributor problem - How to render the page css after all css styles from components

2011-03-02 Thread Ernesto Reinaldo Barreiro
Is that really a stopper?

1-http://bytesizecss.com/blog/post/ie6-and-the-important-rule/
2-http://stackoverflow.com/questions/1330184/what-browsers-support-important

What other browsers you mean?

Ernesto


On Wed, Mar 2, 2011 at 3:01 PM, Hans Lesmeister 2
hans.lesmeis...@lessy-software.de wrote:

 Poko Booth wrote:

 Can't you just use !important at page CSS definition to override what
 the component defines as default?


 !important is not recognized by all browsers (IE6 for instance)


 -
 --
 Regards,
 Hans

 http://cantaa.de

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/IHeaderContributor-problem-How-to-render-the-page-css-after-all-css-styles-from-components-tp3331401p3331534.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 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 1.5 migration Issue

2011-03-02 Thread Martin Grigorov
please create a quickstart application and attach it to a ticket in jira.
thanks!

On Wed, Mar 2, 2011 at 1:38 PM, fstof frans.stofb...@gmail.com wrote:

 Hi all,
 I decided to do the migration from 1.4.15 to 1.5rc2

 Some background on how we do stuff:

 In web.xml we have the WicketServlet configured with multiple servlet
 mappings, eg


wicket.servlet
/skinwithlongname/*


wicket.servlet
/shortskin/*


 Now these mappings are used to specify which style to set on the session
 like this:
 [Session Constructor]
 ...
 String u = request.getUrl().toString();// should resolve to
 /servletMapping/mountedPage/ according to wicket 1.4)
 String skin = u.substring(0, u.indexOf(/));
 setStyle(skin)
 ...

 This no longer works
 The issue comes in the request.getUrl().
 I traced it all the way back to WicketFilter.init(). In there the
 filterPath
 gets resolved, in my opinion this is not correct, as I havent even hit a
 request. So init() only loads the first mapping in the web.xml
 (/skinwithlongname).
 Now when I enter a page thru the mapping /shortskin and the Session gets
 created, request.getUrl() breaks (String index out of range)

 I hope I'm making sence here. But essencially request.getUrl() is not
 working correctly

 Thanks
 Frans

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-migration-Issue-tp3331365p3331365.html
 Sent from the Users forum mailing list archive at Nabble.com.

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




Re: [1.5.0-rc2] possible bug with danish characters

2011-03-02 Thread Martin Grigorov
quickstart will help us to debug it.
attach it to jira
thanks!

On Wed, Mar 2, 2011 at 3:16 PM, nino martinez wael 
nino.martinez.w...@gmail.com wrote:

 anyone have an idea why changing from rc1 to rc2 would have an have an
 impact on this..? There was no issue that looked related to me (in the
 change log).

 2011/3/2 nino martinez wael nino.martinez.w...@gmail.com

  Charset are UTF8... Anyhow there's no problem on rc1..
 
  2011/3/2 Wilhelmsen Tor Iver toriv...@arrive.no
 
   I just noticed that after upgrading to rc2, my some of my texts like
   håndteret kald when getting saved/posted becomes this: hÃ¥ndteret
  kald..
 
  Charset issue, they get posted as UTF-8; you probably  either need to
 test
  for charset or assume UTF-8 across the board.
 
  - Tor Iver
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 



Re: German umlauts in Wicket-Message Tag

2011-03-02 Thread Manfred Bergmann
Yep, right.
Using special characters in keys is not a good idea and makes localisation
harder. Fully sufficuient if you use umlauts on the value side.


Manfred

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/German-umlauts-in-Wicket-Message-Tag-tp3331297p3331642.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: IHeaderContributor problem - How to render the page css after all css styles from components

2011-03-02 Thread Hans Lesmeister 2

Ernesto Reinaldo Barreiro-4 wrote:
 
 Is that really a stopper?
 

Well, that depends on the demands of the OP. IE6 is still used in many big
companies (and because IE6 is buggy concerning !important, it can be
(mis)used for nice CSS-hacks)

But what if the !important-directive is already used somewhere and the user
wants to override it? The result will be unpredictable:


file1.css:
  width: 200px; !important;

userfile.css:
  width: 150px; !important;

file2.css
  width: 100px;

What will be the result? And what happens if the order changes?




-
-- 
Regards, 
Hans 

http://cantaa.de 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/IHeaderContributor-problem-How-to-render-the-page-css-after-all-css-styles-from-components-tp3331401p3331677.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: IHeaderContributor problem - How to render the page css after all css styles from components

2011-03-02 Thread Martin Grigorov
Hi,

In Wicket 1.5 there is IHeaderRenderStrategy.
org.apache.wicket.markup.renderStrategy.AbstractHeaderRenderStrategy uses
system property Wicket_HeaderRenderStrategy to select the actual strategy.
E.g. :
-DWicket_HeaderRenderStrategy=org.apache.wicket.markup.renderStrategy.ParentFirstHeaderRenderStrategy

1.5 by default
uses org.apache.wicket.markup.renderStrategy.ChildFirstHeaderRenderStrategy

See https://issues.apache.org/jira/browse/WICKET-2693 for more info.

On Wed, Mar 2, 2011 at 5:25 PM, Hans Lesmeister 2 
hans.lesmeis...@lessy-software.de wrote:


 Ernesto Reinaldo Barreiro-4 wrote:
 
  Is that really a stopper?
 

 Well, that depends on the demands of the OP. IE6 is still used in many big
 companies (and because IE6 is buggy concerning !important, it can be
 (mis)used for nice CSS-hacks)

 But what if the !important-directive is already used somewhere and the user
 wants to override it? The result will be unpredictable:


 file1.css:
  width: 200px; !important;

 userfile.css:
  width: 150px; !important;

 file2.css
  width: 100px;

 What will be the result? And what happens if the order changes?




 -
 --
 Regards,
 Hans

 http://cantaa.de

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/IHeaderContributor-problem-How-to-render-the-page-css-after-all-css-styles-from-components-tp3331401p3331677.html
 Sent from the Users forum mailing list archive at Nabble.com.

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




Re: spring 3.1 wicket auth integration

2011-03-02 Thread Moez BR
See this link:
http://www.dzone.com/links/spring_security_3_and_wicket_14.html


Le 2 mars 2011 à 01:05, Geoff Lancaster wic...@geofflancaster.com a écrit :

 I've seen that wiki but it's for spring 3.0 and wicket 1.3. I need a
 solution for spring 3.1 and wicket 1.4+
 
 -Original Message-
 From: moèz ben rhouma [mailto:benrhouma.m...@gmail.com]
 Sent: Tuesday, March 01, 2011 2:04 AM
 To: users@wicket.apache.org; wic...@geofflancaster.com
 Subject: Re: spring 3.1 wicket auth integration
 
 https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html
 
 2011/2/28 wic...@geofflancaster.com wic...@geofflancaster.com
 
 Can anyone point me to a tutorial or example on getting spring 3.x 
 setup and working with wicket-auth-roles for an
 AuthenticatedWebApplication?
 
 Thanks in advance.
 
 
 mail2web.com – Enhanced email for the mobile individual based on 
 Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail
 
 
 
 -
 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



Re: German umlauts in Wicket-Message Tag

2011-03-02 Thread Peter Ertl
Umlauts work great in HTML in you use encoding UTF-8

Don't forget 

 meta http-equiv=Content-Type content=text/html;charset=UTF-8/

in your markup to make the IDE respect it.

an additional

  ?xml version=1.0 encoding=UTF-8?

at the beginning of the markup will not hurt.

Eventually set the encoding of your project files in your IDE to be UTF-8, too.

Set wickets default request / response encoding to UTF-8.

Properties files can either be XML or raw text files. For example IDEA supports 
converting umlauts into escape sequences compatible with ISO-8859-1 which is 
the default encoding for .properties. So I can use .properties files there and 
type umlauts without caring.

No need to use entities for umlauts like

auml;   
ssharp;

and such.

If you take care of all these little things it just works.


Am 02.03.2011 um 16:05 schrieb Manfred Bergmann:

 Yep, right.
 Using special characters in keys is not a good idea and makes localisation
 harder. Fully sufficuient if you use umlauts on the value side.
 
 
 Manfred
 
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/German-umlauts-in-Wicket-Message-Tag-tp3331297p3331642.html
 Sent from the Users forum mailing list archive at Nabble.com.
 
 -
 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



jquery modal window on close

2011-03-02 Thread fachhoch
I am using jquery modal window. Using wicket modal window when the modal
window is closed  event is generated and my code is called can I do the same
for a jquery modal window ?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/jquery-modal-window-on-close-tp3332199p3332199.html
Sent from the Users forum mailing list archive at Nabble.com.

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



body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-02 Thread Gonzalo Aguilar Delgado
Hello, 

I'm building a wiJQuery equivalent for Dojo. And it seems to work nice
with new wicket 1.5. HeaderContributions are really nice... Great work!

But I ran into problems when trying to setup the themes. 

I have to put something like this in the body:

body class=claro

/body

But I rode a lot and discovered that wicket no longer supports
contributing to body because onLoad handler as well others.

Reading in forums I found the BodyTagAttributeModifier but you need a
panel that I wont have.

And the:

body wicket:id=body 

add(new WebMarkupContainer(body){
@Override
public boolean isTransparentResolver() {
return true;
}
@Override
protected void onComponentTag(ComponentTag tag) {
tag.put(class,  somestyle);
}
}); 
It will not work because wicket:id attribute removed from body in version 1.5.


So... What's they way to go?


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



Re: jquery modal window on close

2011-03-02 Thread Pedro Santos
yes, for instance you can create an OnCloseAjaxBehavior and append its
callback script at the on close event [1]

[1] http://jqueryui.com/demos/dialog/#event-close

On Wed, Mar 2, 2011 at 5:04 PM, fachhoch fachh...@gmail.com wrote:

 I am using jquery modal window. Using wicket modal window when the modal
 window is closed  event is generated and my code is called can I do the
 same
 for a jquery modal window ?

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/jquery-modal-window-on-close-tp3332199p3332199.html
 Sent from the Users forum mailing list archive at Nabble.com.

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




-- 
Pedro Henrique Oliveira dos Santos


Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-02 Thread nino martinez wael
Hi Per

Very nice article. It's good for newcommers and I even saw a thing or two
thats new for me.

About  the avoid visible()! part have you tried shiro or wicket security
to manage rendering of your components, I dont know if they just do a set
visible but if they don't it would sure make the code a lot nicer.. Now
thinking of it, one could make a simple annotation or maybe something else
that would replace all components that had setVisible(false) with a
webmarkup container..

Btw are you using IOC preferly guice and have any tips for optimizing this?

regards Nino

2011/3/1 Per p...@hamburg.de

 Hi Antoine,

 I have started collecting my hints over here:

 http://www.small-improvements.com/blog/technical/tuning-wicket-session-size

 Please note that much of it may be considered hacks and bad practice (I
 am just a Wicket user, not a Wicket master). There may be better ways to
 achieve the same results. I'd love to get feedback on these suggestions!
 So give it a shot and tell me how you went!

 Good luck!
 Per


  *bump*
 
  I'm one of those people who is reading :-)
 
 
  Antoine
 
 
  On Mon, Feb 21, 2011 at 3:11 PM, Per [hidden email]
  /user/SendEmail.jtp?type=nodenode=3330006i=0 wrote:
 
  
  
   Hi,
  
   I am measuring it in a profiler after the request has been completed,
   but thanks for the hint.
  
   In case anyone else is reading, I have been playing with the
   onComponentTag() and onComponentTagBody() methods on the weekend, and
   I've been able to reduce my page sizes significantly. Admittedly, this
   comes at the expense of flexibility and beauty, but I'm only doing this
   in the inner loops of very few pages, so who cares :-)  Will write a
   summary with a couple of hints once I stop drowning in work.
  
   Cheers,
   Per
  
  
Reading in the other thread that a session size of 100K or less
is achievable, I'll admit defeat now: I have not been able to shrink
   some of
my pages(!) to less than 200K, not to mention the sessions. Despite
   LDMs,
CompoundPropertyModels, and no, there are no domain objects in
   there, and no
finals.
  
   How are you measuring this? Keep in mind that if you calculate when a
   request is still processing, you might still be measuring temporary
   data (e.g. for LoadableDetachableModel, you would also measure the
   transientModelObject, and same for any proxies (Spring/ Guice) you
   might use.
  
   Eelco
  
   -
   To unsubscribe, e-mail: [hidden email]
   /user/SendEmail.jtp?type=nodenode=3316743i=0
   For additional commands, e-mail: [hidden email]
   /user/SendEmail.jtp?type=nodenode=3316743i=1
  
  
  
  
  
   If you reply to this email, your message will be added to the
   discussion below:
  
 
 http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3316743.html
  
 http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3316743.html?by-user=t
 
  
   To unsubscribe from Just 100K per session? That would be my dream come
   true! (Anyone here who has tuned session size before?), click here
  
  
 http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3308014code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0
  
 http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3308014code=cGVyQGhhbWJ1cmcuZGV8MzMwODAxNHwtMjI2MTAwMzE0by-user=t
 .
 
  
  
  
   --
   View this message in context:
 
 http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3317403.html
  
 http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3317403.html?by-user=t
 
   Sent from the Users forum mailing list archive at Nabble.com.
  
   -
   To unsubscribe, e-mail: [hidden email]
  /user/SendEmail.jtp?type=nodenode=3330006i=1
   For additional commands, e-mail: [hidden email]
  /user/SendEmail.jtp?type=nodenode=3330006i=2
  
  
 
  -
  To unsubscribe, e-mail: [hidden email]
  /user/SendEmail.jtp?type=nodenode=3330006i=3
  For additional commands, e-mail: [hidden email]
  /user/SendEmail.jtp?type=nodenode=3330006i=4
 
 
 
  
  If you reply to this email, your message will be added to the
  discussion below:
 
 

Re: body tag contributions with wicket 1.5 (Dojo needs it)

2011-03-02 Thread Matt Brictson
Since isTransparentResolver() is going away in 1.5, the trick that I found is 
to create a normal WebMarkupContainer for the body element, then override 
add(Component...) of the page to mimic the transparent resolver feature.

Your pages can then contribute to the body element by adding 
AttributeModifier, etc. to the WebMarkupContainer.

See:
https://cwiki.apache.org/WICKET/migration-to-wicket-15.html#MigrationtoWicket1.5-MarkupContainer.isTransparentResolver%2528%2529removed

Here's an example:

public abstract class BasePage extends WebPage
{
private WebMarkupContainer _body;

public BasePage(PageParameters params)
{
super(params);

// Allow subclasses to register CSS classes on the body tag
WebMarkupContainer body = new WebMarkupContainer(body);
body.setOutputMarkupId(true);
add(body);

// From now on add() will add to _body instead of page
this._body = body;
}

/**
 * Return a component that represents the {@code body} of the page.
 * Use this to add CSS classes or set the markup ID for styling purposes.
 */
public WebMarkupContainer getBody()
{
return _body;
}

/**
 * When subclasses of BasePage add components to the page, in reality
 * they need to be added as children of the {@code body} container.
 * This implementation ensures the page hierarchy is correctly enforced.
 * 
 * @return {@code this} to allow chaining
 */
@Override
public BasePage add(Component... childs)
{
for(Component c : childs)
{
// Wicket automatically translates head into an
// HtmlHeaderContainer and adds it to the page. Make sure this
// is registered as a direct child of the page itself, not the
// body.
if(null == _body || c instanceof HtmlHeaderContainer)
{
super.add(c);
}
// Everything else goes into the body.
else
{
_body.add(c);
}
}
return this;
}
}

-- 
Matt

On Mar 2, 2011, at 11:35 AM, Gonzalo Aguilar Delgado wrote:

 Hello, 
 
 I'm building a wiJQuery equivalent for Dojo. And it seems to work nice
 with new wicket 1.5. HeaderContributions are really nice... Great work!
 
 But I ran into problems when trying to setup the themes. 
 
 I have to put something like this in the body:
 
 body class=claro
 
 /body
 
 But I rode a lot and discovered that wicket no longer supports
 contributing to body because onLoad handler as well others.
 
 Reading in forums I found the BodyTagAttributeModifier but you need a
 panel that I wont have.
 
 And the:
 
 body wicket:id=body 
 
add(new WebMarkupContainer(body){
@Override
public boolean isTransparentResolver() {
return true;
}
@Override
protected void onComponentTag(ComponentTag tag) {
tag.put(class,  somestyle);
}
}); 
 It will not work because wicket:id attribute removed from body in version 1.5.
 
 
 So... What's they way to go?
 
 
 -
 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: [1.5.0-rc2] possible bug with danish characters

2011-03-02 Thread nino martinez wael
is there a server somewhere where rc2 live examples are running on?


2011/3/2 Martin Grigorov mgrigo...@apache.org

 quickstart will help us to debug it.
 attach it to jira
 thanks!

 On Wed, Mar 2, 2011 at 3:16 PM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

  anyone have an idea why changing from rc1 to rc2 would have an have an
  impact on this..? There was no issue that looked related to me (in the
  change log).
 
  2011/3/2 nino martinez wael nino.martinez.w...@gmail.com
 
   Charset are UTF8... Anyhow there's no problem on rc1..
  
   2011/3/2 Wilhelmsen Tor Iver toriv...@arrive.no
  
I just noticed that after upgrading to rc2, my some of my texts like
håndteret kald when getting saved/posted becomes this: hÃ¥ndteret
   kald..
  
   Charset issue, they get posted as UTF-8; you probably  either need to
  test
   for charset or assume UTF-8 across the board.
  
   - Tor Iver
  
   -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
  
  
  
 



RE: spring 3.1 wicket auth integration

2011-03-02 Thread Geoff Lancaster
Thanks Moez, I guess my issue is really with my Kerberos spring implementation. 
I'll have to investigate further.

-Original Message-
From: Moez BR [mailto:benrhouma.m...@gmail.com] 
Sent: Wednesday, March 02, 2011 10:41 AM
To: users@wicket.apache.org
Subject: Re: spring 3.1 wicket auth integration

See this link:
http://www.dzone.com/links/spring_security_3_and_wicket_14.html


Le 2 mars 2011 à 01:05, Geoff Lancaster wic...@geofflancaster.com a écrit :

 I've seen that wiki but it's for spring 3.0 and wicket 1.3. I need a 
 solution for spring 3.1 and wicket 1.4+
 
 -Original Message-
 From: moèz ben rhouma [mailto:benrhouma.m...@gmail.com]
 Sent: Tuesday, March 01, 2011 2:04 AM
 To: users@wicket.apache.org; wic...@geofflancaster.com
 Subject: Re: spring 3.1 wicket auth integration
 
 https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.
 html
 
 2011/2/28 wic...@geofflancaster.com wic...@geofflancaster.com
 
 Can anyone point me to a tutorial or example on getting spring 3.x 
 setup and working with wicket-auth-roles for an
 AuthenticatedWebApplication?
 
 Thanks in advance.
 
 
 mail2web.com – Enhanced email for the mobile individual based on 
 Microsoft® Exchange - http://link.mail2web.com/Personal/EnhancedEmail
 
 
 
 -
 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




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



Re: Wicket-Spring Hibernate dao

2011-03-02 Thread ookpalm
Thanks everyone. I will go for using the new operator for my domain object
since there is no simple way to inject and it is not really nescessary to
inject bean to object in this case.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-Hibernate-dao-tp3320134p3332713.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Wicket and Amazon EC2

2011-03-02 Thread ookpalm
I am going to deploy my Wicket app on Amazon EC2. Is there any problem I must
be aware of when deploying Wicket app on Amazon EC2?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Amazon-EC2-tp3332718p3332718.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Wicket-Spring Hibernate dao

2011-03-02 Thread James Carman
I believe you want to look into using a factory to create your cats.
You can inject DAOs and whatever you want into your factory.  The
factory would be a spring-managed bean, but the entities wouldn't.

On Wed, Mar 2, 2011 at 10:36 PM, ookpalm ookp...@gmail.com wrote:
 Thanks everyone. I will go for using the new operator for my domain object
 since there is no simple way to inject and it is not really nescessary to
 inject bean to object in this case.

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-Hibernate-dao-tp3320134p3332713.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 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



Page.add is final in 1.5 RC2

2011-03-02 Thread Joe Fawzy
Hi
Container.add is not final
why page.add and page.onInitialize is final methods

thanks


Re: Wicket and Amazon EC2

2011-03-02 Thread Don Ferguson
Nope.

On Mar 2, 2011, at 7:39 PM, ookpalm wrote:

 I am going to deploy my Wicket app on Amazon EC2. Is there any problem I must
 be aware of when deploying Wicket app on Amazon EC2?
 
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Amazon-EC2-tp3332718p3332718.html
 Sent from the Users forum mailing list archive at Nabble.com.
 
 -
 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



[Announce] wicketstuff-core 1.4.16 is released.

2011-03-02 Thread Michael O'Cleirigh

Hello,

Following the release of wicket 1.4.16 last week I have cut a matching 
release for wicketstuff-core (https://github.com/wicketstuff/core).


The artifacts have been promoted and are now available through the maven 
central repository.


They can be retrieved like this:

dependency
groupIdorg.wicketstuff/groupId
artifactIdpush-cometd/artifactId
version1.4.16/version
/dependency

The release tag is here: 
https://github.com/wicketstuff/core/tree/wicketstuff-core-1.4.16


Issues can be reported here: https://github.com/wicketstuff/core/issues

The Project Wiki is available here: 
https://github.com/wicketstuff/core/wiki


Release Notes - WicketStuff Core - Version 1.4.16:

Michael O'Cleirigh (10 commits)
Summary:
Brought the dojo integration back from the sandbox.
Minor pom changes.

seb (2 commits):
Summary:
  - introduced IPushEventContext
  - introduced broad casting channels
- renamed IPushChannel to IPushNode
- added new IPushChannel interface representing a broadcasting channel
- IPushService: an event can now either be send to a push node 
directly (1-1 communication) or to a broadcasting channel (1-n 
communication)


Martin Funk (1 commit)
Summary: work on snapshot version to track 1.4-SNAPSHOT and other git 
and eclipse fixes.


The plan is to release another 1.4.x stable release within one month 
from today. If you commit code and/or want a release sooner let me know 
as one month is the worst case target.


Regards,

Mike




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



Re: Wicket and Amazon EC2

2011-03-02 Thread ookpalm
Not at all? 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Amazon-EC2-tp3332718p3332775.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Wicket and Amazon EC2

2011-03-02 Thread Don Ferguson
I've been using Wicket on EC2 for nearly 2 years.  I can't think of anything 
EC2-specific that relates to Wicket.  EC2 just gives you a linux environment 
that happens to be virtualized.

I suppose if you're using elastic load balancing to dynamically spin up 
instances, there might be a bit of work to make sure session state is 
clusterable (and I might try using Terracotta for that).  But at present, I 
don't need to cluster the front end servers.

-Don

On Mar 2, 2011, at 9:15 PM, ookpalm wrote:

 Not at all? 
 
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Amazon-EC2-tp3332718p3332775.html
 Sent from the Users forum mailing list archive at Nabble.com.
 
 -
 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



Attribute Inheritance or Copying?

2011-03-02 Thread MattyDE
Hello, 

i've build my own panel-Component which includes itself a textarea. 

So in im Markup i wrote 

  for example. 

Now my advanced question ;) 

Is it possbile (in any way) that i can use 



and inherit the cols and rows attributes to the inner textarea (which
itself is a wicket-component also)? 


I've to access the ComponentTag of my Panel but dont know how, except
iam in onComponentTag. 


Thanks in Advance for any Hint, 
Martin

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Attribute-Inheritance-or-Copying-tp3332828p3332828.html
Sent from the Users forum mailing list archive at Nabble.com.

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